/* ============================================================
   安全ヨシ — 公式サイト
   方針：外部フォント・外部スクリプト・広告タグを読み込まない。
   色はアプリと同じ（lib/theme/app_theme.dart）。
   オレンジ #ff6a13 は面にだけ使い、上に載せる文字は黒（6.9:1）。
   白地の文字にオレンジを使うときは --orange-text（#b84400、白地 5.4:1）。
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  color-scheme: light dark;

  --paper:   #ffffff;
  --paper-2: #f3f3f1;
  --ink:     #0a0a0a;   /* アプリの AppColors.ink */
  --ink-2:   #3d3d3d;
  --muted:   #5f5f5f;   /* 白 6.4:1／paper-2 5.8:1 */
  --line:    rgb(10 10 10 / .12);
  --line-2:  rgb(10 10 10 / .28);

  --orange:      #ff6a13;  /* アプリの AppColors.accent。面だけに使う */
  --orange-ink:  #0a0a0a;  /* オレンジの上の文字 */
  --orange-text: #b84400;  /* 白地の文字用 */

  /* リスクレベル（アプリと同じ色。Ⅲ は白文字だと 4.0:1 なので黒文字） */
  --lv1: #237f52; --lv1-ink: #ffffff;
  --lv2: #f9a900; --lv2-ink: #111827;
  --lv3: #d05d29; --lv3-ink: #0a0a0a;
  --lv4: #9b2423; --lv4-ink: #ffffff;

  --plate:    #0a0a0a;   /* アイコンと同じ「黒い板に白い縁」 */
  --plate-fg: #ffffff;
  --plate-2:  #b8b8b4;   /* 板の上の補足（9.9:1） */

  --btn-bg: #0a0a0a; --btn-fg: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
          "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;

  --fs--1: .9375rem;   /* 15px 補足 */
  --fs-0:  1.0625rem;  /* 17px 本文 */
  --fs-1:  1.25rem;
  --fs-2:  1.5rem;
  --fs-3:  clamp(1.625rem, 1.2rem + 1.7vw, 2.25rem);
  --fs-4:  clamp(2rem, 1.1rem + 4vw, 3.75rem);

  --s-1: .5rem; --s0: 1rem; --s1: 1.5rem; --s2: 2rem; --s3: 3rem; --s4: 4rem;
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --gutter:  clamp(1rem, 4vw, 2.5rem);
  --max:     70rem;
  --prose:   42rem;
  --ease:    cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper:   #121212;
    --paper-2: #1c1c1c;
    --ink:     #f2f2f0;
    --ink-2:   #cfcfcb;
    --muted:   #a0a09a;
    --line:    rgb(242 242 240 / .14);
    --line-2:  rgb(242 242 240 / .3);
    --orange-text: #ff8a4c;  /* #121212 上で 8.0:1 */
    --plate:    #000000;
    --btn-bg: #f2f2f0; --btn-fg: #0a0a0a;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-0);
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
  font-feature-settings: "palt" 1;
  text-wrap: balance;
}
h1 { font-weight: 900; }
h2 { font-size: var(--fs-3); }
h3 { font-size: var(--fs-1); }
/* 見出しは句の途中で折らない：.nw で区切った句の間だけで改行する */
.nw { display: inline-block; white-space: nowrap; }
p  { margin: 0; text-wrap: pretty; overflow-wrap: anywhere; }
p + p { margin-top: 1em; }
a  { color: var(--orange-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--orange-ink); }
svg { display: block; }
strong, b { font-weight: 700; }
ul, ol { margin: 0; padding: 0; }

.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.skip {
  position: absolute; left: var(--gutter); top: -3rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .5rem .9rem; border-radius: .5rem;
  text-decoration: none; transition: top .2s;
}
.skip:focus { top: .75rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--s1); min-height: 3.75rem; }
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.125rem; letter-spacing: .02em;
}
.brand .mark { width: 2rem; height: 2rem; border-radius: 22.5%; }
.site-nav { margin-left: auto; display: flex; gap: clamp(.9rem, 3vw, 1.75rem); }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-size: var(--fs--1); font-weight: 600;
  padding: .5rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
@media (max-width: 26em) { .site-nav .opt { display: none; } }

