@charset "UTF-8";
/* =========================================================
   山崎心療内科クリニック — Top Page
   yamagata-clinic.jp の静かな明朝レイアウトに寄せた構成。
   ・全面セリフ（Cormorant Garamond + Noto Serif JP）
   ・文字色は白黒のみ（有彩色はお知らせの「重要」タグだけ）
   ・影／角丸／グラデーションを使わず、ヘアラインと余白で構成

    1. Base / Tokens
    2. Parts
    3. Header
    4. Fullscreen Navigation
    5. KV
    6. News
    7. About
    8. Feature
    9. Medical
    9b. Photo Band
   10. Stay & Care
   11. Doctor
   12. Access / Hours
   13. Footer
   14. Pagetop
   15. Reveal
   ========================================================= */

/* =========================================================
   1. Base / Tokens
   ========================================================= */
:root {
  /* 基調はモノトーン。明朝は線が細く小さい字が沈むので、
     読みやすさ優先で全体的に濃いめに振っている */
  --c-ink:    #100d0a;
  --c-ink-2:  #2e2822;
  --c-ink-3:  #635c53;

  /* 文字色は白黒のみ（クライアント要望）。
     アクセントも黒に寄せ、階層は色相ではなく「濃さ」と大きさで表す */
  --c-accent:   #100d0a;
  --c-accent-d: #000000;
  /* 唯一の有彩色：お知らせの「重要」タグだけに使う */
  --c-red:      #9b3b2f;

  --c-bg:     #f7f4f0;
  --c-bg-2:   #fffefc;
  --c-line:   #ded7ce;
  --c-line-2: #ece6de;

  /* Latin を先に置き、日本語は明朝へフォールバック。
     和文は本文組み向きの Noto Serif JP（線が太めで均一） */
  --f-serif: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-en:    "Cormorant Garamond", serif;

  --container: 1120px;
  --gutter: 24px;
  --header-h: 84px;

  /* PC時の左固定メニュー幅。--side-w が 0 の幅ではヘッダー＋ハンバーガーに切り替わる */
  --side-w: 0px;

  --ease:    cubic-bezier(.22, .61, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

@media (max-width: 1023px) { :root { --header-h: 66px; --gutter: 20px; } }
@media (max-width: 599px)  { :root { --gutter: 18px; } }

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

/* スクロールバーの溝を常時確保 → メニュー開閉で内側ジオメトリがずれない */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: .06em;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
  /* lnum：Cormorant の既定はオールドスタイル数字で、
     「開業55年」「徒歩2分」のように和文へ混ざるとベースラインが揃わないため等高数字にする。
     palt は使わない：字面を詰めるぶん明朝の細い線が密集して読みにくくなる（参考サイトも未使用） */
  font-feature-settings: "lnum" 1;
  /* antialiased は線を細くするため指定しない。
     明朝の細い横画が飛んで薄く見える原因になる（参考サイトは auto のまま） */
}
body.is-locked { position: fixed; left: 0; width: 100%; overflow: hidden; }

h1, h2, h3, h4, p, figure, figcaption, dl, dd, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .35s var(--ease), opacity .35s var(--ease); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 1px solid var(--c-accent); outline-offset: 3px; }

.ico-tel { width: 1em; height: 1em; flex: none; }

.u-vh {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 300;
  padding: 10px 18px; background: var(--c-ink); color: #fff;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }

/* =========================================================
   2. Parts
   ========================================================= */
/* セクション見出し：欧文を小さく上に、和文を主役に */
.s-title { display: flex; flex-direction: column; gap: 10px; margin-bottom: 44px; }
.s-title__en {
  font-family: var(--f-en); font-size: 12.5px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase; color: var(--c-ink-2);
}
.s-title__ja { font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; letter-spacing: .14em; line-height: 1.6; }

.s-title--center { align-items: center; text-align: center; }
.s-title--center .s-title__ja::after {
  content: ""; display: block; width: 28px; height: 1px;
  background: var(--c-line); margin: 22px auto 0;
}

.s-intro {
  text-align: center; color: var(--c-ink-2); font-size: 14.5px;
  margin: -22px auto 52px; max-width: 40em;
}

.prose p { margin-bottom: 1.6em; color: var(--c-ink-2); font-size: 14.5px; }
.prose p:last-child { margin-bottom: 0; }

/* リンク（→付き） */
.link-more {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  font-family: var(--f-en); font-size: 12.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--c-ink-2);
}
.link-more i {
  display: block; width: 34px; height: 1px; background: var(--c-line); position: relative;
  transition: width .4s var(--ease), background-color .4s var(--ease);
}
.link-more i::after {
  content: ""; position: absolute; right: 0; top: -2px;
  width: 6px; height: 6px; border-top: 1px solid var(--c-line); border-right: 1px solid var(--c-line);
  transform: rotate(45deg); transition: border-color .4s var(--ease);
}
.link-more:hover { color: var(--c-accent); }
.link-more:hover i { width: 46px; background: var(--c-accent); }
.link-more:hover i::after { border-color: var(--c-accent); }

/* ボタン：塗りは最小限、基本は罫線 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 34px;
  border: 1px solid var(--c-ink); background: var(--c-ink); color: #fff;
  font-size: 13.5px; letter-spacing: .16em; line-height: 1.5; text-align: center;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--c-ink-2); border-color: var(--c-ink-2); color: #fff; }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-line); }
.btn--outline:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.btn--full { width: 100%; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 12.5px; letter-spacing: .14em; }

/* SNSリンク（サイドメニュー／メニュー内／フッター共通） */
.sns {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-en); font-size: 12px; letter-spacing: .18em;
  color: var(--c-ink-2);
}
.sns .ico-insta { width: 19px; height: 19px; }
.sns:hover { color: var(--c-accent); }

