/* HERVOX ─ 読みやすさ優先。スマホ主体の読者を想定 */

:root {
  /* ── HERVOX ブランドカラー（ブランドガイドライン準拠） ──
     配分の目安：ネイビー60% / オフホワイト25% / サーモンピンク10% / ライトピンク5% */
  --navy: #17243c;        /* Secondary：文字・見出し・重要情報 */
  --pink: #dfa79a;        /* Primary：面・図形・罫線・CTA */
  --pink-light: #f3d8d1;  /* Light：セクション背景・カード */
  --off-white: #faf7f4;   /* Base：ベース背景・余白 */

  --bg: var(--off-white);
  --surface: #ffffff;
  --text: var(--navy);
  --text-muted: #5b6478;
  --border: #e7ddd8;
  --accent: var(--pink);
  /* ブランドピンクは明るく、文字に使うとコントラスト1.94:1で読めない。
     文字・リンクには同色相を暗くした accent-ink を使う（4.84:1）。 */
  --accent-ink: #a2594a;
  --accent-soft: var(--pink-light);
  --pr-bg: var(--pink-light);
  --pr-border: var(--pink);
  --max: 42rem;
  --marker: #f3d8d1;
  --beige-deep: #d3c1b3;  /* 表のまとまりを囲む太線 */
  --beige-fill: #f1e9e2;  /* 表のまとまりの名前の列 */
  --gap-mark: #9aa1ad;    /* 対比図の差の点線（女性＝サーモン・男性＝ネイビーの棒のどちらとも混ざらないグレー・2026-10-21） */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121b2d;
    --surface: var(--navy);
    --text: var(--off-white);
    --text-muted: #a8b2c4;
    --border: #2c3a56;
    --accent: var(--pink);
    --accent-ink: #ebc0b5;
    --accent-soft: #24314c;
    --pr-bg: #1d2a44;
    --pr-border: #3b4a68;
    --marker: rgba(223, 167, 154, 0.38);
    --beige-deep: #56627c;
    --beige-fill: #1d2a44;
  }
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* ── ヘッダー（B-2・案D＝サーモンの帯・2026-09-24試し） ──
   サーモンの地にネイビーのワードマークとナビ（ネイビー×サーモン＝7.48:1）。
   灰色の文字（2.86:1）・文字用サーモン（2.49:1）は帯の上では読めないので使わない。
   ダークモードでも帯の色・ロゴ・文字色は変えない（ブランド色は環境で変わらない）。
   前の案C（明るい地＋上に細いサーモン線）は git の 0d89a2c に残してある。 */
.site-header {
  margin-bottom: 2rem;
  background: var(--pink);
}
.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.95rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: block; line-height: 0; }
.brand-logo { display: block; height: 20px; width: auto; }
.site-nav { display: flex; gap: 1.1rem; font-size: 0.85rem; line-height: 1.4; }
.site-nav a { color: var(--navy); text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* B-2の印：かぎかっこの形（「）。問いの前に置く。文字ではなく線で描く */
.hero h1::before,
.article-hero h1::before,
.sec-q > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 0.5em;
  height: 0.85em;
  border-left: 4px solid var(--accent);
  border-top: 4px solid var(--accent);
}

/* ── トップ ── */
.hero { position: relative; overflow: hidden; padding: 0.5rem 0 1.5rem; margin-bottom: 1.5rem; }
/* HERVOXのマーク（ライトピンク）を右上で断ち切り。横顔が見える位置 */
.hero-mark {
  position: absolute;
  right: -3.5rem;
  top: -1.25rem;
  width: 14rem;
  height: auto;
  pointer-events: none;
}
.hero > :not(.hero-mark) { position: relative; }
.hero-kicker { font-size: 0.85rem; font-weight: 700; color: var(--accent-ink); margin: 0 0 0.6rem; letter-spacing: 0.04em; }
.hero h1 { position: relative; font-size: 1.9rem; line-height: 1.45; margin: 0 0 0.9rem; padding-left: 0.9em; }
.hero p { color: var(--text-muted); margin: 0; font-size: 0.95rem; }

.list-title { font-size: 1.15rem; margin: 0 0 1rem; }
.list { display: grid; gap: 1.25rem; }
.card {
  display: block;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--accent); }
.card-thumb { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; }
.card-body { padding: 1rem 1.25rem 1.2rem; }
.card h2 { font-size: 1.12rem; line-height: 1.6; margin: 0.3rem 0 0.5rem; }
.card-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.card-title-img { margin: 0; line-height: 0; }
.card-body-slim { padding: 0.7rem 1.25rem 0.8rem; }

