/* =========================================================
   整体Re.Life 新LP v2（参考デザイン準拠）
   白・黒・ロゴのゴールドで構成。スマホ（375〜430px）を原本に組み、
   1024px以上は左に固定サイドバーを出す。トップと料金ページで共用。
   ========================================================= */

/* 明朝体（Shippori Mincho）が届くまで使う、端末に入っている明朝体。
   寸法を Shippori に合わせて、差し替えたときの文字のずれ（CLS）を小さくする。
   値は 2026-09-26 に実測（Shippori÷各字体の幅の比＝size-adjust、Shippori の上下の高さ 1.06em／0.44em ÷ size-adjust＝ascent／descent-override）。
   見出しの "palt"（かなを詰める設定）は Shippori には効かず代わりの字体だけを詰めてしまうため、使っていない。
   H＝iPhone・Mac（ヒラギノ明朝。この環境では幅を測れないため幅は100%のまま、高さだけ合わせる）
   Y＝Windows（游明朝）　N＝Android（Noto Serif CJK） */
@font-face {
  font-family: "Shippori Fallback H";
  src: local("HiraMinProN-W6"), local("Hiragino Mincho ProN W6"), local("HiraMinProN-W3"), local("Hiragino Mincho ProN");
  font-weight: 100 900; size-adjust: 100%; ascent-override: 106%; descent-override: 44%; line-gap-override: 0%;
}
@font-face {
  font-family: "Shippori Fallback Y";
  src: local("YuMincho-Demibold"), local("Yu Mincho Demibold"), local("YuMincho-Regular"), local("Yu Mincho Regular");
  font-weight: 100 900; size-adjust: 101.2%; ascent-override: 104.7%; descent-override: 43.5%; line-gap-override: 0%;
}
@font-face {
  font-family: "Shippori Fallback N";
  src: local("NotoSerifCJKjp-Bold"), local("Noto Serif CJK JP Bold"), local("NotoSerifJP-Bold"), local("Noto Serif JP Bold"),
       local("NotoSerifCJKjp-Regular"), local("Noto Serif CJK JP"), local("Noto Serif JP");
  font-weight: 100 900; size-adjust: 100.4%; ascent-override: 105.6%; descent-override: 43.8%; line-gap-override: 0%;
}

:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --ink: #1a1a1a;
  --ink-2: #4d4d4d;
  --ink-3: #666666;
  --line: #e4e2dd;
  --line-strong: #1a1a1a;

  /* 院長の参考デザインの黄色（2026-09-25 画像から採色）。線・面・アイコン・大きな数字に使う */
  --gold: #fcc00a;
  /* 数字・価格・英字ラベル（参考デザインと同じく黄色の文字。わずかに濃くして白地で読みやすく） */
  --gold-deep: #f2b200;
  --gold-ink: #eaa800;
  /* 文字に使う黄土色（2026-09-26、WCAG AA）。背景・下線・アイコンの黄色（--gold）はそのまま
     --gold-text：小さい文字用。白地 4.94:1／薄い背景（--bg-soft）4.57:1
     --gold-text-lg：大きい文字用（24px以上、または太字19px以上）。白地 3.32:1／薄い背景 3.07:1 */
  --gold-text: #906a00;
  --gold-text-lg: #b58500;
  /* 薄い黄色の面・マーカー */
  --gold-soft: #fff5d1;

  --hpb: #d63c46;
  --hpb-hover: #bf2f39;
  --line-green: #07964a;
  --line-green-hover: #067f3f;

  --caution-bg: #fff8e1;
  --caution-line: #fcc00a;

  --serif: "Shippori Mincho", "Shippori Fallback H", "Shippori Fallback Y", "Shippori Fallback N", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic Medium", "YuGothic", Meiryo, sans-serif;

  --pad: 20px;
  --sec: 64px;
  --radius: 4px;
}

@media (max-width: 359px) { :root { --pad: 16px; } }
@media (min-width: 768px) { :root { --pad: 40px; --sec: 88px; } }
@media (min-width: 1024px) { :root { --pad: 56px; --sec: 112px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
@media (min-width: 1024px) { html { scroll-padding-top: 24px; } }
/* iPhone の切り欠き・ホームバーの領域を避ける（viewport-fit=cover と対） */
body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  line-break: strict;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
/* <picture>（WebP・AVIF の出し分け）は箱を作らず、中の img をそのまま並べる */
picture { display: contents; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, .kw, .cta-main, .faq-q-text { word-break: keep-all; overflow-wrap: anywhere; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(960px + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding: var(--sec) 0; }
.sec-soft { background: var(--bg-soft); }

/* ---------- 見出し ---------- */

.label {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 12px;
  color: var(--gold-text);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
}
.label::before { content: ""; width: 22px; height: 3px; background: var(--gold); }

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(24px, 6.6vw, 28px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-wrap: balance;
}
/* 行の区切りを固定した見出し：各行は折り返さず、置かれた枠の幅から文字サイズを決める（--chars＝最も長い行の字数の目安） */
:root { --h2-fs: 28px; }
@media (min-width: 768px) { :root { --h2-fs: 32px; } }
@media (min-width: 1024px) { :root { --h2-fs: 36px; } }
.fit { container-type: inline-size; }
.fit .h2 { font-size: min(var(--h2-fs), calc(100cqi / var(--chars))); }
.fit .ln { display: block; white-space: nowrap; }
.h2 .num { color: var(--gold-text-lg); font-size: 1.4em; line-height: 1; margin: 0 0.04em; }
.lead { margin-top: 16px; color: var(--ink-2); font-size: 15px; line-height: 1.9; }
@media (min-width: 768px) { .h2 { font-size: 32px; } .lead { font-size: 16px; } }
@media (min-width: 1024px) { .h2 { font-size: 36px; } }

.note { margin-top: 10px; color: var(--ink-3); font-size: 12.5px; line-height: 1.7; }
/* 見出しの中で、途中では折り返させない語のまとまり */
.ib { display: inline-block; }
/* 見出しの中で、常に1行ずつに分ける語のまとまり（明朝体の差し替えで横にずれないように） */
.lnb { display: block; }

/* ---------- ボタン ---------- */

.cta-pair { display: grid; gap: 12px; }
.cta {
  display: flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 8px 16px;
  border-radius: var(--radius);
  color: #fff; text-decoration: none;
  transition: background-color 0.15s ease;
}
.cta-hpb { background: var(--hpb); }
.cta-hpb:hover { background: var(--hpb-hover); }
.cta-line { background: var(--line-green); }
.cta-line:hover { background: var(--line-green-hover); }
.cta-icon { flex: none; width: 26px; height: 26px; }
.cta-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.6; }
.cta-text { display: flex; flex-direction: column; line-height: 1.35; }
.cta-main { font-size: 16.5px; font-weight: 700; letter-spacing: 0.04em; }
/* ボタンの文言は必ず1行。ボタンの幅と文言の長さ（--len＝全角換算の字数）から文字サイズを決める */
.cta { container-type: inline-size; }
.cta-main { white-space: nowrap; font-size: min(16.5px, calc((100cqi - 66px) / var(--len, 12.9))); }
.cta-sub { font-size: 12px; font-weight: 500; opacity: 0.92; }
.cta::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-left: auto; margin-right: 4px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg);
}
@media (min-width: 640px) { .cta-pair.is-row { grid-template-columns: 1fr 1fr; } }

.btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 10px 20px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none;
  background: #fff;
}
.btn-outline::after {
  content: ""; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg);
}
.btn-outline:hover { background: var(--bg-soft); }