/* =========================================================
   3. Side Navigation（PC専用・画面左に固定）
   ========================================================= */
.side { display: none; }

@media (min-width: 1200px) {
  /* サイドメニュー分だけ本文幅を詰め、左右の余白を確保する */
  :root { --side-w: 268px; --container: 1000px; }

  .side {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; z-index: 110;
    width: var(--side-w); height: 100svh;
    background: var(--c-bg-2);
    border-right: 1px solid var(--c-line-2);
    padding: 32px 24px 24px;
  }
  /* ロゴのみ固定。メニュー〜Instagram・電話・Web予約はまとめてスクロール範囲に含める */
  .side__scroller {
    flex: 1 1 auto; min-height: 0;
    display: flex; flex-direction: column;
    overflow-y: auto; overflow-x: hidden;
    overscroll-behavior: contain;
    margin-top: 22px;
    scrollbar-width: thin;
    scrollbar-color: var(--c-line) transparent;
  }
  .side__scroller::-webkit-scrollbar { width: 6px; }
  .side__scroller::-webkit-scrollbar-thumb { background: var(--c-line); }

  .side__logo { display: flex; flex-direction: column; line-height: 1.5; flex: none; }
  /* 22px・字間.16emだと「クリ／ニック」で折れるため、1行に収まる寸法に抑える */
  .side__logo .logo__name { font-size: 18px; font-weight: 500; letter-spacing: .06em; white-space: nowrap; }
  /* 小さすぎて読みづらかったので拡大し、色も本文寄りに上げる */
  .side__logo .logo__sub {
    margin-top: 9px; font-size: 11.5px; letter-spacing: .02em; line-height: 1.85;
    color: var(--c-ink-2); white-space: normal; overflow: visible; text-overflow: clip;
  }
  .side__logo:hover .logo__name { color: var(--c-accent); }

  .side__nav { padding-bottom: 4px; }

  .snav__item + .snav__item { border-top: 1px solid var(--c-line-2); }
  .snav__item:first-child { border-top: 1px solid var(--c-line-2); }
  .snav__item:last-child { border-bottom: 1px solid var(--c-line-2); }

  .snav__link {
    position: relative;
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    width: 100%; padding: 13px 2px;
    font-family: var(--f-serif); font-size: 15px; font-weight: 500; letter-spacing: .12em;
    text-align: left; color: var(--c-ink); cursor: pointer;
  }
  .snav__link:hover { color: var(--c-accent); }

  /* 開閉マーク（＋／−） */
  .snav__mark {
    position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
    width: 9px; height: 9px; flex: none;
  }
  .snav__mark::before, .snav__mark::after {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 100%; height: 1px; background: currentColor;
    transition: transform .4s var(--ease), opacity .4s var(--ease);
  }
  .snav__mark::after { transform: rotate(90deg); }
  [aria-expanded="true"] .snav__mark::after { transform: rotate(0deg); opacity: 0; }

  /* 子メニュー：開閉はgrid行のアニメーションで高さ計算不要にする。
     grid-template-rows:0fr は「最初の1行」しか潰さないため、
     必ず子を1つだけ（=ul）にしてラッパー側を潰す */
  .snav__subwrap {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .45s var(--ease);
  }
  .snav__subwrap > .snav__sub { overflow: hidden; }
  .snav__item:has([aria-expanded="true"]) .snav__subwrap { grid-template-rows: 1fr; }
  .no-has .snav__item.is-open .snav__subwrap { grid-template-rows: 1fr; }

  /* 全項目の高さを揃える（先頭/末尾だけ余白を変えると罫線の位置がずれる） */
  .snav__sub a {
    display: block; padding: 8px 2px 8px 16px; position: relative;
    font-size: 13px; letter-spacing: .08em; color: var(--c-ink-2);
  }
  .snav__sub > li:last-child { padding-bottom: 12px; }
  .snav__sub a::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 7px; height: 1px; background: var(--c-line);
    transition: width .3s var(--ease), background-color .3s var(--ease);
  }
  .snav__sub a:hover { color: var(--c-accent); }
  .snav__sub a:hover::before { width: 12px; background: var(--c-accent); }

  /* 下部：Instagram → 電話 → Web予約 */
  /* margin-top:auto でメニューが短い時は下端に、長い時は続けて流れる */
  .side__foot { flex: none; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--c-line-2); }
  .side__foot .sns { margin-bottom: 14px; }
  .side__tel { display: flex; flex-direction: column; line-height: 1.3; margin-bottom: 12px; }
  .side__tel-label { font-size: 11px; letter-spacing: .1em; color: var(--c-ink-2); }
  .side__tel-num {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--f-en); font-size: 23px; letter-spacing: .04em;
  }
  .side__tel-num .ico-tel { width: .66em; height: .66em; }
  .side__tel:hover { color: var(--c-accent); }

  /* 本文をサイドメニュー分だけ右へ寄せる（KVも含めて全体） */
  body { padding-left: var(--side-w); }
  /* PCではヘッダーとハンバーガー一式は不要 */
  .header, .gnav { display: none; }
  .pagetop { right: 26px; }
}

/* =========================================================
   3b. Header（サイドメニューが出ない幅で使用）
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  height: var(--header-h);
  transition: background-color .5s var(--ease);
}
/* 下線は border ではなく擬似要素で引く。
   border-bottom にすると content-box が 1px 縮み、
   閉じるバー側と 0.5px ずれて閉じるボタンの位置が揃わなくなるため */
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--c-line-2); opacity: 0;
  transition: opacity .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 254, 252, .94);
  backdrop-filter: saturate(1.4) blur(8px);
}
.header.is-scrolled::after { opacity: 1; }
.header.is-navopen { background: transparent; backdrop-filter: none; }
.header.is-navopen::after { opacity: 0; }

