/* AI検索 言及チェック v2 — BWサイトの緑・黒と、計測ツールの画面の見た目をお試しで見せる */
:root {
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --ink-3: #8b8b8b;
  --line: #e3e7e5;
  --bg: #ffffff;
  --mint: #eef8f3;
  --mint-2: #dff2e8;
  --green: #1cb57b;
  --green-d: #0e8d5d;
  --blue: #3867d6;
  --yellow: #f6b02d;
  --red: #e0524c;
  --c-g: #4285f4;
  --c-c: #10a37f;
  --c-m: #8e6cf0;
  --shadow: 0 1px 2px rgba(16, 40, 30, .06), 0 8px 24px rgba(16, 40, 30, .07);
  --num: "Rubik", "Noto Sans JP", sans-serif;
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}
* { box-sizing: border-box; }
html { background: #fff; color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--jp); font-size: 15px; line-height: 1.8; letter-spacing: .03em; }
a { color: var(--green-d); }
.inner { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 上のバー */
.topbar { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.topbar .inner { display: flex; align-items: center; gap: 18px; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo b { font-family: var(--num); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo span { font-family: var(--num); font-size: 13px; color: var(--ink-2); }
.tool-name { font-size: 13px; font-weight: 700; color: var(--green-d); border-left: 1px solid var(--line); padding-left: 18px; }
.top-cta { margin-left: auto; background: var(--ink); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; padding: 8px 18px; border-radius: 4px; }

/* ヒーロー */
.hero { background: linear-gradient(180deg, var(--mint) 0%, #f7fbf9 100%); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -120px; top: -160px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(28, 181, 123, .16), rgba(28, 181, 123, 0) 70%); }
.hero .inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; position: relative; }
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.4; margin: 0; font-weight: 900; letter-spacing: .02em; }
.hero h1 .g { color: var(--green-d); }
.lead { color: var(--ink-2); margin: 22px 0 28px; font-size: 15.5px; max-width: 34em; }
.hero-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-points li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 8px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.hero-points b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.ic { flex: none; width: 38px; height: 38px; border-radius: 8px; background: var(--mint); position: relative; }
.ic::before, .ic::after { content: ""; position: absolute; }
.ic-1::before { left: 9px; top: 11px; width: 20px; height: 14px; border: 2px solid var(--green-d); border-radius: 6px; }
.ic-1::after { left: 13px; top: 24px; border: 5px solid transparent; border-top-color: var(--green-d); }
.ic-2::before { left: 9px; bottom: 9px; width: 5px; height: 12px; background: var(--green-d); box-shadow: 8px -6px 0 var(--green-d), 16px 3px 0 var(--green-d); }
.ic-3::before { left: 9px; top: 9px; width: 14px; height: 14px; border: 2.5px solid var(--green-d); border-radius: 50%; }
.ic-3::after { left: 24px; top: 24px; width: 8px; height: 3px; background: var(--green-d); transform: rotate(45deg); border-radius: 2px; }

/* ヒーローの回答の見本 */
.hero-visual { position: relative; height: 420px; }
.mock { position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 18px 40px rgba(16, 40, 30, .12); padding: 18px 20px; font-size: 13px; line-height: 1.7; color: var(--ink-2); width: 330px; animation: float-in .7s cubic-bezier(.2, .7, .3, 1) both; }
.mock p { margin: 8px 0 12px; }
.mock-g { left: 0; top: 10px; animation-delay: .05s; }
.mock-c { right: 0; top: 150px; animation-delay: .2s; }
.mock-m { left: 40px; top: 285px; animation-delay: .35s; }
@keyframes float-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mock-head { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.gl { font-family: var(--num); font-weight: 700; color: var(--c-g); }
.mock-head .mq { font-size: 12px; color: var(--ink); }
.mock-aio { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--ink); }
.spark { color: var(--c-g); }
.mock-who { font-weight: 700; color: var(--ink); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.hl { background: linear-gradient(transparent 55%, rgba(246, 176, 45, .55) 55%); color: var(--ink); font-weight: 700; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 4px; padding: 2px 10px; }
.tag-ok { background: var(--green); color: #fff; }
.tag-ng { background: #f1f1f1; color: var(--ink-3); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dg { background: var(--c-g); } .dc { background: var(--c-c); } .dm { background: var(--c-m); }

/* 入力 */
main.inner { padding-top: 0; }
.panel { background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: -36px; position: relative; padding: 36px 44px 32px; }
.panel-head { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.panel-head h2 { font-size: 21px; margin: 0; }
.panel-head p { margin: 0; color: var(--ink-3); font-size: 13px; }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px dashed var(--line); }
.step-no { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--green-d); font-family: var(--num); font-weight: 700; display: grid; place-items: center; font-size: 16px; }
.step-body > label { display: block; font-weight: 700; font-size: 15.5px; margin: 4px 0 12px; }
label em { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: var(--red); border-radius: 3px; padding: 1px 7px; margin-left: 10px; vertical-align: 2px; }
label em.opt { background: #cfd6d2; }
.help { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 0; }
input[type=text] { width: 100%; font: inherit; color: var(--ink); background: #fbfcfb; border: 1px solid #d5dcd8; border-radius: 6px; padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
input[type=text]:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(28, 181, 123, .14); }
.names { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.names input:first-child { grid-column: 1 / -1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { font: inherit; font-size: 13px; background: #fff; border: 1px solid #d5dcd8; border-radius: 999px; padding: 5px 14px; cursor: pointer; color: var(--ink-2); transition: all .15s; }
.chip:hover { border-color: var(--green); color: var(--green-d); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.qs { display: grid; gap: 10px; }
.q { display: grid; grid-template-columns: 40px 1fr; align-items: center; }
.q b { font-family: var(--num); color: var(--green-d); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 28px; }
.btn { font: inherit; font-weight: 700; border: 0; cursor: pointer; border-radius: 8px; padding: 15px 36px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .12s, box-shadow .15s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-run { background: var(--green); color: #fff; font-size: 17px; min-width: 320px; padding: 18px 40px; box-shadow: 0 6px 0 var(--green-d), 0 12px 24px rgba(28, 181, 123, .25); }
.btn-run::after { content: ""; width: 9px; height: 9px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; transform: rotate(45deg); }
.btn-run:hover { background: #19a66f; }
.btn-run:active { box-shadow: 0 2px 0 var(--green-d); transform: translateY(4px); }
.btn-run[disabled] { background: #9fd8c0; box-shadow: none; cursor: wait; transform: none; }
.btn-run[disabled]::after { display: none; }
.note { font-size: 12px; color: var(--ink-3); margin: 0; }
.note a { color: var(--ink-3); margin-left: 8px; }
.err { color: var(--red); font-size: 13.5px; text-align: center; min-height: 1em; margin-top: 8px; }

/* 結果 */
.result { display: none; margin-top: 56px; }
.result.on { display: block; animation: float-in .5s ease both; }
.result-head { display: flex; align-items: baseline; gap: 16px; }
.result-head h2 { font-size: 24px; margin: 0; }
.when { color: var(--ink-3); font-size: 12.5px; font-family: var(--num); }
.progress { margin: 14px 0 0; display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--ink-2); }
.progress .bar { flex: 1; height: 6px; background: var(--mint); border-radius: 999px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .4s ease; }
.progress.done { display: none; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line); }
.kpi.good::before { background: var(--green); }
.kpi.bad::before { background: var(--red); }
.kpi .k { font-size: 12.5px; color: var(--ink-2); font-weight: 700; }
.kpi .v { font-family: var(--num); font-size: 34px; font-weight: 600; line-height: 1.2; margin-top: 6px; }
.kpi .v small { font-size: 14px; color: var(--ink-3); margin-left: 4px; font-weight: 500; font-family: var(--jp); }
.kpi .v.txt { font-family: var(--jp); font-size: 19px; font-weight: 700; line-height: 1.5; margin-top: 10px; }
.kpi .s { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }

.summary { list-style: none; margin: 18px 0 0; padding: 18px 22px; background: var(--mint); border-radius: 10px; }
.summary li { position: relative; padding: 4px 0 4px 22px; font-size: 14.5px; }
.summary li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.summary .pending::before { background: var(--ink-3); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; margin-top: 18px; }
.card-h { font-size: 17px; margin: 0; display: flex; align-items: center; gap: 10px; }
.card-h::before { content: ""; width: 4px; height: 18px; background: var(--green); border-radius: 2px; }
.card-sub { margin: 2px 0 0 14px; font-size: 12px; color: var(--ink-3); }
.table-wrap { overflow-x: auto; margin-top: 12px; }
.grid { width: 100%; border-collapse: collapse; min-width: 560px; }
.grid th, .grid td { border-bottom: 1px solid var(--line); padding: 14px 10px; vertical-align: middle; }
.grid thead th { font-size: 12.5px; color: var(--ink-2); font-weight: 700; text-align: center; background: #f7faf8; border-bottom: 0; }
.grid thead th:first-child { text-align: left; border-radius: 6px 0 0 6px; }
.grid thead th:last-child { border-radius: 0 6px 6px 0; }
.grid tbody th { text-align: left; font-weight: 500; width: 37%; font-size: 14px; }
.grid tbody th .qn { font-family: var(--num); color: var(--green-d); margin-right: 8px; font-weight: 600; }
.grid td { text-align: center; width: 21%; }
.cell { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; min-height: 58px; justify-content: center; }
.mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--num); font-weight: 700; font-size: 17px; }
.cell .lab { font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.cell .sub { font-size: 10.5px; color: var(--green-d); background: var(--mint); border-radius: 3px; padding: 0 6px; }
.st-mentioned .mark { background: var(--green); color: #fff; box-shadow: 0 4px 10px rgba(28, 181, 123, .35); animation: pop .35s ease both; }
.st-mentioned .lab { color: var(--green-d); font-weight: 700; }
.st-not .mark { border: 2px solid #c9cfcc; }
.st-not .mark::after { content: ""; width: 12px; height: 2px; background: #c9cfcc; }
.st-hidden .mark { border: 2px dashed #c9cfcc; }
.st-error .mark { color: var(--red); background: #fdecec; font-size: 16px; }
.st-wait .mark { border: 3px solid var(--mint-2); border-top-color: var(--green); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.5); } 70% { transform: scale(1.12); } to { transform: none; } }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--ink-3); margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend .l1 { background: var(--green); } .legend .l2 { border: 2px solid #c9cfcc; } .legend .l3 { border: 2px dashed #c9cfcc; }

.answers { margin-top: 16px; }
details.ans { border-top: 1px solid var(--line); }
details.ans summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 10px; }
details.ans summary::-webkit-details-marker { display: none; }
details.ans summary::before { content: "+"; font-family: var(--num); width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--green-d); display: grid; place-items: center; font-weight: 700; }
details.ans[open] summary::before { content: "−"; }
.ans-tabs { display: none; }
.ans-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 16px; }
.ans-col { background: #f8faf9; border-radius: 8px; padding: 14px 16px; font-size: 13px; line-height: 1.8; max-height: 360px; overflow: auto; white-space: pre-wrap; word-break: break-word; color: var(--ink-2); }
.ans-col h4 { margin: 0 0 6px; font-size: 12.5px; color: var(--ink); white-space: normal; display: flex; align-items: center; }
mark.hit { background: rgba(246, 176, 45, .5); color: var(--ink); padding: 0 2px; border-radius: 2px; font-weight: 700; }

.two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
.bars { list-style: none; margin: 0; padding: 12px 0 0; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 9px 0; font-size: 13.5px; align-items: center; }
.bars .bar { grid-column: 1 / -1; height: 8px; background: #f0f3f1; border-radius: 999px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: #9aa6a0; border-radius: 999px; animation: grow .7s ease both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
.bars .own .bar i { background: var(--green); }
.bars .cnt { font-family: var(--num); font-weight: 600; }
.bars .tp { font-size: 10.5px; padding: 1px 7px; margin-left: 8px; border-radius: 3px; white-space: nowrap; color: #fff; }
.bars .own-tag { font-size: 10.5px; color: #fff; background: var(--green); padding: 1px 7px; margin-left: 6px; border-radius: 3px; }
.src-wrap { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: start; }
.donut { padding-top: 14px; }
.donut svg { width: 100%; height: auto; display: block; }
.donut .dl { list-style: none; padding: 0; margin: 10px 0 0; font-size: 11.5px; color: var(--ink-2); }
.donut .dl li { display: flex; align-items: center; gap: 6px; }
.donut .dl i { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.empty { color: var(--ink-3); font-size: 13px; padding-top: 14px; }

/* 無料と製品版の違い・よくある質問 */
.more { margin-top: 56px; }
.more .card:first-child { margin-top: 0; }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; margin-top: 14px; font-size: 13.5px; }
.cmp th, .cmp td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.cmp thead th { background: #f7faf8; font-size: 12.5px; color: var(--ink-2); }
.cmp thead th:nth-child(3) { background: var(--mint); color: var(--green-d); }
.cmp tbody th { width: 22%; font-weight: 700; }
.cmp td:nth-child(3) { background: #fbfdfc; }
.more-link { margin: 16px 0 0; font-size: 14px; }
.more-link a { font-weight: 700; }
.faq { margin-top: 10px; }
.faq-i { border-top: 1px solid var(--line); }
.faq-i:last-child { border-bottom: 1px solid var(--line); }
.faq-i summary { cursor: pointer; list-style: none; padding: 14px 0 14px 34px; position: relative; font-weight: 700; font-size: 14.5px; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::before { content: "Q"; position: absolute; left: 0; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--num); font-size: 12px; display: grid; place-items: center; }
.faq-i p { margin: 0 0 14px 34px; color: var(--ink-2); font-size: 14px; }

/* 計測ツールへの誘導 */
.next { margin: 64px 0 0; background: var(--ink); color: #fff; border-radius: 16px; padding: 48px 52px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; position: relative; overflow: hidden; }
.next::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(28, 181, 123, .35), transparent 70%); }
.next-kicker { color: var(--yellow); font-weight: 700; font-size: 13px; margin: 0 0 6px; }
.next h2 { font-size: 26px; margin: 0 0 14px; line-height: 1.5; }
.next p { color: #cfd6d3; font-size: 14px; margin: 0; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; position: relative; z-index: 1; }
.btn-consult { background: var(--green); color: #fff; }
.btn-consult:hover { background: #19a66f; }
.btn-tool { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.btn-tool:hover { background: #fff; color: var(--ink); }
.next-visual { position: relative; z-index: 1; }
.dash { background: #fff; color: var(--ink); border-radius: 12px; padding: 18px 20px 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.dash-top { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; }
.pill { color: var(--ink-3); font-size: 11px; font-weight: 500; }
.trend { width: 100%; height: auto; margin-top: 8px; }
.trend .gridl line { stroke: #eef1ef; stroke-width: 1; }
.trend polyline { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.trend .line-own { stroke: var(--green); }
.trend .line-other { stroke: #b9c1bd; }
.trend .bar { fill: #c9d1cd; }
.trend .bar.today { fill: var(--green); }
.trend .bv { font-size: 9px; fill: #4a4a4a; font-family: var(--num); }
.dash-cap { font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.key { width: 14px; height: 3px; display: inline-block; border-radius: 2px; }
.key.own { background: var(--green); } .key.other { background: #b9c1bd; }
.dash-title { margin: 6px 0 0; font-size: 12px; color: var(--ink-2) !important; }
.trend .ylab text, .trend .xlab text { font-size: 9px; fill: #8b8b8b; font-family: var(--num); }
.dash-cap { margin-top: 2px; }
.key { width: 18px; }
.dash-note { margin: 8px 0 0 !important; font-size: 11.5px; color: var(--green-d) !important; font-weight: 700; background: var(--mint); border-radius: 4px; padding: 4px 8px; }

.foot { margin-top: 64px; border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 12px; color: var(--ink-3); }
.foot .inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); }

/* デモ版の帯 */
.demo-band { background: var(--yellow); color: var(--ink); text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; }

/* 埋め込み表示（?embed=1） */
/* サービスページの中に入れるので、見出し部分・誘導・上下の帯は親ページに任せる */
body.embed .topbar, body.embed .foot, body.embed .hero, body.embed .next, body.embed .more { display: none; }
body.embed .panel { margin-top: 0; box-shadow: none; }
body.embed main.inner { padding: 0 2px 8px; }

@media (max-width: 900px) {
  .hero .inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .next { grid-template-columns: 1fr; padding: 36px 26px; }
}
@media (max-width: 640px) {
  .inner { padding: 0 16px; }
  .tool-name { display: none; }
  .panel { padding: 24px 18px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .names { grid-template-columns: 1fr; }
  .btn-run { min-width: 0; width: 100%; }
  .ans-tabs { display: flex; gap: 6px; margin-bottom: 10px; overflow-x: auto; }
  .ans-tab { font: inherit; font-size: 12px; white-space: nowrap; border: 1px solid #d5dcd8; background: #fff; border-radius: 999px; padding: 4px 12px; color: var(--ink-2); }
  .ans-tab.on { background: var(--ink); border-color: var(--ink); color: #fff; }
  .ans-body { grid-template-columns: 1fr; }
  .ans-body .ans-col { display: none; max-height: 420px; }
  .ans-body[data-on="0"] .ans-col:nth-child(1), .ans-body[data-on="1"] .ans-col:nth-child(2), .ans-body[data-on="2"] .ans-col:nth-child(3) { display: block; }
  .ans-col h4 { display: none; }
  /* 質問×AIの表は、質問ごとのまとまりに組み替える */
  .grid { min-width: 0; }
  .grid thead { display: none; }
  .grid, .grid tbody, .grid tr, .grid th, .grid td { display: block; width: 100%; }
  .grid tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
  .grid tbody th { background: #f7faf8; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .grid td { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; text-align: left; }
  .grid td:last-child { border-bottom: 0; }
  .grid tbody th, .grid td { width: auto; }
  .grid td::before { content: attr(data-label); font-size: 12.5px; font-weight: 700; color: var(--ink-2); white-space: nowrap; flex: none; margin-right: 10px; }
  .kpi { padding: 14px 14px; }
  .kpi .k { font-size: 11.5px; line-height: 1.5; }
  .kpi .v.txt { font-size: 16px; }
  .cell { flex-direction: row; min-height: 0; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
  .mark { width: 28px; height: 28px; font-size: 14px; }
  .cell .lab br { display: none; }
  .kpi .v { font-size: 28px; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
  .cmp tbody th { background: #f7faf8; padding: 8px 12px; width: auto; }
  .cmp td { padding: 8px 12px; }
  .cmp td::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; color: var(--green-d); }
  .cmp td:last-child { border-bottom: 0; }
  .hero h1 { font-size: 26px; }
  .hero h1 br:first-child { display: none; }
  .src-wrap { grid-template-columns: 1fr; }
  .donut { max-width: 200px; }
  .card { padding: 20px 16px; }
}
