:root {
  --paper: #f5efe0;
  --paper-2: #ece2cb;
  --paper-3: #fbf6ea;
  --ink: #20283c;
  --ink-2: #454d66;
  --ink-3: #6b7186;
  --red: #d93a2b;
  --red-dark: #a9271b;
  --yellow: #f2b63c;
  --blue: #2f5f9e;
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --display: "Dela Gothic One", "Arial Black", system-ui, sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(32, 40, 60, .075) 1.2px, transparent 1.4px);
  background-size: 15px 15px;
  font-family: var(--body);
  line-height: 1.85;
  font-weight: 500;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 3px;
}
::selection { color: var(--paper); background: var(--red); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.18; letter-spacing: .01em; }
p { margin: 0; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: absolute; top: 10px; left: -999px; z-index: 1000; padding: 9px 14px; border: var(--line); background: var(--ink); color: var(--paper); font-weight: 800; }
.skip-link:focus { left: 14px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: var(--line); background: rgba(245, 239, 224, .96); backdrop-filter: blur(7px); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 220px; text-decoration: none; }
.brand-mark { flex: 0 0 42px; width: 42px; height: 42px; }
.brand-name { display: block; font-family: var(--display); font-size: 14px; line-height: 1.25; }
.brand-sub { display: block; margin-top: 2px; color: var(--ink-3); font-size: 10px; letter-spacing: .2em; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.site-nav a { position: relative; padding: 8px 8px; color: var(--ink-2); font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.site-nav a::after { position: absolute; right: 8px; bottom: 4px; left: 8px; height: 3px; background: var(--red); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; min-height: 42px; padding: 8px 12px; border: 2px solid var(--ink); background: var(--paper-3); color: var(--ink); font-family: var(--body); font-weight: 900; cursor: pointer; }
.header-stamp { flex: 0 0 auto; padding: 4px 8px; border: 2.5px solid var(--red); color: var(--red-dark); font-family: var(--display); font-size: 11px; line-height: 1.25; transform: rotate(-3deg); }

.notice-bar { border-bottom: 3px solid var(--ink); background: var(--ink); color: var(--paper); }
.notice-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.notice-bar p { font-size: 13px; font-weight: 700; }
.notice-bar b { color: var(--yellow); }
.notice-link { color: var(--paper); font-size: 12px; font-weight: 900; }

.breadcrumbs { padding: 28px 0 18px; color: var(--ink-3); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { color: var(--red); content: "/"; font-weight: 900; }
.breadcrumbs a { font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; }

.page-hero { padding: 36px 0 60px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 38px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.eyebrow::before { width: 32px; height: 3px; background: var(--red); content: ""; }
.page-hero h1 { max-width: 840px; margin-top: 14px; font-size: clamp(34px, 6vw, 68px); text-wrap: balance; }
.page-lead { max-width: 760px; margin-top: 22px; color: var(--ink-2); font-family: var(--serif); font-size: clamp(17px, 2.2vw, 22px); line-height: 1.8; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--ink-3); font-size: 12px; font-weight: 700; }
.meta-row span::before { margin-right: 6px; color: var(--red); content: "●"; }
.classification { padding: 18px; border: var(--line); background: var(--paper-3); box-shadow: var(--shadow); }
.classification strong { display: block; color: var(--red-dark); font-family: var(--display); font-size: 13px; }
.classification p { margin-top: 8px; color: var(--ink-2); font-size: 13px; }

.fiction-banner { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 28px; padding: 15px 17px; border: 3px solid var(--red); background: rgba(217, 58, 43, .08); color: var(--ink-2); }
.fiction-banner::before { flex: 0 0 auto; padding: 4px 7px; background: var(--red); color: var(--paper); content: "FICTION"; font-family: var(--display); font-size: 10px; line-height: 1.1; }
.fiction-banner b { color: var(--red-dark); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 17px; border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: var(--body); font-weight: 900; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; }
.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button-primary { background: var(--red); color: var(--paper); }
.button-secondary { background: var(--paper-3); color: var(--ink); }
.button-secondary:hover { background: var(--yellow); }

.related-wrap { margin: 56px 0 76px; }
.related-wrap h2 { margin-bottom: 20px; font-size: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-card { display: flex; flex-direction: column; min-height: 150px; padding: 18px; border: var(--line); background: var(--paper-3); box-shadow: 5px 5px 0 var(--ink); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.related-card:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 8px 8px 0 var(--ink); }
.related-card small { color: var(--red-dark); font-weight: 900; letter-spacing: .08em; }
.related-card strong { margin-top: 7px; font-family: var(--display); font-size: 17px; line-height: 1.35; }
.related-card span { margin-top: auto; padding-top: 14px; color: var(--blue); font-size: 12px; font-weight: 900; }

.site-footer { padding: 54px 0 24px; border-top: 4px solid var(--ink); background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark { width: 38px; height: 38px; }
.footer-brand strong { font-family: var(--display); font-size: 14px; line-height: 1.3; }
.footer-grid p { margin-top: 14px; color: #d8d6ce; font-size: 13px; }
.site-footer h2 { margin-bottom: 12px; color: var(--yellow); font-size: 14px; }
.footer-links { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--paper); font-size: 13px; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--yellow); }
.footer-note { padding: 12px 0 0 14px; border-left: 3px solid var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 16px; border-top: 1px solid rgba(245, 239, 224, .3); color: #b9bbc5; font-size: 11px; }

@media (max-width: 1040px) {
  .header-stamp { display: none; }
  .site-nav { gap: 0; }
  .site-nav a { padding-right: 6px; padding-left: 6px; font-size: 12px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) 230px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 680px); }
  .header-row { min-height: 64px; }
  .brand { min-width: 0; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 12px; }
  .brand-sub { font-size: 8px; letter-spacing: .1em; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; top: 100%; right: 16px; left: 16px; display: none; padding: 10px; border: var(--line); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 10px; border-bottom: 1px solid var(--paper-2); font-size: 14px; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .notice-bar .wrap { align-items: flex-start; flex-direction: column; gap: 4px; }
  .notice-link { font-size: 11px; }
  .breadcrumbs { padding-top: 20px; }
  .page-hero { padding: 22px 0 42px; }
  .page-hero-grid { display: block; }
  .classification { margin-top: 28px; box-shadow: 5px 5px 0 var(--ink); }
  .page-hero h1 { font-size: clamp(31px, 10vw, 52px); }
  .page-lead { font-size: 17px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
