/* 案c 本巣ヱ型（中央1カラム・縦書きの節見出し）＋ B4B 型 FV ＋ SÉN 型下層
   色と書体は palette.css の var() だけ */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { overflow-wrap: anywhere; }
.page-top, .page-sub { background: var(--color-bg); }

/* 双葉の印（SVG symbol の色は use 側の変数で変える） */
.lf-a { fill: var(--lf-a, currentColor); }
.lf-b { fill: var(--lf-b, currentColor); }
.lf-stem { stroke: var(--lf-s, currentColor); }
.mk, .logo__mk { --lf-a: var(--color-sub); --lf-b: var(--color-main); --lf-s: var(--color-main); }
.ico { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------
   ヘッダー（透明 → スクロールで白）
------------------------------------------------------------ */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.hd.is-scrolled { background: var(--color-bg); box-shadow: 0 8px 30px -18px rgba(0,0,0,.28); }
.hd__in {
  height: 100%; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px);
  padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto;
}
.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mk { width: 40px; height: 40px; }
.logo__tx { font-family: var(--font-heading); font-weight: 700; font-size: 20px; letter-spacing: .12em; white-space: nowrap; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(18px, 2.1vw, 36px); }
.gnav a {
  position: relative; font-size: var(--fs-nav); font-weight: 500; white-space: nowrap; padding: 8px 0;
}
.gnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-main);
  transform: scaleX(0); transform-origin: right; transition: transform var(--dur-hover) var(--ease-out);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.hd__cta { display: flex; align-items: center; gap: 20px; flex: none; }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--color-main); font-size: 19px; }
.hd__tel svg { width: 20px; height: 20px; }
.hd .menu-btn { margin-left: auto; }
@media (min-width: 1241px) { .hd .menu-btn { display: none; } }
@media (max-width: 1240px) {
  .gnav { display: none; }
  .hd .menu-btn { display: block; margin-left: 0; }
  .hd__cta { margin-left: auto; }
}
@media (max-width: 767px) {
  .hd__cta { display: none; }
  .hd .menu-btn { margin-left: auto; width: 46px; height: 46px; }
  .hd .menu-btn span { left: 12px; }
  .hd .menu-btn span:nth-child(1) { top: 16px; } .hd .menu-btn span:nth-child(2) { top: 22px; } .hd .menu-btn span:nth-child(3) { top: 28px; }
  .logo__mk { width: 32px; height: 32px; }
  .logo__tx { font-size: 17px; letter-spacing: .08em; }
}
.sp-menu .btn--outline { gap: 8px; }