/* ヘッダー内側とメニュー追従バー内側は同一ジオメトリ＝閉じるボタンの位置が揃う */
.header__inner,
.gnav__bar-inner {
  height: 100%;
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2 + 56px);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

/* ロゴ（ロゴマーク・ローマ字なし／立地＋施設種別を一言で） */
.logo, .gnav__bar-title { display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
/* SP幅で「…クリニッ／ク」と1字だけ落ちないよう、字送りを詰めて1行に固定する */
.logo__name {
  font-size: clamp(15px, 4.1vw, 22px); font-weight: 500; letter-spacing: .1em;
  white-space: nowrap; transition: color .4s var(--ease);
}
.logo__sub {
  margin-top: 3px; font-size: 10.5px; letter-spacing: .1em; color: var(--c-ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .4s var(--ease);
}
.logo:hover .logo__name { color: var(--c-accent); }

/* KV上（未スクロール時）は白抜き */
.header:not(.is-scrolled):not(.is-navopen) .logo__name { color: #fff; }
.header:not(.is-scrolled):not(.is-navopen) .logo__sub { color: rgba(255,255,255,.76); }
.header:not(.is-scrolled):not(.is-navopen) .header__nav a { color: #fff; }
.header:not(.is-scrolled):not(.is-navopen) .header__nav a::after { background: #fff; }
.header:not(.is-scrolled):not(.is-navopen) .header__tel { color: #fff; }
.header:not(.is-scrolled):not(.is-navopen) .header__tel-label { color: rgba(255,255,255,.72); }
.header:not(.is-scrolled):not(.is-navopen) .burger,
.header:not(.is-scrolled):not(.is-navopen) .iconbtn {
  color: #fff; border-color: rgba(255,255,255,.5); background: rgba(28,26,24,.18);
}

/* PCナビ：下線がホバーで伸びる（参考サイトと同じ挙動） */
.header__nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.header__nav a {
  position: relative; font-size: 13.5px; letter-spacing: .12em; white-space: nowrap;
  padding-bottom: 4px;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--c-ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__utils { display: flex; align-items: center; gap: 22px; flex: none; }
.header__tel { display: flex; flex-direction: column; line-height: 1.3; }
.header__tel-label { font-size: 11px; letter-spacing: .1em; color: var(--c-ink-2); }
.header__tel-num {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-en); font-size: 23px; letter-spacing: .05em;
}
.header__tel-num .ico-tel { width: .68em; height: .68em; }
.header__tel:hover { color: var(--c-accent); }

/* SP専用アイコンボタン（電話）— 三本線と同サイズ・同形状 */
.iconbtn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--c-line); border-radius: 50%;
  background: rgba(255,255,255,.7);
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.iconbtn .ico-tel { width: 18px; height: 18px; }
.iconbtn:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

@media (max-width: 1199px) { .header__nav { display: none; } }
@media (max-width: 1023px) {
  .header__tel { display: none; }
  .iconbtn { display: inline-flex; }
  .header__utils { gap: 10px; }
}
/* 狭い端末では立地キャプションが省略記号で切れるため、字送りを詰めて収める */
@media (max-width: 599px) {
  .logo__sub, .gnav__bar-title .logo__sub { font-size: 9.5px; letter-spacing: .02em; }
}
/* 320px級（iPhone SE 初代など）は電話・メニューの丸ボタンと並ぶと入り切らない */
@media (max-width: 359px) {
  .logo__name { font-size: 13.5px; letter-spacing: .02em; }
}

/* ---------- Burger ---------- */
.burger {
  position: relative; z-index: 130; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 56px; height: 46px;
  transition: color .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
}
.burger__lines { position: relative; display: block; width: 26px; height: 13px; }
.burger__lines i {
  position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform .55s var(--ease), opacity .3s var(--ease), width .55s var(--ease);
}
.burger__lines i:nth-child(1) { top: 0; }
.burger__lines i:nth-child(2) { top: 6px; width: 62%; }
.burger__lines i:nth-child(3) { top: 12px; }
.burger__label { font-family: var(--f-en); font-size: 10px; letter-spacing: .22em; line-height: 1; }
.burger:hover .burger__lines i:nth-child(2) { width: 100%; }
.burger.is-open .burger__lines i:nth-child(1) { transform: translateY(6px) rotate(38deg); }
.burger.is-open .burger__lines i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open .burger__lines i:nth-child(3) { transform: translateY(-6px) rotate(-38deg); }

@media (max-width: 1023px) {
  /* 電話ボタンと大きさ・形状を統一（44×44の円） */
  .burger {
    width: 44px; height: 44px; gap: 0;
    border: 1px solid var(--c-line); border-radius: 50%;
    background: rgba(255,255,255,.7);
  }
  .burger__label { display: none; }
}

/* =========================================================
   4. Fullscreen Navigation
   ========================================================= */
.gnav {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; pointer-events: none;
  transition: visibility 0s .85s;
}
.gnav.is-open { visibility: visible; pointer-events: auto; transition: visibility 0s 0s; }

.gnav__curtain {
  position: absolute; inset: 0; display: block;
  background: var(--c-bg);
  transform: translateY(-101%);
  transition: transform .8s var(--ease-io);
}
.gnav__curtain--2 { background: var(--c-bg-2); transition-delay: .08s; }
.gnav.is-open .gnav__curtain { transform: translateY(0); transition: transform .85s var(--ease-io); }
.gnav.is-open .gnav__curtain--2 { transition-delay: 0s; }
.gnav.is-open .gnav__curtain:not(.gnav__curtain--2) { transition-delay: .07s; }

/* 縦幅の狭い端末でも全項目に到達できるスクロール領域 */
.gnav__scroller {
  position: relative; z-index: 2;
  height: 100%;
  padding-top: var(--header-h);
  overflow-y: scroll; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex; flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--c-line) transparent;
}
.gnav__scroller::-webkit-scrollbar { width: 8px; }
.gnav__scroller::-webkit-scrollbar-thumb { background: var(--c-line); }

/* 閉じるバー：スクロール領域の外に fixed で置くため、
   メニュー内スクロールバーの幅に影響されずヘッダーと同位置を保てる */
.gnav__bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 6;
  height: var(--header-h);
  background: linear-gradient(to bottom, var(--c-bg-2) 58%, rgba(255,254,252,0));
  opacity: 0; transform: translateY(-12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gnav.is-open .gnav__bar { opacity: 1; transform: none; transition-delay: .45s; }
.gnav__bar-title { overflow: hidden; }

/* 閉じるボタン：バーガーと同寸法・同位置 */
.gnav-close {
  flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 56px; height: 46px;
}
.gnav-close__x { position: relative; display: block; width: 26px; height: 13px; }
.gnav-close__x i {
  position: absolute; top: 50%; left: 0; width: 100%; height: 1px;
  background: currentColor; transition: transform .5s var(--ease);
}
.gnav-close__x i:nth-child(1) { transform: translateY(-50%) rotate(45deg); }
.gnav-close__x i:nth-child(2) { transform: translateY(-50%) rotate(-45deg); }
.gnav-close:hover { color: var(--c-accent); }
.gnav-close:hover .gnav-close__x i:nth-child(1) { transform: translateY(-50%) rotate(135deg); }
.gnav-close:hover .gnav-close__x i:nth-child(2) { transform: translateY(-50%) rotate(45deg); }
.gnav-close__label { font-family: var(--f-en); font-size: 10px; letter-spacing: .22em; line-height: 1; }

@media (max-width: 1023px) {
  .gnav-close {
    width: 44px; height: 44px; gap: 0;
    border: 1px solid var(--c-line); border-radius: 50%;
  }
  .gnav-close__label { display: none; }
}

/* カーテンが降り切る前に項目の罫線だけが写真の上に浮いて見えるのを防ぐ。
   中身全体をカーテンに合わせてフェードインさせる */
.gnav__body {
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.gnav.is-open .gnav__body { opacity: 1; transition-delay: .34s; }

.gnav__body {
  flex: 1 0 auto;
  display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(30px, 6vw, 84px);
  align-content: center;
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2 + 56px);
  margin-inline: auto;
  padding: clamp(8px, 2vh, 28px) var(--gutter) clamp(44px, 8vh, 78px);
}

.gnav__item { border-bottom: 1px solid var(--c-line-2); }
.gnav__item:first-child { border-top: 1px solid var(--c-line-2); }
.gnav__item > a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 20px;
  padding: 20px 4px;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s var(--ease);
}
.gnav.is-open .gnav__item > a { opacity: 1; transform: none; }
.gnav__item:nth-child(1) > a { transition-delay: .38s; }
.gnav__item:nth-child(2) > a { transition-delay: .43s; }
.gnav__item:nth-child(3) > a { transition-delay: .48s; }
.gnav__item:nth-child(4) > a { transition-delay: .53s; }
.gnav__item:nth-child(5) > a { transition-delay: .58s; }
.gnav__item:nth-child(6) > a { transition-delay: .63s; }
.gnav__item:nth-child(7) > a { transition-delay: .68s; }

.gnav__no { font-family: var(--f-en); font-size: 12px; letter-spacing: .18em; color: var(--c-ink-3); }
.gnav__ja { font-size: clamp(17px, 2.1vw, 21px); font-weight: 500; letter-spacing: .14em; }
.gnav__en { font-family: var(--f-en); font-size: 12px; letter-spacing: .2em; color: var(--c-ink-3); }
.gnav__item > a:hover { color: var(--c-accent); }

/* ---------- 親子メニュー（アコーディオン） ---------- */
.gnav__parent {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 20px;
  width: 100%; padding: 20px 26px 20px 4px;
  font-family: var(--f-serif); text-align: left; color: inherit; cursor: pointer;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s var(--ease);
}
.gnav.is-open .gnav__parent { opacity: 1; transform: none; }
.gnav__item:nth-child(3) .gnav__parent { transition-delay: .48s; }
.gnav__item:nth-child(4) .gnav__parent { transition-delay: .53s; }
.gnav__parent:hover { color: var(--c-accent); }
.gnav__parent .snav__mark {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px;
}
.gnav__parent .snav__mark::before, .gnav__parent .snav__mark::after {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 100%; height: 1px; background: currentColor;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.gnav__parent .snav__mark::after { transform: rotate(90deg); }
.gnav__parent[aria-expanded="true"] .snav__mark::after { transform: rotate(0deg); opacity: 0; }

.gnav__subwrap {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.gnav__subwrap > .gnav__sub { overflow: hidden; }
.gnav__item:has([aria-expanded="true"]) .gnav__subwrap { grid-template-rows: 1fr; }
.no-has .gnav__item.is-open .gnav__subwrap { grid-template-rows: 1fr; }
/* 親の見出し位置よりさらに下げて、階層が一目で分かるようにする */
.gnav__sub a {
  display: block; position: relative;
  padding: 10px 4px 10px 70px;
  font-size: 14px; letter-spacing: .1em; color: var(--c-ink-2);
}
.gnav__sub > li:last-child a { padding-bottom: 18px; }
.gnav__sub a::before {
  content: ""; position: absolute; left: 48px; top: 50%;
  width: 12px; height: 1px; background: var(--c-line);
  transition: width .3s var(--ease), background-color .3s var(--ease);
}
.gnav__sub a:hover { color: var(--c-accent); }
.gnav__sub a:hover::before { width: 16px; background: var(--c-accent); }

@media (max-width: 899px) {
  .gnav__parent { grid-template-columns: auto 1fr; padding: 16px 26px 16px 4px; }
  .gnav__sub a { padding-left: 64px; }
  .gnav__sub a::before { left: 44px; }
}

.gnav__aside {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s var(--ease) .55s, transform .7s var(--ease) .55s;
}
.gnav.is-open .gnav__aside { opacity: 1; transform: none; }

.gnav__card { border: 1px solid var(--c-line-2); padding: 28px 26px; margin-bottom: 26px; }
.gnav__card-label { font-size: 11.5px; letter-spacing: .18em; color: var(--c-ink-3); }
.gnav__tel {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  font-family: var(--f-en); font-size: 30px; letter-spacing: .04em; line-height: 1.3;
}
.gnav__tel .ico-tel { width: .62em; height: .62em; }
.gnav__tel:hover { color: var(--c-accent); }
.gnav__card-note { font-size: 13px; line-height: 2.0; color: var(--c-ink-2); margin: 12px 0 20px; }
.gnav__card .sns { margin-top: 18px; }

.gnav__info { display: flex; flex-direction: column; gap: 14px; }
.gnav__info > div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: start; }
.gnav__info dt { font-size: 11.5px; letter-spacing: .14em; color: var(--c-ink-3); line-height: 2; }
.gnav__info dd { font-size: 13px; line-height: 2.0; color: var(--c-ink-2); }
.gnav__copy { margin-top: 26px; font-family: var(--f-en); font-size: 11px; letter-spacing: .16em; color: var(--c-ink-3); }

@media (max-width: 899px) {
  .gnav__body { grid-template-columns: 1fr; gap: 30px; align-content: start; padding-top: 16px; }
  .gnav__en { display: none; }
  .gnav__item > a { grid-template-columns: auto 1fr; padding: 16px 4px; }
}

/* =========================================================
   5. KV
   ========================================================= */
.kv {
  position: relative;
  min-height: 620px;
  height: 100svh;
  max-height: 980px;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--c-ink);
}
@media (max-width: 899px) { .kv { min-height: 560px; height: 92svh; } }

.kv__media { position: absolute; inset: 0; }
.kv__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.kv__slide.is-active { opacity: 1; }
.kv__slide img { width: 100%; height: 100%; object-fit: cover; }
.kv__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,17,15,.62) 0%, rgba(20,17,15,.18) 46%, rgba(20,17,15,.28) 100%);
}

.kv__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: calc(var(--container) + var(--gutter) * 2 + 56px);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(96px, 15vh, 156px);
  color: #fff;
}
.kv__lead {
  font-family: var(--f-en); font-size: 14px; font-style: italic; letter-spacing: .2em;
  color: rgba(255,255,255,.82); margin-bottom: 22px;
}
.kv__copy { font-size: clamp(21px, 5vw, 50px); font-weight: 400; letter-spacing: .13em; line-height: 1.65; }
.kv__copy span { display: block; }
/* 狭い端末で1行目が折り返さないよう字送りを詰める */
@media (max-width: 599px) { .kv__copy { letter-spacing: .07em; } }
.kv__note {
  margin-top: 26px; font-size: 13.5px; letter-spacing: .1em; line-height: 2;
  color: rgba(255,255,255,.86);
}