/* カテゴリ（画像と同じ：サーモンの点＋字間を広げた英字） */
.cat {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.cat::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--accent); flex: none; }
.badge {
  display: inline-block;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text); /* ダークモードでは背景がネイビー系になるため --navy 固定にしない */
  font-weight: 600;
}

/* ── 記事 ── */
.article > .cat { margin-bottom: 0.75rem; }
/* 記事の頭の見出し：アイキャッチ（シェア画像・一覧のサムネイル）と同じ要素を文字で置く。記事ページに画像は出さない。
   枠（カード）にはしない＝すぐ下の要点のカードと重ねない（2026-09-28 Mina）。トップの見出しと同じ置き方 */
.article-hero { position: relative; overflow: hidden; padding: 0.25rem 0 1.25rem; margin: 0 0 0.25rem; }
.article-hero-mark { position: absolute; right: -2.4rem; top: 0; width: 10rem; height: auto; pointer-events: none; }
.article-hero > :not(.article-hero-mark) { position: relative; }
.article-hero .cat { margin: 0 0 1rem; }
.article .article-hero h1 { position: relative; font-size: 1.55rem; line-height: 1.5; margin: 0 0 1rem; padding-left: 0.9em; }
.hero-stat { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.4em; font-size: 0.85rem; font-weight: 700; line-height: 1.5; color: var(--text); }
.hero-num { font-size: 1.9rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--accent-ink); }
.hero-num small { font-size: 0.55em; margin-left: 0.05em; letter-spacing: 0; }
.article h1 { font-size: 1.55rem; line-height: 1.6; margin: 0 0 0.5rem; }
.article .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; color: var(--text-muted); font-size: 0.82rem; margin: 0 0 0.75rem; }
.pill { display: inline-block; font-size: 0.72rem; font-weight: 700; line-height: 1.6; padding: 0 0.6rem; border-radius: 999px; background: var(--accent-soft); color: var(--text); }
/* 見出しは質問形（記事の型）。問いの見出し（.sec-q）にだけB-2のかぎかっこの印を付ける */
.body h2 {
  position: relative;
  font-size: 1.25rem;
  line-height: 1.55;
  margin: 3rem 0 1rem;
}
.sec { margin-top: 3.25rem; }
.sec > h2 { margin-top: 0; }
.sec-q > h2 { padding-left: 0.95em; }
.sec > .sec-label + h2 { margin-top: 0.35rem; }
/* 見出しは文節（build.mjs が <wbr> を入れた位置）でだけ折り返す */
.article h1, .body h2, .body h3, .card h2, .hero h1, .hero p, th, td, .stat-label, .bar-legend span { word-break: keep-all; overflow-wrap: anywhere; }
/* 太字の色（④・2026-09-28 Mina決定）：言葉の太字はネイビーのまま、数字を含む太字だけ画像と同じ濃いサーモン（build.mjs が class="n" を付ける） */
.body strong { color: var(--text); }
.body strong.n { color: var(--accent-ink); }
.body h3 { font-size: 1.08rem; margin: 2rem 0 0.75rem; }
.body p { margin: 0 0 1.4rem; }
.body ul, .body ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.body li { margin-bottom: 0.5rem; }
.body a { color: var(--accent-ink); }
.body img { max-width: 100%; height: auto; border-radius: 8px; }
.body hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

blockquote {
  margin: 0 0 1.4rem;
  padding: 0.25rem 0 0.25rem 1.1rem;
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
}
blockquote p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { padding: 0.6rem 0.8rem; border: 1px solid var(--border); text-align: left; }
th { background: var(--accent-soft); font-weight: 600; }
/* 色をつけたセル（md でセル全体を ==…== で囲む）。列ごとのいちばん多い答えなど（2026-10-16） */
td.hi { background: rgba(223, 167, 154, 0.32); color: var(--accent-ink); font-weight: 700; }
td.num { white-space: nowrap; }
/* まとまり（女性の答え／男性の答え）：表の左に縦書きで、中の行にまたがる。
   まとまりごとにベージュの太い線で囲み、名前の列はベージュの面（2026-10-16 Mina・見本のC） */
th.grp-v { writing-mode: vertical-rl; text-orientation: upright; letter-spacing: 0.12em; width: 2.4em; min-width: 2.4em; padding: 0.6rem 0.35rem; text-align: center; vertical-align: middle; background: var(--beige-fill); color: var(--text); font-weight: 700; white-space: nowrap; }
table.grouped tbody { border: 3px solid var(--beige-deep); }
/* たたんだ表（:::fold）の中の注記 */
.table-fold .fold-note { font-size: 0.8rem; line-height: 1.7; color: var(--text-muted); margin: 0.5rem 0 0; }
/* 注記（「※」で始まる段落） */
.body p.fn { font-size: 0.8rem; line-height: 1.7; color: var(--text-muted); }

