@charset "UTF-8";
/* CryptoStyle Labs — style.css（1本だけ。JS なし） */

/* ---------- tokens ---------- */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --band: #f5f7fa;
  --ink: #14171c;
  --ink-2: #3b414a;
  --muted: #5f6670;
  --line: #dde1e6;
  --line-soft: #eceff3;
  --accent: #23417a;
  --accent-ink: #ffffff;
  --accent-soft: #e9eef7;
  --accent-line: #a9b8d6;
  --caution-bg: #f5f7fa;
  --caution-line: #dde1e6;
  --code-bg: #161a20;
  --code-line: #2e343d;
  --code-accent: #8fb0ea;
  --radius: 12px;
  --radius-s: 8px;
  --wrap: 1040px;
  --read: 720px;
  --gutter: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1216;
    --surface: #161a20;
    --surface-2: #1d222a;
    --band: #13171c;
    --ink: #e9ecf0;
    --ink-2: #c5cad2;
    --muted: #9aa2ad;
    --line: #2b313a;
    --line-soft: #222830;
    --accent: #9db6e8;
    --accent-ink: #0f1216;
    --accent-soft: #1f2a3d;
    --accent-line: #48608c;
    --caution-bg: #13171c;
    --caution-line: #2b313a;
    --code-bg: #0b0d10;
    --code-line: #262b33;
    --code-accent: #9db6e8;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1216;
  --surface: #161a20;
  --surface-2: #1d222a;
  --band: #13171c;
  --ink: #e9ecf0;
  --ink-2: #c5cad2;
  --muted: #9aa2ad;
  --line: #2b313a;
  --line-soft: #222830;
  --accent: #9db6e8;
  --accent-ink: #0f1216;
  --accent-soft: #1f2a3d;
  --accent-line: #48608c;
  --caution-bg: #13171c;
  --caution-line: #2b313a;
  --code-bg: #0b0d10;
  --code-line: #262b33;
  --code-accent: #9db6e8;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.75;
  letter-spacing: 0.02em;
  line-break: strict;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li + li { margin-top: 0.35em; }
strong { font-weight: 700; }

h1, h2, h3 {
  color: var(--ink);
  font-feature-settings: "palt";
  word-break: auto-phrase;
  text-wrap: balance;
  letter-spacing: 0.03em;
}
h1 { font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.625rem); line-height: 1.38; font-weight: 700; margin: 0 0 0.6em; }
h2 { font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem); line-height: 1.45; font-weight: 700; margin: 0 0 0.8em; }
h3 { font-size: 1.1875rem; line-height: 1.5; font-weight: 700; margin: 0 0 0.5em; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: 0.5em 1em; z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.read { max-width: var(--read); }
.muted { color: var(--muted); }
.small { font-size: 1rem; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: 0.04em; }
.brand-name { font-size: 1.0625rem; }
.brand-mark { display: inline-flex; width: 26px; height: 26px; }
.bm-frame { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.bm-line { stroke: var(--ink); stroke-width: 1.2; }
.bm-fill { fill: var(--accent); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 2px; }
.nav li + li { margin-top: 0; }
.nav a {
  display: inline-block; padding: 6px 10px; border-radius: 6px;
  color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; line-height: 1.5;
}
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); font-weight: 700; }

/* ---------- sections ---------- */
main { display: block; }
.section { padding: 64px 0; border-bottom: 1px solid var(--line-soft); }
.section:last-of-type { border-bottom: 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: var(--read); margin-bottom: 28px; }
.section-head p:last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-block; margin: 0 0 12px; font-size: 0.875rem; letter-spacing: 0.08em;
  color: var(--muted); font-weight: 500;
}
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line-soft); }
.page-head .lead { margin-bottom: 0; }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 40em; line-height: 1.85; }

