@charset "utf-8";
/* ==========================================================================
   博多インプラント・口腔外科クリニック — 共通スタイル
   デザイントークンは 08_design/design-spec.md の実測値に準拠
   ========================================================================== */

/* ===== 1. デザイントークン ===== */
:root {
  /* color */
  --navy: #001530;
  --navy-2: #0a2547;
  --navy-3: #061e3d;
  --ink: #0a1f3d;
  --ink-2: #3b4757;
  --ink-3: #6b7684;
  --gold: #917642;
  --gold-mid: #a2854a;
  --gold-dark: #8a6e3b;
  --gold-light: #cabaa0;
  --gold-ink: #7c6436; /* 明るい地の上に置く小さめの金文字(コントラスト確保用) */
  --gold-pale: #efe7d8;
  --bg: #fefefe;
  --bg-off: #f6f6f6;
  --bg-blue: #f2f6fa;
  --cream: #f8f3ea;
  --line: #dadcdd;
  --line-2: #eeeff2;
  --line-warm: #e7e1d5;

  /* type */
  --f-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-gothic: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;

  /* layout */
  --container: 1180px;
  --header-h: 82px;
  --header-h-sm: 64px;
  --r: 4px;
  --sec-pad: 60px;
}

/* ===== 2. リセット / ベース ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-sm) + 16px); }
body {
  margin: 0;
  font-family: var(--f-gothic);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  overflow-wrap: anywhere;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; border: 0; vertical-align: middle; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid #2f6fd0; outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.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: 8px; top: -60px; z-index: 999;
  background: #fff; color: var(--navy); padding: 10px 18px; border-radius: var(--r);
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ===== 3. 見出し・共通パーツ ===== */
.sec { padding-block: var(--sec-pad); position: relative; }
.sec--off { background: var(--bg-off); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--tight { padding-block: 46px; }

.sec-title {
  font-family: var(--f-mincho);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--ink);
  text-align: center;
}
.sec-title + .sec-lead { margin-top: 16px; }
.sec-lead {
  max-width: 800px; margin-inline: auto; text-align: center;
  font-size: 15px; color: var(--ink-2);
}
.sec-head { margin-bottom: 30px; }

.note {
  font-size: 12.5px; line-height: 1.85; color: var(--ink-3);
}
.note + .note { margin-top: 4px; }
.note-block { margin-top: 22px; }

.link-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14.5px; font-weight: 500; color: var(--gold-ink);
  text-decoration: none; border-bottom: 1px solid rgba(124, 100, 54, .38);
  padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.link-more::after { content: "›"; font-size: 16px; line-height: 1; transform: translateY(-1px); }
