/* 使い方ガイド（/guide/）
   色・書体はサイト共通のトークン（site.css の :root）に乗せる。
   ここで持つのは、案内書としての組み——目次の柱、機能の札、短冊の見本だけ。 */

.guide-page { max-width: none; }
.guide-page .crumb { margin-bottom: 1.2rem; }

/* ── 扉 ────────────────────────────────────────── */
.guide-hero {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.4rem;
}
.guide-eyebrow {
  margin: 0 0 .8rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent-soft);
}
.guide-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 1rem;
}
.guide-lead {
  margin: 0;
  max-width: var(--reading);
  color: var(--ink-soft);
  line-height: 1.9;
}
.guide-hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* ── 目次の柱 ＋ 本文 ──────────────────────────── */
.guide-layout {
  display: grid;
  grid-template-columns: 13rem minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
.guide-toc { position: sticky; top: 1.5rem; font-size: .85rem; }
.guide-toc__title {
  margin: 0 0 .8rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--ink-soft);
}
.guide-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.guide-toc a {
  display: block;
  padding: .1rem 0 .1rem .7rem;
  border-left: 2px solid var(--line);
  color: var(--ink-soft);
}
.guide-toc a:hover { color: var(--accent); border-left-color: var(--accent); text-decoration: none; }

.guide-main { display: flex; flex-direction: column; gap: 3rem; min-width: 0; }

/* ── 節 ────────────────────────────────────────── */
.guide-section { scroll-margin-top: 1.2rem; }
.guide-page .guide-section > h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.5;
  margin: 0 0 .6rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--line);
}
.guide-section__lead { max-width: var(--reading); color: var(--ink-soft); }
.guide-page .guide-section p { max-width: var(--reading); }
.guide-page .guide-section > ul,
.guide-page .guide-section > ol { max-width: var(--reading); }
.guide-page .guide-subhead {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 2.2rem 0 .8rem;
}
.guide-fineprint { font-size: .85rem; color: var(--ink-soft); }

/* ── 三歩の手順（順番そのものが案内なので番号を振る）──── */
.guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
  max-width: var(--reading);
}
.guide-steps > li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; }
.guide-steps__n {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--accent);
  border-top: 2px solid var(--accent);
  padding-top: .3rem;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.guide-page .guide-steps h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.guide-page .guide-steps p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* ── 機能の札（何を・どこで）───────────────────── */
