/* 各画面で必要になる細かいスタイルの追加 */

/* mood pill */
.mood-pill {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--sub);
  font-family: inherit;
  transition: all .15s;
  display: inline-flex; align-items: center; gap: 4px;
}
.mood-pill .m-hash { color: var(--brass); font-family: var(--font-en-serif); font-style: italic; }
.mood-pill:hover { color: var(--primary); border-color: var(--primary); }
.mood-pill.is-on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.mood-pill.is-on .m-hash { color: var(--brass-2); }

/* brass divider */
.brass-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 28px 0;
}
.brass-divider::before,
.brass-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass) 50%, transparent);
}
.brass-divider .diamond {
  width: 7px; height: 7px; transform: rotate(45deg);
  background: var(--brass);
}

/* ---------- ヒーロー(今日の一冊) ---------- */
.hero {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 32px;
  background:
    radial-gradient(ellipse 600px 300px at 100% 50%, color-mix(in oklab, var(--primary) 8%, transparent), transparent 70%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brass-2), var(--brass), var(--brass-deep));
}
.hero > *:not(.hero-watermark) { position: relative; z-index: 1; }

/* SVG を CSS mask で読み込んで現在の color で着色する汎用クラス
   game-icons.net の SVG は「黒背景 + 白シルエット」形式なので luminance マスクで動作 */
.icon-mask {
  display: inline-block;
  width: 100%; height: 100%;
  background-color: currentColor;
  -webkit-mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-mode: luminance;
  mask-image: var(--icon);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  mask-mode: luminance;
}

/* ヒーロー右端の透過ウォーターマーク (index hero / review hero 共通) */
.hero-watermark, .rev-hero-watermark {
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  width: 320px; height: 320px;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.hero-watermark img, .hero-watermark svg,
.rev-hero-watermark img, .rev-hero-watermark svg {
  width: 100%; height: 100%;
  object-fit: contain;
}
/* ホームズ PNG はシルエットなので深緑 (primary) に着色 */
.hero-watermark img.tint-primary,
.rev-hero-watermark img.tint-primary {
  filter: brightness(0) saturate(100%) invert(13%) sepia(45%) saturate(680%) hue-rotate(110deg) brightness(85%);
}
.hero .hero-cover { width: 220px; height: 320px; padding: 18px 16px; }
.hero-body .eyebrow-en {
  font-family: var(--font-en-serif); font-style: italic;
  font-size: 13px; color: var(--brass); letter-spacing: 0.18em;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-body .eyebrow-en::before { content: "❦"; color: var(--brass-2); }
.hero-body h2 {
  font-family: var(--font-display);
  font-size: 32px; line-height: 1.35; margin: 8px 0 4px;
  font-weight: 600; letter-spacing: 0.02em; color: var(--primary);
}
.hero-body .author-line { color: var(--sub); margin-bottom: 14px; font-size: 13.5px; }
.hero-body .author-line a:hover { color: var(--primary); }
.hero-body .pull {
  border-left: 3px solid var(--brass);
  padding: 6px 0 6px 16px; margin: 16px 0 18px;
  font-family: var(--font-display);
  font-size: 16px; line-height: 1.7; color: var(--ink);
}
.hero-body .summary { font-size: 13.5px; color: var(--sub); margin-bottom: 18px; max-width: 56ch; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.path-card { padding-top: 22px; }
.path-card .pc-icon {
  margin-bottom: 12px; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--bg-deep);
  border-radius: 50%;
  border: 1px solid var(--brass);
  color: var(--brass);
}
.path-card .num { font-size: 22px; }

/* footer emblem (金線装飾) */
.site-footer .footer-emblem {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; opacity: 0.9;
}

/* ---------- 探し方ナビ(3カード) ---------- */
.path-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.path-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  transition: all .2s;
  position: relative; overflow: hidden;
}
.path-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.path-card .num {
  font-family: var(--font-en-display);
  font-size: 28px; color: var(--primary);
  letter-spacing: 0.05em;
}
.path-card h4 {
  margin: 4px 0 4px; font-size: 16px;
  font-family: var(--font-display); font-weight: 600;
}
.path-card p { margin: 0; font-size: 12.5px; color: var(--sub); line-height: 1.7; }
.path-card .arrow {
  margin-top: 12px;
  font-family: var(--font-en-serif); font-style: italic;
  color: var(--primary); font-size: 12px;
  letter-spacing: 0.06em;
}

/* ---------- 横断特集 ---------- */
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer; transition: all .2s;
  position: relative;
}
.feature-card:hover { border-color: var(--primary); }
.feature-card .ftype {
  font-family: var(--font-en-serif); font-style: italic;
  color: var(--primary); font-size: 12px; letter-spacing: 0.15em;
}
.feature-card h4 {
  margin: 4px 0 4px;
  font-family: var(--font-display); font-size: 16.5px;
  line-height: 1.5; padding-right: 60px; font-weight: 600;
}
.feature-card .fsub {
  font-size: 11.5px; color: var(--sub); margin-bottom: 10px;
  font-family: var(--font-en-serif); font-style: italic;
}
.feature-card .flead { font-size: 13px; line-height: 1.75; }
.feature-card .fmeta {
  margin-top: 12px; font-size: 11px; color: var(--muted);
  font-family: var(--font-en-serif); letter-spacing: 0.05em;
}
.feature-card .ai-mark {
  position: absolute; top: 16px; right: 16px;
}