.toc { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.toc li + li { margin-top: 0; }
.toc a {
  display: inline-block; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--ink-2); font-size: 0.9375rem; background: var(--surface);
}
.toc a:hover { border-color: var(--accent-line); color: var(--accent); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--line-soft); }
.hero h1 { max-width: 15em; }
.hero .lead { margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 8px; font-weight: 700; text-decoration: none; line-height: 1.4;
  border: 1px solid var(--accent); min-height: 48px;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }

/* 入るもの → 残るもの */
.io { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 44px; align-items: stretch; }
.io-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.io-col h2 { font-size: 1rem; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin: 0 0 12px; }
.io-col ol { margin: 0; padding-left: 1.5em; }
.io-col li { padding-left: 0.2em; }
.io-col li span { color: var(--muted); font-size: 1rem; }
.io-out { border-color: var(--accent-line); }
.io-arrow { display: flex; align-items: center; justify-content: center; color: var(--muted); }
.io-arrow svg { width: 28px; height: 28px; transform: rotate(90deg); }
.io-arrow path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 760px) {
  .io { grid-template-columns: 1fr 44px 1fr; }
  .io-arrow svg { transform: none; }
}

/* ---------- facts ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.facts div { background: var(--surface); padding: 18px 20px; }
@media (max-width: 480px) { .facts div { padding: 14px 14px; } }
.facts dt { font-size: 0.875rem; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 700; font-size: 1.0625rem; line-height: 1.55; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts dd small { display: block; font-weight: 400; font-size: 1rem; color: var(--muted); margin-top: 2px; }

/* ---------- caution（受けないもの） ---------- */
.caution { background: var(--caution-bg); border: 1px solid var(--caution-line); border-radius: var(--radius); padding: 24px 24px 20px; }
.caution h2, .caution h3 { margin-top: 0; }
.caution ul { margin-bottom: 0.8em; }
.caution p:last-child { margin-bottom: 0; }
.no-list { list-style: none; padding: 0; }
.no-list li { position: relative; padding-left: 1.6em; }
.no-list li::before {
  content: ""; position: absolute; left: 0.15em; top: 0.72em; width: 0.8em; height: 2px; background: var(--ink-2);
}

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.cards > li + li { margin-top: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.card p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.card .num { display: block; font-size: 0.8125rem; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; font-weight: 500; }
.card-icon { width: 44px; height: 44px; margin-bottom: 14px; display: block; }
.ic-line { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.8; stroke-linejoin: round; }
.ic-solid { fill: var(--accent); }

/* ---------- 作例 ---------- */
.tool { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line-soft); }
.tool:first-of-type { border-top: 0; padding-top: 0; }
.tool figure, .figure { margin: 0; }
.tool figcaption, .figure figcaption { font-size: 1rem; color: var(--muted); margin-top: 8px; }
.tool-body h3 { margin-bottom: 8px; }
.chips { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li + li { margin-top: 0; }
.chips li { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 3px 10px; font-size: 1rem; line-height: 1.6; }
.note { font-size: 1rem; color: var(--muted); }
@media (min-width: 820px) {
  .tool { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
}
.svg-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.svg-box svg { display: block; width: 100%; }

/* SVG 共通 */
.sv-frame { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.sv-bar { fill: var(--surface-2); }
.sv-grid { stroke: var(--line-soft); stroke-width: 1; }
.sv-dot { fill: var(--line); }
.sv-title { fill: var(--muted); font-size: 14px; font-family: inherit; letter-spacing: 0.04em; }
.sv-btn { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.2; }
.sv-btn-t { fill: var(--accent); font-size: 14px; font-weight: 700; font-family: inherit; }
.sv-label { fill: var(--ink-2); font-size: 14px; font-weight: 700; font-family: inherit; }
.sv-sub { fill: var(--muted); font-size: 14px; font-family: inherit; }
.sv-ink { fill: var(--ink-2); }
.sv-soft { fill: var(--surface-2); }
.sv-acc { fill: var(--accent); }
.sv-acc-soft { fill: var(--accent-soft); }
.sv-line { fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sv-line-acc { fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-page { fill: var(--surface); stroke: var(--line); stroke-width: 1.2; }
.sv-cell { fill: none; stroke: var(--line); stroke-width: 1; }
.sv-code { fill: var(--code-bg); }
.sv-code-line { fill: var(--code-line); }
.sv-code-acc { fill: none; stroke: var(--code-accent); stroke-width: 1.4; }
.sv-code-t { fill: var(--code-accent); font-size: 12.5px; font-weight: 700; font-family: inherit; }
.sv-code-sub { fill: #8d939c; font-size: 13px; font-family: inherit; }

/* ---------- 段階（進め方） ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { position: relative; padding: 0 0 28px 64px; counter-increment: step; }
.steps > li + li { margin-top: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--accent);
  color: var(--accent); background: var(--surface); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1;
}
.steps > li::after {
  content: ""; position: absolute; left: 19.5px; top: 44px; bottom: 4px; width: 1px; background: var(--line);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin: 6px 0 4px; }
.steps p { margin-bottom: 0.5em; color: var(--ink-2); }
.steps .meta { display: inline-block; font-size: 0.875rem; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 1px 8px; margin-bottom: 6px; font-weight: 500; }
.steps .figure { margin-top: 14px; max-width: 520px; }

/* ---------- 定義リスト（行） ---------- */
.rows { margin: 0; border-top: 1px solid var(--line); }
.rows > div { display: grid; grid-template-columns: 1fr; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 700; color: var(--ink); }
.rows dd { margin: 0; color: var(--ink-2); }
@media (min-width: 640px) {
  .rows > div { grid-template-columns: 11em 1fr; }
}

/* ---------- 価格の目安 ---------- */
.price { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.price > div { display: grid; grid-template-columns: 1fr; gap: 4px 24px; padding: 18px 20px; border-top: 1px solid var(--line); }
.price > div:first-child { border-top: 0; }
.price dt { color: var(--ink-2); }
.price dd { margin: 0; font-weight: 700; font-size: 1.1875rem; font-feature-settings: "tnum"; }
.price dd small { font-weight: 400; font-size: 1rem; color: var(--muted); white-space: normal; }
@media (min-width: 640px) {
  .price > div { grid-template-columns: 1fr auto; align-items: baseline; }
  .price dd { text-align: right; white-space: nowrap; }
}
.price-note { margin-top: 14px; }

.legal-box { margin-top: 28px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-s); background: var(--surface); padding: 18px 20px; }
.legal-box h3 { font-size: 1rem; margin-bottom: 6px; }
.legal-box p:last-child { margin-bottom: 0; }

/* ---------- 沿革 ---------- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 24px; }
.timeline li + li { margin-top: 0; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.6em; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent); }
.timeline time { display: block; font-weight: 700; font-size: 0.9375rem; color: var(--accent); }

/* ---------- 想定の場面 ---------- */
.tag { display: inline-block; font-size: 1rem; font-weight: 700; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; vertical-align: 0.15em; margin-left: 6px; }
.scenes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.scenes li + li { margin-top: 0; }
.scenes li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px 20px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 48px; }
.qa { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.qa h3 { font-size: 1.0625rem; display: flex; gap: 10px; }
.qa h3::before { content: "Q"; color: var(--accent); font-weight: 700; flex: none; }
.qa p, .qa ul { color: var(--ink-2); padding-left: 1.6em; }
.qa ul { padding-left: 3em; }

/* ---------- 連絡 ---------- */
.mail-card { background: var(--surface); border: 1px solid var(--accent-line); border-radius: var(--radius); padding: 28px 24px; }
.mail-card .label { font-size: 0.875rem; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 6px; }
.mail-addr { display: inline-block; font-size: clamp(1.125rem, 0.9rem + 1.6vw, 1.625rem); font-weight: 700; word-break: break-all; margin-bottom: 16px; }

/* ---------- CTA ---------- */
.cta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; }
.cta h2 { margin-bottom: 0.4em; }
.cta p { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 32px; font-size: 1rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr; } }
.footer-grid p { margin: 0 0 0.4em; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-nav li + li { margin-top: 0; }
.footer-nav a { color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.legal { margin: 28px 0 6px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.copy { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- 2カラム（広い画面） ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 880px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }

@media (max-width: 480px) {
  body { font-size: 1rem; line-height: 1.8; }   /* 16px */
  .section { padding: 48px 0; }
  .hero { padding: 44px 0 40px; }
  .page-head { padding: 40px 0 28px; }
  .caution, .cta, .mail-card { padding-left: 18px; padding-right: 18px; }
  .card { padding: 18px; }
  .steps > li { padding-left: 54px; }
}

/* ---------- v3 追加（2026/10/11・検査役の移植と直し） ---------- */
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 10px; }
.head-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang { font-size: 1rem; color: var(--muted); text-decoration: none; }
.lang:hover { color: var(--accent); }
.btn-small { min-height: 40px; padding: 6px 16px; font-size: 1rem; }
.gnav ul { list-style: none; margin: 0; padding: 0 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gnav li + li { margin-top: 0; }
.gnav a { display: block; text-align: center; padding: 8px 4px; border-radius: 8px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); text-decoration: none; background: var(--surface-2); }
.gnav a:hover { background: var(--accent-soft); color: var(--ink); }
.gnav a[aria-current="page"] { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
@media (min-width: 860px) {
  .gnav ul { display: flex; gap: 4px; padding-bottom: 14px; }
  .gnav a { background: transparent; padding: 6px 14px; }
  .gnav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
}
.mt-s { margin-top: 8px; } .mt-m { margin-top: 16px; } .mt-l { margin-top: 24px; }
.scene-ex { margin: 6px 0 0; font-size: 1rem; color: var(--ink-2); }
.scene-ex b { color: var(--accent); font-weight: 700; margin-right: 0.4em; }
.next { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 720px) { .next { grid-template-columns: repeat(3, 1fr); } }
.next a { display: block; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.next a:hover { border-color: var(--accent-line); }
.next strong { display: block; margin-bottom: 2px; }
.next span { display: block; font-size: 1rem; color: var(--muted); }
.mail-sample { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 12px 0 0; font-size: 1rem; line-height: 1.75; white-space: pre-wrap; font-family: inherit; color: var(--ink); }
.fg-box { fill: var(--surface); stroke: var(--line); stroke-width: 1.2; }
.fg-box-q { fill: var(--surface-2); stroke: var(--line); stroke-width: 1; }
.fg-box-s { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.4; }
.fg-label { fill: var(--ink); font-size: 14px; font-family: inherit; }
.fg-label-s { fill: var(--muted); font-size: 13px; font-family: inherit; }
.fg-line { fill: none; stroke: var(--muted); stroke-width: 1.4; }
.fg-arrow { fill: var(--muted); }

/* ---------- 2026/10/17 着手前の1枚の表（図から HTML の表へ・本文と同じ16px） ---------- */
.sheet-map-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.sheet-map { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.6; }
.sheet-map caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: 8px; }
.sheet-map th, .sheet-map td { text-align: left; vertical-align: top; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.sheet-map thead th { color: var(--muted); font-weight: 700; }
.sheet-map tbody th { color: var(--ink); font-weight: 700; white-space: nowrap; }
.sheet-map td { color: var(--ink-2); }
@media (max-width: 480px) {
  .sheet-map thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sheet-map, .sheet-map tbody, .sheet-map tr, .sheet-map th, .sheet-map td { display: block; width: auto; }
  .sheet-map tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .sheet-map th, .sheet-map td { border-bottom: 0; padding: 2px 0; }
  .sheet-map td::before { content: attr(data-label) "："; color: var(--muted); }
}


/* ---------- v6（2026/10/18） ---------- */
/* 本文を大きく・行間を広く */
body { font-size: 1.125rem; line-height: 2; }
.lead { font-size: 1.25rem; line-height: 2; color: var(--muted); }
/* 見出しを細く小さめに */
h1, h2, h3 { letter-spacing: 0.02em; }
h1 { font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.25rem); line-height: 1.5; font-weight: 500; }
h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.6; font-weight: 500; }
.hero h1 { max-width: 17em; }
/* 節の頭: 黒い見出しの文に、灰色の続きの文を同じ段落で続ける */
.section-head.run h2, .section-head.run p { display: inline; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.7; font-weight: 500; }
.section-head.run h2 { margin: 0; }
.section-head.run h2::after { content: " "; }
.section-head.run p { color: var(--muted); margin: 0; }
/* 色面: 交互の節と注意の枠は寒色寄りの薄い灰（ベージュをやめる） */
.section-alt { background: var(--band); }
.caution { border-left: 3px solid var(--accent); }
.site-footer { background: var(--band); }
/* 番号つきの行＋細い罫線 */
.numrows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); counter-reset: nr; }
.numrows > li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 0 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.numrows > li + li { margin-top: 0; }
.numrows > li::before { counter-increment: nr; content: counter(nr, decimal-leading-zero); grid-row: 1 / span 2; font-size: 0.875rem; letter-spacing: 0.08em; color: var(--muted); padding-top: 0.3em; font-feature-settings: "tnum"; }
.numrows h3 { grid-column: 2; margin: 0 0 4px; font-size: 1.125rem; font-weight: 500; }
.numrows p { grid-column: 2; margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.8; }
.works-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 880px) { .works-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; } }
/* 作例の図: Windows の窓の形にして、薄い色面に載せる */
.svg-box { background: var(--band); border: 0; border-radius: 14px; padding: clamp(16px, 3vw, 32px); }
.svg-box svg { filter: drop-shadow(0 8px 20px rgba(17, 24, 39, 0.10)); }
.section-alt .svg-box { background: var(--surface-2); }
.svg-box figcaption { margin-top: 14px; }
.works-split figure { margin: 0; }
.sv-win { fill: none; stroke: var(--muted); stroke-width: 1.3; stroke-linecap: round; }
/* 比較の表: 右の列だけ色を敷く */
.compare { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.8; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 0.875rem; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--ink-2); padding-top: 0; }
.compare td:first-child { color: var(--ink-2); width: 56%; padding-left: 0; }
.compare .is-after { background: var(--accent-soft); color: var(--ink); }
.compare thead .is-after { color: var(--accent); background: transparent; }
@media (max-width: 560px) {
  .compare thead { display: none; }
  .compare tr, .compare td { display: block; width: auto; }
  .compare td:first-child { width: auto; padding: 14px 0 8px; border-bottom: 0; }
  .compare td.is-after { border-radius: 8px; margin-bottom: 14px; }
  .compare td.is-after::before { content: "自動化の例"; display: block; font-size: 0.8125rem; font-weight: 700; color: var(--accent); }
}
@media (max-width: 480px) {
  body { font-size: 1rem; line-height: 1.9; }
  .lead { font-size: 1.0625rem; }
}

/* ---------- v6 続き ---------- */
/* できること: 番号｜名前｜説明の行（1px の線で区切る） */
.svc-rows { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink-2); counter-reset: svc; }
.svc-rows > li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc-rows > li + li { margin-top: 0; }
.svc-rows > li::before { counter-increment: svc; content: counter(svc, decimal-leading-zero) "."; grid-row: 1 / span 2; font-size: 1rem; letter-spacing: 0.04em; color: var(--muted); padding-top: 0.25em; font-feature-settings: "tnum"; }
.svc-rows h3 { grid-column: 2; margin: 0; font-size: clamp(1.1875rem, 1rem + 0.8vw, 1.5rem); font-weight: 500; line-height: 1.5; }
.svc-rows p { grid-column: 2; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.9; }
@media (min-width: 820px) {
  .svc-rows > li { grid-template-columns: 4em minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 32px; align-items: baseline; padding: 26px 0; }
  .svc-rows > li::before { grid-row: auto; }
  .svc-rows h3, .svc-rows p { grid-column: auto; }
}
/* よくある質問: 分類は枠線の小札・問いは細い線の行 */
.faq-list { max-width: 960px; }
.faq-list .faq-group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px 40px; border-top: 1px solid var(--ink-2); padding-top: 22px; }
.faq-list .faq-group + .faq-group { margin-top: 56px; }
.faq-list .faq-group > h2 { justify-self: start; align-self: start; margin: 0; font-size: 0.875rem; font-weight: 500; letter-spacing: 0.06em; line-height: 1.6; color: var(--ink-2); border: 1px solid var(--line); border-radius: 3px; padding: 2px 10px; }
.faq-list .qa { border-top: 1px solid var(--line); padding: 18px 0 8px; }
.faq-list .qa:first-of-type { border-top: 0; padding-top: 0; }
.faq-list .qa h3 { font-size: 1.0625rem; font-weight: 500; line-height: 1.7; gap: 12px; }
.faq-list .qa h3::before { font-size: 0.8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0.06em; padding-top: 0.3em; }
.faq-list .qa p, .faq-list .qa ul { color: var(--muted); font-size: 1rem; line-height: 1.9; padding-left: 1.85em; }
.faq-list .qa ul { padding-left: 3.2em; }
@media (min-width: 820px) {
  .faq-list .faq-group { grid-template-columns: 11em minmax(0, 1fr); row-gap: 0; }
  .faq-list .faq-group > h2 { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 24px; }
  .faq-list .qa { grid-column: 2; }
}
/* 黒い節: トップの最後の「まずはメールで」だけ */
.section-dark { background: #0b0d10; color: #e9ecf0; border-bottom: 0; }
.section-dark .cta { background: transparent; border: 0; padding: 8px 0; }
.section-dark h2 { color: #ffffff; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.section-dark p, .section-dark .cta p { color: #c5cad2; }
.section-dark .muted { color: #9aa2ad; }
.section-dark a { color: #9db6e8; }
.section-dark .btn-primary { background: #ffffff; color: #0b0d10; border-color: #ffffff; }
.section-dark .btn-primary:hover { filter: none; background: #e9eef7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .section-dark { background: #000000; border-top: 1px solid #2b313a; } }
:root[data-theme="dark"] .section-dark { background: #000000; border-top: 1px solid #2b313a; }

/* ---------- v6 続き2 ---------- */
/* ヒーローの事実の札（下の「数字で見る約束」と同じ値・札は約束の節へのリンク） */
.hero-facts { list-style: none; padding: 0; margin: 4px 0 6px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li + li { margin-top: 0; }
.hero-facts a { display: flex; flex-direction: column; min-width: 8.5em; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.hero-facts a:hover { border-color: var(--accent-line); }
.hero-facts .k { font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--muted); line-height: 1.5; }
.hero-facts .v { font-size: 1.1875rem; font-weight: 700; line-height: 1.5; font-feature-settings: "tnum"; }
.hero-facts-note { font-size: 0.875rem; color: var(--muted); margin: 0 0 24px; }
/* ボタン直下の安心の札 */
.reassure { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reassure li + li { margin-top: 0; }
.reassure li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 14px 3px 12px; background: var(--surface); }
.reassure li::before, .compare td:first-child::before { content: ""; flex: none; width: 0.6em; height: 0.32em; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) translateY(-0.12em); }
/* 想定の表の左の列にチェックの印 */
.compare td:first-child { position: relative; padding-left: 1.9em; }
.compare td:first-child::before { position: absolute; left: 0.25em; top: 1.45em; }
.compare thead th:first-child { padding-left: 1.9em; }
@media (max-width: 560px) {
  .compare td:first-child { padding-left: 1.9em; }
  .compare td:first-child::before { top: 1.6em; }
}
@media (max-width: 480px) {
  .hero-facts a { min-width: 0; flex: 1 1 calc(50% - 5px); padding: 8px 12px; }
  .hero-facts li { flex: 1 1 calc(50% - 5px); display: flex; }
  .hero-facts .v { font-size: 1.0625rem; }
}
