:root {
  color-scheme: light;
  --ink: #192b3b;
  --muted: #526476;
  --line: #d8e1e8;
  --blue: #0b5c88;
  --pale: #f2f7fa;
  --gold: #754208;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.7 system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}
a { color: #075f91; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #b85b00; outline-offset: 3px; border-radius: 3px; }
.page-wrap { width: min(100% - 36px, 900px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header__inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.brand img { display: block; flex: none; width: 28px; height: 28px; object-fit: contain; }
.site-header nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-header nav a { color: var(--muted); font-size: .94rem; }
main { padding-block: 38px 58px; }
.eyebrow { margin: 0 0 8px; color: var(--gold); font-size: .82rem; font-weight: 800; letter-spacing: .08em; }
h1 { max-width: 20em; margin: 0; font-size: clamp(1.8rem, 4vw, 2.55rem); line-height: 1.3; letter-spacing: -.025em; overflow-wrap: anywhere; }
.lead { max-width: 45em; margin: 14px 0 24px; color: #334b5e; font-size: 1.04rem; }
.review-note { border: 1px solid #ead1ae; border-left: 4px solid #a75c08; border-radius: 8px; background: #fff9f0; padding: 14px 17px; }
.review-note strong { display: block; color: #583405; }
.review-note p { margin: 4px 0 0; color: #463c30; }
.topic-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; }
.topic-filters a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #b9c9d3; border-radius: 999px; padding: 8px 16px; color: #27445a; background: #fff; font-weight: 700; text-decoration: none; }
.topic-filters a[aria-current="page"] { border-color: #124e70; color: #fff; background: #124e70; }
.article-groups { min-height: 280px; }
.article-group { margin: 28px 0 0; }
.article-group h2 { margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--line); font-size: 1.22rem; line-height: 1.4; }
.article-group--empty { color: var(--muted); }
.article-group--empty p { margin: 10px 0 0; }
.article-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 14px; }
.article-card { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 17px 18px 15px; box-shadow: 0 2px 9px rgb(23 47 64 / 5%); }
.article-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 8px; font-size: .82rem; }
.article-status, .article-topic { display: inline-flex; min-height: 28px; align-items: center; border-radius: 999px; padding: 3px 10px; font-weight: 750; }
.article-status { background: #fff0d8; color: #653b07; }
.article-topic { background: #e9f2f7; color: #204861; }
.article-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.5; overflow-wrap: anywhere; }
.article-card h3 a { color: #133d59; }
.article-card > p:not(.article-card__meta):not(.article-card__action) { margin: 8px 0 0; color: var(--muted); }
.article-card__action { margin: 13px 0 0; font-weight: 750; }
.filter-empty { margin: 22px 0; border: 1px solid var(--line); border-radius: 8px; padding: 16px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: #f7fafc; padding: 20px 0 26px; color: var(--muted); font-size: .92rem; }
.site-footer nav { gap: 10px 20px; }
.site-footer p { max-width: 52em; margin: 12px 0 0; }
[hidden] { display: none !important; }

@media (max-width: 520px) {
  .page-wrap { width: min(100% - 32px, 900px); }
  .site-header__inner { min-height: 58px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; padding-block: 9px; }
  .site-header nav { gap: 8px 18px; }
  .site-header nav a { min-height: 38px; display: inline-flex; align-items: center; }
  main { padding-block: 28px 42px; }
  .lead { margin-top: 12px; }
  .review-note { padding: 12px 13px; }
  .topic-filters { gap: 7px; margin-block: 20px 24px; }
  .topic-filters a { flex: 1 1 auto; }
  .article-list { grid-template-columns: minmax(0, 1fr); }
  .article-card { padding: 15px 14px 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
