/* ========================================
   おおはしファミリー歯科 LP - メインスタイル
   ======================================== */

:root {
  --color-white: #ffffff;
  --color-brown: #4a3414;
  --color-brown-dark: #3f3b3a;
  --color-brown-mid: #5c4530;
  --color-brown-light: #7a6050;
  --color-cream: #faf6f0;
  --color-cream-section: #f5efe6;
  --color-border: #e8ddd0;
  --color-accent: #ffe897;
  --color-hours-bg: rgba(255, 232, 151, 0.75);
  --color-text-muted: #7a6050;
  --color-card-text: #5c4530;

  --font-sans: "Noto Sans JP", sans-serif;
  --font-display: "vdl-v7marugothic", sans-serif;

  --container-max: 1280px;
  --header-height: 72px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-card: 0 2px 12px rgba(74, 52, 20, 0.08);
  --shadow-image: 0 4px 20px rgba(74, 52, 20, 0.13);
  --shadow-hero-visual: 0 8px 32px rgba(74, 52, 20, 0.13);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* PC: .headerの高さ */
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 60px; /* スマホ: .headerの高さ */
  }
}

body {
  font-family: "vdl-v7marugothic", sans-serif;
font-weight: 500;
font-style: normal;
  color: var(--color-brown);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.br_pc {
 display: inline;
}
.br_sp {
 display: none;
}
@media screen and (max-width: 767px) {
 
 .br_pc {
  display: none !important;
 }
 .br_sp {
  display: inline !important;
 }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 0;
  }
}

/* セクション共通 */
.section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  background: var(--color-brown);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--color-brown);
}

.section-lead {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .header__inner {
    padding: 0 80px;
  }
}

.header__logo img {
  height: 20px;
  width: auto;
}

.header__logo {
	background: url("../images/logo_ic.svg") no-repeat left center;
	background-size: 42px auto;
	padding: 14px 0 14px 50px;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }
}

.header__nav a {
  font-size: 15px;
  transition: opacity 0.2s;
	font-family: var(--font-sans);
	font-weight: 700;
}

.header__nav a:hover {
  opacity: 0.7;
}

.header__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--color-brown);
  color: var(--color-white);
  border: 1px solid var(--color-brown);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 900;
}

.header__tel img {
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .header__menu-btn {
    display: none;
  }
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-brown);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__menu-btn.is-open span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 24px;
  z-index: 99;
}

.header__mobile-nav.is-open {
  display: block;
}

.header__mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.header__mobile-nav a {
  font-size: 14px;
  font-weight: 500;
}

.header__mobile-nav .header__tel {
  margin-top: 8px;
  justify-content: center;
  width: 100%;
}

/* ========================================
   FV（ファーストビュー）
   ======================================== */
.fv-block {
  background: linear-gradient(225deg, #fdf8f0 15%, #faf3e8 85%);
}

.fv {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/fv-bg.png") 75% center / cover no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.fv__inner {
  position: relative;
  z-index: 1;
}

.fv__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-brown);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}

.fv__badge img {
  width: 14px;
  height: 14px;
}

.fv__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 46px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--color-brown);
  margin-bottom: 16px;
}

.fv__lead {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--color-brown);
  max-width: 772px;
}

/* デスクトップ：FV内に診療時間 */
.fv-hours--in-fv {
  display: none;
}

@media (min-width: 1024px) {
  .fv {
    padding: 80px 0;
    min-height: 536px;
    display: flex;
    align-items: center;
  }

  .fv__body {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  .fv__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .fv__text {
    flex: 1;
    min-width: 0;
  }

  .fv-hours--in-fv {
    display: block;
    flex-shrink: 0;
    width: 486px;
  }

  .fv-hours--below {
    display: none;
  }
}

/* 診療時間カード */
.fv-hours {
  background: var(--color-hours-bg);
  border-radius: 15px;
  padding: 24px;
  position: relative;
}

.fv-hours__days {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.85em;
  text-align: right;
  margin-bottom: 8px;
}

.fv-hours__grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 27px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
}