.guide-cards { display: grid; gap: 1rem; margin: 1.4rem 0; }
.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.3rem 1.4rem;
}
.guide-page .guide-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .8rem;
  font-family: var(--serif);
  font-size: 1.08rem;
  margin: 0 0 .5rem;
}
.guide-where {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .72rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.guide-where a { color: var(--ink-soft); }
.guide-page .guide-card p { margin: 0 0 .6rem; font-size: .95rem; }
.guide-page .guide-card p:last-child { margin-bottom: 0; }

.guide-dl {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: .4rem 1rem;
  margin: .9rem 0 0;
  font-size: .9rem;
  max-width: var(--reading);
}
.guide-dl dt { color: var(--ink-soft); font-size: .8rem; padding-top: .25em; }
.guide-dl dd { margin: 0; color: var(--ink-soft); }

/* ── 図 ────────────────────────────────────────
   外部の画像は CSP（script-src 'self' / 外部配信元なし）で足を止められるうえ、
   写真は明暗どちらのテーマでも同じようには効かない。図はインラインSVGで描き、
   色をサイトのトークンから取って、ライトとダークの両方で読めるようにする。 */
.guide-figure { margin: 1.6rem 0; max-width: var(--reading); }
.guide-figure--wide { max-width: 44rem; }
.guide-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.guide-page .guide-figure figcaption {
  margin-top: .7rem;
  font-size: .84rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.gf-box { fill: var(--bg-card); stroke: var(--line); stroke-width: 1.2; }
.gf-box--accent {
  fill: color-mix(in srgb, var(--accent) 8%, var(--bg-card));
  stroke: color-mix(in srgb, var(--accent) 55%, var(--line));
}
.gf-line { stroke: var(--accent-soft); stroke-width: 1.4; fill: none; }
.gf-line--thin { stroke-width: 1.1; }
.gf-line--dash { stroke-dasharray: 6 4; }
.gf-line--muted { stroke: var(--line); stroke-dasharray: 6 4; }
.gf-axis { stroke: var(--line); stroke-width: 1.4; fill: none; }
.gf-arrow { fill: var(--accent-soft); }
.gf-arrow--soft { fill: var(--line); }
.gf-x { stroke: var(--ink-soft); stroke-width: 1.6; stroke-linecap: round; }

.gf-t { fill: var(--ink); font-family: var(--serif); font-size: 21px; }
.gf-t--md { fill: var(--ink); font-family: var(--serif); font-size: 16px; }
.gf-t--sm { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.gf-t--label { fill: var(--accent); font-family: var(--sans); font-size: 12.5px; }
.gf-t--axis { fill: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.gf-t--note { fill: var(--ink-soft); font-family: var(--sans); font-size: 11.5px; }
.gf-t--chip { fill: var(--ink); font-family: var(--sans); font-size: 13px; }
.gf-t--off { fill: var(--ink-soft); }

.gf-chip { fill: var(--bg-card); stroke: var(--line); stroke-width: 1.2; }
.gf-chip--accent {
  fill: color-mix(in srgb, var(--accent) 10%, var(--bg-card));
  stroke: color-mix(in srgb, var(--accent) 55%, var(--line));
}
.gf-chip--private { fill: var(--bg-muted); stroke: var(--ink-soft); stroke-dasharray: 5 4; }
.gf-chip--off { fill: var(--bg-muted); stroke: var(--line); stroke-dasharray: 5 4; }

/* 短冊の模式図。札の中の列は、本文の行を表す目印。 */
.gf-card-edge { stroke: var(--accent-soft); stroke-width: 2.4; stroke-linecap: round; }
.gf-col { stroke: var(--ink-soft); stroke-width: 3; stroke-linecap: round; opacity: .35; }
.gf-card--fade { opacity: .4; }

/* ── 年×月の格子（月詩の連なりの見本）───────────── */
.guide-year-grid { display: grid; gap: .4rem; }
.guide-year-row {
  display: grid;
  grid-template-columns: 2.8rem repeat(12, minmax(0, 1fr));
  gap: .3rem;
  align-items: center;
}
.guide-year-label { font-size: .78rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.guide-cell {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 4px;
  border: 1px solid var(--line);
  font-size: .66rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.guide-cell.is-kept {
  background: color-mix(in srgb, var(--accent) 22%, var(--bg-card));
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  color: var(--ink);
}
.guide-cell.is-draft { border-style: dashed; border-color: var(--accent-soft); background: var(--bg-muted); }
.guide-cell.is-empty { background: var(--bg-card); }
.guide-cell.is-future { background: var(--bg-muted); border-style: dotted; opacity: .55; }
.guide-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  list-style: none;
  margin: .9rem 0 0;
  padding: 0;
  font-size: .82rem;
  color: var(--ink-soft);
}
.guide-legend li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.guide-legend .guide-cell { width: 1rem; }

/* ── 一覧表 ────────────────────────────────────── */
.guide-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-card);
  margin: 1.4rem 0;
}
.guide-table { border-collapse: collapse; width: 100%; min-width: 30rem; font-size: .9rem; }
.guide-table th,
.guide-table td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--line); }
.guide-table thead th {
  background: var(--bg-muted);
  font-size: .8rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.guide-table tbody th { font-weight: 400; }
.guide-table tbody tr:last-child th,
.guide-table tbody tr:last-child td { border-bottom: 0; }
.guide-table td { text-align: center; width: 6.5rem; }
.guide-table td.yes { color: var(--accent); }
.guide-table td.no { color: var(--ink-soft); }

/* ── 注記 ──────────────────────────────────────── */
.guide-note {
  background: var(--bg-muted);
  border-left: 3px solid var(--accent-soft);
  border-radius: 0 6px 6px 0;
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0 0;
  max-width: var(--reading);
  font-size: .93rem;
}
.guide-page .guide-note h3 { font-family: var(--serif); font-size: 1.02rem; margin: 0 0 .4rem; }
.guide-page .guide-note p { margin: 0 0 .6rem; }
.guide-page .guide-note p:last-child { margin-bottom: 0; }
.guide-page .guide-note ul { margin: 0; padding-left: 1.2rem; }

/* ── 月詩の短冊の見本 ──────────────────────────
   一覧と同じ縦組み。読み方の説明より先に、形そのものを見せる。 */
.guide-tanzaku-demo { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: flex-start; }
.guide-tanzaku {
  /* 寸法・組みは monthly.css の札に合わせる（見本が実物と違うと案内にならない）。
     トランプの比 63.5×88.9mm＝0.714、幅13.5rem。読み始めの右端に印を置く。 */
  --guide-tanzaku-w: 13.5rem;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: none;
  width: var(--guide-tanzaku-w);
  height: calc(var(--guide-tanzaku-w) / .714);
  padding: 1rem .65rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-right: 2px solid var(--accent-soft);
  border-radius: 8px;
  font-family: var(--serif);
  overflow: hidden;
}
.guide-tanzaku > * { flex: none; align-self: flex-start; }
.guide-tanzaku__mark { font-size: .72rem; letter-spacing: .08em; color: var(--ink-soft); }
.guide-tanzaku__title { font-size: 1.12rem; font-weight: 700; line-height: 1.55; }
.guide-tanzaku__body {
  white-space: pre-wrap;
  font-size: .95rem;
  line-height: 1.9;
  letter-spacing: .02em;
}
.guide-tanzaku__sign { font-size: .78rem; color: var(--ink-soft); }
.guide-tanzaku-read { flex: 1 1 18rem; }
.guide-page .guide-tanzaku-read p,
.guide-page .guide-tanzaku-read ul { font-size: .93rem; }

/* ── よくある質問 ──────────────────────────────── */
.guide-qa { display: grid; gap: .6rem; max-width: var(--reading); }
.guide-qa details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .8rem 1.1rem;
}
.guide-qa summary { cursor: pointer; font-weight: 700; font-size: .95rem; }
.guide-qa summary::marker { color: var(--accent-soft); }
.guide-page .guide-qa details p {
  margin: .7rem 0 0;
  font-size: .92rem;
  color: var(--ink-soft);
}

/* ── 奥付 ──────────────────────────────────────── */
.guide-foot {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.guide-page .guide-foot p {
  margin: 0;
  max-width: var(--reading);
  font-size: .85rem;
  color: var(--ink-soft);
}

/* 表紙は紙とPDFのときだけ組む（画面では扉がそのまま表紙のかわり）。 */
.guide-print-cover { display: none; }

/* ── 狭い画面 ──────────────────────────────────── */
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 2rem; }
  .guide-toc {
    position: static;
    padding: 1rem 1.2rem;
    background: var(--bg-muted);
    border: 1px solid var(--line);
    border-radius: 6px;
  }
  .guide-toc ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
}
@media (max-width: 560px) {
  .guide-dl { grid-template-columns: 1fr; gap: .1rem; }
  .guide-dl dd { margin-bottom: .6rem; }
  .guide-tanzaku { --guide-tanzaku-w: 11.5rem; }
}

