/* 感想盤の共通トークン。DADSを参考にしたローカルデザインシステム。
   OS標準フォントを使い、盤面の表示にWebフォントの通信を要求しない。 */
:root {
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --c-bg: 247 244 236;
  --c-surface: 253 250 242;
  --c-ink: 43 39 33;
  --c-ink-soft: 95 84 67;
  --c-accent: 31 86 115;
  --c-border: 130 119 100;
  --c-board: 238 230 213;
  --c-board-line: 137 126 107;
  --c-lastmove: 31 86 115;
  --radius-control: 6px;
  --radius-panel: 12px;
  --text-body: 1rem;
  --text-small: .875rem;
  --leading-body: 1.75;
}

body {
  font-family: var(--font-sans);
  color: rgb(var(--c-ink));
  background: rgb(var(--c-bg));
}
button, input, textarea, select { font-family: inherit; }
:focus-visible {
  outline: 3px solid rgb(var(--c-accent));
  outline-offset: 3px;
  box-shadow: 0 0 0 2px rgb(var(--c-surface));
}

/* 読み物とLPは16px本文。棋譜・盤座標など密なデータ表示は個別に指定。 */
.landing-page { font-size: var(--text-body); line-height: var(--leading-body); }
.landing-page h1, .landing-page h2, .landing-page h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
}
.landing-page .hero-title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.5; }
.landing-page .eyebrow { font-family: var(--font-sans); font-size: var(--text-small); font-weight: 700; letter-spacing: .08em; }
.landing-page h3 { font-size: 1.25rem; }
.landing-page footer { color: rgb(var(--c-ink-soft)); }
.landing-page footer nav { color: inherit; }
.landing-page footer a { display: inline-block; padding-block: .5rem; text-decoration: underline; text-underline-offset: .2em; }
.landing-page main a:not([class*="btn"]):not(.landing-card) { text-decoration: underline; text-underline-offset: .2em; }
.landing-page .landing-card h3 { text-decoration: underline; text-underline-offset: .2em; }

.reading-page { font-size: var(--text-body); line-height: var(--leading-body); }
.reading-page .site-header a { font-size: 1.25rem; }
.reading-page .breadcrumb { white-space: normal; overflow-wrap: anywhere; line-height: 1.75; }
.reading-page .breadcrumb a { text-decoration: underline; text-underline-offset: .2em; }
.reading-page h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.reading-page h2 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
.reading-page h3 { font-family: var(--font-display); font-size: 1.25rem; }
.reading-page h1, .reading-page h2, .reading-page h3 { line-height: 1.5; letter-spacing: .02em; }
.reading-page p, .reading-page li { overflow-wrap: anywhere; }
.reading-page a { text-underline-offset: .2em; }
.reading-page .btn-cta, .reading-page .book-buy {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-control);
}
.reading-page .btn-cta:hover, .reading-page .book-buy:hover { text-decoration: underline; }
.reading-page .book-card, .reading-page .ku-box, .reading-page .feature-card, .reading-page .guide-card { border-radius: var(--radius-panel); }
.reading-page .book-comment, .reading-page .ku-text, .reading-page .feature-blurb, .reading-page .guide-card-blurb { font-size: var(--text-body); }
.reading-page .book-title, .reading-page .ku-title { font-size: 1.25rem; line-height: 1.5; }
.reading-page .book-try-link { white-space: normal; }
.reading-page .guide-card-read { text-decoration: underline; }
.reading-page .kicker { font-family: var(--font-sans); font-weight: 700; letter-spacing: .08em; }
.reading-page h1, .reading-page h2 { text-wrap: balance; }
.reading-page .site-header a { color: rgb(var(--c-ink)); }
.blind-intro p { font-size: var(--text-body); line-height: var(--leading-body); }
.blind-intro h1 { letter-spacing: .02em; }
.blind-intro .intro-caption { font-size: var(--text-small); color: rgb(var(--c-ink-soft)); }
.blind-seo { font-family: var(--font-sans); font-size: var(--text-body); line-height: var(--leading-body); }
.blind-seo a { text-decoration: underline; text-underline-offset: .2em; }