/* ------------------------------------------------------------
   FV（B4B 型 縦長フレーム3本）
------------------------------------------------------------ */
.fv { padding-top: var(--header-h); overflow: clip; }
.fv__stage {
  --fw: 40%; --gap: 3%;
  position: relative; height: calc(100svh - var(--header-h) - 24px); min-height: 560px; max-height: 1040px;
}
.fv__fr {
  position: absolute; top: 0; bottom: 0; width: var(--fw);
  border-radius: var(--radius-m); overflow: hidden; background: var(--color-surface);
}
.fv__fr img { width: 100%; height: 100%; object-fit: cover; }
.fv__fr--c { left: calc(50% - var(--fw) / 2); container-type: inline-size; z-index: 2; }
.fv__fr--l { left: calc(50% - var(--fw) * 1.5 - var(--gap)); }
.fv__fr--r { left: calc(50% + var(--fw) / 2 + var(--gap)); }
.fv__fr--l img { object-position: 62% 50%; }
.fv__fr--r img { object-position: 50% 20%; }
.fv__cap {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 24px clamp(40px, 6cqi, 64px); text-align: center; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.42) 0%, rgba(0,0,0,.2) 30%, rgba(0,0,0,0) 56%);
}
.fv__logo { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 20px; letter-spacing: .24em; font-weight: 700; }
.fv__mk { width: clamp(72px, 16cqi, 104px); height: clamp(72px, 16cqi, 104px); --lf-a: var(--color-bg); --lf-b: var(--color-bg); --lf-s: var(--color-bg); filter: drop-shadow(0 4px 14px rgba(0,0,0,.18)); }
.fv__name { text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.fv__catch {
  margin-top: clamp(20px, 4cqi, 32px);
  font-family: var(--font-heading); font-weight: 700; line-height: 1.5; letter-spacing: .04em;
  font-size: min(var(--fs-h1), 6.8cqi); text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.fv__catch .ln { display: inline-block; }
.fv__catch .ln--br { display: block; }
.fv__catch::before {
  content: ""; display: block; width: 36px; height: 3px; margin: 0 auto clamp(16px, 3cqi, 24px); background: var(--color-accent); border-radius: 2px;
}
.fv__lead { max-width: 1040px; margin-inline: auto; padding: clamp(48px, 5vw, 72px) var(--gutter) 0; text-align: center; }
.fv__txt { max-width: 34em; margin-inline: auto; }
.fv__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }
.fv__btns .btn--outline, .contact__btns .btn--outline, .ss__btns .btn--outline { gap: 8px; }

@media (max-width: 767px) {
  .fv__stage { --fw: 76%; --gap: 3%; height: calc(100svh - var(--header-h) - 140px); min-height: 480px; }
  .fv__catch { font-size: min(var(--fs-h1), 9.6cqi); letter-spacing: .02em; }
  .fv__cap { padding-inline: 10px; }
  .fv__catch .ln { display: block; }
  .fv__logo { font-size: 17px; gap: 10px; }
  .fv__btns { flex-direction: column; align-items: stretch; }
}

/* ------------------------------------------------------------
   FV より下（本巣ヱ型の中央1カラム・縦書きの節見出し）
------------------------------------------------------------ */
.sec { padding-bottom: var(--sec-pad); }
.sec:first-child { margin-top: clamp(80px, 8vw, 120px); }
.sec__grid {
  width: calc(100% - var(--gutter) * 2); max-width: calc(var(--wrap) - 128px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) 112px; column-gap: clamp(40px, 6vw, 104px);
  border-top: 1px solid var(--color-line); padding-top: var(--sec-pad);
}
.sec__head {
  grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: calc(var(--header-h) + 40px);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.sec__main { grid-column: 1; grid-row: 1; min-width: 0; }
.mk { width: 40px; height: 40px; flex: none; }
.vt { writing-mode: vertical-rl; font-size: var(--fs-h2); letter-spacing: .22em; line-height: 1.3; }
.sec__head .en { writing-mode: vertical-rl; font-family: var(--font-en); font-size: var(--fs-label); letter-spacing: .2em; color: var(--color-main); font-weight: 500; }
.no { display: inline-block; font-family: var(--font-en); font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--color-accent); }
.sec__more { margin-top: clamp(56px, 5vw, 80px); display: flex; justify-content: center; }

/* 本日の診療 */
.hours { max-width: none; }
.hours .note { margin-top: 18px; }
.tbl--hours thead th:first-child { background: var(--color-main); }
.tbl--hours td.ok { color: var(--color-sub); }

/* 写真（切り抜きで開く・パララックス） */
.blk__fig { overflow: hidden; border-radius: var(--radius-m); background: var(--color-surface); }
.blk__fig img { width: 100%; height: 100%; object-fit: cover; }

/* 診療案内のブロック */
.blk { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.blk + .blk { margin-top: clamp(96px, 9vw, 160px); }
.blk .blk__fig { aspect-ratio: 4 / 3; }
.blk--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.blk--rev .blk__fig { order: 2; }
.blk__txt { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: clamp(28px, 3vw, 44px); align-items: flex-start; }
.blk__h { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: none; }
.blk__h h3, .vt-pc { font-size: var(--fs-h3); }
.vt-pc { writing-mode: vertical-rl; letter-spacing: .2em; line-height: 1.3; }
.blk__txt p { max-width: 16em; padding-top: 44px; }

/* 健康診断・予防接種 */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: end; }
.split__fig { aspect-ratio: 3 / 2; }
.split__txt .no { margin-bottom: 20px; }
.price { margin: clamp(56px, 5vw, 80px) 0 0 auto; max-width: 820px; }
.tbl--price td { text-align: right; white-space: nowrap; font-family: var(--font-en); font-weight: 600; font-size: 17px; }
.tbl--price th { font-weight: 500; }
.tbl tbody th { font-weight: 500; }

/* 待ち時間 */
.wait__fig { aspect-ratio: 21 / 9; margin-bottom: 48px; }
#wait .no { margin-bottom: 24px; }
.wait { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.wait__item { border-top: 2px solid var(--color-main); padding-top: 28px; }
.wait__no { display: block; font-family: var(--font-en); font-style: italic; color: var(--color-accent); font-size: 17px; margin-bottom: 10px; }
.wait__item h3 { font-size: var(--fs-h4); margin-bottom: 12px; color: var(--color-main); }
.wait__item p { font-size: var(--fs-card); }

/* 院長あいさつ */
.msg { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.msg__fig { aspect-ratio: 4 / 5; }
.msg__fig img { object-position: 28% 50%; }
.msg__txt p + p { margin-top: 1.2em; }
.msg__sign { font-weight: 700; text-align: right; letter-spacing: .3em; }
.msg__txt .btn { margin-top: 40px; }

/* はじめての方へ */
.first { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.first__fig { order: 2; aspect-ratio: 3 / 2; }
.first__txt .btn { margin-top: 36px; }

/* お知らせ */
.news { display: grid; gap: 16px; max-width: 1040px; }
.news__card {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) 40px; align-items: center; gap: 24px;
  padding: 28px 32px; border-radius: var(--radius-m); background: var(--color-surface);
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
.news__card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(0,0,0,.35); }
.news__date { font-family: var(--font-en); font-size: 16px; font-weight: 600; letter-spacing: .1em; color: var(--color-main); line-height: 1.6; }
.news__ttl { font-size: var(--fs-body); font-weight: 500; }
.arw-c {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-main); position: relative;
  transition: background var(--dur-hover) var(--ease-out);
}
.arw-c::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -6px;
  border-top: 2px solid var(--color-main); border-right: 2px solid var(--color-main); transform: rotate(45deg);
}
.news__card:hover .arw-c { background: var(--color-main); }
.news__card:hover .arw-c::after { border-color: var(--color-bg); }

/* アクセス */
.acc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.tbl--dl { background: transparent; font-size: var(--fs-body); }
.tbl--dl th { width: 7em; color: var(--color-main); font-weight: 700; }
.tbl--dl th, .tbl--dl td { padding: 18px 8px; }
.acc__btn { margin-top: 36px; }
.acc__map { min-height: 420px; }

/* ご予約 */
.contact { background: var(--color-surface); border-radius: var(--radius-l); padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 72px); text-align: center; }
.contact p { max-width: 32em; margin-inline: auto; }
.contact__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }

/* 右下のページ送り */
.pager {
  position: fixed; right: 28px; bottom: 28px; z-index: 70;
  display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 22px; border-radius: 999px;
  background: color-mix(in srgb, var(--color-bg) 90%, transparent); backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px -18px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .6s var(--ease-out), visibility .6s, transform .6s var(--ease-out);
}
.pager.is-on { opacity: 1; visibility: visible; transform: none; }
.pager__en { font-family: var(--font-en); font-size: 13px; letter-spacing: .18em; color: var(--color-main); }
.pager__cur { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; vertical-align: middle; font-family: var(--font-en); font-weight: 700; color: var(--color-accent); min-width: 1.4em; }
.pager__cur span { display: block; }
.pager ol { display: flex; gap: 2px; }
.pager ol a {
  position: relative; display: grid; place-items: center; width: 32px; height: 36px;
  font-family: var(--font-en); font-size: 15px; font-weight: 600; color: var(--color-text); opacity: .4;
  transition: opacity .5s var(--ease-out), color .5s var(--ease-out);
}
.pager ol a::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 2px; margin-left: -7px; background: var(--color-accent);
  transform: scaleX(0); transition: transform .6s var(--ease-out);
}
.pager ol a:hover { opacity: .8; }
.pager ol a.is-cur { opacity: 1; color: var(--color-main); }
.pager ol a.is-cur::after { transform: scaleX(1); }

/* フッター */
.ft { background: var(--color-surface); padding: clamp(72px, 7vw, 112px) 0 32px; margin-top: 0; }
.ft__in {
  width: calc(100% - var(--gutter) * 2); max-width: calc(var(--wrap) - 128px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 48px; align-items: start;
}
.ft__addr { margin-top: 24px; font-size: var(--fs-card); }
.ft__addr span { display: block; }
.ft__tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--color-main); font-size: 22px; }
.ft__tel svg { width: 22px; height: 22px; }
.ft__mail { font-family: var(--font-en); font-size: var(--fs-card); }
.ft__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: var(--fs-card); }
.ft__nav a { transition: color var(--dur-hover) var(--ease-out); }
.ft__nav a:hover { color: var(--color-main); }
.ft__copy { width: calc(100% - var(--gutter) * 2); max-width: calc(var(--wrap) - 128px); margin: 64px auto 0; padding-top: 24px; border-top: 1px solid var(--color-line); font-family: var(--font-en); font-size: 13px; letter-spacing: .1em; opacity: .7; }

