/* 指名広告ウォッチ（仮称）β版LP — デザイン v2
   方針: BtoB調査・分析サービスとしての信頼感（ネイビー基調・ブルー・控えめなゴールド）。
   制約: 外部フォント・外部画像なし（CSP: default-src 'none'）／ sticky・fixed なし（scripts/prepare.mjs で検査）。 */
:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --card: #ffffff;
  --ink: #0f1f3a;
  --sub: #4a5568;
  --line: #dfe4ec;
  --line-strong: #c7cfdc;
  --navy: #0f2340;
  --navy-2: #173561;
  --on-navy: #ffffff;
  --on-navy-sub: #c9d4e6;
  --accent: #1d5fc4;
  --accent-ink: #ffffff;
  --accent-soft: #eaf1fc;
  --gold: #c69a3c;
  --gold-cta: #e4b655;
  --gold-cta-hover: #eec46a;
  --gold-soft: #fbf3e2;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4b00;
  --warn-line: #e8cf85;
  --ok: #0b7a4b;
  --ok-soft: #e3f5ec;
  --gone: #8a5a00;
  --gone-soft: #fbf0d9;
  --mute: #eef1f5;
  --danger: #b3261e;
  --focus: #ffb000;
  --price-band: #eaeff6;
  --shadow: 0 1px 2px rgba(15, 35, 64, 0.06), 0 8px 24px rgba(15, 35, 64, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #0e131d;
    --surface: #161d2a;
    --card: #161d2a;
    --ink: #e8ecf3;
    --sub: #a9b3c4;
    --line: #2b3548;
    --line-strong: #3a4660;
    --navy: #0a1628;
    --navy-2: #122544;
    --on-navy-sub: #b8c5da;
    --accent: #7aa9ff;
    --accent-ink: #0d1524;
    --accent-soft: #1b2a45;
    --gold: #d9b35e;
    --gold-soft: #2e2716;
    --warn-bg: #3a3016;
    --warn-ink: #f3d78a;
    --warn-line: #6a5a2a;
    --ok: #5fd39b;
    --ok-soft: #173327;
    --gone: #f0c060;
    --gone-soft: #3a2f16;
    --mute: #212a3a;
    --danger: #ff8a80;
    --price-band: #111827;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'YuGothic', 'Noto Sans JP', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: 'palt' 0;
  overflow-wrap: anywhere;
}
h1, h2, h3, h4 { overflow-wrap: normal; word-break: normal; line-break: strict; }
p { margin: 8px 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--accent); }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
svg.ico { width: 24px; height: 24px; flex: none; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.br-pc { display: none; }
.note { font-size: 13px; color: var(--sub); line-height: 1.7; }

/* ---------------- 上部帯（需要確認） ---------------- */
.notice {
  background: var(--warn-bg);
  color: var(--warn-ink);
  border-bottom: 1px solid var(--warn-line);
  padding: 9px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

/* ---------------- ヒーロー ---------------- */
.hero {
  background: var(--navy);
  background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: var(--on-navy);
  padding: 28px 0 44px;
  border-bottom: 3px solid var(--gold);
}
.hero-grid { display: grid; gap: 32px; }
.brandline { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 28px; font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.brand-sub { font-weight: 500; font-size: 12px; opacity: 0.75; margin-left: -6px; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--gold); position: relative; flex: none; }
.logo-mark::after { content: ''; position: absolute; left: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.badge-beta { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.35); color: var(--on-navy-sub); letter-spacing: 0.04em; }
.hero-eyebrow { display: inline-block; margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--navy); background: var(--gold-cta); padding: 4px 12px; border-radius: 4px; letter-spacing: 0.03em; }
.hero h1 { font-size: 28px; line-height: 1.45; margin: 0 0 16px; letter-spacing: 0.01em; font-weight: 800; }
.h1-em { color: #f3d98f; }
.hero-lead { color: var(--on-navy-sub); font-size: 15px; line-height: 1.85; margin: 0 0 20px; max-width: 34em; }
.hero-lead strong { color: var(--on-navy); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 24px; }
.hero-facts li { border-left: 2px solid var(--gold); padding: 2px 0 2px 10px; display: flex; flex-direction: column; }
.hf-n { font-size: 17px; font-weight: 800; line-height: 1.3; white-space: nowrap; }
.hf-l { font-size: 11px; color: var(--on-navy-sub); line-height: 1.5; }
.hero-actions { display: grid; gap: 10px; }
.hero-note { font-size: 12px; color: var(--on-navy-sub); margin: 12px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 24px; border-radius: 10px;
  font-size: 16px; font-weight: 700; text-decoration: none; line-height: 1.4; text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-gold { background: var(--gold-cta); color: #0f2340; }
.btn-gold:hover { background: var(--gold-cta-hover); }
.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, 0.55); color: var(--on-navy); }
.btn-ghost-light:hover { border-color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.btn-outline { border: 1.5px solid var(--accent); color: var(--accent); background: var(--surface); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-outline::after, .btn-gold::after { content: '→'; font-weight: 700; }

/* ヒーローの画面イメージ */
.hero-visual { margin: 0; }
.mock { background: var(--surface); color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--mute); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.mock-title { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--sub); }
.mock-body { padding: 16px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.mock-kw { margin: 0; font-weight: 800; font-size: 15px; line-height: 1.4; }
.mock-sub { margin: 2px 0 0; font-size: 11px; color: var(--sub); }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mcell { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; column-gap: 3px; align-items: baseline; }
.mc-l { grid-column: 1 / -1; font-size: 11px; color: var(--sub); font-weight: 600; }
.mc-n { font-size: 26px; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.mc-u { font-size: 12px; color: var(--sub); }
.mcell.hot { background: var(--accent-soft); border-color: transparent; }
.mcell.hot .mc-n { color: var(--accent); }
.mock-alert { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 700; line-height: 1.5; }
.mock-alert .ico { width: 20px; height: 20px; }
.hero-visual figcaption { font-size: 11px; color: var(--on-navy-sub); margin-top: 10px; }

/* ---------------- 対象者確認 ---------------- */
.gate-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  padding: 24px 20px; margin: 24px auto 0; width: calc(100% - 32px); max-width: 760px;
}
.gate-card h2 { font-size: 19px; line-height: 1.5; margin: 0; }
.gate-q { margin: 4px 0 14px; color: var(--sub); font-size: 15px; }
.gate-targets { display: grid; gap: 10px; padding: 14px; background: var(--mute); border-radius: 12px; }
.gt-row { display: grid; grid-template-columns: 40px 1fr; gap: 8px; align-items: start; }
.gt-k { font-size: 12px; font-weight: 700; color: var(--sub); padding-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 13px; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; line-height: 1.7; }
.gate-list { display: grid; gap: 10px; margin: 16px 0 8px; }
.gate-btn {
  appearance: none; text-align: left; width: 100%;
  border: 2px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 12px; padding: 12px 16px 12px 44px; font: inherit; font-size: 15px; line-height: 1.5; cursor: pointer; min-height: 56px; position: relative;
}
.gate-btn::before { content: ''; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); }
.gate-btn:hover { border-color: var(--accent); }
.gate-btn[aria-pressed='true'] { border-color: var(--accent); background: var(--accent-soft); font-weight: 700; }
.gate-btn[aria-pressed='true']::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); }

/* ---------------- セクション共通 ---------------- */
.band { padding: 56px 0; }
.band-white { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.sec-eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--gold); }
.sec-h { font-size: 24px; line-height: 1.5; margin: 0 0 12px; font-weight: 800; letter-spacing: 0.01em; }
.sec-lead { color: var(--sub); font-size: 15px; max-width: 38em; margin: 0 0 28px; }
.sec-lead strong { color: var(--ink); }
.tone { background: var(--accent-soft); border-radius: 10px; padding: 14px 16px; margin: 24px 0 0; font-size: 14px; line-height: 1.75; }
.banner { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); border-radius: 10px; padding: 10px 14px; font-size: 13px; margin: 12px 0; line-height: 1.6; }
.next-link { margin: 32px 0 0; text-align: center; }
.next-link .btn { width: 100%; max-width: 360px; }