.link-more:hover { color: var(--navy); border-color: var(--navy); }
.sec--navy .link-more { color: var(--gold-light); border-color: rgba(202, 186, 160, .5); }
.sec--navy .link-more:hover { color: #fff; border-color: #fff; }
.link-center { text-align: center; margin-top: 30px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 28px; border-radius: var(--r);
  font-size: 15.5px; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; text-align: center;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn--primary { background: var(--navy); color: #fff; border: 1px solid var(--navy); box-shadow: inset 0 0 0 1px rgba(202, 186, 160, .22); }
.btn--primary:hover { background: #052a54; }
.btn--outline { background: #fff; color: var(--navy); border: 1px solid var(--gold-light); }
.btn--outline:hover { background: var(--cream); border-color: var(--gold); }
.btn--gold { background: linear-gradient(100deg, var(--gold-mid), var(--gold-dark)); color: #fff; border: 1px solid var(--gold-dark); }
.btn--gold:hover { filter: brightness(1.07); }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border: 1px solid rgba(202, 186, 160, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--wide { width: 100%; max-width: 380px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }
.btn-row--center { justify-content: center; }

/* カード共通 */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 22px;
}
/* グリッド内の子要素は縮小可能にする(表やiframeで横あふれさせない) */
.grid > *, .icon-cards > *, .link-cards > *, .flow-grid > *, .access-grid > *,
.doctor-faq-inner > *, .tool-grid > *, .split > * { min-width: 0; }
.grid { display: grid; gap: 18px; }

/* 2カラム分割ユーティリティ(下層ページ用) */
.split { display: grid; gap: 30px; align-items: start; }
.split--photo { grid-template-columns: 280px 1fr; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--text { grid-template-columns: 1.1fr 1fr; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.ico { display: block; width: 46px; height: 46px; color: var(--navy); flex: none; }
.ico--sm { width: 34px; height: 34px; }

/* ===== 4. ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(100deg, #00112a 0%, #0a2549 48%, #001229 100%);
  color: #fff;
}
.header-inner {
  display: flex; align-items: stretch; gap: clamp(10px, 1.2vw, 20px);
  height: var(--header-h); padding-left: clamp(14px, 1.8vw, 28px);
  transition: height .25s ease-out;
}
.is-compact .header-inner { height: var(--header-h-sm); }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 1 auto; min-width: 0; }
.logo > span { min-width: 0; }
.logo-mark { width: 38px; height: 42px; flex: none; }
.logo-name {
  display: block; font-family: var(--f-mincho); font-weight: 600;
  font-size: clamp(13px, 1.25vw, 18px); line-height: 1.3; letter-spacing: .02em; color: #fff;
  white-space: nowrap;
}
.logo-en {
  display: block; font-size: clamp(6px, .6vw, 8.5px); letter-spacing: .12em; line-height: 1.6;
  color: var(--gold-light); white-space: nowrap;
}

.gnav { margin-left: auto; display: flex; align-items: center; min-width: 0; }
.gnav-list { display: flex; align-items: center; gap: clamp(8px, 1.1vw, 18px); }
.gnav-list > li { position: relative; }
.gnav-link {
  display: inline-block; padding: 6px 2px; font-size: clamp(11px, .95vw, 13.5px); letter-spacing: .02em;
  color: #fff; text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.gnav-link:hover, .gnav-link[aria-current="page"] { border-color: var(--gold-light); color: var(--gold-light); }
.gnav-toggle::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s;
}
.gnav-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.sub-list {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 260px; padding: 8px 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: 0 12px 28px rgba(0, 21, 48, .16);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease-out, transform .2s ease-out, visibility .2s;
}
.gnav-toggle[aria-expanded="true"] + .sub-list { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-list a {
  display: block; padding: 10px 20px; font-size: 14px; color: var(--ink);
  text-decoration: none; transition: background-color .2s;
}
.sub-list a:hover { background: var(--bg-blue); }

.header-tel { display: flex; flex-direction: column; justify-content: center; flex: none; text-decoration: none; }
.header-tel-num {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--f-mincho); font-size: clamp(15px, 1.5vw, 22px); font-weight: 700; letter-spacing: .02em;
  color: #fff; line-height: 1.2;
}
.header-tel-num svg { width: 16px; height: 16px; color: var(--gold-light); }
.header-tel-sub { font-size: 9.5px; letter-spacing: .06em; color: var(--gold-light); text-align: right; }

.header-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: clamp(112px, 11vw, 152px); flex: none; padding: 8px 6px;
  background: linear-gradient(120deg, var(--gold-mid) 0%, var(--gold-dark) 100%);
  color: #fff; text-decoration: none; text-align: center;
  transition: filter .25s;
}
.header-cta:hover { filter: brightness(1.08); }
.header-cta-main { display: flex; align-items: center; gap: 5px; font-size: clamp(12px, 1.05vw, 14px); font-weight: 500; letter-spacing: .04em; }
.header-cta-main svg { width: 14px; height: 14px; }
.header-cta-sub { font-size: 9.5px; letter-spacing: .06em; opacity: .92; }

.nav-btn { display: none; }

/* ===== 5. ファーストビュー ===== */
.fv { position: relative; background: #fff; overflow: hidden; }
.fv-photo { position: absolute; inset: 0 0 0 auto; width: 60%; }
.fv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.fv-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, #fff 6%, rgba(255, 255, 255, .93) 26%, rgba(255, 255, 255, .35) 56%, rgba(255, 255, 255, 0) 78%);
}
.fv-inner { position: relative; z-index: 1; padding-block: 72px 66px; }
.fv-body { max-width: 760px; }
.fv-title {
  font-family: var(--f-mincho); font-weight: 600;
  font-size: clamp(21px, 3.2vw, 45px); line-height: 1.5; letter-spacing: .03em;
  color: var(--ink);
}
.fv-lead { margin-top: 22px; max-width: 640px; font-size: 15px; line-height: 1.95; color: var(--ink-2); }

.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 760px; margin-top: 30px; }
.badge {
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line-warm); border-radius: var(--r);
  padding: 16px 8px 14px; text-align: center;
}
.badge-label { font-size: 11.5px; letter-spacing: .02em; color: var(--ink-2); line-height: 1.5; }
.badge-num {
  position: relative; display: block; margin: 4px auto 2px; width: fit-content; padding-inline: 24px;
  font-family: var(--f-mincho); font-weight: 700; font-size: 27px; line-height: 1.3;
  letter-spacing: .01em; color: var(--ink); white-space: nowrap;
}
.badge-num::before, .badge-num::after {
  content: ""; position: absolute; top: 50%; translate: 0 -50%;
  width: 20px; height: 36px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 46'%3E%3Cpath d='M21 4C10 10 5 20 6 30c.5 6 3.5 10.5 9 13' fill='none' stroke='%23c3ae86' stroke-width='1.5'/%3E%3Cg fill='%23c3ae86'%3E%3Cellipse cx='15' cy='8' rx='4.4' ry='2.2' transform='rotate(-28 15 8)'/%3E%3Cellipse cx='10.5' cy='14' rx='4.6' ry='2.2' transform='rotate(-14 10.5 14)'/%3E%3Cellipse cx='8' cy='21' rx='4.6' ry='2.2'/%3E%3Cellipse cx='8' cy='28' rx='4.6' ry='2.2' transform='rotate(12 8 28)'/%3E%3Cellipse cx='10' cy='35' rx='4.4' ry='2.2' transform='rotate(26 10 35)'/%3E%3Cellipse cx='13.5' cy='40.5' rx='4' ry='2' transform='rotate(40 13.5 40.5)'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
}
.badge-num::before { left: 0; }
.badge-num::after { right: 0; scale: -1 1; }
.badge-unit { font-size: 14px; font-weight: 600; margin-left: 2px; }
.badge-note { font-size: 10.5px; line-height: 1.6; color: var(--ink-3); }

.fv-actions { margin-top: 26px; }
.fv-actions .btn { min-width: 330px; }
.fv-actions-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

/* ===== 6. お悩み(4カード) ===== */
.pain-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-card .ico { width: 52px; height: 52px; }
.pain-card {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 32px 20px 30px; text-align: center;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
}
.pain-card p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }

/* ===== 7. ネイビー訴求帯 ===== */
.band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(100deg, #00112a 0%, #072a52 62%, #001630 100%); }
.band-photo { position: absolute; inset: 0 0 0 auto; width: 62%; }
.band-photo img {
  width: 100%; height: 100%; object-fit: cover; opacity: .58;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .35) 30%, rgba(0, 0, 0, .85) 66%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .35) 30%, rgba(0, 0, 0, .85) 64%, #000 100%);
}
.band-inner { position: relative; z-index: 1; padding-block: 58px; }
.band-body { max-width: 640px; }
.band-title {
  font-family: var(--f-mincho); font-weight: 600; font-size: 30px; line-height: 1.55;
  letter-spacing: .05em; color: #fff;
}
.band-text { margin-top: 20px; font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, .88); }
.band-text + .band-text { margin-top: 12px; }
.band .link-more { margin-top: 22px; }

/* ===== 8. 実績バッジ(横型) ===== */
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.stat-card { display: flex; align-items: center; gap: 14px; padding: 20px 18px; }
.stat-body { min-width: 0; }
.stat-label { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
.stat-num {
  font-family: var(--f-mincho); font-weight: 700; font-size: 29px; line-height: 1.3;
  color: var(--ink); white-space: nowrap;
}
.stat-num span { font-size: 15px; font-weight: 600; margin-left: 2px; }
.stat-note { font-size: 11px; color: var(--ink-3); line-height: 1.6; }
.stat-extra {
  margin-top: 18px; padding: 14px 20px; background: var(--bg-blue);
  border-radius: var(--r); font-size: 13.5px; color: var(--ink-2); text-align: center;
}

/* ===== 9. 設備カード(写真) ===== */
.photo-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.photo-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-off); }
.photo-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out, filter .4s; }
.photo-card-body { padding: 20px 22px 24px; text-align: center; }
.photo-card-title { font-family: var(--f-mincho); font-weight: 600; font-size: 18px; letter-spacing: .04em; color: var(--ink); }
.photo-card-body p { margin-top: 10px; font-size: 14px; line-height: 1.85; text-align: left; }

/* ===== 10. リスク帯(タブナビ) ===== */
.risk-band { position: relative; overflow: hidden; background: linear-gradient(100deg, #f2f6fa 0%, #f5f9fc 55%, #eef4f9 100%); }
.risk-photo { position: absolute; inset: 0 0 0 auto; width: 48%; }
.risk-photo img {
  width: 100%; height: 100%; object-fit: cover; opacity: .42;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .3) 38%, rgba(0, 0, 0, .8) 70%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .3) 38%, rgba(0, 0, 0, .8) 70%, #000 100%);
}
.risk-inner { position: relative; z-index: 1; padding-block: 54px; }
.risk-body { max-width: 720px; }
.risk-title {
  font-family: var(--f-mincho); font-weight: 600; font-size: 26px; line-height: 1.55;
  letter-spacing: .06em; color: var(--ink);
}
.risk-body p { margin-top: 16px; font-size: 14.5px; line-height: 1.95; }
.tab-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tab-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  font-size: 14px; color: var(--ink); text-decoration: none;
  transition: background-color .25s, border-color .25s, color .25s;
}
.tab-nav a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ===== 11. 診療メニュー ===== */
.menu-grid { grid-template-columns: repeat(3, 1fr); }
.menu-card { display: flex; gap: 16px; align-items: flex-start; }
.menu-card-title { font-family: var(--f-mincho); font-weight: 600; font-size: 17px; letter-spacing: .04em; color: var(--ink); line-height: 1.5; }
.menu-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.85; }

