/* ══════════════════════════════════════════════════════════
   「私なんかが」4タイプ無料診断 ＿ 共通CSS（5枚で共有）
   セミナーLP（index_c）と同じ世界。デザイン強度4。
   ・動きはフェードのみ。スクロールは掴まない、横に流れない
   ・カード＋影＋丸番号＋絵文字を使わず、罫・余白・薄い大数字で組む
   ══════════════════════════════════════════════════════════ */

:root {
  --paper: #fffaf3; /* 生成り。イラストの白背景と馴染む明るさ */
  --paper-2: #fff6e6; /* 一段濃い生成り */
  --ink: #3d2f26;
  --ink-soft: #766655; /* v2の #7a6a5f はLPのヒーロー(#ffe9dc)上で4.43:1に落ちるので少し濃くした */
  --ink-faint: #736660; /* 注記も本文なので 4.5:1 に届く濃さ */

  --vermilion: #b0350f; /* 文字にも面にも使える朱 */
  --orange: #ff6b35; /* ブランドの橙。面と装飾にだけ。文字に使わない */
  --sumi: #1f1714;
  --sumi-ink: #f4ece5;
  --sumi-soft: #b3a49a;

  --rule: #ece0d2;
  --rule-strong: #cdbba8;

  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;

  /* タイプ色。body[data-type] で --accent が回る */
  --c01: #fdf0c4; /* あげすぎ 黄 */
  --c02: #e4f2d4; /* まだまだ 黄緑 */
  --c03: #fbe0e6; /* 空気よみ ピンク */
  --c04: #d9ecfa; /* 準備万端 水色 */
  --accent: var(--c01); /* 既定は01。ページ側で data-type を切り替える */

  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(56px, 10vw, 100px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  background: var(--paper);
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 15.5px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  /* width/height 属性が aspect-ratio を殺すので auto に戻す */
  height: auto;
}
canvas {
  max-width: 100%;
}
::selection {
  background: var(--orange);
  color: #fff;
}

h1,
h2,
h3,
h4,
p,
li,
dd {
  text-wrap: pretty;
}
/* 語の途中で割れると読みにくい短い語は、まとめて送る
   （word-break: auto-phrase は実機未対応のため使わない） */
.nb {
  display: inline-block;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section {
  padding: var(--section) 0;
}
.ground-2 {
  background: var(--paper-2);
}

/* ── 見出しの体系 ───────────────────────────────── */
.disp {
  font-family: var(--mincho);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.disp--xl {
  font-size: clamp(26px, 6.4vw, 42px);
  line-height: 1.5;
}
.disp--lg {
  font-size: clamp(21px, 4.6vw, 30px);
}
.disp--md {
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 600;
}
.disp em {
  font-style: normal;
  color: var(--vermilion);
}

.eyebrow {
  font-family: var(--gothic);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--vermilion);
  margin-bottom: 14px;
}
.sec-head {
  margin-bottom: clamp(26px, 5vw, 44px);
}

.prose {
  color: var(--ink-soft);
}
.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.note {
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* 装飾の大数字。読み上げからは外す */
.num {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(46px, 11vw, 74px);
  line-height: 0.78;
  color: var(--orange);
  opacity: 0.22;
  letter-spacing: 0.02em;
  user-select: none;
}

/* ── ボタン。立体の影をやめ、ベタの朱で置く ─────── */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--vermilion);
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: clamp(15.5px, 3vw, 17.5px);
  letter-spacing: 0.04em;
  line-height: 1.5;
  padding: 17px 38px;
  border-radius: 999px;
  min-height: 48px;
  transition: background-color 0.2s ease;
}
.btn small {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.92;
}
.btn:hover {
  background: #a63109;
}
.btn--wide {
  display: flex;
  width: 100%;
  max-width: 420px;
}
.btn--ghost {
  background: transparent;
  color: var(--vermilion);
  border: 1px solid var(--rule-strong);
}
.btn--ghost:hover {
  background: var(--paper-2);
}
.btn-note {
  font-size: 12px;
  color: var(--ink-faint);
  margin-top: 12px;
  letter-spacing: 0.06em;
}

/* ══ 入口 ══════════════════════════════════════════ */
.hero {
  background: linear-gradient(180deg, #ffe9dc 0%, var(--paper) 62%);
  padding: clamp(40px, 8vw, 72px) 0 clamp(36px, 6vw, 56px);
  text-align: center;
}
.hero .imprint {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.hero .imprint span {
  display: inline-block;
}
.hero h1 {
  margin-bottom: 14px;
}
.hero h1 .t-quote {
  display: block;
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 27em;
  margin: 0 auto 22px;
}
.hero-meta {
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  margin: 14px 0 0;
}
.hero .btn--wide {
  margin: 0 auto;
}

/* こんな人に（罫のリスト） */
.fits {
  list-style: none;
  border-top: 1px solid var(--rule);
  text-align: left;
}
.fits li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: clamp(6px, 2vw, 16px);
  align-items: baseline;
  padding: clamp(14px, 2.6vw, 20px) 0;
  border-bottom: 1px solid var(--rule);
}
.fits .n {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 19px;
  color: var(--vermilion);
  letter-spacing: 0.04em;
}
.fits .t {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(16px, 3.2vw, 19px);
  line-height: 1.7;
}

/* 愛称のチラ見せ（説明は書かない） */
.peek {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule-strong);
}
.peek li {
  border-right: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: clamp(18px, 3.6vw, 28px) 8px;
  text-align: center;
}
.peek .no {
  display: block;
  font-family: var(--mincho);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--vermilion);
  margin-bottom: 6px;
}
.peek .name {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(17px, 4vw, 22px);
  letter-spacing: 0.04em;
}