/* ------------------------------------------------------------
   トップのタブレット・スマホ
------------------------------------------------------------ */
@media (max-width: 1100px) {
  .blk, .blk--rev, .split, .msg, .first { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wait { grid-template-columns: minmax(0, 1fr); }
  .acc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .sec__grid { grid-template-columns: minmax(0, 1fr); }
  .sec__head { grid-column: 1; grid-row: 1; position: static; flex-direction: row; justify-content: center; align-items: flex-start; gap: 14px; margin-bottom: 48px; }
  .sec__main { grid-row: 2; }
  .sec__head .mk { width: 34px; height: 34px; }
  .vt { font-size: 28px; }
  .blk, .blk--rev, .split, .msg, .first { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .blk--rev .blk__fig, .first__fig { order: 0; }
  .blk + .blk { margin-top: 72px; }
  .blk__txt { flex-direction: column; gap: 14px; }
  .blk__h { flex-direction: row; gap: 14px; }
  .vt-pc { writing-mode: horizontal-tb; letter-spacing: .08em; }
  .blk__txt p { max-width: none; padding-top: 0; }
  .wait__fig { aspect-ratio: 4 / 3; }
  .msg__fig { aspect-ratio: 4 / 3; }
  .news__card { grid-template-columns: minmax(0, 1fr) 36px; gap: 4px 16px; padding: 22px 20px; }
  .news__date { grid-column: 1; }
  .news__ttl { grid-column: 1; }
  .news__arw { grid-column: 2; grid-row: 1 / 3; width: 36px; height: 36px; }
  .acc__map { min-height: 280px; }
  .contact__btns { flex-direction: column; align-items: stretch; }
  .pager { right: 12px; bottom: 72px; gap: 8px; padding: 6px 8px 6px 14px; }
  .pager__en { display: none; }
  .pager ol a { width: 26px; height: 32px; font-size: 14px; }
  .ft__in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* ------------------------------------------------------------
   下層（SÉN Plan 型）
------------------------------------------------------------ */
.ph { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); height: 100svh; min-height: 680px; max-height: 1100px; overflow: clip; }
.ph__fig { grid-area: 1 / 1; position: relative; overflow: hidden; }
.ph__fig img { width: 100%; height: 100%; object-fit: cover; }
.ph__fig::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.42) 0%, rgba(0,0,0,.16) 30%, rgba(0,0,0,0) 55%); pointer-events: none; }
.ph__cap {
  grid-area: 1 / 1; align-self: end; justify-self: start; position: relative; z-index: 2;
  padding: 0 var(--gutter) clamp(48px, 6vw, 88px); max-width: 860px; color: #fff;
}
.ph__en { font-family: var(--font-en); font-size: var(--fs-label); letter-spacing: .24em; font-weight: 600; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.ph__ttl { font-size: var(--fs-h1); letter-spacing: .14em; margin-top: 10px; text-shadow: 0 2px 14px rgba(0,0,0,.3); }
.ph__catch { font-size: var(--fs-h2); letter-spacing: .06em; line-height: 1.45; margin-top: 14px; text-shadow: 0 2px 20px rgba(0,0,0,.3); min-height: 1.45em; }
.ph__cap .btn { margin-top: 32px; }
.btn--onphoto { border-color: var(--color-bg); color: #fff; backdrop-filter: blur(4px); }
.btn--onphoto:hover { background: var(--color-bg); color: var(--color-main); }
.snav {
  grid-area: 1 / 1; align-self: center; justify-self: end; position: relative; z-index: 2; margin-right: var(--gutter);
  width: 300px; padding: 28px 28px 20px; border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--color-bg) 88%, transparent); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -28px rgba(0,0,0,.4);
}
.snav__en { font-family: var(--font-en); font-size: 13px; letter-spacing: .24em; color: var(--color-main); font-weight: 600; margin-bottom: 8px; }
.snav a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-top: 1px solid var(--color-line);
  font-size: var(--fs-card); font-weight: 500; line-height: 1.5;
  transition: color var(--dur-hover) var(--ease-out), transform var(--dur-hover) var(--ease-out);
}
.snav a:hover, .snav a.is-cur { color: var(--color-main); transform: translateX(-4px); }
.snav__no { font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--color-accent); letter-spacing: .1em; flex: none; }
.snav a.is-cur .snav__no::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--color-accent); vertical-align: middle; }