/* ===== 12. 症例カード ===== */
.case-grid { grid-template-columns: repeat(4, 1fr); }
.case-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line-warm); border-radius: var(--r);
}
.case-img { aspect-ratio: 16 / 9; background: #15181c; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.case-body { display: flex; gap: 12px; padding: 18px 18px 14px; flex: 1; }
.case-mark { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.case-no { font-family: var(--f-mincho); font-size: 15px; letter-spacing: .06em; color: var(--gold-ink); }
.case-title { font-family: var(--f-mincho); font-weight: 600; font-size: 15.5px; letter-spacing: .03em; color: var(--ink); line-height: 1.5; }
.case-body p { margin-top: 6px; font-size: 13px; line-height: 1.8; }
.case-foot {
  border-top: 1px solid var(--line-warm); padding: 11px 18px; text-align: right;
}
.case-foot a { font-size: 13.5px; color: var(--gold-ink); text-decoration: none; }
.case-foot a::after { content: " ›"; }
.case-foot a:hover { text-decoration: underline; }

/* ===== 13. 費用カード ===== */
.price-grid { grid-template-columns: repeat(4, 1fr); }
.price-card { text-align: center; padding: 22px 16px; }
.price-label { font-size: 13.5px; color: var(--ink-2); }
.price-num {
  margin-top: 4px; font-family: var(--f-mincho); font-weight: 700; font-size: 30px;
  line-height: 1.3; color: var(--ink); white-space: nowrap;
}
.price-num span { font-size: 15px; font-weight: 600; }
.price-sub { margin-top: 4px; font-size: 11.5px; line-height: 1.6; color: var(--ink-3); }

/* ===== 14. 治療の流れ(円ステップ) ===== */
.flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px;
}
.flow-step { position: relative; display: flex; justify-content: center; }
.flow-circle {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; aspect-ratio: 1; width: 100%; max-width: 196px; padding: 14px 12px;
  background: linear-gradient(160deg, #fbfbfc, #f4f5f7);
  border: 1px solid var(--line-2); border-radius: 50%; text-align: center;
}
.flow-no { font-family: var(--f-mincho); font-size: 16px; letter-spacing: .08em; color: var(--gold-ink); line-height: 1.2; }
.flow-step .ico { width: 26px; height: 26px; margin-block: 1px; }
.flow-title {
  font-family: var(--f-mincho); font-weight: 600; font-size: 13px; letter-spacing: 0;
  color: var(--ink); line-height: 1.45; overflow-wrap: normal; word-break: keep-all;
}
.flow-text { font-size: 10.5px; line-height: 1.55; color: var(--ink-3); }
.flow-step:not(:nth-child(4n))::after {
  content: ""; position: absolute; top: 50%; right: -17px; translate: 0 -50%;
  width: 9px; height: 9px; border-right: 1.5px solid var(--gold-light); border-top: 1.5px solid var(--gold-light);
  rotate: 45deg;
}

/* ===== 15. 遠方の方へ ===== */
.away-box {
  display: flex; gap: 30px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 34px;
}
.away-box .ico { width: 62px; height: 62px; }
.away-title { font-family: var(--f-mincho); font-weight: 600; font-size: 22px; letter-spacing: .05em; color: var(--ink); line-height: 1.5; }
.away-box p { margin-top: 14px; font-size: 14.5px; }

/* ===== 16. 院長紹介 + FAQ ===== */
.doctor-faq { background: var(--bg-off); border-radius: var(--r); padding: 42px 44px; }
.doctor-faq-inner { display: grid; grid-template-columns: 1.12fr 1fr; gap: 40px; }
.doctor-block { display: grid; grid-template-columns: 210px 1fr; gap: 24px; align-items: start; }
.doctor-photo { border-radius: var(--r); overflow: hidden; background: #e9eaec; }
.doctor-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.doctor-title { font-family: var(--f-mincho); font-weight: 600; font-size: 21px; letter-spacing: .05em; color: var(--ink); line-height: 1.5; }
.doctor-name { margin-top: 16px; font-family: var(--f-mincho); font-size: 22px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
.doctor-name small { font-size: 12px; font-weight: 400; margin-right: 8px; color: var(--ink-2); letter-spacing: .1em; }
.doctor-en { font-size: 12.5px; letter-spacing: .14em; color: var(--gold-ink); }
.doctor-block p { margin-top: 14px; font-size: 14px; line-height: 1.9; }
.doctor-credit { margin-top: 14px; font-size: 13px; color: var(--ink-2); }

.faq-title { font-family: var(--f-mincho); font-weight: 600; font-size: 21px; letter-spacing: .05em; color: var(--ink); }
.faq-list { margin-top: 20px; display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.faq-q {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 15px 18px; text-align: left; font-size: 14.5px; line-height: 1.6; color: var(--ink);
}
.faq-q::before { content: "Q."; font-family: var(--f-mincho); color: var(--gold-ink); flex: none; }
.faq-q::after {
  content: ""; flex: none; margin-left: auto; width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
  rotate: 45deg; translate: 0 -2px; transition: rotate .25s ease-out;
}
.faq-q[aria-expanded="true"]::after { rotate: -135deg; translate: 0 2px; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 18px 18px 44px; font-size: 14px; line-height: 1.9; }

/* ===== 17. アクセス ===== */
.access-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; align-items: start; }
.access-media { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-off); }
.access-media img, .access-media iframe { display: block; width: 100%; height: 240px; object-fit: cover; border: 0; }
.access-name { font-family: var(--f-mincho); font-weight: 600; font-size: 19px; letter-spacing: .04em; color: var(--ink); line-height: 1.5; }
.access-dl { margin-top: 14px; font-size: 14px; }
.access-dl div { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.access-dl dt { flex: none; width: 68px; color: var(--ink-3); font-size: 13px; }
.access-dl dd { margin: 0; }
.access-info .btn { margin-top: 20px; }

/* ===== 18. 最終CTA ===== */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(100deg, #00112a 0%, #062648 60%, #001127 100%); }
.cta-photo { position: absolute; inset: 0 0 0 auto; width: 58%; }
.cta-photo img {
  width: 100%; height: 100%; object-fit: cover; opacity: .3;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .3) 36%, rgba(0, 0, 0, .8) 68%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 0%, rgba(0, 0, 0, .3) 36%, rgba(0, 0, 0, .8) 68%, #000 100%);
}
.cta-inner { position: relative; z-index: 1; padding-block: 62px; text-align: center; }
.cta-title { font-family: var(--f-mincho); font-weight: 600; font-size: 30px; line-height: 1.55; letter-spacing: .06em; }
.cta-title small { display: block; font-size: 18px; font-weight: 400; letter-spacing: .05em; margin-top: 6px; }
.cta-text { max-width: 780px; margin: 20px auto 0; font-size: 14.5px; line-height: 1.95; color: rgba(255, 255, 255, .88); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 30px; }
.cta-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-width: 380px; min-height: 96px; padding: 16px 30px; border-radius: var(--r);
  text-decoration: none; transition: filter .25s, background-color .25s;
}
.cta-box--tel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(202, 186, 160, .55); color: #fff; }
.cta-box--tel:hover { background: rgba(255, 255, 255, .11); }
.cta-box--web { background: linear-gradient(105deg, var(--gold-mid), var(--gold-dark)); border: 1px solid var(--gold-dark); color: #fff; }
.cta-box--web:hover { filter: brightness(1.08); }
.cta-box-label { font-size: 12.5px; letter-spacing: .06em; color: var(--gold-light); }
.cta-box--web .cta-box-label { color: rgba(255, 255, 255, .9); }
.cta-box-main { display: flex; align-items: center; gap: 10px; font-family: var(--f-mincho); font-size: 28px; font-weight: 700; letter-spacing: .04em; }
.cta-box-main svg { width: 22px; height: 22px; color: var(--gold-light); }
.cta-box--web .cta-box-main { font-family: var(--f-gothic); font-size: 16.5px; font-weight: 500; letter-spacing: .04em; }
.cta-box-sub { font-size: 12px; letter-spacing: .04em; color: rgba(255, 255, 255, .78); }

/* ===== 19. フッター ===== */
.site-footer { background: linear-gradient(100deg, #00112a 0%, #06203f 55%, #00101f 100%); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.3fr; gap: 30px; padding-block: 48px 34px; }
.footer-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-address { margin-top: 18px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .8); }
.footer-nav li + li { margin-top: 9px; }
.footer-nav { padding-top: 4px; }
.footer-nav a { font-size: 13.5px; color: rgba(255, 255, 255, .86); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-contact { display: grid; gap: 12px; align-content: start; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .16); }
.footer-tel {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: #fff; border-radius: var(--r); padding: 12px 16px; text-decoration: none;
}
.footer-tel-num {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--f-mincho); font-size: 22px; font-weight: 700; color: var(--navy);
  letter-spacing: .02em; white-space: nowrap;
}
.footer-tel-num svg { width: 18px; height: 18px; color: var(--gold); }
.footer-tel-sub { font-size: 11px; color: var(--ink-2); }
.footer-web {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; background: #fff; border-radius: var(--r);
  font-size: 15px; color: var(--navy); text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--gold-light); transition: background-color .25s;
}
.footer-web:hover { background: var(--cream); }
.footer-web::after { content: "›"; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 20px;
  font-size: 11.5px; line-height: 1.85; color: rgba(255, 255, 255, .66);
}
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 16px 22px;
  font-size: 11.5px; letter-spacing: .06em; color: rgba(255, 255, 255, .7);
}
.footer-bottom a { color: inherit; }

/* ページトップ */
.pagetop {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  display: flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--navy); text-decoration: none; box-shadow: 0 4px 14px rgba(0, 21, 48, .14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.pagetop.is-visible { opacity: 1; visibility: visible; transform: none; }
.pagetop::before {
  content: ""; width: 10px; height: 10px;
  border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor;
  rotate: -45deg; translate: 0 2px;
}

/* SP固定CTA(CTA-05) */
.floating-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 1px; background: rgba(0, 21, 48, .2);
  transform: translateY(100%); transition: transform .35s ease-out;
}
.floating-cta.is-visible { transform: none; }
.floating-cta a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 58px; font-size: 14.5px; font-weight: 500; text-decoration: none;
  transition: transform .15s ease-out;
}
.floating-cta a:active { transform: scale(.97); }
.floating-cta svg { width: 16px; height: 16px; }
.fc-tel { background: var(--navy); color: #fff; }
.fc-web { background: linear-gradient(100deg, var(--gold-mid), var(--gold-dark)); color: #fff; }

/* ===== 20. 下層ページ共通 ===== */
.page-head {
  position: relative; overflow: hidden;
  background: linear-gradient(100deg, #00112a 0%, #072a52 62%, #001630 100%); color: #fff;
}
.page-head-inner { position: relative; z-index: 1; padding-block: 44px 40px; }
.breadcrumb { font-size: 12px; color: rgba(255, 255, 255, .78); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, .45); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--gold-light); }
.page-title {
  margin-top: 14px; font-family: var(--f-mincho); font-weight: 600;
  font-size: clamp(24px, 3vw, 33px); line-height: 1.5; letter-spacing: .06em;
}
.page-lead { margin-top: 18px; max-width: 860px; font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, .86); }

.lower-title {
  position: relative; padding-left: 16px; margin-bottom: 22px;
  font-family: var(--f-mincho); font-weight: 600; font-size: 25px; line-height: 1.5;
  letter-spacing: .06em; color: var(--ink);
}
.lower-title::before {
  content: ""; position: absolute; left: 0; top: .28em; bottom: .28em; width: 4px;
  background: linear-gradient(180deg, var(--gold-mid), var(--navy));
}
.lower-title--center { padding-left: 0; text-align: center; }
.lower-title--center::before { display: none; }
.sub-title {
  margin: 30px 0 12px; font-family: var(--f-mincho); font-weight: 600; font-size: 19px;
  letter-spacing: .04em; color: var(--ink); line-height: 1.6;
}
.body-text { font-size: 15px; line-height: 2; }
.body-text + .body-text, .body-text + .list-check, .list-check + .body-text { margin-top: 14px; }
.body-text strong { color: var(--ink); }

.list-check { display: grid; gap: 9px; }
.list-check li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.85; }
.list-check li::before {
  content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 5px;
  border-left: 1.8px solid var(--gold); border-bottom: 1.8px solid var(--gold);
  rotate: -45deg;
}
.list-num { counter-reset: n; display: grid; gap: 10px; }
.list-num li { position: relative; padding-left: 36px; font-size: 14.5px; line-height: 1.85; counter-increment: n; }
.list-num li::before {
  content: counter(n); position: absolute; left: 0; top: .18em;
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--navy); color: #fff; border-radius: 50%;
  font-family: var(--f-mincho); font-size: 12px;
}