/* 読み込み時のフェードアップ */
.kv__lead, .kv__copy span, .kv__note {
  opacity: 0; transform: translateY(20px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.kv.is-ready .kv__lead   { opacity: 1; transform: none; transition-delay: .25s; }
.kv.is-ready .kv__copy span:nth-child(1) { opacity: 1; transform: none; transition-delay: .40s; }
.kv.is-ready .kv__copy span:nth-child(2) { opacity: 1; transform: none; transition-delay: .52s; }
.kv.is-ready .kv__note   { opacity: 1; transform: none; transition-delay: .70s; }


/* =========================================================
   6. News
   ========================================================= */
.section--news { padding-block: clamp(56px, 7vw, 96px); background: var(--c-bg-2); }

.news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.news__head .s-title { margin-bottom: 0; }
.news__head .link-more { margin-bottom: 6px; }

.news__list { margin-top: 34px; border-top: 1px solid var(--c-line-2); }
.news__item { border-bottom: 1px solid var(--c-line-2); }
.news__item a {
  display: grid; grid-template-columns: 116px 90px 1fr; align-items: center; gap: 20px;
  /* ホバー時の下地を罫線より少し外まで広げるため、負のマージンで相殺する */
  padding: 20px 14px; margin-inline: -14px;
  transition: background-color .35s var(--ease);
}
/* 白黒なので、色ではなく「下地＋下線」で反応させる */
.news__item a:hover { background: rgba(16, 13, 10, .04); }
.news__item a:hover .news__txt {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.news__item time { font-family: var(--f-en); font-size: 14px; letter-spacing: .1em; color: var(--c-ink-3); }
.news__tag {
  justify-self: start;
  font-size: 10.5px; letter-spacing: .12em; line-height: 1;
  padding: 7px 12px; border: 1px solid var(--c-line); color: var(--c-ink-2);
  min-width: 5em; text-align: center;
}
.news__tag--important { border-color: var(--c-red); color: var(--c-red); }
.news__txt { font-size: 14.5px; line-height: 1.85; }

/* セクション下部の下層ページ導線（左右中央） */
.sec-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: clamp(36px, 5vw, 52px);
}
.sec-actions .btn { min-width: 280px; }
.sec-actions--left { justify-content: flex-start; margin-top: 26px; }
.sec-actions--left .btn { min-width: 0; flex: 1 1 auto; }
/* 各カラムの最下部に置く導線（診療のご案内の2列など） */
.sec-actions--incol { margin-top: 30px; }
.sec-actions--incol .btn { min-width: 0; width: 100%; }
@media (max-width: 599px) {
  .sec-actions { gap: 12px; }
  .sec-actions .btn { min-width: 0; width: 100%; }
}

.news .sec-actions { display: none; margin-top: 30px; }

@media (max-width: 767px) {
  .news__head .link-more { display: none; }
  .news .sec-actions { display: flex; }
  /* 日付とカテゴリを1行目に左揃えで並べ、本文を2行目に置く */
  .news__item a {
    grid-template-columns: auto 1fr;
    grid-template-areas: "date tag" "txt txt";
    align-items: center; gap: 10px 12px; padding: 18px 12px; margin-inline: -12px;
  }
  .news__item time { grid-area: date; }
  .news__tag { grid-area: tag; justify-self: start; }
  .news__txt { grid-area: txt; font-size: 14px; }
}

/* =========================================================
   7. About
   ========================================================= */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about__lead {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; letter-spacing: .12em; line-height: 1.85;
  margin-bottom: 30px;
}

.about__fig { position: relative; }
.about__fig img { width: 100%; }
.about__fig figcaption {
  position: absolute; right: -1px; bottom: -1px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  align-items: flex-start;
  padding: 18px 24px;
  background: var(--c-bg-2); color: var(--c-ink);
  border: 1px solid var(--c-line-2);
}
/* 写真の上には飾りではなく「来院の決め手になる事実」を置く */
.about__cap-en { font-family: var(--f-en); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-ink-2); line-height: 1.6; }
.about__cap-ja { font-size: clamp(15px, 1.6vw, 17px); letter-spacing: .12em; line-height: 1.7; margin-top: 4px; }

@media (max-width: 899px) {
  .about { grid-template-columns: 1fr; }
  .about__fig { order: -1; }
}

/* =========================================================
   8. Feature
   ========================================================= */
.section--feature { background: var(--c-bg-2); }

.feature { border-top: 1px solid var(--c-line-2); max-width: 940px; margin-inline: auto; }
.feature__item {
  display: grid;
  grid-template-columns: clamp(115px, 13vw, 140px) 1fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--c-line-2);
}
/* 写真はKV・当院についてと重複していたため、番号で見せる */
.feature__num {
  font-family: var(--f-en); font-weight: 300; font-size: clamp(56px, 7vw, 80px); line-height: 1;
  text-align: center;
}
.feature__num span {
  display: block; margin-bottom: 10px;
  font-size: 11.5px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--c-ink-2);
}
.feature__num::after { content: ""; display: block; width: 24px; height: 1px; margin: 18px auto 0; background: var(--c-ink); }
.feature__body h3 {
  font-size: clamp(16px, 2vw, 19px); font-weight: 500; letter-spacing: .12em; line-height: 1.8;
  margin-bottom: 14px; position: relative;
}
.feature__body p { font-size: 14.5px; color: var(--c-ink-2); }