.sub { padding-bottom: var(--sec-pad); }
.sub__col { width: calc(100% - var(--gutter) * 2); max-width: 1160px; margin-inline: auto; }
.crumbs { padding-top: 28px; color: var(--color-text); }
.sub__intro { max-width: 860px; margin: clamp(56px, 6vw, 96px) auto 0; font-size: var(--fs-body); }
.sub__intro p + p { margin-top: 1.2em; }
.ss { margin-top: var(--sec-pad); padding-top: var(--sec-pad); border-top: 1px solid var(--color-line); }
.ss__head { display: flex; align-items: center; justify-content: center; gap: 12px; }
.ss__head .mk { width: 32px; height: 32px; }
.ss__head .en { font-family: var(--font-en); font-size: var(--fs-label); letter-spacing: .2em; color: var(--color-main); font-weight: 500; }
.ss__no { font-family: var(--font-en); font-weight: 600; font-size: 15px; color: var(--color-accent); letter-spacing: .12em; }
.ss__ttl { text-align: center; font-size: var(--fs-h2); letter-spacing: .08em; margin: 18px 0 clamp(40px, 4vw, 64px); }
.ss__sub { display: block; font-size: .55em; letter-spacing: .06em; margin-top: 6px; color: var(--color-main); }
.ss__fig { aspect-ratio: 16 / 7; margin-bottom: clamp(48px, 5vw, 72px); }
.ss__body { max-width: 860px; margin-inline: auto; }
.ss__body > * + * { margin-top: 1.4em; }
.ss__body .note { margin-top: 1em; }
.note--box { background: var(--color-surface); padding: 16px 24px; border-radius: var(--radius-s); opacity: 1; }
.chk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 36px; background: var(--color-surface); padding: 32px 40px; border-radius: var(--radius-m); }
.chk li { position: relative; padding-left: 28px; }
.chk li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 12px; border-radius: 50% 0; background: var(--color-sub); transform: rotate(-45deg); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: clamp(48px, 5vw, 64px) auto; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--color-surface); border-radius: var(--radius-m); padding: 36px 36px 40px; border-top: 3px solid var(--color-main);
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -28px rgba(0,0,0,.4); }
.card h3 { font-size: var(--fs-h4); color: var(--color-main); margin-bottom: 12px; }
.card p { font-size: var(--fs-card); }
.ss__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 16px; }
.tbl--wide tbody th { white-space: nowrap; }
.tbl .yen { white-space: nowrap; font-family: var(--font-en); font-weight: 600; }
.table-scroll > .tbl--wide { min-width: 680px; }
.flow { max-width: 860px; margin: 0 auto clamp(40px, 4vw, 56px); counter-reset: none; }
.flow__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--color-line); }
.flow__item:first-child { border-top: 1px solid var(--color-line); }
.flow__no { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--color-main); color: var(--color-main); font-family: var(--font-en); font-weight: 600; font-size: 22px; }
.flow__item h3 { font-size: var(--fs-h4); margin-bottom: 4px; }
.flow__item p { font-size: var(--fs-body); }

@media (max-width: 1100px) {
  .cards--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .ph { grid-template: 74svh auto / minmax(0, 1fr); height: auto; min-height: 0; max-height: none; }
  .ph__fig, .ph__cap { grid-row: 1; grid-column: 1; }
  .ph__fig { min-height: 460px; }
  .ph__cap { padding-bottom: 32px; }
  .ph__catch { font-size: 24px; }
  .snav { grid-row: 2; grid-column: 1; justify-self: stretch; width: auto; margin: 0; border-radius: 0; background: var(--color-surface); box-shadow: none; backdrop-filter: none; padding: 24px var(--gutter) 16px; }
  .snav ol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 20px; }
  .snav a:hover, .snav a.is-cur { transform: none; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .chk { grid-template-columns: minmax(0, 1fr); padding: 24px 22px; }
  .card { padding: 28px 24px 32px; }
  .ss__fig { aspect-ratio: 4 / 3; }
  .ss__btns { flex-direction: column; align-items: stretch; }
  .flow__item { grid-template-columns: 48px minmax(0, 1fr); gap: 18px; }
  .flow__no { width: 46px; height: 46px; font-size: 18px; }
}

/* 下層のヘッダーは写真の上で読めるよう半透明の地 */
.page-sub .hd:not(.is-scrolled) { background: color-mix(in srgb, var(--color-bg) 78%, transparent); backdrop-filter: blur(8px); }
.sec--contact .sec__main { align-self: center; }
@media (max-width: 767px) {
  .contact { padding-inline: 16px; }
  .contact__btns .btn, .ss__btns .btn, .fv__btns .btn { padding-inline: 14px; font-size: 15px; letter-spacing: .02em; }
  .table-scroll > .tbl--price { min-width: 0; }
}

/* 撮影用（?still）・動きを止める人: 全部見せる */
.is-still .pager { transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