.table-wrap { overflow-x: auto; max-width: 100%; }
.data-table { font-size: 14px; min-width: 560px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.8; }
.data-table thead th { background: var(--navy); color: #fff; font-weight: 500; }
.data-table tbody th { background: var(--bg-off); color: var(--ink); font-weight: 500; white-space: nowrap; }
.data-table--price td:first-child { white-space: nowrap; font-family: var(--f-mincho); font-weight: 600; color: var(--ink); font-size: 15px; }

.notice {
  margin-top: 18px; padding: 16px 20px; background: var(--bg-blue);
  border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0;
  font-size: 12.5px; line-height: 1.9; color: var(--ink-2);
}
.notice p + p { margin-top: 8px; }

.link-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.link-card {
  display: flex; gap: 16px; align-items: center; padding: 20px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; transition: border-color .25s, background-color .25s;
}
.link-card:hover { border-color: var(--gold); background: var(--cream); }
.link-card-title { font-family: var(--f-mincho); font-weight: 600; font-size: 16px; color: var(--ink); }
.link-card p { margin-top: 5px; font-size: 13px; line-height: 1.75; }

.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icon-card { text-align: left; }
.icon-card .ico { margin-bottom: 12px; }
.icon-card h3 { font-family: var(--f-mincho); font-weight: 600; font-size: 17px; color: var(--ink); line-height: 1.5; }
.icon-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.85; }

