@charset "UTF-8";

/* =========================================================
   インソールLP  style.css
   S2: リセット + CSS変数 + LP専用ヘッダー/フッター
   （S3〜S5 で各セクションのスタイルを追記）
   ========================================================= */

/* ---------- CSS変数（ブランド実測値：themes/clinic） ---------- */
:root {
  --color-primary:   #00909f; /* 見出し・CTA・比較表ヘッダー・CTA帯 */
  --color-primary-d: #007683; /* primary の濃色（hover等） */
  --color-accent:    #ffbe00; /* 差し色。使用は最小限 */
  --color-text:      #333333; /* 本文 */
  --color-text-mut:  #6b7a7c; /* 補足テキスト */
  --color-white:     #ffffff;

  --bg-mint-1: #f2f8f8;
  --bg-mint-2: #e5f4f5;
  --bg-mint-3: #deeeef;
  --border:    #d9e5e6;

  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
               Meiryo, sans-serif;

  --header-h: 64px;
  --container: 1080px;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 144, 159, 0.10);

  --bg-gray: #f4f7f7;   /* 料金セクション用・淡グレー */

  /* セクション上下パディング（面境界=大 / 通常=中 / 密接=小）。モバイルは clamp で自動縮小 */
  --pad-lg: clamp(72px, 9vw, 120px);
  --pad-md: clamp(52px, 6.5vw, 80px);
  --pad-sm: clamp(40px, 5vw, 56px);
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.75;
  background: var(--color-white);
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
button { font-family: inherit; cursor: pointer; }

/* ---------- 共通ユーティリティ ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: opacity .2s, background-color .2s, color .2s;
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}
.btn--primary:hover { background: var(--color-primary-d); border-color: var(--color-primary-d); }
.btn--outline {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover { background: var(--bg-mint-2); }

/* =========================================================
   ヘッダー（LP専用・図1）
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo img { display: block; width: auto; height: 40px; }

.global-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.global-nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
}
.global-nav__list a {
  font-weight: 500;
  color: var(--color-text);
  padding: 4px 2px;
  transition: color .2s;
}
.global-nav__list a:hover { color: var(--color-primary); }
.site-header__cta { padding: 10px 20px; font-size: .95rem; }
.site-header__tel { display: none; gap: 8px; } /* PCヘッダーには出さない（SPメニュー内のみ） */

/* ハンバーガー（モバイル用・既定は非表示） */
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
}
.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--color-primary);
  transition: transform .25s, opacity .25s;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   フッター（LP専用・図4）
   ========================================================= */
.site-footer {
  background: #fff;
  color: var(--color-text);
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.site-footer__logo {
  /* header_logo.png は色付きロゴ。淡色フッター地に載せる */
  height: 48px;
  width: auto;
}
.site-footer__contact { font-size: .95rem; }
.site-footer__copy { font-size: .875rem; opacity: .7; margin-top: 6px; }

/* =========================================================
   レスポンシブ（ヘッダー／フッター）
   ※ 各セクションのレスポンシブは S6 でまとめて調整
   ========================================================= */
@media (max-width: 768px) {
  .site-header__toggle { display: flex; }

  .global-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px 20px 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .global-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .global-nav__list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
  }
  .site-header__cta { margin-top: 14px; align-self: stretch; }
  .site-header__tel { display: inline-flex; align-items: center; justify-content: center; margin-top: 10px; align-self: stretch; }
}

/* =========================================================
   S3〜S5 セクション共通
   ========================================================= */
section { padding: var(--pad-md) 0; }
/* 面が変わる境界＝大きめの余白でリズムを作る（流れ） */
.flow { padding: var(--pad-lg) 0; }
/* フッター上CTAは詰める */
.cta { padding: clamp(36px, 4.5vw, 56px) 0; }