/* ---------- レビューブロック ---------- */
.review-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.review-cards .review {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
  transition: all .2s;
}
.review-cards .review:hover { border-color: var(--primary); }
.review-cards .review .date {
  font-size: 11px; color: var(--muted);
  font-family: var(--font-en-serif); letter-spacing: 0.06em;
}
.review-cards .review h4 {
  margin: 4px 0 2px; font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
}
.review-cards .review .author {
  font-size: 12px; color: var(--sub); margin-bottom: 10px;
}
.review-cards .review .body { font-size: 13px; line-height: 1.8; color: var(--ink); }
.review-cards .review .r-moods {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.review-cards .review .r-mood {
  font-size: 10.5px;
  font-family: var(--font-jp);
  color: var(--accent);
  background: rgba(20, 56, 47, 0.06);
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------- 人気記事ランキング ---------- */
.popular {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none; margin: 0; padding: 0;
}
.popular li {
  display: grid; grid-template-columns: 56px 1fr auto auto; gap: 14px;
  align-items: center; padding: 14px 22px; cursor: pointer;
  border-top: 1px solid var(--line-soft);
  transition: background .15s;
}
.popular li:first-child { border-top: none; }
.popular li:hover { background: var(--bg-deep); }
.popular .rank {
  font-family: var(--font-en-display);
  font-size: 26px; color: var(--muted); text-align: center;
  letter-spacing: 0.02em;
}
.popular li:nth-child(1) .rank,
.popular li:nth-child(2) .rank,
.popular li:nth-child(3) .rank { color: var(--brass); }
.popular .body .ttl { font-size: 14px; font-family: var(--font-display); font-weight: 600; }
.popular .body .auth { font-size: 11.5px; color: var(--sub); }
.popular .ttype {
  font-size: 10.5px; padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--sub);
  font-family: var(--font-en-serif); letter-spacing: 0.1em;
}
.popular .views {
  font-size: 12px; color: var(--muted);
  min-width: 56px; text-align: right;
  font-family: var(--font-en-serif); font-style: italic;
}

/* ---------- 新刊リリース ---------- */
.releases {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.release {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
  align-items: center; cursor: pointer;
}
.release:hover { border-color: var(--primary); }
.release .cover { width: 64px; height: 92px; padding: 8px 7px; }
.release .cover .c-title { font-size: 9.5px; }
.release .cover .c-author { display: none; }
.release-body .date {
  font-size: 11px; color: var(--brass); font-family: var(--font-en-serif);
  letter-spacing: 0.1em; font-style: italic;
}
.release-body .ttl { font-size: 13.5px; font-family: var(--font-display); font-weight: 600; margin-top: 2px; }
.release-body .auth { font-size: 11.5px; color: var(--sub); }
.release-body .note { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* ---------- カテゴリブロック ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cat-block {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.cat-block h4 {
  margin: 0 0 4px; font-family: var(--font-display);
  font-size: 16px; color: var(--primary); font-weight: 600;
}
.cat-block .desc { font-size: 12px; color: var(--sub); margin-bottom: 14px; }
.cat-block ul { margin: 0; padding: 0; list-style: none; }
.cat-block li {
  padding: 8px 0; border-top: 1px dotted var(--line);
  font-size: 13px; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  transition: color .15s, padding .15s;
}
.cat-block li:hover { color: var(--primary); padding-left: 4px; }
.cat-block li::before {
  content: "›"; color: var(--primary);
  font-family: var(--font-en-display);
}

/* ---------- 気分パネル(常時) ---------- */
.mood-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.mood-panel .mp-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px;
}
.mood-panel .mp-head h3 {
  margin: 0; font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
}
.mood-panel .mp-head .hint {
  font-size: 11.5px; color: var(--sub);
  font-family: var(--font-en-serif); font-style: italic;
}
.mood-panel .mp-head .count {
  margin-left: auto;
  font-size: 12px; color: var(--primary);
  font-family: var(--font-en-serif); letter-spacing: 0.06em;
  font-weight: 600;
}
.mood-panel .mp-cats {
  display: grid; grid-template-columns: 110px 1fr; row-gap: 8px;
  align-items: start;
}
.mood-panel .mp-cat {
  font-size: 11.5px; color: var(--sub);
  letter-spacing: 0.18em; padding-top: 6px;
  font-family: var(--font-display);
}
.mood-panel .mp-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.mood-panel .mp-foot {
  display: flex; gap: 8px; margin-top: 16px;
  border-top: 1px dotted var(--line); padding-top: 14px;
}

/* ---------- マトリクス ---------- */
.matrix-wrap {
  position: relative; width: 100%; max-width: 760px; aspect-ratio: 1;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-image:
    repeating-linear-gradient(0deg, var(--line-soft) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, var(--line-soft) 0 1px, transparent 1px 76px);
}
.matrix-wrap .ax {
  position: absolute; background: var(--brass); opacity: 0.6;
}
.matrix-wrap .ax.x { left: 0; right: 0; top: 50%; height: 1px; }
.matrix-wrap .ax.y { top: 0; bottom: 0; left: 50%; width: 1px; }
.matrix-wrap .ax-label {
  position: absolute; font-family: var(--font-display);
  font-size: 12px; color: var(--sub); letter-spacing: 0.08em;
}
.matrix-wrap .ax-label.t { top: 12px; left: 50%; transform: translateX(-50%); }
.matrix-wrap .ax-label.b { bottom: 12px; left: 50%; transform: translateX(-50%); }
.matrix-wrap .ax-label.l { left: 14px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: 0 50%; }
.matrix-wrap .ax-label.r { right: 14px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: 100% 50%; }
.matrix-wrap .dot {
  position: absolute; transform: translate(-50%, -50%);
  cursor: pointer;
}
.matrix-wrap .dot .pin {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--primary);
  border: 1.5px solid var(--brass-2);
  transition: transform .2s;
}
.matrix-wrap .dot:hover .pin { transform: scale(1.6); }
.matrix-wrap .dot .tip {
  position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%);
  background: var(--ink); color: var(--bg);
  padding: 6px 10px; font-size: 11.5px; border-radius: 3px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s;
  z-index: 10;
}
.matrix-wrap .dot:hover .tip { opacity: 1; }
.matrix-wrap .dot.cat-modern .pin { background: var(--accent-warm); }

/* ---------- 詳細ページ ---------- */
.book-head {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
  margin-bottom: 28px; position: relative;
  box-shadow: var(--shadow-soft);
}
.book-head::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brass), var(--primary), var(--brass));
}
.book-head .head-cover { width: 220px; height: 320px; padding: 18px 16px; }
.book-head .head-meta .cat-line {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  margin-bottom: 8px;
}
.book-head .head-meta h1 {
  margin: 0; font-family: var(--font-display);
  font-size: 30px; line-height: 1.4; font-weight: 600;
}
.book-head .head-meta .author-line {
  color: var(--sub); margin: 6px 0 14px;
}
.book-head .head-meta .moods {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 18px;
}
.book-head .head-meta .moods span {
  font-size: 11px; color: var(--sub);
  background: var(--bg-deep); padding: 3px 9px; border-radius: 999px;
}
.review-body {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 56px;
  margin-bottom: 32px;
}
.review-body .ai-banner {
  background: var(--bg-deep);
  border-left: 3px solid var(--brass);
  padding: 12px 16px; margin-bottom: 28px;
  font-size: 12px; color: var(--sub);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.review-body .ai-banner .row1 {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.review-body .ai-banner .row2 {
  margin-top: 6px; padding-top: 6px;
  border-top: 1px dotted var(--line);
  font-size: 11px;
}
.review-body .body p { margin: 0 0 1.4em; font-size: 15px; line-height: 1.95; }
.review-body .body p:first-child::first-letter {
  font-family: var(--font-en-display);
  font-size: 3.2em; float: left;
  line-height: 0.9; padding: 4px 8px 0 0;
  color: var(--primary);
}

.related-section h3 {
  font-family: var(--font-display);
  font-size: 18px; margin: 0 0 4px;
  border-bottom: 1px solid var(--line); padding-bottom: 10px;
}
.related-section .desc { font-size: 12px; color: var(--sub); margin: 4px 0 18px; }

/* ---------- “読み終えた人へ” 流れカルーセル ---------- */
.next-flow {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px 0;
  position: relative; overflow: hidden;
}
.next-flow::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 200px at 0% 50%, color-mix(in oklab, var(--primary) 8%, transparent), transparent 70%);
  pointer-events: none;
}
.next-flow .nf-head {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px;
  position: relative;
}
.next-flow .nf-head .eyebrow-en { color: var(--primary); }
.next-flow .nf-head h3 { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.next-flow .nf-rail {
  display: flex; gap: 14px; overflow-x: auto;
  padding: 4px 2px 14px; position: relative;
}
.next-flow .nf-rail::-webkit-scrollbar { height: 6px; }
.next-flow .nf-rail::-webkit-scrollbar-thumb { background: var(--line); }
.next-flow .nf-card {
  flex: 0 0 240px; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; cursor: pointer; transition: all .2s;
  display: grid; grid-template-columns: 64px 1fr; gap: 12px;
}
.next-flow .nf-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.next-flow .nf-card .cover { width: 64px; height: 92px; padding: 8px 6px; }
.next-flow .nf-card .cover .c-title { font-size: 9.5px; }
.next-flow .nf-card .cover .c-author { display: none; }
.next-flow .nf-card .nf-meta .ttl { font-family: var(--font-display); font-size: 13px; font-weight: 600; line-height: 1.4; }
.next-flow .nf-card .nf-meta .reason { font-size: 11px; color: var(--sub); margin-top: 6px; line-height: 1.6; }

/* ---------- 著者一覧 ---------- */
.authors-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.author-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  cursor: pointer; transition: all .2s;
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
}
.author-card:hover { border-color: var(--primary); }
.author-card .author-mono {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary); color: var(--brass-2);
  display: grid; place-items: center;
  font-family: var(--font-en-display); font-size: 24px;
  border: 1.5px solid var(--brass);
  box-shadow: inset 0 0 0 2px var(--paper);
}
.author-card h4 {
  margin: 0; font-family: var(--font-display); font-size: 16px;
  font-weight: 600;
}
.author-card .era {
  font-size: 11.5px; color: var(--sub);
  font-family: var(--font-en-serif); font-style: italic;
}
.author-card p { margin: 8px 0 0; font-size: 12.5px; color: var(--sub); line-height: 1.7; }


