/* トップ（index.html）のスタイル。lp_ai.html として作ったものをトップへ移した。
 *
 * 色づかいは以前のトップと同じ: 明るい緑のヒーロー、黄色と白の帯の見出し、
 * オレンジのCTA、白い角丸カード。そのうえで「ポップ」に寄せている:
 *   - 角丸ゴシック（M PLUS Rounded 1c）の見出し
 *   - 色のついた「ずらし影」（ぼかさない影）と太めの縁で、カードやボタンを押せそうに見せる
 *   - 傾けたステッカー、波の区切り、ドット柄の地
 * 光るグラデーションや暗い地は使わない（「AIっぽく見える」ため外した）。
 *
 * Tailwind（css/tailwind.css）は使わない。このページは自前の CSS だけで描く。 */

:root {
    --g: #06C755;
    --g-btn: #05a648;
    --g-dark: #0f8646;
    --g-deep: #0b5f33;
    --g-100: #dcfce7;
    --g-50: #f0fdf4;
    --y: #fde047;
    --y-soft: #fff9d9;
    --orange: #ea580c;
    --orange-dark: #c2410c;
    --sky: #e0f2fe;
    --sky-ink: #0369a1;
    --pink: #fce7f3;
    --pink-ink: #be185d;
    --lav: #ede9fe;
    --lav-ink: #6d28d9;
    --ink: #1a2b22;
    --text: #374151;
    --muted: #5b6470;
    --line: #e5e7eb;
    --red: #dc2626;
    --red-50: #fef2f2;
    --pop: 0 6px 0 var(--g-dark);
    --pop-sm: 0 4px 0 var(--g-dark);
    --round: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    --font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.75; overflow-x: hidden; }
img { max-width: 100%; display: block; }
/* display を持つクラス（.row など）より hidden 属性を優先する。 */
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; }
:where(a, button, summary):focus-visible { outline: 3px solid rgba(6, 199, 85, .45); outline-offset: 3px; }
h1, h2, h3 { word-break: auto-phrase; }

.wrap { width: min(1152px, 100% - 32px); margin-inline: auto; }
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } .pc-only { display: none; } }

/* ---------- 共通 ---------- */
.sec { padding: 88px 0; position: relative; overflow-x: clip; }
.bg-mint { background: var(--g-50); }
.bg-dots { background-color: var(--g-50); background-image: radial-gradient(rgba(6, 199, 85, .16) 1.6px, transparent 1.8px); background-size: 22px 22px; }
.bg-cream { background: var(--y-soft); }
.bg-cream-dots { background-color: var(--y-soft); background-image: radial-gradient(rgba(234, 179, 8, .22) 1.6px, transparent 1.8px); background-size: 22px 22px; }