/* ---------- ヘッダー（スマホ・タブレット） ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; padding-inline: var(--pad); }
.topbar-logo { display: block; line-height: 0; }
.topbar-logo img { width: auto; height: 36px; }
.menu-btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  width: 48px; height: 48px; margin-right: -8px; padding: 0;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  font: inherit; font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
}
.menu-label { white-space: nowrap; line-height: 1; }
.menu-lines, .menu-lines::before, .menu-lines::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.2s ease;
}
.menu-lines { position: relative; margin-bottom: 4px; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -7px; }
.menu-lines::after { top: 7px; }
.is-menu-open .menu-lines { background: transparent; }
.is-menu-open .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.is-menu-open .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- サイドバー（PC）／メニュー（スマホ） ---------- */

.side {
  position: fixed; z-index: 60; top: 60px; left: 0; right: 0; bottom: 0;
  display: none;
  overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--pad) 40px;
  background: #fff;
}
.is-menu-open .side { display: block; }
.is-menu-open { overflow: hidden; }

.side-nav a,
.side-links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 500; text-decoration: none;
}
.side-nav a::after,
.side-links a::after {
  content: ""; width: 6px; height: 6px;
  border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg);
}
.side-title {
  margin: 28px 0 4px;
  color: var(--gold-text); font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
}
.side-sym details { border-bottom: 1px solid var(--line); }
.side-sym summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 50px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 700;
}
.side-sym summary::-webkit-details-marker { display: none; }
.side-sym summary::after {
  content: ""; width: 7px; height: 7px; margin-right: 2px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s ease;
}
.side-sym details[open] summary::after { transform: rotate(-135deg); }
.side-sym ul { padding: 0 0 12px 12px; }
.side-sym li a {
  display: block; padding: 9px 0; color: var(--ink-2); font-size: 14.5px; text-decoration: none; line-height: 1.5;
}
.side-sym li a:hover, .side-nav a:hover, .side-links a:hover { color: var(--gold-text); }
.side-all { margin-top: 12px; }
.side-cta { margin-top: 28px; }
.side-cta .cta { min-height: 54px; }
.side-info { margin-top: 20px; color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.side-info a { font-weight: 700; }

.side-title-first { margin-top: 12px; }
.pc-header { display: none; }

/* PC：ヘッダーを上に置き、中央寄せの枠の中で「左にメニュー列・右に本文」の2列にする（整骨院サイトの定番の組み方） */
@media (min-width: 1024px) {
  :root { --layout-w: 1200px; }
  .topbar { display: none; }
  .pc-header { display: block; border-top: 4px solid var(--gold); border-bottom: 1px solid var(--line); background: #fff; }
  .pc-header-inner {
    display: flex; align-items: center; gap: 28px;
    max-width: var(--layout-w); margin: 0 auto; padding: 16px 24px;
  }
  .pc-header-catch { color: var(--ink-2); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
  .pc-header-logo { display: block; margin-top: 4px; line-height: 0; }
  .pc-header-logo img { width: 200px; height: auto; }
  .pc-header-info { margin-left: auto; text-align: right; }
  .pc-header-tel { font-size: 13px; font-weight: 700; line-height: 1.3; }
  .pc-header-tel a { margin-left: 4px; font-family: var(--serif); font-size: 24px; text-decoration: none; letter-spacing: 0.04em; }
  /* 明朝体が届く前後で幅が変わっても、横の「TEL」も番号の書き出しも動かないよう、幅を先に確保して左から書く
     （実測：Shippori 7.88em・游明朝 7.07em・Noto Serif 7.56em） */
  .pc-header-tel a { display: inline-block; min-width: 7.9em; text-align: left; }
  .pc-header-hours { color: var(--ink-2); font-size: 12px; }
  .pc-header-catch, .pc-header-tel, .pc-header-hours { white-space: nowrap; }
  .pc-header-cta { flex: none; }
  .pc-header-cta .cta { container-type: normal; }
  .pc-header-cta .cta { min-height: 52px; padding: 6px 12px; gap: 8px; }
  .pc-header-cta .cta-main { font-size: 13.5px; }
  .pc-header-cta .cta-sub { font-size: 11.5px; }
  .pc-header-cta .cta-icon, .pc-header-cta .cta-icon svg { width: 22px; height: 22px; }

  .layout {
    display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start;
    max-width: var(--layout-w); margin: 0 auto; padding: 32px 24px 0;
  }
  .page { min-width: 0; --pad: 40px; }

  .side { position: static; display: block; padding: 0 0 48px; overflow: visible; background: none; }
  .is-menu-open { overflow: visible; }
  .side-title {
    margin: 24px 0 0; padding: 11px 14px;
    background: var(--ink); border-left: 4px solid var(--gold);
    color: #fff; font-size: 14px; letter-spacing: 0.12em;
  }
  .side-title-first { margin-top: 0; }
  .side-nav, .side-sym, .side-links { border: 1px solid var(--line); border-top: 0; }
  .side-nav a, .side-links a { min-height: 46px; padding: 0 14px; font-size: 14px; }
  .side-nav a:last-child, .side-links a:last-child { border-bottom: 0; }
  /* PCは全グループを開いた一覧として見せる（開閉はさせない） */
  .side-sym summary { min-height: 44px; padding: 0 14px; background: var(--bg-soft); font-size: 14px; pointer-events: none; }
  .side-sym summary::after { display: none; }
  .side-sym ul { padding: 4px 14px 10px 22px; }
  .side-sym li a { position: relative; padding: 6px 0 6px 12px; font-size: 13.5px; }
  .side-sym li a::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
  .side-sym details:last-child { border-bottom: 0; }
  .side-all { margin-top: 12px; border-top: 1px solid var(--line); }
  .side-cta { margin-top: 24px; }
  .side-cta .cta { min-height: 50px; padding: 6px 12px; }
  .side-cta .cta-icon { display: none; }
  .side-cta .cta-main { font-size: min(14.5px, calc((100cqi - 30px) / var(--len, 12.9))); }
  .side-cta .cta-sub { font-size: 11.5px; }
  .side-info { padding: 0 2px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .pc-header-inner { gap: 20px; }
  .pc-header-cta .cta-sub, .pc-header-hours { display: none; }
  .pc-header-cta .cta-pair { gap: 8px; }
}

/* ---------- FV ---------- */

.fv { padding-bottom: 56px; }
.fv-photo { position: relative; margin: 0; }
.fv-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 100% 0; }
/* 参考デザインどおり、写真の下側を白くぼかしてキャッチコピーを重ねる */
.fv-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0.9) 16%, rgba(255, 255, 255, 0.5) 28%, rgba(255, 255, 255, 0) 42%);
}
.fv-body { position: relative; z-index: 1; margin-top: -96px; padding: 0 var(--pad); }
.fv-eyebrow { color: var(--ink-2); font-size: 14px; font-weight: 700; letter-spacing: 0.1em; }
.fv-title {
  margin: 14px 0 0;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(31px, 8.6vw, 38px); line-height: 1.45; letter-spacing: 0.03em;
}
/* 見出しは必ず2行（各行12字）。画面幅から文字サイズを決める */
.fv-title { font-size: min(38px, calc((100vw - 2 * var(--pad)) / 12.5)); }
.fv-line { display: block; white-space: nowrap; }
.fv-line > span { display: inline; }
.fv-title .kw-under {
  background: linear-gradient(transparent 84%, var(--gold) 84%, var(--gold) 96%, transparent 96%);
}
.fv-message {
  margin-top: 18px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(16.5px, 4.5vw, 19px); line-height: 1.8; color: var(--ink-2);
}
.fv-message span { display: block; }
/* スマホは改行せず一続きの文章にする */
@media (max-width: 767px) {
  .fv-message span { display: inline; }
  .pc-br { display: none; }
}
.fv-rule { width: 100%; height: 1px; margin: 26px 0 0; border: 0; background: var(--gold); }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 22px;
}
.facts li {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 4px 6px; text-align: center;
  font-size: 12.5px; font-weight: 700; line-height: 1.45;
}
.facts li + li { border-left: 1px solid var(--line); }
.facts svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.facts .price-mini { align-self: stretch; font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.2; }
.facts .price-mini small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; }
.facts strong { font-size: 15px; }
.fv-note { margin-top: 14px; color: var(--ink-3); font-size: 12.5px; line-height: 1.75; }
.fv-trust { margin-top: 14px; font-size: 13.5px; font-weight: 700; line-height: 1.8; }
.fv-trust a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.fv-stars { margin-right: 4px; color: var(--gold); }
.fv-trust-sep { margin: 0 6px; color: var(--ink-3); }