/* 作った人 */
.makers {
  list-style: none;
  border-top: 1px solid var(--rule);
}
.makers li {
  padding: clamp(13px, 2.4vw, 17px) 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.makers b {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: 15.5px;
  color: var(--ink);
  margin-right: 10px;
}

/* ══ 設問（1画面1問） ══════════════════════════════ */
#quiz {
  display: none;
}
#quiz.is-on {
  display: block;
}
body.quiz-mode #entry {
  display: none;
}
.q-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 10px;
  border-bottom: 1px solid var(--rule);
}
.q-progress {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--vermilion);
}
.q-back {
  font-size: 13px;
  color: var(--ink-faint);
  text-decoration: none;
  padding: 10px 2px; /* タップ領域 44px 相当 */
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--gothic);
  letter-spacing: 0.04em;
}
.q-back:hover {
  color: var(--vermilion);
}
.q-bar {
  height: 2px;
  background: var(--rule);
  margin-bottom: clamp(30px, 7vw, 48px);
}
.q-bar i {
  display: block;
  height: 100%;
  background: var(--orange);
  transition: width 0.3s ease;
}
.q-text {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(19px, 4.6vw, 26px);
  line-height: 1.75;
  min-height: 5.25em;
  margin-bottom: clamp(26px, 6vw, 40px);
}
.q-opts {
  list-style: none;
  display: grid;
  gap: 12px;
}
.q-opts button {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--gothic);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 14px 18px;
  min-height: 52px;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.q-opts button:hover {
  border-color: var(--vermilion);
  background: var(--paper-2);
}
.q-opts button:active {
  background: var(--paper-2);
}
/* 1つ前にもどったとき、前に選んだ答えが分かるようにする（塗らずに枠線だけ） */
.q-opts button[aria-pressed="true"] {
  border-color: var(--vermilion);
  box-shadow: inset 0 0 0 1px var(--vermilion);
  font-weight: 600;
}
.q-note {
  margin-top: clamp(26px, 6vw, 40px);
}

/* 設問のフェード（1回だけ。結果表示の演出もこの1種のみ） */
.q-fade {
  opacity: 1;
  transition: opacity 0.22s ease;
}
.q-fade.is-out {
  opacity: 0;
}

/* ══ 結果ページ ════════════════════════════════════ */

/* シェアから来た人への帯（JSで出す） */
.visitor-band {
  display: none;
  background: var(--sumi);
  color: var(--sumi-ink);
  text-align: center;
  font-size: 13.5px;
  line-height: 1.8;
  padding: 13px var(--gutter);
}
body.is-visitor .visitor-band {
  display: block;
}
.visitor-band a {
  color: #ffab7d;
  font-weight: 700;
  text-decoration: underline;
  padding: 8px 2px;
  display: inline-block;
}