/* ---------- レイアウトバリエーション ---------- */
/* B. マガジン型: 中央寄せ・余白広め・ヒーロー縦長 */
[data-layout="magazine"] .page {
  max-width: 980px;
}
[data-layout="magazine"] .hero {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 56px 48px;
}
[data-layout="magazine"] .hero .hero-cover {
  margin: 0 auto;
}
[data-layout="magazine"] .hero .hero-meta {
  align-items: center;
}
[data-layout="magazine"] .hero .hero-meta .badges,
[data-layout="magazine"] .hero .hero-meta .quote {
  justify-content: center; text-align: center;
}
[data-layout="magazine"] .section-title {
  text-align: center; justify-content: center;
}
[data-layout="magazine"] .section-title::after {
  display: none;
}
[data-layout="magazine"] .mood-section .mood-list {
  justify-content: center;
}

/* C. コラム密集型: 2カラムでセクションを横並びに */
[data-layout="columned"] .page {
  max-width: 1280px;
}
[data-layout="columned"] .col-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
[data-layout="columned"] .hero {
  grid-template-columns: 180px 1fr;
  padding: 28px;
}
[data-layout="columned"] .hero-cover { width: 160px; height: 232px; }
[data-layout="columned"] .path-grid {
  grid-template-columns: repeat(4, 1fr);
}
[data-layout="columned"] .authors-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* D. ジャーナル型: 余白多め、シンプル、線細め */
[data-layout="journal"] .page {
  max-width: 880px;
  padding-top: 56px;
  padding-bottom: 56px;
}
[data-layout="journal"] section { margin-bottom: 88px; }
[data-layout="journal"] .hero {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 40px 0;
}
[data-layout="journal"] .hero::before { display: none; }
[data-layout="journal"] .path-card,
[data-layout="journal"] .author-card {
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
[data-layout="journal"] .path-grid,
[data-layout="journal"] .authors-grid {
  border-bottom: 1px solid var(--line);
}

/* ---------- Reviews list (新着レビュー一覧) ---------- */
.reviews-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 18px 0 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  gap: 16px; flex-wrap: wrap;
}
.rt-tabs {
  display: flex; gap: 4px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.rt-tab {
  display: inline-flex; flex-direction: column; align-items: center;
  background: transparent; border: none; cursor: pointer;
  padding: 7px 18px; border-radius: 999px;
  color: var(--sub);
  transition: all .18s;
  line-height: 1.2;
}
.rt-tab:hover { color: var(--ink); }
.rt-tab.is-on {
  background: var(--accent);
  color: var(--paper);
}
.rt-tab .rt-en {
  font-family: var(--font-en-serif);
  font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}
.rt-tab .rt-jp {
  font-family: var(--font-jp);
  font-size: 12px; font-weight: 600;
  margin-top: 1px;
}
.rt-count {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-en-serif);
  letter-spacing: 0.06em;
  color: var(--sub);
}
.rt-num {
  font-family: var(--font-en-display);
  font-size: 28px; color: var(--brass);
  letter-spacing: 0.02em;
}
.rt-of {
  font-size: 11px;
  text-transform: uppercase;
}

.reviews-list {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.rl-row {
  display: grid;
  grid-template-columns: 44px 92px 1fr 28px;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background .15s, transform .15s;
  cursor: pointer;
}
.rl-row:first-child { border-top: none; }
.rl-row:hover {
  background: var(--bg-deep);
}
.rl-row:hover .rl-arrow {
  color: var(--brass);
  transform: translateX(4px);
}
.rl-row:hover .rl-cover .cover {
  transform: translateY(-2px);
  transition: transform .2s;
}
.rl-num {
  font-family: var(--font-en-display);
  font-size: 22px; color: var(--muted);
  letter-spacing: 0.02em;
  padding-top: 2px;
  text-align: center;
}
.rl-cover {
  width: 92px;
}
.rl-cover .cover {
  width: 92px; height: 134px;
  padding: 10px 9px;
}
.rl-cover .cover .c-title { font-size: 11px; }
.rl-cover .cover .c-author { font-size: 9px; }
.rl-body { min-width: 0; }
.rl-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin-bottom: 6px;
}
.rl-cat {
  font-family: var(--font-en-serif);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.rl-date {
  font-family: var(--font-en-serif);
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em;
  margin-left: auto;
}
.rl-title {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  margin: 2px 0 3px;
  letter-spacing: 0.01em;
}
.rl-author {
  font-size: 12.5px; color: var(--sub);
  margin-bottom: 10px;
  font-family: var(--font-jp);
}
.rl-excerpt {
  font-size: 13.5px; line-height: 1.85;
  color: var(--ink); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rl-moods {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-top: 12px;
}
.rl-mood {
  font-size: 10.5px;
  font-family: var(--font-jp);
  color: var(--accent);
  background: rgba(20, 56, 47, 0.06);
  padding: 2px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.rl-arrow {
  font-family: var(--font-en-serif);
  font-size: 18px;
  color: var(--muted);
  align-self: center;
  transition: color .15s, transform .15s;
}

/* ---------- Mood results (探索ページ・気分結果) ---------- */
.mood-results { margin-top: 28px; }
.mr-head {
  display: flex; align-items: baseline; gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mr-head .eyebrow-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  color: var(--brass);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.mr-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--accent);
  font-family: var(--font-jp);
  letter-spacing: 0.06em;
}
.mr-empty {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--sub);
}
.mr-empty-mark {
  font-family: var(--font-en-display);
  font-size: 56px;
  color: var(--brass);
  opacity: 0.4;
  margin-bottom: 8px;
  line-height: 1;
}
.mr-empty p { font-size: 13px; line-height: 1.9; margin: 0; }
.mr-empty strong { color: var(--accent); font-weight: 600; }
.mr-more {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px;
}
.mr-more-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--brass) 50%, transparent);
  opacity: 0.5;
}
.mr-more-text {
  font-size: 11.5px;
  color: var(--sub);
  font-family: var(--font-jp);
  letter-spacing: 0.04em;
}

/* ==========================================================
   Book detail page (詳細ページ・ワイドジャーナル型)
   ========================================================== */

/* === ヒーロー === */
.bk-hero {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 40px 36px;
  margin-bottom: 40px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.bk-hero::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--brass), var(--brass-2));
  border-radius: var(--radius) 0 0 var(--radius);
}