@media (max-width: 599px) {
  .feature__item { grid-template-columns: 1fr; gap: 18px; }
  .feature__body h3 { text-align: center; }
}

/* 白黒だと小見出しと本文の差が出にくいため、
   見出しの頭に短い縦罫を置いて視覚的な足がかりをつくる */
.medical__list dt::before,
.stay__list dt::before {
  content: ""; position: absolute; left: 0; top: 0.38em;
  width: 3px; height: 1em;
  background: var(--c-ink);
}

/* =========================================================
   9. Medical
   ========================================================= */
.medical { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 76px); }
/* 列を伸ばして、2列のボタンを同じ高さに揃える */
.medical__col { display: flex; flex-direction: column; }
.medical__col .sec-actions--incol { margin-top: auto; padding-top: 30px; }

.medical__cat {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 18px; margin-bottom: 6px;
  border-bottom: 1px solid var(--c-ink);
}
/* h3 の太字700を継承してしまうため、明示的に細字を指定する */
.medical__cat-en {
  font-family: var(--f-en); font-weight: 300; font-size: 12px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--c-ink-3);
}
.medical__cat-ja { font-size: 19px; font-weight: 500; letter-spacing: .16em; }

.medical__list > div { padding: 22px 0; border-bottom: 1px solid var(--c-line-2); }
.medical__list dt {
  font-size: 15.5px; font-weight: 500; letter-spacing: .1em; line-height: 1.8;
  margin-bottom: 10px; padding-left: 15px; position: relative;
}
.medical__list dd { font-size: 14px; line-height: 2.0; color: var(--c-ink-2); }