@media (min-width: 768px) {
  .fv-photo img { aspect-ratio: 16 / 11; }
  .fv-body { margin-top: -170px; }
  .fv-title { font-size: 46px; }
  .fv-message { font-size: 21px; }
  .facts li { font-size: 14px; }
}
@media (min-width: 1024px) {
  /* PC：写真を面いっぱいに敷き、左に文字、下にボタン2つを横並びで重ねる（院長指定のレイアウト） */
  .fv { padding: 0 0 var(--sec); }
  .fv-grid { position: relative; min-height: 560px; overflow: hidden; }
  .fv-photo { position: absolute; top: 0; right: 0; width: 64%; aspect-ratio: 4 / 3; }
  .fv-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 100% 50%; }
  /* 文字とボタンが読めるよう、左端と下端を白くぼかす */
  .fv-photo::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.85) 8%, rgba(255, 255, 255, 0) 30%),
      linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0.8) 10%, rgba(255, 255, 255, 0) 30%);
  }
  .fv-body { position: relative; z-index: 1; margin-top: 0; padding: 36px 36px 24px; }
  .fv-body > .fv-eyebrow, .fv-title, .fv-message, .fv .facts { max-width: 470px; }
  .fv-title { margin-top: 10px; font-size: 28px; line-height: 1.5; }
  .fv-message { margin-top: 18px; font-size: 16.5px; }
  .fv-message span { display: inline; }
  .fv-message span + span::before { content: ""; display: block; }
  .fv-rule { display: none; }
  .fv .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; padding: 0; border: 0; }
  .fv .facts li { padding: 12px 6px; background: rgba(255, 255, 255, 0.94); border: 0; border-radius: 6px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); }
  .fv .facts li + li { border-left: 0; }
  .fv .cta-pair { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .fv .cta { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
  .fv-note { margin-top: 10px; color: var(--ink-2); }
}
@media (min-width: 1200px) {
  .fv-title { font-size: 34px; }
}
@media (min-width: 1280px) {
  .fv-grid { min-height: 580px; }
}

/* ---------- お悩み ---------- */

.worry-list { margin-top: 24px; border-top: 1px solid var(--line); }
.worry-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; font-weight: 500; line-height: 1.7;
}
.worry-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 2; }
/* 文中リンク（症状ページへ）：本文と同じ黒文字＋黄色の下線 */
.worry-list a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.worry-close { margin-top: 22px; font-size: 15.5px; }
.worry-close strong { background: linear-gradient(transparent 62%, var(--gold-soft) 62%); }
@media (min-width: 768px) {
  .worry-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

/* ---------- 考え方（院長決定の説明文） ---------- */

.concept-before { color: var(--ink-3); font-family: var(--serif); font-size: 17px; line-height: 1.9; }
.concept .h2 { margin-top: 33px; }
.checks { margin-top: 24px; border-top: 1px solid var(--line-strong); }
.checks li {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.6;
}
.checks b { color: var(--gold-text-lg); font-size: 24px; }
.concept-text { margin-top: 22px; }
.concept-close { margin-top: 18px; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.85; }
/* スマホ：2行ずつ2つに分けて中央揃え、間を25px空ける */
.concept-close { text-align: center; font-size: min(18px, calc((100vw - 2 * var(--pad)) / 17.4)); }
.concept-close p + p { margin-top: 25px; }
.concept-close .ln { display: block; white-space: nowrap; }
/* タブレット・PC：従来どおり左揃えで、2文をそれぞれ1行（入らなければ折り返す） */
@media (min-width: 768px) {
  .concept-close { text-align: left; }
  .concept-close p + p { margin-top: 0; }
  .concept-close .ln { display: inline; white-space: normal; }
}
.concept-close em { font-style: normal; background: linear-gradient(transparent 62%, var(--gold-soft) 62%); }
.concept-photo { margin: 32px calc(var(--pad) * -1) 0; }
.concept-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 768px) { .concept-photo { margin-inline: 0; } }
@media (min-width: 1280px) {
  .concept-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .concept-photo { margin: 0; position: sticky; top: 24px; }
  .concept-photo img { aspect-ratio: 4 / 5; }
  .checks li { font-size: 21px; }
}

/* ---------- 5つのプロセス ---------- */