.bk-hero-stamp {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-en-serif);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
  font-size: 11px;
  white-space: nowrap;
  gap: 16px;
  flex-wrap: wrap;
}
.bks-row {
  display: inline-flex; align-items: baseline; gap: 8px;
  white-space: nowrap;
}
.bks-en { color: var(--accent); font-weight: 600; font-style: italic; white-space: nowrap; }
.bks-sep { color: var(--brass); }
.bks-num {
  color: var(--ink);
  font-family: var(--font-en-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.bks-date { font-family: var(--font-en-display); font-size: 11px; color: var(--muted); white-space: nowrap; }

.bk-hero-grid {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 36px;
  align-items: start;
}

.bk-hero-left {
  display: flex; flex-direction: column; gap: 16px;
  width: 200px;
}
.bk-cover-wrap {
  position: relative;
  width: 200px;
}
.bk-cover-wrap .cover {
  width: 200px; height: 290px; padding: 16px 14px;
}
.bk-cover-wrap .cover .c-title { font-size: 15px; }
.bk-cover-wrap .cover .c-author { font-size: 11px; }
.bk-cover-shadow {
  position: absolute; left: 6px; top: 6px;
  width: 200px; height: 290px;
  background: rgba(20, 56, 47, 0.08);
  z-index: -1;
  border-radius: 2px;
}
.bk-hero-actions {
  display: flex; flex-direction: column; gap: 6px;
  width: 200px;
}
.bk-hero-actions .btn.primary {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 14px;
  font-size: 13px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-family: var(--font-jp);
}
.bk-buy-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  width: 100%;
}
.bk-buy-row .btn.sm {
  padding: 8px 0;
  text-align: center;
  font-size: 11.5px;
  border-radius: 3px;
  width: auto;
  display: block;
  line-height: 1.3;
  font-family: var(--font-jp);
}

.bk-hero-mid { min-width: 0; padding-top: 4px; }
.bk-cat-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  margin-bottom: 18px;
}
.bk-cat {
  font-family: var(--font-en-serif);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: italic;
  white-space: nowrap;
}
.bk-cat-line .badge {
  white-space: nowrap;
}
.bk-title {
  font-family: var(--font-display);
  font-size: 34px; line-height: 1.3; font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.bk-author-line {
  font-family: var(--font-en-serif);
  font-size: 14px; color: var(--sub);
  font-style: italic;
  margin-bottom: 20px;
}
.bk-author-line .bk-author {
  color: var(--accent); font-weight: 600;
  border-bottom: 1px dotted var(--accent);
  padding-bottom: 1px;
  font-family: var(--font-jp);
  font-style: normal;
}
.bk-author-line .bk-sep { margin: 0 6px; color: var(--brass); }
.bk-author-line .bk-pub {
  color: var(--muted); font-style: normal;
  font-family: var(--font-jp);
  font-size: 12.5px;
}

.bk-pull {
  position: relative;
  font-family: var(--font-display);
  font-size: 16px; line-height: 1.85;
  color: var(--ink);
  padding: 18px 24px 18px 50px;
  background: var(--bg-deep);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
.bk-pull .bk-quote-mark {
  position: absolute; left: 16px; top: 6px;
  font-family: var(--font-en-display);
  font-size: 44px;
  color: var(--brass);
  line-height: 1;
  opacity: 0.5;
  font-style: italic;
}

.bk-moods {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.bk-mood {
  font-size: 12px;
  font-family: var(--font-jp);
  color: var(--accent);
  background: rgba(20, 56, 47, 0.06);
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* サイド・At a glance */
.bk-hero-side { padding-top: 4px; }
.bk-side-card {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.bk-side-label {
  font-family: var(--font-en-serif);
  font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  font-style: italic;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.bk-side-dl { margin: 0; }
.bk-side-dl > div {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px dotted var(--line);
  align-items: baseline;
}
.bk-side-dl > div:first-child { border-top: none; padding-top: 0; }
.bk-side-dl dt {
  font-family: var(--font-en-serif);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.bk-side-dl dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
  font-family: var(--font-jp);
  font-weight: 500;
  word-break: keep-all;
}

/* === 2カラム本文 === */
.bk-article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.bk-article-aside {
  position: sticky;
  top: 24px;
  display: flex; flex-direction: column; gap: 24px;
}
.bk-aside-block {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.bk-aside-block:last-child { border-bottom: none; padding-bottom: 0; }
.bk-aside-label {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.bk-toc {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.bk-toc li {
  display: grid; grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: baseline;
  cursor: pointer;
  padding: 3px 0;
}
.bk-toc-n {
  font-family: var(--font-en-display);
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.04em;
}
.bk-toc-label {
  font-size: 12.5px; line-height: 1.5;
  color: var(--ink);
  font-family: var(--font-jp);
}
.bk-toc li:hover .bk-toc-label { color: var(--accent); }

.bk-aside-ai {
  display: flex; gap: 10px; align-items: flex-start;
}
.bk-aside-ai p {
  font-size: 11.5px; line-height: 1.7;
  color: var(--sub);
  margin: 0;
}

.bk-aside-curator {
  display: flex; gap: 12px; align-items: center;
}
.bkc-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en-display);
  font-size: 17px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.bkc-name {
  font-size: 12.5px; font-weight: 600;
  font-family: var(--font-jp);
  color: var(--ink);
}
.bkc-role {
  font-size: 11px; color: var(--sub);
  font-family: var(--font-en-serif);
  font-style: italic;
  margin-top: 2px;
}

/* === 本文 === */
.bk-article-body { min-width: 0; }
.bk-body-head {
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.bk-body-head .eyebrow-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  color: var(--brass);
  font-size: 13px;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 8px;
}
.bk-body-title {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600;
  margin: 0; line-height: 1.45;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.bk-prose {
  max-width: 68ch;
}
.bk-p {
  font-size: 15.5px;
  line-height: 2.0;
  margin: 0 0 1.5em;
  color: var(--ink);
  font-family: var(--font-jp);
  text-wrap: pretty;
}
.bk-p.first { font-size: 16px; }
.bk-p.first::first-letter {
  font-family: var(--font-display);
  font-size: 3.6em;
  line-height: 1;
  font-weight: 600;
  color: var(--accent);
  float: left;
  margin: 0.08em 0.12em 0 0;
  padding: 4px 8px 0 0;
  border-right: 2px solid var(--brass);
}

.bk-blockquote {
  position: relative;
  margin: 36px 0;
  padding: 26px 32px 22px 56px;
  background: var(--bg-deep);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.bk-bq-mark {
  position: absolute; left: 16px; top: 8px;
  font-family: var(--font-en-display);
  font-size: 56px;
  color: var(--brass);
  line-height: 1;
  opacity: 0.5;
  font-style: italic;
}
.bk-blockquote p {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  font-style: italic;
}
.bk-bq-attr {
  font-family: var(--font-en-serif);
  font-style: italic;
  color: var(--brass);
  font-size: 11.5px;
  letter-spacing: 0.12em;
}
.bk-end {
  margin-top: 48px;
  text-align: center;
  font-family: var(--font-en-serif);
  font-style: italic;
  color: var(--brass);
  font-size: 13px;
  letter-spacing: 0.3em;
}

/* === 次の一冊 === */
.bk-next, .bk-related { margin-bottom: 48px; }
/* 「読み終えた人へ」は .next-flow を継承。ledeのみ追記 */
.next-flow.bk-next .nf-head { flex-wrap: wrap; }
.next-flow.bk-next .nf-head h3 {
  font-size: 20px;
  letter-spacing: 0.01em;
}
.next-flow.bk-next .bk-next-lede {
  margin-left: auto;
  font-size: 12px; color: var(--sub);
  font-family: var(--font-jp);
}
.next-flow.bk-next .nf-card {
  flex: 0 0 280px;
  grid-template-columns: 80px 1fr;
}
.next-flow.bk-next .nf-card .cover {
  width: 80px; height: 116px; padding: 8px 7px;
}
.next-flow.bk-next .nf-card .cover .c-title { font-size: 10.5px; }
.next-flow.bk-next .nf-card .cover .c-author {
  display: block; font-size: 8.5px;
}

/* 関連書グリッドのヘッダ */
.bk-related-head {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.bk-related-head .eyebrow-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  color: var(--brass);
  font-size: 12px;
  letter-spacing: 0.12em;
  width: 100%;
  margin-bottom: -4px;
}
.bk-related-head h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  margin: 0; letter-spacing: 0.01em;
}
.bk-related-head .lede {
  margin-left: auto;
  font-size: 12px; color: var(--sub);
  font-family: var(--font-jp);
}

/* === 関連書グリッド === */
.bk-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.bk-related-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  text-decoration: none; color: inherit;
}
.bk-related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.bk-related-card .cover {
  width: 100px; height: 144px;
  padding: 10px 9px;
  margin: 0 auto 14px;
}
.bk-related-card .cover .c-title { font-size: 11px; }
.bk-related-card .cover .c-author { font-size: 9px; }
.bkr-meta { flex: 1; display: flex; flex-direction: column; }
.bkr-cat {
  font-family: var(--font-en-serif);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.bkr-ttl {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 4px;
}
.bkr-auth {
  font-size: 11.5px; color: var(--sub);
  font-family: var(--font-jp);
  margin-bottom: 10px;
}
.bkr-push {
  font-size: 12px; line-height: 1.7;
  color: var(--ink);
  border-top: 1px dotted var(--line);
  padding-top: 10px;
  margin-top: auto;
}

/* === レスポンシブ === */
@media (max-width: 980px) {
  .bk-hero-grid {
    grid-template-columns: 180px 1fr;
    gap: 28px;
  }
  .bk-hero-side {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 8px;
  }
  .bk-side-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .bk-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .bk-hero { padding: 24px; }
  .bk-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .bk-hero-left, .bk-cover-wrap, .bk-hero-actions { width: 100%; }
  .bk-cover-wrap { max-width: 200px; }
  .bk-cover-shadow { display: none; }
  .bk-title { font-size: 28px; }
  .bk-article {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .bk-article-aside {
    position: static;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    background: var(--paper);
  }
  .bk-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .rl-row {
    grid-template-columns: 70px 1fr;
    gap: 14px; padding: 18px;
  }
  .rl-num { display: none; }
  .rl-cover { width: 70px; }
  .rl-cover .cover { width: 70px; height: 100px; padding: 8px 7px; }
  .rl-arrow { display: none; }
}

/* ==========================================================
   Review page (書評記事・3カラム エディトリアル型)
   ========================================================== */

/* スクロール進捗バー(画面上端に固定、真鍮色) */
.rev-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--brass), var(--brass-2));
  z-index: 200;
  transition: width 0.05s linear;
}

/* === Hero === */
.rev-hero {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 40px 36px;
  margin-bottom: 20px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  overflow: hidden;
}
.rev-hero > *:not(.rev-hero-watermark) { position: relative; z-index: 1; }
.rev-hero::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, var(--brass), var(--brass-2));
  border-radius: var(--radius) 0 0 var(--radius);
}
.rev-hero-stamp {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 14px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-en-serif); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--sub); font-size: 11px;
  gap: 16px; flex-wrap: wrap;
}
.rev-hero-stamp .stamp-en {
  color: var(--accent); font-weight: 600; font-style: italic;
}
.rev-hero-stamp .stamp-meta {
  display: inline-flex; gap: 10px; align-items: baseline;
  color: var(--muted); font-family: var(--font-en-display);
  letter-spacing: 0.06em;
}
.rev-hero-grid {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 36px; align-items: start;
}
.rev-hero-cover-wrap {
  position: relative; width: 240px;
}
.rev-hero-cover-wrap .cover {
  width: 240px; height: 350px; padding: 18px 16px;
}
.rev-hero-cover-wrap .cover .c-title { font-size: 17px; }
.rev-hero-cover-wrap .cover .c-author { font-size: 12px; }
.rev-hero-cover-shadow {
  position: absolute; left: 8px; top: 8px;
  width: 240px; height: 350px;
  background: rgba(20, 56, 47, 0.08);
  z-index: -1; border-radius: 2px;
}
.rev-hero-body { min-width: 0; padding-top: 4px; }
.rev-hero-body .cat-line {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px;
  margin-bottom: 14px;
}
.rev-hero-body .cat-line .cat {
  font-family: var(--font-en-serif);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  font-style: italic; white-space: nowrap;
}
.rev-hero-body h1 {
  font-family: var(--font-display);
  font-size: 32px; line-height: 1.32; font-weight: 600;
  margin: 0 0 10px; letter-spacing: 0.01em; color: var(--ink);
}
.rev-hero-body .author-line {
  font-family: var(--font-en-serif);
  font-size: 14px; color: var(--sub);
  font-style: italic; margin-bottom: 18px;
}
.rev-hero-body .author-line .author-name {
  color: var(--accent); font-weight: 600;
  border-bottom: 1px dotted var(--accent);
  padding-bottom: 1px;
  font-family: var(--font-jp); font-style: normal;
}
.rev-hero-body .author-line .sep { margin: 0 6px; color: var(--brass); }
.rev-hero-body .author-line .pub {
  color: var(--muted); font-style: normal;
  font-family: var(--font-jp); font-size: 12.5px;
}
.rev-hero-body .moods {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px;
}
.rev-hero-body .moods span {
  font-size: 12px; font-family: var(--font-jp);
  color: var(--accent); background: rgba(20, 56, 47, 0.06);
  padding: 4px 11px; border-radius: 999px;
  letter-spacing: 0.02em; white-space: nowrap;
}

/* ヒーロー内の引用 (見どころ抜粋) */
.rev-hero-pull {
  position: relative;
  font-family: var(--font-display);
  font-size: 15.5px; line-height: 1.85;
  color: var(--ink);
  padding: 14px 22px 14px 46px;
  background: var(--bg-deep);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 18px 0 16px;
  letter-spacing: 0.01em;
  text-wrap: pretty;
}
.rev-hero-pull .pull-mark {
  position: absolute; left: 14px; top: 4px;
  font-family: var(--font-en-display);
  font-size: 38px; color: var(--brass);
  line-height: 1; opacity: 0.5; font-style: italic;
}

/* ヒーロー内の購入ボタン群 (タグの下に横並び) */
.rev-hero-buy {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px; flex-wrap: wrap;
}
.rev-hero-buy .btn.primary {
  padding: 10px 18px;
  font-size: 13px; border-radius: 3px;
  letter-spacing: 0.04em; font-weight: 600;
  font-family: var(--font-jp);
  white-space: nowrap;
}
.rev-hero-buy-row {
  display: flex; gap: 6px;
}
.rev-hero-buy-row .btn.sm {
  padding: 8px 14px;
  font-size: 11.5px; border-radius: 3px;
  line-height: 1.3;
  font-family: var(--font-jp);
  white-space: nowrap;
}
.rev-hero-buy-disclosure {
  font-size: 10.5px;
  color: var(--ink-muted, #888);
  margin-top: 4px;
  font-family: var(--font-jp);
  letter-spacing: 0.02em;
}

/* === AI 帯(1行) === */
.rev-ai-band {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; margin-bottom: 32px;
  background: var(--bg-deep);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 11.5px; color: var(--sub);
  letter-spacing: 0.02em;
}
.rev-ai-band .ai-mark {
  background: var(--ink); color: var(--bg);
  font-family: var(--font-en-serif); font-style: italic;
  font-size: 10px; letter-spacing: 0.14em;
  padding: 2px 8px; border-radius: 999px;
  text-transform: uppercase;
}
.rev-ai-band .mode-label {
  font-family: var(--font-display);
  color: var(--ink); font-weight: 600;
  font-size: 12px;
}
.rev-ai-band .check {
  color: var(--primary); font-weight: 600;
  margin-left: auto;
  font-family: var(--font-en-serif); font-style: italic;
  letter-spacing: 0.06em;
}

/* === 2カラム本体 === */
.rev-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.rev-aside-label {
  font-family: var(--font-en-serif); font-style: italic;
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brass);
  margin-bottom: 12px;
}

/* 中央 prose */
.rev-prose { min-width: 0; }
.rev-prose .prose-eyebrow {
  font-family: var(--font-en-serif); font-style: italic;
  font-size: 12px; color: var(--brass);
  letter-spacing: 0.18em; text-transform: lowercase;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.rev-prose .prose-eyebrow::before { content: "❦"; color: var(--brass-2); }
.rev-prose .prose-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  margin: 0 0 28px;
  letter-spacing: 0.02em; color: var(--primary);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.rev-prose p {
  margin: 0 0 1.5em;
  font-size: 15.5px; line-height: 2.0;
  color: var(--ink);
  font-family: var(--font-mincho);
  font-feature-settings: "palt";
  text-wrap: pretty;
}
.rev-prose p:first-of-type::first-letter {
  font-family: var(--font-en-display);
  font-size: 3.6em; float: left;
  line-height: 0.92; padding: 6px 10px 0 0;
  color: var(--primary);
  font-weight: 600;
}
.rev-prose .rev-light p {
  font-size: 14.5px;
}
.rev-prose .rev-light p:first-of-type::first-letter {
  font-size: 3.0em; color: var(--sub);
}
.rev-upgrade-note {
  margin-top: 32px; padding: 14px 18px;
  background: var(--bg-deep);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 12px; color: var(--sub);
  text-align: center; line-height: 1.7;
}
.rev-end-mark {
  text-align: center;
  margin: 36px 0 8px;
  color: var(--brass);
  font-family: var(--font-en-display);
  letter-spacing: 0.5em;
}

/* 右 sticky (関連 TOP 3) */
.rev-side-aside {
  position: sticky; top: 24px;
  display: flex; flex-direction: column; gap: 16px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding-right: 4px;
}
.rev-side-aside::-webkit-scrollbar { width: 4px; }
.rev-side-aside::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.rev-side-card {
  display: grid; grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dotted var(--line);
  cursor: pointer;
  transition: opacity .15s;
}
.rev-side-card:last-child { border-bottom: none; }
.rev-side-card:hover { opacity: 0.78; }
.rev-side-card .cover { width: 56px; height: 80px; padding: 7px 6px; }
.rev-side-card .cover .c-title { font-size: 9px; }
.rev-side-card .cover .c-author { display: none; }
.rev-side-card .cat {
  font-family: var(--font-en-serif); font-style: italic;
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 3px;
}
.rev-side-card h5 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  line-height: 1.45; color: var(--ink);
}
.rev-side-card .auth {
  font-size: 11px; color: var(--sub);
  margin-bottom: 6px;
}
.rev-side-card .reason {
  font-size: 11px; color: var(--sub);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === 下部 全件関連推薦(4列) === */
.rev-related-full {
  margin-top: 12px;
}
.rev-related-head {
  display: flex; align-items: baseline; gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px; margin-bottom: 24px;
}
.rev-related-head .eyebrow-en {
  font-family: var(--font-en-serif); font-style: italic;
  font-size: 12px; color: var(--primary);
  letter-spacing: 0.15em;
}
.rev-related-head h3 {
  margin: 0; font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  letter-spacing: 0.04em;
}
.rev-related-head .lede {
  font-size: 12px; color: var(--sub);
}
.rev-related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.rev-related-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
}
.rev-related-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.rev-related-card .cover {
  width: 100%; height: 140px;
  padding: 12px 10px; margin-bottom: 12px;
}
.rev-related-card .cover .c-title { font-size: 12px; }
.rev-related-card .cover .c-author { font-size: 9.5px; }
.rev-related-card .cat {
  font-family: var(--font-en-serif); font-style: italic;
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.rev-related-card h5 {
  margin: 4px 0 4px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  line-height: 1.45;
}
.rev-related-card .auth {
  font-size: 11.5px; color: var(--sub);
  margin-bottom: 10px;
}
.rev-related-card .reason {
  font-size: 11.5px; color: var(--sub);
  line-height: 1.7;
  border-top: 1px dotted var(--line);
  padding-top: 8px;
}
.rev-related-card .reason b {
  color: var(--primary); font-weight: 600;
  font-family: var(--font-en-serif); font-style: italic;
  letter-spacing: 0.06em;
}

/* レスポンシブ */
@media (max-width: 980px) {
  .rev-grid { grid-template-columns: 1fr; gap: 32px; }
  .rev-side-aside {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    border-top: 1px solid var(--line);
    padding-top: 24px;
    margin-top: 12px;
  }
  .rev-side-card {
    flex: 0 0 280px;
    border-bottom: none;
    border-right: 1px dotted var(--line);
    padding: 0 16px 0 0;
  }
  .rev-side-card:last-child { border-right: none; }
  .rev-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .rev-hero { padding: 24px; }
  .rev-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .rev-hero-cover-wrap { width: 100%; max-width: 200px; }
  .rev-hero-cover-wrap .cover { width: 200px; height: 290px; }
  .rev-hero-cover-shadow { display: none; }
  .rev-hero-body h1 { font-size: 26px; }
  .rev-prose .prose-title { font-size: 19px; }
  .rev-prose p { font-size: 14.5px; line-height: 1.95; }
  .rev-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .rev-related-grid { grid-template-columns: 1fr; }
  .rev-ai-band .check { margin-left: 0; width: 100%; }
}

/* ==========================================================
   Matrix page (マトリクスで眺める)
   ========================================================== */

/* ヒーロー風イントロ */
.mx-page-intro {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.mx-page-intro::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brass-2), var(--brass), var(--brass-deep));
}
.mx-intro-grid {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 40px; align-items: start;
}
.mx-intro-body .eyebrow-en {
  font-family: var(--font-en-serif); font-style: italic;
  font-size: 13px; color: var(--brass); letter-spacing: 0.18em;
  display: inline-flex; align-items: center; gap: 8px;
}
.mx-intro-body .eyebrow-en::before { content: "❦"; color: var(--brass-2); }
.mx-intro-body h1 {
  font-family: var(--font-display);
  font-size: 28px; line-height: 1.32; font-weight: 600;
  color: var(--primary); margin: 8px 0 14px;
  letter-spacing: 0.02em;
}
.mx-intro-body .lede {
  font-size: 14px; line-height: 1.9;
  color: var(--ink);
  max-width: 56ch;
}
.mx-intro-body .lede + .lede { margin-top: 10px; color: var(--sub); }

/* 軸の凡例カード */
.mx-axes-card {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.mx-axes-card h4 {
  font-family: var(--font-en-serif);
  font-style: italic; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.mx-axis-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 8px 0;
  align-items: baseline;
}
.mx-axis-row + .mx-axis-row {
  border-top: 1px dotted var(--line);
  margin-top: 4px;
}
.mx-axis-row .axn {
  font-family: var(--font-en-display);
  font-size: 16px; color: var(--brass);
  letter-spacing: 0.04em;
}
.mx-axis-row .axb {
  font-size: 12.5px; line-height: 1.7;
  color: var(--ink);
  font-family: var(--font-jp);
}
.mx-axis-row .axb .from-to {
  display: block;
  color: var(--sub); font-family: var(--font-en-serif); font-style: italic;
  letter-spacing: 0.05em;
  font-size: 11px;
  margin-top: 2px;
}

/* 四象限のおすすめカード */
.mx-quadrants {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.mx-q-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  position: relative;
  display: flex; flex-direction: column;
}
.mx-q-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.mx-q-pos {
  font-family: var(--font-en-display);
  font-size: 11px; letter-spacing: 0.28em;
  color: var(--brass); text-transform: uppercase;
  margin-bottom: 4px;
}
.mx-q-axis {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px; letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  line-height: 1.5;
}
.mx-q-cover {
  align-self: center;
  margin-bottom: 14px;
}
.mx-q-card h4 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 14.5px; font-weight: 600;
  line-height: 1.45; color: var(--ink);
}
.mx-q-card .auth {
  font-size: 11.5px; color: var(--sub);
  margin-bottom: 10px;
}
.mx-q-card .blurb {
  font-size: 12px; line-height: 1.75;
  color: var(--sub);
  border-top: 1px dotted var(--line);
  padding-top: 10px;
  margin-top: auto;
}

/* マトリクス本体の余白調整 */
.mx-board-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.mx-board-hint {
  text-align: center;
  font-family: var(--font-en-serif); font-style: italic;
  letter-spacing: 0.06em;
  font-size: 12px; color: var(--muted);
  margin-top: 14px;
}

/* 読み方の補足 */
.mx-readme {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--bg-deep);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px; line-height: 1.9;
  color: var(--sub);
}
.mx-readme strong {
  font-family: var(--font-display);
  color: var(--ink); font-weight: 600;
}

@media (max-width: 980px) {
  .mx-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .mx-quadrants { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .mx-page-intro { padding: 24px; }
  .mx-quadrants { grid-template-columns: 1fr; }
}

/* ============================================================
   実書影 (Amazon LZZZZZZZ などの本物画像) のサイズ別ラッパ。
   `.cover` プレースホルダと同じ箱形にハマるよう、各サイズの
   ピクセル寸法と影・角丸を一括で当てる。
   ============================================================ */
.cover-real {
  display: block;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--bg-deep);
}
.cover-real img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cover-real-lg { width: 220px; height: 320px; }
.cover-real-md { width: 152px; height: 220px; }
.cover-real-sm { width: 88px;  height: 124px; }
.cover-real-xs { width: 56px;  height: 80px;  }

/* hero / rev-hero の cover ラッパは padding を持っているため、
   実画像を入れた場合は padding を消して画像をフレームと一致させる */
.hero .hero-cover:has(.cover-real),
.rev-hero-cover-wrap:has(.cover-real) {
  padding: 0;
  width: auto; height: auto;
  background: transparent; border: none;
}
.book-card:has(.cover-real) { /* book-card 内の placeholder.cover に当たる padding は元々 .cover のもの */ }

/* shelf .spine の cover-real は md を使う(.spine .cover の代替) */
.spine .cover-real-md { width: 152px; height: 220px; }

/* ============================================================
   トップページ:選書哲学 / リファレンス作家 / 除外基準 / 約束
   ============================================================ */

/* --- ヒーロー上部のキャッチコピー --- */
.hero-tagline-block {
  text-align: center;
  margin-bottom: 28px !important;
  padding: 24px 12px 8px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 32px);
  line-height: 1.45;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.hero-subcopy {
  font-size: 14px;
  color: var(--sub);
  margin: 0;
  line-height: 1.7;
}

/* --- 共通:キュレーション系セクションの余白感 --- */
.curation-block { max-width: 980px; margin-left: auto; margin-right: auto; }

/* --- 選書哲学 --- */
.philosophy-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  font-family: var(--font-noto-serif);
  line-height: 1.95;
  font-size: 15px;
  color: var(--ink);
  position: relative;
}
.philosophy-body::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--brass-2), var(--brass));
  border-radius: var(--radius) 0 0 var(--radius);
}
.philosophy-body p { margin: 0 0 14px; }
.philosophy-body p:last-child { margin-bottom: 0; }