/* 結果カード（1〜3をひとつの枠で組む。スクショ耐性） */
.result-hero {
  background: linear-gradient(180deg, #ffe9dc 0%, var(--paper) 70%);
  padding: clamp(36px, 7vw, 64px) 0 clamp(30px, 5vw, 48px);
}
.result-card {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  padding: clamp(24px, 5vw, 44px) clamp(20px, 4.4vw, 40px) clamp(18px, 3.4vw, 26px);
}
.rc-head {
  text-align: center;
  padding-bottom: clamp(20px, 4vw, 30px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(20px, 4vw, 30px);
}
.rc-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.rc-sub {
  display: none; /* サブタイプはJSで出す */
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(14px, 3vw, 17px);
  color: var(--ink-soft);
  margin-bottom: 2px;
}
.rc-sub.is-on {
  display: block;
}
.rc-name {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(38px, 11vw, 64px);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.js .rc-name {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.js .rc-name.is-in {
  opacity: 1;
}
.rc-formal {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(13.5px, 3vw, 16px);
  color: var(--vermilion);
  margin-top: 8px;
}
/* .rc-sec + .rc-sec の margin-top は「ブロック間の余白」節
   （下の .rc-sec + .rc-sec { margin-top: 30px }）に一本化している
   （旧clamp(22px,4.4vw,32px)は二重定義で常に負けていたので削除した） */
.rc-sec h2 {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(15.5px, 3.4vw, 18px);
  letter-spacing: 0.06em;
  color: var(--vermilion);
  margin-bottom: 10px;
}
.rc-list {
  list-style: none;
}
.rc-list li {
  padding: 7px 0 7px 1.2em;
  text-indent: -1.2em;
  line-height: 1.85;
}
.rc-list li::before {
  content: "・";
  color: var(--vermilion);
}
.rc-say li {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: clamp(15.5px, 3.4vw, 18px);
  padding: 8px 0;
  text-indent: 0;
  line-height: 1.8;
}
.rc-say li::before {
  content: none;
}
.rc-foot {
  margin-top: clamp(24px, 5vw, 36px);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

/* トリセツ本文（4〜7） */
.torisetsu .rc-sec h2 {
  border-top: 1px solid var(--rule-strong);
  padding-top: clamp(18px, 3.6vw, 26px);
}
.torisetsu .rc-sec {
  margin-top: clamp(26px, 5vw, 40px);
}
.torisetsu .rc-sec:first-child {
  margin-top: 0;
}

/* ── シェア ─────────────────────────────────────── */
.share {
  text-align: center;
}
.share .btn {
  margin: 0 auto;
}
.share-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.share-pills a,
.share-pills button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 9px 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}
.share-pills a:hover,
.share-pills button:hover {
  border-color: var(--vermilion);
  color: var(--vermilion);
}
.share-webshare {
  display: none; /* navigator.share がある環境でだけJSが出す */
}
.share-webshare.is-on {
  display: block;
}
.copy-done {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: var(--vermilion);
  font-weight: 700;
}
.copy-done.is-on {
  display: block;
}
.story-box {
  margin-top: clamp(26px, 5vw, 36px);
  padding-top: clamp(20px, 4vw, 28px);
  border-top: 1px solid var(--rule);
}
.story-out {
  display: none;
  margin-top: 16px;
}
.story-out.is-on {
  display: block;
}
.story-out img {
  margin: 0 auto;
  max-width: min(300px, 80%);
  border: 1px solid var(--rule-strong);
}

/* ── 他の3タイプ（畳む。JSなしでも開ける details） ── */
.others details {
  border-top: 1px solid var(--rule);
}
.others details:last-of-type {
  border-bottom: 1px solid var(--rule);
}
.others summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 2px;
  min-height: 44px;
}
.others summary::-webkit-details-marker {
  display: none;
}
.others summary .no {
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--vermilion);
}
.others summary .nm {
  font-family: var(--mincho);
  font-weight: 800;
  font-size: clamp(16px, 3.4vw, 19px);
}
.others summary .fm {
  font-size: 12px;
  color: var(--ink-faint);
}
.others summary::after {
  content: "＋";
  margin-left: auto;
  font-family: var(--mincho);
  color: var(--vermilion);
}
.others details[open] summary::after {
  content: "−";
}
.others .body {
  padding: 2px 2px 20px;
  color: var(--ink-soft);
  font-size: 14px;
}
.send-friend {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  padding: 8px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--paper);
  color: var(--vermilion);
  font-family: var(--gothic);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
}
.send-friend:hover {
  border-color: var(--vermilion);
}

/* ── メール登録 ─────────────────────────────────── */
.signup .consent {
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--vermilion);
  padding: clamp(16px, 3.4vw, 24px);
  font-size: 13.5px;
  line-height: 2;
  margin: 22px 0;
  text-align: left;
}
.signup .consent ul {
  list-style: none;
}
.signup .consent li {
  padding-left: 1.1em;
  text-indent: -1.1em;
}
.signup .consent li::before {
  content: "・";
  color: var(--vermilion);
}
.bme-embed {
  margin: 10px 0;
}
/* BMEのscriptが立ち上がらなかったときだけ shindan.js が出す */
.bme-fallback {
  margin: 10px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--vermilion);
  border-radius: 6px;
  color: var(--vermilion);
  font-size: 0.9rem;
  line-height: 1.7;
}
/* 診断していない人向けの差し替え（JSで出す） */
.signup-visitor {
  display: none;
}
body.is-visitor .signup-visitor {
  display: block;
}
body.is-visitor .signup-self {
  display: none;
}

