/* Poli-Suke Ver2.0 ホームページ 共通スタイル（2026-11-06 作り直し）
   方針: ZIBAN のホームページと同じ「短い言葉・大きな文字・余白・絵で伝える」。
   2026-11-07: ZIBAN と見分けがつくように、Poli-Suke らしく作り直し。
   色は紺（ロゴ・信頼）＋ 山吹（ロゴの金のチェックから。押すところ）。背景は書類の紙のような生成り色。
   キャラクター「ポリスケ」（バインダーの整理係。assets/char/）を表紙・案内・お試しの案内に出す。
   朱（--red）はエラー・まちがいの印だけに使う。外部のスクリプト・計測は使わない。
   動き: 画面に入ったら出る（.rv → .in）・絵の中の小さな動き。prefers-reduced-motion のときは動かさない。 */

:root {
  --paper: #ffffff;
  --tint: #f8f4ea;
  --tint-2: #ede5d2;
  --ink: #15213a;
  --sub: #4b5568;
  --line: #ddd5c2;
  --accent: #f0b429;
  --accent-2: #e09e12;
  --accent-soft: #fdf0cf;
  --accent-ink: #8a5a00;
  --mark: #fbd977;
  --navy: #13295b;
  --navy-2: #1e3d7a;
  --navy-soft: #c9d3ea;
  --red: #c4262e;
  --red-2: #a51d25;
  --red-soft: #fdecec;
  --gold: #c9a14a;
  --gold-soft: #f7f0de;
  --green: #1d8a5b;
  --amber: #d08a12;
  --skin: #ffdcc0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(19, 41, 91, .06), 0 8px 24px rgba(19, 41, 91, .10);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.big { font-size: 112.5%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.85; letter-spacing: .02em; overflow-wrap: anywhere; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3 { line-height: 1.45; font-feature-settings: "palt"; letter-spacing: .03em; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 700; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.wrap.narrow { max-width: 860px; }
@media (min-width: 720px) { .wrap { padding-inline: 24px; } }
.small { font-size: .85rem; color: var(--sub); }
.sub { color: var(--sub); }
.center { text-align: center; }
.nb { white-space: nowrap; }
.red { color: var(--red); }
.em { color: var(--navy); background: linear-gradient(transparent 62%, var(--mark) 62%); padding: 0 .1em; }
.mark { background: linear-gradient(transparent 60%, var(--accent-soft) 60%); }
br.pc { display: none; }
@media (min-width: 720px) { br.pc { display: inline; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ボタン */
/* 押すところは山吹＋紺の文字（コントラスト 7.5:1。ホバー時 6:1） */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 10px 26px; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--navy) !important; font-weight: 700; text-decoration: none; letter-spacing: .06em; line-height: 1.4; text-align: center; cursor: pointer; font-family: inherit; font-size: 1rem; box-shadow: 0 3px 0 rgba(138, 90, 0, .35); transition: background .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.line, .btn.white, .btn.ghost, .btn.navy { box-shadow: none; }
.btn:active { transform: translateY(1px); }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.btn.navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn.line { background: #fff; color: var(--navy) !important; border-color: var(--navy); }
.btn.line:hover { background: var(--tint); }
.btn.white { background: #fff; color: var(--navy) !important; border-color: #fff; }
.btn.white:hover { background: var(--gold-soft); }
.btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .75); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.btn.big { min-height: 60px; padding: 12px 40px; font-size: 1.2rem; }
.btn.s { min-height: 40px; padding: 6px 14px; font-size: .92rem; }
.btn .arr { font-size: 1.1em; transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btns.center { justify-content: center; }
.more { display: inline-block; margin-top: 10px; font-weight: 700; }

/* ヘッダー */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 3px solid var(--navy); box-shadow: 0 3px 0 var(--accent); }
.top .in { max-width: 1240px; margin-inline: auto; padding: 8px 16px; display: flex; align-items: center; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.logo svg { width: 38px; height: 38px; flex: 0 0 auto; }
.logo b { display: block; font-size: 1.25rem; font-weight: 900; color: var(--navy); line-height: 1.1; letter-spacing: .01em; }
.logo small { display: block; font-size: .68rem; color: var(--sub); line-height: 1.3; letter-spacing: 0; }
.nav { display: none; margin-left: auto; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem; padding: 8px 9px; border-radius: 4px; white-space: nowrap; }
.nav a:hover { background: var(--tint); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--accent-soft); }
.nav .btn { padding: 8px 16px; min-height: 42px; margin-left: 6px; }
.tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.bigtoggle { font-family: inherit; font-size: .85rem; font-weight: 700; border: 2px solid var(--navy); color: var(--navy); background: #fff; border-radius: 4px; padding: 6px 10px; min-height: 40px; cursor: pointer; white-space: nowrap; }
.tools .bigtoggle { display: none; }
.menubtn { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-weight: 700; font-size: .9rem; background: var(--navy); color: #fff; border: 0; border-radius: 4px; padding: 8px 12px; min-height: 42px; cursor: pointer; }
.menubtn svg { width: 20px; height: 20px; }
.menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.menu.open { display: block; }
.menu ul { list-style: none; padding: 8px 16px 18px; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.menu a { display: block; padding: 10px 4px; color: var(--ink); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--tint-2); }
.menu .wide { grid-column: 1 / -1; }
.menu .wide .btn { width: 100%; margin-top: 6px; border: 2px solid var(--accent); }
.menu .wide .btn.navy { border-color: var(--navy); }
.menu .menu-big { text-align: center; padding-top: 6px; }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .tools { margin-left: 4px; }
  .tools .bigtoggle { display: inline-block; }
  .menubtn, .menu, .menu.open { display: none; }
}

/* 共通の区切り */
.sec { padding: 64px 0; }
.sec.tint { background-color: var(--tint); background-image: linear-gradient(transparent 31px, rgba(19, 41, 91, .045) 31px, rgba(19, 41, 91, .045) 32px); background-size: 100% 32px; }
.sec.navy { background: var(--navy); color: #fff; }
.sec.navy a { color: #fff; }
.sec.tight { padding: 40px 0; }
@media (min-width: 900px) { .sec { padding: 88px 0; } }
.big-h { font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 900; color: var(--navy); margin-bottom: 28px; }
.sec.navy .big-h { color: #fff; }
.big-h.center { text-align: center; }
.big-h::after { content: ""; display: block; width: 64px; height: 7px; border-radius: 4px; margin-top: 14px; background: linear-gradient(90deg, var(--accent) 0 60%, var(--navy) 60% 100%); }
.big-h.center::after { margin-inline: auto; }
.sec.navy .big-h::after { background: var(--accent); }
.lead { font-size: 1.08rem; color: var(--sub); margin-bottom: 24px; }
.lead.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .12em; margin-bottom: 6px; }

/* 表紙（トップ） */
.hero { position: relative; padding: 30px 0 30px; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 85% 30%, #fff6dc 0, rgba(255, 246, 220, 0) 70%), linear-gradient(180deg, #fffdf7 0, #fff 100%); }
.hero-in { display: grid; gap: 10px; align-items: center; }
.hero-in > * { min-width: 0; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.08fr .92fr; gap: 24px; } }
.hero .badge { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; font-size: .9rem; padding: 4px 16px; border-radius: 999px; margin-bottom: 12px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(1.7rem, 7.2vw, 3.6rem); font-weight: 900; color: var(--navy); line-height: 1.28; letter-spacing: .02em; }
.hero h1 .ps { background: linear-gradient(transparent 64%, var(--mark) 64%); padding: 0 .06em; }
.hero .sub { margin: 14px 0 22px; font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink); font-weight: 500; max-width: 40em; }
.hero-price { margin-top: 16px; }
.hero-price a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 8px 16px; border: 2px dashed var(--accent-2); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 700; }
.hero-price a:hover { background: var(--accent-soft); }
.hero-price b { font-size: 1.2em; color: var(--navy); font-weight: 900; }
.hero-price .hl { background: var(--navy); color: #fff; border-radius: 999px; padding: 0 12px; }
.hero-price .hl small { font-size: .8em; }
.hero-art { position: relative; max-width: 520px; width: 100%; margin: 0 auto; padding: 8px 0 0 13%; }
.hero-art .hb { width: 100%; height: auto; display: block; }
.hero-art .hm { position: absolute; left: 0; bottom: -6%; width: 40%; height: auto; }
@media (min-width: 900px) { .hero h1 { font-size: clamp(2.2rem, 3.9vw, 3.4rem); } }
.say { position: relative; display: inline-block; background: #fff; border: 2.5px solid var(--navy); border-radius: 16px; padding: 8px 14px; font-weight: 700; color: var(--navy); line-height: 1.5; box-shadow: 3px 3px 0 var(--accent); }
.say small { display: block; font-size: .72rem; color: var(--accent-ink); letter-spacing: .08em; }
.hero-say { position: absolute; left: 0; top: 0; max-width: 17em; font-size: .95rem; }
.hero-say::after { content: ""; position: absolute; left: 22px; bottom: -12px; width: 18px; height: 18px; background: #fff; border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); }
@media (max-width: 899px) {
  .hero-art { max-width: 400px; padding-top: 70px; }
  .hero-say { font-size: .88rem; }
}

/* いま → Poli-Suke（机の上の山 → バインダー1冊） */
.cmp { padding-top: 48px; }
.ba { display: grid; gap: 14px; align-items: stretch; margin-top: 8px; }
@media (min-width: 900px) { .ba { grid-template-columns: 1fr 64px 1.1fr; } }
.ba-now { border: 2px dashed #c9bfa8; background: var(--tint); border-radius: 20px; padding: 18px 16px 16px; }
.ba-pile { display: block; width: 220px; max-width: 80%; height: auto; margin: -4px auto 4px; }
.ba-ps { display: flex; flex-direction: column; justify-content: center; position: relative; border: 3px solid var(--dark, #0b1a3d); background: var(--navy); color: #fff; border-radius: 20px; padding: 18px 16px 16px 44px; }
.ba-ps::before { content: ""; position: absolute; left: 12px; top: 26px; bottom: 26px; width: 18px; background: radial-gradient(circle at 9px 9px, var(--gold) 0 6px, transparent 6.5px) 0 0 / 18px 40px repeat-y; }
.ba-h { font-size: clamp(1.3rem, 3vw, 1.85rem); font-weight: 900; margin-bottom: 12px; text-align: center; line-height: 1.3; }
.ba-h .tag { display: inline-block; font-size: .7em; vertical-align: .1em; padding: 0 .55em; margin-right: .3em; border-radius: 999px; background: var(--navy); color: #fff; }
.ba-ps .ba-h { padding-right: 70px; }
.ba-ps .ba-h .tag { background: var(--accent); color: var(--navy); }
.ba-char { position: absolute; right: -8px; top: -40px; width: 92px; height: auto; }
.ba-cards { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 6px 0 4px; }
.ba-cards span { background: #fff; border: 1px solid #b9b2a0; padding: 6px 12px; font-size: .95rem; box-shadow: 1px 2px 0 rgba(0, 0, 0, .08); }
.ba-cards span:nth-child(odd) { transform: rotate(-3deg); }
.ba-cards span:nth-child(even) { transform: rotate(2.5deg); }
.ba-cards span:nth-child(3n) { background: #fffbea; }
.ba-cap { text-align: center; color: var(--red-2); font-weight: 700; margin-top: 12px; }
.ba-ps .ba-cap { color: var(--mark); }
.ba-arrow { display: flex; align-items: center; justify-content: center; }
.ba-arrow svg { width: 52px; height: 52px; transform: rotate(90deg); }
@media (min-width: 900px) { .ba-arrow svg { transform: none; } }
/* 白いページにインデックスの見出しが並ぶ */
.ba-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; background: #fff; border-radius: 10px; padding: 12px 12px 12px 10px; box-shadow: 6px 6px 0 rgba(255, 255, 255, .18); }
.ba-tiles span { --c: var(--accent); display: flex; align-items: center; gap: 8px; color: var(--navy); background: #faf7f0; border-left: 7px solid var(--c); border-radius: 4px 10px 10px 4px; padding: 7px 8px; text-align: left; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.ba-tiles span:nth-child(3n+2) { --c: #8cc0ec; }
.ba-tiles span:nth-child(3n) { --c: #3fb37f; }
.ba-tiles span br { display: none; }
.ba-tiles svg { flex: 0 0 auto; width: 26px; height: 26px; }
@media (max-width: 479px) { .ba-ps { padding-left: 38px; } .ba-ps::before { left: 9px; } .ba-ps .ba-h { padding-right: 56px; } .ba-tiles { grid-template-columns: 1fr; } .ba-tiles svg { width: 22px; height: 22px; } .ba-char { width: 76px; top: -34px; } }

/* 要点の3つ */
.facts { display: grid; gap: 10px; margin-top: 22px; }
@media (min-width: 560px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts div b { font-size: 1.25rem; } }
.facts div { border: 2px solid var(--navy); border-radius: 16px; text-align: center; padding: 8px 10px; background: #fff; }
.facts small { display: block; font-size: .85rem; color: var(--sub); font-weight: 700; }
.facts b { display: block; font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--navy); font-weight: 900; line-height: 1.35; }
.facts div.hl { background: var(--accent); border-color: var(--accent); }
.facts div.hl small { color: var(--navy); }
.facts-note { text-align: center; margin-top: 10px; }

/* 実績（時間の短縮） */
.result { border: 3px solid var(--navy); border-radius: 20px; background: #fff; padding: 22px 16px 18px; text-align: center; box-shadow: var(--shadow); max-width: 860px; margin: 0 auto 28px; }
.result .label { display: inline-block; font-weight: 700; color: #fff; background: var(--navy); padding: 2px 16px; border-radius: 999px; font-size: 1rem; }
.result .nums { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 18px; margin: 12px 0 6px; }
.result .before { position: relative; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 900; color: #8a94a6; line-height: 1.2; }
.result .before::after { content: ""; position: absolute; left: -4%; top: 52%; height: 5px; width: 108%; background: var(--red); border-radius: 3px; transform-origin: left center; transform: rotate(-6deg) scaleX(1); }
.result .to svg { width: 54px; height: 40px; display: block; }
.result .after { font-size: clamp(2.6rem, 9vw, 5rem); font-weight: 900; color: var(--navy); line-height: 1.15; background: linear-gradient(transparent 68%, var(--mark) 68%); padding: 0 .1em; }
.result .after small { font-size: .45em; color: var(--ink); margin-left: .1em; }
.result p { font-size: .82rem; color: var(--sub); margin-top: 8px; }

/* 事務所の声 */
.voices { display: grid; gap: 16px; }
@media (min-width: 720px) { .voices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .voices.three { grid-template-columns: repeat(3, 1fr); } }
.voice { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.voice .who { flex: 0 0 auto; width: 54px; height: 54px; }
.voice blockquote { position: relative; margin: 0; flex: 1; background: #fff; border: 2px solid var(--navy); border-radius: 18px; padding: 14px 16px; font-size: 1.05rem; font-weight: 700; line-height: 1.7; }
.voice blockquote::before { content: ""; position: absolute; left: -11px; top: 18px; border: 10px solid transparent; border-right-color: var(--navy); border-left: 0; }
.voice blockquote::after { content: ""; position: absolute; left: -7px; top: 20px; border: 8px solid transparent; border-right-color: #fff; border-left: 0; }
.voice em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 60%, var(--mark) 60%); }
.voices-note { margin-top: 18px; text-align: center; }

/* まんが */
.manga { display: grid; gap: 14px; counter-reset: koma; }
@media (min-width: 640px) { .manga { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .manga { grid-template-columns: repeat(3, 1fr); } }
.koma { position: relative; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.koma svg { display: block; width: 100%; height: auto; border-bottom: 3px solid var(--ink); background: #fff; }
.koma figcaption { padding: 10px 14px 12px; font-weight: 700; font-size: 1.02rem; line-height: 1.6; }
.koma figcaption b { display: inline-flex; align-items: center; justify-content: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85em; margin-right: .4em; vertical-align: .05em; }
.koma.last figcaption b { background: var(--accent); color: var(--navy); }
.koma .sfx { font-family: var(--font); font-weight: 900; }

/* ぜんぶ、この中に（画面のイメージ） */
.mockbox { display: grid; gap: 18px; align-items: start; }
@media (min-width: 960px) { .mockbox { grid-template-columns: 260px 1fr; } }
.mtabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .mtabs { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .mtabs { grid-template-columns: 1fr; } }
.mtab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; font-family: inherit; text-align: left; font-size: .98rem; font-weight: 700; color: var(--navy); background: #fff; border: 2px solid var(--line); border-radius: 6px; padding: 10px 12px; cursor: pointer; min-height: 48px; }
.mtab svg { width: 22px; height: 22px; flex: 0 0 auto; }
.mtab[aria-selected="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.mtab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); }
.mtab[aria-selected="true"].run .bar { animation: tabbar var(--cycle, 6s) linear forwards; }
@keyframes tabbar { to { width: 100%; } }
.mtab { border-radius: 12px; }
.guide { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -8px auto 18px; }
.guide img { width: 74px; height: auto; flex: 0 0 auto; }
.guide .say { font-size: .98rem; }
.guide .say::before { content: ""; position: absolute; left: -11px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: #fff; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); }
.mpanel h3 { color: var(--navy); font-size: 1.25rem; margin-top: 14px; }
.mpanel p { color: var(--sub); }
.mock-note { margin-top: 12px; }

/* 画面のイメージ（実際の画面ではなく、図にしたもの） */
.win { --w-line: #dfe5ee; border: 2px solid var(--navy); border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.win-bar { display: flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; padding: 6px 12px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.win-bar span { margin-left: 6px; }
.win-body { display: grid; grid-template-columns: 22% 1fr; min-height: 250px; }
.win-side { background: var(--tint); border-right: 1px solid var(--w-line); padding: 12px 8px; display: flex; flex-direction: column; gap: 9px; }
.win-side i { display: block; height: 9px; border-radius: 5px; background: #cfd8e6; }
.win-side i.on { background: var(--navy); }
.win-side i:nth-child(2n) { width: 80%; }
.win-main { position: relative; padding: 14px; overflow: hidden; }
.win.solo .win-body { grid-template-columns: 1fr; }
.ph { display: block; height: 10px; border-radius: 5px; background: #dfe5ee; }
.ph.s { width: 40%; } .ph.m { width: 65%; } .ph.l { width: 88%; }
.ph.dark { background: #b8c3d6; }
.chip { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--navy); background: var(--tint-2); border-radius: 3px; padding: 0 6px; line-height: 1.7; white-space: nowrap; }
.chip.ok { background: #e3f4ec; color: var(--green); }
.chip.warn { background: #fff3dc; color: #8a5a00; }
.chip.red { background: var(--red-soft); color: var(--red); }
.m-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--w-line); }
.m-row .ph { flex: 1; }
.m-big { font-weight: 900; color: var(--navy); font-size: 1.05rem; }
.m-btn { display: inline-block; background: var(--accent); color: var(--navy); font-size: .75rem; font-weight: 700; border-radius: 4px; padding: 2px 10px; }
.m-btn.navy { background: var(--navy); color: #fff; }
.rcpt { position: relative; width: 74px; height: 98px; background: #fff; border: 1.5px solid #b7c1d1; border-radius: 2px; box-shadow: 1px 2px 0 rgba(0, 0, 0, .06); padding: 9px 7px; display: flex; flex-direction: column; gap: 6px; }
.rcpt i { display: block; height: 5px; background: #d5dcea; border-radius: 3px; }
.rcpt i:nth-child(1) { width: 60%; margin: 0 auto 2px; background: #9aa7bd; }
.rcpt i:nth-child(3) { width: 70%; }
.rcpt i.amt { height: 8px; width: 55%; margin-left: auto; background: #9aa7bd; }

/* 取り込み */
.m-cap { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; height: 100%; }
.m-cap .tray { position: relative; height: 150px; }
.m-cap .tray .rcpt { position: absolute; left: 14px; top: 26px; }
.m-cap .dev { position: absolute; left: 0; top: 0; width: 104px; height: 30px; background: var(--navy-2); border-radius: 6px 6px 3px 3px; }
.m-cap .dev::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 4px; border-radius: 2px; background: var(--gold); }
.m-list { display: grid; gap: 7px; }
.m-thumb { display: flex; align-items: center; gap: 8px; }
.m-thumb b { flex: 0 0 auto; width: 26px; height: 34px; border: 1.5px solid #b7c1d1; border-radius: 2px; background: #fff; }
.m-thumb .ph { flex: 1; }
.m-prog { height: 8px; border-radius: 4px; background: var(--tint-2); overflow: hidden; margin-top: 8px; }
.m-prog i { display: block; height: 100%; width: 100%; background: var(--green); transform-origin: left; }

/* 読み取りと確認 */
.m-read { display: grid; grid-template-columns: 96px 1fr; gap: 14px; }
.m-read .rcpt { width: 92px; height: 124px; }
.m-read .scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: rgba(240, 180, 41, .8); box-shadow: 0 0 8px rgba(240, 180, 41, .8); opacity: 0; }
.m-fields { display: grid; gap: 8px; align-content: start; }
.m-field { display: grid; grid-template-columns: 4.6em 1fr; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--sub); }
.m-field span { display: block; height: 22px; border: 1.5px solid var(--w-line); border-radius: 4px; position: relative; overflow: hidden; }
.m-field span::after { content: ""; position: absolute; left: 6px; top: 7px; height: 6px; width: var(--fw, 60%); border-radius: 3px; background: #9aa7bd; transform-origin: left; }

/* 支払先 */
.m-payee { display: grid; gap: 10px; }
.m-payee .q { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--w-line); border-radius: 18px; padding: 4px 12px; }
.m-payee .q svg { width: 18px; height: 18px; flex: 0 0 auto; }
.m-db { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: .8rem; }
.m-db svg { width: 34px; height: 34px; }
.m-db .dots i { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--gold); }
.m-card { border: 2px solid var(--green); border-radius: 8px; padding: 10px 12px; background: #f6fbf8; display: grid; gap: 7px; }
.m-card .t { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--green); }

/* エラーチェック */
.m-check .m-row b { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--w-line); position: relative; }
.m-check .m-row b::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg); opacity: 0; }
.m-check .m-row.ok b { border-color: var(--green); }
.m-check .m-row.ok b::after { opacity: 1; }
.m-check .sum { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

/* 総務省アプリへ */
.m-send { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 190px; }
.m-send .box { border: 2px solid var(--navy); border-radius: 8px; padding: 10px; display: grid; gap: 6px; background: #fff; text-align: center; }
.m-send .box b { font-size: .78rem; color: var(--navy); }
.m-send .box.mic { border-style: dashed; }
.m-send .file { position: absolute; left: calc(25% - 15px); top: 50%; width: 30px; height: 38px; margin-top: -19px; background: var(--gold); border-radius: 3px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.m-send .file::after { content: ""; position: absolute; right: 0; top: 0; border: 6px solid; border-color: #fff #fff transparent transparent; }
.m-send .ok { position: absolute; right: 8px; bottom: 6px; }

/* 写し・名簿など */
.m-pdf { display: flex; gap: 10px; align-items: flex-end; justify-content: center; min-height: 170px; }
.m-pdf .doc { width: 54px; height: 70px; border: 1.5px solid #b7c1d1; background: #fff; border-radius: 3px; position: relative; }
.m-pdf .doc::before { content: "PDF"; position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-size: .62rem; font-weight: 900; color: var(--red); }
.m-pdf .folder { width: 92px; height: 64px; background: var(--gold); border-radius: 4px 4px 6px 6px; position: relative; }
.m-pdf .folder::before { content: ""; position: absolute; left: 0; top: -10px; width: 40px; height: 12px; background: var(--gold); border-radius: 4px 4px 0 0; }
.m-books { display: grid; gap: 8px; }
.m-books .org { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--w-line); border-radius: 6px; padding: 8px 10px; }
.m-books .org.on { border-color: var(--navy); background: var(--tint); }
.m-books .org i { width: 24px; height: 24px; border-radius: 4px; background: var(--navy-soft); flex: 0 0 auto; }
.m-books .org.on i { background: var(--navy); }

/* 機能カード */
.feat-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat { border: 2px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.feat .pic { background: var(--tint); padding: 14px; border-bottom: 2px solid var(--line); }
.feat .pic .win-body { min-height: 170px; }
.feat .txt { padding: 14px 16px 16px; }
.feat h3 { color: var(--navy); font-size: 1.2rem; }
.feat p { color: var(--sub); margin-top: 4px; }
.feat ul { margin-top: 8px; padding-left: 1.2em; color: var(--ink); font-size: .95rem; }
.feat ul li { margin: 2px 0; }

/* 1つの機能を大きく（機能ページ） */
.fdetail { display: grid; gap: 22px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.fdetail:first-of-type { border-top: 0; }
@media (min-width: 900px) { .fdetail { grid-template-columns: 1fr 1fr; gap: 40px; } .fdetail.rev .fd-pic { order: 2; } }
.fdetail h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); font-weight: 900; color: var(--navy); }
.fdetail .num { display: block; color: var(--accent-ink); font-weight: 900; letter-spacing: .14em; font-size: .85rem; }
.fdetail p { margin-top: 8px; }
.fdetail ul { margin-top: 10px; padding-left: 1.2em; }
.fdetail li { margin: 4px 0; }

/* 手順（番号つき・順に光る） */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: st; }
@media (min-width: 900px) { .steps.row { grid-template-columns: repeat(var(--n, 5), 1fr); } }
.steps li { position: relative; counter-increment: st; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 16px 14px 14px 62px; }
.steps.row li { padding: 54px 14px 16px; text-align: center; }
.steps li::before { content: counter(st); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.steps.row li::before { left: 50%; margin-left: -18px; }
.steps li b { display: block; color: var(--navy); font-size: 1.08rem; line-height: 1.5; }
.steps li span { display: block; color: var(--sub); font-size: .92rem; margin-top: 4px; }
.steps li .who { display: inline-block; margin-top: 6px; font-size: .75rem; font-weight: 700; padding: 0 8px; border-radius: 3px; background: var(--tint-2); color: var(--navy); }
.steps li .who.mic { background: var(--gold-soft); color: #6d5212; }
.steps li .who.you { background: var(--red-soft); color: var(--red); }

/* 年表 */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 3px; background: var(--navy-soft); }
.tl li { position: relative; padding: 0 0 22px 40px; }
.tl li::before { content: ""; position: absolute; left: 3px; top: 6px; width: 19px; height: 19px; border-radius: 50%; background: #fff; border: 4px solid var(--navy); }
.tl li.now::before { border-color: var(--accent-2); background: var(--accent); }
.tl .when { display: block; font-weight: 900; color: var(--navy); font-size: 1.1rem; }
.tl li.now .when { color: var(--accent-ink); }
.tl .what { display: block; font-weight: 700; }
.tl p { color: var(--sub); font-size: .95rem; }

/* 事務所に合わせて見る */
.links { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .links { grid-template-columns: repeat(3, 1fr); } }
.links a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 10px; border: 2px solid var(--navy); border-radius: 14px; background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; transition: background .15s, color .15s; }
.links a:hover { background: var(--navy); color: #fff; }

/* 料金の1行・更新情報 */
.price-line { padding: 36px 0 28px; }
.price-line > .wrap > .small { margin-top: 10px; }
.pl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; max-width: 900px; margin: 0 auto; padding: 14px 18px; border: 3px solid var(--navy); border-radius: 22px; background: #fff; box-shadow: 6px 6px 0 var(--accent); }
.pl-char { width: 56px; height: 56px; flex: 0 0 auto; }
.pl-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0; }
.pl-items div { text-align: center; padding: 2px 14px; border-right: 2px dotted var(--line); }
.pl-items div:last-child { border-right: 0; }
.pl-items dt { font-size: .82rem; font-weight: 700; color: var(--sub); }
.pl-items dd { margin: 0; font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 900; color: var(--navy); line-height: 1.2; }
.pl-items dd small { font-size: .5em; font-weight: 700; color: var(--ink); }
.pl-items .hl { background: var(--accent-soft); border-radius: 12px; }
@media (max-width: 559px) { .pl-items div { border-right: 0; padding: 2px 8px; } .pl .btn { width: 100%; } }
.price-line > .wrap > .small { max-width: 900px; margin-inline: auto; }
.support { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; max-width: 900px; margin: 22px auto 0; padding: 14px 18px; border-radius: 22px; background: var(--tint); border: 2px dashed #c9bfa8; }
.support img { width: 70px; height: auto; flex: 0 0 auto; }
.support p { flex: 1 1 20em; margin: 0; }
.support b { display: block; font-size: clamp(1.1rem, 2.6vw, 1.35rem); font-weight: 900; color: var(--navy); line-height: 1.45; }
.support span { color: var(--sub); }
.support .more { margin-top: 0; }
.cta-note { margin: 14px 0 0 !important; font-size: .8rem; color: var(--navy-soft); max-width: 46em; }
.news-top { padding: 8px 0 48px; }
.news-box { border: 2px solid var(--line); border-radius: var(--radius); background: #fff; }
.news-box .hd { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--tint); }
.news-box .hd h2 { font-size: 1.05rem; color: var(--navy); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: grid; grid-template-columns: auto auto 1fr; gap: 4px 12px; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--tint-2); }
.news-list li:last-child { border-bottom: 0; }
.news-list time { font-weight: 700; color: var(--sub); font-size: .9rem; white-space: nowrap; }
.news-list .cat { font-size: .75rem; font-weight: 700; color: var(--navy); background: var(--tint-2); padding: 0 8px; border-radius: 3px; white-space: nowrap; }
.news-list .body { grid-column: 1 / -1; color: var(--sub); font-size: .92rem; white-space: pre-line; }
@media (max-width: 559px) { .news-list li { grid-template-columns: auto 1fr; } .news-list .ttl { grid-column: 1 / -1; } }

/* しめくくりの帯 */
.lp-cta { background: var(--navy); color: #fff; padding: 56px 0; border-top: 6px solid var(--accent); }
.lp-cta h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900; }
.lp-cta p { color: var(--navy-soft); margin: 8px 0 20px; }
.lp-cta.has-char .wrap { position: relative; }
.cta-char { display: block; width: 96px; height: auto; margin-bottom: 8px; }
@media (min-width: 900px) {
  .lp-cta.has-char .wrap { padding-right: 230px; }
  .cta-char { position: absolute; right: 24px; bottom: -36px; width: 180px; margin: 0; }
}

/* ご注意の枠 */
.notice { border: 2px solid var(--line); border-left: 6px solid var(--navy); background: #fff; border-radius: 4px; padding: 14px 16px; font-size: .92rem; }
.notice b { color: var(--navy); }
.notice.warn { border-left-color: var(--amber); background: #fffaf0; }

/* 表 */
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--navy); color: #fff; }
.tbl tbody th { background: var(--tint); color: var(--navy); width: 30%; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 639px) {
  .tbl.stack thead { display: none; }
  .tbl.stack tr { display: block; border: 1px solid var(--line); margin-bottom: 10px; }
  .tbl.stack th, .tbl.stack td { display: block; width: auto; border: 0; border-bottom: 1px solid var(--tint-2); }
  .tbl.stack td[data-h]::before { content: attr(data-h); display: block; font-size: .78rem; font-weight: 700; color: var(--sub); }
}

/* よくある質問 */
.faq { border: 2px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; display: inline-flex; align-items: center; justify-content: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85em; margin-right: .6em; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--navy); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 16px 16px 52px; }
.faq .a p + p { margin-top: 8px; }
.faq-h { font-size: 1.25rem; color: var(--navy); margin: 30px 0 12px; font-weight: 900; }

/* 下層ページの見出し */
.page-head { background: var(--tint); padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .85rem; color: var(--sub); margin-bottom: 8px; }
.crumbs a { color: var(--sub); }
.page-head h1 { font-size: clamp(1.7rem, 4.6vw, 2.7rem); font-weight: 900; color: var(--navy); }
.page-head p { margin-top: 10px; font-size: 1.05rem; max-width: 46em; }

/* 2つ並べ */
.two-col { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 40px; } }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.points li { position: relative; padding-left: 34px; }
.points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); }
.points li::after { content: ""; position: absolute; left: 8px; top: calc(.35em + 4px); width: 5px; height: 10px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.points b { color: var(--navy); }
.sec.navy .points li::before { background: #fff; }
.sec.navy .points li::after { border-color: var(--navy); }
.sec.navy .points b { color: #fff; }

/* 守り（盾） */
.shield-wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .shield-wrap { grid-template-columns: 260px 1fr; } }
.shield-wrap svg { width: 220px; height: auto; margin: 0 auto; display: block; }
.guard { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.guard li { display: flex; gap: 12px; align-items: flex-start; }
.guard li b { flex: 0 0 auto; background: #fff; color: var(--navy); font-weight: 900; padding: 2px 8px; border-radius: 3px; font-size: .95rem; min-width: 4.5em; text-align: center; }
.guard li span { padding-top: 2px; }

/* カード（汎用） */
.cards { display: grid; gap: 14px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { border: 2px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px; }
.card h3 { color: var(--navy); margin-bottom: 6px; }
.card .tag { display: inline-block; font-size: .78rem; font-weight: 700; color: #fff; background: var(--navy); border-radius: 3px; padding: 0 8px; margin-bottom: 6px; }
.card .tag.red { background: var(--accent); color: var(--navy); }
.card ol, .card ul { padding-left: 1.3em; margin-top: 6px; }
.card .soon { display: inline-block; font-size: .78rem; font-weight: 700; color: #6d5212; background: var(--gold-soft); border-radius: 3px; padding: 0 8px; }

/* デモ（事務所の種類のタブ・手順） */
.dtabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.dtabs [role="tab"] { font-family: inherit; font-weight: 700; font-size: .98rem; border: 2px solid var(--navy); background: #fff; color: var(--navy); border-radius: 6px; padding: 8px 14px; min-height: 46px; cursor: pointer; }
.dtabs [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; }
.walk { display: grid; gap: 16px; }
@media (min-width: 960px) { .walk { grid-template-columns: 270px 1fr; align-items: start; } }
.walk-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.walk-steps button { width: 100%; display: flex; gap: 10px; align-items: center; font-family: inherit; text-align: left; font-size: .95rem; font-weight: 700; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; min-height: 46px; }
.walk-steps button b { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--tint-2); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.walk-steps button small { display: block; font-size: .72rem; color: var(--sub); font-weight: 500; }
.walk-steps button[aria-current="step"] { border-color: var(--navy); background: var(--tint); }
.walk-steps button[aria-current="step"] b { background: var(--navy); color: #fff; }
.walk-item h3 { color: var(--navy); font-size: 1.25rem; outline: none; }
.walk-item .tip { margin-top: 10px; border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 8px 12px; font-size: .95rem; }
.walk-item .win { margin-top: 14px; }
.walk-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.walk-nav button { font-family: inherit; font-weight: 700; border: 2px solid var(--navy); background: #fff; color: var(--navy); border-radius: 6px; padding: 6px 14px; min-height: 44px; cursor: pointer; }
.walk-nav button:disabled { opacity: .35; cursor: default; }
.no-js .walk-item[hidden] { display: block; }
.no-js .walk-nav, .no-js .walk-steps { display: none; }
.no-js [role="tabpanel"][hidden] { display: block; }

/* フォーム */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 700; }
.req { display: inline-block; font-size: .72rem; color: #fff; background: var(--red); border-radius: 3px; padding: 0 6px; margin-left: 4px; vertical-align: .15em; }
.opt { display: inline-block; font-size: .72rem; color: var(--sub); background: var(--tint-2); border-radius: 3px; padding: 0 6px; margin-left: 4px; vertical-align: .15em; }
.inp, .sel, .ta { width: 100%; font-family: inherit; font-size: 1rem; padding: 10px 12px; border: 2px solid #b9c3d3; border-radius: 6px; background: #fff; color: var(--ink); min-height: 48px; }
.ta { min-height: 160px; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.err { display: none; color: var(--red); font-size: .88rem; font-weight: 700; }
.field.has-err > .inp, .field.has-err > .sel, .field.has-err > .ta { border-color: var(--red); }
.field.has-err > .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: 6px; padding: 12px 16px; font-weight: 700; }
.form-msg.ok { background: #e3f4ec; color: #0f5c3c; border: 2px solid var(--green); }
.form-msg.ng { background: var(--red-soft); color: var(--red-2); border: 2px solid var(--red); }

/* 規約などの本文 */
.prose { max-width: 860px; }
.prose h2 { font-size: 1.3rem; color: var(--navy); margin: 34px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--tint-2); font-weight: 900; }
.prose h3 { font-size: 1.08rem; color: var(--navy); margin: 20px 0 6px; }
.prose p { margin: 8px 0; }
.prose ul, .prose ol { margin: 8px 0; padding-left: 1.4em; }
.prose li { margin: 4px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--tint); color: var(--navy); width: 30%; }
.prose .important { border: 2px solid var(--navy); border-radius: var(--radius); background: var(--tint); padding: 14px 16px; margin: 16px 0; }
.prose .updated { margin-top: 32px; color: var(--sub); text-align: right; }
@media (max-width: 639px) { .prose table.kv th, .prose table.kv td { display: block; width: auto; } .prose table.kv th { border-bottom: 0; } }

/* フッター */
.foot { background: #0d1d42; color: #d7def0; padding: 48px 0 28px; font-size: .92rem; }
.foot a { color: #fff; }
.foot .cols { display: grid; gap: 26px; }
@media (min-width: 720px) { .foot .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h2 { font-size: .95rem; color: #fff; margin-bottom: 8px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot .brand b { font-size: 1.3rem; color: #fff; font-weight: 900; display: block; }
.foot .brand p { margin: 6px 0 12px; }
.foot .note { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; color: #aab6d3; display: grid; gap: 4px; }

/* 小さな補助（インラインの style を使わないため） */
.mt { margin-top: 16px; }
.mt0 { margin-top: 0 !important; }
.mb { margin-bottom: 18px; }
.mtl { margin-top: 28px; }
.m-rwrap { position: relative; }
.m-chips { display: flex; gap: 6px; margin-bottom: 8px; }
.m-field span.w1::after { width: 46%; }
.m-field span.w2::after { width: 34%; }
.m-field span.w3::after { width: 52%; }
.m-field span.w4::after { width: 70%; }
.m-cap .dev.phone { width: 48px; height: 84px; left: 28px; top: 20px; border-radius: 10px; }
.m-cap .dev.phone::after { left: 16px; right: 16px; bottom: 6px; height: 3px; }
.rv.d1 { --d: .1s; } .rv.d2 { --d: .2s; } .rv.d3 { --d: .3s; } .rv.d4 { --d: .4s; } .rv.d5 { --d: .5s; }
.koma text { font-family: var(--font); font-weight: 900; }
.maxw { max-width: 860px; margin-inline: auto; }

/* ===================== 動き ===================== */
/* 画面に入ったら出る。JS が無い・動きを減らす設定のときは、最初から出しておく */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv.pop { transform: scale(.9); }
  .js .rv.pop.in { transform: none; }
  .js .rv.left { transform: translateX(-28px); }
  .js .rv.right { transform: translateX(28px); }
  .js .rv.left.in, .js .rv.right.in { transform: none; }

  /* 表紙 */
  .js .hero h1, .js .hero .sub, .js .hero .btns, .js .hero .badge, .js .hero-price, .js .hero-art { animation: up .8s ease both; }
  .js .hero .badge { animation-delay: .05s; }
  .js .hero h1 { animation-delay: .15s; }
  .js .hero .sub { animation-delay: .35s; }
  .js .hero .btns { animation-delay: .5s; }
  .js .hero-price { animation-delay: .6s; }
  .js .hero-art { animation-delay: .3s; }
  .hero-art .hm { animation: bob 3.2s ease-in-out infinite; }
  .hero-say { animation: floaty 5s ease-in-out infinite; }
  .ba.in .ba-char, .guide.in img { animation: wave 1.6s ease-in-out 3; transform-origin: 50% 90%; }
  .cta-char { animation: bob 3.6s ease-in-out infinite; }
  .tp:not([hidden]) { animation: tp-fade .2s ease; }
  .tp:not([hidden]) .tp-box { animation: tp-don .35s cubic-bezier(.2, 1.4, .4, 1); }
  .promo { transition: transform .4s ease; }

  /* 前後の比較: 紙がばらばらに揺れる → 矢印 → タイルが順に出る */
  .js .ba.in .ba-cards span { animation: wobble 3.2s ease-in-out infinite; }
  .js .ba.in .ba-cards span:nth-child(2n) { animation-delay: -1.2s; }
  .js .ba.in .ba-cards span:nth-child(3n) { animation-delay: -2.1s; }
  .js .ba .ba-arrow svg path { stroke-dasharray: 80; stroke-dashoffset: 80; }
  .js .ba.in .ba-arrow svg path { animation: draw .7s .4s ease forwards; }
  .js .ba .ba-tiles span { opacity: 0; transform: scale(.7); }
  .js .ba.in .ba-tiles span { animation: popin .45s ease forwards; animation-delay: calc(.8s + var(--i, 0) * .12s); }

  /* 実績 */
  .js .result .before::after { transform: rotate(-6deg) scaleX(0); }
  .js .result.in .before::after { animation: strike .6s .5s ease forwards; }
  .js .result .to, .js .result .after { opacity: 0; }
  .js .result.in .to { animation: slide .5s 1.0s ease forwards; }
  .js .result.in .after { animation: bigpop .6s 1.3s cubic-bezier(.2, 1.6, .4, 1) forwards; }

  /* まんがのコマの中の動き（.in になったら始まる） */
  .koma .mv { animation-play-state: paused; }
  .koma.in .mv { animation-play-state: running; }
  .mv.shake { animation: shake 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
  .mv.feed { animation: feed 2.4s linear infinite; }
  .mv.feed.d2 { animation-delay: -.8s; }
  .mv.feed.d3 { animation-delay: -1.6s; }
  .mv.fill { animation: fillx 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
  .mv.fill.d2 { animation-delay: .35s; }
  .mv.fill.d3 { animation-delay: .7s; }
  .mv.tick { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tickloop 3.2s ease infinite; }
  .mv.tick.d2 { animation-delay: .4s; }
  .mv.tick.d3 { animation-delay: .8s; }
  .mv.tick.d4 { animation-delay: 1.2s; }
  .mv.fly { animation: fly 2.6s ease-in-out infinite; }
  .mv.blink { animation: blink 1.6s ease-in-out infinite; }
  .mv.bounce { animation: bounce 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }
  .mv.spin { animation: spin 6s linear infinite; transform-box: fill-box; transform-origin: center; }
  .mv.conf { animation: conf 2.4s ease-in infinite; }
  .mv.conf.d2 { animation-delay: -.6s; }
  .mv.conf.d3 { animation-delay: -1.2s; }
  .mv.conf.d4 { animation-delay: -1.8s; }

  /* 画面のイメージの動き（.play で始まる。タブを替えるとやり直す） */
  .play .m-cap .tray .rcpt { animation: capfeed 2.2s ease-in infinite; }
  .play .m-cap .tray .rcpt:nth-child(3) { animation-delay: -.73s; }
  .play .m-cap .tray .rcpt:nth-child(4) { animation-delay: -1.46s; }
  .play .m-thumb { opacity: 0; animation: up .4s ease forwards; animation-delay: calc(var(--i, 0) * .5s + .2s); }
  .play .m-prog i { animation: grow 3s ease-out forwards; }
  .play .m-read .scan { animation: scan 1.6s ease-in-out 2; }
  .play .m-field span::after { transform: scaleX(0); animation: grow .5s ease forwards; animation-delay: calc(1.2s + var(--i, 0) * .35s); }
  .play .m-read .m-btn { animation: pulse 1.2s 3.2s ease-in-out 2; }
  .play .m-payee .q .ph { transform-origin: left; transform: scaleX(0); animation: grow .6s .2s ease forwards; }
  .play .m-db .dots i { animation: blink 1s ease-in-out infinite; }
  .play .m-db .dots i:nth-child(2) { animation-delay: .2s; }
  .play .m-db .dots i:nth-child(3) { animation-delay: .4s; }
  .play .m-card { opacity: 0; animation: popin .5s 1.6s ease forwards; }
  .play .m-check .m-row b { animation: checkon .01s forwards; animation-delay: calc(.4s + var(--i, 0) * .45s); }
  .play .m-check .m-row b::after { opacity: 0; animation: fadein .2s forwards; animation-delay: calc(.4s + var(--i, 0) * .45s); }
  .play .m-check .m-row.fix .chip.warn { animation: fadeout .3s 2.4s forwards; }
  .play .m-check .sum .chip { opacity: 0; animation: popin .5s 2.9s ease forwards; }
  .play .m-send .file { animation: sendfile 2.6s ease-in-out infinite; }
  .play .m-send .ok { opacity: 0; animation: popin .5s 1.4s ease forwards; }
  .play .m-pdf .doc { animation: drop 2.8s ease-in-out infinite; }
  .play .m-pdf .doc:nth-child(2) { animation-delay: .3s; }
  .play .m-pdf .doc:nth-child(3) { animation-delay: .6s; }
  .play .m-books .org { opacity: 0; animation: up .4s ease forwards; animation-delay: calc(var(--i, 0) * .25s + .1s); }

  /* 手順が順に光る */
  .js .steps.anim li { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease, border-color .3s; transition-delay: calc(var(--i, 0) * .14s); }
  .js .steps.anim.in li { opacity: 1; transform: none; }
  .js .steps.anim.in li::before { animation: ring .7s ease both; animation-delay: calc(.2s + var(--i, 0) * .14s); }
  .js .tl.anim li { opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .5s ease; transition-delay: calc(var(--i, 0) * .15s); }
  .js .tl.anim.in li { opacity: 1; transform: none; }
  .js .shield .lock { animation: lockdown 1s .3s ease both; animation-play-state: paused; }
  .js .shield.in .lock { animation-play-state: running; }
}

@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes wobble { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes popin { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes strike { to { transform: rotate(-6deg) scaleX(1); } }
@keyframes slide { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes bigpop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
@keyframes feed { 0% { transform: translateY(-36px); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(40px); opacity: 1; } 100% { transform: translateY(52px); opacity: 0; } }
@keyframes fillx { 0% { transform: scaleX(0); } 45%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes tickloop { 0% { stroke-dashoffset: 30; } 30%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes fly { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 50% { transform: translate(70px, -26px); } 85% { opacity: 1; } 100% { transform: translate(140px, 0); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes conf { 0% { transform: translateY(-20px) rotate(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(70px) rotate(220deg); opacity: 0; } }
@keyframes capfeed { 0% { transform: translateY(-28px); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(40px); opacity: 1; } 100% { transform: translateY(54px) translateX(20px); opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scan { 0% { top: 0; opacity: 1; } 100% { top: 100%; opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
@keyframes checkon { to { border-color: var(--green); } }
@keyframes fadein { to { opacity: 1; } }
@keyframes fadeout { to { opacity: 0; } }
@keyframes sendfile { 0% { left: calc(25% - 15px); opacity: 0; } 15% { opacity: 1; } 75% { left: calc(75% - 15px); opacity: 1; } 100% { left: calc(75% - 15px); opacity: 0; } }
@keyframes drop { 0%, 10% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(30px) translateX(20px) scale(.6); opacity: 0; } 100% { opacity: 0; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(240, 180, 41, .7); } 100% { box-shadow: 0 0 0 14px rgba(240, 180, 41, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg); } }
@keyframes tp-don { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes tp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lockdown { from { transform: translateY(-14px); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .top, .foot, .lp-cta, .menu { display: none !important; }
  .js .rv { opacity: 1 !important; transform: none !important; }
}
.steps.n4 { --n: 4; } .steps.n5 { --n: 5; } .steps.n6 { --n: 6; }
@media (min-width: 900px) and (max-width: 1099px) { .steps.row.n6 { grid-template-columns: repeat(3, 1fr); } }

/* ===================== お試しの案内（トップページだけ・1回の訪問で1度） ===================== */
.tp { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11, 26, 61, .62); }
.tp[hidden] { display: none; }
html.tp-lock, html.tp-lock body { overflow: hidden; }
.tp-box { position: relative; width: min(460px, 100%); max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: #fff; border: 5px solid var(--navy); border-radius: 24px; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); outline: none; }
.tp-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; padding: 8px 8px 0; background: transparent; height: 0; overflow: visible; }
.tp-x { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 4px 14px; background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; font-family: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.tp-x:hover, .tp-x:focus-visible { background: var(--accent-soft); }
.tp-ad { position: relative; padding: 24px 18px 18px; background: linear-gradient(180deg, #fff6dc, #fff); text-align: left; overflow: hidden; }
.tp-ad::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--accent); opacity: .22; }
.tp-sub { position: relative; font-size: .85rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .06em; }
.tp-h { position: relative; margin: 4px 0 12px; font-size: clamp(1.6rem, 6.4vw, 2.2rem); line-height: 1.25; font-weight: 900; color: var(--navy); }
.tp-h span { display: block; font-size: 1.5em; letter-spacing: .02em; }
.tp-lim { display: table; margin-top: 8px; font-size: .5em; font-weight: 700; color: #fff; background: var(--navy); border-radius: 999px; padding: 1px 10px; letter-spacing: .04em; }
.tp-note b { color: var(--navy); }
.tp-h b { font-size: 1.5em; background: linear-gradient(transparent 62%, var(--mark) 62%); padding: 0 .06em; }
.tp-facts { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 72%; }
.tp-facts li { border: 2px solid var(--navy); border-radius: 12px; background: #fff; text-align: center; padding: 4px 2px; line-height: 1.25; }
.tp-facts small { display: block; font-size: .7rem; font-weight: 700; color: var(--sub); }
.tp-facts b { display: block; font-size: 1.05rem; font-weight: 900; color: var(--navy); white-space: nowrap; }
.tp-facts li.hl { background: var(--navy); }
.tp-facts li.hl small, .tp-facts li.hl b { color: #fff; }
.tp-char { position: absolute; right: 6px; bottom: 6px; width: 27%; max-width: 120px; height: auto; }
.tp-body { padding: 12px 18px 16px; text-align: center; }
.tp-go { width: 100%; }
.tp-note { margin: 10px 0 0; font-size: .74rem; line-height: 1.55; color: var(--sub); text-align: left; }
.tp-see { display: block; width: 100%; min-height: 46px; margin-top: 10px; background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 999px; font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.tp-see:hover { background: var(--tint); }
.tp-more { margin-top: 6px; font-size: .8rem; }
@media (max-width: 420px) { .tp-facts { max-width: 100%; } .tp-char { top: 60px; bottom: auto; right: 10px; width: 92px; } .tp-ad { padding-top: 30px; } }

/* ===================== ZIBAN の小さな案内（すみに出す。法律のページ・お問い合わせには置かない） ===================== */
.promo { position: fixed; z-index: 40; right: 16px; bottom: 16px; width: min(330px, calc(100vw - 32px)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 0 12px; background: #fff; border: 3px solid var(--navy); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(11, 26, 61, .25); transform: translateY(calc(100% + 32px)); }
.promo[hidden] { display: none; }
.promo.show { transform: none; }
.promo.show.dodge { transform: translateY(calc(100% + 32px)); }
.promo p { margin: 0; }
.promo-pic { display: block; border-bottom: 2px solid var(--navy); }
.promo-pic img { display: block; width: 100%; height: auto; }
.promo-text { padding: 0 14px; }
.promo-sub { font-size: .72rem; line-height: 1.4; color: var(--sub); }
.promo-main { font-size: .95rem; line-height: 1.45; font-weight: 700; color: var(--navy); }
.promo-go { justify-self: start; margin-left: 14px; display: inline-flex; align-items: center; min-height: 44px; padding: 4px 18px; background: var(--navy); color: #fff; border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; }
.promo-go:hover { background: var(--navy-2); color: #fff; }
.promo-x { position: absolute; right: 10px; bottom: 12px; width: 44px; height: 44px; padding: 0; background: #fff; border: 2px solid var(--navy); border-radius: 50%; color: var(--navy); cursor: pointer; }
.promo-x svg { display: block; margin: auto; }
.promo-x:hover { background: var(--tint); }
@media (max-width: 719px) {
  .promo { right: 0; bottom: 0; width: 100%; grid-template-columns: 48px minmax(0, 1fr) auto 44px; align-items: center; gap: 8px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)) 8px; border-width: 3px 0 0; border-radius: 16px 16px 0 0; box-shadow: 0 -3px 12px rgba(11, 26, 61, .18); }
  .promo-pic { border: 0; }
  .promo-pic img { width: 48px; height: 48px; border-radius: 8px; }
  .promo-sub { display: none; }
  .promo-main { font-size: .8rem; line-height: 1.35; }
  .promo-text { padding: 0; }
  .promo-go { margin: 0; padding: 4px 12px; font-size: .78rem; }
  .promo-x { position: static; border: 0; }
  .promo + .foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .promo { transition: none; } }
@media print { .promo, .tp { display: none !important; } }