.sec-eyebrow {
  text-align: center;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.125rem; /* 18px */
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.sec-title {
  text-align: center;
  font-size: clamp(1.35rem, 3.8vw, 1.8rem); /* 少し小さく（共通見出し） */
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 36px;
}
.sec-title--center { margin-bottom: 40px; }
.band-title {
  display: block;
  width: fit-content;
  margin: 0 auto 32px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 999px;
}
.note {
  margin-top: 20px;
  text-align: center;
  font-size: .85rem;
  color: var(--color-text-mut);
  line-height: 1.7;
}

/* プレースホルダー */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-mut);
  font-size: .875rem;
  line-height: 1.5;
  background: repeating-linear-gradient(45deg, #f6fafa, #f6fafa 10px, #eef5f5 10px, #eef5f5 20px);
  border: 1px dashed #b9d2d4;
  border-radius: 10px;
  padding: 10px;
}
.ph--icon { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto; }
.ph--photo { aspect-ratio: 4 / 3; width: 100%; }
.ph--hero { aspect-ratio: 4 / 3; width: 100%; min-height: 220px; }

/* カードグリッド */
.card-grid { display: grid; gap: 20px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* 料金ボックス（ヒーロー内＋料金セクション共通） */
.price-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  padding: 14px 28px;
}
.price-box__cap {
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 3px 16px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.price-box__amount { font-size: 2.2rem; font-weight: 800; color: var(--color-primary); line-height: 1.1; }
.price-box__unit { font-size: 1rem; font-weight: 700; }
.price-box__note { font-size: .875rem; color: var(--color-text-mut); margin-top: 4px; }
.price-box--lg { display: flex; width: min(520px, 100%); margin: 0 auto; padding: 26px; background: var(--color-primary); border-color: var(--color-primary); }
.price-box--lg .price-box__cap { background: rgba(255,255,255,.22); }
.price-box--lg .price-box__amount, .price-box--lg .price-box__unit { color: #fff; }
.price-box--lg .price-box__amount { font-size: 2.6rem; }
.price-box--lg .price-box__note { color: rgba(255,255,255,.9); }

/* =========================================================
   4-1 ヒーロー
   ========================================================= */
.hero {
  /* #1 背景グリーン削除（白地に） */
  background: #fff;
  padding: 48px 0;
}
.hero__inner { display: grid; grid-template-columns: 0.9fr 1.15fr; gap: 40px; align-items: center; }
.hero__badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero__title { font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.hero__lead { font-size: .98rem; margin-bottom: 22px; max-width: 30em; }
/* #2 料金ボックスの横幅を拡大 */
/* KV料金：背景なし・左寄せ・数字を大きくCTAのオレンジで */
.hero__price { margin-bottom: 22px; }
.hero__price.price-box { background: transparent; border: 0; padding: 0; align-items: flex-start; }
.hero__price .price-box__cap { background: transparent; color: var(--color-text); padding: 0; margin-bottom: 2px; font-size: 1rem; }
.hero__price .price-box__amount { color: var(--color-accent); font-size: 4.2rem; }
.hero__price .price-box__unit { color: var(--color-accent); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__actions .btn { flex: 1 1 auto; min-width: 200px; max-width: 420px; }

/* KV直下 CTA帯（PlusOne参考：色付き全幅帯＋＼ラベル／＋大ピルボタン2つ） */
.price-cta-band { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-d) 100%); padding: clamp(40px, 6vw, 60px) 0; }
.band__inner { display: flex; align-items: flex-end; justify-content: center; gap: 40px; flex-wrap: wrap; }
.band__cta { display: flex; flex-direction: column; align-items: center; }
.band__label { display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 12px; }
.band__label::before { content: "＼"; }
.band__label::after { content: "／"; }
.band__cta .btn-lg { min-width: 360px; }
/* 帯上の見出し（32px・「です。」で改行） */
.band__headline { text-align: center; color: #fff; font-weight: 800; font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.5; margin-bottom: 30px; }
/* 帯下の住所・診療時間 */
.band__info { text-align: center; color: #fff; margin-top: 28px; }
.band__addr { font-size: 1rem; line-height: 1.8; }
.band__hours { font-size: 1rem; line-height: 1.9; margin-top: 6px; opacity: .95; }
/* 帯の上のボタン配色（電話＝白 / 予約＝ゴールド） */
.price-cta-band .btn-lg--phone { background: #fff; color: #000; border: 0; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.22); }
.price-cta-band .btn-lg--phone .btn-lg__ic { background: #000; color: #fff; }
.price-cta-band .btn-lg--primary { background: var(--color-accent); color: #fff; box-shadow: 0 5px 0 #a87900; }
.price-cta-band .btn-lg--primary:hover { background: var(--color-accent); opacity: .85; }
.price-cta-band .btn-lg--primary .btn-lg__ic { background: #fff; color: var(--color-accent); }
/* 押した時に沈む（立体感） */
.price-cta-band .btn-lg:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.22); }
.price-cta-band .btn-lg--primary:active { box-shadow: 0 2px 0 #a87900; }

/* KV 大ボタン（COCOマーケ参考：＼ラベル／＋大ボタン） */
.hero__cta { display: flex; flex-direction: column; gap: 18px; max-width: 460px; margin-bottom: 22px; }
.hero__cta-label {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-weight: 700; font-size: .92rem; color: var(--color-text); margin-bottom: 8px;
}
.hero__cta-label::before { content: "＼"; color: var(--color-primary); font-weight: 800; }
.hero__cta-label::after  { content: "／"; color: var(--color-primary); font-weight: 800; }
.btn-lg {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 20px 30px;
  border-radius: 999px; font-size: 1.25rem; font-weight: 800; line-height: 1.2;
  position: relative; transition: opacity .2s, background-color .2s;
}
.btn-lg--primary { background: var(--color-primary); color: #fff; }
.btn-lg--primary:hover { background: var(--color-primary-d); }
.btn-lg--phone { background: #fff; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-lg--phone:hover { background: var(--bg-mint-2); }
.btn-lg--phone .icon--inline { width: 1.3em; height: 1.3em; }
/* 右端の丸アイコン（›） */
.btn-lg__ic {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.22); font-size: 1.3rem; line-height: 1;
}
/* ＞グリフの視覚的な下ズレを補正 */
.btn-lg__ic { padding-bottom: 3px; box-sizing: border-box; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .875rem;
  font-weight: 600;
}
.hero__visual { width: 100%; }

/* =========================================================
   4-2 お悩み / 4-3 特長
   ========================================================= */
/* =========================================================
   診療時間・アクセス（KV直下・shin-tokyo-station 参考）
   ========================================================= */
.access { background: var(--bg-mint-2); } /* お悩みと同じ背景色 */
.access__card {  /* 情報＋マップを白カードで囲む */
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.access__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.access__info .sec-eyebrow, .access__info .sec-title { text-align: left; }
.access__info .sec-title { margin-bottom: 24px; }
.access__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* shin-tokyo-station 風：塗りなし・横罫線のみのミニマル表 */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td {
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 14px 6px;
  text-align: center;
  font-size: 1rem;
}
.hours-table thead th { background: transparent; color: var(--color-text); font-weight: 700; }
.hours-table__ttl { min-width: 108px; text-align: left; }
.hours-table__time { background: transparent; font-weight: 700; white-space: nowrap; text-align: left; }
.hours-table .is-sat { color: var(--color-primary); }
.hours-table .is-sun { color: #c96a6a; }
.hours-table .mk-o { color: var(--color-primary); font-weight: 700; }
.hours-table .mk-x { color: #b8c2c2; }
.access__note { margin-top: 12px; font-size: .875rem; color: var(--color-text-mut); line-height: 1.8; }
.access__meta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.access__meta div { display: flex; gap: 12px; align-items: baseline; }
.access__meta dt {
  flex-shrink: 0; width: 64px;
  font-size: .875rem; font-weight: 700; color: #fff;
  background: var(--color-primary); border-radius: 4px;
  text-align: center; padding: 3px 0;
}
.access__meta dd { font-size: .92rem; line-height: 1.7; }
.access__meta a { color: var(--color-primary); font-weight: 700; }
.access__addr { font-size: .95rem; line-height: 1.8; }
.access__map { position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 300px; }
.access__map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; border-radius: var(--radius);
}

/* ---- お悩み：サムネイル＋テキストの2列カード（shin-tokyo-station 参考） ---- */
.worry { background: #fff; }
.worry .sec-title { margin-bottom: 44px; }
.worry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 48px; }
.wcard__thumb { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 18px; border-radius: 8px; }
.wcard__no { font-size: 1.15rem; font-weight: 700; letter-spacing: .06em; color: var(--color-primary); margin-bottom: 6px; }
.wcard__title { font-size: 1.3rem; font-weight: 700; line-height: 1.5; }

/* ---- （旧）お悩みスプリット：現在は特長セクションが流用 ---- */
.worry__inner { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: center; }
.worry__visual .ph--photo { aspect-ratio: 4 / 5; height: auto; }
.worry__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.worry__body .sec-eyebrow, .worry__body .sec-title { text-align: left; }
.worry__body .sec-title { margin-bottom: 40px; }   /* Figma: ヘッダー下 64px 相当 */
.worry__list { display: flex; flex-direction: column; gap: 12px; }
.worry-item {
  border-bottom: 1px solid #d5d5d5;   /* Figma の区切り線（最終項目にも入れる） */
  padding-bottom: 12px;
}
.worry-item__no {
  font-size: 1rem; font-weight: 700; letter-spacing: .06em;
  color: var(--color-primary); margin-bottom: 8px;
}
.worry-item__title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.3rem; font-weight: 700; letter-spacing: .02em; line-height: 1.4;
}
.worry-item__title .icon { width: 28px; height: 28px; background-color: var(--color-primary); flex-shrink: 0; }

/* ---- 特長：お悩みと同じスプリット型（画像＋番号付きリスト）。淡ミント背景 ---- */
.features { background: var(--bg-mint-2); }
.features .worry__body .sec-eyebrow, .features .worry__body .sec-title { text-align: left; }
.fcard {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
.fcard__label { margin-top: 14px; font-weight: 700; font-size: .95rem; line-height: 1.5; }

/* =========================================================
   4-5 作製の流れ：ジグザグ（写真＋重なりカード／How to enjoy 参考）
   ========================================================= */
.flow { background: #fff; }
.flow-zz { display: flex; flex-direction: column; gap: 44px; max-width: 800px; margin: 0 auto; }
.flow-zz__item { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.flow-zz__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.flow-zz__card {
  position: relative; z-index: 2;
  background: rgba(255, 255, 255, 0.72);   /* 透過（すりガラス風） */
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 26px 30px;
  margin-left: -60px;
}
.flow-zz__no { color: var(--color-primary); font-weight: 800; font-size: 1rem; letter-spacing: .08em; margin-bottom: 10px; }
.flow-zz__title {
  font-size: 1.15rem; font-weight: 800; line-height: 1.45;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 2px solid var(--color-primary);
}
.flow-zz__desc { font-size: .9rem; color: var(--color-text-mut); line-height: 1.9; }
.flow .note { text-align: left; max-width: 800px; margin-inline: auto; }

/* =========================================================
   4-6 適応疾患
   ========================================================= */
.disease { background: var(--bg-mint-2); }
.disease__lead { text-align: center; font-size: .88rem; color: var(--color-text-mut); margin: -22px 0 34px; }
.dcard { background: #fafafa; border-radius: var(--radius); padding: 12px 18px; text-align: center; box-shadow: var(--shadow); }
.dcard__icon { display: block; width: 120px; height: 120px; object-fit: contain; margin: 0 auto; }
.dcard__title { margin: 14px 0 10px; font-size: 0.85rem; font-weight: 800; color: var(--color-primary); line-height: 1.4; }
.nowrap { white-space: nowrap; }
.dcard__list { font-size: .84rem; color: var(--color-text); line-height: 1.9; }

/* =========================================================
   4-7 比較表
   ========================================================= */
.compare { background: #fff; }
.compare__lead { text-align: center; max-width: 40em; margin: -22px auto 30px; font-size: .92rem; }
.compare__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__round { display: inline-block; min-width: 100%; vertical-align: top; border-radius: var(--radius); overflow: hidden; }
.ctable { width: 100%; min-width: 640px; border-collapse: collapse; margin: 0 auto; }
.ctable th, .ctable td { border: 1px solid var(--border); padding: 14px 16px; text-align: center; vertical-align: middle; font-size: .9rem; }
.ctable thead th { vertical-align: top; padding: 18px 16px; }
/* コーナーセル（左上・作製者の上）は上・左の線を消す（詳細度を .ctable th 以上に） */
.ctable th.ctable__corner { background: #fff; border: 0; }
.ctable tbody th[scope="row"] { background: #fff; font-weight: 700; width: 22%; }
.ctable__tag { display: inline-block; width: 132px; box-sizing: border-box; text-align: center; background: var(--color-primary); color: #fff; font-size: .62rem; font-weight: 700; padding: 3px 0; border-radius: 999px; margin-bottom: 8px; }
.ctable__tag--gray { background: #9aa7a8; }
.ctable__name { display: block; font-weight: 800; font-size: 1rem; }
.ctable__sub { display: block; font-size: .78rem; color: var(--color-text-mut); margin-top: 4px; font-weight: 400; }
/* 当院ヘッダー：強調枠を当院のインソールの上まで通す（詳細度を .ctable th 以上に） */
.ctable th.ctable__own { background: var(--bg-mint-2); border: 3px solid var(--color-primary); border-bottom: 1px solid var(--border); }
.ctable td.is-own { background: rgba(0,144,159,.06); border-left: 3px solid var(--color-primary); border-right: 3px solid var(--color-primary); font-weight: 600; }
.ctable tbody tr:last-child td.is-own { border-bottom: 3px solid var(--color-primary); }

/* =========================================================
   4-8 料金
   ========================================================= */
/* 濃ティール地（元のまま）＋白背景ボックスで囲む（料金だけオレンジ・箱内は黒字） */
.price { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-d) 100%); }
.price .sec-eyebrow, .price .sec-title { text-align: left; color: #fff; }
.price .sec-title { margin-bottom: 28px; }
.pricelist { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 28px; }
.pricelist__row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 0;
}
.pricelist__row:not(:last-child) { border-bottom: 1px solid var(--border); }
.pricelist__name { font-size: 1.2rem; font-weight: 700; color: var(--color-text); }
.pricelist__name small { display: block; margin-top: 4px; font-size: 1rem; font-weight: 400; color: var(--color-text-mut); }
.pricelist__price { flex-shrink: 0; font-size: 3.7rem; font-weight: 800; color: var(--color-accent); white-space: nowrap; letter-spacing: .01em; line-height: 1.1; }
.pricelist__price small { font-size: 1rem; font-weight: 700; }
.price__notes { max-width: none; margin: 20px auto 0; padding: 0 4px; }
.price__notes li { font-size: .85rem; color: rgba(255,255,255,.85); line-height: 1.9; }

/* =========================================================
   4-10 FAQ
   ========================================================= */
.container--narrow { max-width: 920px; }
.faq { background: #fff; }
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq__item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; gap: 16px; background: #fff; border: 0; padding: 26px 30px; text-align: left; font-weight: 700; font-size: 1.15rem; color: var(--color-text); }
.faq__q-mark { flex-shrink: 0; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; border-radius: 6px; font-size: 1.05rem; }
.faq__q-text { flex: 1; }
.faq__toggle { flex-shrink: 0; position: relative; width: 16px; height: 16px; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; background: var(--color-primary); transition: transform .25s; }
.faq__toggle::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq__toggle::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq__item.is-open .faq__toggle::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__item.is-open .faq__a { max-height: 700px; }
.faq__a p { padding: 0 30px 26px; font-size: 1.05rem; color: var(--color-text); line-height: 1.95; }

/* =========================================================
   4-11 CTA
   ========================================================= */
.cta { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-d) 100%); color: #fff; text-align: center; }
.cta__eyebrow { letter-spacing: .16em; font-size: .72rem; font-weight: 700; opacity: .9; margin-bottom: 10px; }
.cta__title { font-size: clamp(1.5rem, 5vw, 2.1rem); font-weight: 800; margin-bottom: 14px; }
.cta__lead { font-size: .95rem; opacity: .95; margin-bottom: 26px; }
.cta__tel { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--color-primary); font-size: 1.6rem; font-weight: 800; padding: 14px 40px; border-radius: 999px; margin-bottom: 18px; }
.cta__addr, .cta__hours { font-size: 1rem; opacity: .95; line-height: 1.9; }
.cta__addr { margin-bottom: 6px; }

/* =========================================================
   S6 レスポンシブ（セクション）
   ========================================================= */
@media (max-width: 1024px) {
  .flow-zz__card { padding: 28px 30px; margin-left: -48px; }
}
@media (max-width: 768px) {
  .hero { padding: 36px 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__body { min-width: 0; }
  /* SP：KV画像は料金の下（左右に余白＋角丸を残す） */
  .hero__visual { order: 0; }
  .hero__img { border-radius: 16px; }
  /* SP オーバーフロー防止：グリッド/フレックス子要素を縮小可能に */
  .worry__inner, .access__inner { grid-template-columns: minmax(0, 1fr); }
  .worry__body, .worry__visual, .band__cta, .access__info { min-width: 0; }
  .hero__actions .btn { min-width: 0; width: 100%; }
  /* 料金帯：縦積み（料金→予約） */
  .band__inner { flex-direction: column; gap: 20px; }
  .band__cta, .band__cta .btn-lg { width: 100%; min-width: 0; }
  /* SP：CTA帯のラベル（吹き出し）・住所を小さく */
  .band__label { font-size: .82rem; gap: 8px; }
  .band__addr, .band__hours { font-size: .82rem; }
  .btn-lg { font-size: 1.05rem; }
  /* SP：FAQを少し小さく */
  .faq__q { font-size: .95rem; padding: 18px 18px; gap: 12px; }
  .faq__q-mark { width: 28px; height: 28px; font-size: .9rem; }
  .faq__a p { font-size: .9rem; padding: 0 18px 18px; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  /* アクセス→縦積み（情報→地図） */
  .access__card { padding: 20px; }
  .access__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .access__map { aspect-ratio: 3 / 2; min-height: 260px; }
  /* SP：診療時間表を確実に全8列収める（固定レイアウト） */
  .hours-table { table-layout: fixed; width: 100%; }
  .hours-table th, .hours-table td { padding: 9px 0; font-size: .74rem; }
  .hours-table__ttl { width: 74px; min-width: 0; text-align: center; }
  .hours-table__time { font-size: .64rem; text-align: center; }
  .access__note { font-size: .78rem; }
  /* SP：比較表はスクロールせず全3列を収める */
  .ctable { min-width: 0; }
  .ctable th, .ctable td { padding: 8px 5px; font-size: .7rem; }
  .ctable thead th { padding: 12px 5px; }
  .ctable__name { font-size: .8rem; }
  .ctable__sub { font-size: .62rem; margin-top: 2px; }
  .ctable__tag { width: auto; font-size: .56rem; padding: 2px 8px; margin-bottom: 6px; }
  .ctable tbody th[scope="row"] { width: 22%; font-size: .68rem; }
  /* お悩みカード：1列 */
  .worry-grid { grid-template-columns: 1fr; gap: 32px; }
  /* （特長が流用する）スプリット→縦積み */
  .worry__inner { grid-template-columns: 1fr; gap: 28px; }
  .worry__visual .ph--photo { aspect-ratio: 16 / 10; }
  .worry__body .sec-title { margin-bottom: 28px; }
  /* 流れジグザグ：縦積み（写真→カード少し重ね） */
  .flow-zz { gap: 36px; }
  .flow-zz__item, .flow-zz__item:nth-child(even) { grid-template-columns: 1fr; }
  .flow-zz__item:nth-child(even) .flow-zz__photo { order: 0; }
  .flow-zz__card,
  .flow-zz__item:nth-child(even) .flow-zz__card {
    order: 0; margin: -32px 16px 0; padding: 24px 24px;
  }
}
@media (max-width: 520px) {
  .card-grid--4 { grid-template-columns: 1fr 1fr; }
  .cta__tel { font-size: 1.3rem; padding: 12px 26px; }
  /* 料金の金額：モバイルで大きすぎないよう調整 */
  .hero__price .price-box__amount { font-size: 3rem; }
  .pricelist__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .pricelist__price { font-size: 2.5rem; }
}

/* =========================================================
   アイコン差し込み（Lucide SVG を CSS mask でティール単色化）
   ローカル icons/ を相対参照・色は var(--color-primary)
   ========================================================= */
.icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 144, 159, 0.12);
}
.icon-box--mint { background: #fff; box-shadow: none; }
/* カードは二段の箱にしない：内側アイコン箱を消し、最背面のカードのみ残す（お悩み・特長・適応疾患） */
.worry .icon-box--mint,
.features .icon-box,
.disease .icon-box { background: transparent; box-shadow: none; }

.icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.icon--inline { width: 1.4em; height: 1.4em; vertical-align: -0.25em; background-color: currentColor; }

.icon--footprints          { -webkit-mask-image: url(../icons/footprints.svg);          mask-image: url(../icons/footprints.svg); }
.icon--person-standing     { -webkit-mask-image: url(../icons/person-standing.svg);     mask-image: url(../icons/person-standing.svg); }
.icon--activity            { -webkit-mask-image: url(../icons/activity.svg);            mask-image: url(../icons/activity.svg); }
.icon--zap                 { -webkit-mask-image: url(../icons/zap.svg);                 mask-image: url(../icons/zap.svg); }
.icon--wrench              { -webkit-mask-image: url(../icons/wrench.svg);              mask-image: url(../icons/wrench.svg); }
.icon--sliders-horizontal  { -webkit-mask-image: url(../icons/sliders-horizontal.svg); mask-image: url(../icons/sliders-horizontal.svg); }
.icon--heart-handshake     { -webkit-mask-image: url(../icons/heart-handshake.svg);     mask-image: url(../icons/heart-handshake.svg); }
.icon--bone                { -webkit-mask-image: url(../icons/bone.svg);                mask-image: url(../icons/bone.svg); }
.icon--baby                { -webkit-mask-image: url(../icons/baby.svg);                mask-image: url(../icons/baby.svg); }
.icon--phone               { -webkit-mask-image: url(../icons/phone.svg);               mask-image: url(../icons/phone.svg); }

/* 作製の流れ 写真（先方pptx院内実写） */
.fstep__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

/* ヒーロー画像：正方形にせず全体表示（左右を切らない）・角丸（PC/SP共通） */
.hero__visual { position: relative; }
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* #5 ヒーローの実績バッジ：単色線アイコン（ティール） */
.hero__points .icon.hero__points-ic {
  width: 18px;
  height: 18px;
  background-color: var(--color-primary);
}
.icon--map-pin        { -webkit-mask-image: url(../icons/map-pin.svg);        mask-image: url(../icons/map-pin.svg); }
.icon--calendar-days  { -webkit-mask-image: url(../icons/calendar-days.svg);  mask-image: url(../icons/calendar-days.svg); }