/* --- リファレンス作家 --- */
.reference-axes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.reference-axis {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
}
.reference-axis .axis-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--primary);
}
.reference-axis .axis-note {
  font-size: 12px;
  color: var(--sub);
  margin: 0 0 14px;
  line-height: 1.6;
  border-bottom: 1px dotted var(--line);
  padding-bottom: 10px;
}
.reference-authors-list { list-style: none; padding: 0; margin: 0; }
.reference-author { padding: 10px 0; border-bottom: 1px dotted var(--line-soft); }
.reference-author:last-child { border-bottom: none; padding-bottom: 0; }
.reference-author .ra-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.reference-author .ra-name a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--brass-3);
  text-underline-offset: 2px;
}
.reference-author .ra-works {
  font-size: 12px;
  color: var(--sub);
  margin-bottom: 4px;
}
.reference-author .ra-why {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink);
}

/* --- 除外基準 --- */
.exclusion-block .section-head .lede {
  font-size: 13px;
  line-height: 1.7;
  max-width: 760px;
}
.exclusion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.exclusion-card {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-warm);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.exclusion-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--accent-warm);
  font-weight: 600;
}
.exclusion-card p {
  font-size: 12.5px;
  line-height: 1.7;
  margin: 0 0 8px;
  color: var(--ink);
}
.exclusion-card p:last-child { margin-bottom: 0; }
.exclusion-card .ex-why {
  color: var(--sub);
  font-size: 12px;
}
.exclusion-card .ex-why strong {
  color: var(--primary);
  font-weight: 600;
  margin-right: 4px;
}
.exclusion-card .ex-hint {
  font-size: 11.5px;
  color: var(--muted);
  font-style: italic;
}