@media (max-width: 899px) { .medical { grid-template-columns: 1fr; } }

/* SPは10項目を全文で並べると約2画面分になるため、見出しだけのアコーディオンにする。
   ボタンは main.js がSP幅のときだけ dt 内に生成する（PCでは素の dl のまま） */
.medical__toggle {
  display: block; width: 100%; position: relative;
  padding: 0 28px 0 0; text-align: left;
  font: inherit; letter-spacing: inherit; line-height: inherit;
}
.medical__toggle::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 10px; height: 10px; margin-top: -5px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: background-size .35s var(--ease);
}
.medical__toggle[aria-expanded="true"]::after {
  background-size: 100% 1px, 1px 0;
}
.medical__list.is-accordion > div { padding: 0; }
.medical__list.is-accordion dt { margin: 0; padding-block: 18px; }
.medical__list.is-accordion dt::before { top: calc(18px + .38em); }
.medical__list.is-accordion dd { display: none; padding-bottom: 20px; }
.medical__list.is-accordion > div.is-open dd { display: block; }

/* =========================================================
   9b. Photo Band（診療案内と「はじめての方へ」のあいだの全幅写真）
   ========================================================= */
.photo-band { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 340px; aspect-ratio: 21 / 9; color: #fffefc; }
.photo-band__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25, 23, 19, .62) 0%, rgba(25, 23, 19, .45) 55%, rgba(25, 23, 19, .04) 100%); }
.photo-band__content { padding-block: 56px; }
.photo-band h2 { font-size: clamp(25px, 3.2vw, 38px); font-weight: 400; line-height: 1.9; letter-spacing: .16em; }
.photo-band p { margin-top: 24px; font-size: 14px; letter-spacing: .12em; }
@media (max-width: 599px) {
  .photo-band { min-height: 360px; aspect-ratio: auto; }
  /* 縦長に切り抜くと壁だけになるため、植物と椅子が入る右寄りを残す */
  .photo-band__image { object-position: 76% center; }
  .photo-band::before { background: rgba(25, 23, 19, .56); }
}