/* ── 印刷・PDF（配る冊子として組み直す）─────────────
   紙は手に取るものなので、画面の写しではなく一冊の体裁にする。表紙を立て、
   節に番号を振り、藍（本文の色）と朱（印の色）の二色で刷る。和書の装いから
   借りた組み合わせで、白黒のコピーに落ちても濃淡として読める。
   画面の道具（ヘッダ・ナビ・登録ボタン・パンくず）は紙では押せないので落とす。
   表示テーマがダークでも、紙は紙の色で刷る。
   このファイルは /guide/ でしか読み込まないので、他のページの印刷には触れない。
   ※ この節はレスポンシブの後に置く——印刷時の紙幅（A4≒794px）は
   　 max-width: 900px の指定にも当たるため、後から上書きできる位置に要る。 */
@media print {
  :root {
    color-scheme: light;
    --ink: #1b1a18;
    --ink-soft: #55514a;
    --accent: #24427a;          /* 藍 */
    --accent-soft: #7d93bf;
    --bg: #ffffff;
    --bg-card: #ffffff;
    --bg-muted: #f2f1ea;
    --bg-tag: #ece7db;
    --line: #d5d0c4;
    --seal: #c2452f;            /* 朱（印の色）*/
    --wash: #eef1f8;            /* 藍の淡い地 */
    --wash-warm: #fdf7ea;       /* 生成りの地 */
  }
  @page { size: A4; margin: 15mm 14mm; }

  body { background: #fff; font-size: 10.5pt; line-height: 1.75; }
  .site-header,
  .site-nav,
  .site-footer,
  .site-beta-callout,
  .guide-page .crumb,
  .guide-hero,
  .guide-hero-actions { display: none !important; }
  .site-main { padding: 0; }
  .wrap { width: 100%; max-width: none; }

  /* ── 表紙 ───────────────────────────────── */
  .guide-print-cover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 252mm;
    padding: 0 6mm;
    break-after: page;
    border-top: 3mm solid var(--accent);
    border-bottom: 1pt solid var(--line);
    text-align: left;
  }
  .guide-print-eyebrow {
    margin: 8mm 0 6mm;
    color: var(--seal);
    font-size: 9pt;
    font-weight: 700;
    letter-spacing: .3em;
  }
  .guide-print-title {
    margin: 0 0 8mm;
    font-family: var(--serif);
    font-size: 30pt;
    font-weight: 600;
    line-height: 1.5;
    color: var(--accent);
  }
  .guide-page .guide-print-lead {
    margin: 0 0 12mm;
    max-width: 120mm;
    padding-left: 4mm;
    border-left: 2pt solid var(--seal);
    color: var(--ink-soft);
    font-size: 11pt;
    line-height: 1.9;
  }
  .guide-print-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4mm;
    margin: 0 0 14mm;
    padding: 0;
    list-style: none;
    max-width: 140mm;
  }
  .guide-print-stats li {
    margin: 0;
    padding: 5mm 4mm;
    background: var(--wash);
    border-radius: 2mm;
    text-align: center;
  }
  .guide-print-stats b {
    display: block;
    font-family: var(--serif);
    font-size: 20pt;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
  }
  .guide-print-stats span { font-size: 9pt; color: var(--ink-soft); letter-spacing: .1em; }
  .guide-print-foot {
    display: flex;
    align-items: center;
    gap: 4mm;
    margin: 0;
    font-size: 9pt;
    color: var(--ink-soft);
  }
  /* 落款のかわりの朱印。表紙に一点だけ、濃い色を押す。 */
  .guide-print-seal {
    display: grid;
    place-items: center;
    width: 13mm;
    height: 13mm;
    border-radius: 1.5mm;
    background: var(--seal);
    color: #fff;
    font-family: var(--serif);
    font-size: 15pt;
    line-height: 1;
  }

  /* 短冊を少しずつ倒して並べた飾り。中の細い線は、縦に組んだ詩の列。 */
  .guide-print-strip {
    display: flex;
    align-items: flex-end;
    gap: 3mm;
    margin: 0 0 14mm;
    padding-left: 2mm;
  }
  .guide-print-strip i {
    display: block;
    width: 15mm;
    height: 21mm;
    border: .3mm solid var(--line);
    border-right: 1mm solid var(--accent);
    border-radius: 1.5mm;
    background:
      repeating-linear-gradient(
        to left,
        transparent 0 2.2mm,
        var(--accent-soft) 2.2mm 2.5mm
      ) no-repeat 0 3mm / 100% 12mm,
      var(--wash-warm);
    transform-origin: bottom center;
  }
  .guide-print-strip i:nth-child(1) { transform: rotate(-7deg); }
  .guide-print-strip i:nth-child(2) { transform: rotate(-3.5deg); }
  .guide-print-strip i:nth-child(4) { transform: rotate(3.5deg); }
  .guide-print-strip i:nth-child(5) { transform: rotate(7deg); }
  /* 一枚だけ朱の縁にして、並びに視線の起点をつくる。 */
  .guide-print-strip i:nth-child(3) {
    height: 24mm;
    border-right-color: var(--seal);
    background:
      repeating-linear-gradient(
        to left,
        transparent 0 2.2mm,
        var(--accent-soft) 2.2mm 2.5mm
      ) no-repeat 0 3mm / 100% 15mm,
      var(--wash);
  }

  /* ── 目次 ───────────────────────────────── */
  .guide-layout { display: block; }
  .guide-main { display: block; counter-reset: gsec gfig; }
  .guide-toc {
    position: static;
    margin: 0 0 10mm;
    padding: 6mm 7mm;
    background: var(--wash-warm);
    border: 0;
    border-left: 2mm solid var(--seal);
    border-radius: 0 2mm 2mm 0;
    break-inside: avoid;
  }
  .guide-toc__title { color: var(--seal); font-size: 9pt; letter-spacing: .24em; }
  .guide-toc ol { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5mm 8mm; counter-reset: gtoc; }
  .guide-toc a {
    border-left: 0;
    padding-left: 0;
    color: var(--ink);
    font-size: 10pt;
  }
  .guide-toc a::before {
    counter-increment: gtoc;
    content: counter(gtoc, decimal-leading-zero) "　";
    color: var(--seal);
    font-family: var(--sans);
    font-size: 8.5pt;
    font-weight: 700;
  }

  /* ── 節（番号を振って一冊の順序にする）──────────── */
  .guide-section { margin: 0 0 10mm; counter-increment: gsec; }
  .guide-page .guide-section > h2 {
    break-after: avoid;
    margin-bottom: 3mm;
    padding-bottom: 2mm;
    border-bottom: 1.5pt solid var(--accent);
    color: var(--accent);
    font-size: 16pt;
  }
  .guide-page .guide-section > h2::before {
    display: block;
    content: counter(gsec, decimal-leading-zero);
    margin-bottom: 1mm;
    color: var(--seal);
    font-family: var(--sans);
    font-size: 8.5pt;
    font-weight: 700;
    letter-spacing: .2em;
  }
  .guide-page .guide-subhead { break-after: avoid; color: var(--accent); }
  .guide-section__lead { font-size: 10.5pt; }

  /* ── 札・注記・手順 ──────────────────────────── */
  .guide-card,
  .guide-figure,
  .guide-note,
  .guide-table-wrap,
  .guide-steps > li,
  .guide-tanzaku-demo,
  .guide-qa details { break-inside: avoid; }
  .guide-cards { gap: 3.5mm; }
  .guide-card {
    padding: 4mm 5mm;
    border: 1pt solid var(--line);
    border-left: 1.6mm solid var(--accent);
    border-radius: 0 2mm 2mm 0;
  }
  .guide-page .guide-card h3 { color: var(--accent); }
  .guide-page .guide-card h3 .guide-where { color: var(--seal); }
  .guide-dl dt { color: var(--seal); font-weight: 700; }

  .guide-note {
    background: var(--wash-warm);
    border-left: 1.6mm solid var(--seal);
    border-radius: 0 2mm 2mm 0;
  }
  .guide-page .guide-note h3 { color: var(--seal); }

  /* 手順の数字は、朱の丸で押した番号にする。 */
  .guide-steps > li { grid-template-columns: 8mm 1fr; }
  .guide-steps__n {
    display: grid;
    place-items: center;
    width: 7mm;
    height: 7mm;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--seal);
    color: #fff;
    font-family: var(--sans);
    font-size: 10pt;
    font-weight: 700;
    line-height: 1;
  }
  .guide-page .guide-steps h3 { color: var(--accent); }

  /* ── 表 ─────────────────────────────────── */
  .guide-table thead th { background: var(--wash); color: var(--accent); }
  .guide-table td.yes { color: var(--seal); font-weight: 700; }

  /* ── 図（番号を振って本文から呼べるようにする）──── */
  .guide-figure { max-width: 150mm; margin: 5mm 0; counter-increment: gfig; }
  .guide-page .guide-figure figcaption { color: var(--ink-soft); }
  .guide-page .guide-figure figcaption::before {
    content: "図" counter(gfig) "　";
    color: var(--seal);
    font-weight: 700;
  }
  /* 紙では淡い地が飛びやすいので、残した月は画面より濃く、下書きは朱の点線にする。 */
  .guide-cell.is-kept {
    background: color-mix(in srgb, var(--accent) 20%, #fff);
    border-color: var(--accent-soft);
    color: var(--ink);
  }
  .guide-cell.is-draft { background: #fff; border-color: var(--seal); }
  .guide-cell.is-future { background: var(--bg-muted); opacity: .5; }

  /* ── よくある質問 ─────────────────────────── */
  .guide-qa { gap: 3mm; }
  .guide-qa details {
    padding: 4mm 5mm;
    border: 1pt solid var(--line);
    border-radius: 2mm;
  }
  .guide-qa summary { list-style: none; color: var(--accent); font-size: 11pt; }
  .guide-qa summary::marker,
  .guide-qa summary::-webkit-details-marker { display: none; content: ""; }
  .guide-qa summary::before {
    content: "Q　";
    color: var(--seal);
    font-family: var(--sans);
    font-weight: 700;
  }
  .guide-page .guide-qa details p::before {
    content: "A　";
    color: var(--seal);
    font-family: var(--sans);
    font-weight: 700;
  }

  /* ── 奥付 ───────────────────────────────── */
  .guide-foot { margin-top: 8mm; padding-top: 4mm; border-top: 1.5pt solid var(--accent); }

  /* 紙ではリンクの色に意味がない。URLは本文に書いてあるので下線も引かない。 */
  .guide-page a { color: var(--ink); text-decoration: none; }
  .guide-where a { color: inherit; }
}