pre {
  overflow-x: auto;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
}
code { font-size: 0.9em; }

.survey-meta {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.3rem;
}
.survey-meta div { display: flex; gap: 0.75rem; }
.survey-meta dt { color: var(--text-muted); min-width: 5rem; margin: 0; }
.survey-meta dd { margin: 0; font-weight: 600; }

/* ── PR / アフィリエイト枠 ── */
.pr {
  background: var(--pr-bg);
  border: 1px solid var(--pr-border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem 0.5rem;
  margin: 0 0 1.6rem;
}
.pr-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.6rem !important;
}
.pr p:last-child { margin-bottom: 1rem; }

/* ── フッター ── */
.site-footer {
  max-width: var(--max);
  margin: 4rem auto 0;
  padding: 2rem 1.25rem 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent-ink); }
.copyright { color: var(--text-muted); margin: 0; }

/* ── 数字ブロック（:::stats）と帯グラフ（:::bar）＝SNS画像B-2と同じ見せ方 ── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.4rem;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.15rem 1.05rem;
}
.stat-num {
  margin: 0 0 0.4rem !important;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
}
.stat-num span { font-size: 1.25rem; margin-left: 0.12em; letter-spacing: 0; }
.stat-label { margin: 0 !important; font-size: 0.9rem; font-weight: 600; line-height: 1.6; }

.bar { margin: 0 0 1.4rem; }
.bar-track { display: flex; height: 2.7rem; border-radius: 10px; overflow: hidden; }
.bar-track span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}
/* 帯の色はブランド色で固定（ダークモードでも変えない）。白い文字は濃いサーモンの上だけ */
.bar .s1 { background: #a2594a; color: #ffffff; }
.bar .s2 { background: #dfa79a; color: #17243c; }
.bar .s3 { background: #f3d8d1; color: #17243c; }
.bar-legend { list-style: none; padding: 0 !important; margin: 0.75rem 0 0 !important; display: grid; gap: 0.3rem; font-size: 0.88rem; }
.bar-legend li { display: flex; align-items: center; gap: 0.55rem; margin: 0 !important; line-height: 1.6; }
.bar-legend i { width: 0.85rem; height: 0.85rem; border-radius: 3px; flex: none; }

@media (prefers-color-scheme: dark) {
  .hero-mark, .article-hero-mark { opacity: 0.14; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .article h1 { font-size: 1.35rem; }
  .article .article-hero h1 { font-size: 1.3rem; }
  .hero h1 { font-size: 1.6rem; }
  /* 案D：帯のすぐ下で上端を切ると、帯の下にもう1枚ピンクの板が下がって見える。
     上端は切らずに横顔の頭まで見せ、説明文（灰の文字はマークの上だと4.40:1）に掛からない大きさにする */
  .hero-mark { width: 9.5rem; right: -2.4rem; top: 0.4rem; }
  .brand-logo { height: 18px; }
  .site-nav { gap: 0.9rem; font-size: 0.8rem; }
}

/* ── 記事の頭：調査のひとことと、AIの開示（どちらも小さな文字・タイトルのすぐ下） ── */
.survey-note, .ai-note { font-size: 0.76rem; line-height: 1.75; color: var(--text-muted); }
.survey-note { margin: 0 0 0.45rem; }
/* 広告の一文は小さな灰色にしない（認識しやすい大きさ・色） */
.pr-note { font-size: 0.84rem; line-height: 1.7; font-weight: 600; color: var(--text); margin: 0 0 0.3rem; }
.survey-note strong { color: var(--text); font-weight: 700; }
.survey-note a { color: var(--accent-ink); white-space: nowrap; }
.ai-note { margin: 0 0 1.75rem; }
.sec-label {
  display: flex; align-items: center; gap: 0.5em; margin: 0;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; line-height: 1.6; color: var(--text-muted);
}
.sec-label::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--accent); flex: none; }

/* 要点のカード */
.summary {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1rem 1.15rem 0.35rem; margin: 0 0 2.25rem;
}
.summary h2 { font-size: 1.08rem; margin: 0.35rem 0 0.75rem; }
.summary ul { padding-left: 1.2rem; margin-bottom: 0.9rem; }
.summary li { margin-bottom: 0.6rem; line-height: 1.8; }
/* 要点の2段（結論｜数字）：結論は太字＋下線（マーカー）、数字の文はその下に */
.summary ul.sm-two li { margin-bottom: 0.95rem; }
.sm-lead { display: block; font-weight: 700; line-height: 1.7; }
.sm-lead mark { background: linear-gradient(transparent 58%, var(--marker) 58%); color: inherit; padding: 0 0.1em; }
.sm-detail { display: block; margin-top: 0.15rem; font-size: 0.92em; line-height: 1.75; }

/* 順位つきの横棒（:::rank）。長さは0〜100%のまま（差を大きく見せない） */
.rank { margin: 0 0 1rem; }
.rank ol { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 0.8rem; }
.rank li {
  margin: 0 !important; display: grid; grid-template-columns: 1fr auto; column-gap: 0.75rem; row-gap: 0.3rem; align-items: end;
}
.rank-label { font-size: 0.88rem; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.rank-val { font-size: 1rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.rank-val small { font-size: 0.72em; margin-left: 0.08em; }
.rank-bar { grid-column: 1 / -1; height: 0.6rem; border-radius: 999px; background: var(--border); overflow: hidden; }
.rank-bar i { display: block; height: 100%; border-radius: 999px; background: #dfa79a; }
.rank li.hi .rank-label { font-weight: 700; }
.rank li.hi .rank-val { color: var(--accent-ink); }
.rank li.hi .rank-bar i { background: #a2594a; }

/* 案Bの対比図（:::gap）。女性＝サーモン・男性＝ネイビーの棒、差はグレーの点線（2026-10-21 Mina）。SNSの「ずれ」の1枚と同じ見せ方 */
.gap { margin: 0 0 1rem; }
.gap figcaption { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 0.8rem; word-break: keep-all; overflow-wrap: anywhere; }
.gap-chart { position: relative; display: grid; gap: 0.9rem; }
.gap-chart.has-mark { padding-bottom: 2.1rem; }
.gap-row { display: grid; grid-template-columns: 1fr auto; column-gap: 0.75rem; row-gap: 0.35rem; align-items: end; }
.gap-label { font-size: 1rem; font-weight: 700; }
.gap-label small { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-left: 0.5em; }
.gap-val { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.gap-val small { font-size: 0.5em; margin-left: 0.08em; }
.gap-bar { grid-column: 1 / -1; height: 0.8rem; border-radius: 999px; background: var(--border); overflow: hidden; }
.gap-bar i { display: block; height: 100%; border-radius: 999px; background: var(--text-muted); }
.gap-row.is-f .gap-bar i { background: var(--pink); }
.gap-row.is-m .gap-bar i { background: var(--navy); }
.gap-row.is-f .gap-label::before, .gap-row.is-m .gap-label::before { content: ""; display: inline-block; width: 0.7em; height: 0.7em; border-radius: 50%; margin-right: 0.4em; vertical-align: 0.05em; }
.gap-row.is-f .gap-label::before { background: var(--pink); }
.gap-row.is-m .gap-label::before { background: var(--navy); }
.gap-mark {
  position: absolute; top: 2.3rem; bottom: 1.5rem; box-sizing: border-box; pointer-events: none;
  border-left: 2px dashed var(--gap-mark); border-right: 2px dashed var(--gap-mark); border-bottom: 3px solid var(--gap-mark);
}
.gap-mark span {
  position: absolute; left: 50%; bottom: -1.6rem; transform: translateX(-50%); white-space: nowrap;
  font-size: 0.9rem; font-weight: 700; color: var(--accent-ink);
}
.gap-note { font-size: 0.8rem; color: var(--text-muted); margin: 0.5rem 0 0 !important; word-break: keep-all; overflow-wrap: anywhere; }

/* グラフの直後の表は、たたんでおく（中身はHTMLに残る） */
.table-fold { margin: 0 0 1.6rem; }
.table-fold > summary {
  display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; list-style: none;
  font-size: 0.8rem; color: var(--text-muted); padding: 0.15rem 0;
}
.table-fold > summary::-webkit-details-marker { display: none; }
.table-fold > summary::before {
  content: "+"; display: grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  border: 1px solid var(--border); font-size: 0.8rem; line-height: 1;
}
.table-fold[open] > summary::before { content: "−"; }
.table-fold .table-wrap { margin: 0.6rem 0 0; }

/* 回答者の声（:::voice）。かぎかっこの印＝HERVOXの「声」 */
.voices { margin: 0 0 1.6rem; }
.voice {
  position: relative; margin: 0 0 0.6rem; padding: 1rem 2.1rem 1rem 2.3rem;
  background: var(--accent-soft); border: none; border-radius: 14px; color: var(--text);
}
.voice p { margin: 0 !important; font-weight: 600; line-height: 1.75; }
.voice::before, .voice::after { content: ""; position: absolute; width: 0.55rem; height: 0.85rem; }
.voice::before { left: 1rem; top: 1.05rem; border-left: 3px solid var(--accent); border-top: 3px solid var(--accent); }
.voice::after { right: 1rem; bottom: 1.05rem; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); }
.voice cite { display: block; margin-top: 0.45rem; font-style: normal; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); text-align: right; }
.voices figcaption { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* 広告・PR：声のカードと見分けがつくよう、白地に破線＋ラベル */
.pr { background: var(--surface) !important; border: 1px dashed var(--accent) !important; }
.pr-label {
  display: inline-block; color: var(--text) !important; border: 1px solid currentColor; border-radius: 999px;
  padding: 0 0.6rem; letter-spacing: 0.08em !important;
}

/* よくある質問：Qの印 */
.sec-faq h3 { position: relative; padding-left: 2rem; margin: 1.75rem 0 0.5rem; line-height: 1.6; }
.sec-faq h3::before {
  content: "Q"; position: absolute; left: 0; top: 0.05em; width: 1.45rem; height: 1.45rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.78rem; font-weight: 800;
}
.sec-faq h3 + p { padding-left: 2rem; }

/* この調査について（記事の終わり） */
.sec-about .survey-trial { color: var(--accent-ink); font-size: 0.9rem; margin: 0 0 1rem; }
.sec-about .survey-meta { margin-bottom: 1.5rem; font-size: 0.9rem; }
.sec-about h3 { margin-top: 1.5rem; }
.cite-box { border-left: 3px solid var(--accent); padding: 0.55rem 0 0.55rem 0.95rem; margin: 0 0 1.1rem; font-size: 0.85rem; line-height: 1.75; }
.cite-box p { margin: 0 !important; }
.cite-lead { color: var(--text-muted); margin-bottom: 0.3rem !important; }
.cite-text { font-weight: 600; }
.history { font-size: 0.82rem; color: var(--text-muted); }

/* 短い文は文節で折り返す（build.mjs が <wbr> を入れる） */
.survey-note, .pr-note, .ai-note, .summary li, .voice p, .survey-meta dd, .cite-text, .survey-trial { word-break: keep-all; overflow-wrap: anywhere; }
@media (prefers-color-scheme: dark) {
  /* 濃いサーモンは暗い地だと沈むので、強調の横棒は明るい色に */
  .rank li.hi .rank-bar i { background: #ebc0b5; }
}

/* 数字と単位は1かたまりで折り返す（build.mjs の keepNumbers） */
.nb { white-space: nowrap; }

/* つまり（:::point）。その節の数字が「つまりどういうことか」（2026-10-10） */
.point {
  margin: 0.4rem 0 2.2rem; padding: 0.85rem 1.1rem 0.9rem;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 10px;
}
.point p { margin: 0 !important; }
.point p + p { font-weight: 700; line-height: 1.85; }
.point-label { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent-ink); margin-bottom: 0.25rem !important; }
/* マーカー（==…==）。文字の色は変えず、下半分に薄いピンクを引く */
.body mark { background: linear-gradient(transparent 58%, var(--marker) 58%); color: inherit; padding: 0 0.1em; }

/* ほかの声（:::voices-more）。たたんでおき、似た声をまとめて並べる */
.voices-more { margin: -0.6rem 0 1.8rem; }
.voices-more > summary {
  display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer; list-style: none;
  font-size: 0.85rem; font-weight: 700; color: var(--accent-ink); padding: 0.2rem 0;
}
.voices-more > summary span { font-weight: 500; color: var(--text-muted); }
.voices-more > summary::-webkit-details-marker { display: none; }
.voices-more > summary::before {
  content: "+"; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent-ink); font-size: 0.85rem; line-height: 1;
}
.voices-more[open] > summary::before { content: "−"; }
.vm-body { margin-top: 0.7rem; padding: 0.4rem 1rem 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.vm-group { font-size: 0.88rem; font-weight: 700; margin: 0.9rem 0 0.4rem !important; padding-left: 0.6rem; border-left: 3px solid var(--accent); }
.vm-list { list-style: none; margin: 0 !important; padding: 0 !important; }
.vm-list li { margin: 0 !important; padding: 0.5rem 0; border-bottom: 1px dashed var(--border); font-size: 0.88rem; line-height: 1.7; }
.vm-list li:last-child { border-bottom: none; }
.vm-who { display: block; font-size: 0.74rem; color: var(--text-muted); text-align: right; }
.vm-note { font-size: 0.74rem; color: var(--text-muted); margin: 0.6rem 0 0 !important; }
