/* =========================================================
   ありま訪問あん摩・鍼灸 公式サイト デザインモック（v4）
   方針：シンプル・クリーン・透明性。見せ場は「料金がひと目でわかる」ヒーローの料金パネル
   トークン → ベース → 部品 → セクション → レスポンシブ
   ========================================================= */

:root {
  /* color：白地＋藍1色。装飾ではなく情報に色を使う */
  --bg: #ffffff;
  --surface: #f2f5f7;      /* 面の切り替え */
  --ink: #14212b;          /* 本文 */
  --ink-soft: #4b5965;     /* 補足（白地でAA） */
  --line: #d9e0e5;
  --primary: #1d4a5c;      /* 藍：CTA・料金・リンク */
  --primary-deep: #133442;
  --primary-wash: #e3edf0;
  --ok: #2f6b4f;           /* 「込み」「済み」など安心情報のチェック */

  /* type：IBM Plex Sans JP 1書体。数字も同じ書体で揃える */
  --font: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --fs-xs: 0.875rem;
  --fs-s: 0.9375rem;
  --fs-m: 1.0625rem;
  --fs-l: 1.25rem;
  --fs-xl: clamp(1.5rem, 2.4vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 3.6vw, 2.5rem);
  --fs-hero: clamp(2.125rem, 4.6vw, 3.5rem);

  /* space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
  --section-y: clamp(64px, 9vw, 120px);
  --r: 8px;
  --r-s: 6px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-m); line-height: 1.85; letter-spacing: 0.02em;
  overflow-x: hidden;
}
h1, h2, h3 { margin: 0; line-height: 1.45; font-weight: 700; letter-spacing: 0.02em; word-break: auto-phrase; text-wrap: balance; }
p, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

.mock-notice { background: var(--ink); color: #fff; font-size: var(--fs-xs); text-align: center; padding: 6px 16px; line-height: 1.6; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--ink); white-space: nowrap; }
.logo-mark { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; }
.logo-mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.logo b { font-size: 1.0625rem; letter-spacing: .06em; }
.gnav { display: flex; gap: 24px; }
.gnav a { color: var(--ink); text-decoration: none; font-size: var(--fs-s); white-space: nowrap; padding: 6px 0; }
.gnav a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 6px; }
.header-tel { font-size: var(--fs-s); font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-s);
  font: 700 var(--fs-s)/1.2 var(--font); letter-spacing: .04em; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--primary); transition: background-color .15s, color .15s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.btn-ghost { background: #fff; color: var(--primary); }
.btn-ghost:hover { background: var(--primary-wash); }
.btn-s { min-height: 42px; padding: 0 18px; font-size: var(--fs-xs); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- photo placeholder ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: linear-gradient(135deg, #dfe7eb, #b9c9d1); }
.photo::after { content: attr(data-label); position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; font-size: 11px; color: #fff; background: rgba(20,33,43,.55); padding: 2px 10px; border-radius: 4px; line-height: 1.6; }

/* ---------- section ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--surface); }
.sec-head { display: grid; gap: 12px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 40em; }
.sec-head h2 { font-size: var(--fs-2xl); }
.sec-head p { color: var(--ink-soft); }
.note { font-size: var(--fs-xs); color: var(--ink-soft); }

/* チェック付きリスト（安心情報） */
.checks-list li { position: relative; padding-left: 28px; }
.checks-list li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px;
  border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg);
}

/* =========================================================
   HERO：左に約束、右に料金パネル（このサイト唯一の見せ場）
   ========================================================= */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: .01em; line-height: 1.35; }
.hero-lead { margin-top: 24px; max-width: 30em; color: var(--ink-soft); }
.hero .actions { margin-top: 32px; }
.hero-sub { margin-top: 14px; font-size: var(--fs-xs); color: var(--ink-soft); }