/* 参考デザインどおり、写真を右に敷いて左側を白くぼかし、文字を写真の上に重ねる */
.steps { display: grid; gap: 12px; margin-top: 28px; }
.step {
  position: relative; overflow: hidden;
  min-height: 250px; padding: 24px 18px;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.step-head { display: block; }
.step-copy, .step-text { position: relative; z-index: 1; max-width: 60%; }
.step-num { display: block; color: var(--gold-text-lg); font-family: var(--serif); font-size: 44px; font-weight: 700; line-height: 1; }
/* 見出しを行ごとに固定したもの（05） */
.step h3 .ln { display: block; white-space: nowrap; }
.step h3 {
  margin: 8px 0 0;
  font-family: var(--serif); font-size: clamp(16px, 4.9vw, 19px); font-weight: 700; line-height: 1.5; letter-spacing: 0.02em;
}
.step-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; margin: 0; }
.step-photo picture { display: block; height: 100%; }
/* スマホは縦長写真（process-0N-sp.jpg）に切り替わる */
.step-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.step-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.92) 18%, rgba(255, 255, 255, 0.35) 48%, rgba(255, 255, 255, 0) 70%);
}
/* スマホ：縦長写真を右に寄せ、ぼかしを浅くして人物をはっきり見せる（PCの01〜05と同じ考え方） */
@media (max-width: 767px) {
  .step-copy, .step-text { max-width: 57%; }
  .step-photo { width: 60%; }
  .step-photo::after {
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.8) 8%, rgba(255, 255, 255, 0.25) 20%, rgba(255, 255, 255, 0) 32%);
  }
}
.step-text { margin-top: 10px; color: var(--ink-2); font-size: 12.5px; line-height: 1.75; }
/* スマホ：見出しは写真の上に重ねたまま、説明文は写真の下に全幅で置いて読みやすくする */
@media (max-width: 767px) {
  .step { min-height: 0; padding: 0; }
  .step-head { position: relative; min-height: 200px; padding: 24px 18px; }
  .step-text { max-width: none; margin: 0; padding: 16px 18px 20px; font-size: 15px; line-height: 1.8; }
}
@media (min-width: 768px) {
  .step { min-height: 280px; padding: 32px 36px; }
  .step-copy, .step-text { max-width: 52%; }
  .step-photo { width: 62%; }
  .step h3 { font-size: 22px; }
  .step-num { font-size: 54px; }
  .step-text { font-size: 14px; }
}
@media (min-width: 1024px) {
  .steps { gap: 16px; }
  /* PC：写真の枠をカード幅の64%×横4：縦3にして、写真（4:3）が切れずに収まる高さにする */
  .step { min-height: 0; aspect-ratio: 100 / 48; padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
  .step-copy, .step-text { max-width: 46%; }
  .step-photo { width: 64%; }
  .step-photo img { object-position: 50% 50%; }
  /* 01〜05：人物がぼかしに溶けないよう、写真を右へ寄せてぼかしを浅くする */
  .step .step-photo { width: 58%; }
  .step .step-photo img { object-position: 30% 50%; }
  .step .step-photo::after {
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.8) 6%, rgba(255, 255, 255, 0.25) 16%, rgba(255, 255, 255, 0) 26%);
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .step { padding: 24px 28px; }
  .step-copy, .step-text { max-width: 47%; }
  .step .step-photo { width: 54%; }
  .step-num { font-size: 46px; }
  .step h3 { font-size: 19px; }
  .step-text { font-size: 13px; line-height: 1.75; }
}
.section-cta { margin-top: 40px; }
.section-cta-lead { margin-bottom: 14px; font-size: 14.5px; font-weight: 700; text-align: center; }

/* ---------- 施術と運動の選び方 ---------- */