.fv-hours__time-am,
.fv-hours__time-pm {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.fv-hours__marks {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1.5;
  grid-column: 2;
}

.fv-hours__note {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.fv-hours__deco {
  position: absolute;
  right: 12px;
  bottom: 8px;
  width: 120px;
  opacity: 0.9;
  pointer-events: none;
}

@media (max-width: 1024px) {
.fv-hours__days {
  letter-spacing: 0.9em;
  text-align: left;
	padding-left: 175px;
}
}



@media (min-width: 1024px) {
  .fv-hours__deco {
    width: 180px;
			bottom: -20px;
  }
}

/* スマホ：FVの下に診療時間 */
.fv-hours--below {
  padding: 24px 32px 24px 32px;
  background: linear-gradient(225deg, #fdf8f0 15%, #faf3e8 85%);
}

.fv-hours--below .fv-hours {
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   挨拶・ポイント
   ======================================== */
.greeting {
  padding: 48px 0 64px;
}

.greeting__inner {
  display: flex;
  flex-direction: column;
}

.greeting__visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hero-visual);
  margin-bottom: 32px;
  aspect-ratio: 480 / 496;
  max-height: 420px;
}

.greeting__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.greeting__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting__intro {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .greeting__inner {
    display: grid;
    grid-template-columns: 480px 1fr;
    column-gap: 50px;
    align-items: start;
  }

  .greeting__visual {
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
    max-height: none;
    height: 496px;
    aspect-ratio: auto;
  }

  .greeting__content {
    grid-row: 1;
    grid-column: 2;
    gap: 44px;
    min-width: 0;
  }
}

.greeting__cards {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .greeting__cards {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.greeting__card {
  background: var(--color-cream);
  border-radius: 15px;
  padding: 24px;
  position: relative;
}

.greeting__card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.greeting__card-title img {
  width: 52px;
  height: auto;
  flex-shrink: 0;
}

.greeting__card-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.875;
  letter-spacing: 0.1em;
  color: var(--color-brown-dark);
}

/* ========================================
   新しくなるポイント
   ======================================== */
.points {
  padding: 64px 0;
  background: #F5EFE6;
}

.points__header {
  text-align: center;
  margin-bottom: 48px;
}

.points__header .section-label {
  margin-bottom: 16px;
}

.points__header .section-title {
  margin-bottom: 12px;
}

.points__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .points__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .points__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.point-card {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.point-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--color-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-card__icon img {
  width: 30px;
  height: 30px;
}

.point-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.point-card__text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.875;
  color: var(--color-card-text);
}

/* ========================================
   リニューアルイメージ
   ======================================== */
.renewal {
  padding: 0 0 64px 0;
  background: var(--color-cream-section);
}

.renewal__header {
  text-align: center;
  margin-bottom: 48px;
}

.renewal__logo {
  width: 208px;
  margin: 0 auto 24px;
}

.renewal__grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .renewal__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.renewal__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.renewal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 16px;
  background: var(--color-brown);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.renewal__badge img {
  width: 14px;
  height: 14px;
}

.renewal__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-image);
  aspect-ratio: 4 / 3;
}

.renewal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.renewal__caption {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-brown);
}

/* ========================================
   診療内容
   ======================================== */
.treatment {
  padding: 64px 0;
  background: var(--color-white);
}

.treatment__header {
  text-align: center;
  margin-bottom: 48px;
}

.treatment__header .section-label {
  margin-bottom: 16px;
}

.treatment__header .section-title {
  margin-bottom: 12px;
}

.treatment__grid {
  display: grid;
  gap: 20px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .treatment__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .treatment__grid--top {
    grid-template-columns: repeat(4, 1fr);
  }

  .treatment__grid--bottom {
    grid-template-columns: repeat(3, 1fr);
  }
}

.treat-card {
  background: var(--color-cream);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(74, 52, 20, 0.06);
}

.treat-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  background: var(--color-brown);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.treat-card__icon img {
  width: 24px;
  height: 24px;
}

.treat-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
	letter-spacing: 1px;
}

.treat-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-brown-mid);
	letter-spacing: 1px;
}

.treat-insurance {
  background: var(--color-brown);
  border-radius: 14px;
  padding: 28px 32px;
  color: var(--color-accent);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 1024px) {
  .treat-insurance {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 32px;
  }
}

.treat-insurance__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
	width: 100%;
	justify-content: center;
}

.treat-insurance__item img {
  width: 22px;
  height: 22px;
}

.treat-insurance__note {
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
  .treat-insurance__note {
    width: 100%;
  }
}

/* ========================================
   アクセス
   ======================================== */
.access {
  padding: 64px 0;
  background: var(--color-cream-section);
}

.access__header {
  text-align: center;
  margin-bottom: 40px;
}

.access__header .section-label {
  margin-bottom: 16px;
}

.access__content {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .access__content {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.access__card {
  background: var(--color-cream);
  border-radius: var(--radius-xl);
  padding: 8px 0;
  box-shadow: var(--shadow-card);
}

.access__row {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  align-items: flex-start;
}

.access__row + .access__row {
  border-top: 1px solid var(--color-border);
}

.access__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--color-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.access__icon img {
  width: 22px;
  height: 22px;
}

.access__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brown-light);
  margin-bottom: 4px;
}

.access__value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.access__value--tel {
  font-size: 20px;
	font-family: var(--font-sans);
}

.access__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  background: var(--color-border);
}

.access__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.access__map-inner {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 468 ÷ 624 = 75% (元のアスペクト比) */
}

.access__map-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background: var(--color-brown);
  color: var(--color-white);
  padding: 64px 0 50px 0;
  text-align: center;
}

.footer__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__lead {
  font-size: 15px;
  line-height: 1.8;
	font-weight: 700;
  opacity: 0.9;
  margin-bottom: 32px;
}

.footer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.footer__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--color-white);
  color: var(--color-brown-dark);
  border-radius: 10px;
  font-size: 22px;
  font-weight: 900;
  transition: transform 0.2s;
	font-family: var(--font-sans);
	margin-bottom: 15px;
}

.footer__tel:hover {
  transform: translateY(-2px);
}

.footer__tel img {
  width: 22px;
  height: 22px;
}

.footer__hours {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: #3A2810;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 100%;
}

.footer__hours img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.copyright {
  padding: 24px;
  font-size: 16px;
  color: var(--color-brown);
  background: var(--color-white);
  text-align: center;
}

/* ユーティリティ */
.u-pc-only {
  display: none;
}

@media (min-width: 1024px) {
  .u-pc-only {
    display: inline;
  }
}
