/* claude-sales.css — 2026-09-29 v2 売り込み層（S1〜S7）。codex-polish.css の後に読み込む。原本CSSは無編集。 */
:root{ --sale:#c8501f; --sale-bg:#fff4ee; }
.sales-title{ font-family:var(--serif); font-weight:500; font-size:22px; color:var(--ink); margin:0 0 6px; }
.sales-sub{ margin:0 0 16px; font-size:15px; color:var(--muted-strong,#4f6a6c); }
.need-check{ display:inline-block; font-size:12px; font-weight:700; color:#fff; background:var(--sale); border-radius:4px; padding:2px 8px; vertical-align:middle; margin-left:6px; letter-spacing:.04em; }
.button.sale{ background:var(--deep); color:#fff; border:1px solid var(--deep); }
.button.sale:hover{ background:#0f5c5e; }

/* S1 オファー帯 */
.offer-strip{ background:linear-gradient(90deg,#146e71,#008f87); color:#fff; padding:22px 0; }
.offer-strip .offer-inner{ display:grid; grid-template-columns:1fr auto; gap:18px 28px; align-items:center; }
.offer-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:0; padding:0; list-style:none; }
.offer-list li{ background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.35); border-radius:6px 18px 6px 6px; padding:12px 14px; display:grid; gap:2px; }
.offer-list b{ font-size:17px; line-height:1.3; }
.offer-list small{ font-size:13px; opacity:.92; }
.offer-cta{ display:flex; flex-direction:column; gap:10px; min-width:240px; }
.offer-cta .button{ justify-content:center; font-size:15.5px; padding:14px 18px; }
.offer-cta .button.solid{ background:#fff; color:var(--deep); border-color:#fff; }
.offer-cta .button.line{ background:#06c755; border-color:#06c755; color:#fff; }
.offer-note{ margin:10px 0 0; font-size:13px; opacity:.9; }

/* S2 放置 vs 治療開始 */
.timeline-5y{ background:#fff; border:1px solid var(--line); border-radius:6px 30px 6px 6px; padding:22px; margin:22px 0 0; }
.timeline-5y h4{ margin:0 0 4px; font-size:18px; color:var(--ink); }
.timeline-5y .tl-note{ margin:0 0 16px; font-size:14px; color:var(--muted-strong,#4f6a6c); }
.tl-rows{ display:grid; gap:12px; }
.tl-row{ display:grid; grid-template-columns:110px 1fr; gap:12px; align-items:center; }
.tl-row .tl-label{ font-weight:700; font-size:14px; color:var(--ink); }
.tl-row.bad .tl-label{ color:#8a3b1c; }
.tl-row.good .tl-label{ color:var(--deep); }
.tl-track{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.tl-track span{ display:block; text-align:center; font-size:13px; padding:10px 6px; border-radius:6px; line-height:1.5; }
.tl-row.bad .tl-track span{ background:#fbe9e0; color:#6f2f14; }
.tl-row.good .tl-track span{ background:var(--pale); color:var(--ink); }
.tl-row.good .tl-track span b{ color:var(--deep); }
.tl-axis{ display:grid; grid-template-columns:110px 1fr; gap:12px; }
.tl-axis div{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; font-size:12px; color:var(--muted-strong,#4f6a6c); text-align:center; }

/* S3 選ばれる理由6 */
.why-six{ margin:22px 0 0; }
.why-six .why6-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.why6-item{ background:var(--pale); border-radius:6px 24px 6px 6px; padding:16px 16px 14px; display:grid; grid-template-columns:34px 1fr; gap:10px; align-items:start; }
.why6-item svg{ width:28px; height:28px; stroke:var(--deep); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.why6-item h4{ margin:0 0 4px; font-size:15.5px; color:var(--ink); }
.why6-item p{ margin:0; font-size:14px; color:var(--muted-strong,#4f6a6c); }

/* S4 特典 */
.perks{ margin:22px 0 0; }
.perks-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.perk{ background:var(--sale-bg); border:1px solid #f1d6c6; border-radius:6px 24px 6px 6px; padding:16px 18px; display:grid; gap:4px; }
.perk .perk-kicker{ font-size:12.5px; font-weight:700; color:var(--sale); letter-spacing:.06em; }
.perk h4{ margin:0; font-size:17px; color:var(--ink); }
.perk p{ margin:0; font-size:14px; color:var(--muted-strong,#4f6a6c); }
.perk.banner{ grid-column:1/-1; padding:0; overflow:hidden; background:#fff; border-color:var(--line); }
.perk.banner img{ width:100%; height:auto; display:block; }
.perk.banner .perk-cap{ padding:10px 16px; font-size:13px; color:var(--muted-strong,#4f6a6c); }
.perks-note{ margin:10px 0 0; font-size:13px; color:var(--muted-strong,#4f6a6c); }

/* S5 症例脚注 */
.cases-foot{ background:var(--pale); border-radius:6px; padding:12px 16px; margin:16px 0 0; font-size:13.5px; color:var(--ink); }
.cases-foot small{ display:block; font-size:12.5px; color:var(--muted-strong,#4f6a6c); margin-top:4px; }

/* S6 比較表 */
.compare-3col{ margin:22px 0 0; overflow-x:auto; }
.compare-3col table{ width:100%; border-collapse:collapse; background:#fff; font-size:14px; min-width:520px; }
.compare-3col th,.compare-3col td{ border:1px solid var(--line); padding:10px 12px; text-align:left; vertical-align:top; }
.compare-3col thead th{ background:#f4faf8; color:var(--deep); }
.compare-3col thead th.us{ background:var(--deep); color:#fff; }
.compare-3col td.us{ background:#f0f7f4; font-weight:600; color:var(--ink); }
.compare-3col tbody th{ background:#fbfdfc; font-weight:600; color:var(--ink); width:22%; }
.compare-note{ margin:8px 0 0; font-size:12.5px; color:var(--muted-strong,#4f6a6c); }

/* S7 章末CTA・固定バー */
.cta-inline{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin:22px 0 0; padding:14px 16px; background:var(--pale); border-radius:6px 24px 6px 6px; }
.cta-inline p{ margin:0; flex:1 1 220px; font-size:14.5px; font-weight:600; color:var(--ink); }
.cta-inline .button{ font-size:14px; padding:11px 16px; }
.sticky-cta{ display:none; }
@media (max-width:900px){
  .sticky-cta{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; position:fixed; left:0; right:0; bottom:0; z-index:50; padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px)); background:rgba(255,255,255,.96); border-top:1px solid var(--line); box-shadow:0 -6px 18px -12px rgba(20,110,113,.5); }
  .sticky-cta a{ display:grid; place-items:center; gap:2px; text-decoration:none; font-size:13px; font-weight:700; padding:9px 4px; border-radius:6px; line-height:1.2; }
  .sticky-cta a small{ font-size:12.5px; font-weight:400; opacity:.85; }
  .sticky-cta .tel{ background:#fff; color:var(--deep); border:1px solid var(--deep); }
  .sticky-cta .web{ background:var(--deep); color:#fff; }
  .sticky-cta .line{ background:#06c755; color:#fff; }
  body{ padding-bottom:84px; }
  .offer-strip .offer-inner{ grid-template-columns:1fr; }
  .offer-list{ grid-template-columns:1fr 1fr; }
  .why-six .why6-grid, .perks-grid, .tl-track, .tl-axis div{ grid-template-columns:1fr 1fr; }
  .tl-row, .tl-axis{ grid-template-columns:1fr; }
  .tl-axis{ display:none; }
}
@media (max-width:600px){ .offer-list, .why-six .why6-grid, .perks-grid{ grid-template-columns:1fr; } .tl-track{ grid-template-columns:1fr 1fr; } }

/* ===== 追従ヘッダー（9/29 田中さん指示） ===== */
.header{ position:sticky; top:env(safe-area-inset-top,0px); z-index:70; background:rgba(255,255,255,.96); backdrop-filter:saturate(1.2) blur(6px); box-shadow:0 1px 0 var(--line), 0 8px 24px -20px rgba(20,110,113,.45); }
@media (max-width:900px){ .header{ position:sticky; } .nav.open{ position:absolute; top:100%; left:0; right:0; } }
html{ scroll-padding-top:110px; }
@media (max-width:900px){ html{ scroll-padding-top:96px; } }
@media (max-width:600px){ html{ scroll-padding-top:86px; } }
.aga-page .aga-sidebar-inner{ top:118px; }

/* ===== TOP: 医療ダイエット・点滴注射の充実版（9/29 田中さん指示） ===== */
.svc-second{ padding:8px 0 64px; }
.svc-second-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.svc2{ background:#fff; border:1px solid var(--line); border-radius:8px 32px 8px 8px; overflow:hidden; display:grid; grid-template-rows:auto 1fr; }
.svc2-media{ position:relative; aspect-ratio:16/7; overflow:hidden; background:var(--pale); }
.svc2-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.svc2-tag{ position:absolute; left:14px; top:12px; background:rgba(255,255,255,.92); color:var(--deep); font-size:12px; letter-spacing:.14em; font-weight:700; padding:6px 10px; border-radius:4px; }
.svc2-body{ padding:22px 24px 24px; display:flex; flex-direction:column; gap:12px; }
.svc2-body h3{ font-family:var(--serif); font-weight:500; font-size:23px; color:var(--ink); margin:0; }
.svc2-lead{ margin:0; font-size:15px; color:var(--muted-strong,#4f6a6c); }
.svc2-for{ display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.svc2-for li{ font-size:13px; color:var(--deep); background:var(--pale); border-radius:999px; padding:5px 11px; }
.svc2-for li::before{ content:"✓ "; font-weight:700; }
.svc2-menu{ margin:0; display:grid; gap:8px; }
.svc2-menu div{ border-left:3px solid var(--teal); padding:2px 0 2px 12px; }
.svc2-menu dt{ font-weight:700; font-size:15px; color:var(--ink); }
.svc2-menu dd{ margin:2px 0 0; font-size:14px; color:var(--muted-strong,#4f6a6c); }
.svc2-price{ margin:0; font-size:14px; color:var(--ink); background:#fbfdfc; border:1px dashed var(--line); border-radius:6px; padding:10px 12px; }
.svc2-price b{ color:var(--deep); margin-right:6px; }
.svc2-price small{ display:block; font-size:13px; color:var(--muted-strong,#4f6a6c); margin-top:2px; }
/* 2026-10-27 AGA/FAGAカードと同仕様: 「詳しく見る →」の行 + 下に右寄せショートカット行（常に改行） */
.svc2-bottom{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-top:auto; padding-top:8px; }
.svc2-bottom .guide-link{ margin-top:0; font-weight:600; color:var(--deep); }
.svc2-bottom .guide-link:hover{ color:var(--teal); }
.svc2-links{ display:flex; flex-wrap:wrap; justify-content:flex-end; gap:6px 20px; width:100%; font-size:13.5px; }
.svc2-links a{ color:var(--deep); font-weight:600; text-decoration:none; }
.svc2-links a:hover{ text-decoration:underline; color:var(--teal); }
/* 薄毛についてハブの「治療方法の一覧を見る」: カード群との隙間が0だった（2026-10-27 田中さん「この隙間がせまい」） */
.top-hub-more{ margin-top:28px; }
.svc2-cta{ display:flex; flex-wrap:wrap; gap:10px; margin-top:4px; }
.svc2-cta .button{ font-size:14.5px; padding:12px 16px; }
.svc2-note{ margin:14px 0 0; font-size:13px; color:var(--muted-strong,#4f6a6c); }
@media (max-width:900px){ .svc-second-grid{ grid-template-columns:1fr; } }
@media (max-width:600px){ .svc2-cta .button{ width:100%; justify-content:center; } }

/* ===== LINEボタンは最初の緑に戻す（9/29 田中さん指示。codex-polish.css の青緑化を上書き） ===== */
.button.line, .cta-band .button.line, .offer-cta .button.line, .cta-inline .button.line, .hero-actions .button.line{ background:#06c755 !important; color:#fff !important; border-color:#06c755 !important; }
.button.line:hover, .cta-band .button.line:hover{ background:#05b04c !important; color:#fff !important; border-color:#05b04c !important; }

/* ===== 男女カードの写真: ヒーロー用画像（左が余白）をカード用に切り出す（9/29 田中さん指摘） ===== */
.svc-card .svc-art{ aspect-ratio:16/9; }
.svc-card .svc-art img{ object-position:82% 45%; transform:scale(1.15); transform-origin:82% 45%; }
.svc-card:nth-of-type(2) .svc-art img{ object-position:55% 40%; transform:scale(1.12); transform-origin:55% 40%; }

/* 男性カードは専用画像（card-men.png）に。切り出しは女性カードだけに残す */
.svc-card:first-of-type .svc-art img{ object-position:center 40%; transform:none; }

/* ===== 院案内をシンプルに（9/29 田中さん指示）: 見出し行と点線枠をやめ、地図＋経路ボタン＋詳細リンクだけに ===== */
.access-map-heading{ display:none !important; }
.access-map{ position:relative; flex:1; min-height:430px; border:0 !important; background:#edf2e8 !important; padding:0 !important; }
.access-map iframe, .access-map a.map-link, .access-map img{ position:absolute; inset:0; width:100%; height:100%; display:block; border:0; }
.access-map img{ object-fit:cover; object-position:center 55%; }
.access-actions{ margin-top:auto; }
@media (max-width:760px){ .access-map{ min-height:300px; } }

/* 実在の院長写真（現行サイト doctor_pic.png を名札部分を除いて使用） */
.doctor-photo img{ object-position:center top; }
.aga-page .aga-doctor img, .aga-page .polish-doctor-image img{ object-fit:cover; object-position:center top; }

/* ===== 治療方法4枚にイメージ画像（CODEX生成・9/29 田中さん指示） ===== */
.method-card{ padding:0 !important; overflow:hidden; display:grid; grid-template-rows:auto 1fr; }
.method-card .method-art{ aspect-ratio:3/2; background:var(--pale); overflow:hidden; }
.method-card .method-art img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.method-card:hover .method-art img{ transform:scale(1.04); }
.method-card .method-no{ margin:14px 18px 0; }
.method-card h3{ margin:6px 18px 6px; }
.method-card p{ margin:0 18px; }
.method-card .guide-link{ margin:10px 18px 18px; }
@media (prefers-reduced-motion: reduce){ .method-card:hover .method-art img{ transform:none; } }

/* ===== ヘッダー3要素（電話・WEB予約・LINE予約）9/29 田中さん指示: 現行サイトの3要素を「もっといい形で」 ===== */
.header-cta{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.header-cta .hc-ico{ width:22px; height:22px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.header-cta .hc-line .hc-ico{ fill:currentColor; stroke:none; }
.hc-tel{ display:flex; align-items:center; gap:9px; color:var(--deep); text-decoration:none; white-space:nowrap; line-height:1.15; padding-right:4px; }
.hc-tel:hover{ color:var(--teal); }
.hc-tel-body{ display:grid; gap:2px; }
.hc-tel-body b{ font-size:20px; font-weight:700; letter-spacing:.02em; font-variant-numeric:tabular-nums; }
.hc-tel-body small{ font-size:12px; color:var(--muted); letter-spacing:.02em; }
.header .hc-web, .header .hc-line{ display:grid; justify-items:center; align-content:center; gap:2px; min-height:48px; padding:6px 16px; border-radius:4px 18px 4px 4px; color:#fff; text-decoration:none; line-height:1.2; white-space:nowrap; font-size:13px; font-weight:400; border:0; cursor:pointer; }
.header .hc-web b, .header .hc-line b{ font-size:14px; font-weight:700; letter-spacing:.03em; }
.header .hc-web small, .header .hc-line small{ font-size:12px; opacity:.92; }
.header .hc-web{ background:var(--deep); }
.header .hc-web:hover{ background:var(--ink); color:#fff; }
.header .hc-line{ grid-template-columns:auto auto; column-gap:8px; align-items:center; background:#06c755 !important; }
.header .hc-line:hover{ background:#05b04b !important; color:#fff; }
.header .hc-line .hc-line-body{ display:grid; justify-items:center; gap:2px; }
.nav-cta-mobile{ display:none; }
.nav-cta-mobile small{ font-size:12px; }

/* PC 1200〜1400px: 1行に収めるため少しだけ詰める */
@media (min-width:1200px) and (max-width:1400px){
  .header{ padding-inline:28px; gap:18px; }
  .header .logo{ width:195px; }
  .nav.nav-enhanced{ gap:14px; }
  .header-cta{ gap:10px; }
  .hc-tel-body b{ font-size:18px; }
  .header .hc-web, .header .hc-line{ padding-inline:13px; }
}

/* 中間 901〜1199px: 2段（上=ロゴ＋3要素、下=メニュー） */
@media (min-width:901px) and (max-width:1199px){
  .header{ height:auto; flex-wrap:wrap; padding:10px 28px 0; gap:0 18px; }
  .header .logo{ order:1; width:195px; }
  .header-cta{ order:2; margin-left:auto; }
  .hc-tel-body small{ display:none; }
  .hc-tel-body b{ font-size:18px; }
  .header .hc-web, .header .hc-line{ min-height:44px; padding-inline:14px; }
  .header .nav{ order:3; flex-basis:100%; margin:8px 0 0; justify-content:center; border-top:1px solid var(--line); }
  .nav.nav-enhanced{ align-self:auto; gap:22px; }
  .nav-trigger{ padding:11px 0; }
  html{ scroll-padding-top:126px; }
  .aga-page .aga-sidebar-inner{ top:134px; }
}

/* スマホ 900px以下: ヘッダーはアイコンだけ（文字付き3要素は画面下の固定バーとメニュー内カード） */
@media (max-width:900px){
  .header-cta{ margin-left:auto; gap:8px; }
  .header .hc-web, .hc-tel-body, .header .hc-line .hc-line-body{ display:none !important; }
  .hc-tel, .header .hc-line{ display:grid; place-items:center; width:44px; height:44px; min-height:0; padding:0; border-radius:50%; }
  .hc-tel{ background:var(--pale); color:var(--deep); border:1px solid #cfe1da; }
  .header .hc-line{ grid-template-columns:1fr; }
  .header-cta .hc-ico{ width:22px; height:22px; }
  /* メニュー内カード（claude-header.js が #main-nav の先頭へ移す） */
  #main-nav.open .nav-cta-mobile{ display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:12px 0 14px; margin-bottom:6px; border-bottom:1px solid var(--line); }
  .nav-cta-mobile a, .nav-cta-mobile button{ display:grid; justify-items:center; gap:2px; padding:11px 8px; border:0; border-radius:6px; text-decoration:none; line-height:1.25; font-size:13px; cursor:pointer; }
  .nav-cta-mobile b{ font-size:15px; font-weight:700; letter-spacing:.02em; }
  .nav-cta-mobile small{ font-size:12px; opacity:.9; }
  .nav-cta-mobile .ncm-tel{ grid-column:1/-1; background:#fff; color:var(--deep); border:1px solid var(--deep); }
  .nav-cta-mobile .ncm-tel b{ font-size:20px; font-variant-numeric:tabular-nums; }
  .nav-cta-mobile .ncm-web{ background:var(--deep); color:#fff; }
  .nav-cta-mobile .ncm-line{ background:#06c755; color:#fff; }
}
@media (max-width:600px){
  .header-cta{ gap:6px; }
  .hc-tel, .header .hc-line{ width:40px; height:40px; }
  .header-cta .hc-ico{ width:20px; height:20px; }
}