/* =========================================================
   10. Stay & Care
   ========================================================= */
.section--stay { background: var(--c-bg-2); }

.stay { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.stay__fig img { width: 100%; }
/* 縦長写真。SPでは天地をトリミングして横長で見せる。
   椅子とテーブルが画像の下寄り（約65%）にあるので、
   切れないよう object-position を下げている */
@media (max-width: 899px) {
  .stay__fig img {
    aspect-ratio: 4 / 3; object-fit: cover; object-position: center 74%;
  }
}
.stay__lead {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; letter-spacing: .12em; line-height: 1.85;
  margin-bottom: 30px;
}
.stay__list > div { padding: 20px 0; border-top: 1px solid var(--c-line-2); }
.stay__list > div:last-child { border-bottom: 1px solid var(--c-line-2); }
.stay__list dt {
  font-size: 15.5px; font-weight: 500; letter-spacing: .1em; line-height: 1.8;
  margin-bottom: 10px; padding-left: 15px; position: relative;
}
.stay__list dd { font-size: 14px; line-height: 2.0; color: var(--c-ink-2); }

@media (max-width: 899px) {
  .stay { grid-template-columns: 1fr; }
}

/* =========================================================
   11. Doctor
   ========================================================= */
.doctor { max-width: 900px; margin-inline: auto; }
.doctor__intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.doctor__fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 899px) {
  .doctor__intro { grid-template-columns: 1fr; }
  .doctor__fig { width: min(100%, 420px); margin-inline: auto; }
}

/* セクション見出し「診療方針」と同じ語を繰り返さず、考え方を一文で示す */
.doctor__lead {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 500; letter-spacing: .12em; line-height: 1.85;
  margin-bottom: 28px;
}

.doctor__meta { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); margin-top: 44px; }
.doctor__block h3 {
  font-size: 12px; font-weight: 400; letter-spacing: .24em; color: var(--c-ink-3);
  padding-bottom: 14px; border-bottom: 1px solid var(--c-line-2); margin-bottom: 16px;
}
.doctor__block li {
  font-size: 14px; line-height: 2.0; color: var(--c-ink-2);
  padding: 7px 0 7px 18px; position: relative;
}
.doctor__block li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 6px; height: 1px; background: var(--c-line);
}

@media (max-width: 767px) { .doctor__meta { grid-template-columns: 1fr; } }

/* =========================================================
   12. Access / Hours
   ========================================================= */
.section--hours { background: var(--c-bg-2); }
/* 全幅の地図をセクション下端に密着させる */
.section--access { padding-bottom: 0; }

/* 診療時間：表＋注記を主、連絡先カードを従 */
.hours-wrap {
  display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(36px, 5vw, 64px);
  align-items: start;
  max-width: 1000px; margin-inline: auto;
}
@media (max-width: 899px) { .hours-wrap { grid-template-columns: 1fr; } }

/* アクセス：住所と交通手段を中央に */
.access { max-width: 720px; margin-inline: auto; text-align: center; }
.access-photo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; max-width: 1000px; margin-inline: auto; }
.access-photo__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* 写真と並べるときは中央寄せをやめ、写真側に揃える */
.access-photo .access { max-width: none; margin: 0; text-align: left; }
@media (max-width: 899px) { .access-photo { grid-template-columns: 1fr; } }

/* 診療時間テーブル（PC） */
.hours th, .hours td {
  border-bottom: 1px solid var(--c-line-2);
  padding: 14px 4px; text-align: center; font-weight: 400;
  font-size: 13.5px; letter-spacing: .06em;
}
.hours thead th { font-size: 12.5px; color: var(--c-ink-2); border-bottom-color: var(--c-line); }
.hours tbody th { text-align: left; white-space: nowrap; font-family: var(--f-en); font-size: 14px; letter-spacing: .06em; }
/* ●と休の濃さを揃える（−は細くて見えなかった） */
.hours td { color: var(--c-ink); font-size: 12px; }
.hours td.is-off { color: var(--c-ink-2); font-size: 13px; letter-spacing: 0; }

/* SP：横スクロールさせず曜日別の縦並びへ */
.hours-sp { display: none; border-top: 1px solid var(--c-line); }
.hours-sp > div {
  display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 12px;
  padding: 12px 2px; border-bottom: 1px solid var(--c-line-2);
}
.hours-sp dt { font-size: 14px; letter-spacing: .1em; }
.hours-sp dd { font-family: var(--f-en); font-size: 14px; letter-spacing: .05em; color: var(--c-ink-2); }
.hours-sp > div.is-off dt, .hours-sp > div.is-off dd { color: var(--c-ink-3); }

@media (max-width: 767px) {
  .hours { display: none; }
  .hours-sp { display: block; }
}

.notes { margin-top: 20px; }
.notes li {
  font-size: 13px; line-height: 2.0; color: var(--c-ink-3);
  padding-left: 1.2em; position: relative;
}
.notes li::before { content: "※"; position: absolute; left: 0; }