/* --- サイトの約束 --- */
.promise-block { }
.promise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: promise;
  display: grid;
  gap: 14px;
}
.promise-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.promise-num {
  font-family: var(--font-en-display);
  font-size: 28px;
  color: var(--brass);
  line-height: 1;
  font-weight: 600;
  border-right: 1px solid var(--line);
  padding-right: 16px;
  text-align: center;
}
.promise-body h4 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--primary);
  line-height: 1.5;
}
.promise-body p {
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  color: var(--ink);
}

/* モバイル微調整 */
@media (max-width: 600px) {
  .philosophy-body { padding: 20px 18px; font-size: 14px; line-height: 1.85; }
  .reference-axes, .exclusion-grid { grid-template-columns: 1fr; }
  .promise-list li { grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 16px; }
  .promise-num { font-size: 22px; padding-right: 12px; }
}

/* ============================================================
   トップページ: 編集方針サマリー(コンパクト版)
   ============================================================ */
.editorial-summary { max-width: 880px; margin-left: auto; margin-right: auto; }
.es-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 28px 20px;
  position: relative;
}
.es-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--brass-2), var(--brass));
  border-radius: var(--radius) 0 0 var(--radius);
}
.es-head { margin-bottom: 12px; }
.es-head h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--primary);
  letter-spacing: 0.02em;
}
.es-lede {
  font-family: var(--font-noto-serif);
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink);
  margin: 0 0 16px;
}
.es-meta {
  margin: 0 0 14px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.es-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.es-row dt {
  font-family: var(--font-en-serif);
  font-style: italic;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--brass);
  text-transform: lowercase;
  min-width: 72px;
  flex-shrink: 0;
}
.es-row dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 2px;
  align-items: baseline;
  font-size: 13px;
}
.es-tag {
  font-family: var(--font-noto-serif);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
a.es-tag { border-bottom: 1px dotted var(--brass); }
a.es-tag:hover { color: var(--primary); border-bottom-color: var(--primary); }
.es-sep { color: var(--muted); margin: 0 2px; }
.es-row-neg dt { color: var(--muted); }
.es-tag.neg {
  font-size: 11px;
  color: var(--sub);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  background: rgba(0,0,0,0.015);
}
.es-more {
  display: inline-block;
  font-family: var(--font-en-serif);
  font-style: italic;
  letter-spacing: 0.04em;
  font-size: 12px;
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px dotted var(--brass);
  padding-bottom: 1px;
}
.es-more:hover { color: var(--primary); border-bottom-color: var(--primary); }

@media (max-width: 640px) {
  .es-card { padding: 18px 18px 16px; }
  .es-row { gap: 6px; }
  .es-row dt { min-width: auto; }
}

/* ============================================================
   Mobile responsive (横断)
   各ページの 2/3/4 カラムグリッドや巨大ヒーローを段階的に圧縮
   ============================================================ */

/* ---------- ≤ 980px (タブレット縦) ---------- */
@media (max-width: 980px) {
  /* ヒーロー(トップ) */
  .hero {
    grid-template-columns: 180px 1fr;
    gap: 24px; padding: 28px;
  }
  .hero .hero-cover { width: 180px; height: 260px; padding: 14px 12px; }
  .hero-body h2 { font-size: 26px; }
  .hero-watermark { width: 220px; height: 220px; right: -60px; opacity: 0.06; }

  /* 探し方カード */
  .path-cards { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .path-card { padding: 18px; }

  /* 特集 / 新刊 / カテゴリ / レビュー (二段組のものは維持しつつ間隔詰める) */
  .feature-grid, .review-cards, .releases, .cat-grid { gap: 12px; }

  /* 著者一覧 */
  .authors-grid { gap: 12px; }

  /* 人気ランキング: 不要な views 列を非表示寄りに */
  .popular li { padding: 12px 16px; gap: 10px; grid-template-columns: 40px 1fr auto; }
  .popular .views { display: none; }
}

/* ---------- ≤ 768px (タブレット縦・大きめスマホ) ---------- */
@media (max-width: 768px) {
  /* ヒーロー: 縦積み */
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 24px 20px;
    gap: 20px;
  }
  .hero .hero-cover {
    width: 160px; height: 230px;
    margin: 0 auto;
  }
  .hero-body { text-align: center; }
  .hero-body h2 { font-size: 22px; line-height: 1.4; }
  .hero-body .pull {
    border-left: none;
    border-top: 1px solid var(--brass);
    border-bottom: 1px solid var(--brass);
    padding: 14px 4px;
    text-align: left;
    font-size: 14.5px;
  }
  .hero-body .summary { font-size: 13px; text-align: left; }
  .hero-actions { justify-content: center; }
  .hero-watermark { display: none; }

  /* キャッチコピー */
  .hero-tagline-block { padding: 16px 4px 4px; margin-bottom: 20px !important; }

  /* 探し方カード: 縦積みでアイコン左 */
  .path-cards { grid-template-columns: 1fr; gap: 10px; }
  .path-card {
    display: grid; grid-template-columns: 56px 1fr; gap: 14px;
    align-items: start; padding: 16px;
  }
  .path-card .pc-icon { margin-bottom: 0; width: 56px; height: 56px; }
  .path-card .num { grid-column: 1; font-size: 18px; }
  .path-card h4 { grid-column: 2; margin-top: 0; font-size: 15px; }
  .path-card p { grid-column: 2; font-size: 12px; }
  .path-card .arrow { grid-column: 2; margin-top: 6px; }

  /* 特集・レビュー: 1列 */
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 18px; }
  .feature-card h4 { padding-right: 56px; font-size: 15.5px; }

  .review-cards { grid-template-columns: 1fr; }
  .review-cards .review { padding: 16px; }
  .review-cards .review h4 { font-size: 15px; }

  /* 新刊 */
  .releases { grid-template-columns: 1fr; }

  /* カテゴリ */
  .cat-grid { grid-template-columns: 1fr; gap: 12px; }
  .cat-block { padding: 18px; }

  /* 著者 */
  .authors-grid { grid-template-columns: 1fr; }
  .author-card { padding: 18px; gap: 14px; grid-template-columns: 56px 1fr; }
  .author-card .author-mono { width: 56px; height: 56px; font-size: 20px; }

  /* 気分パネル: ラベル/ピルを縦積みに */
  .mood-panel { padding: 18px 18px; }
  .mood-panel .mp-cats { grid-template-columns: 1fr; row-gap: 4px; }
  .mood-panel .mp-cat { padding-top: 2px; padding-bottom: 4px; }
  .mood-panel .mp-head { flex-wrap: wrap; gap: 6px 12px; }
  .mood-panel .mp-head .count { margin-left: 0; }
  .mood-panel .mp-foot { flex-wrap: wrap; }

  /* マトリクス: 軸ラベルが回転で切れるので、そのまま (aspect-ratio 1 なので追従) */
  .matrix-wrap .ax-label { font-size: 10.5px; }

  /* レビューリスト toolbar */
  .reviews-toolbar { flex-direction: column; align-items: stretch; gap: 12px; }
  .rt-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .rt-tab { flex: 0 0 auto; padding: 7px 14px; }
  .rt-count { align-self: flex-end; }

  /* ===== トップ: 編集サマリー / 哲学ブロック ===== */
  .editorial-summary { padding: 0; }
  .es-card { padding: 18px 16px; }

  /* ===== Book / Review hero ===== */
  .bk-hero { padding: 22px 18px; }
  .rev-hero { padding: 22px 18px; }
  .rev-hero-body h1 { font-size: 22px; }
  .bk-title { font-size: 24px; }
  .bk-pull { padding: 14px 18px 14px 40px; font-size: 14.5px; }
  .bk-pull .bk-quote-mark { font-size: 32px; left: 12px; top: 4px; }

  /* book 本文 */
  .bk-body-title { font-size: 21px; }
  .bk-p { font-size: 15px; line-height: 1.9; }
  .bk-p.first::first-letter { font-size: 3em; }
  .bk-blockquote { padding: 20px 18px 18px 44px; margin: 24px 0; }
  .bk-blockquote p { font-size: 15px; }
  .bk-bq-mark { font-size: 40px; left: 12px; top: 4px; }

  /* review prose */
  .rev-prose .prose-title { font-size: 18px; }
  .rev-prose p { font-size: 14.5px; }

  /* book 関連書: 1列 */
  .bk-related-grid { grid-template-columns: 1fr; }

  /* 次の一冊 */
  .next-flow { padding: 20px 18px; }
  .next-flow.bk-next .nf-card { flex: 0 0 240px; }
  .next-flow .nf-card { flex: 0 0 220px; }

  /* explore のフィルタは折り返し */
  .mood-control { padding: 12px 14px; gap: 8px; }
  .mood-control .label { width: 100%; }
  .mood-control .count { margin-left: auto; }
  .mood-control .toggle button { padding: 7px 12px; }

  /* explore の結果グリッド: minmax を縮める */
  .results { grid-template-columns: 1fr !important; gap: 12px; }

  /* book hero stamp */
  .bk-hero-stamp, .rev-hero-stamp {
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding-bottom: 12px; margin-bottom: 16px;
    font-size: 10.5px;
  }
  .bk-hero-stamp .stamp-meta, .rev-hero-stamp .stamp-meta { flex-wrap: wrap; gap: 8px; }

  /* マトリクスページのイントロ */
  .mx-page-intro { padding: 22px 18px; }
  .mx-intro-body h1 { font-size: 22px; }

  /* 見出しの大文字 H1 系 (about など) を圧縮 */
  h1.bk-title, h1 { word-break: break-word; }
}