.sec-head { text-align: center; margin-bottom: 52px; }
.bubble-label {
    position: relative; display: inline-block; background: var(--ink); color: #fff; font-family: var(--round);
    font-weight: 800; font-size: 15px; padding: 8px 18px; border-radius: 999px; transform: rotate(-2deg);
}
.bubble-label::after { content: ""; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; border: 7px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
.sec-title { font-family: var(--round); font-size: clamp(28px, 4.6vw, 48px); font-weight: 800; line-height: 1.35; margin-top: 20px; letter-spacing: .01em; }
.sec-title .g { color: var(--g-btn); }
.sec-lead { font-size: clamp(15px, 1.6vw, 18px); color: var(--text); font-weight: 500; margin-top: 14px; }
.mark { background: linear-gradient(transparent 58%, var(--y) 58%); padding: 0 .1em; }
.note { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ボタン: 下にずらし影。押すと沈む。 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
    font-family: var(--round); font-weight: 800; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
    transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.btn svg, .btn i { width: 24px; height: 24px; }
.btn:active { transform: translateY(4px); }
.btn-green { background: var(--g-btn); color: #fff; padding: 10px 22px; font-size: 15px; box-shadow: 0 4px 0 var(--g-deep); }
.btn-green:hover { background: var(--g-dark); }
.btn-green:active { box-shadow: 0 0 0 var(--g-deep); }
.btn-orange {
    background: var(--orange); color: #fff; padding: 18px 40px; font-size: clamp(19px, 2.2vw, 24px);
    border: 3px solid #fff; box-shadow: 0 7px 0 var(--orange-dark), 0 18px 30px -10px rgba(0, 0, 0, .35);
}
.btn-orange:hover { background: #f26b1d; }
.btn-orange:active { box-shadow: 0 2px 0 var(--orange-dark); }
.btn-big { background: var(--g-btn); color: #fff; padding: 20px 32px; font-size: clamp(18px, 2.2vw, 22px); width: 100%; box-shadow: 0 7px 0 var(--g-deep); }
.btn-big:hover { background: var(--g-dark); }
.btn-big:active { box-shadow: 0 2px 0 var(--g-deep); }

/* ステッカー（傾けた丸いラベル） */
.sticker {
    display: inline-grid; place-items: center; text-align: center; border-radius: 50%; font-family: var(--round);
    font-weight: 800; line-height: 1.25; box-shadow: 0 4px 0 rgba(0, 0, 0, .15);
}
.sticker.y { background: var(--y); color: var(--g-deep); }
.sticker.o { background: var(--orange); color: #fff; }
.tag-new {
    display: inline-block; background: var(--orange); color: #fff; font-family: var(--round); font-weight: 800;
    font-size: 11px; letter-spacing: .06em; border-radius: 999px; padding: 2px 9px; transform: rotate(-4deg);
}

.rv { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .9, .3, 1.3); }
.rv.vis { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* ---------- ヘッダー ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(255, 255, 255, .96); box-shadow: 0 2px 0 var(--g-100); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 19px; white-space: nowrap; }
.brand-logo { width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 2px solid var(--g-100); display: grid; place-items: center; flex: none; }
.brand-logo img { width: 24px; height: 24px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--text); }
.nav a { text-decoration: none; white-space: nowrap; padding: 6px 12px; border-radius: 999px; transition: background .2s ease; }
.nav a:hover { background: var(--g-50); color: var(--g-dark); }
@media (max-width: 1100px) { .nav { display: none; } }
@media (max-width: 640px) { .brand { font-size: 16px; } .hdr .btn-green { display: none; } }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; padding: 120px 0 40px; background: linear-gradient(90deg, #39c96e, #15b75a 50%, #0aa84e); color: #fff; }
.hero .deco { position: absolute; pointer-events: none; border-radius: 50%; }
.hero .deco.c1 { width: 340px; height: 340px; background: rgba(253, 224, 71, .22); top: -110px; right: -90px; }
.hero .deco.c2 { width: 240px; height: 240px; background: rgba(255, 255, 255, .1); bottom: 30px; left: -80px; }
.hero .deco.ring { width: 120px; height: 120px; border: 10px dashed rgba(255, 255, 255, .18); background: none; top: 24%; left: 44%; animation: spin 30s linear infinite; }
.hero .yen { position: absolute; font-family: var(--round); font-weight: 800; color: rgba(255, 255, 255, .14); pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-copy { order: 2; position: relative; }
.hero-phone { order: 1; position: relative; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--g-dark); padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 800; box-shadow: 0 4px 0 rgba(0, 0, 0, .12); }
.hero h1 { margin-top: 22px; font-family: var(--round); font-weight: 800; line-height: 1.2; }
.hero h1 span { display: block; width: fit-content; border-radius: 18px; padding: 8px 20px; white-space: nowrap; box-shadow: 0 6px 0 rgba(0, 0, 0, .12); }
.hero h1 .y { background: var(--y); color: var(--g-deep); font-size: clamp(24px, 3.7vw, 48px); margin-bottom: 14px; transform: rotate(-1.5deg); }
.hero h1 .w { background: #fff; color: var(--g-dark); font-size: clamp(21px, 3.2vw, 42px); transform: rotate(1deg); margin-left: 12px; }
.hero .brandline { font-family: var(--round); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-top: 22px; letter-spacing: .04em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 30px; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .18); border: 2px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 15px; }
.hero-points li svg, .hero-points li i { width: 20px; height: 20px; color: var(--y); }
.hero-referral { margin-top: 14px; font-size: 13px; font-weight: 800; color: #fef08a; }
.hero-note { margin-top: 18px; font-size: 12.5px; color: #fff; opacity: .92; }

/* ---------- ヒーローのスマホ（LINEのトーク画面ふう） ----------
 * 「撮って送る → AIが理由つきで仕分け → ひと言で直る・覚える」を1本のトークで見せる。
 * トークは下に積み、古いものは上へ押し出す（本物のトーク画面と同じ）。
 * JS が [data-hero-chat] に .is-playing を付けたときだけ、出ていない .step を隠す
 * （JSが動かない・動きを減らす設定のときは、全部出したまま）。 */
.phone { width: 100%; max-width: 400px; margin-inline: auto; background: #1f242b; border-radius: 46px; padding: 10px; transform: rotate(-2deg); position: relative; }
.phone-screen { position: relative; display: flex; flex-direction: column; height: 620px; border-radius: 36px; overflow: hidden; background: #a7bfdf; color: #1f2937; line-height: 1.55; }
.ln-status { display: flex; align-items: center; justify-content: space-between; padding: 9px 26px 3px; background: #fff; font-size: 12px; font-weight: 800; color: #111; }
.ln-notch { width: 86px; height: 22px; border-radius: 999px; background: #1f242b; }
.ln-sys { display: inline-flex; align-items: flex-end; gap: 2px; }
.ln-sys i { width: 3px; border-radius: 1px; background: #111; }
.ln-sys i:nth-child(1) { height: 4px; } .ln-sys i:nth-child(2) { height: 6px; } .ln-sys i:nth-child(3) { height: 8px; } .ln-sys i:nth-child(4) { height: 10px; }
.ln-sys b { width: 20px; height: 10px; margin-left: 5px; border: 1.5px solid #111; border-radius: 3px; background: linear-gradient(90deg, #111 70%, transparent 70%) content-box; padding: 1px; }
.ln-head { display: flex; align-items: center; gap: 9px; padding: 6px 14px 9px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.ln-back { font-size: 28px; line-height: 1; font-weight: 400; color: #111; margin: -4px -2px 0 0; }
.ln-head img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); padding: 4px; background: #fff; }
.ln-name { line-height: 1.25; min-width: 0; }
.ln-name b { display: block; font-size: 14px; font-weight: 900; color: #111; }
.ln-name small { font-size: 10.5px; color: var(--muted); }
.ln-icons { margin-left: auto; display: flex; gap: 14px; color: #111; }
.ln-icons svg, .ln-icons i { width: 19px; height: 19px; }
.ln-chat { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; padding: 10px 10px 12px; overflow: hidden; }
.ln-date { align-self: center; background: rgba(31, 41, 55, .28); color: #fff; font-size: 10.5px; font-weight: 700; padding: 1px 10px; border-radius: 999px; }
/* 吹き出し（ヒーローと「理由で直す」デモで共通） */
.row { display: flex; align-items: flex-end; gap: 8px; }
.row.me { justify-content: flex-end; }
.bub { max-width: 82%; border-radius: 18px; padding: 9px 12px; font-size: 13px; }
.row.me .bub { background: var(--g); color: #fff; font-weight: 700; border-bottom-right-radius: 6px; }
.row.bot .bub { background: #fff; border: 1px solid #eef0f2; border-bottom-left-radius: 6px; }
.bub .t { font-weight: 900; color: var(--g-dark); }
.dots { display: inline-flex; gap: 4px; margin-top: 4px; }
.dots span { width: 6px; height: 6px; border-radius: 50%; background: #5f6b77; animation: dot 1.2s infinite ease-in-out; }
.dots span:nth-child(2) { animation-delay: .2s; } .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.ln-chat .row { gap: 6px; }
.ln-chat .row.bot { align-items: flex-start; }
.ln-chat .row.bot > div { display: flex; align-items: flex-end; gap: 5px; min-width: 0; max-width: calc(100% - 36px); }
.ln-chat .row.bot .bub { max-width: none; min-width: 0; }
.ln-av { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.ln-av img { width: 20px; height: 20px; object-fit: contain; }
.ln-chat .bub { max-width: 82%; padding: 8px 11px; font-size: 12.5px; border-radius: 17px; box-shadow: none; }
.ln-chat .row.me .bub { background: #8fe36a; color: #10281a; font-weight: 700; border-radius: 17px 4px 17px 17px; }
.ln-chat .row.bot .bub { background: #fff; border: 0; border-radius: 4px 17px 17px 17px; }
.ln-meta { flex: none; font-size: 9.5px; line-height: 1.3; color: #33425a; text-align: right; }
.row.bot .ln-meta { text-align: left; }
/* 送ったレシートの写真 */
.ln-photos { display: flex; gap: 6px; }
.ln-rc { width: 106px; background: #fff; border-radius: 10px; padding: 8px 8px 9px; font-size: 9px; color: #374151; box-shadow: 0 3px 8px rgba(17, 24, 39, .18); transform: rotate(-3deg); }
.ln-rc + .ln-rc { transform: rotate(2.5deg); }
.ln-rc b { display: block; text-align: center; white-space: nowrap; font-size: 10px; font-weight: 900; color: #111; line-height: 1.3; }
.ln-rc small { display: block; text-align: center; font-size: 8.5px; color: var(--muted); border-bottom: 1px dashed #cbd5e1; padding-bottom: 4px; margin-bottom: 4px; }
.ln-rc p { display: flex; justify-content: space-between; line-height: 1.6; }
.ln-rc em { display: flex; justify-content: space-between; margin-top: 3px; padding-top: 3px; border-top: 1px dashed #cbd5e1; font-style: normal; font-size: 10px; font-weight: 900; color: #111; }
/* 仕分け結果のカード */
.ln-card { width: 236px; max-width: 100%; background: #fff; border-radius: 4px 17px 17px 17px; overflow: hidden; font-size: 12px; }
.ln-card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 12px; background: var(--g); color: #fff; font-weight: 900; font-size: 12.5px; }
.ln-card-h small { background: rgba(255, 255, 255, .25); border-radius: 999px; padding: 0 8px; font-size: 10.5px; }
.ln-item { padding: 8px 12px 9px; transition: background .4s ease; }
.ln-item + .ln-item { border-top: 1px solid #eef0f2; }
.ln-item-top { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; color: #111; }
.ln-item-top span:last-child { color: var(--red); white-space: nowrap; }
.ln-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 4px; }
.ln-tags .chip { font-size: 11px; padding: 1px 8px; }
.ln-conf { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 800; color: var(--muted); }
.ln-conf i { position: relative; width: 34px; height: 5px; border-radius: 3px; background: #e5e7eb; overflow: hidden; }
.ln-conf i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 50%); border-radius: 3px; background: var(--g); }
.ln-conf.mid i::after { background: #f59e0b; }
.ln-why-after { display: none; }
.is-fixed .ln-why-before { display: none; }
.is-fixed .ln-why-after { display: block; color: var(--g-dark); }
.ln-why { margin-top: 3px; font-size: 10.5px; line-height: 1.45; color: var(--muted); }
.ln-ask { margin-top: 6px; border: 1.5px solid var(--g); border-radius: 8px; padding: 3px 6px; text-align: center; font-size: 11px; font-weight: 800; color: var(--g-dark); }
.ln-item.is-check { background: #fff7ed; }
.ln-tags .ln-after { display: none; }
.is-fixed .ln-item.is-check { background: #f0fdf4; }
.is-fixed .ln-before { text-decoration: line-through; opacity: .7; background: var(--red-50); color: var(--red); }
.is-fixed .ln-tags .ln-after { display: inline-block; animation: popin .4s cubic-bezier(.2, .9, .3, 1.4) both; }
.is-fixed .ln-conf.mid i::after { width: 90%; background: var(--g); }
.is-fixed .ln-ask { display: none; }
.ln-learn { display: flex; gap: 5px; margin-top: 6px; padding: 5px 8px; border-radius: 9px; background: #f0fdf4; color: var(--g-dark); font-size: 10.5px; font-weight: 800; line-height: 1.45; }
.ln-quick { display: flex; justify-content: flex-end; gap: 6px; }
.ln-quick span { white-space: nowrap; background: #fff; border: 1.5px solid var(--g); color: var(--g-dark); border-radius: 999px; padding: 4px 11px; font-size: 11px; font-weight: 800; }
.ln-quick span:first-child { background: var(--g); color: #fff; }
.ln-input { display: flex; align-items: center; gap: 12px; padding: 8px 14px 18px; background: #fff; color: #4b5563; }
.ln-input svg, .ln-input i { width: 19px; height: 19px; flex: none; }
.ln-input span { flex: 1; background: #f1f3f5; border-radius: 999px; padding: 4px 12px; font-size: 12px; color: #9ca3af; }
.ln-chat .dots { margin: 0; }
[data-hero-chat].is-playing .step:not(.on) { display: none; }
[data-hero-chat] .step.on { animation: ln-pop .4s cubic-bezier(.2, .9, .3, 1.4) both; }
[data-hero-chat] .row.me.step { transform-origin: right bottom; }
[data-hero-chat] .row.bot.step { transform-origin: left bottom; }
@keyframes ln-pop { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
/* トークの下の「いまどこ？」 */
.hero-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-steps li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 5px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .16); color: #fff; font-size: 13px; font-weight: 800; transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.hero-steps li b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--g-dark); font-size: 12px; }
.hero-steps li.on { background: #fff; color: var(--ink-line, #1a2b22); border-color: var(--ink-line, #1a2b22); box-shadow: 0 4px 0 var(--ink-line, #1a2b22); transform: translateY(-2px); }
.hero-steps li.on b { background: var(--y); }
.hero-bottom { position: relative; margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-bottom span { background: #fff; color: var(--g-dark); font-family: var(--round); font-weight: 800; font-size: 14px; border-radius: 999px; padding: 8px 18px; box-shadow: 0 4px 0 rgba(0, 0, 0, .12); }

@media (max-width: 860px) {
    .hero { padding: 92px 0 32px; }
    .hero-in { grid-template-columns: 1fr; gap: 32px; }
    .hero-copy { order: 1; text-align: center; }
    .hero-phone { order: 2; }
    .hero h1 span { margin-inline: auto; text-align: center; }
    .hero h1 .w { margin-left: auto; }
    .hero-points { justify-content: center; }
    .hero .btn-orange { width: 100%; }
    .phone-screen { height: 580px; }
    .hero-steps li { font-size: 12px; }
    .hero .deco.ring { display: none; }
}

/* ---------- 白い角丸カード（ずらし影） ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border: 3px solid var(--g-100); border-radius: 30px; padding: 32px 28px; box-shadow: var(--pop); text-align: center; transition: transform .2s ease, box-shadow .2s ease; position: relative; }
.card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 12px 0 var(--g-dark); }
.card .ic { width: 84px; height: 84px; border-radius: 28px; background: var(--g-100); color: var(--g-btn); display: grid; place-items: center; margin: 0 auto 20px; transform: rotate(-6deg); }
.card .ic svg, .card .ic i { width: 42px; height: 42px; }
.card .before { display: inline-block; font-size: 13px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--red); margin-bottom: 4px; }
.card .after { display: block; font-family: var(--round); font-weight: 800; color: var(--orange); font-size: 13px; letter-spacing: .1em; }
.card h3 { font-family: var(--round); font-size: 21px; font-weight: 800; line-height: 1.45; margin: 6px 0 12px; }
.card p { font-size: 14px; color: var(--text); line-height: 1.85; text-align: left; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- AIの精度が高い理由（色ちがいの2×2） ---------- */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; max-width: 1060px; margin-inline: auto; }
.reason { border-radius: 30px; padding: 34px 28px 28px; border: 3px solid currentColor; position: relative; background: #fff; box-shadow: 0 6px 0 currentColor; }
.reason.r1 { color: var(--g-dark); } .reason.r2 { color: var(--sky-ink); } .reason.r3 { color: #b45309; } .reason.r4 { color: var(--lav-ink); }
.reason .num { position: absolute; top: -22px; left: 24px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: currentColor; font-family: var(--round); font-weight: 800; font-size: 20px; transform: rotate(-8deg); }
.reason .num b { color: #fff; }
.reason .ic { float: right; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin: 0 0 8px 12px; }
.reason.r1 .ic { background: var(--g-100); } .reason.r2 .ic { background: var(--sky); } .reason.r3 .ic { background: #fef3c7; } .reason.r4 .ic { background: var(--lav); }
.reason .ic svg, .reason .ic i { width: 28px; height: 28px; }
.reason h3 { font-family: var(--round); font-size: 22px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.reason p { font-size: 14.5px; color: var(--text); margin-top: 10px; line-height: 1.85; clear: both; }
.reason p b { color: var(--ink); background: linear-gradient(transparent 62%, var(--y) 62%); }
.ex { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; padding: 12px; border-radius: 16px; background: #f9fafb; font-size: 12.5px; color: var(--text); }
.chip { display: inline-block; border-radius: 8px; padding: 2px 9px; font-weight: 800; font-size: 12.5px; background: var(--g-100); color: var(--g-deep); }
.chip.gray { background: #eef0f2; color: #374151; }
.chip.red { background: var(--red-50); color: var(--red); }
.chip.strike { text-decoration: line-through; opacity: .75; }
.ai-note { text-align: center; margin-top: 30px; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 理由で直す（体験デモ） ---------- */
.fix-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1080px; margin-inline: auto; }
.fix-copy .sec-title, .fix-copy .sec-lead { text-align: left; }
.fix-copy .bubble-label { transform: rotate(-3deg); }
.fix-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.fix-steps li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 3px solid #fde68a; border-radius: 20px; padding: 14px 16px; box-shadow: 0 4px 0 #f59e0b; }
.fix-steps .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--round); font-weight: 800; display: grid; place-items: center; }
.fix-steps b { display: block; font-size: 16px; font-weight: 900; }
.fix-steps span { font-size: 14px; color: var(--text); }
.demo { background: #fff; border: 4px solid var(--g); border-radius: 30px; padding: 24px; box-shadow: 0 8px 0 var(--g-dark); position: relative; transform: rotate(1deg); }
.demo-sticker { position: absolute; top: -26px; right: -14px; width: 78px; height: 78px; font-size: 13px; transform: rotate(14deg); }
.demo-head { font-size: 13px; font-weight: 800; color: var(--muted); }
.demo-body { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; min-height: 320px; }
.rcpt { background: #f9fafb; border: 2px dashed #d1d5db; border-radius: 16px; padding: 14px 18px; }
.rcpt small { font-size: 12px; color: var(--muted); font-weight: 700; }
.rcpt .shop { font-size: 17px; font-weight: 900; margin-top: 2px; }
.rcpt .amt { font-size: 22px; font-weight: 900; color: var(--red); margin-top: 2px; }
.rcpt .judge { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--text); }
.fix-btn { width: 100%; border: 3px solid var(--g-dark); color: var(--g-deep); background: var(--g-100); padding: 13px; border-radius: 16px; font-family: var(--round); font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 5px 0 var(--g-dark); transition: transform .12s ease, box-shadow .12s ease; animation: nudge 2.4s ease-in-out infinite; }
.fix-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--g-dark); }
.fix-btn[disabled] { opacity: .5; cursor: default; animation: none; }
@keyframes nudge { 0%, 85%, 100% { transform: none; } 90% { transform: translateY(-3px); } 95% { transform: translateY(1px); } }
.fix-hint { text-align: center; font-size: 12.5px; color: var(--muted); }
.demo .bub { max-width: 92%; font-size: 14px; }
.demo .row.me .bub { margin-left: auto; }
.demo [data-fix-step] { display: none; }
.demo [data-fix-step].on { display: flex; animation: popin .45s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes popin { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.fix-reset { display: none; margin: 0 auto; background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 8px; }
.fix-reset.on { display: block; }
@media (max-width: 860px) { .fix-in { grid-template-columns: 1fr; gap: 40px; } .fix-copy { text-align: center; } .fix-copy .sec-title, .fix-copy .sec-lead { text-align: center; } .fix-steps { text-align: left; } .demo { transform: none; } }

/* ---------- 途中のCTA帯 ---------- */
.cta-band { background: var(--y); padding: 40px 0; }
.cta-band-in { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; text-align: center; }
.cta-band p { font-family: var(--round); font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); color: var(--g-deep); line-height: 1.4; }
.cta-band p small { display: block; font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--text); margin-top: 4px; }
@media (max-width: 640px) { .cta-band .btn-orange { width: 100%; } }

/* ---------- できること（タブ） ---------- */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tab {
    display: inline-flex; align-items: center; gap: 8px; border: 3px solid var(--g-dark); background: #fff; color: var(--g-deep);
    font-family: var(--round); font-weight: 800; font-size: 15px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
    box-shadow: 0 4px 0 var(--g-dark); transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.tab svg, .tab i { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--g-btn); color: #fff; transform: translateY(3px); box-shadow: 0 1px 0 var(--g-dark); }
.panel-title { display: none; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 20px; }
.feat { background: #fff; border: 3px solid var(--g-100); border-radius: 24px; padding: 22px 22px 20px; box-shadow: var(--pop-sm); position: relative; transition: transform .2s ease; }
.feat:hover { transform: translateY(-4px); }
.feat .tag-new { position: absolute; top: -11px; right: 16px; }
.feat h3 { display: flex; align-items: center; gap: 10px; font-family: var(--round); font-size: 17px; font-weight: 800; line-height: 1.45; margin-bottom: 8px; }
.feat h3 .fi { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.feat h3 .fi svg, .feat h3 .fi i { width: 22px; height: 22px; }
.fi.g { background: var(--g-100); color: var(--g-dark); } .fi.s { background: var(--sky); color: var(--sky-ink); }
.fi.y { background: #fef3c7; color: #b45309; } .fi.p { background: var(--pink); color: var(--pink-ink); } .fi.l { background: var(--lav); color: var(--lav-ink); }
.feat p { font-size: 14px; color: var(--text); line-height: 1.8; }
.feat .opt { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 800; color: var(--muted); background: #f3f4f6; border-radius: 6px; padding: 1px 8px; }
/* JS が動かないときは、すべての分類を見出しつきで並べる。 */
.no-tabs .tabs { display: none; }
.no-tabs .panel-title { display: block; font-family: var(--round); font-weight: 800; font-size: 20px; margin: 28px 0 14px; }
@media (max-width: 960px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } .tab { padding: 8px 14px; font-size: 14px; } }

/* ---------- レポート ---------- */
.report-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.report-copy .sec-title, .report-copy .sec-lead { text-align: left; }
.rp-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rp-list li { background: #fff; border: 3px solid var(--g-100); border-radius: 18px; padding: 12px 14px; box-shadow: var(--pop-sm); }
.rp-list b { display: flex; align-items: center; gap: 8px; font-family: var(--round); font-size: 15px; font-weight: 800; }
.rp-list b svg, .rp-list b i { width: 18px; height: 18px; color: var(--g-btn); }
.rp-list span { display: block; font-size: 13px; color: var(--text); margin-top: 2px; line-height: 1.6; }
.dash { background: #fff; border: 3px solid var(--ink); border-radius: 30px; padding: 22px; box-shadow: 8px 8px 0 var(--g); transform: rotate(-1deg); }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-top b { font-family: var(--round); font-size: 17px; font-weight: 800; color: var(--g-dark); }
.dash-top small { font-size: 12px; color: var(--muted); font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.kpi { border-radius: 16px; padding: 10px 12px; }
.kpi.in { background: var(--g-100); } .kpi.out { background: var(--red-50); } .kpi.net { background: var(--y-soft); }
.kpi small { display: block; font-size: 11.5px; color: var(--text); font-weight: 700; }
.kpi b { font-family: var(--round); font-size: clamp(15px, 1.8vw, 19px); font-weight: 800; }
.kpi.in b { color: var(--g-deep); } .kpi.out b { color: var(--red); }
.chart-box { margin-top: 12px; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px 8px; }
.chart-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; font-size: 12.5px; font-weight: 900; }
.chart-head small { color: var(--muted); font-weight: 700; display: inline-flex; gap: 10px; }
.chart-head small i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.chart { position: relative; height: 140px; display: flex; align-items: flex-end; gap: 8px; margin-top: 10px; }
.chart .col { flex: 1; height: 100%; display: flex; align-items: flex-end; gap: 2px; }
.chart .col i { flex: 1; border-radius: 6px 6px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .8s cubic-bezier(.2, .9, .3, 1.25); }
.chart .col i.inc { background: var(--g); }
.chart .col i.exp { background: #fca5a5; }
.rv.vis .chart .col i { transform: scaleY(1); }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.chart-months { display: flex; gap: 8px; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.chart-months span { flex: 1; text-align: center; }
.insight { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; background: var(--y-soft); border-radius: 12px; padding: 9px 12px; margin-top: 10px; }
.insight svg, .insight i { width: 16px; height: 16px; color: #b45309; flex: none; margin-top: 3px; }
.peer { margin-top: 10px; border: 2px dashed #86efac; border-radius: 16px; padding: 10px 14px; }
.peer-head { font-size: 12.5px; font-weight: 900; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; }
.peer-head small { color: var(--muted); font-weight: 700; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; margin-top: 7px; }
.bar-row span:first-child { width: 78px; font-weight: 700; }
.bar-row .track { flex: 1; height: 12px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.bar-row .track i { display: block; height: 100%; border-radius: 999px; background: var(--g); }
.bar-row em { font-style: normal; font-weight: 900; color: var(--g-dark); width: 38px; text-align: right; }
@media (max-width: 960px) { .report-in { grid-template-columns: 1fr; } .report-copy { text-align: center; } .report-copy .sec-title, .report-copy .sec-lead { text-align: center; } .rp-list { text-align: left; } .dash { transform: none; } }
@media (max-width: 520px) { .rp-list { grid-template-columns: 1fr; } .kpis { grid-template-columns: 1fr 1fr; } .kpis .kpi:last-child { grid-column: span 2; } .dash { padding: 16px; box-shadow: 5px 5px 0 var(--g); } }

/* ---------- 2つの進め方 ---------- */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin-inline: auto; }
.way { background: #fff; border-radius: 30px; padding: 32px 30px; border: 3px solid var(--line); box-shadow: 0 6px 0 #d1d5db; position: relative; }
.way.pro { border-color: var(--g); box-shadow: 0 6px 0 var(--g-dark); }
.way .rec { position: absolute; top: -18px; right: 22px; width: 78px; height: 78px; font-size: 12px; transform: rotate(10deg); }
.way small { font-size: 13px; font-weight: 800; color: var(--g-dark); }
.way h3 { font-family: var(--round); font-size: 25px; font-weight: 800; margin-top: 2px; }
.way .for { font-size: 14px; color: var(--muted); margin-top: 4px; }
.way ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.way li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.way li svg, .way li i { width: 22px; height: 22px; color: #fff; background: var(--g-btn); border-radius: 50%; padding: 3px; flex: none; margin-top: 2px; }
.ways-note { text-align: center; margin-top: 22px; }
@media (max-width: 760px) { .ways { grid-template-columns: 1fr; } }

/* ---------- 提携税理士 ---------- */
.trust { background: #14261c; color: #fff; }
.trust-in { display: flex; align-items: center; gap: 48px; max-width: 1024px; margin-inline: auto; }
.trust-in img { width: 240px; height: 240px; border-radius: 50%; object-fit: cover; border: 6px solid var(--y); flex: none; }
.trust h2 { font-family: var(--round); font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.trust .sub { color: #d1fae5; margin-top: 6px; }
.trust .office { font-size: 20px; font-weight: 700; margin-top: 20px; }
.trust .rep { font-weight: 700; margin-top: 4px; }
.trust p.bio { color: #d1d5db; margin-top: 10px; line-height: 1.85; }
.secure { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .15); border-radius: 18px; padding: 16px 18px; }
.secure svg, .secure i { width: 28px; height: 28px; color: var(--y); flex: none; }
.secure b { display: block; }
.secure span { font-size: 13px; color: #d1d5db; }
@media (max-width: 860px) { .trust-in { flex-direction: column; text-align: center; gap: 28px; } .trust-in img { width: 190px; height: 190px; } .secure { text-align: left; } }

/* ---------- FAQ ---------- */
/* ---------- 誠実な申告のために（法的役割分担） ---------- */
.rules { background: #14261c; padding-top: 0; color: #d1d5db; }
.rules-box { max-width: 880px; margin-inline: auto; background: #1f3328; border: 2px solid #35503f; border-radius: 22px; padding: 28px 30px; font-size: 14px; line-height: 1.85; }
.rules-box h2 { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #35503f; color: #fff; font-family: var(--round); font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; }
.rules-box h2 svg, .rules-box h2 i { width: 26px; height: 26px; color: var(--y); flex: none; }
.rules-box > p:first-of-type { color: #fff; font-weight: 500; }
.rules-ng-title { margin-top: 16px; color: #fca5a5; font-weight: 800; }
.rules-box ul { margin: 8px 0 0; padding: 14px 14px 14px 34px; background: rgba(0, 0, 0, .22); border: 1px solid #35503f; border-radius: 12px; }
.rules-box .note { margin-top: 14px; color: #d1d5db; }
@media (max-width: 640px) { .rules-box { padding: 22px 18px; } }
.faq .a small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.guide-link { margin-top: 26px; }
.guide-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--g-deep); background: #fff; border: 3px solid var(--ink-line, #1a2b22); border-radius: 999px; padding: 10px 22px; box-shadow: 0 4px 0 var(--ink-line, #1a2b22); text-decoration: none; }
.guide-link a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink-line, #1a2b22); }
.guide-link svg, .guide-link i { width: 20px; height: 20px; }

.faq-list { max-width: 880px; margin-inline: auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 3px solid var(--g-100); border-radius: 20px; overflow: hidden; box-shadow: var(--pop-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 56px 16px 18px; font-weight: 800; display: flex; gap: 12px; align-items: center; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--g-btn); color: #fff; display: grid; place-items: center; font-family: var(--round); font-weight: 800; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--g-50); color: var(--g-dark); display: grid; place-items: center; font-size: 22px; font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 18px 18px 62px; font-size: 14.5px; color: var(--text); line-height: 1.85; }
.faq .a b { display: block; color: var(--ink); margin-bottom: 4px; }
.faq-more { text-align: center; margin-top: 22px; font-size: 14px; }
.faq-more a { color: var(--g-dark); font-weight: 800; }

/* ---------- 最後のCTA ---------- */
.final { text-align: center; }
.final h2 { font-family: var(--round); font-size: clamp(28px, 4.6vw, 50px); font-weight: 800; line-height: 1.35; }
.final .msg { margin-top: 22px; font-size: clamp(15px, 1.8vw, 18px); font-weight: 700; line-height: 1.95; color: var(--text); }
.final .box { position: relative; max-width: 640px; margin: 44px auto 0; background: #fff; border: 4px solid var(--g); border-radius: 30px; padding: 36px 32px 28px; box-shadow: 0 8px 0 var(--g-dark); }
.final .box .sticker { position: absolute; top: -34px; left: -18px; width: 86px; height: 86px; font-size: 13px; transform: rotate(-12deg); }
.final .note { margin-top: 16px; }

/* ---------- フッター ---------- */
.ftr { background: #14261c; color: #a7b5ad; padding: 48px 0 110px; font-size: 14px; text-align: center; }
.ftr nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 16px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr .legal { max-width: 760px; margin: 0 auto 16px; font-size: 12px; line-height: 1.8; }

/* ---------- 追従CTA（スマホ） ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; padding: 12px 16px 16px; background: rgba(255, 255, 255, .92); border-top: 2px solid var(--g-100); transform: translateY(110%); transition: transform .3s ease; }
.sticky-cta.on { transform: none; }
.sticky-cta .btn { width: 100%; padding: 13px; font-size: 17px; }
@media (max-width: 767px) { .sticky-cta { display: block; } }

/* ---------- 「画像で見る」ボタンと、画像のウィンドウ ---------- */
.peek {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; border: 2px solid var(--g-dark); background: var(--y);
    color: var(--g-deep); font-family: var(--round); font-weight: 800; font-size: 13px; padding: 6px 14px; border-radius: 999px;
    cursor: pointer; box-shadow: 0 3px 0 var(--g-dark); transition: transform .12s ease, box-shadow .12s ease;
}
.peek:hover { transform: translateY(-2px) rotate(-1deg); }
.peek:active { transform: translateY(3px); box-shadow: 0 0 0 var(--g-dark); }
.peek-row { margin-top: 16px; }
.feat[data-has-shot], .reason[data-has-shot] { cursor: pointer; }
.shot-modal { border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100vw - 24px)); width: 100%; overflow: visible; }
.shot-modal::backdrop { background: rgba(11, 95, 51, .55); backdrop-filter: blur(3px); }
.shot-modal[open] .shot-in { animation: shotpop .35s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes shotpop { from { opacity: 0; transform: translateY(20px) scale(.92) rotate(-2deg); } to { opacity: 1; transform: none; } }
.shot-in { background: #fff; border: 4px solid var(--g); border-radius: 28px; padding: 16px 16px 14px; box-shadow: 0 10px 0 var(--g-dark); }
.shot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 10px; }
.shot-head b { font-family: var(--round); font-weight: 800; font-size: 17px; line-height: 1.4; }
.shot-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--y); color: var(--g-deep); font-size: 24px; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 #ca8a04; line-height: 1; }
.shot-in img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 18px; background: var(--g-50); }
.shot-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-family: var(--round); font-weight: 800; color: var(--muted); font-size: 14px; }
.shot-step { border: 2px solid var(--g-dark); background: #fff; color: var(--g-deep); font-family: var(--round); font-weight: 800; font-size: 14px; border-radius: 999px; padding: 7px 16px; cursor: pointer; box-shadow: 0 3px 0 var(--g-dark); }
.shot-step:active { transform: translateY(3px); box-shadow: none; }
.shot-in .note { text-align: center; margin-top: 8px; }

/* ---------- 税理士プラン（AIだけじゃない） ---------- */
.pro { background: linear-gradient(180deg, #fff, var(--g-50)); }
.pro-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1.15fr; align-items: stretch; gap: 14px; max-width: 1040px; margin: 0 auto; }
.pf { position: relative; background: #fff; border: 3px solid var(--g-100); border-radius: 26px; padding: 22px 20px; text-align: center; box-shadow: var(--pop-sm); }
.pf-ic { display: block; font-size: 40px; line-height: 1; }
.pf small { display: block; margin-top: 10px; font-family: var(--round); font-weight: 800; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.pf b { display: block; font-family: var(--round); font-weight: 800; font-size: 20px; margin-top: 2px; }
.pf > span:last-child { display: block; font-size: 13px; color: var(--text); margin-top: 4px; }
.pf-pro { background: var(--g-btn); border-color: var(--g-dark); color: #fff; box-shadow: 0 6px 0 var(--g-deep); transform: rotate(-1.5deg); }
.pf-pro small, .pf-pro > span:last-child { color: #e6fbee; }
.pf-sticker { position: absolute; top: -22px; right: -12px; width: 60px; height: 60px; font-size: 14px; transform: rotate(14deg); }
.pf-arrow { align-self: center; font-size: 30px; color: var(--g-btn); font-weight: 900; }
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1040px; margin: 40px auto 0; }
.pro-card { background: #fff; border: 3px solid var(--g-100); border-radius: 26px; padding: 26px 24px; box-shadow: var(--pop-sm); }
.pc-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--y); color: var(--g-deep); display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 0 3px 0 #ca8a04; }
.pc-ic svg, .pc-ic i { width: 28px; height: 28px; }
.pro-card h3 { font-family: var(--round); font-weight: 800; font-size: 19px; line-height: 1.45; margin-top: 16px; }
.pro-card p { font-size: 14px; color: var(--text); margin-top: 8px; line-height: 1.8; }
.pro-who { display: flex; align-items: center; gap: 14px; max-width: 560px; margin: 30px auto 0; padding: 12px 18px; background: #fff; border: 3px solid var(--g-dark); border-radius: 999px; text-decoration: none; box-shadow: 0 4px 0 var(--g-dark); transition: transform .15s ease; }
.pro-who:hover { transform: translateY(-2px); }
.pro-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--y); flex: none; }
.pro-who small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; }
.pro-who b { display: block; font-size: 14.5px; line-height: 1.45; }
.pro-who .go { margin-left: auto; font-size: 28px; color: var(--g-btn); font-weight: 900; }
@media (max-width: 860px) {
    .pro-flow { grid-template-columns: 1fr; gap: 8px; max-width: 420px; }
    .pf-arrow { transform: rotate(90deg); justify-self: center; }
    .pf-pro { transform: none; }
    .pro-grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* ---------- AIの理由の「くわしい例」 ---------- */
.detail-btn { background: #fff; }
.detail-modal { max-width: min(620px, calc(100vw - 24px)); }
.detail-body { max-height: min(68vh, 640px); overflow-y: auto; padding: 4px 4px 8px; font-size: 14px; color: var(--text); overscroll-behavior: contain; }
.detail-body b { color: var(--ink); }
.detail-body .chip { font-style: normal; }
.dt-lead { font-size: 15px; line-height: 1.8; background: var(--g-50); border-radius: 16px; padding: 12px 14px; }
.dt-sub { margin: 18px 0 8px; font-family: var(--round); font-weight: 800; font-size: 15px; color: var(--g-deep); }
.dt-sub::before { content: "● "; color: var(--orange); }
.dt-case { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; margin-top: 14px; }
.dt-rcpt { background: #f9fafb; border: 2px dashed #d1d5db; border-radius: 16px; padding: 12px 14px; }
.dt-rcpt small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.dt-rcpt b { display: block; font-size: 16px; margin-top: 2px; }
.dt-rcpt span { display: block; font-size: 12.5px; color: var(--muted); }
.dt-rcpt-wide { margin-top: 14px; text-align: center; }
.dt-arrow { background: var(--y); border-radius: 16px; padding: 10px 14px; font-size: 13px; text-align: center; line-height: 1.5; transform: rotate(2deg); box-shadow: 0 3px 0 #ca8a04; }
.dt-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.dt-steps li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 2px solid var(--g-100); border-radius: 14px; padding: 10px 12px; }
.dt-steps li > span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--g-btn); color: #fff; font-family: var(--round); font-weight: 800; display: grid; place-items: center; font-size: 13px; }
.dt-steps b { display: block; font-size: 14.5px; }
.dt-table { border: 2px solid var(--g-100); border-radius: 14px; overflow: hidden; font-size: 13px; }
.dt-tr { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 8px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--g-100); }
.dt-tr:first-child { border-top: 0; }
.dt-th { background: var(--g-50); font-weight: 800; color: var(--g-deep); font-size: 12px; }
.dt-point { margin-top: 16px; background: var(--y-soft); border: 2px solid #fde68a; border-radius: 14px; padding: 10px 12px; font-size: 13.5px; line-height: 1.75; }
.dt-timeline { display: grid; gap: 10px; margin-top: 14px; position: relative; }
.dt-tl { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.dt-tl b { display: block; }
.dt-tl small { color: var(--muted); }
.dt-tl-on { border-color: var(--g); box-shadow: 0 4px 0 var(--g-dark); }
.dt-month { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--g-100); color: var(--g-deep); font-family: var(--round); font-weight: 800; display: grid; place-items: center; }
.dt-tl-on .dt-month { background: var(--g-btn); color: #fff; }
.dt-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dt-ways div { background: #fff; border: 2px solid var(--g-100); border-radius: 14px; padding: 10px; text-align: center; font-size: 12px; line-height: 1.5; }
.dt-ways span { display: block; font-size: 24px; }
.dt-ways b { display: block; font-size: 13.5px; margin: 2px 0; }
.dt-vote { margin-top: 14px; background: #fff; border: 2px solid var(--g-100); border-radius: 16px; padding: 14px; text-align: center; }
.dt-people { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.dt-people span { background: var(--g-50); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; }
.dt-vote p { margin-top: 8px; }
.dt-ok { margin-top: 10px; background: var(--g-btn); color: #fff; border-radius: 14px; padding: 10px 12px; line-height: 1.6; }
.dt-ok b, .dt-ok small { color: #fff; }
.dt-ng { margin-top: 12px; background: var(--red-50); border: 2px solid #fecaca; border-radius: 14px; padding: 10px 12px; font-size: 13px; }
.dt-ng b { display: block; margin-bottom: 2px; }
.dt-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.dt-c { border-radius: 16px; padding: 12px; border: 3px solid; text-align: center; }
.dt-c small { display: block; font-weight: 800; font-size: 12.5px; }
.dt-c b { display: block; margin: 6px 0 2px; font-size: 16px; }
.dt-c span { font-size: 12.5px; }
.dt-c p { font-size: 12.5px; margin-top: 6px; line-height: 1.6; text-align: left; }
.dt-c-ok { border-color: var(--g); background: var(--g-50); }
.dt-c-warn { border-color: #f59e0b; background: #fffbeb; }
.dt-prior { display: grid; gap: 8px; }
.dt-prior div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--g-100); border-radius: 14px; padding: 8px 12px; }
.dt-prior b { margin-right: 4px; font-size: 13.5px; }
@media (max-width: 520px) {
    .dt-case { grid-template-columns: 1fr; }
    .dt-arrow { transform: none; }
    .dt-tr { grid-template-columns: 1fr auto; }
    .dt-tr span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--muted); font-size: 12px; }
    .dt-th span:nth-child(2) { display: none; }
    .dt-ways { grid-template-columns: 1fr; }
    .dt-ways div { display: grid; grid-template-columns: 32px 1fr; text-align: left; align-items: center; column-gap: 8px; }
    .dt-ways span { grid-row: span 2; }
    .dt-compare { grid-template-columns: 1fr; }
}

/* =====================================================================
 * さらにポップ（上の土台に重ねる層。同じ詳細度のルールは、あとに書いたここが勝つ）
 *   黒いフチ＋黒いずらし影、節ごとに濃い地色、流れる帯、ギザギザのステッカー、
 *   浮かぶ絵文字、見出しの手書き風の波線、ホバーでぷるん。
 * 提携税理士の節・FAQの文面・最後のCTAの周りは、信頼感を残すため色を抑えている。
 * ===================================================================== */
:root { --ink-line: #1a2b22; --pink-pop: #ff4d8d; }

/* 黒いフチ＋黒いずらし影 */
.card, .feat, .reason, .pro-card, .rp-list li, .faq details, .way, .way.pro, .pf, .demo, .dash, .fix-steps li, .pro-who, .shot-in {
    border: 3px solid var(--ink-line); box-shadow: 6px 6px 0 var(--ink-line);
}
.card:hover, .feat:hover, .pro-card:hover, .reason:hover { box-shadow: 8px 8px 0 var(--ink-line); }
.reason .num, .sticker, .hero h1 span, .hero-tag, .hero-bottom span, .tab, .peek, .fix-btn, .bubble-label, .pc-ic, .card .ic, .shot-close, .shot-step { border: 3px solid var(--ink-line); }
.btn-orange, .btn-green, .btn-big { border: 3px solid var(--ink-line); box-shadow: 0 6px 0 var(--ink-line); }
.btn-orange:active, .btn-green:active, .btn-big:active { box-shadow: 0 1px 0 var(--ink-line); }
.tab, .peek, .fix-btn, .hero-bottom span, .hero-tag, .shot-step, .shot-close { box-shadow: 0 4px 0 var(--ink-line); }
.tab[aria-selected="true"] { box-shadow: 0 1px 0 var(--ink-line); }
.hero h1 span { box-shadow: 6px 6px 0 var(--ink-line); }
.bubble-label { background: var(--y); color: var(--ink-line); box-shadow: 4px 4px 0 var(--ink-line); }
.bubble-label::after { border-top-color: var(--ink-line); }
.phone { border: 3px solid var(--ink-line); box-shadow: 10px 10px 0 var(--ink-line); }
.pf-pro { box-shadow: 6px 6px 0 var(--ink-line); }

/* 節ごとに濃い地色（ドット・ストライプ） */
#features { background-color: #ffe66d; background-image: radial-gradient(rgba(26, 43, 34, .12) 2px, transparent 2.2px); background-size: 20px 20px; }
#ai { background-color: #ffeef6; background-image: radial-gradient(rgba(190, 24, 93, .12) 2px, transparent 2.2px); background-size: 20px 20px; }
#fix { background-color: #fff3c4; }
#pro { background: #d9f7e6 repeating-linear-gradient(-45deg, rgba(15, 134, 70, .06) 0 14px, transparent 14px 28px); }
#all { background-color: #dff3ff; background-image: radial-gradient(rgba(3, 105, 161, .14) 2px, transparent 2.2px); background-size: 20px 20px; }
.final { background: #ffe66d; }

/* 見出しの強調語に、手書き風の波線 */
.sec-title { text-shadow: 3px 3px 0 rgba(255, 255, 255, .9); }
.sec-title .mark { background: none; position: relative; z-index: 0; }
.sec-title .mark::after {
    content: ""; position: absolute; left: -4px; right: -4px; bottom: -6px; height: 14px; z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M0 9 Q 8 2 16 9 T 33 9 T 50 9 T 67 9 T 84 9 T 100 9' fill='none' stroke='%23f97316' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ギザギザ（スターバースト） */
.burst, .feat .tag-new {
    clip-path: polygon(50% 0%, 61% 18%, 82% 10%, 79% 32%, 100% 40%, 84% 56%, 96% 76%, 74% 76%, 68% 98%, 50% 84%, 32% 98%, 26% 76%, 4% 76%, 16% 56%, 0% 40%, 21% 32%, 18% 10%, 39% 18%);
    background: var(--pink-pop); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--round); font-weight: 800;
}
.feat .tag-new { width: 52px; height: 52px; padding: 0; font-size: 11px; top: -22px; right: 6px; }
.burst { position: absolute; z-index: 3; width: 150px; height: 150px; font-size: 17px; line-height: 1.25; animation: burst-wobble 3s ease-in-out infinite; }
.hero-burst { right: -40px; top: -70px; }
@keyframes burst-wobble { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(2deg) scale(1.06); } }

/* ホバーでぷるん */
@keyframes jelly { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.04, .96); } 50% { transform: scale(.97, 1.03); } 70% { transform: scale(1.01, .99); } }
.card:hover, .feat:hover, .pro-card:hover, .reason:hover { animation: jelly .5s ease; }

/* 流れる帯（ヒーローの下） */
/* 傾けた帯の端が画面の外へはみ出して横スクロールが出ないよう、外側で切る。 */
.marquee-wrap { overflow: hidden; margin: -14px 0 -6px; padding: 8px 0; position: relative; z-index: 3; }
.marquee { background: var(--ink-line); color: var(--y); overflow: hidden; transform: rotate(-1.2deg); margin: 0 -12px; }
.marquee > div { display: flex; gap: 36px; width: max-content; padding: 12px 0; font-family: var(--round); font-weight: 800; font-size: 20px; animation: marquee 22s linear infinite; }
.marquee span::after { content: "✦"; margin-left: 36px; color: #ff8fb8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ヒーローに浮かぶ絵文字 */
.floaty { position: absolute; font-size: 40px; pointer-events: none; animation: floaty 5s ease-in-out infinite; filter: drop-shadow(3px 3px 0 rgba(26, 43, 34, .35)); z-index: 1; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-16px) rotate(8deg); } }

@media (max-width: 860px) {
    .burst { width: 96px; height: 96px; font-size: 11.5px; }
    .hero-burst { right: -6px; top: -42px; }
    .hero-tag { margin-right: 70px; }
    .floaty { display: none; }
    .marquee > div { font-size: 16px; }
}

/* ---------- くわしい例のウィンドウも同じテイストに ---------- */
.shot-modal::backdrop { background-color: rgba(26, 43, 34, .55); background-image: radial-gradient(rgba(255, 255, 255, .12) 2px, transparent 2.2px); background-size: 22px 22px; }
.detail-modal .shot-head { margin: -16px -16px 12px; padding: 14px 16px; border-bottom: 3px solid var(--ink-line); border-radius: 24px 24px 0 0; background: var(--g-100); }
.detail-modal[data-tone="r1"] .shot-head { background: #c9f5da; }
.detail-modal[data-tone="r2"] .shot-head { background: #cdeeff; }
.detail-modal[data-tone="r3"] .shot-head { background: #ffe9a8; }
.detail-modal[data-tone="r4"] .shot-head { background: #e4dcff; }
.detail-modal .shot-head b { font-size: 18px; }
.detail-modal .shot-head b::before { content: attr(data-no); display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--ink-line); color: #fff; font-size: 14px; vertical-align: middle; transform: rotate(-8deg); }
.detail-body .chip { border: 2px solid var(--ink-line); }
.dt-lead { background: #fff; border: 3px solid var(--ink-line); box-shadow: 4px 4px 0 var(--ink-line); }
.dt-sub { display: inline-block; position: relative; z-index: 0; }
.dt-sub::before { content: none; }
.dt-sub::after {
    content: ""; position: absolute; left: -2px; right: -2px; bottom: -4px; height: 10px; z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'%3E%3Cpath d='M0 9 Q 8 2 16 9 T 33 9 T 50 9 T 67 9 T 84 9 T 100 9' fill='none' stroke='%23f97316' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.dt-rcpt, .dt-steps li, .dt-table, .dt-tl, .dt-ways div, .dt-vote, .dt-ng, .dt-c, .dt-prior div, .dt-point {
    border: 2.5px solid var(--ink-line); box-shadow: 4px 4px 0 var(--ink-line);
}
.dt-rcpt { border-style: dashed; background: #fff; }
.dt-arrow { border: 2.5px solid var(--ink-line); box-shadow: 4px 4px 0 var(--ink-line); }
.dt-steps li > span, .dt-month { border: 2.5px solid var(--ink-line); }
.dt-tl-on { box-shadow: 4px 4px 0 var(--ink-line); background: #f0fdf4; }
.dt-point { background: #ffe66d; }
.dt-ok { border: 2.5px solid var(--ink-line); }
.dt-ng { background: #ffe4ee; }
.dt-c-ok { background: #c9f5da; }
.dt-c-warn { background: #ffe9a8; }
.dt-people span { border: 2px solid var(--ink-line); background: #fff; }
.dt-ways div:nth-child(1) { background: #c9f5da; } .dt-ways div:nth-child(2) { background: #cdeeff; } .dt-ways div:nth-child(3) { background: #ffe9a8; }
.dt-table .dt-th { background: var(--ink-line); color: var(--y); }
.dt-tr { border-top-color: var(--ink-line); }
.detail-body { padding: 4px 8px 12px 4px; }
.shot-modal[open] .detail-body > * { animation: popin .4s cubic-bezier(.2, .9, .3, 1.4) both; }
.shot-modal[open] .detail-body > *:nth-child(2) { animation-delay: .05s; }
.shot-modal[open] .detail-body > *:nth-child(3) { animation-delay: .1s; }
.shot-modal[open] .detail-body > *:nth-child(4) { animation-delay: .15s; }
.shot-modal[open] .detail-body > *:nth-child(n+5) { animation-delay: .2s; }

/* =====================================================================
 * マーケティングの改善（2026-11）
 *   締切バー／CTAの「友だち追加は無料」／ヒーローの時期の一言／「これ、経費？」／友だち紹介
 * ===================================================================== */

/* 締切バー（期限が近いときだけ出る。中身は modules/marketing/lp_ai/season.js） */
.deadline {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 49; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: 2px 12px; padding: 8px 16px; background: var(--ink-line, #1a2b22); color: #fff; font-size: 13px; text-align: center;
    border-bottom: 3px solid var(--y);
}
.deadline[hidden] { display: none; }
.deadline .dl-main { font-family: var(--round); font-weight: 800; font-size: 15px; }
.deadline .dl-main b { color: var(--y); font-size: 20px; margin: 0 2px; }
.deadline .dl-note { color: #cfe9d9; font-size: 12px; }
body.has-deadline .hero { padding-top: 168px; }
body.has-deadline :target { scroll-margin-top: 130px; }
@media (max-width: 860px) { body.has-deadline .hero { padding-top: 150px; } .deadline .dl-note { flex-basis: 100%; } }

/* CTAの下の「友だち追加は無料」 */
.cta-free { margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.hero .cta-free { color: #fff; }
.final .cta-free { color: var(--g-deep); margin-top: 14px; }
.sticky-free { margin: 4px 0 0; text-align: center; font-size: 11px; font-weight: 800; color: var(--g-deep); }

/* ヒーローの時期の一言 */
.hero-season {
    display: inline-block; margin-top: 16px; padding: 8px 16px; border-radius: 14px; background: #fff; color: var(--g-deep);
    border: 3px solid var(--ink-line, #1a2b22); box-shadow: 4px 4px 0 var(--ink-line, #1a2b22); font-weight: 800; font-size: 14px; line-height: 1.6;
    transform: rotate(-1deg);
}

/* 「これ、経費？」 */
.ask {
    max-width: 760px; margin-inline: auto; background: #fff; border: 3px solid var(--ink-line, #1a2b22); border-radius: 28px;
    box-shadow: 6px 6px 0 var(--ink-line, #1a2b22); padding: 26px 24px;
}
.ask-q { font-family: var(--round); font-weight: 800; font-size: 18px; text-align: center; }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.ask-chips button {
    border: 3px solid var(--ink-line, #1a2b22); background: var(--y-soft); color: var(--ink); font-family: var(--round); font-weight: 800;
    font-size: 15px; padding: 10px 18px; border-radius: 999px; cursor: pointer; box-shadow: 0 4px 0 var(--ink-line, #1a2b22);
    transition: transform .12s ease, box-shadow .12s ease, background .2s ease;
}
.ask-chips button:hover { background: #ffe66d; }
.ask-chips button[aria-pressed="true"] { background: var(--g-btn); color: #fff; transform: translateY(3px); box-shadow: 0 1px 0 var(--ink-line, #1a2b22); }
.ask-a { margin-top: 18px; }
.ask-card { background: var(--g-50); border: 3px solid var(--ink-line, #1a2b22); border-radius: 20px; padding: 16px 18px; animation: popin .4s cubic-bezier(.2, .9, .3, 1.4) both; }
.ask-card .verdict { font-family: var(--round); font-weight: 800; font-size: 19px; }
.ask-card .verdict.yes { color: var(--g-deep); }
.ask-card .verdict.maybe { color: #b45309; }
.ask-card .verdict.no { color: var(--red); }
.ask-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ask-meta span { font-size: 12.5px; font-weight: 800; background: #fff; border: 2px solid var(--ink-line, #1a2b22); border-radius: 8px; padding: 1px 9px; }
.ask-card p { margin-top: 10px; font-size: 14.5px; color: var(--text); line-height: 1.85; }
.ask > .note { margin-top: 16px; text-align: center; }

/* 友だち紹介 */
.refer { padding-top: 40px; padding-bottom: 40px; }
.refer-card {
    position: relative; max-width: 980px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px 32px; align-items: center;
    background: #fff; border: 3px solid var(--ink-line, #1a2b22); border-radius: 30px; box-shadow: 6px 6px 0 var(--ink-line, #1a2b22); padding: 32px;
}
.refer-copy .sec-title { margin-top: 16px; font-size: clamp(24px, 3.2vw, 34px); }
.refer-copy .sec-lead { margin-top: 10px; font-size: 15px; }
.refer-perks { display: grid; gap: 12px; }
.refer-perks div { border: 3px solid var(--ink-line, #1a2b22); border-radius: 20px; padding: 14px 18px; background: var(--g-50); box-shadow: 4px 4px 0 var(--ink-line, #1a2b22); }
.refer-perks div:nth-child(2) { background: var(--y-soft); }
.refer-perks small { display: block; font-size: 12px; font-weight: 800; color: var(--muted); }
.refer-perks b { display: block; font-size: 15px; line-height: 1.6; margin-top: 2px; }
.refer-perks em { font-style: normal; font-family: var(--round); font-size: 24px; color: var(--orange); }
.refer-card > .note { grid-column: 1 / -1; }
.refer-sticker { position: absolute; top: -26px; right: -14px; width: 84px; height: 84px; font-size: 13px; transform: rotate(12deg); }
@media (max-width: 760px) { .refer-card { grid-template-columns: 1fr; padding: 26px 20px; text-align: center; } .refer-perks { text-align: left; } }

/* =====================================================================
 * デザインの見直し（2026-11）
 *   ・ヒーロー: 同じ言葉の繰り返しを減らし、スマホで1画面半ほどに収める
 *   ・法的役割分担: 黒い大きな箱を、開くと読める折りたたみに（文面はそのまま）
 *   ・FAQ: 最初は6問だけ見せて「すべての質問を見る」で残りを出す（JSが無ければ全部見える）
 *   ・スマホの節の上下の余白を詰める
 * ===================================================================== */

/* ヒーロー */
.hero .brandline { font-size: 15px; letter-spacing: .3em; opacity: .9; margin-top: 18px; }
.hero-points { gap: 8px; margin: 16px 0 26px; }
.hero-points li { padding: 6px 14px; font-size: 14px; }
.hero-note { font-size: 12px; opacity: .85; }
@media (max-width: 860px) {
    .hero { padding-bottom: 28px; }
    .hero .brandline { display: none; }
    .hero h1 { margin-top: 18px; }
    .hero-points { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 6px; margin: 14px 0 20px; }
    .hero-points li { font-size: 13px; padding: 5px 12px; }
    .hero-season { font-size: 13px; padding: 7px 12px; }
    .phone { max-width: 340px; }
    .phone-screen { height: 520px; }
    .hero-steps { margin-top: 18px; }
}

/* 法的役割分担（折りたたみ） */
.rules { padding-bottom: 48px; }
details.rules-box { padding: 0; }
details.rules-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; }
details.rules-box > summary::-webkit-details-marker { display: none; }
details.rules-box > summary h2 { padding: 0; margin: 0; border: 0; font-size: clamp(16px, 2vw, 19px); }
.rules-more { flex: none; font-size: 12.5px; font-weight: 800; color: var(--ink-line, #1a2b22); background: var(--y); border-radius: 999px; padding: 4px 12px; }
.rules-more::after { content: " ＋"; }
details.rules-box[open] .rules-more::after { content: " −"; }
details.rules-box[open] > summary { border-bottom: 1px solid #35503f; }
details.rules-box > :not(summary) { margin-left: 24px; margin-right: 24px; }
details.rules-box > :last-child { margin-bottom: 22px; }
details.rules-box > summary + p { margin-top: 16px; }
@media (max-width: 640px) { details.rules-box > summary { padding: 16px 18px; } details.rules-box > :not(summary) { margin-left: 18px; margin-right: 18px; } }

/* FAQ（6問＋もっと見る） */
.faq-list.is-collapsed > details.is-extra { display: none; }
.faq-toggle {
    display: block; margin: 18px auto 0; border: 3px solid var(--ink-line, #1a2b22); background: #fff; color: var(--g-deep);
    font-family: var(--round); font-weight: 800; font-size: 15px; padding: 10px 24px; border-radius: 999px; cursor: pointer;
    box-shadow: 0 4px 0 var(--ink-line, #1a2b22);
}
.faq-toggle:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink-line, #1a2b22); }
@media (max-width: 640px) {
    .faq summary { padding: 13px 48px 13px 14px; font-size: 14.5px; }
    .faq summary .q { width: 28px; height: 28px; font-size: 14px; }
}

/* 2本目の途中CTA */
.cta-band--alt { background: var(--g-btn); }
.cta-band--alt p { color: #fff; }
.cta-band--alt p small { color: #e6fbee; }

/* スマホの余白とリズム */
@media (max-width: 640px) {
    .sec { padding: 64px 0; }
    .sec-head { margin-bottom: 36px; }
    .sec-lead { font-size: 14.5px; }
}

/* 紹介の見出し: 波線が2行にまたがらないように */
.refer-copy .sec-title .mark { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .marquee > div { transform: none; }
    .rv { opacity: 1; transform: none; }
    .chart .col i { transform: none; }
}