.contact { padding: 28px 26px; border: 1px solid var(--c-line-2); background: var(--c-bg); }
.contact__label { font-size: 11.5px; letter-spacing: .18em; color: var(--c-ink-3); }
.contact__tel {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0;
  font-family: var(--f-en); font-size: clamp(28px, 3.4vw, 32px); letter-spacing: .04em; line-height: 1.3;
}
.contact__tel .ico-tel { width: .6em; height: .6em; }
.contact__tel:hover { color: var(--c-accent); }
.contact__note { font-size: 13px; line-height: 2.0; color: var(--c-ink-2); margin: 10px 0 18px; }

.access__addr { font-size: 16px; line-height: 2; letter-spacing: .1em; margin-bottom: 26px; }
.access__info { display: inline-grid; text-align: left; }
.access__info > div { display: grid; grid-template-columns: 58px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--c-line-2); }
.access__info > div:last-child { border-bottom: 1px solid var(--c-line-2); }
.access__info dt { font-size: 12px; letter-spacing: .16em; color: var(--c-ink-3); line-height: 2; }
.access__info dd { font-size: 14px; line-height: 2; color: var(--c-ink-2); }

/* 地図は画面の横幅いっぱい。落ち着いたトーンに寄せつつ、
   ピンの赤が判別できる程度の彩度は残す */
.access__map { margin-top: clamp(48px, 6vw, 76px); }
.access__map iframe {
  width: 100%; height: clamp(300px, 38vw, 420px);
  filter: grayscale(.4) contrast(.96); transition: filter .5s var(--ease);
}
.access__map iframe:hover { filter: none; }


/* =========================================================
   13. Footer（案B：２段構成・カードレイアウト）
   ========================================================= */
.footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-line-2);
  padding-top: clamp(52px, 7vw, 80px);
}

.footer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: clamp(24px, 4vw, 36px);
  border-bottom: 1px solid var(--c-line-2);
}
.footer__logo { flex: 1; min-width: 0; }
.footer__name { font-size: clamp(22px, 3vw, 26px); font-weight: 500; letter-spacing: .18em; line-height: 1.2; }
.footer__sub { font-family: var(--f-en); font-size: 11px; letter-spacing: .24em; color: var(--c-ink-3); margin-top: 2px; line-height: 1.2; }
.footer__tag { font-size: 13px; color: var(--c-ink-2); margin-top: 10px; letter-spacing: .1em; }

.footer__sns-top { flex: none; }
.sns-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  color: var(--c-ink-2);
  background: #fff;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.sns-circle .ico-insta { width: 20px; height: 20px; }
.sns-circle:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

.footer__body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(36px, 5vw, 52px);
}

.footer__heading {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--c-ink);
  margin-bottom: 18px;
}

.footer__addr { font-size: 13.5px; line-height: 1.85; color: var(--c-ink-2); margin: 0; }
.footer__access-note {
  display: block;
  font-size: 12.5px;
  color: var(--c-ink-3);
  margin-top: 8px;
}

.footer__tel {
  display: inline-flex; align-items: center; gap: 8px; margin-top: -1px;
  font-family: var(--f-en); font-size: clamp(22px, 2.6vw, 25px); letter-spacing: .04em;
  color: var(--c-ink); line-height: 1.25;
}
.footer__tel .ico-tel { width: .65em; height: .65em; }
.footer__tel:hover { color: var(--c-accent); }

.footer__note {
  font-size: 12px;
  color: var(--c-ink-3);
  margin-top: 8px;
  line-height: 1.6;
}

.footer__actions {
  display: flex;
  align-items: center;
  margin-top: 14px;
}
.footer__actions .btn { min-height: 38px; padding: 0 16px; font-size: 11.5px; }

.footer__hours-txt { font-size: 13.5px; line-height: 1.85; color: var(--c-ink-2); margin: 0; }
.footer__off { font-size: 12.5px; color: var(--c-ink-3); margin-top: 8px; }

.footer__copy {
  padding-block: 22px;
  border-top: 1px solid var(--c-line-2);
  font-family: var(--f-en); font-size: 11px; letter-spacing: .18em; color: var(--c-ink-3);
  text-align: center;
}

@media (max-width: 899px) {
  .footer__body { grid-template-columns: 1fr; gap: 32px; }
}
/* SPで院名が「…クリニッ／ク」と1字落ちし、コピーライトも2行に割れるため字送りを詰める */
@media (max-width: 599px) {
  .footer__name { font-size: clamp(18px, 5.2vw, 22px); letter-spacing: .1em; white-space: nowrap; }
  /* 右下のページトップボタン（42px）と重ならないよう、左寄せにして右を空ける */
  .footer__copy { letter-spacing: .06em; text-align: left; padding-right: 56px; }
}
@media (max-width: 359px) {
  .footer__name { font-size: 16.5px; letter-spacing: .06em; }
}

/* =========================================================
   14. Pagetop
   ========================================================= */
.pagetop {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px;
  border: 1px solid var(--c-line); background: rgba(255,254,252,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s var(--ease), visibility .4s var(--ease), transform .4s var(--ease),
              background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop i {
  display: block; width: 8px; height: 8px; margin-top: 3px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: rotate(-45deg);
}
.pagetop:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

@media (max-width: 599px) { .pagetop { right: 14px; bottom: 14px; width: 42px; height: 42px; } }

/* =========================================================
   15. Reveal
   JSが落ちてもページが真っ白にならないよう .js 配下に限定する
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js [data-reveal].is-inview { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .kv__lead, .kv__copy span, .kv__note { opacity: 1; transform: none; transition: none; }
  .kv__slide { transition: none; }
}