/* ---------- ≤ 480px (スマホ) ---------- */
@media (max-width: 480px) {
  /* ヒーロー */
  .hero { padding: 20px 14px; }
  .hero .hero-cover { width: 140px; height: 200px; padding: 12px 10px; }
  .hero-body h2 { font-size: 20px; }
  .hero-body .author-line { font-size: 13px; }
  .hero-tagline { font-size: clamp(20px, 5.5vw, 26px) !important; }
  .hero-subcopy { font-size: 13px; }

  /* セクション余白圧縮 */
  .brass-divider { margin: 18px 0; }

  /* 横スクロール shelf 内アイテム */
  .next-flow .nf-card, .next-flow.bk-next .nf-card { flex: 0 0 200px; }

  /* book 詳細 */
  .bk-hero { padding: 18px 14px; }
  .bk-title { font-size: 21px; line-height: 1.35; }
  .bk-author-line { font-size: 13px; }
  .bk-body-title { font-size: 19px; }
  .bk-pull { padding: 12px 14px 12px 36px; font-size: 14px; line-height: 1.75; }
  .bk-side-dl { grid-template-columns: 1fr !important; }
  .bk-side-dl > div { grid-template-columns: 80px 1fr; gap: 10px; }
  .bk-article-aside { padding: 16px !important; }

  /* book 購入ボタン: 縦積み */
  .bk-buy-row { grid-template-columns: 1fr 1fr; }

  /* レビューリスト */
  .rl-row { padding: 14px 14px; }
  .rl-title { font-size: 16px; }
  .rl-excerpt { font-size: 13px; }

  /* review */
  .rev-hero { padding: 18px 14px; }
  .rev-hero-body h1 { font-size: 20px; }

  /* 人気ランキング */
  .popular .body .ttl { font-size: 13px; }
  .popular .ttype { display: none; }

  /* explore 検索コントロール詰め */
  .mood-control .toggle { width: 100%; justify-content: center; }
  .mood-control .toggle button { flex: 1; }
  .chips { gap: 5px; }
  .mood-pill { font-size: 12px; padding: 5px 10px; }

  /* マトリクス本体: 触れるサイズに */
  .mx-board-wrap { padding: 14px; }
  .matrix-wrap .ax-label { font-size: 10px; }

  /* マトリクスページのイントロ余白 */
  .mx-page-intro { padding: 18px 14px; }

  /* about: 約束カード */
  .promise-list li { padding: 12px 14px; gap: 10px; grid-template-columns: 40px 1fr; }
  .promise-num { font-size: 20px; padding-right: 10px; }

  /* book 関連カード余白 */
  .bk-related-card { padding: 16px; }

  /* feature-card AI badge 衝突回避 */
  .feature-card h4 { padding-right: 48px; }
}