.mix { margin-top: 28px; display: grid; gap: 14px; }
/* スマホは写真を上に横長のまま置き、文字を下に並べる（写真が切れないように） */
.mix-item {
  display: grid; grid-template-columns: 1fr; gap: 14px;
  padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.mix-photo { margin: 0; }
.mix-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mix-body { padding: 0 4px; }
.mix-item h3 { margin: 2px 0 0; font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.45; }
.tag {
  display: inline-block; margin-top: 8px; padding: 1px 8px; font-size: 12px !important;
  background: var(--gold); color: var(--ink); border-radius: 2px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
}
/* チェックリストは必ず1行（最長19字が入るよう、画面幅に合わせて文字を小さくする） */
.checklist { margin-top: 10px; }
.checklist li {
  position: relative; padding-left: 20px; white-space: nowrap;
  font-size: min(15px, calc((100vw - 92px) / 19.8)); line-height: 1.7; letter-spacing: 0.02em;
}
.checklist li + li { margin-top: 4px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em;
  width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.mix-note { margin-top: 20px; font-size: 14.5px; }
.mix-note strong { background: linear-gradient(transparent 62%, var(--gold-soft) 62%); }
/* タブレット・PCは「左に写真・右に文字」の横並び。写真は横長の比率を保つ */
@media (min-width: 768px) {
  .mix-item { grid-template-columns: 40% minmax(0, 1fr); gap: 24px; align-items: center; padding: 16px; }
  .mix-body { padding: 0; }
  .mix-item h3 { font-size: 21px; }
  .checklist li { font-size: 14.5px; }
}

/* ---------- 選ばれる理由 ---------- */

.reasons { margin-top: 24px; border-top: 1px solid var(--line); }
.reason {
  display: grid; grid-template-columns: 30px 40px minmax(0, 1fr); gap: 0 10px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.reason-num { color: var(--gold-text); font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.5; }
.reason svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.reason h3 { margin: 2px 0 0; font-size: 16.5px; font-weight: 700; line-height: 1.55; }
.reason p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
@media (min-width: 1024px) {
  .reasons { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .reason h3 { font-size: 18px; }
}

/* ---------- 初回の流れ ---------- */

.total-time {
  display: inline-flex; align-items: baseline; gap: 12px; margin-top: 18px;
  padding: 8px 16px; border: 1px solid var(--gold); border-radius: var(--radius);
  font-size: 14px; font-weight: 700;
}
.total-time b { font-family: var(--serif); font-size: 24px; color: var(--gold-text-lg); }
.flow { margin-top: 28px; position: relative; }
.flow li { position: relative; padding: 0 0 26px 44px; }
.flow li::before {
  content: counter(flow); counter-increment: flow;
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 30px; height: 30px;
  border: 1.5px solid var(--gold); border-radius: 50%; background: #fff;
  font-family: var(--serif); font-size: 14px; font-weight: 700;
}
.flow { counter-reset: flow; }
.flow li::after { content: ""; position: absolute; left: 15px; top: 32px; bottom: 2px; width: 1px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow li:last-child { padding-bottom: 0; }
.flow h3 { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.8; }
.flow h3 span { margin-left: 8px; color: var(--gold-text); font-size: 13.5px; }
/* スマホ：見出しは1行（最長15字が入る大きさに）、時間はその下の行に */
@media (max-width: 767px) {
  .flow h3 { white-space: nowrap; font-size: min(16.5px, calc((100vw - 2 * var(--pad) - 44px) / 15.8)); }
  .flow h3 span { display: block; margin-left: -0.5em; line-height: 1.6; }
  .flow h3 span::before { content: "（"; }
  .flow h3 span::after { content: "）"; }
}
.flow p { margin-top: 4px; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }
.flow-note { margin-top: 24px; padding: 12px 14px; background: var(--bg-soft); font-size: 14px; }


/* ---------- 料金（トップ） ---------- */

.price-cards { margin-top: 26px; display: grid; gap: 14px; }
.price-card {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center;
  padding: 18px 16px; border: 1px solid var(--gold); border-radius: var(--radius); background: #fff;
}
.price-card.is-second { border-color: var(--line); }
.badge {
  display: grid; place-items: center; width: 72px; height: 72px;
  border-radius: 50%; background: var(--gold); color: var(--ink);
  font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center;
}
.is-second .badge { background: var(--bg-soft); border: 1px solid var(--gold); font-size: 12.5px; }
.price-cond { color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 2px; }
.price-time { font-size: 15px; font-weight: 700; }
.price-was { color: var(--ink-3); font-size: 14px; text-decoration: line-through; text-decoration-thickness: 1px; }
.price-arrow { color: var(--ink-3); font-size: 13px; }
.price-now { color: var(--gold-text-lg); font-family: var(--serif); font-size: 36px; font-weight: 700; line-height: 1.15; }
.price-now small { margin-left: 2px; color: var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 700; }
/* 明朝体が届く前後で数字の幅が変わっても、数字の書き出しも後ろの「円」も動かないよう幅を先に確保する
   （実測：Shippori 2.74〜2.79em・游明朝 2.43〜2.45em・Noto Serif 2.78〜2.80em） */
.price-num { display: inline-block; min-width: 2.82em; text-align: left; }
.is-second .price-now { font-size: 30px; }
.price-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.price-points li {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 13px; font-weight: 700; background: #fff;
}
.price-more { margin-top: 22px; }
@media (min-width: 768px) {
  .price-cards { grid-template-columns: 1fr 1fr; }
  .price-now { font-size: 40px; }
}

/* ---------- LINE相談 ---------- */

.consult {
  display: grid; gap: 18px; padding: 26px 20px;
  border: 1px solid var(--line); border-left: 3px solid var(--line-green); background: #fff;
}
.consult h2 { margin: 0; font-family: var(--serif); font-size: clamp(17px, 5.3vw, 21px); font-weight: 700; line-height: 1.5; }
.consult p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; }
@media (min-width: 768px) {
  .consult { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; padding: 32px; gap: 32px; }
}
/* PC幅1024〜1279pxは本文の列が狭いので、ボタンを文章の下に置く */
@media (min-width: 1024px) and (max-width: 1279px) {
  .consult { grid-template-columns: 1fr; }
}

/* ---------- 口コミ ---------- */

/* 口コミの抜粋（本文に載せて、検索エンジン・AIにも読めるようにする） */
.reviews { display: grid; gap: 14px; margin-top: 24px; }
.review { padding: 20px 18px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.review-stars { color: var(--gold); font-size: 15px; letter-spacing: 0.1em; }
.review-topic { padding: 1px 10px; background: var(--bg-soft); color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.review-text { margin: 10px 0 0; }
.review-text p { font-size: 14.5px; line-height: 1.9; }
.review-gap { margin: 0 0.2em; color: var(--ink-3); }
.review-by { margin-top: 10px; color: var(--ink-3); font-size: 12.5px; }
.voice-sub { margin-top: 32px; font-size: 15px; font-weight: 700; }

/* ---------- 整体Re.Lifeについて（アクセス欄の折りたたみの中。院の説明文） ---------- */
.routes .about-text { padding: 0 0 18px; max-width: 46em; color: var(--ink-2); font-size: 14.5px; line-height: 1.95; }
.access-more { margin-top: 20px; }
@media (min-width: 768px) { .access-more { max-width: 360px; } }

/* ---------- スマホ・タブレット：画面下の予約ボタン（ファーストビューを過ぎたら出す。script.js） ---------- */
/* ---------- 「確かめる」流れの図（インラインSVG。_build/pages.py の flow_figure） ---------- */
.flowfig { margin: 28px 0 0; padding: 20px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.flowfig svg { display: block; width: 100%; height: auto; max-width: 330px; margin: 0 auto; overflow: visible; }
.flowfig .flowfig-h { display: none; }
.flowfig .flowfig-v { max-width: 360px; }
.flowfig .flowfig-v .ff-num { font-size: 16px; }
.flowfig .flowfig-v .ff-label { font-size: 11.5px; }
.flowfig .flowfig-v .ff-note { font-size: 10.5px; }
.flowfig .flowfig-v .ff-ring { stroke-width: 2; }
@media (min-width: 768px) {
  .flowfig { padding: 26px 24px 18px; }
  .flowfig .flowfig-v { display: none; }
  .flowfig .flowfig-h { display: block; max-width: 900px; }
}
.flowfig figcaption { margin-top: 14px; color: var(--ink-2); font-size: 13.5px; line-height: 1.8; }
.flowfig .ff-ring { fill: #fff; stroke: var(--gold); stroke-width: 2.5; }
.flowfig .ff-opt { stroke: var(--ink-3); stroke-dasharray: 5 4; stroke-width: 1.6; }
.flowfig .ff-num { fill: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 700; }
.flowfig .ff-label { fill: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 700; }
.flowfig .ff-note { fill: var(--ink-3); font-family: var(--sans); font-size: 13px; font-weight: 700; }
.flowfig .ff-arrow { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.flowfig .ff-loop { stroke: var(--ink-3); stroke-dasharray: 4 4; }
.flowfig .ff-head { fill: none; stroke: var(--ink); stroke-width: 1.6; }

/* ブログ：この記事に関係するお悩み */
.post-related { margin-top: 44px; }
.post-related h2 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 700; }

.sticky-cta { display: none; }
@media (max-width: 1023px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .sticky-cta.is-shown { transform: none; visibility: visible; transition: transform 0.25s ease; }
  .is-menu-open .sticky-cta { visibility: hidden; }
}
@media (max-width: 1023px) and (prefers-reduced-motion: reduce) { .sticky-cta, .sticky-cta.is-shown { transition: none; } }
.sticky-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 4px 8px; border-radius: var(--radius);
  color: #fff; font-weight: 700; text-decoration: none; container-type: inline-size;
}
.sticky-hpb { background: var(--hpb); }
.sticky-line { background: var(--line-green); }
/* 文言は必ず1行。ボタンの幅と文言の長さ（--len＝全角換算の字数）から文字サイズを決める */
.sticky-label { white-space: nowrap; font-size: min(15px, calc(100cqi / var(--len, 10))); letter-spacing: 0.02em; }
@media (min-width: 768px) { .reviews { grid-template-columns: 1fr 1fr; } }
.voice-widget { margin-top: 12px; }
.voice-widget iframe { display: block; width: 100%; min-height: 560px; border: 0; }
.voice-more { margin-top: 16px; }

/* ---------- 院長紹介 ---------- */

.staff { display: grid; gap: 24px; margin-top: 24px; }
.staff-photo { margin: 0; }
.staff-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.staff-role { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.staff-text .staff-name { margin: 2px 0 0; font-family: var(--serif); font-size: 28px; font-weight: 700; letter-spacing: 0.1em; }
.staff-text p { margin-top: 14px; font-size: 15.5px; }
.staff-facts { margin-top: 20px; border-top: 1px solid var(--line-strong); }
.staff-facts div {
  display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.staff-facts dt { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.staff-facts dd { margin: 0; }
.staff-more { margin-top: 20px; }
@media (min-width: 768px) { .staff-more { max-width: 360px; } }
/* /staff/ の経歴（年号なしの縦の年表） */
.career { margin-top: 26px; }
.career li { position: relative; padding: 0 0 24px 30px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.career li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.career li::after { content: ""; position: absolute; left: 8.5px; top: 1.5em; bottom: 2px; width: 1px; background: var(--line-strong); }
.career li:last-child { padding-bottom: 0; }
.career li:last-child::after { display: none; }
.career small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; font-weight: 500; }
.staff-message { margin-top: 18px; max-width: 46em; }
.staff-message p + p { margin-top: 14px; }
.staff-facts b { color: var(--gold-text-lg); font-family: var(--serif); font-size: 19px; }
@media (min-width: 768px) {
  .staff { grid-template-columns: 40% minmax(0, 1fr); gap: 40px; align-items: start; }
}

/* ---------- 院内 ---------- */

/* 院内の様子：横スワイプ／ボタンで切り替えるスライドショー */
.slider { margin: 24px calc(var(--pad) * -1) 0; }
.slider-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slide figcaption { padding: 10px var(--pad) 0; color: var(--ink-2); font-size: 13.5px; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; }
.slider-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer;
}
.slider-btn::before {
  content: ""; width: 8px; height: 8px;
  border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink);
}
.slider-prev::before { transform: translateX(2px) rotate(-135deg); }
.slider-next::before { transform: translateX(-2px) rotate(45deg); }
.slider-dots { display: flex; gap: 4px; }
.slider-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.slider-dot::before { content: ""; display: block; width: 8px; height: 8px; margin: auto; border-radius: 50%; background: var(--line); }
.slider-dot[aria-current="true"]::before { background: var(--gold); }
@media (min-width: 768px) {
  .slider { margin-inline: 0; }
  .slide figcaption { padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) { .slider-track { scroll-behavior: auto; } }
.room-text { margin-top: 18px; font-size: 15.5px; }

/* ---------- アクセス ---------- */

.access { display: grid; gap: 22px; margin-top: 24px; }
.access-photo { margin: 0; }
.access-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.access-name { font-family: var(--serif); font-size: 19px; font-weight: 700; }
/* 院を一文で説明する段落（検索・AIがそのまま引用できるように本文に置く） */
.access-about { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.access-dl { margin-top: 10px; border-top: 1px solid var(--line); }
.access-dl div {
  display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.7;
}
.access-dl dt { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.access-dl dd { margin: 0; }
.access-dl a { display: inline-block; padding: 8px 0; margin: -8px 0; font-weight: 700; }
.stairs {
  margin-top: 14px; padding: 12px 14px;
  background: var(--caution-bg); border-left: 3px solid var(--caution-line);
  font-size: 14px; line-height: 1.75;
}
.routes { margin-top: 24px; border-top: 1px solid var(--line); }
.routes details { border-bottom: 1px solid var(--line); }
.routes summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 700;
}
.routes summary::-webkit-details-marker { display: none; }
.routes summary::after, .faq summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: 0 6px 0 12px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform 0.2s ease;
}
.routes details[open] summary::after, .faq details[open] summary::after { transform: rotate(-135deg); }
.route-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 4px 0 18px; }
.route-list img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.route-list figure { margin: 0; }
.route-list figcaption { display: flex; gap: 6px; margin-top: 6px; font-size: 12.5px; line-height: 1.6; }
.rn {
  flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700;
}
.route-after { padding-bottom: 18px; font-size: 14px; }
.map-link { margin-top: 16px; }
@media (min-width: 768px) {
  .access { grid-template-columns: 42% minmax(0, 1fr); gap: 32px; align-items: start; }
  .route-list { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- ブログ ---------- */

.posts { margin-top: 22px; border-top: 1px solid var(--line); }
.posts a {
  display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 12px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.posts a::after {
  content: ""; width: 7px; height: 7px;
  border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg);
}
.posts time { display: block; color: var(--gold-text); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; }
.posts span { display: block; margin-top: 2px; font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.posts a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.posts-more { margin-top: 20px; }

/* ---------- FAQ ---------- */

.faq { margin-top: 24px; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 12px 0; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 700; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { margin-left: auto; }
.faq-q { flex: none; color: var(--gold-text-lg); font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1; }
.faq-a { padding: 0 0 18px 31px; color: var(--ink-2); font-size: 15px; }
.faq-a p + p { margin-top: 10px; }
.faq-medical .faq-a { margin-bottom: 16px; padding: 14px; background: var(--caution-bg); border-left: 3px solid var(--caution-line); color: var(--ink); }

/* ---------- 最後の予約 ---------- */

.final { background: var(--bg-soft); }
.final .h2 { text-align: left; }
.final-text { margin-top: 16px; font-size: 15.5px; }
.final-box { margin-top: 26px; padding: 22px 18px; background: #fff; border-top: 3px solid var(--gold); }
.final-price { font-size: 15px; font-weight: 700; }
.final-price b { margin: 0 4px; color: var(--gold-text-lg); font-family: var(--serif); font-size: 38px; }
.final-box .cta-pair { margin-top: 16px; }
.final-tel { margin-top: 14px; font-size: 14px; }
.final-tel a { display: inline-block; padding: 8px 0; margin: -8px 0; font-weight: 700; }
@media (min-width: 1024px) {
  .final-grid { display: block; }
  .final-box { max-width: 520px; margin-top: 28px; }
  .final-box { padding: 28px; }
}

/* ---------- フッター ---------- */

.footer { padding: 44px 0 28px; border-top: 1px solid var(--line); }
.footer-logo img { width: 170px; height: auto; }
.footer-addr { margin-top: 12px; color: var(--ink-2); font-size: 13px; line-height: 1.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 18px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.copyright { margin-top: 18px; color: var(--ink-3); font-size: 12px; }

/* ---------- 料金ページ ---------- */

.page-head { padding-top: 40px; padding-bottom: 8px; }
.page-title { margin: 0; font-family: var(--serif); font-size: clamp(28px, 7.4vw, 34px); font-weight: 700; line-height: 1.45; letter-spacing: 0.04em; }
.page-lead { margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.breadcrumb { font-size: 12.5px; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); }
.table { width: 100%; margin-top: 18px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table caption { text-align: left; font-size: 14px; font-weight: 700; padding-bottom: 8px; }
.table th, .table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; line-height: 1.55; vertical-align: top; }
.table thead th { padding-top: 0; border-bottom: 1.5px solid var(--line-strong); color: var(--ink-3); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table .num { text-align: right; white-space: nowrap; }
.table .strong { color: var(--gold-text); font-family: var(--serif); font-size: 18px; font-weight: 700; }
.table tbody th { font-weight: 700; }
.table small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.table-scroll-note { display: none; }
.h3 { margin: 40px 0 0; font-family: var(--serif); font-size: 21px; font-weight: 700; line-height: 1.5; }
.h3 + p, .h3 + ul { margin-top: 12px; }
.body-text { margin-top: 12px; font-size: 15px; }
.points { margin-top: 16px; border-top: 1px solid var(--line); }
.points li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.points li::before {
  content: ""; position: absolute; left: 4px; top: 1.15em;
  width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.points strong { display: block; }
.points span { color: var(--ink-2); font-size: 14px; }
.compare { margin-top: 16px; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.compare div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.compare dt { font-size: 15px; font-weight: 700; line-height: 1.5; }
.compare dt small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.compare dd { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 700; white-space: nowrap; }
.compare dd small { font-family: var(--sans); font-size: 12px; font-weight: 500; }
.compare .is-first dd { color: var(--gold-text-lg); }
.compare .is-first dd small { color: var(--gold-text); }  /* 12px の「円」は小さい文字用の色（4.5:1） */
.freq { margin-top: 16px; display: grid; gap: 0; }
.freq li { position: relative; padding: 8px 0 8px 22px; border-left: 2px solid var(--line); margin-left: 5px; }
.freq li::before { content: ""; position: absolute; left: -7px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.freq span { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 700; }
.freq b { font-size: 16px; }
@media (min-width: 560px) {
  .freq { grid-template-columns: repeat(3, 1fr); }
  .freq li { border-left: 0; border-top: 2px solid var(--line); margin: 6px 0 0; padding: 18px 8px 0 0; }
  .freq li::before { left: 0; top: -7px; }
}
.price-page .table-wrap { margin-top: 8px; }
.plan-table th, .plan-table td { font-size: 13.5px; padding: 11px 5px; }
.plan-table .num { font-size: 14px; }
.plan-table small { word-break: keep-all; }
@media (min-width: 768px) {
  .plan-table th, .plan-table td { font-size: 15px; padding: 12px 10px; }
}

/* =========================================================
   下層ページ（症状別・ブログ・お悩み一覧・法務）
   ========================================================= */

.sec-tight { padding-top: 24px; }
.side-sym li a[aria-current="page"] { color: var(--gold-text); font-weight: 700; }
.breadcrumb span[aria-current] { color: var(--ink-3); }

/* 症状別：見出し下の料金とボタン */
.sub-head .page-title { font-size: clamp(26px, 7vw, 34px); }
/* 下層の見出しは元原稿の長さがまちまちなので、単語単位で折り返さず通常の禁則で折り返す */
.sub h1, .sub h2, .sub h3, .sub .faq-q-text, .sub .habit-q { word-break: normal; overflow-wrap: anywhere; text-wrap: pretty; }
.page-title .kw-under {
  background: linear-gradient(transparent 68%, rgba(252, 192, 10, 0.5) 68%, rgba(252, 192, 10, 0.5) 92%, transparent 92%);
}
.sub-offer { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.sub-offer-price { margin-bottom: 12px; font-size: 14.5px; font-weight: 700; }
.sub-offer-price s { color: var(--ink-3); font-weight: 500; }
.sub-offer-price b { margin: 0 2px 0 6px; color: var(--gold-text-lg); font-family: var(--serif); font-size: 30px; line-height: 1; }
/* 明朝体が届く前後で幅が変わっても、数字の書き出しも後ろの「円（税込）」も動かないよう幅を先に確保する
   （実測：Shippori 2.81em・游明朝 2.45em・Noto Serif 2.88em） */
.sub-offer-price b { display: inline-block; min-width: 2.9em; text-align: left; }
.sub-offer-price small { font-size: 12px; font-weight: 500; }

/* 日常の癖（開閉） */
.habits { margin-top: 24px; border-top: 1px solid var(--line-strong); }
.habits details { border-bottom: 1px solid var(--line); }
.habits summary {
  display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 12px 0; cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 700; line-height: 1.6;
}
.habits summary::-webkit-details-marker { display: none; }
.habits summary::after {
  content: ""; flex: none; width: 8px; height: 8px; margin: 0 6px 4px auto;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform 0.2s ease;
}
.habits details[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.habit-n { flex: none; width: 28px; color: var(--gold-text); font-family: var(--serif); font-size: 18px; line-height: 1; }
.habit-q { word-break: keep-all; overflow-wrap: anywhere; }
.habit-a { padding: 0 0 20px 42px; color: var(--ink-2); font-size: 14.5px; line-height: 1.95; }
.habit-a p + p { margin-top: 10px; }
.habit-tag { color: var(--gold-text); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.habit-sum { padding: 10px 12px; background: var(--bg-soft); border-left: 3px solid var(--gold); color: var(--ink); font-weight: 700; }
@media (max-width: 480px) { .habit-a { padding-left: 0; } }

/* 番号つきの項目（タイプ・視点） */
.numlist { margin-top: 24px; border-top: 1px solid var(--line-strong); }
.numlist li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.numlist-n { color: var(--gold-text-lg); font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.3; }
.numlist h3 { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.numlist p { margin-top: 6px; color: var(--ink-2); font-size: 14.5px; }

/* 整体とピラティスの2枚 */
.duo { display: grid; gap: 14px; margin-top: 24px; }
.duo li { padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.duo-num { color: var(--gold-text-lg); font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1; }
.duo-num span { margin-left: 10px; color: var(--ink); font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em; }
.duo h3 { margin: 12px 0 0; font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.55; word-break: keep-all; }
.duo p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; }
@media (min-width: 768px) { .duo { grid-template-columns: 1fr 1fr; gap: 20px; } .duo li { padding: 28px; } }

/* 数字で見る */
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; border-top: 1px solid var(--line-strong); }
.stats li { display: flex; flex-direction: column; align-items: center; padding: 18px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.stats li:nth-child(odd) { border-right: 1px solid var(--line); }
.stats b { color: var(--gold-text-lg); font-family: var(--serif); font-size: 30px; line-height: 1.2; }
.stats span { margin-top: 4px; color: var(--ink-2); font-size: 13px; font-weight: 700; }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats li:nth-child(odd) { border-right: 0; }
  .stats li + li { border-left: 1px solid var(--line); }
}

/* お客様の声（引用） */
.quote { margin: 24px 0 0; padding: 22px 20px; background: #fff; border-left: 3px solid var(--gold); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.8; }
.quote figcaption { margin-top: 10px; color: var(--ink-3); font-size: 12.5px; }
.quote-more { margin-top: 14px; font-size: 14px; }
.quote-more a { color: var(--ink); font-weight: 700; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* 同じ部位のほかのお悩み／お悩み一覧 */
#more { border-top: 1px solid var(--line); }
.sym-links { display: grid; grid-template-columns: 1fr; margin-top: 18px; border-top: 1px solid var(--line); }
.sym-links-label { margin-top: 24px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.sym-links-label + .sym-links { margin-top: 10px; }
/* 症状ページの院の独自データ（問診票の集計）：本文と同じ扱いで1文だけ */
.sym-data { margin-top: 22px; font-size: 15px; line-height: 1.9; }
.sym-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 10px 2px; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 700; text-decoration: none;
}
.sym-links a::after {
  content: ""; flex: none; width: 7px; height: 7px;
  border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg);
}
.sym-links a:hover { color: var(--gold-text); }
@media (min-width: 768px) { .sym-links { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.sym-all { margin-top: 24px; }
.sym-group + .sym-group { margin-top: 12px; }
.sym-group .h3 { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.sym-group .h3::before { content: ""; width: 4px; height: 1.1em; background: var(--gold); }
@media (min-width: 768px) { .sym-all { max-width: 360px; } }

/* ブログ一覧 */
.post-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.post-filter button {
  min-height: 40px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.post-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-list { border-top: 1px solid var(--line-strong); }
.post-list > li { border-bottom: 1px solid var(--line); }
.post-list a { display: block; padding: 20px 0; text-decoration: none; }
.post-list h2 { margin: 6px 0 0; font-size: 16.5px; font-weight: 700; line-height: 1.65; }
.post-list a:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.post-list-excerpt {
  margin-top: 6px; color: var(--ink-2); font-size: 14px; line-height: 1.8;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--ink-3); font-size: 12.5px; font-weight: 700; }
.post-cat { padding: 2px 10px; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-text); font-size: 12px; }
.post-list h2, .post-title { word-break: normal; }

/* ブログ記事 */
.post-wrap { max-width: calc(760px + var(--pad) * 2); }
.post-head .post-meta { margin-top: 20px; }
.post-title { margin: 12px 0 0; font-family: var(--serif); font-size: clamp(22px, 6vw, 30px); font-weight: 700; line-height: 1.6; letter-spacing: 0.03em; }
.post-byline { margin-top: 12px; color: var(--ink-3); font-size: 12.5px; line-height: 1.7; }
.post-summary { margin-top: 28px; padding: 18px 18px 16px; background: var(--gold-soft); border-top: 3px solid var(--gold); }
.post-summary-label { font-family: var(--serif); font-size: 16px; font-weight: 700; }
.post-summary ul { margin-top: 8px; }
.post-summary li { position: relative; padding: 6px 0 6px 22px; font-size: 14.5px; line-height: 1.8; }
.post-summary li::before {
  content: ""; position: absolute; left: 2px; top: 1em;
  width: 10px; height: 6px; border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg);
}
.post-toc { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line); }
.post-toc-label { color: var(--gold-text); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; }
.post-toc ol { margin-top: 6px; counter-reset: toc; }
.post-toc li { counter-increment: toc; display: grid; grid-template-columns: 26px minmax(0, 1fr); padding: 4px 0; font-size: 14px; line-height: 1.7; }
.post-toc li::before { content: counter(toc, decimal-leading-zero); padding-top: 1px; color: var(--gold-text); font-size: 12.5px; font-weight: 700; }
.post-toc a { color: var(--ink); text-decoration: none; }
.post-toc a:hover { text-decoration: underline; }
.post-refs { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.post-refs h2 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 700; }
.post-refs ol { margin-top: 10px; padding-left: 1.4em; list-style: decimal; }
.post-refs li { padding: 6px 0; font-size: 13.5px; line-height: 1.7; }
.post-refs li span { display: block; color: var(--ink-3); font-size: 12.5px; }
.post-note { margin-top: 24px; padding: 14px 16px; background: var(--bg-soft); color: var(--ink-2); font-size: 12.5px; line-height: 1.8; }
.post-back { margin-top: 28px; }
@media (min-width: 768px) { .post-back { max-width: 320px; } }

/* 記事本文・法務ページの文章 */
.prose { margin-top: 12px; font-size: 16px; line-height: 2; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin: 2.4em 0 0; padding-top: 18px; border-top: 1px solid var(--line-strong);
  font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.55; letter-spacing: 0.03em;
  scroll-margin-top: 72px;
}
.prose h2::before { content: ""; display: block; width: 28px; height: 3px; margin: -21px 0 18px; background: var(--gold); }
.prose h3 { margin: 1.8em 0 0; padding-left: 12px; border-left: 3px solid var(--gold); font-size: 17.5px; font-weight: 700; line-height: 1.65; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose b, .prose strong { font-weight: 700; background: linear-gradient(transparent 70%, rgba(252, 192, 10, 0.35) 70%); }
.prose a { color: var(--ink); font-weight: 700; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--gold-text); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); color: var(--ink-2); }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.prose th, .prose td { min-width: 6em; padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { border-bottom: 1.5px solid var(--line-strong); color: var(--ink-3); font-size: 12.5px; }
.prose .faq { margin-top: 12px; }
.prose .faq summary { font-size: 15.5px; }
.prose .faq-a { font-size: 15px; line-height: 1.9; }
@media (min-width: 768px) { .prose h2 { font-size: 25px; } }

/* 法務ページ */
.legal { font-size: 15px; line-height: 1.95; }
.legal > * { max-width: 760px; }
.legal h2 { font-size: 19px; }
.legal .lp-note { color: var(--ink-2); font-size: 13.5px; }
.legal .lp-box { padding: 16px 18px; background: var(--bg-soft); }
.legal .lp-box ul { margin: 0; }
.legal .lp-table { display: table; font-size: 14px; }
.legal .lp-table th { width: 34%; min-width: 7em; padding-left: 0; color: var(--ink); font-weight: 700; }
@media (max-width: 560px) {
  .legal .lp-table, .legal .lp-table tbody, .legal .lp-table tr, .legal .lp-table th, .legal .lp-table td { display: block; width: auto; }
  .legal .lp-table th { padding: 12px 0 0; border-bottom: 0; }
  .legal .lp-table td { padding: 2px 0 12px; }
}

/* アクセスページ：道順の写真は開いた状態で大きめに */
.route-open { margin-top: 20px; gap: 22px 16px; }
.route-open figcaption { font-size: 14px; }
@media (min-width: 768px) { .route-open { grid-template-columns: repeat(2, 1fr); } }

/* 月額プランのお申し込み */
.sub-plans { display: grid; gap: 14px; }
.sub-plan { padding: 20px 18px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: #fff; }
.sub-plan-name { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 700; }
.sub-plan-price { margin-top: 6px; font-size: 14px; font-weight: 700; }
.sub-plan-price b { margin-right: 2px; color: var(--gold-text-lg); font-family: var(--serif); font-size: 30px; }
.sub-plan-price small { font-size: 12px; font-weight: 500; }
.sub-plan-desc { margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.sub-plan .btn-outline { margin-top: 14px; }
@media (min-width: 768px) { .sub-plans { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