.step-list { display: grid; gap: 14px; }
.step-item { display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: start; padding: 24px; }
.step-badge { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step-badge span { font-family: var(--f-mincho); font-size: 12px; letter-spacing: .1em; color: var(--gold-ink); }
.step-item h3 { font-family: var(--f-mincho); font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.5; }
.step-item p { margin-top: 8px; font-size: 14.5px; line-height: 1.9; }
.step-time { display: inline-block; margin-top: 10px; padding: 3px 12px; background: var(--bg-blue); border-radius: 999px; font-size: 12.5px; color: var(--ink-2); }

.faq-page-list { display: grid; gap: 12px; }
.faq-page-list .faq-item { border-color: var(--line); }
.faq-page-list .faq-q { font-size: 15.5px; padding: 18px 20px; font-weight: 500; }
.faq-page-list .faq-a p { padding: 0 20px 20px 48px; }

/* 下層ページ末尾CTA */
.page-cta { position: relative; overflow: hidden; background: linear-gradient(100deg, #00112a 0%, #062648 60%, #001127 100%); color: #fff; }
.page-cta-inner { position: relative; z-index: 1; padding-block: 52px; text-align: center; }
.page-cta-title { font-family: var(--f-mincho); font-weight: 600; font-size: 25px; line-height: 1.55; letter-spacing: .05em; }
.page-cta p { max-width: 720px; margin: 16px auto 0; font-size: 14.5px; color: rgba(255, 255, 255, .88); }
.page-cta .btn-row { justify-content: center; margin-top: 26px; }

/* フォーム */
.form-block { display: grid; gap: 20px; max-width: 780px; }
.form-row { display: grid; gap: 8px; }
.form-label { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.req, .opt {
  font-size: 11px; padding: 2px 8px; border-radius: 2px; letter-spacing: .06em; font-weight: 500;
}
.req { background: #a12f2f; color: #fff; }
.opt { background: var(--bg-off); color: var(--ink-2); border: 1px solid var(--line); }
.form-help { font-size: 12.5px; color: var(--ink-3); }
.form-block input[type="text"],
.form-block input[type="tel"],
.form-block input[type="email"],
.form-block input[type="datetime-local"],
.form-block select,
.form-block textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.form-block textarea { min-height: 130px; line-height: 1.8; resize: vertical; }
.form-block input:focus, .form-block select:focus, .form-block textarea:focus {
  border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 21, 48, .1); outline: none;
}
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.7; cursor: pointer; }
.check-item input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: #001530; }
.form-agree { background: var(--bg-off); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.form-submit { text-align: center; }

/* スパム対策(honeypot): 視覚的に隠すがdisplay:noneにしない */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}

/* フォームのエラー表示 */
.form-error-summary {
  margin-bottom: 20px; padding: 18px 20px; background: #fdf1f1;
  border: 1px solid #d99; border-left: 3px solid #a12f2f; border-radius: 0 var(--r) var(--r) 0;
  color: #7a2020; font-size: 14px; line-height: 1.8;
}
.form-error-summary p:first-child { font-weight: 500; margin-bottom: 6px; }
.form-error-summary ul { padding-left: 1.4em; list-style: disc; }
.form-row.is-error input,
.form-row.is-error select,
.form-row.is-error textarea { border-color: #a12f2f; }
.field-error { font-size: 12.5px; color: #a12f2f; }

/* ニュース */
.news-list { display: grid; gap: 14px; }
.news-item { display: grid; grid-template-columns: 120px 130px 1fr; gap: 18px; align-items: center; padding: 20px 24px; text-decoration: none; transition: border-color .25s; }
.news-item:hover { border-color: var(--gold); }
.news-date { font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }
.news-cat { display: inline-block; padding: 3px 12px; background: var(--bg-blue); border-radius: 2px; font-size: 12px; color: var(--ink-2); text-align: center; }
.news-item h3 { font-size: 15.5px; font-weight: 500; color: var(--ink); line-height: 1.7; }
.empty-state { padding: 48px 20px; text-align: center; color: var(--ink-3); background: var(--bg-off); border-radius: var(--r); }
.pager { display: flex; justify-content: center; gap: 16px; margin-top: 26px; font-size: 13.5px; }
.pager-disabled { color: var(--ink-3); opacity: .55; }

/* お知らせ個別記事 */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 20px; }
.article-eyecatch {
  margin: 0 0 30px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-off);
}
.article-eyecatch img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.article .body-text + .body-text { margin-top: 16px; }

/* シミュレーター等の結果表示 */
.tool-box { background: var(--bg-off); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 30px; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-result {
  margin-top: 22px; padding: 20px 22px; background: #fff; border: 1px solid var(--gold-light);
  border-radius: var(--r); font-size: 15px; line-height: 1.9;
}
.tool-result strong { font-family: var(--f-mincho); font-size: 22px; color: var(--ink); }

/* 症例フィルタ */
.filter-box { background: var(--bg-off); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter-group + .filter-group { margin-top: 12px; }
.filter-group > span { font-size: 13px; color: var(--ink-3); width: 92px; flex: none; }
.filter-btn {
  padding: 7px 16px; min-height: 38px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13.5px; color: var(--ink-2); transition: all .2s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ===== 21. モーション(09_motion/motion-spec.md 準拠) ===== */
[data-motion] { opacity: 0; transition: opacity .5s ease-out, transform .5s ease-out; will-change: opacity, transform; }
[data-motion="fade"] { transform: translateY(14px); }
[data-motion="line"] { transform: translateY(18px); transition-duration: .55s; transition-timing-function: cubic-bezier(.22, 1, .36, 1); }
[data-motion="stagger"] > * { opacity: 0; transform: translateY(16px); transition: opacity .5s ease-out, transform .5s ease-out; }
[data-motion="stagger"] { opacity: 1; }
[data-motion="hero"] { transform: translateY(16px); }
[data-motion].is-inview { opacity: 1; transform: none; }
[data-motion="stagger"].is-inview > * { opacity: 1; transform: none; }
.fv-photo[data-motion] { transform: scale(1.03); transition: opacity .7s ease-out, transform .7s cubic-bezier(.22, 1, .36, 1); }
.fv-photo[data-motion].is-inview { transform: none; }

/* HO-13: 写真ホバー(PC限定) */
@media (hover: hover) and (pointer: fine) {
  .photo-card-img img, .case-img img { transform: scale(1.04); }
  .photo-card:hover .photo-card-img img, .case-card:hover .case-img img { transform: scale(1); }
  .photo-card:hover, .case-card:hover { box-shadow: inset 0 0 0 1px var(--gold-light); }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-motion], [data-motion="stagger"] > * { opacity: 1 !important; transform: none !important; }
  .photo-card-img img, .case-img img { transform: none !important; }
}

/* capture-mode: デザイン照合・QA用スクリーンショットフック */
.capture-mode *, .capture-mode *::before, .capture-mode *::after {
  transition: none !important; animation: none !important;
}
.capture-mode [data-motion], .capture-mode [data-motion="stagger"] > * {
  opacity: 1 !important; transform: none !important;
}
.capture-mode .photo-card-img img, .capture-mode .case-img img { transform: none !important; }
.capture-mode .pagetop { display: none !important; }
/* フルページ撮影時、固定バーが本文に重ならないよう通常フロー(ページ末尾)に置く */
.capture-mode .floating-cta { position: static; transform: none !important; }

/* ===== 22. レスポンシブ ===== */
@media (max-width: 1200px) {
  .header-tel { display: none; }
  .fv-photo { width: 55%; }
}

@media (max-width: 1024px) {
  :root { --sec-pad: 52px; }
  .logo-mark { width: 34px; height: 38px; }
  .doctor-faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .doctor-faq { padding: 34px 30px; }
  .access-grid { grid-template-columns: 1fr 1fr; }
  .access-info { grid-column: 1 / -1; }
  .split--photo { grid-template-columns: 220px 1fr; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-cards { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --sec-pad: 44px; --header-h: 62px; --header-h-sm: 56px; }
  body { font-size: 14.5px; }
  .container { padding-inline: 18px; }

  /* ヘッダー: ハンバーガー */
  .header-inner { padding-left: 14px; gap: 8px; align-items: center; }
  .logo > span { overflow: hidden; }
  .logo-mark { width: 28px; height: 32px; }
  .header-cta { display: none; }
  .nav-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    margin-left: auto; width: 56px; height: 56px; flex: none; color: #fff;
  }
  .nav-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .25s, opacity .25s; }
  .nav-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .gnav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0; display: block;
    background: var(--navy); padding: 20px 18px 120px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }
  .gnav-list { display: block; }
  .gnav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .gnav-link { display: block; width: 100%; padding: 16px 4px; font-size: 15px; border: 0; }
  .gnav-toggle { display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .gnav-toggle::after { margin-left: 0; }
  .sub-list {
    position: static; translate: none; transform: none; min-width: 0; box-shadow: none;
    background: rgba(255, 255, 255, .05); border: 0; border-radius: 0; padding: 0;
    display: grid; grid-template-rows: 0fr; opacity: 1; visibility: visible;
    transition: grid-template-rows .3s ease;
  }
  .sub-list > li { overflow: hidden; grid-column: 1; }
  .gnav-toggle[aria-expanded="true"] + .sub-list { grid-template-rows: 1fr; }
  .sub-list a { color: #fff; padding: 13px 20px; font-size: 14px; }
  .sub-list a:hover { background: rgba(255, 255, 255, .08); }

  /* FV */
  .fv-photo { position: relative; width: 100%; height: 230px; }
  .fv-photo::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .95) 100%); }
  .fv-inner { padding-block: 26px 40px; }
  .fv-title { letter-spacing: .03em; }
  .fv-lead { margin-top: 16px; }
  .badge-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .badge-num { font-size: 26px; padding-inline: 26px; }
  .fv-actions .btn { min-width: 0; width: 100%; }
  .btn-row { flex-direction: column; gap: 12px; }

  /* グリッド */
  .pain-grid, .stat-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-grid, .case-grid, .icon-cards, .link-cards, .check-grid { grid-template-columns: 1fr; }
  .grid { gap: 12px; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .flow-step:not(:nth-child(4n))::after { display: none; }
  .flow-title { font-size: 14px; }

  .sec-title { font-size: 21px; }
  .band-title, .cta-title { font-size: 22px; }
  .cta-title small { font-size: 15px; }
  .risk-title, .lower-title { font-size: 20px; }
  .away-title, .doctor-title, .faq-title, .page-cta-title { font-size: 19px; }
  .stat-num, .price-num { font-size: 25px; }

  .band-photo, .risk-photo, .cta-photo { width: 100%; }
  .band-photo img, .risk-photo img, .cta-photo img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 45%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .55) 45%, #000 100%);
  }
  .band-photo img, .cta-photo img { opacity: .3; }
  .risk-photo img { opacity: .35; }
  .band-inner, .risk-inner, .cta-inner { padding-block: 40px; }
  .tab-nav { gap: 8px; }
  .tab-nav a { padding: 8px 16px; font-size: 13px; }

  .doctor-block { grid-template-columns: 1fr; gap: 20px; }
  .split { grid-template-columns: 1fr !important; gap: 22px; }
  .doctor-photo { max-width: 220px; }
  .access-grid { grid-template-columns: 1fr; }
  .access-media img, .access-media iframe { height: 200px; }
  .cta-box { min-width: 0; width: 100%; }
  .cta-box-main { font-size: 24px; }
  .away-box { flex-direction: column; gap: 18px; padding: 24px 22px; }
  .step-item { grid-template-columns: 1fr; gap: 14px; padding: 20px; }
  .step-badge { flex-direction: row; justify-content: flex-start; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-cat { justify-self: start; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 26px; padding-block: 34px 24px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }

  .floating-cta { display: flex; }
  .pagetop { right: 12px; bottom: 74px; width: 42px; height: 42px; }
  body { padding-bottom: 0; }
}

@media (max-width: 420px) {
  .badge-row { gap: 8px; }
  .badge-num { font-size: 23px; padding-inline: 22px; }
  .badge-num::before, .badge-num::after { width: 20px; height: 36px; }
  .flow-grid { grid-template-columns: 1fr; gap: 16px; }
  .flow-circle { aspect-ratio: auto; border-radius: var(--r); padding: 18px; }
  .pain-grid, .stat-grid, .price-grid { grid-template-columns: 1fr; }
  .doctor-faq { padding: 26px 18px; }
}

/* 印刷 */
@media print {
  .site-header, .floating-cta, .pagetop, .page-cta, .cta-band { display: none !important; }
  [data-motion], [data-motion="stagger"] > * { opacity: 1 !important; transform: none !important; }
}