.price-panel { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.price-panel h2 { font-size: var(--fs-s); font-weight: 700; padding: 16px 24px; background: var(--surface); border-bottom: 1px solid var(--line); }
.price-panel dl { margin: 0; padding: 8px 24px; }
.price-panel .row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.price-panel .row:last-child { border-bottom: 0; }
.price-panel dt { font-weight: 700; }
.price-panel dt small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--ink-soft); }
.price-panel dd { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: var(--primary); line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-panel dd small { font-size: .45em; margin-left: 3px; color: var(--ink); }
.price-panel .included { padding: 14px 24px 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: var(--fs-xs); }
.price-panel .included li { padding-left: 22px; }
.price-panel .included li::before { top: .45em; width: 11px; height: 6px; }

.hero-photo { margin-top: clamp(40px, 6vw, 72px); aspect-ratio: 21 / 8; }

/* ---------- 信頼の4項目 ---------- */
.trust { border-block: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { padding: 24px 20px; display: grid; gap: 4px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust b { font-size: var(--fs-s); }
.trust span { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.7; }

/* =========================================================
   メニューと料金
   ========================================================= */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.menu-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; align-content: start; }
.menu-card h3 { font-size: var(--fs-xl); }
.menu-card h3 small { display: block; font-size: var(--fs-xs); font-weight: 500; color: var(--ink-soft); letter-spacing: .04em; }
.menu-card > p { color: var(--ink-soft); font-size: var(--fs-s); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 14px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.price-table th { font-weight: 500; }
.price-table th small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--ink-soft); }
.price-table td { text-align: right; font-size: var(--fs-l); font-weight: 700; color: var(--primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table td small { font-size: .7em; color: var(--ink); margin-left: 2px; }
.menu-card .checks-list { display: grid; gap: 6px; font-size: var(--fs-s); }

.combo { margin-top: 24px; background: var(--primary); color: #fff; border-radius: var(--r); padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: center; }
.combo h3 { font-size: var(--fs-l); }
.combo p { font-size: var(--fs-s); opacity: .9; }
.combo .combo-price { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; grid-row: span 2; font-variant-numeric: tabular-nums; }
.combo .combo-price small { font-size: .45em; margin-left: 3px; }

.price-rules { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-rules div { border-top: 2px solid var(--ink); padding-top: 14px; }
.price-rules dt { font-weight: 700; font-size: var(--fs-s); margin-bottom: 4px; }
.price-rules dd { font-size: var(--fs-s); color: var(--ink-soft); }

/* ---------- はじめての方へ（2カラムの説明） ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .sec-head { margin-bottom: 0; }
.qa-list { border-top: 1px solid var(--line); }
.qa-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.qa-list dt { font-weight: 700; margin-bottom: 6px; }
.qa-list dd { color: var(--ink-soft); font-size: var(--fs-s); }

/* ---------- 流れ（順番があるので番号） ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--primary); padding-top: 16px; }
.steps li::before { content: counter(step); display: block; font-size: var(--fs-xs); font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.steps h3 { font-size: var(--fs-l); margin-bottom: 6px; }
.steps p { font-size: var(--fs-s); color: var(--ink-soft); }

/* ---------- 施術者 ---------- */
.person { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.person .photo { aspect-ratio: 4 / 5; }
.person h3 { font-size: var(--fs-xl); }
.person h3 small { display: block; font-size: var(--fs-s); font-weight: 500; color: var(--ink-soft); margin-top: 4px; }
.person p { margin-top: 20px; max-width: 34em; }
.license { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.license li { font-size: var(--fs-xs); border: 1px solid var(--line); border-radius: 4px; padding: 4px 12px; background: #fff; }

/* ---------- 衛生と安全 ---------- */
.safety { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 48px; }
.safety li { padding: 18px 0 18px 28px; border-bottom: 1px solid var(--line); }
.safety b { display: block; }
.safety span { font-size: var(--fs-s); color: var(--ink-soft); }
.safety li::before { top: 1.6em; }

/* ---------- 高齢者ページへの導線 ---------- */
.senior-link { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: center; }
.senior-link h2 { font-size: var(--fs-xl); }
.senior-link p { margin-top: 8px; color: var(--ink-soft); font-size: var(--fs-s); max-width: 40em; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--primary); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq .a { padding: 0 0 24px; color: var(--ink-soft); font-size: var(--fs-s); max-width: 40em; }

/* ---------- 予約フォーム ---------- */
.reserve-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.tel { display: block; margin-top: 28px; text-decoration: none; font-size: clamp(1.75rem, 3.4vw, 2.25rem); font-weight: 700; color: var(--primary); line-height: 1.3; font-variant-numeric: tabular-nums; }
.tel small { display: block; font-size: var(--fs-s); font-weight: 500; color: var(--ink); }
.reserve-grid .note { margin-top: 6px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field > label, .field > legend { font-weight: 700; font-size: var(--fs-s); padding: 0; }
.req { font-size: 11px; color: #fff; background: var(--primary); border-radius: 3px; padding: 1px 6px; margin-left: 8px; font-weight: 500; vertical-align: 2px; }
.opt { font-size: var(--fs-xs); color: var(--ink-soft); margin-left: 8px; font-weight: 400; }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 12px 14px; min-height: 50px; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-wash); }
.input[aria-invalid="true"] { border-color: #b3261e; }
.err { color: #a12a22; font-size: var(--fs-xs); }
.err:empty { display: none; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-item { position: relative; }
.opt-item input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.opt-item span { display: inline-block; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 9px 16px; font-size: var(--fs-s); cursor: pointer; }
.opt-item input:checked + span { border-color: var(--primary); background: var(--primary-wash); color: var(--primary-deep); font-weight: 700; }
.opt-item input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.form .btn { width: 100%; min-height: 56px; font-size: var(--fs-m); }
.form-done { text-align: center; }
.form-done h3 { font-size: var(--fs-l); margin-bottom: 8px; }
.form-done[hidden] { display: none; }

/* ---------- 施術所情報 ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.info-table th, .info-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 10em; font-weight: 500; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d5dde3; padding-block: 56px 28px; font-size: var(--fs-s); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: #fff; }
.site-footer .logo-mark::after { background: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer nav a { color: #d5dde3; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.copy { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #33424d; font-size: var(--fs-xs); color: #9fadb7; }

/* ---------- スマホ下部の固定CTA ---------- */
.sticky-cta { display: none; }

/* =========================================================
   高齢者・ご家族向けページ：文字を大きく、補足も濃く
   ========================================================= */
html.senior { font-size: 125%; }
.senior body { line-height: 2; }
.senior .sec-head p, .senior .qa-list dd, .senior .steps p, .senior .note, .senior .hero-lead, .senior .hero-sub, .senior .price-rules dd { color: var(--ink); }
.senior .btn { min-height: 58px; }
.senior .gnav { gap: 20px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .gnav { display: none; }
  .gnav.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .gnav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-grid; place-items: center; height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; font: 500 var(--fs-xs) var(--font); color: var(--ink); cursor: pointer; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .reserve-grid, .person { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .price-rules { grid-template-columns: 1fr; gap: 16px; }
  .person .photo { max-width: 360px; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-tel, .site-header .header-cta { display: none; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .trust li { padding: 18px 12px; }
  .steps { grid-template-columns: 1fr; }
  .combo { grid-template-columns: 1fr; }
  .combo .combo-price { grid-row: auto; }
  .safety { grid-template-columns: 1fr; }
  .senior-link { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .info-table th { width: 6.5em; }
  .sticky-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease;
  }
  .sticky-cta.is-shown { transform: none; }
  .sticky-cta .btn { flex: 1; min-height: 48px; padding: 0 12px; }
  .has-sticky-cta { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.safety-1col { grid-template-columns: 1fr; }
/* グリッドの子が長い語で横にはみ出さないように */
.hero .wrap > *, .split > *, .reserve-grid > *, .person > *, .menu-grid > * { min-width: 0; }
.senior .btn { white-space: normal; text-align: center; }
@media (max-width: 420px) { .logo-mark { display: none; } .senior .logo b { font-size: .9375rem; } .site-header .wrap { gap: 12px; } }
.hero-photo { grid-column: 1 / -1; }
.trust li:first-child { padding-left: 0; }
@media (max-width: 900px) { .trust li:nth-child(3) { padding-left: 0; } }
@media (max-width: 640px) { .senior .hero h1 { font-size: 1.625rem; } }
.senior .hero h1 { font-size: clamp(1.625rem, 3vw, 2.375rem); }
.senior .header-cta { white-space: nowrap; }
@media (max-width: 640px) { .senior .hero h1 { font-size: 1.5rem; } }

/* ---------- 高齢者メイン：ご利用の方の主な疾患 ---------- */
.disease-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.disease-grid > div { padding: 20px 20px 24px 0; border-bottom: 1px solid var(--line); }
.disease-grid > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.disease-grid h3 { font-size: var(--fs-m); margin-bottom: 6px; color: var(--primary); }
.disease-grid p { font-size: var(--fs-s); }
.menu-card .note { margin-top: -4px; }
@media (max-width: 900px) {
  .disease-grid { grid-template-columns: 1fr 1fr; }
  .disease-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .disease-grid { grid-template-columns: 1fr; }
  .disease-grid > div + div { padding-left: 0; border-left: 0; }
}
.sec-head > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .price-panel .row { grid-template-columns: 1fr; }
  .price-panel dt small { display: inline; margin-left: 8px; }
  .senior .hero h1 { font-size: 1.375rem; }
}

/* ---------- 入口：受け方で選ぶ（保険／自費） ---------- */
.route { padding-block: 8px clamp(40px, 6vw, 64px); }
.route-title { font-size: var(--fs-l); margin-bottom: 16px; }
.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.route-card {
  display: grid; gap: 6px; align-content: start; text-decoration: none; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); background: #fff;
  transition: border-color .15s, background-color .15s;
}
.route-card:hover { border-color: var(--primary); background: var(--primary-wash); }
.route-card.is-current { border-color: var(--primary); box-shadow: inset 4px 0 0 var(--primary); }
.route-for { font-size: var(--fs-s); color: var(--ink-soft); }
.route-card b { font-size: var(--fs-xl); line-height: 1.4; }
.route-desc { font-size: var(--fs-s); }
.route-go { margin-top: 8px; font-size: var(--fs-s); font-weight: 700; color: var(--primary); }
.route-card:not(.is-current) .route-go { text-decoration: underline; text-underline-offset: 4px; }
.route-card.is-current .route-go { color: var(--ink-soft); font-weight: 500; }
.route-help { margin-top: 16px; font-size: var(--fs-s); }
.route-help a { font-weight: 700; }

/* ---------- 保険が使えるかチェック ---------- */
.checker { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); }
.checker-progress { display: flex; gap: 6px; margin-bottom: 20px; }
.checker-progress li { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.checker-progress li.is-done { background: var(--primary); }
.checker-q { font-size: var(--fs-l); font-weight: 700; line-height: 1.6; }
.checker-list { margin-top: 12px; display: grid; gap: 6px; }
.checker-a { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.checker-a .btn { flex: 1 1 200px; }
.checker-label { font-size: var(--fs-l); font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.checker-reset { margin-top: 20px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: var(--fs-s); color: var(--primary); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.checker [hidden] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px) {
  .route-grid { grid-template-columns: 1fr; }
}
.hero-photo-band { padding-bottom: clamp(40px, 6vw, 64px); }
.hero-photo-band .hero-photo { margin-top: 0; }
.route { padding-top: 0; }
@media (max-width: 640px) {
  .route-card b { font-size: var(--fs-l); }
  .senior .trust ul { grid-template-columns: 1fr; }
  .senior .trust li:nth-child(n) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .senior .trust li:first-child { border-top: 0; }
}

/* =========================================================
   v7：スタッフ／お客様の声／訪問エリア／受付中表示
   ========================================================= */
.dummy-band { display: inline-block; margin-bottom: 20px; font-size: var(--fs-xs); font-weight: 700; color: #7a4b00; background: #fff4dc; border: 1px dashed #d9a441; border-radius: 4px; padding: 4px 12px; }

/* 受付中 */
.open-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: var(--fs-s); font-weight: 700; color: var(--ink-soft); }
.open-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9aa6af; flex: none; }
.open-status.is-open { color: var(--ok); }
.open-status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(47,107,79,.18); }
.open-status:empty { display: none; }

/* スタッフ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 var(--fs-s)/1 var(--font); padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.staff-count { margin: 14px 0 20px; font-size: var(--fs-xs); color: var(--ink-soft); }
.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.staff-grid li[hidden] { display: none; }
.staff-card { width: 100%; text-align: left; display: grid; gap: 4px; padding: 0 0 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s; }
.staff-card:hover { border-color: var(--primary); }
.staff-card > span:not(.photo) { padding-inline: 18px; }
.staff-photo { aspect-ratio: 4 / 3; border-radius: 0; margin-bottom: 12px; }
.staff-photo::after { font-size: 10px; }
.staff-role { font-size: var(--fs-xs); color: var(--ink-soft); }
.staff-name { font-size: var(--fs-l); font-weight: 700; }
.staff-lic { font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.6; }
.staff-more { margin-top: 8px; font-size: var(--fs-s); font-weight: 700; color: var(--primary); }

.staff-dialog { width: min(760px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--r); color: var(--ink); }
.staff-dialog::backdrop { background: rgba(20,33,43,.55); }
.staff-dialog-inner { display: grid; grid-template-columns: 5fr 7fr; position: relative; }
.staff-dialog-photo { border-radius: 0; min-height: 260px; }
.staff-dialog-body { padding: clamp(24px, 4vw, 36px); display: grid; gap: 12px; align-content: start; }
.staff-dialog-body h3 { font-size: var(--fs-xl); }
.staff-meta { margin: 0; display: grid; gap: 6px; font-size: var(--fs-s); }
.staff-meta div { display: grid; grid-template-columns: 6em 1fr; gap: 8px; }
.staff-meta dt { color: var(--ink-soft); }
.staff-message { font-size: var(--fs-s); padding: 14px 16px; background: var(--surface); border-radius: var(--r-s); }
.dialog-close { position: absolute; top: 10px; right: 10px; z-index: 1; font: 500 var(--fs-xs) var(--font); padding: 8px 12px; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .staff-dialog[open] { animation: dialogIn .22s ease-out; }
  @keyframes dialogIn { from { opacity: 0; transform: translateY(12px); } }
}

/* お客様の声 */
.voice-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.voice-head .sec-head { margin-bottom: 0; }
.slider-nav { display: flex; gap: 8px; }
.slider-btn { font: 700 var(--fs-s)/1 var(--font); padding: 12px 18px; border-radius: var(--r-s); border: 1.5px solid var(--primary); background: #fff; color: var(--primary); cursor: pointer; }
.slider-btn:disabled { border-color: var(--line); color: #9aa6af; cursor: default; }
.slider { margin-top: 28px; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); column-gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.slider-track::-webkit-scrollbar { display: none; }
.voice-card { scroll-snap-align: start; background: var(--surface); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); display: grid; gap: 12px; align-content: start; }
.voice-topic { justify-self: start; font-size: var(--fs-xs); font-weight: 700; color: var(--primary); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; }
.voice-text { font-size: var(--fs-m); }
.voice-who { font-size: var(--fs-xs); color: var(--ink-soft); }
.slider-dots { display: flex; justify-content: center; gap: 4px; margin-top: 16px; }
.slider-dot { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; position: relative; }
.slider-dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.slider-dot[aria-selected="true"]::after { background: var(--primary); width: 22px; border-radius: 5px; }

/* 訪問エリア */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.area-map svg { width: 100%; height: auto; display: block; }
.area-map path { fill: var(--surface); stroke: #fff; stroke-width: 4; cursor: pointer; transition: fill .2s; }
.area-map path:hover { fill: var(--primary-wash); }
.area-map path.is-active { fill: var(--primary); }
.area-label { font: 700 15px var(--font); fill: var(--ink); pointer-events: none; }
.area-label.is-active { fill: #fff; }
.area-base { fill: #d9a441; stroke: #fff; stroke-width: 3; pointer-events: none; }
.area-base-label { font: 700 12px var(--font); fill: var(--ink); pointer-events: none; }
.area-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tab { font: 700 var(--fs-s)/1.2 var(--font); padding: 10px 16px; border-radius: var(--r-s); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; }
.area-tab small { font-weight: 500; font-size: var(--fs-xs); color: var(--ink-soft); }
.area-tab[aria-selected="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.area-tab[aria-selected="true"] small { color: rgba(255,255,255,.85); }
.area-detail { margin-top: 20px; }
.area-detail-head { font-weight: 700; margin-bottom: 10px; }
.area-towns { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.area-towns li { font-size: var(--fs-s); padding: 4px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.area-towns li.is-hit { background: #fff4dc; border-color: #d9a441; font-weight: 700; }
.area-search { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.area-search label { font-weight: 700; font-size: var(--fs-s); }
.area-search-row { display: flex; gap: 8px; }
.area-search-row .input { flex: 1; min-width: 0; }
.area-result { font-size: var(--fs-s); min-height: 1.5em; }
.area-result.is-ok { color: var(--ok); font-weight: 700; }
.area-result.is-ask { color: #7a4b00; }

/* 見出しの表示アニメーション */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .staff-grid { grid-template-columns: 1fr 1fr; }
  .slider-track { grid-auto-columns: calc((100% - 16px) / 2); }
  .area-grid { grid-template-columns: 1fr; }
  .area-map { max-width: 420px; }
}
@media (max-width: 640px) {
  .staff-dialog-inner { grid-template-columns: 1fr; }
  .staff-dialog-photo { min-height: 180px; }
  .slider-track { grid-auto-columns: 86%; }
  .slider-nav { display: none; }
}
@media (max-width: 420px) {
  .staff-grid { grid-template-columns: 1fr; }
}
.slider-dot[hidden] { display: none; }
.staff-grid li { display: grid; } .staff-card { height: 100%; align-content: start; }

/* =========================================================
   v10：明るい青（v8ベース）
   v8から外したもの：見出し下の青×黄ライン、右端の浮いた電話タブ
   電話はヘッダーのアイコン付きボタン（v9から引き継ぎ）
   ========================================================= */
:root {
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --ink: #1b2a36;
  --ink-soft: #4a5866;
  --line: #d6e4ee;
  --surface: #eef6fc;
  --primary: #0b6aaf;        /* 文字・ボタン（白地で 5.68:1） */
  --primary-deep: #08558c;
  --primary-wash: #e3f1fb;
  --sky: #2da0d2;            /* 面・装飾だけに使う */
  --sun: #ffd23f;
  --sun-wash: #fff6d6;
  --ok: #1f7a4d;
  --r: 16px;
  --r-s: 10px;
}
body { letter-spacing: .03em; }
h1, h2, h3 { letter-spacing: .03em; }
.btn { border-radius: 999px; padding: 0 28px; }
.btn-primary { box-shadow: 0 4px 0 var(--primary-deep); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--primary-deep); }
.btn-ghost { border-width: 2px; }
.chip, .area-tab, .slider-btn, .opt-item span { border-radius: 999px; }
.input, .select, .textarea { border-radius: 12px; }
.logo-mark { background: var(--sky); }

/* ヘッダーの電話ボタン */
.ico { width: 18px; height: 18px; flex: none; }
.header-phone { gap: 8px; }
.header-tel { display: none; }
.site-header .btn-primary { box-shadow: 0 3px 0 var(--primary-deep); }
@media (max-width: 640px) { .site-header .header-phone { display: none; } }

/* ヒーロー：薄い空色の斜めストライプ＋黄色の丸バッジ */
.hero-bright { position: relative; background:
  repeating-linear-gradient(135deg, rgba(45,160,210,.07) 0 14px, transparent 14px 28px),
  linear-gradient(180deg, #f4faff 0%, #ffffff 85%); }
.hero-aside { position: relative; }
.hero-badge {
  position: absolute; top: -46px; right: -26px; z-index: 2; width: 112px; height: 112px; border-radius: 50%;
  background: var(--sun); color: var(--ink); display: grid; place-content: center; text-align: center;
  box-shadow: 0 0 0 6px #fff, 0 8px 20px rgba(11,106,175,.18); transform: rotate(-8deg); line-height: 1.3;
}
.hero-badge span { font-size: .8125rem; font-weight: 700; }
.hero-badge b { font-size: 1.5rem; line-height: 1.1; }
.price-panel { border: 2px solid var(--sky); box-shadow: 0 10px 30px rgba(11,106,175,.12); }
.price-panel h2 { background: var(--sky); color: #fff; border-bottom: 0; padding-right: 96px; }

/* 電話ボタン（番号つき） */
.btn-tel { gap: 14px; }
@media (max-width: 640px) {
  .btn-tel { flex-direction: column; gap: 0; min-height: 68px; line-height: 1.35; }
  .btn-tel span:last-child { font-size: 1.125em; letter-spacing: .04em; }
}

/* 写真枠を暖かい色に（本番は自然光・笑顔の写真） */
.photo { background: radial-gradient(120% 90% at 20% 10%, #fff7e0 0, transparent 60%), linear-gradient(135deg, #ffe9c7, #bfe3f5); }

/* 2択の入口 */
.route { padding-top: clamp(28px, 4vw, 48px); }
.route-card { border-width: 2px; }
.route-card.is-current { border-color: var(--sky); box-shadow: inset 6px 0 0 var(--sky); background: #f7fbff; }
.route-card:hover { border-color: var(--sky); }

/* 安心ポイント：丸アイコン */
.trust { background: #fff; border-color: var(--line); }
.trust li { justify-items: start; }
.trust-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--surface); color: var(--primary); display: grid; place-items: center; margin-bottom: 6px; border: 2px solid #cfe7f5; }
.trust-icon svg { width: 26px; height: 26px; }

/* カード類を丸く・軽い影で浮かせる */
.menu-card, .staff-card, .checker, .form, .price-panel, .senior-link { border-radius: var(--r); }
.menu-card, .staff-card, .checker, .form { box-shadow: 0 6px 20px rgba(11,106,175,.07); }
.voice-card { background: #fff; border: 2px solid #d9ecf8; }
.voice-topic { background: var(--sun-wash); border-color: #f3dd8a; color: #6b4e00; }
.chip[aria-pressed="true"], .area-tab[aria-selected="true"] { background: var(--sky); border-color: var(--sky); color: #08324f; }
.area-tab[aria-selected="true"] small { color: #08324f; }
.area-map path.is-active { fill: var(--sky); }
.area-base { fill: var(--sun); }
.disease-grid { border-top-color: var(--sky); }
.disease-grid > div { background: #fff; }
.steps li { border-top-color: var(--sky); border-top-width: 4px; }
.steps li::before { width: 32px; height: 32px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: var(--fs-s); }
.price-rules div { border-top-color: var(--sky); }
.checker-progress li.is-done { background: var(--sky); }
.combo { background: linear-gradient(120deg, var(--primary) 0%, #1b8fcf 100%); border-radius: var(--r); }
.dummy-band { border-radius: 999px; padding: 4px 16px; }
.site-footer { background: #0b4f80; }
.copy { border-top-color: rgba(255,255,255,.2); }

@media (max-width: 900px) {
  .hero-badge { top: -30px; right: 8px; width: 92px; height: 92px; }
  .hero-badge b { font-size: 1.25rem; }
}
@media (max-width: 640px) {
  .trust-icon { width: 44px; height: 44px; }
}

/* ロゴ（公式）：画像に差し替え */
html { scroll-padding-top: 96px; }
.site-header .wrap { height: 80px; }
.logo img { display: block; height: 58px; width: auto; }
.site-footer .logo { display: inline-flex; background: #fff; border-radius: 16px; padding: 10px 18px; margin-right: 0; }
.site-footer .logo img { height: 48px; }
@media (max-width: 640px) {
  .site-header .wrap { height: 68px; }
  .logo img { height: 44px; }
}
@media (max-width: 380px) { .logo img { height: 40px; } }

/* 受付時間外：最初の画面ではやわらかく案内する */
.open-status.is-soft { font-weight: 500; color: var(--ink); display: block; }
.open-status.is-soft::before { display: none; }
.open-status.is-soft a { color: var(--primary); font-weight: 700; text-underline-offset: 4px; }

/* フォーム：プライバシーポリシーへの同意 */
.agree { display: flex; align-items: flex-start; gap: 12px; font-weight: 700; font-size: var(--fs-s); cursor: pointer; }
.agree input { width: 24px; height: 24px; margin: 3px 0 0; flex: none; accent-color: var(--primary); cursor: pointer; }
.agree a { color: var(--primary); text-underline-offset: 4px; }
.agree a small { font-size: .8em; font-weight: 500; }
.agree input:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* プライバシーポリシー */
.policy { max-width: 46em; }
.policy-lead { margin-top: 16px; }
.policy section { margin-top: 48px; }
.policy h2 { font-size: var(--fs-xl); padding-bottom: 10px; border-bottom: 2px solid var(--primary-wash); margin-bottom: 14px; }
.policy p + p, .policy p + ul, .policy ul + p { margin-top: 12px; }
.policy ul { padding-left: 1.4em; display: grid; gap: 6px; }
.policy ul li { list-style: disc; }
.policy .info-table { margin-top: 8px; }
.policy-date { margin-top: 56px; text-align: right; color: var(--ink-soft); }
.req { white-space: nowrap; display: inline-block; }

/* レスポンシブ総点検（タップしやすさ・最小文字・メニュー位置） */
.req { font-size: .75rem; }
.slider-dot { width: 44px; height: 44px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer nav { gap: 0 24px; }
.agree a { display: inline; }
@media (max-width: 1240px) {
  .gnav.is-open { top: 100%; max-height: calc(100dvh - 80px); overflow-y: auto; box-shadow: 0 12px 24px rgba(20,33,43,.08); }
  .gnav.is-open a { min-height: 52px; display: flex; align-items: center; font-size: var(--fs-m); }
  .menu-btn { height: 44px; min-width: 76px; }
}
/* 日本語の見出しを文節で改行（対応ブラウザのみ。非対応でも従来どおり） */
h1, h2, h3, .checker-q, .route-card b, summary { word-break: auto-phrase; text-wrap: pretty; }
/* 受付状況：複数行でも点が1行目にそろうように */
.open-status { align-items: flex-start; }
.open-status::before { margin-top: .6em; }
/* 料金表：せまい画面では項目名の下に金額 */
@media (max-width: 480px) {
  .senior .price-table tr { display: grid; grid-template-columns: 1fr; padding-block: 4px; }
  .senior .price-table th, .senior .price-table td { border: 0; padding-block: 2px; }
  .senior .price-table tr + tr { border-top: 1px solid var(--line); }
  .senior .price-table td { text-align: left; }
}

/* パンくず */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-block: 6px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.breadcrumb li + li::before { content: "›"; color: var(--ink-soft); }
.breadcrumb a { color: var(--primary); display: inline-flex; align-items: center; min-height: 40px; text-underline-offset: 4px; }
.policy-title { font-size: var(--fs-2xl); }
picture { display: contents; }