/* ---------- buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: var(--s2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.5rem; padding: .75rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: var(--fs-0); text-decoration: none; line-height: 1.4;
  border: 2px solid transparent;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { opacity: .88; }
.btn-ghost { color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
/* 公開前：押せないことが見て分かる表示（リンクにしない） */
.btn-soon { background: var(--paper-2); color: var(--ink); border: 2px dashed var(--line-2); cursor: default; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
@media (max-width: 30em) { .cta-row .btn { flex: 1 1 100%; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.hero .wrap { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 62em) { .hero .wrap { grid-template-columns: 1fr 29rem; } .hero .wrap > div:first-child { padding-top: var(--s2); } }
.hero .app-icon { width: 4.5rem; height: 4.5rem; border-radius: 22.5%; }
.hero h1 { font-size: var(--fs-4); line-height: 1.22; margin-top: var(--s1); }
.hero .lead { font-size: 1.125rem; color: var(--ink-2); max-width: 34em; margin-top: var(--s1); line-height: 1.9; }
.hero-note { margin-top: var(--s0); font-size: var(--fs--1); color: var(--muted); }

/* ---------- plate（アイコンと同じ札。見積もりの実演） ---------- */
.plate {
  background: var(--plate); color: var(--plate-fg);
  border-radius: 2rem; padding: .55rem;
  box-shadow: 0 0 0 1px var(--line);
}
.plate-inner {
  border: 3px solid var(--plate-fg); border-radius: 1.55rem;
  padding: clamp(1.1rem, 4vw, 1.6rem);
}
.plate h2 { font-size: var(--fs-1); font-weight: 800; }
.plate .plate-note { margin-top: .35rem; font-size: var(--fs--1); color: var(--plate-2); line-height: 1.7; }
.plate fieldset { border: 0; margin: var(--s1) 0 0; padding: 0; min-width: 0; }
.plate legend { padding: 0; font-weight: 700; font-size: var(--fs-0); }
.plate legend small { font-weight: 400; font-size: var(--fs--1); color: var(--plate-2); margin-left: .5em; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-top: .5rem; }
@media (max-width: 22em) { .seg { grid-template-columns: 1fr; } }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  display: flex; align-items: baseline; justify-content: space-between; gap: .4rem;
  min-height: 2.75rem; padding: .55rem .75rem; border-radius: .75rem;
  border: 1px solid rgb(255 255 255 / .38); color: var(--plate-fg);
  font-size: var(--fs--1); font-weight: 600; line-height: 1.35; cursor: pointer;
  font-feature-settings: "palt" 1; white-space: nowrap;
}
.seg label .pt { font-weight: 800; font-variant-numeric: tabular-nums; }
.seg label:hover { border-color: var(--plate-fg); }
.seg input:checked + label { background: var(--plate-fg); color: #0a0a0a; border-color: var(--plate-fg); }
.seg input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }

.result {
  display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: center;
  margin-top: var(--s1); padding-top: var(--s1); border-top: 1px solid rgb(255 255 255 / .28);
}
.result .lv {
  width: 4.25rem; height: 4.25rem; border-radius: 1rem;
  display: grid; place-items: center; font-size: 2.25rem; font-weight: 900; line-height: 1;
  background: var(--lv-bg, var(--lv4)); color: var(--lv-fg, var(--lv4-ink));
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.result .sum { font-size: var(--fs--1); color: var(--plate-2); font-variant-numeric: tabular-nums; line-height: 1.5; }
.result .sum b { color: var(--plate-fg); font-size: 1.375rem; font-weight: 900; }
.result .title { font-weight: 800; line-height: 1.45; margin-top: .15rem; font-feature-settings: "palt" 1; }
.result .sub { font-size: var(--fs--1); color: var(--plate-2); line-height: 1.5; }
.result[data-lv="1"] { --lv-bg: var(--lv1); --lv-fg: var(--lv1-ink); }
.result[data-lv="2"] { --lv-bg: var(--lv2); --lv-fg: var(--lv2-ink); }
.result[data-lv="3"] { --lv-bg: var(--lv3); --lv-fg: var(--lv3-ink); }
.result[data-lv="4"] { --lv-bg: var(--lv4); --lv-fg: var(--lv4-ink); }
.plate-foot { margin-top: var(--s0); font-size: .8125rem; color: var(--plate-2); line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .result .lv { transition: none; } }

/* ---------- sections ---------- */
section { padding-block: var(--section); }
.section-head { max-width: var(--prose); margin-bottom: var(--s3); }
.section-head p { margin-top: var(--s0); color: var(--ink-2); }
.alt { background: var(--paper-2); }

/* 流れ（順番があるので番号を使う） */
.flow { list-style: none; display: grid; counter-reset: step; border-top: 1px solid var(--line-2); }
.flow li {
  counter-increment: step; display: grid; gap: .6rem var(--s1); align-items: start;
  padding-block: var(--s1); border-bottom: 1px solid var(--line-2);
}
@media (min-width: 48em) {
  .flow li { grid-template-columns: 2.75rem 15rem minmax(0, 1fr); padding-block: var(--s2); }
  .flow h3 { padding-top: .3rem; }
}
.flow li::before {
  content: counter(step);
  width: 2.75rem; height: 2.75rem; border-radius: .7rem;
  display: grid; place-items: center;
  background: var(--orange); color: var(--orange-ink);
  font-size: 1.25rem; font-weight: 900; font-variant-numeric: tabular-nums;
}
.flow h3 { font-size: var(--fs-1); }
.flow p { color: var(--ink-2); font-size: var(--fs-0); line-height: 1.8; max-width: 38em; }
@media (min-width: 48em) { .flow p { padding-top: .2rem; } }

/* 端末の中だけ（黒い帯） */
.band { background: var(--plate); color: var(--plate-fg); }
.band .wrap { display: grid; gap: var(--s3); }
@media (min-width: 62em) { .band .wrap { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.band h2 { font-size: var(--fs-3); }
.band .section-head p { color: var(--plate-2); }
.band a { color: var(--plate-fg); }
.facts { list-style: none; display: grid; }
.facts li { padding: var(--s1) 0; border-top: 1px solid rgb(255 255 255 / .22); }
.facts li:last-child { border-bottom: 1px solid rgb(255 255 255 / .22); }
.facts b { display: block; font-size: var(--fs-1); font-weight: 800; }
.facts span { display: block; margin-top: .35rem; color: var(--plate-2); line-height: 1.8; }

/* 料金 */
.plans { display: grid; gap: var(--s1); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.plan { padding: clamp(1.4rem, 3vw, 2rem); border-radius: 1.25rem; border: 1px solid var(--line-2); background: var(--paper); }
.plan.pro { border: 3px solid var(--ink); }
.plan h3 { font-size: var(--fs-1); }
.plan .price { font-size: var(--fs-3); font-weight: 900; margin-top: .25rem; line-height: 1.3; font-feature-settings: "palt" 1; }
.plan .price.tbd { font-size: var(--fs-1); }
.plan ul { list-style: none; margin-top: var(--s1); display: grid; gap: .55rem; }
.plan li { display: grid; grid-template-columns: 1.15rem 1fr; gap: .6rem; color: var(--ink-2); line-height: 1.7; }
.plan li svg { width: 1.15rem; height: 1.15rem; margin-top: .38rem; color: var(--ink); }
.plans-foot { margin-top: var(--s1); font-size: var(--fs--1); color: var(--muted); }

.closing p { color: var(--ink-2); max-width: var(--prose); margin-top: var(--s0); }

/* ---------- doc pages ---------- */
.doc-head { padding-block: clamp(2.25rem, 6vw, 4.5rem) var(--s2); border-bottom: 1px solid var(--line); }
.doc-head h1 { font-size: var(--fs-3); }
.doc-head .meta { margin-top: var(--s0); font-size: var(--fs--1); color: var(--muted); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); padding-block: var(--s3) var(--section); }
@media (min-width: 62em) { .doc { grid-template-columns: 14rem minmax(0, var(--prose)); gap: var(--s4); } }
.toc { position: sticky; top: 5rem; align-self: start; font-size: var(--fs--1); }
.toc .k { font-weight: 700; color: var(--muted); margin-bottom: .4rem; }
.toc ol { list-style: none; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .3rem 0 .3rem .9rem; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; margin-left: -1px; line-height: 1.6; }
.toc a:hover { color: var(--ink); border-left-color: var(--line-2); }
.toc a[aria-current="location"] { color: var(--ink); border-left-color: var(--orange); }
@media (max-width: 61.99em) {
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: .2rem 1rem; border: 0; }
  .toc a { padding: .25rem 0; border: 0; margin: 0; }
}
.doc article h2 { font-size: var(--fs-2); margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.doc article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc article h3 { font-size: var(--fs-0); margin-top: var(--s1); }
.doc article h2 + *, .doc article h3 + * { margin-top: var(--s0); }
.doc article p + ul, .doc article p + ol, .doc article p + dl, .doc article p + .note,
.doc article ul + p, .doc article ol + p, .doc article dl + p, .doc article .note + p { margin-top: var(--s0); }
.doc article ul, .doc article ol { padding-left: 1.4em; }
.doc article li + li { margin-top: .35rem; }
.doc article ol.articles { padding-left: 1.8em; }
.summary { padding: clamp(1.2rem, 3vw, 1.75rem); border-radius: 1.25rem; background: var(--paper-2); }
.summary ul { padding-left: 1.2em; }
.spec { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0 var(--s2); border-top: 1px solid var(--line); }
.spec dt, .spec dd { margin: 0; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--muted); font-size: var(--fs--1); font-weight: 600; }
.spec dd { color: var(--ink-2); }
@media (max-width: 34em) { .spec { grid-template-columns: 1fr; } .spec dt { padding-bottom: 0; border: 0; } }
.note {
  padding: 1rem 1.15rem; border-radius: .75rem; border-left: 4px solid var(--orange);
  background: var(--paper-2); font-size: var(--fs--1); line-height: 1.8; color: var(--ink-2);
}
.note b { color: var(--ink); }

/* お問い合わせ */
.contact { padding: clamp(1.4rem, 3vw, 2rem); border-radius: 1.25rem; border: 1px solid var(--line-2); }
.contact .label { font-weight: 700; color: var(--muted); font-size: var(--fs--1); }
.contact .addr { font-size: clamp(1.1rem, .9rem + 1.2vw, 1.5rem); font-weight: 800; margin-top: .25rem; word-break: break-all; }
.contact .addr a { color: var(--ink); text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.contact .small { margin-top: var(--s0); font-size: var(--fs--1); color: var(--muted); }

/* よくある質問 */
.faq { display: grid; gap: .5rem; }
details { border: 1px solid var(--line-2); border-radius: .9rem; background: var(--paper); }
details { interpolate-size: allow-keywords; }
details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { details::details-content { transition: none; } }
summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 1.6rem; gap: var(--s0); align-items: center;
  padding: 1rem 1.15rem; font-weight: 700; line-height: 1.6; min-height: 3.5rem;
}
summary::-webkit-details-marker { display: none; }
summary .plus { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s var(--ease); }
summary .plus svg { width: .8rem; height: .8rem; }
details[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
details .body { padding: 0 1.15rem 1.15rem; color: var(--ink-2); }
details .body p + p { margin-top: .6em; }
@media (prefers-reduced-motion: reduce) { summary .plus { transition: none; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s3) var(--s4); font-size: var(--fs--1); color: var(--muted); }
.site-footer .wrap { display: grid; gap: var(--s1); }
@media (min-width: 48em) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer .brand { font-size: 1rem; }
.site-footer .brand .mark { width: 1.75rem; height: 1.75rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem var(--s1); }
.site-footer nav a { color: var(--ink-2); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .tag { margin-top: .5rem; }

/* ---------- 404 ---------- */
.lost { min-height: 65vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.lost .mark { width: 5.5rem; height: 5.5rem; margin-inline: auto; border-radius: 22.5%; }
.lost h1 { font-size: var(--fs-3); margin-top: var(--s1); }
.lost p { margin-top: var(--s0); color: var(--ink-2); }

/* ---------- print（規約・ポリシーを印刷する人向け。文字は真っ黒） ---------- */
@media print {
  :root { --paper: #fff; --paper-2: #fff; --ink: #000; --ink-2: #000; --muted: #000; --line: #999; --line-2: #999; }
  .site-header, .site-footer, .toc, .skip { display: none !important; }
  body { font-size: 10.5pt; line-height: 1.7; }
  .doc { display: block; padding: 0; }
  a { color: inherit; text-decoration: none; }
  .summary, .note { border: 1px solid #999; }
}

/* ============================================================
   解説ページ（/guide/）
   ============================================================ */
.crumbs { font-size: var(--fs--1); color: var(--muted); margin-bottom: var(--s0); }
.crumbs a { color: var(--ink-2); }
.doc-head .lead { margin-top: var(--s0); color: var(--ink-2); max-width: var(--prose); line-height: 1.9; }

/* 手順（順番があるので番号） */
.steps { list-style: none; padding: 0 !important; counter-reset: st; display: grid; gap: var(--s1); margin-top: var(--s1); }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; align-items: start; margin: 0 !important; }
.steps > li::before {
  content: counter(st); width: 2.25rem; height: 2.25rem; border-radius: .6rem;
  display: grid; place-items: center; background: var(--orange); color: var(--orange-ink);
  font-weight: 900; font-variant-numeric: tabular-nums;
}
.steps b { display: block; font-size: var(--fs-0); }
.steps span { display: block; color: var(--ink-2); margin-top: .15rem; }

/* 表 */
.table-wrap { overflow-x: auto; margin-top: var(--s1); -webkit-overflow-scrolling: touch; }
.doc article .table-wrap + p, .doc article p + .table-wrap { margin-top: var(--s1); }
table.t { width: 100%; border-collapse: collapse; font-size: var(--fs--1); line-height: 1.7; }
table.t caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: .5rem; font-size: var(--fs-0); }
table.t th, table.t td { text-align: left; vertical-align: top; padding: .65rem .75rem; border-bottom: 1px solid var(--line); }
table.t thead th { background: var(--paper-2); color: var(--ink); font-weight: 700; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
table.t td.n, table.t th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; color: var(--ink); }
table.t td.k { white-space: nowrap; font-weight: 700; color: var(--ink); }
.lv-chip { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; padding: 0 .4rem; border-radius: .5rem; font-weight: 900; }
.lv-chip.l1 { background: var(--lv1); color: var(--lv1-ink); }
.lv-chip.l2 { background: var(--lv2); color: var(--lv2-ink); }
.lv-chip.l3 { background: var(--lv3); color: var(--lv3-ink); }
.lv-chip.l4 { background: var(--lv4); color: var(--lv4-ink); }

/* 記入例 */
.example { margin-top: var(--s1); padding: clamp(1.1rem, 3vw, 1.5rem); border-radius: 1rem; border: 1px dashed var(--line-2); }
.example .label { font-weight: 700; color: var(--muted); font-size: var(--fs--1); }
.example p, .example ul, .example ol { margin-top: .5rem; }
.example .say { font-weight: 800; color: var(--ink); }
.example .bad { color: var(--muted); }

/* 安全ヨシでは（アイコンと同じ札） */
.app-box { margin-top: var(--s3); background: var(--plate); color: var(--plate-fg); border-radius: 1.6rem; padding: .5rem; box-shadow: 0 0 0 1px var(--line); }
.app-box-inner { border: 3px solid var(--plate-fg); border-radius: 1.2rem; padding: clamp(1.2rem, 4vw, 1.75rem); }
.doc article .app-box h2 { margin: 0; padding: 0; border: 0; color: var(--plate-fg); font-size: var(--fs-2); }
.app-box p, .app-box li { color: var(--plate-2); }
.app-box b, .app-box strong { color: var(--plate-fg); }
.app-box ul { margin-top: var(--s0); padding-left: 1.2em; }
.app-box li + li { margin-top: .45rem; }
.app-box .soon { display: inline-block; margin-top: var(--s1); padding: .55rem 1rem; border-radius: 999px; border: 2px dashed rgb(255 255 255 / .5); color: var(--plate-fg); font-weight: 700; }
.app-box a { color: var(--plate-fg); }

/* 出典 */
.sources { font-size: var(--fs--1); line-height: 1.75; overflow-wrap: anywhere; }
.doc article ol.sources { padding-left: 1.5em; }
.sources li + li { margin-top: .5rem; }
.disclaimer { margin-top: var(--s2); font-size: var(--fs--1); color: var(--muted); }

/* 解説の一覧 */
.guide-list { list-style: none; padding: 0 !important; display: grid; gap: var(--s0); margin-top: var(--s1); }
.guide-list li { margin: 0 !important; }
.guide-list a { display: block; padding: clamp(1.1rem, 3vw, 1.5rem); border: 1px solid var(--line-2); border-radius: 1.1rem; text-decoration: none; color: var(--ink); }
.guide-list a:hover { border-color: var(--ink); }
.guide-list b { display: block; font-size: var(--fs-1); font-weight: 800; }
.guide-list span { display: block; margin-top: .35rem; color: var(--ink-2); font-size: var(--fs-0); line-height: 1.8; }
.guide-list .later { padding: clamp(1.1rem, 3vw, 1.5rem); border: 1px dashed var(--line-2); border-radius: 1.1rem; color: var(--muted); }

table.t td.k .q { display: inline-block; margin-top: .2rem; font-weight: 400; color: var(--ink-2); white-space: normal; min-width: 7.5em; }
