/* ニッコー LP：複写伝票の青と、作業着の紺。文字は大きく、中高年の社長が老眼鏡なしでも読める大きさにする。 */
:root {
  --navy: #0d2440;      /* 作業着の紺 */
  --navy-2: #163a63;
  --blue: #1c4fa6;      /* 複写伝票の青 */
  --blue-ink: #2457b8;
  --rule: #c7d4e8;      /* 伝票の罫線 */
  --paper: #f2f5f9;     /* 冷たい白（ベージュにしない） */
  --white: #ffffff;
  --ink: #0b1626;
  --ink-2: #3a4a60;
  --cta: #f4c21a;       /* 安全標識の黄。申し込みのボタンだけに使う */
  --cta-ink: #0b1626;
  --radius: 6px;
  --f-body: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --f-head: "Zen Kaku Gothic New", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --f-hand: "Yomogi", "Hiragino Maru Gothic ProN", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-body); font-size: 19px; line-height: 1.85;
  line-break: strict; word-break: normal; overflow-wrap: anywhere;
}
@media (min-width: 900px) { body { font-size: 20px; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.35; margin: 0; letter-spacing: .02em; word-break: normal; overflow-wrap: normal; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }
.sp { display: inline; } .pc { display: none; }
@media (min-width: 900px) { .sp { display: none; } .pc { display: inline; } }

/* 要確認の値（公開前に必ず埋める） */
.tbd { background: #fff3b0; color: #6a4b00; border: 1px dashed #c99a00; padding: 0 .35em; border-radius: 3px; font-size: .85em; font-weight: 700; }

/* 読み進めた量 */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; background: var(--cta); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 60px; padding: 0 1.6em; border-radius: var(--radius); font-family: var(--f-head); font-weight: 700; font-size: 1.05em; text-decoration: none; white-space: nowrap; transition: transform .15s, background-color .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-cta { background: var(--cta); color: var(--cta-ink); box-shadow: 0 3px 0 #b88f00; }
.btn-cta:hover { background: #ffd23a; }
.btn-line { border: 2px solid currentColor; color: var(--navy); background: transparent; }
.btn-sm { min-height: 46px; font-size: .9em; padding: 0 1.1em; }
.btn.wide { width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ヘッダー */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule); transition: box-shadow .25s; }
.site-head.scrolled { box-shadow: 0 6px 20px rgba(13,36,64,.08); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 72px; transition: height .25s; }
.site-head.scrolled .head-in { height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 900; font-size: 22px; border-radius: 4px; }
.logo-text { font-family: var(--f-head); font-weight: 900; font-size: 24px; line-height: 1.1; color: var(--navy); display: flex; flex-direction: column; }
.logo-text small { font-family: var(--f-body); font-weight: 400; font-size: 12px; color: var(--ink-2); letter-spacing: .08em; }
.head-nav { display: flex; align-items: center; gap: 18px; }
.head-tel { font-family: var(--f-head); font-weight: 700; text-decoration: none; display: none; }
@media (min-width: 900px) { .head-tel { display: inline; } }
@media (max-width: 599px) { .head-nav .btn { display: none; } }

/* 見出し */
.sec-h { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; color: var(--navy); margin-bottom: 1.2em; }
.sec-h.light { color: #fff; }

/* ① 最初の画面 */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.ruled { position: absolute; inset: 0; background-image: repeating-linear-gradient(to bottom, transparent 0 47px, var(--rule) 47px 48px); opacity: .55; transform: translateY(var(--ry, 0)); pointer-events: none; }
.ruled::before { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(20px, 6vw, 90px); width: 2px; background: #e3a3a3; opacity: .5; }
.hero-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.15fr .85fr; } }
.hero-for { display: inline-block; font-weight: 700; color: var(--blue); border-bottom: 2px solid var(--blue); margin-bottom: 18px; }
/* 1行は最長12字。どの画面幅でも行の途中で折り返さない大きさにして、改行位置を固定する */
.hero-h { font-size: clamp(25px, 7.1vw, 52px); font-weight: 900; color: var(--navy); line-height: 1.3; letter-spacing: 0; }
@media (min-width: 980px) { .hero-h { font-size: clamp(36px, 3.9vw, 52px); } }
.hero-h .line { display: block; white-space: nowrap; }
.hero-h em { font-style: normal; color: #fff; background: var(--blue); padding: 0 .18em; margin: 0 .05em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-lead { margin-top: 26px; font-size: 1.08em; color: var(--ink-2); max-width: 36em; }
.hero-price { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 16px 20px; background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); max-width: 640px; }
.hp-tag { background: var(--navy); color: #fff; font-family: var(--f-head); font-weight: 700; padding: 2px 12px; border-radius: 3px; font-size: .9em; }
.hp-old { color: var(--ink-2); font-size: .9em; }
.hp-old s { text-decoration-thickness: 2px; }
.hp-new { font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.hp-new b { font-size: 1.9em; font-weight: 900; color: var(--blue); letter-spacing: .01em; }
.hp-new small { font-size: .7em; font-weight: 400; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-fig { margin: 0; position: relative; display: grid; justify-items: center; gap: 10px; }
.hero-fig figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.slip { width: min(420px, 100%); background: #fff; border: 1.5px solid var(--blue); border-radius: 4px; box-shadow: 0 10px 30px rgba(13,36,64,.10); }
.slip-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1.5px solid var(--blue); color: var(--blue); font-family: var(--f-head); font-weight: 700; }
.slip-copy { font-size: .8em; }
.slip-rows { margin: 0; padding: 4px 16px 10px; }
.slip-rows div { display: grid; grid-template-columns: 4em 1fr; border-bottom: 1px solid var(--rule); padding: 6px 0; }
.slip-rows dt { color: var(--blue); font-size: .85em; }
.slip-rows dd { margin: 0; }
.slip-paper { position: relative; transform: rotate(-2.5deg); background: #fbfcfe; }
.hand dd { font-family: var(--f-hand); color: #23324a; font-size: 1.05em; display: flex; align-items: center; }
.hand dd img { max-width: 100%; height: auto; transform: rotate(-1deg); }
.slip-paper .slip-rows div { align-items: center; }
.smudge { position: absolute; right: 26px; bottom: 30px; width: 90px; height: 22px; background: rgba(40,40,40,.12); filter: blur(5px); border-radius: 50%; }
.slip-digital { transform: translateY(var(--dy, 0)); }
.stamp { border: 2px solid #c8102e; color: #c8102e; font-size: .8em; padding: 0 8px; border-radius: 3px; transform: rotate(-6deg); opacity: 0; transition: opacity .4s .3s, transform .4s .3s; }
.hero-fig.in .stamp { opacity: 1; transform: rotate(-6deg) scale(1); }
.arrow-down { width: 2px; height: 46px; background: var(--blue); position: relative; }
.arrow-down::after { content: ""; position: absolute; left: -7px; bottom: -2px; border: 8px solid transparent; border-top: 11px solid var(--blue); border-bottom: 0; }

/* ② 悩み */
.worry { background: var(--navy); color: #fff; padding: clamp(64px, 9vw, 120px) 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-width: 920px; }
.checks li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; font-size: clamp(20px, 2.3vw, 26px); font-family: var(--f-head); font-weight: 700; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.box { width: 34px; height: 34px; border: 3px solid #fff; border-radius: 4px; margin-top: 4px; position: relative; }
.box::after { content: ""; position: absolute; left: 8px; top: 1px; width: 11px; height: 20px; border-right: 4px solid var(--cta); border-bottom: 4px solid var(--cta); transform: rotate(45deg) scale(0); transform-origin: 50% 70%; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.checks li.in .box::after { transform: rotate(45deg) scale(1); }
.worry-after { margin-top: 40px; font-family: var(--f-head); font-weight: 900; font-size: clamp(24px, 3vw, 34px); color: var(--cta); }

/* ③ 仕組み（スクロールで図が切り替わる） */
.story { padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); background: #fff; }
.story-in { display: grid; gap: 24px; }
@media (min-width: 980px) { .story-in { grid-template-columns: 1fr 1fr; gap: 64px; } }
.stage { position: sticky; top: 76px; height: min(62vh, 520px); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; z-index: 2; }
@media (max-width: 979px) { .stage { top: 64px; height: 300px; } }
.scene { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s; }
.stage[data-step="0"] .scene-0, .stage[data-step="1"] .scene-1, .stage[data-step="2"] .scene-2 { opacity: 1; transform: none; }
.scene-label { font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: .95em; text-align: center; }
.scene-0 { grid-auto-flow: row; }
.mini-slip { width: 190px; padding: 14px; background: #fff; border: 1.5px solid var(--blue); transform: rotate(-3deg); display: grid; gap: 10px; }
.mini-slip i { height: 8px; background: repeating-linear-gradient(90deg, #4a5a74 0 9px, transparent 9px 13px); border-radius: 4px; opacity: .7; }
.mini-slip i:nth-child(2) { width: 70%; } .mini-slip i:nth-child(4) { width: 50%; }
.scene-arrow { color: var(--blue); font-weight: 700; font-size: .85em; }
.scene-arrow::after { content: " ↓"; }
.keyboard { display: grid; grid-template-columns: repeat(8, 22px); gap: 5px; padding: 10px; background: #fff; border: 1.5px solid #9fb0c8; border-radius: 6px; }
.keyboard span { height: 18px; background: #dfe6f0; border-radius: 3px; animation: key 1.2s infinite; }
.keyboard span:nth-child(odd) { animation-delay: .3s; } .keyboard span:nth-child(3n) { animation-delay: .6s; }
@keyframes key { 50% { background: #9fb0c8; } }
.phone { width: 180px; padding: 12px; background: #fff; border: 3px solid var(--navy); border-radius: 22px; display: grid; gap: 8px; }
.phone-bar { width: 50px; height: 5px; background: var(--navy); border-radius: 3px; justify-self: center; margin-bottom: 4px; }
.field { display: grid; grid-template-columns: 2.6em 1fr; align-items: center; font-size: 13px; border-bottom: 1px solid var(--rule); padding-bottom: 6px; }
.field b { color: var(--blue); }
.typing { overflow: hidden; white-space: nowrap; width: 0; }
.stage[data-step="1"] .typing { animation: type 1.2s steps(6) forwards; }
.stage[data-step="1"] .field:nth-child(3) .typing { animation-delay: .9s; }
@keyframes type { to { width: 6em; } }
.photo { width: 46px; height: 32px; border-radius: 3px; background: linear-gradient(135deg, #9fb0c8, #5f7699); }
.phone-btn { background: var(--blue); color: #fff; text-align: center; border-radius: 6px; font-size: 13px; padding: 6px; font-weight: 700; }
.pc { width: min(360px, 80vw); }
.pc-screen { background: #fff; border: 3px solid var(--navy); border-radius: 6px 6px 0 0; padding: 12px; display: grid; gap: 6px; }
.pc-foot { height: 14px; background: var(--navy); border-radius: 0 0 8px 8px; margin: 0 -10px; }
.row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; font-size: 13px; padding: 6px 8px; border-radius: 4px; background: var(--paper); }
.row em { font-style: normal; font-weight: 700; color: #fff; background: var(--blue); padding: 0 6px; border-radius: 3px; font-size: 12px; }
.row em.g { background: #6b7c94; }
.row.new { background: #fff7d1; outline: 2px solid var(--cta); }
.stage[data-step="2"] .row.new { animation: arrive .7s ease-out both; }
@keyframes arrive { from { transform: translateX(-30px); opacity: 0; } }

.steps { list-style: none; margin: 0; padding: 0; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; opacity: .35; transition: opacity .4s; }
.step.active { opacity: 1; }
@media (max-width: 979px) { .step { min-height: 56vh; } }
.step-k { display: inline-block; align-self: flex-start; font-family: var(--f-head); font-weight: 700; color: #fff; background: var(--blue); padding: 2px 14px; border-radius: 3px; margin-bottom: 14px; }
.step[data-step="0"] .step-k { background: #6b7c94; }
.step h3 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; color: var(--navy); margin-bottom: 14px; }
.step p:not(.step-k) { color: var(--ink-2); }

.table-wrap { overflow-x: auto; margin-top: 40px; }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; font-size: .95em; }
.compare caption { text-align: left; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 1.1em; margin-bottom: 12px; }
.compare th, .compare td { padding: 18px 16px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--f-head); color: var(--ink-2); font-size: .9em; }
.compare tbody th { font-family: var(--f-head); color: var(--navy); white-space: nowrap; }
.compare .us { background: #eaf1fc; color: var(--navy); font-weight: 700; }
.compare thead .us { background: var(--blue); color: #fff; }
/* スマホ：3列の表は狭くて言葉が途中で割れるため、行ごとに縦に積む（見出し→いま→ニッコー） */
@media (max-width: 640px) {
  .compare, .compare.dark { min-width: 0; font-size: 1em; }
  .compare thead { display: none; }
  .compare caption { display: block; }
  .compare, .compare tbody, .compare tr, .compare tbody th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .compare.dark tr { border-color: rgba(255,255,255,.25); }
  .compare th, .compare td { border: 0; padding: 0; }
  .compare tbody th { margin-bottom: 8px; font-size: 1.05em; }
  .compare td { display: grid; grid-template-columns: 6.2em 1fr; gap: 10px; padding: 6px 10px; line-height: 1.6; }
  .compare td::before { content: attr(data-label); font-size: .82em; font-weight: 700; color: var(--ink-2); padding-top: .15em; }
  .compare td.us { border-radius: 4px; margin-top: 4px; }
  .compare td.us::before { color: var(--blue); }
  .compare.dark td::before { color: #c4d4ee; }
  .compare.dark td.us::before { color: #fff; }
}
.note { margin-top: 16px; font-size: .85em; color: var(--ink-2); }

/* ④ 特長 */
.features { background: var(--paper); padding: clamp(72px, 9vw, 120px) 0; }
.feat { display: grid; gap: 28px; align-items: center; padding: 40px 0; border-top: 1px solid var(--rule); }
@media (min-width: 900px) { .feat { grid-template-columns: 1.1fr .9fr; gap: 72px; padding: 56px 0; } .feat.rev .feat-text { order: 2; } }
.feat h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.feat p { color: var(--ink-2); }
.feat-fig { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; min-height: 220px; display: grid; place-items: center; }
.chat { display: grid; gap: 12px; width: 100%; max-width: 340px; font-size: 15px; }
.bubble { padding: 10px 14px; border-radius: 10px; max-width: 82%; }
.bubble.l { background: var(--paper); justify-self: start; }
.bubble.r { background: var(--blue); color: #fff; justify-self: end; display: grid; gap: 8px; }
.pic { width: 120px; height: 70px; border-radius: 6px; background: linear-gradient(135deg, #9fb0c8, #dfe6f0); }
.status-list { width: 100%; max-width: 340px; display: grid; gap: 10px; }
.status-list p { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 6px; background: var(--paper); font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.status-list .hl { background: var(--navy); color: #fff; }
.status-list .hl b { color: var(--cta); }
.sched { width: 100%; max-width: 360px; }
.sched-h, .sched-b { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sched-h span { text-align: center; font-family: var(--f-head); font-weight: 700; color: var(--blue); font-size: 15px; border-bottom: 2px solid var(--blue); }
.sched-b { grid-template-rows: repeat(3, 34px); margin-top: 8px; }
.sched-b i { background: #dbe6f7; border-left: 4px solid var(--blue); border-radius: 3px; }
.custom { margin-top: 24px; display: grid; gap: 28px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); }
@media (min-width: 980px) { .custom { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.custom-k { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: .85em; color: var(--navy); background: var(--cta); padding: 2px 12px; border-radius: 3px; margin-bottom: 14px; }
.custom h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin-bottom: 16px; }
.custom-copy > p:not(.custom-k) { color: #dce7f8; }
.custom-case { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.case-k { font-family: var(--f-head); font-weight: 700; color: #c4d4ee; font-size: .9em; margin-bottom: 12px; }
.custom-case ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.custom-case li { padding-left: 16px; border-left: 3px solid var(--cta); color: #dce7f8; font-size: .95em; }
.custom-case li b { display: block; color: #fff; font-family: var(--f-head); font-size: 1.08em; }
.case-note { margin-top: 16px; font-size: 14px; color: #c4d4ee; }
.feat-more { margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: .92em; }

/* ⑤ リースなし */
.nolease { background: var(--blue); color: #fff; padding: clamp(72px, 9vw, 120px) 0; }
.nolease-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .nolease-in { grid-template-columns: 1fr 1fr; gap: 72px; } }
.big-no { font-family: var(--f-head); font-weight: 900; font-size: clamp(40px, 6vw, 76px); line-height: 1.2; }
.nolease-lead { margin-top: 24px; color: #dce7f8; }
@media (min-width: 641px) { .compare.dark { min-width: 480px; } }
.compare.dark th, .compare.dark td { border-color: rgba(255,255,255,.25); color: #fff; }
.compare.dark thead th { color: #c4d4ee; }
.compare.dark .us { background: rgba(255,255,255,.12); }
.compare.dark thead .us { background: #fff; color: var(--blue); }

/* ⑤-2 人件費の試算 */
.cost { background: #fff; padding: clamp(72px, 9vw, 120px) 0; border-bottom: 1px solid var(--rule); }
.cost-lead { font-size: 1.1em; margin-top: -.4em; max-width: 46em; }
.cost-lead b { color: var(--blue); font-family: var(--f-head); font-size: 1.15em; }
.calc { margin-top: 40px; display: grid; gap: 0; background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 980px) { .calc { grid-template-columns: .9fr 1.1fr; } }
.calc-in { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-content: start; border-bottom: 1px solid var(--rule); }
@media (min-width: 980px) { .calc-in { border-bottom: 0; border-right: 1px solid var(--rule); } }
.calc-note { font-family: var(--f-head); font-weight: 700; color: var(--blue); font-size: .9em; }
.num { display: grid; gap: 6px; }
.num label { font-weight: 700; font-size: .95em; }
.stepper { display: grid; grid-template-columns: 52px 1fr auto 52px; align-items: center; border: 1.5px solid #9fb0c8; border-radius: var(--radius); overflow: hidden; }
.stepper button { height: 54px; border: 0; background: var(--paper); color: var(--navy); font-size: 26px; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: #e2e9f3; }
.stepper input { width: 100%; min-width: 0; border: 0; font: inherit; font-family: var(--f-head); font-weight: 700; font-size: 24px; text-align: right; padding: 0 8px; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper span { padding-right: 12px; font-weight: 700; color: var(--ink-2); }
.calc-out { padding: clamp(22px, 3vw, 36px); display: grid; gap: 28px; align-content: center; }
.calc-res { margin: 0; display: grid; gap: 4px; }
.calc-res div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.calc-res dt { color: var(--ink-2); font-weight: 700; }
.calc-res dd { margin: 0; font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.calc-res b { font-size: 1.6em; font-weight: 900; font-variant-numeric: tabular-nums; }
.calc-res .month { border-bottom: 2px solid var(--navy); }
.calc-res .month b { font-size: clamp(40px, 5.4vw, 60px); color: #c8102e; letter-spacing: -.01em; }
.bars { display: grid; gap: 14px; }
.bar { display: grid; gap: 6px; }
.bar-k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.bar-n { font-family: var(--f-head); font-weight: 900; font-size: 26px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-n.now { color: #c8102e; }
.bar-n.us { color: var(--blue); }
.bar-n small { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.bar-diff { margin-top: 6px; padding-top: 14px; border-top: 2px dashed var(--rule); text-align: right; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 1.05em; }
.bar-diff b { font-size: 1.7em; font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.bar-diff .year { margin-top: 4px; }
.bar-diff .year b { font-size: 2.1em; color: #c8102e; }
.bar-diff[hidden] { display: none; }
.bar-v { display: block; height: 22px; border-radius: 3px; width: calc(var(--w, 0) * 100%); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.bar-v.now { background: #c8102e; }
.bar-v.us { background: var(--blue); }
.cost-zero { margin-top: 48px; font-family: var(--f-head); font-weight: 900; font-size: clamp(26px, 3.4vw, 42px); color: var(--navy); line-height: 1.4; }
.cost-zero em { white-space: nowrap; font-style: normal; color: #fff; background: var(--blue); padding: 0 .2em; }
.cost-why { margin-top: 16px; max-width: 46em; color: var(--ink-2); }
.people { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--rule); display: grid; gap: 28px; }
@media (min-width: 980px) { .people { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.people h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.people-copy p { color: var(--ink-2); }
.people-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.people-list li { background: #fff; border-left: 5px solid var(--blue); padding: 16px 20px; color: var(--ink-2); }
.people-list b { display: block; font-family: var(--f-head); color: var(--navy); font-size: 1.1em; margin-bottom: 2px; }
.people-note { font-size: 14px; color: var(--ink-2); grid-column: 1 / -1; }

/* ⑥ 料金 */
.price { padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.price-in { display: grid; justify-items: center; text-align: center; }
.price-card { width: min(620px, 100%); border: 3px solid var(--navy); border-radius: var(--radius); padding: clamp(28px, 5vw, 48px); background: #fff; position: relative; }
.price-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--rule); border-radius: 3px; pointer-events: none; }
.pc-old { color: var(--ink-2); font-size: 1.05em; }
.strike { position: relative; display: inline-block; }
.strike::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; background: #c8102e; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s .2s ease-out; }
.price-card.in .strike::after { transform: scaleX(1); }
.pc-arrow { color: var(--blue); font-size: 1.4em; line-height: 1.4; }
.pc-label { font-family: var(--f-head); font-weight: 700; color: var(--blue); font-size: 1.15em; }
.pc-new { font-family: var(--f-head); font-weight: 900; color: var(--navy); line-height: 1.1; margin: 6px 0 10px; }
.pc-new b { font-size: clamp(64px, 11vw, 104px); letter-spacing: -.01em; }
.pc-new span { font-size: .95em; font-weight: 700; }
.pc-monitor { font-weight: 700; color: var(--navy); }
.pc-terms { margin: 26px 0 28px; text-align: left; }
.price-card, .price-card > * { min-width: 0; }
.pc-terms div { display: grid; grid-template-columns: minmax(6.5em, 9em) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.pc-terms dt { color: var(--ink-2); font-size: .92em; }
.pc-terms dd { margin: 0; font-weight: 700; }

/* ⑦ 流れ */
.flow { background: var(--paper); padding: clamp(72px, 9vw, 120px) 0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 54px; position: relative; max-width: 820px; counter-reset: f; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 3px; background: var(--rule); }
.timeline::after { content: ""; position: absolute; left: 17px; top: 8px; width: 3px; height: calc((100% - 16px) * var(--fill, 0)); background: var(--blue); }
.timeline li { position: relative; padding: 0 0 44px; counter-increment: f; }
.timeline li::before { content: counter(f); position: absolute; left: -54px; top: 0; width: 38px; height: 38px; display: grid; place-items: center; background: #fff; border: 3px solid var(--rule); border-radius: 50%; font-family: var(--f-head); font-weight: 900; color: var(--ink-2); z-index: 1; transition: background .3s, border-color .3s, color .3s; }
.timeline li.in::before { background: var(--blue); border-color: var(--blue); color: #fff; }
.timeline h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; color: var(--navy); margin-bottom: 6px; }
.timeline p { color: var(--ink-2); }

/* ⑧ よくある質問 */
.faq { padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 1.05em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--blue); font-weight: 900; margin-right: .6em; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 24px 1.6em; color: var(--ink-2); }

/* ⑨ 申し込み */
.apply { background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 120px) 0 clamp(96px, 10vw, 130px); }
.apply-in { display: grid; gap: 48px; }
@media (min-width: 980px) { .apply-in { grid-template-columns: .95fr 1.05fr; gap: 72px; } }
.apply-copy > p { color: #dce7f8; }
.apply-alt { margin-top: 36px; display: grid; gap: 22px; }
.apply-alt p { display: grid; gap: 4px; padding-left: 16px; border-left: 4px solid var(--cta); }
.apply-alt b { font-family: var(--f-head); font-size: .95em; color: #c4d4ee; }
.apply-alt a { font-family: var(--f-head); font-weight: 900; font-size: 1.5em; text-decoration: none; }
.apply-alt small { font-size: 14px; color: #c4d4ee; }
.form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 4px; display: grid; gap: 10px; }
.form legend { font-family: var(--f-head); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-weight: 700; font-size: .95em; }
.form label > input:not([type="checkbox"]) { flex-basis: 100%; }
.apply .sec-h { font-size: clamp(28px, 3.3vw, 42px); }
.form .chk { display: flex; align-items: center; gap: 12px; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: var(--radius); cursor: pointer; }
.form .chk input { width: 24px; height: 24px; accent-color: var(--blue); }
.form input:not([type="checkbox"]) { font: inherit; font-size: 18px; padding: 14px; border: 1.5px solid #9fb0c8; border-radius: var(--radius); width: 100%; }
.form input:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.form .two { display: grid; gap: 18px; }
@media (min-width: 600px) { .form .two { grid-template-columns: 1fr 1fr; } }
.req { display: inline-block; margin-left: 8px; font-size: 12px; background: #c8102e; color: #fff; padding: 0 6px; border-radius: 3px; vertical-align: 2px; }
.privacy { font-size: 14px; color: var(--ink-2); }
.form-msg { font-weight: 700; color: #c8102e; }
.form-msg.ok { color: var(--blue); }

/* ⑩ 代表挨拶・販売元 */
.greet { background: #fff; padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }
.greet-in { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .greet-in { grid-template-columns: 340px 1fr; gap: 64px; } }
.greet-photo { margin: 0; position: relative; max-width: min(340px, 70%); }
@media (min-width: 900px) { .greet-photo { max-width: 340px; } }
.greet-photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid var(--blue); border-radius: var(--radius); }
.greet-photo img { position: relative; width: 100%; height: auto; border-radius: var(--radius); background: var(--paper); }
.greet-k { display: inline-block; font-family: var(--f-head); font-weight: 700; color: var(--blue); border-bottom: 2px solid var(--blue); margin-bottom: 16px; }
.greet-h { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; color: var(--navy); margin-bottom: 24px; }
.greet-text { display: grid; gap: 1em; color: var(--ink-2); max-width: 40em; }
.greet-sign { margin-top: 28px; font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 1.15em; text-align: right; max-width: 34.8em; }
.greet-sign span { display: block; font-size: .78em; color: var(--ink-2); }
.company { margin: clamp(56px, 7vw, 88px) 0 0; border-top: 2px solid var(--navy); }
.company div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--rule); }
.company dt { font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.company dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 599px) { .company div { grid-template-columns: 1fr; gap: 2px; } }
.site-foot .copy { margin-top: 10px; }

/* フッター */
.site-foot { background: #081a30; color: #a9bbd6; padding: 40px 0 120px; font-size: 14px; }
.site-foot .logo-text { color: #fff; margin-bottom: 14px; }
@media (min-width: 900px) { .site-foot { padding-bottom: 40px; } }

/* スマホの下の固定ボタン */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .3s; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { min-height: 54px; font-size: 1em; padding: 0 .8em; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* 現れる動き（大事な要素だけ） */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease-out, transform .7s ease-out; }
.reveal.in { opacity: 1; transform: none; }
.hero-h .line { opacity: 0; transform: translateY(.5em); animation: rise .8s ease-out forwards; }
.hero-h .line:nth-child(2) { animation-delay: .12s; } .hero-h .line:nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal, .hero-h .line { opacity: 1; transform: none; }
  .typing { width: 6em; }
  .box::after, .strike::after { transform: rotate(45deg) scale(1); }
  .strike::after { transform: none; }
  .stamp { opacity: 1; }
}

/* スマホ（〜599px）の読みやすさ：文字を一段小さく、行を詰め、狭い幅で崩れる部品を縦に積む */
@media (max-width: 599px) {
  body { font-size: 17px; line-height: 1.8; }
  .sec-h { font-size: 26px; margin-bottom: 1em; }
  .apply .sec-h { font-size: 25px; }
  .greet-h, .step h3, .feat h3 { font-size: 22px; }
  .checks li { font-size: 18px; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; }
  /* 背景の罫線が本文に重なって読みにくいので薄くし、赤い縦線は文字の左へ逃がす */
  .ruled { opacity: .22; }
  .ruled::before { left: 8px; }
  .stage { height: 340px; }
  .scene-label { font-size: 14px; line-height: 1.5; }
  .step { min-height: 46vh; }
  .pc-terms div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .form .chk { flex-wrap: nowrap; }
  .form .chk input { flex: none; }
}

/* 「（税別）」が「税／別」で割れないように */
.hp-new small, .bar-n small { white-space: nowrap; }

/* ③-2 実際の画面（横スクロール） */
.screens { background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 88px); }
.screens .sec-h { color: #fff; }
.screens-lead { color: #dce7f8; margin-top: -.4em; }
.shots { display: flex; gap: clamp(16px, 2.4vw, 32px); align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, (100% - 1180px) / 2); padding: 36px max(20px, (100% - 1180px) / 2) 24px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.4) transparent; }
.shots:focus-visible { outline: 3px solid var(--cta); outline-offset: -3px; }
.shot { margin: 0; flex: none; scroll-snap-align: start; }
.shot.is-phone { width: clamp(220px, 62vw, 280px); }
.shot.is-pc { width: clamp(300px, 86vw, 760px); }
.shot a { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0, 10, 30, .35); }
.shot.is-phone a { border: 6px solid #1c2d44; border-radius: 26px; }
.shot.is-pc a { border: 6px solid #1c2d44; border-top-width: 18px; border-radius: 10px; }
.shot img { width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; font-size: .92em; line-height: 1.6; color: #dce7f8; }
.shot figcaption b { display: block; font-family: var(--f-head); color: var(--cta); font-size: .9em; }
.shots-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.shots-foot .note { color: #c4d4ee; margin: 0; }
.shots-nav { display: flex; gap: 10px; }
.shots-nav button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.shots-nav button:hover { background: rgba(255,255,255,.12); }

/* Android など幅の狭いスマホ（実質320〜360px・文字が大きめに出る機種）向け：左右の余白と＋−ボタンを詰めて、数字の欄を広く取る */
html { text-size-adjust: 100%; }
@media (max-width: 599px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .calc-in { padding-left: 14px; padding-right: 14px; }
  .stepper { grid-template-columns: 42px minmax(0, 1fr) auto 42px; }
  .stepper button { height: 50px; font-size: 22px; }
  .stepper input { font-size: 21px; padding: 0 4px; }
  .stepper span { padding-right: 6px; font-size: .9em; }
  .price-card { padding: 24px 18px; }
  .form { padding: 20px 16px; }
  .slip-paper { width: 94%; }
}

/* ヒーロー：金額の下に、無料の資料請求・無料デモのボタンと電話番号（2026-11-13） */
.hero-tel { margin-top: 14px; font-size: .92em; color: var(--ink-2); }
.hero-tel a { font-family: var(--f-head); font-weight: 700; color: var(--navy); }
/* 画面の見本のすぐ下：無料デモへの誘い */
.demo-band { margin-top: 48px; padding: 28px clamp(20px, 3vw, 36px); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); }
.demo-q { font-family: var(--f-head); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); color: #fff; }
.demo-a { margin-top: 8px; color: #dce7f8; max-width: 44em; }
.demo-cta { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.demo-link { color: #fff; font-weight: 700; }
/* 流れを料金の前に移したので、料金とよくある質問（どちらも白）の境目に線を引く */
.price { border-bottom: 1px solid var(--rule); }
@media (max-width: 599px) {
  .hero-cta .btn { width: 100%; text-align: center; }
}