/* ── 次回セミナー（控えめ） ─────────────────────── */
.seminar {
  text-align: center;
  padding-bottom: calc(var(--section) * 1.1);
}
.seminar p {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 18px;
}

footer {
  background: var(--sumi);
  color: var(--sumi-soft);
  text-align: center;
  padding: 40px var(--gutter) calc(40px + env(safe-area-inset-bottom));
  font-size: 12.5px;
  line-height: 2.1;
  letter-spacing: 0.08em;
}
footer b {
  display: block;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--sumi-ink);
  margin-bottom: 6px;
}
footer a {
  color: var(--sumi-soft);
}

/* ── 出現（JSが動いたときだけ隠す） ─────────────── */
.js .fade {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}
.js .fade.on {
  opacity: 1;
  transform: none;
}

/* ── 画面幅 ─────────────────────────────────────── */
@media (max-width: 374px) {
  .peek .name {
    font-size: 16px;
  }
  .q-opts button {
    padding: 13px 14px;
  }
}

/* 「視差効果を減らす」がONなら、動きは全部なし。
   止まった状態がそのまま完成形になるよう組んである。 */
@media (prefers-reduced-motion: reduce) {
  .js .fade,
  .js .rc-name {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .q-fade,
  .q-bar i,
  .btn,
  .q-opts button,
  .share-pills a,
  .share-pills button {
    transition: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   番組の世界に寄せる層（2026-09-08 採用 / 要件定義書 §5 改訂版）
   preview/v2 で見比べたものをそのまま本体に入れた。
   前半の指定を上書きするので、この位置（末尾）から動かさないこと。
   ══════════════════════════════════════════════════════════ */

/* 02〜04 を起こすときは <body data-type="02"> と書くだけで色が回る */
body[data-type="01"] { --accent: var(--c01); }
body[data-type="02"] { --accent: var(--c02); }
body[data-type="03"] { --accent: var(--c03); }
body[data-type="04"] { --accent: var(--c04); }

body { background: var(--paper); color: var(--ink); }

/* 見出しは丸ゴシックへ寄せた（§5-3）。ただし詳細度で既存側が勝つ箇所は
   明朝のまま残っている: .rc-sec h2（:519-520の(0,1,1)がここの(0,0,1)に勝つ）
   と footer b。意図して残しているので、丸ゴシックに揃えるならそちら側の
   font-family も明示的に上書きすること */
h1, h2, h3,
.rc-name, .disp, .eyebrow, .rc-kicker { font-family: var(--maru); }
.rc-name { font-weight: 700; letter-spacing: .02em; }

/* ── 結果ヒーロー：絵が最初に目に入る ───────────────── */
.result-hero { background: var(--paper); }
.result-card { border: none; background: transparent; padding-top: 4px; }
.rc-head { text-align: center; }
.rc-char {
  display: block;
  width: min(76%, 300px);
  height: auto;
  margin: 0 auto -6px;
}
.rc-name { font-size: clamp(34px, 11vw, 46px); text-align: center; margin: 0 0 6px; line-height: 1.2; }
.rc-sub, .rc-formal { text-align: center; color: var(--ink-soft); line-height: 1.75; }

/* ── 本文まわり：角丸を解禁し、行間を広く ───────────── */
/* margin-top はこの節では設定しない。下の「ブロック間の余白」節の
   .rc-sec { margin-top: 30px } に一本化している（旧26pxは二重定義で
   常に負けていたので削除した） */
.rc-sec h2 {
  font-size: 17px; font-weight: 700; display: flex; align-items: center; gap: 9px;
  margin: 0 0 10px;
}
.rc-sec h2::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
}
.rc-list li, .torisetsu p, .rc-sec p { line-height: 1.95; }
.rc-say {
  background: #fff; border: 1px dashed var(--rule); border-radius: 14px;
  padding: 14px 16px;
}
.rc-say li { line-height: 1.9; }

/* ── シェア：ピルは丸く、押したくなる大きさに ───────── */
.share { background: var(--paper-2); }
.share-pills a, .share-pills button, .btn {
  border-radius: 999px; font-family: var(--maru); font-weight: 700;
  box-shadow: none;
}
.btn { padding-block: 14px; }

/* ── 他タイプ：顔が見えるから押される ───────────────── */
.others .body { text-align: center; }
.other-char { display: block; width: 96px; height: auto; margin: 0 auto 4px; }
.others .nm { font-family: var(--maru); font-weight: 700; }

/* ── 影は使わない（§5-3） ─────────────────────────── */
.result-card, .rc-say, .share-pills a, .share-pills button, .btn, .others > * {
  box-shadow: none;
}

/* 動きはフェードのみ。旧版から変更しない */
@media (prefers-reduced-motion: reduce) {
  .rc-name, .rc-char { animation: none !important; opacity: 1 !important; }
}

/* 他タイプは summary に顔を出す（折りたたみの中だと見えない） */
.others summary {
  display: grid;
  grid-template-columns: 56px auto 1fr auto;
  grid-template-areas: "img no nm plus" "img fm fm plus";
  align-items: center;
  gap: 2px 10px;
  padding: 10px 2px;
}
.others summary .other-char { grid-area: img; width: 56px; height: auto; margin: 0; }
.others summary .no { grid-area: no; font-family: var(--maru); }
.others summary .nm { grid-area: nm; font-family: var(--maru); font-weight: 700; }
.others summary .fm { grid-area: fm; }
.others summary::after { grid-area: plus; margin-left: 0; font-family: var(--maru); align-self: center; }

/* 本文は明朝をやめてゴシックへ（§5-3）。shindan.css は body に明朝を敷いている */
body, .rc-list, .rc-list li, .rc-say, .rc-say li, .rc-sub, .rc-formal,
.torisetsu p, .rc-sec p, .others .fm, .note, .consent {
  font-family: var(--gothic);
}

/* イラストの白背景を生成りに馴染ませる（線画なので乗算で白が飛ぶ）
   透過PNGで出し直したら、この2行は消す */
.rc-char, .other-char { mix-blend-mode: multiply; }

/* ── ブロック間の余白（2026-09-08） ─────────────────
   .rc-sec は <section> なので、LP用の section{padding: var(--section) 0}
   （スマホで56px）を拾ってしまい、「こんな場面」と「言いがち」の間が
   56+22+56 = 134px も空いていた。結果ページの中身は padding を持たせず
   margin だけで組む。 */
.rc-sec {
  padding: 0;
  margin-top: 30px;
}
.rc-sec + .rc-sec {
  margin-top: 30px;
}
.torisetsu .rc-sec {
  margin-top: 34px; /* h2 に罫と padding-top 18px が乗るぶん少し広め */
}
.torisetsu .rc-sec:first-child {
  margin-top: 0;
}

/* 大枠のセクション同士も、上下56pxずつで112px空く。スマホでは開きすぎ。
   LP（index.html）は body に data-type が無いので影響しない */
body[data-type] > section {
  padding: clamp(32px, 6vw, 56px) 0;
}
