/* 案A「しおりの読書室」: 生成りの紙・紺×リボンの赤・丸ゴシック。しおりが要所で案内する */
:root {
  --navy: #22406f;
  --navy-2: #2f5590;
  --red: #c0463f;
  --paper: #f6f4ee;
  --paper-2: #efebe1;
  --card: #fffdf8;
  --yellow: #ffd640;
  --ink: #2b2b2b;
  --muted: #6b6a66;
  --line: #ddd6c6;
  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --body: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.85;
  background: var(--paper);
  background-image: radial-gradient(rgba(34, 64, 111, .035) 1px, transparent 1px);
  background-size: 18px 18px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.round { font-family: var(--round); }

/* ヘッダー */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--round); font-weight: 800; font-size: 20px; white-space: nowrap; }
.logo img { width: 38px; height: 38px; border-radius: 50%; }
.gnav { display: flex; gap: 20px; margin-left: auto; font-family: var(--round); font-weight: 700; font-size: 15px; }
.gnav a { color: var(--navy); text-decoration: none; }
.gnav a:hover { color: var(--red); }
.btn-sub { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; text-decoration: none; font-family: var(--round); font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.btn-sub::before { content: ""; width: 0; height: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* リボンの見出し */
.ribbon-h { position: relative; font-family: var(--round); font-weight: 800; color: var(--navy); font-size: 26px; line-height: 1.4; margin: 0 0 18px; padding-left: 34px; }
.ribbon-h::before { content: ""; position: absolute; left: 0; top: -4px; width: 20px; height: 40px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.ribbon-h small { display: block; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .08em; }

/* トップ: 今週の解説 */
.hero { padding: 40px 0 28px; }
.hero-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 10px 30px rgba(34, 64, 111, .08); position: relative; }
.hero-card .label { display: inline-block; background: var(--navy); color: #fff; font-family: var(--round); font-weight: 800; font-size: 13px; padding: 3px 12px; border-radius: 999px; }
.hero-card .label.red { background: var(--red); }
.hero-card h1 { font-family: var(--round); font-weight: 800; color: var(--navy); font-size: 28px; line-height: 1.45; margin: 12px 0 14px; }
.points { list-style: none; padding: 0; margin: 0 0 18px; }
.points li { position: relative; padding: 4px 0 4px 30px; font-weight: 600; }
.points li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--navy); }
.points b { color: var(--red); font-family: var(--round); font-size: 1.1em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--round); font-weight: 800; padding: 12px 20px; border-radius: 14px; font-size: 16px; }
.btn.primary { background: var(--navy); color: #fff; box-shadow: 0 4px 0 #142a4c; }
.btn.ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.hero-shiori { position: absolute; right: -6px; bottom: -6px; width: 120px; }
.bubble { position: relative; background: #fff; border: 2px solid var(--navy); border-radius: 16px; padding: 10px 14px; font-family: var(--round); font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.6; }
.hero .bubble { position: absolute; right: 120px; bottom: 70px; max-width: 240px; }
.hero .bubble::after { content: ""; position: absolute; right: -11px; bottom: 18px; border-left: 11px solid var(--navy); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.meta { color: var(--muted); font-size: 14px; }

/* 動画(クリックまで画像だけ) */
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; transform: translate(-50%, -50%); background: var(--red); border-radius: 16px; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.yt .play::after { content: ""; position: absolute; left: 31px; top: 15px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
/* 横長の動画はサムネイルの文字を隠さないよう、再生ボタンを左下に */
.yt.wide .play { left: 18px; top: auto; bottom: 16px; transform: none; width: 64px; height: 46px; }
.yt.wide .play::after { left: 26px; top: 12px; border-left-width: 17px; border-top-width: 11px; border-bottom-width: 11px; }
.yt .len { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .75); color: #fff; font-size: 13px; padding: 1px 8px; border-radius: 6px; }

/* 番組の約束 */
.promise { padding: 18px 0 40px; }
.promise-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promise-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; }
.promise-item .num { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--navy); font-family: var(--round); font-weight: 800; font-size: 20px; border: 2px dashed var(--navy); }
.promise-item p { margin: 0; font-family: var(--round); font-weight: 700; color: var(--navy); line-height: 1.6; }
.promise-item p span { display: block; font-family: var(--body); font-weight: 400; color: var(--muted); font-size: 14px; }

/* セクション共通 */
.section { padding: 34px 0; }
.section.alt { background: var(--paper-2); }

/* テーマ */
.themes { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.theme-card { position: relative; border-radius: 20px; overflow: hidden; min-height: 220px; color: #fff; text-decoration: none; display: flex; align-items: flex-end; }
.theme-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(20, 35, 60, .82)); }
.theme-card div { position: relative; z-index: 1; padding: 20px 22px; }
.theme-card h3 { margin: 0; font-family: var(--round); font-weight: 800; font-size: 24px; }
.theme-card p { margin: 4px 0 0; font-size: 14px; }
.next-card { border: 3px dashed var(--navy); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 8px; background: var(--card); }
.next-card .day { font-family: var(--round); font-weight: 800; color: var(--red); font-size: 30px; line-height: 1.3; }
.next-card p { margin: 0; font-size: 15px; }

/* ショート */
.shorts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.short { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.short .yt { aspect-ratio: 9 / 13; border-radius: 0; }
.short .yt .q { position: absolute; left: 12px; right: 12px; top: 14px; background: rgba(255, 253, 248, .94); color: var(--navy); font-family: var(--round); font-weight: 800; font-size: 17px; line-height: 1.5; padding: 10px 12px; border-radius: 12px; }
.short .yt .tag { position: absolute; left: 12px; bottom: 12px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.short p { margin: 0; padding: 12px 14px 16px; font-size: 14px; line-height: 1.7; color: var(--muted); }

/* 本の棚 */
.shelf { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: end; }
.shelf .book { position: relative; padding-bottom: 18px; }
.shelf .book img { border-radius: 4px; box-shadow: 6px 8px 16px rgba(0, 0, 0, .25); transform: rotate(-2deg); }
.shelf .book::after { content: ""; position: absolute; left: -24px; right: -24px; bottom: 0; height: 18px; background: linear-gradient(#b98a5a, #8d6237); border-radius: 4px; box-shadow: 0 6px 10px rgba(0, 0, 0, .15); }
.shelf h3 { font-family: var(--round); font-weight: 800; color: var(--navy); font-size: 22px; line-height: 1.5; margin: 0 0 4px; }
.shelf .sub { color: var(--muted); margin: 0 0 10px; }
.status { display: inline-block; background: var(--yellow); color: #4a3a00; font-weight: 700; font-size: 13px; padding: 2px 12px; border-radius: 999px; }

/* しおりの紹介 */
.about-shiori { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; background: var(--card); border-radius: 22px; padding: 26px; border: 1px solid var(--line); }
.about-shiori img { width: 170px; }
.about-shiori h3 { font-family: var(--round); font-weight: 800; color: var(--navy); font-size: 22px; margin: 0 0 6px; }

/* フッター */
.site-footer { background: var(--navy); color: #dfe6f2; margin-top: 40px; padding: 34px 0 40px; font-size: 14px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; }
.site-footer .fl { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin: 0; }

/* 記事 */
.crumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.crumb a { color: var(--muted); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; padding: 10px 0 30px; }
.article h1 { font-family: var(--round); font-weight: 800; color: var(--navy); font-size: 30px; line-height: 1.5; margin: 10px 0 10px; }
.answer { position: relative; background: var(--card); border: 2px solid var(--navy); border-radius: 20px; padding: 20px 22px 20px 130px; margin: 22px 0 26px; }
.answer img { position: absolute; left: 14px; bottom: 0; width: 104px; }
.answer h2 { margin: 0 0 6px; font-family: var(--round); font-size: 18px; color: var(--red); }
.answer ol { margin: 0; padding-left: 1.3em; }
.answer li { font-weight: 600; margin: 3px 0; }
.chapters { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.chapters button { all: unset; cursor: pointer; display: flex; gap: 10px; align-items: baseline; padding: 6px 8px; border-radius: 8px; width: 100%; box-sizing: border-box; }
.chapters button:hover, .chapters button:focus-visible { background: var(--paper-2); }
.chapters .t { font-family: var(--round); font-weight: 800; color: var(--red); min-width: 3.2em; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 26px 0; }
.num-card { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: 14px; padding: 14px 14px 12px; }
.num-card:nth-child(even) { border-top-color: var(--red); }
.num-card .k { font-size: 13px; color: var(--muted); font-weight: 700; line-height: 1.5; }
.num-card .v { font-family: var(--round); font-weight: 800; color: var(--navy); font-size: 34px; line-height: 1.25; }
.num-card .n { font-size: 12px; color: var(--muted); line-height: 1.6; }
.body h2 { position: relative; font-family: var(--round); font-weight: 800; color: var(--navy); font-size: 23px; line-height: 1.5; margin: 44px 0 14px; padding: 10px 0 10px 34px; border-bottom: 2px solid var(--line); }
.body h2::before { content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 38px; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%); }
.body h3 { font-family: var(--round); color: var(--navy); font-size: 19px; margin: 26px 0 8px; }
.body figure { margin: 18px 0; }
.body figure img { border-radius: 12px; border: 1px solid var(--line); }
.body figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.formula { font-family: var(--round); font-weight: 800; font-size: 22px; color: var(--navy); background: var(--card); border: 2px dashed var(--navy); border-radius: 14px; padding: 14px 18px; text-align: center; }
.formula em { font-style: normal; color: var(--red); }
.note { background: #fff7d6; border-left: 6px solid var(--yellow); border-radius: 10px; padding: 12px 16px; font-size: 15px; }
.say { display: flex; gap: 12px; align-items: flex-end; margin: 22px 0; }
.say img { width: 76px; flex: none; }
.say .bubble { flex: 1; }
.tbl-wrap { overflow-x: auto; }
table.quick { width: 100%; border-collapse: collapse; background: var(--card); font-size: 16px; }
table.quick th, table.quick td { border: 1px solid var(--line); padding: 9px 12px; text-align: center; }
table.quick thead th { background: var(--navy); color: #fff; font-family: var(--round); }
table.quick tbody th { background: var(--paper-2); color: var(--navy); font-family: var(--round); }
table.quick tr.hl td, table.quick tr.hl th { background: #fff3b8; font-weight: 700; }
.check { list-style: none; padding: 0; }
.check li { position: relative; padding: 8px 0 8px 40px; border-bottom: 1px dashed var(--line); font-weight: 600; }
.check li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 20px; height: 20px; border: 2px solid var(--navy); border-radius: 5px; background: #fff; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 10px 0; }
.faq summary { cursor: pointer; font-family: var(--round); font-weight: 800; color: var(--navy); padding: 10px 0; list-style: none; }
.faq summary::before { content: "Q"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; margin-right: 10px; font-size: 14px; }
.faq .fa { display: grid; grid-template-columns: 1fr 150px; gap: 16px; align-items: start; padding-bottom: 12px; }
.faq .fa .yt { aspect-ratio: 9 / 16; border-radius: 10px; }
.bookbox { display: grid; grid-template-columns: 150px 1fr; gap: 22px; background: var(--card); border: 2px solid var(--navy); border-radius: 20px; padding: 22px; margin: 40px 0 20px; }
.bookbox .eyebrow { font-family: var(--round); font-weight: 800; color: var(--red); font-size: 14px; }
.bookbox h2 { margin: 2px 0 2px; font-family: var(--round); color: var(--navy); font-size: 21px; line-height: 1.5; border: 0; padding: 0; }
.bookbox h2::before { display: none; }
.bookbox .by { color: var(--muted); margin: 0 0 8px; font-size: 14px; }
.bookbox .toc { font-size: 14px; color: var(--ink); margin: 8px 0 12px; padding-left: 1.2em; }
.sources { font-size: 14px; }
.sources li { margin: 6px 0; }
.aside-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 18px; }
.aside-box h3 { margin: 0 0 8px; font-family: var(--round); color: var(--navy); font-size: 17px; }
.aside-sticky { position: sticky; top: 84px; }
.aside-box ol { margin: 0; padding-left: 1.3em; font-size: 14px; line-height: 1.7; }
.aside-box ol a { text-decoration: none; }
.aside-box .shiori-mini { display: flex; gap: 10px; align-items: center; }
.aside-box .shiori-mini img { width: 64px; }
.editorial { font-size: 13px; color: var(--muted); background: var(--paper-2); border-radius: 12px; padding: 12px 16px; margin-top: 24px; }

/* スマホ */
@media (max-width: 900px) {
  .gnav { display: none; }
  .hero-card, .themes, .shelf, .about-shiori, .article { grid-template-columns: 1fr; }
  .hero-card { padding: 18px; gap: 18px; }
  .hero-card h1 { font-size: 23px; }
  .hero .bubble { display: none; }
  .hero-shiori { width: 84px; right: 4px; bottom: 4px; }
  .promise-row, .shorts { grid-template-columns: 1fr; }
  .shorts { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .short { scroll-snap-align: start; }
  .shelf .book { max-width: 200px; margin: 0 auto; }
  .about-shiori img { width: 130px; margin: 0 auto; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .article h1 { font-size: 23px; }
  .answer { padding: 18px 18px 18px 18px; }
  .answer img { position: static; width: 70px; float: right; margin: -6px -4px 0 6px; }
  .chapters { grid-template-columns: 1fr; }
  .faq .fa { grid-template-columns: 1fr; }
  .faq .fa .yt { max-width: 220px; }
  .bookbox { grid-template-columns: 110px 1fr; padding: 16px; gap: 14px; }
  .aside-sticky { position: static; }
  body { font-size: 16.5px; }
}
@media (max-width: 420px) {
  .logo span { font-size: 17px; }
  .btn-sub { padding: 7px 11px; font-size: 13px; }
  .site-header .wrap { gap: 10px; }
  .ribbon-h { font-size: 22px; }
  .bookbox { grid-template-columns: 1fr; }
  .bookbox img { max-width: 140px; }
}

/* 同じ見た目で読める範囲を広げるため、操作と折り返しを本番用に補う。 */
:root { --muted: #605e59; --red: #b63c36; }
html { scroll-padding-top: 90px; }
body { font-size: 18px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--yellow); }
a:hover { text-decoration-thickness: 2px; }
button, input, summary { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: #ffd64088; }
.skip-link { position: fixed; top: -100px; left: 12px; padding: 12px 20px; background: var(--navy); color: #fff; z-index: 50; }
.skip-link:focus { top: 10px; }
.logo, .gnav a, .btn-sub, .btn, .fl a, .text-link, .crumb a, .aside-box a, .mobile-toc a, .sources a { min-height: 44px; }
.gnav a, .fl a, .text-link, .crumb a, .aside-box a, .mobile-toc a, .sources a { display: inline-flex; align-items: center; }
.gnav { gap: 18px; }
.gnav a, .fl a { min-width: 44px; justify-content: center; }
.body p a { display: inline-flex; align-items: center; min-height: 44px; }
.crumb a, .aside-box a, .mobile-toc a { min-width: 44px; }
.safety a { display: inline-flex; align-items: center; min-height: 44px; }
.hero-card > *, .article > *, .shelf > *, .bookbox > *, .themes > *, .article-card > * { min-width: 0; }
.hero-card { align-items: start; }
.hero-card .yt { width: 100%; }
.video-play { display: block; width: 100%; height: 100%; color: inherit; }
.video-play:focus-visible { outline: 4px solid var(--yellow); outline-offset: -6px; }
.yt iframe { display: block; }
.video-play .q { text-decoration: none; }
.short .image-note { display: block; margin-top: 8px; font-size: 12px; }
.theme-card div { background: #152c4be8; width: 100%; }
.theme-card::after { background: linear-gradient(transparent 50%, #14233c40); }
.themes { align-items: stretch; }
.btn-sub { justify-content: center; max-width: 100%; }
.next-card .btn-sub { align-self: start; }
.article h1 { font-size: 30px; }
.article { grid-template-columns: minmax(0,1fr) 270px; }
.answer { padding-left: 126px; }
.safety { margin: 24px 0; }
.safety h2 { margin: 0; font: 800 19px/1.6 var(--round); color: var(--navy); }
.safety p { margin: 8px 0 0; }
.chapters a { display: flex; gap: 12px; align-items: baseline; padding: 8px; min-height: 44px; font-size: 15px; line-height: 1.7; border-radius: 8px; text-decoration: none; }
.chapters a:hover { background: var(--paper-2); }
.chapters .t { flex: none; }
.numbers { grid-template-columns: repeat(2,minmax(0,1fr)); }
.num-card .v { font-size: 38px; }
.num-card .n { font-size: 14px; }
.num-card .k { font-size: 14px; }
.body { font-size: 18px; line-height: 1.85; }
.body p { margin: 1em 0; }
.body h2, .body h3, [id] { scroll-margin-top: 12px; }
.body .note { font-size: 16px; }
.formula { font-size: 21px; }
.tbl-wrap { margin: 22px 0; border-radius: 10px; }
table.quick { font-size: 15px; table-layout: fixed; }
table.quick caption { text-align: left; font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
table.quick th, table.quick td { padding: 10px 5px; }
.faq summary { display: flex; align-items: baseline; min-height: 52px; line-height: 1.65; gap: 10px; }
.faq summary::before { flex: 0 0 26px; margin: 0; }
.faq summary::after { content: '+'; margin-left: auto; }
.faq details[open] summary::after { content: '−'; }
.faq .fa p { font-size: 17px; }
.faq .yt .q { display: none; }
.sources ol { padding-left: 22px; }
.sources a { text-underline-offset: 3px; }
.sources li > span { display: block; color: var(--muted); }
.aside-box h2 { font: 800 17px/1.6 var(--round); color: var(--navy); margin: 0 0 8px; }
.aside-box a { padding: 5px 0; }
.aside-box .btn-sub { padding: 8px 14px; }
.aside-box .shiori-mini p { font: 800 17px/1.6 var(--round); color: var(--navy); }
.aside-sticky { top: 82px; }
.mobile-toc { display: none; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 0 10px; list-style: none; padding: 0; margin: 0; align-items: center; }
.crumb li { display: inline; }
.crumb li+li::before { content: '›'; margin-right: 10px; }
.crumb [aria-current] { font-size: 13px; }
.page-title { font: 800 32px/1.5 var(--round); color: var(--navy); margin: 0 0 12px; }
.lede { max-width: 48em; margin-bottom: 30px; }
.article-list { display: grid; gap: 22px; margin: 24px 0; }
.article-card { display: grid; grid-template-columns: 280px 1fr; gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.article-card img { border-radius: 10px; }
.article-card h2 { font: 800 22px/1.6 var(--round); margin: 5px 0 10px; }
.article-card h2 a { text-decoration: none; display: block; min-height: 44px; }
.article-card h2 a:hover { text-decoration: underline; }
.article-card p { margin: 4px 0; font-size: 16px; }
.article-card p.meta { font-size: 14px; }
.topic-links { display: flex; flex-wrap: wrap; gap: 10px; }
.books-list { display: grid; gap: 50px; }
.shelf .book { margin-left: 24px; margin-right: 24px; }
.shelf { grid-template-columns: 268px 1fr; }
.shelf .eyebrow, .bookbox .eyebrow { color: var(--red); font-size: 14px; font-weight: 700; }
.shelf .by { color: var(--muted); font-size: 15px; }
.about-shiori h2 { font: 800 22px/1.6 var(--round); color: var(--navy); margin: 0; }
.prose { max-width: 780px; margin: 40px auto; }
.company { display: grid; grid-template-columns: 145px 1fr; gap: 12px 22px; }
.company dt { font-weight: 700; color: var(--navy); padding: 8px 0; }
.company dd { margin: 0; padding: 8px 0; }
.error-page { padding: 60px 0; text-align: center; max-width: 700px; margin: auto; }
.error-page img { width: 76px; margin: 12px auto; }
.error-page .actions { justify-content: center; }
.error-number { font: 800 60px/1.3 var(--round); color: var(--red); }
.error-page h1 { font: 800 28px/1.6 var(--round); color: var(--navy); }
.empty { padding: 30px; background: var(--card); border: 1px dashed var(--navy); border-radius: 18px; }
.preview-notice { padding: 14px 18px; border: 2px dashed var(--red); border-radius: 12px; background: #fff7d6; margin: 14px 0; font-size: 15px; }
.editorial { font-size: 14px; }
.site-footer strong { font-size: 18px; color: #fff; }
@media (max-width: 1000px) {
  .site-header .wrap { height: auto; min-height: 64px; flex-wrap: wrap; gap: 0 10px; padding-top: 8px; }
  .site-header .logo { flex: 1; }
  .gnav { display: flex; width: 100%; order: 3; justify-content: space-between; margin: 0; gap: 5px; font-size: 14px; }
  html { scroll-padding-top: 128px; }
  .aside-sticky { top: 126px; }
}
@media (max-width: 900px) {
  body, .body { font-size: 18px; }
  .article, .shelf { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .article h1 { font-size: 26px; }
  .answer { padding: 18px; }
  .answer img { width: 70px; }
  .mobile-toc { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin: 24px 0; }
  .mobile-toc summary { min-height: 44px; padding: 6px 0; font-weight: 700; color: var(--navy); cursor: pointer; }
  .mobile-toc ol { padding-left: 22px; }
  .article aside { display: none; }
  .article-card { grid-template-columns: 230px 1fr; }
  .shelf .book { margin: 0 auto; }
  .bookbox { grid-template-columns: 150px 1fr; }
  .shorts { grid-template-columns: repeat(3,minmax(0,1fr)); overflow: visible; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .site-header .wrap { padding: 6px 14px 0; }
  .logo { gap: 6px; }
  .logo span { font-size: 17px; }
  .logo img { width: 32px; height: 32px; }
  .hero-card { padding: 14px; border-radius: 18px; }
  .hero-card h1 { font-size: 23px; }
  .points { font-size: 16px; }
  .article h1 { font-size: 24px; }
  .answer { font-size: 17px; }
  .answer img { float: right; }
  .body h2 { font-size: 22px; }
  .shorts { grid-template-columns: repeat(3,78%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 3px 3px 14px; }
  .short .yt { aspect-ratio: 9/12; }
  .short .yt .q { font-size: 16px; }
  .article-card { grid-template-columns: 1fr; padding: 16px; gap: 12px; }
  .article-card h2 { font-size: 20px; }
  .bookbox { grid-template-columns: 1fr; }
  .bookbox > .book { width: 140px; margin: 0 auto; }
  .bookbox h2 { font-size: 21px; }
  .page-title { font-size: 28px; }
  .company { grid-template-columns: 1fr; gap: 0; }
  .company dt { padding: 12px 0 0; }
  .company dd { padding: 0 0 12px; border-bottom: 1px solid var(--line); }
  table.quick { font-size: 14px; }
  table.quick th, table.quick td { padding: 10px 3px; }
  .formula { padding: 14px 10px; font-size: 19px; }
  .about-shiori { padding: 20px; gap: 16px; }
  .about-shiori img { width: 120px; }
  .fl { gap: 8px 16px!important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation: none!important; transition: none!important; }
  .shorts { scroll-snap-type: none; }
}