/* 課題 */
.pain-grid { display: grid; gap: 12px; }
.pain { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.pain .ico { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.pain h3 { font-size: 16px; line-height: 1.5; margin: 0 0 4px; }
.pain p { margin: 0; font-size: 14px; color: var(--sub); line-height: 1.7; }
.pain-sum { background: var(--navy); border-color: var(--navy); color: var(--on-navy); align-items: center; }
.pain-sum h3 { font-size: 17px; }
.pain-sum p a { color: var(--gold-cta); font-weight: 700; font-size: 14px; }
.pain-sum p a::after { content: ' →'; }

/* サービス概要 */
.feat-grid { display: grid; gap: 12px; }
.feat { border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 12px; padding: 16px 18px; background: var(--surface); }
.feat-no { display: block; font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.feat h3 { font-size: 18px; margin: 4px 0 6px; line-height: 1.4; }
.feat p { margin: 0; font-size: 14px; color: var(--sub); line-height: 1.75; }

/* 仕組み */
.flow { display: grid; gap: 0; counter-reset: none; margin: 8px 0 32px; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 0 0 22px; }
.step::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: 2px; width: 2px; background: var(--line-strong); }
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step-n { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.step:last-child .step-n { background: var(--gold-cta); color: #0f2340; }
.step h3 { font-size: 16px; margin: 8px 0 0; line-height: 1.5; }
.step p { margin: 0; font-size: 14px; color: var(--sub); }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.spec-h { font-size: 15px; margin: 0 0 12px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec-grid div { background: var(--surface); padding: 10px 12px; }
.spec-grid dt { font-size: 12px; color: var(--sub); font-weight: 600; }
.spec-grid dd { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.5; }
.spec .note { margin: 10px 0 0; }

/* ---------------- サンプルレポート ---------------- */
.sample-band { background: var(--surface); }
.report { display: grid; gap: 20px; margin: 0 0 40px; }
.report-frame { border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.rf-bar { background: var(--navy); color: var(--on-navy); padding: 12px 16px; }
.rf-bar h3 { font-size: 14px; line-height: 1.5; margin: 0; }
.rf-meta { display: block; font-size: 12px; color: var(--on-navy-sub); }
.rf-h { font-size: 14px; margin: 20px 0 8px; color: var(--sub); }
.report-frame .rf-h { margin: 16px 16px 8px; }
.kpis { display: grid; gap: 8px; padding: 16px 16px 0; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
.kpi .l { font-size: 12px; color: var(--sub); font-weight: 600; line-height: 1.5; grid-column: 1; grid-row: 1; }
.kpi .d { font-size: 12px; color: var(--sub); line-height: 1.5; grid-column: 1; grid-row: 2; }
.kpi .n { font-size: 28px; font-weight: 800; line-height: 1.1; grid-column: 2; grid-row: 1 / 3; font-variant-numeric: tabular-nums; }
.kpi-new { border-left: 4px solid var(--ok); }
.kpi-new .n { color: var(--ok); }
.kpi-gone { border-left: 4px solid var(--gone); }

table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; vertical-align: middle; }
td.c, th.c { text-align: center; }
.tag { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--line); background: var(--mute); white-space: nowrap; line-height: 1.8; }
.tag.new { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.tag.gone { background: var(--gone-soft); color: var(--gone); border-color: transparent; }
.tag.keep { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.on { color: var(--accent); font-size: 15px; }
.off { color: var(--line-strong); }

/* 広告主マトリクス: スマホではカード化 */
.matrix { margin: 0 0 4px; }
.matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.matrix tbody { display: grid; gap: 8px; padding: 0 16px 16px; }
.matrix tr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.matrix tr.row-new { border-left: 4px solid var(--ok); }
.matrix tr.row-gone { background: var(--mute); }
.matrix th.adv { grid-column: 1 / 4; grid-row: 1; font-weight: 700; font-size: 14px; line-height: 1.5; }
.matrix td.st { grid-column: 4; grid-row: 1; text-align: right; }
.matrix td.c { display: flex; flex-direction: column; align-items: center; background: var(--mute); border-radius: 6px; padding: 4px 0; line-height: 1.4; }
.matrix tr.row-gone td.c { background: var(--surface); }
.matrix td.c::before { content: attr(data-l); font-size: 11px; color: var(--sub); font-weight: 600; }

.insights { display: grid; gap: 10px; }
.insights li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--gold-soft); }
.ins-n { width: 28px; height: 28px; border-radius: 50%; background: var(--gold-cta); color: #0f2340; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; flex: none; }
.insights h4 { margin: 2px 0 2px; font-size: 15px; line-height: 1.5; }
.insights p { margin: 0; font-size: 13px; color: var(--sub); line-height: 1.7; }
.report > .note { margin: 0; }

/* 無料診断 */
.diag { border: 1px solid var(--line); border-radius: 14px; padding: 20px; background: var(--bg); }
.diag-head h3 { font-size: 18px; margin: 0 0 6px; line-height: 1.5; }
.diag-head p { font-size: 14px; color: var(--sub); margin: 0; }
.diag-head p strong { color: var(--ink); }
.demo-row { display: grid; gap: 8px; margin: 16px 0 0; }
.demo-row input[readonly] { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 15px; background: var(--surface); color: var(--ink); }
#sample-result { margin-top: 16px; }
.bars { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 12px; }
.bar-row { display: grid; grid-template-columns: 88px 1fr 24px; align-items: center; gap: 10px; margin: 6px 0; font-size: 13px; }
.bar-l { color: var(--sub); font-weight: 600; }
.bar { display: flex; height: 14px; border-radius: 4px; background: var(--mute); overflow: hidden; }
.seg { display: block; height: 100%; }
.seg.own { background: var(--navy); }
.seg.oth { background: #6f9be6; }
.w1 { width: 20%; } .w3 { width: 60%; } .w4 { width: 80%; }
.bar-n { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.bar-legend { font-size: 12px; color: var(--sub); margin: 8px 0 0; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.lg.own { background: var(--navy); }
.lg.oth { background: #6f9be6; }
table.simple { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 8px 0; font-size: 13px; }
table.simple th, table.simple td { border-bottom: 1px solid var(--line); padding: 8px 10px; }
table.simple thead th { background: var(--mute); font-weight: 700; font-size: 12px; color: var(--sub); }
table.simple tr:last-child > * { border-bottom: 0; }
.mask { filter: blur(4px); user-select: none; }

/* ---------------- 比較 ---------------- */
.cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp tbody { display: grid; gap: 10px; }
.cmp tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.cmp th[scope='row'] { grid-column: 1 / -1; padding: 10px 14px; font-size: 15px; background: var(--mute); }
.cmp td { padding: 10px 14px 12px; font-size: 14px; line-height: 1.6; }
.cmp td::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; margin-bottom: 2px; }
.cmp td.cmp-manual { color: var(--sub); }
.cmp td.cmp-manual::before { color: var(--sub); }
.cmp td.cmp-us { background: var(--accent-soft); font-weight: 700; color: var(--ink); }
.cmp td.cmp-us::before { color: var(--accent); }
#compare .note { margin-top: 14px; }

/* ---------------- 利用イメージ ---------------- */
.week { display: grid; gap: 10px; }
.day { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--surface); }
.day-l { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.day h3 { font-size: 16px; margin: 0; line-height: 1.5; }
.day p { font-size: 13px; color: var(--sub); margin: 2px 0 0; line-height: 1.7; }
.day-alert { border-color: var(--gold); background: var(--gold-soft); }
.day-alert .day-l { background: var(--gold-cta); color: #0f2340; }

/* ---------------- 料金 ---------------- */
.price-band { background: var(--price-band); }
.price-layout { display: grid; gap: 16px; }
.price-card { background: var(--surface); border: 2px solid var(--navy); border-radius: 16px; padding: 24px 20px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--gold); }
.price-plan { margin: 4px 0 8px; font-size: 14px; font-weight: 700; color: var(--sub); }
.price { margin: 0; line-height: 1.15; white-space: nowrap; }
.price-unit { font-size: 18px; font-weight: 700; margin-right: 6px; }
.price-main { font-size: 44px; font-weight: 800; letter-spacing: 0.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-tax { font-size: 15px; color: var(--sub); font-weight: 600; margin-left: 2px; }
.price-incl { font-size: 16px; font-weight: 700; margin: 8px 0 0; }
.price-day { font-size: 13px; color: var(--sub); margin: 8px 0 0; line-height: 1.7; }
.price-calc { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 6px; margin: 16px auto 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); max-width: 360px; font-size: 13px; color: var(--sub); }
.price-calc b { font-size: 20px; color: var(--ink); font-weight: 800; margin-right: 1px; font-variant-numeric: tabular-nums; }
.pc-op { color: var(--sub); font-weight: 700; }
.pc-total b { color: var(--accent); }
.price-status { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 0; }
.ps-chip { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); }
.price-scope { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.scope-h { font-size: 15px; margin: 0 0 10px; }
.scope-h-no { margin-top: 20px; color: var(--sub); }
.check-list, .x-list { display: grid; gap: 6px; }
.check-list li, .x-list li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.6; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.x-list li { color: var(--sub); }
.x-list li::before { content: '×'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--mute); color: var(--sub); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.provisional { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); border-radius: 12px; padding: 12px 16px; font-size: 13px; line-height: 1.75; margin: 16px 0 0; }

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 32px; position: relative; font-weight: 700; font-size: 15px; line-height: 1.6; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: 'Q'; position: absolute; left: 0; top: 15px; font-weight: 800; color: var(--accent); }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 12px; font-size: 22px; font-weight: 400; color: var(--sub); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 16px 32px; font-size: 14px; color: var(--sub); line-height: 1.8; }

/* ---------------- 最終CTA ---------------- */
.cta-band { background: var(--navy); background-image: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%); color: var(--on-navy); padding: 56px 0; text-align: center; border-top: 3px solid var(--gold); }
.cta-eyebrow { font-size: 13px; font-weight: 700; color: var(--gold-cta); letter-spacing: 0.08em; margin: 0 0 8px; }
.cta-band h2 { font-size: 22px; line-height: 1.5; margin: 0 0 20px; font-weight: 800; }
.cta-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 auto 20px; max-width: 520px; }
.cta-steps li { font-size: 12px; font-weight: 700; color: var(--on-navy-sub); display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1.4; }
.cta-steps span { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gold-cta); color: var(--gold-cta); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.price-recap { font-size: 15px; font-weight: 700; margin: 0 0 14px; color: var(--on-navy); }
.btn-primary {
  appearance: none; border: 0; cursor: pointer; width: 100%; min-height: 56px;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-size: 16px; font-weight: 700;
  border-radius: 10px; padding: 14px 16px; line-height: 1.4;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:disabled { opacity: 0.6; cursor: default; filter: none; }
.btn-cta { word-break: keep-all; overflow-wrap: normal; background: var(--gold-cta); color: #0f2340; font-size: 17px; min-height: 64px; max-width: 560px; border-radius: 12px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.btn-cta:hover { background: var(--gold-cta-hover); filter: none; }
.btn-cta:disabled { opacity: 1; background: rgba(255, 255, 255, 0.1); color: var(--on-navy-sub); box-shadow: none; border: 1.5px dashed rgba(255, 255, 255, 0.35); }
.cta-note { font-size: 13px; color: var(--on-navy-sub); margin: 12px auto 0; max-width: 34em; line-height: 1.7; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 16px 0 4px; }
.assure li { font-size: 13px; font-weight: 700; color: var(--on-navy); }
.assure li::before { content: '✓ '; color: var(--gold-cta); }
.link-btn { appearance: none; border: 0; background: none; color: var(--accent); text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; padding: 10px 6px; min-height: 44px; }
.link-btn:disabled { opacity: 0.5; cursor: default; text-decoration: none; }
.cta-band .link-btn { color: #b9d2ff; }
.cta-band .cta-lock { color: var(--on-navy-sub); }

/* ---------------- 申込フォーム（構造・項目は変更なし。見た目のみ） ---------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; margin: 32px auto; width: calc(100% - 32px); max-width: 760px; box-shadow: var(--shadow); }
.card.wrap { padding: 24px 20px; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
#s8 h2 { font-size: 20px; line-height: 1.5; margin: 0 0 12px; }
#s8 .tone { margin: 0 0 12px; }
#gate-inline { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 10px; margin: 16px 0; min-width: 0; }
legend { float: left; width: 100%; font-weight: 700; font-size: 15px; padding: 0; margin: 0 0 6px; line-height: 1.6; }
fieldset > legend + * { clear: both; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 8px 4px; min-height: 44px; font-size: 15px; line-height: 1.6; cursor: pointer; border-radius: 8px; }
.opt:hover { background: var(--mute); }
.opt input { margin-top: 4px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
label.field { display: block; font-weight: 700; font-size: 15px; margin: 16px 0 6px; }
input[type='email'], textarea { width: 100%; min-height: 48px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 16px; background: var(--surface); color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub-block { background: var(--mute); border-radius: 10px; padding: 10px 14px 6px; margin: 8px 0 14px; }
#confirm-block { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px; padding: 6px 10px; margin: 12px 0; }
.err { color: var(--danger); font-weight: 700; font-size: 14px; margin: 12px 0; }
#submit { margin-top: 12px; }
.thanks { background: var(--ok-soft); border-radius: 12px; padding: 20px; }
.thanks h3 { color: var(--ink); font-size: 18px; margin: 0 0 8px; }

/* ---------------- フッター ---------------- */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 13px; color: var(--sub); line-height: 1.8; }
.foot-grid { display: grid; gap: 20px; }
.foot .brandline-foot { color: var(--ink); margin: 0 0 8px; }
.foot dl { margin: 0 0 8px; display: grid; gap: 4px; }
.foot dl div { display: grid; grid-template-columns: 96px 1fr; }
.foot dt { font-weight: 700; color: var(--ink); }
.foot dd { margin: 0; }

/* ---------------- タブレット以上 ---------------- */
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-actions { display: flex; flex-wrap: wrap; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .kpi { display: block; }
  .kpi .n { margin: 4px 0 2px; }
  .demo-row { grid-template-columns: 1fr auto; }
  .demo-row .btn-primary { width: auto; padding: 0 24px; }

  /* 表に戻す */
  .matrix thead, .cmp thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: table-header-group; }
  .matrix tbody, .cmp tbody { display: table-row-group; padding: 0; }
  .matrix tr, .cmp tr { display: table-row; border: 0; padding: 0; border-radius: 0; background: none; }
  .matrix { margin: 0; }
  .matrix th, .matrix td { border-bottom: 1px solid var(--line); padding: 10px 12px; font-size: 14px; }
  .matrix thead th { background: var(--mute); font-size: 12px; color: var(--sub); font-weight: 700; }
  .matrix tr.row-new { border-left: 0; }
  .matrix tr.row-new th.adv { box-shadow: inset 4px 0 0 var(--ok); }
  .matrix tr.row-gone > * { background: var(--mute); }
  .matrix td.c { display: table-cell; background: none; border-radius: 0; padding: 10px 6px; }
  .matrix tr.row-gone td.c { background: var(--mute); }
  .matrix td.c::before, .cmp td::before { content: none; }
  .matrix td.st { text-align: left; }
  .matrix tbody tr:last-child > * { border-bottom: 0; }

  .cmp { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); border-collapse: separate; border-spacing: 0; }
  .cmp th, .cmp td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .cmp thead th { background: var(--navy); color: #fff; font-size: 14px; }
  .cmp thead th.cmp-us { background: var(--accent); }
  .cmp th[scope='row'] { background: var(--mute); width: 24%; font-size: 15px; }
  .cmp td.cmp-us { position: relative; padding-left: 44px; }
  .cmp td.cmp-us::after { content: '✓'; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
  .cmp tbody tr:last-child > * { border-bottom: 0; }

  .gate-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr; gap: 48px; }
}

/* ---------------- PC ---------------- */
@media (min-width: 960px) {
  .br-pc { display: inline; }
  .br-sp { display: none; }
  .wrap-wide { padding: 0 32px; }
  .hero { padding: 36px 0 72px; }
  .brandline { margin-bottom: 44px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: 42px; line-height: 1.4; }
  .hero-lead { font-size: 17px; }
  .hf-n { font-size: 20px; }
  .hf-l { font-size: 12px; }
  .hero-facts { gap: 16px; max-width: 520px; }
  .gate-card { margin-top: -36px; position: relative; padding: 28px 32px; }
  .band { padding: 88px 0; }
  .sec-h { font-size: 32px; }
  .sec-lead { font-size: 16px; margin-bottom: 36px; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .feat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .flow { grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 40px; }
  .step { grid-template-columns: 1fr; text-align: center; padding: 0; justify-items: center; }
  .step-n { grid-row: auto; width: 52px; height: 52px; font-size: 19px; }
  .step::after { left: calc(50% + 34px); right: calc(-50% + 34px); top: 25px; bottom: auto; width: auto; height: 2px; }
  .step h3 { margin-top: 12px; }
  .flow { margin-top: 36px; }
  .sec-lead { max-width: 44em; }
  .gate-list { grid-template-columns: 1fr; }
  .report { grid-template-columns: 1.65fr 1fr; align-items: start; column-gap: 28px; }
  .report > .note { grid-column: 1 / -1; }
  .diag { padding: 28px 32px; }
  #sample-result:not([hidden]) { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; align-items: start; }
  #sample-result > * { grid-column: 1 / -1; }
  #sample-result > .bars { grid-column: 1; margin: 8px 0; }
  #sample-result > .bars + table.simple { grid-column: 2; }
  .week { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .day { flex-direction: column; gap: 10px; }
  .price-layout { grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: stretch; }
  .price-card { display: flex; flex-direction: column; justify-content: center; padding: 36px 28px; }
  .price-main { font-size: 56px; }
  .price-scope { padding: 28px; }
  .cta-band { padding: 88px 0; }
  .cta-band h2 { font-size: 32px; }
  .faq summary { font-size: 16px; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 24px; }
  .hf-n { font-size: 15px; }
  .price-main { font-size: 38px; }
  .sec-h { font-size: 22px; }
}
