:root {
  color-scheme: light;
  --bg: #f7f2e8;
  --paper: #fffdf8;
  --surface: #ffffff;
  --surface-2: #f0eadf;
  --text: #1e2925;
  --muted: #66736c;
  --line: rgba(36, 51, 45, 0.14);
  --green: #24765a;
  --mint: #dff4e7;
  --cyan: #297f86;
  --red: #d84d42;
  --gold: #d6a84f;
  --shadow: 0 18px 42px rgba(55, 42, 24, 0.13);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(223, 244, 231, 0.72), rgba(247, 242, 232, 0) 360px),
    var(--bg);
  color: var(--text);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { touch-action: manipulation; cursor: pointer; }
.site-header {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding: 8px 14px; border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.9); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; line-height: 1.12; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--green); color: white; font-size: 1.25rem; box-shadow: 0 8px 18px rgba(36, 118, 90, 0.2); }
.menu-button { display: grid; gap: 5px; width: 42px; min-height: 42px; place-content: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.menu-button span { width: 18px; height: 2px; background: var(--text); }
.site-nav { position: absolute; top: 64px; left: 12px; right: 12px; display: none; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 248, 0.98); box-shadow: var(--shadow); }
.site-nav.is-open { display: grid; }
.site-nav a { padding: 12px; border-radius: 8px; color: var(--muted); font-weight: 850; }
.site-nav a[aria-current="page"] { color: var(--green); background: var(--mint); }
.site-nav a[href="contact.html"] { display: none; }
.site-nav .member-login-link { color: white; background: var(--green); box-shadow: 0 8px 16px rgba(36, 118, 90, 0.16); }
.site-nav .member-login-link:hover { background: #1d654c; }
.hero { position: relative; min-height: 74svh; display: grid; align-items: end; overflow: hidden; }
.hero > .news-more-link { display: none; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 28, 24, 0.08), rgba(18, 28, 24, 0.42) 58%, var(--bg)), linear-gradient(90deg, rgba(18, 28, 24, 0.58), rgba(18, 28, 24, 0.06)); }
.hero__content { position: relative; padding: 28px 20px 48px; max-width: 720px; color: white; }
.page { width: min(100% - 28px, 980px); margin: 0 auto; }
.page-hero { padding: 48px 0 20px; }
.public-news-page .page-hero {
  margin-top: 22px;
  padding: 28px 20px;
  border: 1px solid rgba(36, 118, 90, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(223, 244, 231, 0.72)),
    var(--surface);
  box-shadow: var(--shadow);
}
.public-news-page .page-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 9vw, 4.2rem);
}
.public-news-page .section {
  width: 100%;
}
.event-hero { padding-bottom: 8px; }
.eyebrow, .label, .section-head p, .mini-head p {
  margin: 0 0 8px; color: var(--cyan); font-size: 0.78rem; font-weight: 950; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero .eyebrow { color: #bdf4e4; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(2.55rem, 12vw, 5.6rem); line-height: 0.98; }
.hero h1 { text-shadow: 0 8px 30px rgba(0, 0, 0, 0.42); }
.lead, .page-hero p { max-width: 42rem; color: var(--muted); line-height: 1.78; font-weight: 700; }
.hero .lead { color: rgba(255, 255, 255, 0.94); }
.hero-actions, .footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.primary-action, .secondary-action, .footer-actions a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 8px; font-weight: 950; border: 0;
}
.primary-action, .footer-actions a:first-child { background: var(--green); color: white; box-shadow: 0 10px 20px rgba(36, 118, 90, 0.18); }
.secondary-action, .footer-actions a:last-child { border: 1px solid rgba(255, 255, 255, 0.46); background: rgba(255, 255, 255, 0.18); color: white; }
.login-hero-action {
  gap: 8px;
  padding-inline: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(135deg, #fffdf8, #dff4e7);
  color: var(--green);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.16);
}
.login-hero-action::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 5px 0 rgba(36, 118, 90, 0.12);
}
.login-hero-action:hover {
  background: #fffdf8;
  transform: translateY(-1px);
}
.quick-links, .section, .site-footer { width: min(100% - 28px, 980px); margin: 0 auto; }
.quick-links { position: relative; z-index: 1; display: grid; gap: 8px; margin-top: -24px; margin-bottom: 34px; }
.quick-links a, .news-list a, .news-item, .stats-grid div, .activity-grid article, .rules-card, .contact-card, .schedule-card, .event-card, .arg-link-panel, .terms-card, .access-block {
  border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 248, 0.88); box-shadow: var(--shadow);
}
.quick-links a { display: grid; gap: 4px; min-height: 74px; padding: 14px; backdrop-filter: blur(10px); }
.quick-links span, .news-list time, .news-index-list time { color: var(--cyan); font-size: 0.78rem; font-weight: 950; }
.section { padding: 34px 0; }
.section-head h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.1; }
.split { display: grid; gap: 18px; }
.split p, .activity-grid p, .rules-card p, .rules-card li, .contact-card p, .schedule-card p, .news-list span, .news-index-list span, .public-news-body p, .case-note p, .record-detail p, .clear-screen p, .event-card p, .event-card li, .arg-link-panel p, .terms-card li, .access-block p {
  color: var(--muted); line-height: 1.78;
}
.stats-grid, .activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stats-grid div { min-height: 94px; display: grid; place-items: center; padding: 12px; text-align: center; }
.stats-grid strong { color: var(--green); font-size: 1.7rem; }
.stats-grid span { color: var(--muted); font-size: 0.82rem; font-weight: 850; }
.activity-grid article, .rules-card, .contact-card, .schedule-card, .event-card, .arg-link-panel, .terms-card, .access-block { padding: 18px; }
.rules-card ul, .event-card ul, .terms-card ul { margin: 12px 0 0; padding-left: 1.2rem; }
.news-list { display: grid; gap: 8px; }
.news-list a { display: grid; gap: 4px; padding: 14px; }
.news-list > a { display: none; }
.news-list.is-link-list > a,
.news-index-list > a {
  display: grid;
}
.news-item { overflow: hidden; }
.news-item summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}
.news-item summary::-webkit-details-marker { display: none; }
.news-item summary::after {
  content: "+";
  grid-column: 3;
  justify-self: end;
  color: var(--green);
  font-weight: 950;
}
.news-item[open] summary::after { content: "-"; }
.news-item summary span {
  min-width: 0;
  padding-right: 20px;
  color: var(--muted);
}
.public-news-body {
  padding: 0 14px 14px 110px;
}
.public-news-body p { margin-bottom: 0; }
@media (max-width: 520px) {
  .news-item summary {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .news-item summary::after {
    grid-column: 1;
    align-self: start;
  }
  .public-news-body {
    padding-left: 14px;
  }
}
.event-list { display: grid; gap: 14px; }
.news-toolbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,253,248,0.98), rgba(232,247,237,0.72));
  box-shadow: var(--shadow);
}
.news-toolbar::before {
  content: "Search";
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-toolbar input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 850;
}
.news-toolbar input:focus {
  border-color: var(--green);
  outline: 3px solid rgba(36, 118, 90, 0.14);
}
.news-index-list {
  display: grid;
  gap: 12px;
}
.news-index-list a {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.news-index-list a::after {
  content: ">";
  color: var(--green);
  font-weight: 950;
}
.news-index-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(36, 118, 90, 0.32);
  background: #fffdf8;
}
.news-empty {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  color: var(--muted);
  font-weight: 800;
}
.public-news-article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: var(--shadow);
  font-family: "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
.public-news-article time {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}
.public-news-article h1 {
  max-width: 36rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(1.45rem, 5vw, 2.15rem);
  line-height: 1.34;
  font-weight: 900;
}
.public-news-article p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.95;
  font-weight: 650;
  white-space: pre-wrap;
}
.news-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid rgba(36, 118, 90, 0.36);
  border-radius: 8px;
  background: var(--green);
  color: white;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(36, 118, 90, 0.18);
}
.section > .news-more-link {
  width: min(100%, 260px);
}
.news-more-link::after {
  content: ">";
  margin-left: 10px;
  font-weight: 950;
}
.event-card.featured { background: linear-gradient(135deg, #fffdf8, #e8f7ed); border-color: rgba(36, 118, 90, 0.22); }
.arg-link-panel { display: grid; gap: 16px; align-items: center; background: linear-gradient(135deg, #fffdf8, #fff0d4); }
.arg-link-panel h2 { margin-bottom: 10px; }
.arg-page { background: #f4efe5; }
.terms-screen, .access-block { margin: 46px auto 30px; }
.access-block h1, .terms-screen h1 { color: var(--text); }
.case-app { margin: 18px 0 34px; padding: 14px; border: 1px solid rgba(41, 127, 134, 0.22); border-radius: 8px; background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(232, 247, 237, 0.92)); box-shadow: var(--shadow); }
.case-hero { padding: 18px 4px 16px; }
.case-hero h1, .case-hero h2 { margin-bottom: 10px; font-size: clamp(2rem, 10vw, 3.4rem); line-height: 1.04; color: var(--text); }
.case-hero p { margin-bottom: 0; color: var(--muted); line-height: 1.72; font-weight: 700; }
.case-status { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.case-status div, .case-note, .record-detail, .rule-box, .answer-area {
  padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 253, 248, 0.9);
}
.case-status span { color: var(--green); font-size: 1.4rem; font-weight: 950; }
.case-status small, .case-status p { color: var(--muted); }
#case-state.is-ready { color: var(--cyan); }
.case-note { margin-bottom: 16px; }
.record-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.record-card { min-height: 104px; display: grid; align-content: space-between; justify-items: start; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--text); text-align: left; }
.record-card span { color: var(--cyan); font-size: 0.76rem; font-weight: 950; }
.record-card strong { font-size: 1.06rem; }
.record-card small { color: var(--muted); }
.record-card.is-read { border-color: rgba(36, 118, 90, 0.45); background: var(--mint); }
.record-detail { min-height: 172px; margin-bottom: 18px; }
.clue-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 12px; border-radius: 999px; background: rgba(214, 168, 79, 0.16); color: #8a641c; font-weight: 950; }
.evidence, .deduction, .hint-zone { margin-top: 18px; }
.evidence-slots, .reading-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot, .reading-grid div { min-height: 66px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); font-size: 1.45rem; font-weight: 950; }
.slot.is-found { border-color: rgba(36, 118, 90, 0.48); color: var(--green); background: var(--mint); }
.note, .hint-text, .result { min-height: 1.6em; margin: 10px 2px 0; color: var(--muted); line-height: 1.65; }
.rule-box { margin-bottom: 12px; }
.reading-grid strong { color: var(--cyan); font-size: 0.78rem; }
.answer-area label { display: block; margin-bottom: 10px; font-weight: 900; }
.answer-row { display: grid; grid-template-columns: 1fr 82px; gap: 8px; }
input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; padding: 0 12px; background: white; color: var(--text); outline: none; }
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(36, 118, 90, 0.14); }
#submit-answer, .hint-button { min-height: 48px; border: 0; border-radius: 8px; background: var(--green); color: white; font-weight: 950; }
.hint-zone { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hint-text { grid-column: 1 / -1; }
.hint-button { background: white; color: var(--green); border: 1px solid rgba(36, 118, 90, 0.28); }
.hint-button.is-open { background: var(--green); color: white; }
.result.is-ok { color: var(--green); font-weight: 850; }
.result.is-bad { color: var(--red); }
.clear-screen { display: none; margin-top: 18px; padding: 20px 16px; border-radius: 8px; background: linear-gradient(135deg, #e8f7ed, #fff0d4); color: var(--text); text-align: center; border: 1px solid rgba(36, 118, 90, 0.22); }
.clear-screen.is-visible { display: block; }
.clear-mark { margin: 0 auto 10px; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 999px; background: white; color: var(--green); font-weight: 950; }
.clear-screen p { color: var(--muted); font-weight: 750; }
.clear-code { display: inline-block; padding: 12px 16px; border-radius: 8px; background: var(--green); color: white; font-weight: 950; letter-spacing: 0.06em; }
.site-footer { width: min(100% - 28px, 980px); margin: 0 auto; padding: 26px 0 34px; color: var(--muted); }
@media (min-width: 720px) {
  .menu-button { display: none; }
  .site-nav { position: static; display: flex; gap: 4px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .site-nav a { padding: 10px; font-size: 0.92rem; }
  .site-nav .member-login-link { margin-left: 4px; padding-inline: 14px; }
  .quick-links { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .activity-grid { grid-template-columns: repeat(4, 1fr); }
  .event-list { grid-template-columns: 1.2fr 0.8fr; }
  .event-card.featured { grid-row: span 2; }
  .arg-link-panel { grid-template-columns: 1fr auto; }
  .case-app { padding: 22px; }
}

.arg-mode {
  min-height: 100svh;
  background:
    radial-gradient(circle at 18% 0%, rgba(68, 225, 179, 0.16), transparent 28%),
    linear-gradient(180deg, #090d12, #101721 58%, #070a0f);
  color: #eafdf8;
}
.arg-mode::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 6px);
  mix-blend-mode: screen;
  opacity: 0.35;
}
.arg-shell {
  width: min(100% - 28px, 820px);
  margin: 0 auto;
  padding: 34px 0 48px;
}
.arg-kicker {
  margin: 0 0 10px;
  color: #44e1b3;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.arg-mode h1 {
  font-size: clamp(2.6rem, 13vw, 5rem);
  line-height: 0.98;
  color: #f2fff9;
  text-shadow: 0 0 30px rgba(68, 225, 179, 0.16);
}
.arg-mode h2,
.arg-mode h3,
.arg-mode h4 {
  color: #f2fff9;
}
.arg-lead,
.arg-mode p,
.arg-terminal li,
.arg-document p,
.arg-panel p,
.arg-access-block p {
  color: #aac5bc;
  line-height: 1.78;
}
.arg-terminal,
.arg-access-block,
.arg-panel,
.arg-document,
.arg-answer,
.arg-clear,
.arg-file-card,
.arg-progress div {
  border: 1px solid rgba(68, 225, 179, 0.22);
  border-radius: 8px;
  background: rgba(8, 17, 22, 0.82);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.arg-terminal,
.arg-access-block,
.arg-panel,
.arg-document,
.arg-answer,
.arg-clear {
  padding: 18px;
}
.arg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(68, 225, 179, 0.42);
  border-radius: 8px;
  background: #44e1b3;
  color: #06100d;
  font-weight: 950;
  box-shadow: 0 0 24px rgba(68, 225, 179, 0.18);
}
.arg-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.arg-progress div {
  padding: 14px;
}
.arg-progress span {
  color: #44e1b3;
  font-size: 1.55rem;
  font-weight: 950;
}
.arg-progress small,
.arg-progress p {
  color: #86a59a;
}
.arg-file-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.arg-file-card {
  min-height: 118px;
  display: grid;
  align-content: space-between;
  padding: 14px;
}
.arg-file-card span {
  color: #44e1b3;
  font-size: 0.76rem;
  font-weight: 950;
}
.arg-file-card small {
  color: #86a59a;
}
.arg-file-card.is-found {
  border-color: rgba(255, 218, 112, 0.52);
  background: rgba(48, 43, 20, 0.72);
}
.arg-evidence-slots,
.arg-reading-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.arg-evidence-slots div,
.arg-reading-grid div {
  min-height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(68, 225, 179, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #86a59a;
  font-size: 1.35rem;
  font-weight: 950;
}
.arg-evidence-slots div.is-found {
  color: #44e1b3;
  background: rgba(68, 225, 179, 0.1);
}
.arg-reading-grid strong {
  color: #44e1b3;
  font-size: 0.78rem;
}
.arg-log {
  margin: 18px 0;
  padding: 14px;
  border-left: 3px solid #44e1b3;
  background: rgba(68, 225, 179, 0.08);
  color: #d8fff3;
  font-weight: 800;
}
.arg-clue {
  display: inline-flex;
  gap: 8px;
  margin: 4px 0 18px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 218, 112, 0.12);
  color: #ffda70;
  font-weight: 950;
}
.arg-answer {
  margin-top: 18px;
}
.arg-answer label {
  display: block;
  margin-bottom: 10px;
  font-weight: 950;
}
.arg-answer-row {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 8px;
}
.arg-mode input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(68, 225, 179, 0.24);
  color: #f2fff9;
}
.arg-result.is-ok { color: #44e1b3; font-weight: 900; }
.arg-result.is-bad { color: #ff8c84; font-weight: 800; }
.arg-clear {
  margin-top: 18px;
  border-color: rgba(255, 218, 112, 0.48);
  background: rgba(48, 43, 20, 0.74);
}
.arg-clear-code {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ffda70;
  color: #141108;
  font-weight: 950;
}

.story-body {
  background:
    linear-gradient(180deg, rgba(237, 243, 241, 0.9), rgba(251, 250, 246, 0) 360px),
    #fbfaf6;
  color: #17211e;
  font-family: "Yu Kyokasho", "UD Digi Kyokasho N-R", "UD Digi Kyokasho NK-R", cursive;
}
.story-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(23, 33, 30, 0.12);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(18px);
}
.story-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  line-height: 1.1;
}
.story-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #173f37;
  color: #fffdf8;
  font-family: "Yu Kyokasho", "UD Digi Kyokasho N-R", Georgia, serif;
}
.story-nav {
  display: none;
  position: absolute;
  top: 62px;
  left: 12px;
  right: 12px;
  padding: 10px;
  border: 1px solid rgba(31, 44, 40, 0.14);
  border-radius: 6px;
  background: rgba(255, 254, 249, 0.98);
  box-shadow: 0 16px 38px rgba(45, 38, 25, 0.1);
}
.story-nav.is-open { display: grid; }
.story-nav a {
  padding: 10px 12px;
  border-radius: 4px;
  color: #52605b;
  font-size: 0.94rem;
  font-weight: 800;
}
.story-nav a[aria-current="page"] {
  color: #173f37;
  background: #e5efeb;
}
.story-menu {
  display: grid;
  gap: 5px;
  width: 42px;
  min-height: 42px;
  place-content: center;
  border: 1px solid rgba(31, 44, 40, 0.14);
  border-radius: 8px;
  background: #fffef9;
}
.story-menu span {
  width: 18px;
  height: 2px;
  background: #1f2c28;
}
.story-page,
.news-page {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
}
.story-hero,
.news-hero {
  padding: 58px 0 28px;
}
.story-hero h1,
.news-hero h1 {
  margin-bottom: 14px;
  color: #1f2c28;
  font-size: clamp(2.4rem, 9vw, 5.4rem);
  line-height: 0.98;
}
.story-lead,
.news-hero p,
.story-card p,
.story-card li,
.news-card p,
.article-body p,
.timeline-row p,
.search-help {
  color: #63706b;
  line-height: 1.78;
}
.story-section,
.news-section {
  padding: 28px 0;
}
.story-grid,
.news-grid,
.camp-grid {
  display: grid;
  gap: 0;
}
.story-card,
.news-card,
.timeline-row,
.search-panel,
.article-body,
.notice-strip {
  border: 1px solid rgba(31, 44, 40, 0.12);
  border-radius: 0;
  background: rgba(255, 254, 249, 0.82);
  box-shadow: none;
}
.story-card,
.news-card,
.timeline-row,
.search-panel,
.article-body,
.notice-strip {
  padding: 18px;
}
.story-card h2,
.story-card h3,
.news-card h2,
.news-card h3,
.article-body h2 {
  margin-bottom: 10px;
  color: #1f2c28;
}
.story-card ul {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}
.notice-strip {
  display: grid;
  gap: 0;
  margin: 14px 0 28px;
  background: rgba(255, 254, 249, 0.92);
  border-color: rgba(31, 44, 40, 0.16);
}
.notice-strip strong {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
  color: #173f37;
}
.notice-strip p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 44, 40, 0.1);
}
.notice-strip p:last-child {
  border-bottom: 0;
}
.notice-strip a,
.story-card a,
.news-card a,
.article-body a {
  color: #216c74;
  font-weight: 900;
}
.timeline {
  display: grid;
  gap: 10px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
}
.timeline-row time {
  color: #216c74;
  font-weight: 950;
}
.camp-grid {
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(31, 44, 40, 0.14);
}
.camp-tile {
  min-height: 0;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
  border-radius: 0;
  background: transparent;
}
.camp-tile span {
  color: #216c74;
  font-size: 0.78rem;
  font-weight: 950;
}
.camp-tile.is-muted {
  background: transparent;
  color: #7a817d;
}
body:not(.news-body) .story-section > h2 {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 44, 40, 0.16);
  font-size: clamp(1.4rem, 4vw, 2.1rem);
}
.story-feature-list {
  display: grid;
  border-top: 1px solid rgba(31, 44, 40, 0.14);
}
.story-feature-row {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
}
.story-feature-row span {
  color: #216c74;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.story-feature-row a {
  color: #173f37;
  font-weight: 950;
}
.member-login-panel {
  max-width: 620px;
  padding: 22px 0;
  border-top: 1px solid rgba(31, 44, 40, 0.16);
  border-bottom: 1px solid rgba(31, 44, 40, 0.16);
}
.member-login-panel label {
  display: block;
  margin: 18px 0 8px;
  color: #52605b;
  font-weight: 900;
}
.member-login-panel input {
  border-radius: 4px;
  background: rgba(255, 254, 249, 0.94);
}
.member-login-panel button {
  margin-top: 16px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: #173f37;
  color: #fffdf8;
  font-weight: 950;
}
.member-login-note {
  margin-top: 18px;
  color: #66736c;
  line-height: 1.75;
}
.member-login-error {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: #9d382d;
  font-weight: 900;
}
.member-shell {
  padding: 48px 0 28px;
}
.member-loading {
  color: #66736c;
}
.member-hero {
  padding: 48px 0 22px;
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
}
.member-hero h1 {
  margin-bottom: 18px;
  color: #1f2c28;
  font-size: clamp(2.3rem, 8vw, 4.6rem);
  line-height: 1;
}
.member-profile {
  display: grid;
  gap: 0;
  max-width: 720px;
  margin: 0 0 18px;
  border-top: 1px solid rgba(31, 44, 40, 0.14);
}
.member-profile div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
}
.member-profile dt {
  color: #216c74;
  font-weight: 950;
}
.member-profile dd {
  margin: 0;
  color: #1f2c28;
  font-weight: 850;
}
.member-logout,
.member-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #173f37;
  color: #fffdf8;
  font-weight: 950;
}
.member-grid {
  display: grid;
  gap: 26px;
  padding: 28px 0;
}
.member-panel {
  padding: 0 0 26px;
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
}
.member-panel h2 {
  margin-bottom: 14px;
  color: #1f2c28;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
}
.member-memo ul {
  margin: 0;
  padding-left: 1.25rem;
}
.member-memo li,
.member-doc p,
.member-post p {
  color: #63706b;
  line-height: 1.78;
}
.member-doc-list,
.member-thread-list {
  display: grid;
  gap: 14px;
}
.member-doc {
  display: grid;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(31, 44, 40, 0.12);
}
.member-doc-image {
  min-height: 160px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 18px;
  border: 1px dashed rgba(31, 44, 40, 0.24);
  background: rgba(255, 254, 249, 0.7);
  color: #66736c;
  text-align: center;
}
.member-doc-image span {
  font-weight: 950;
}
.member-doc-image small {
  word-break: break-all;
}
.member-thread {
  border: 1px solid rgba(31, 44, 40, 0.16);
  background: #fffef9;
}
.member-thread h3 {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(31, 44, 40, 0.16);
  background: #e5efeb;
  color: #173f37;
  font-size: 1.05rem;
}
.member-thread-date {
  margin: 0;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(31, 44, 40, 0.1);
  color: #7a817d;
  font-size: 0.86rem;
  font-weight: 850;
}
.member-post {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(31, 44, 40, 0.1);
}
.member-post:last-child {
  border-bottom: 0;
}
.member-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 6px;
  color: #216c74;
  font-size: 0.88rem;
  font-weight: 900;
}
.member-post-meta span {
  color: #7a817d;
}
.member-portal-body {
  min-height: 100svh;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(36, 71, 65, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #f5f7f2, #fffdf8 360px);
  background-size: 28px 28px, auto;
  color: #17211e;
  font-family: "Yu Kyokasho", "UD Digi Kyokasho N-R", "UD Digi Kyokasho NK-R", cursive;
}
.member-app-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 16px;
  border-bottom: 2px solid rgba(23, 63, 55, 0.22);
  background: rgba(245, 247, 242, 0.94);
  backdrop-filter: blur(14px);
}
.member-app-brand {
  display: inline-grid;
  gap: 0;
  color: #173f37;
  font-weight: 950;
  line-height: 1;
}
.member-app-brand span {
  font-size: 1.12rem;
}
.member-app-brand small {
  color: #63706b;
  font-size: 0.78rem;
}
.member-app-menu {
  background: #fffdf8;
}
.member-app-nav {
  position: absolute;
  top: 62px;
  left: 12px;
  right: 12px;
  display: none;
  gap: 2px;
  padding: 8px;
  border: 1px solid rgba(31, 44, 40, 0.14);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 16px 38px rgba(45, 38, 25, 0.1);
}
.member-app-nav.is-open {
  display: grid;
}
.member-app-nav a,
.member-app-nav button {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: #52605b;
  font: inherit;
  font-weight: 900;
  text-align: left;
}
.member-app-nav a {
  display: inline-flex;
  align-items: center;
}
.member-app-nav a[aria-current="page"] {
  color: #173f37;
  background: #e5efeb;
}
.member-app-nav button {
  color: #9d382d;
}
.member-app-page {
  width: min(100% - 32px, 1040px);
  margin: 0 auto;
}
.member-page-head {
  padding: 52px 0 24px;
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
}
.member-page-head h1 {
  margin-bottom: 14px;
  color: #1f2c28;
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 1;
}
.member-page-head p {
  max-width: 48rem;
  color: #63706b;
  line-height: 1.78;
}
.member-link-grid {
  display: grid;
  gap: 12px;
  padding: 24px 0 40px;
}
.member-link-grid a {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
}
.member-link-grid span {
  color: #216c74;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.member-link-grid strong {
  color: #1f2c28;
  font-size: 1.35rem;
}
.member-link-grid small {
  color: #66736c;
  font-weight: 850;
}
.member-ending-page .member-app-nav {
  position: static;
  display: flex;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.member-ending-panel {
  display: grid;
  gap: 16px;
  margin: 28px 0 56px;
  padding: 28px 0;
  border-top: 1px solid rgba(31, 44, 40, 0.18);
  border-bottom: 1px solid rgba(31, 44, 40, 0.18);
}
.member-ending-panel h2 {
  margin: 0;
  color: #1f2c28;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.15;
}
.member-ending-panel p {
  max-width: 58rem;
  color: #53635d;
  line-height: 1.9;
}
.member-ending-code {
  width: fit-content;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(31, 44, 40, 0.18);
  background: #fffdf8;
  color: #173f37;
  font-weight: 950;
  letter-spacing: 0;
}
.member-write-form,
.member-reply-form {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(31, 44, 40, 0.14);
  border-bottom: 1px solid rgba(31, 44, 40, 0.14);
}
.member-reply-form {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px solid rgba(31, 44, 40, 0.12);
  border-bottom: 0;
  background: rgba(229, 239, 235, 0.34);
}
.member-write-form label,
.member-reply-form label {
  color: #216c74;
  font-weight: 950;
}
.member-write-form input,
.member-write-form textarea,
.member-reply-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(31, 44, 40, 0.18);
  border-radius: 4px;
  background: #fffef9;
  color: #17211e;
  font: inherit;
}
.member-write-form textarea,
.member-reply-form textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.7;
}
.member-write-form button,
.member-reply-form button {
  justify-self: start;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #173f37;
  color: #fffdf8;
  font: inherit;
  font-weight: 950;
}
.news-body {
  background:
    linear-gradient(180deg, rgba(244, 229, 206, 0.72), rgba(250, 249, 245, 0) 300px),
    #faf9f5;
}
.news-header {
  border-bottom: 3px solid #222;
  background: rgba(250, 249, 245, 0.94);
}
.news-brand .story-mark {
  background: #222;
}
.news-nav a[aria-current="page"] {
  color: #222;
  background: #eee7d8;
}
.search-panel form {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 8px;
}
.search-panel button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #222;
  color: #fff;
  font-weight: 950;
}
.search-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.search-result-empty {
  padding: 14px;
  color: #63706b;
  border: 1px dashed rgba(31, 44, 40, 0.28);
  border-radius: 8px;
}
.article-meta {
  color: #7a6a52;
  font-weight: 850;
}
.article-body {
  max-width: 780px;
}
.article-body h1 {
  font-size: clamp(2rem, 8vw, 3.8rem);
  line-height: 1.05;
  color: #1f2c28;
}
.article-note {
  padding: 12px;
  border-left: 4px solid #94543f;
  background: #fff1e8;
  color: #604136;
  font-weight: 850;
}
@media (min-width: 760px) {
  .story-menu { display: none; }
  .story-nav {
    position: static;
    display: flex;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: 1.25fr 0.75fr; }
  .camp-grid { grid-template-columns: 1fr; }
  .story-feature-row {
    grid-template-columns: 140px 1fr 120px;
    gap: 22px;
  }
  .member-doc {
    grid-template-columns: 240px 1fr;
    align-items: start;
  }
  .member-app-menu {
    display: none;
  }
  .member-app-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .member-app-nav a,
  .member-app-nav button {
    text-align: center;
  }
  .member-link-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-body {
  background: #ffffff;
  color: #161616;
  font-family: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.news-body::before {
  content: none;
}
.news-header {
  position: static;
  display: block;
  min-height: 0;
  padding: 0;
  border-top: 5px solid #b40019;
  border-bottom: 1px solid #161616;
  background: #ffffff;
  box-shadow: none;
}
.news-header .news-brand {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 22px 14px 18px;
  color: #161616;
  text-align: center;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(1.75rem, 7vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.06em;
}
.news-brand .story-mark {
  display: none;
}
.news-brand span:last-child {
  display: block;
}
.news-brand br {
  display: none;
}
.news-nav {
  position: static;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #d2d2d2;
  border-radius: 0;
  background: #f7f7f7;
  box-shadow: none;
}
.news-nav a {
  padding: 10px 18px;
  border-right: 1px solid #d2d2d2;
  border-radius: 0;
  color: #161616;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}
.news-nav a:first-child {
  border-left: 1px solid #d2d2d2;
}
.news-nav a[aria-current="page"] {
  color: #b40019;
  background: #ffffff;
}
.news-header .story-menu {
  display: none;
}
.news-page {
  width: min(100% - 28px, 1120px);
}
.news-hero {
  display: grid;
  gap: 8px;
  padding: 22px 0 14px;
  border-bottom: 3px double #161616;
}
.news-hero .eyebrow {
  color: #b40019;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.12em;
}
.news-hero h1 {
  margin: 0;
  color: #161616;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.news-hero p,
.news-card p,
.article-body p,
.search-help {
  color: #444;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.75;
}
.news-section {
  padding: 20px 0;
}
.news-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid #161616;
  border-bottom: 1px solid #161616;
}
.news-card {
  border: 0;
  border-bottom: 1px solid #d4d4d4;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  padding: 16px 0;
}
.news-card h2,
.news-card h3 {
  color: #161616;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  line-height: 1.28;
}
.news-card h2 {
  font-size: clamp(1.35rem, 4vw, 2rem);
}
.news-card a,
.article-body a {
  color: #161616;
  text-decoration: none;
}
.news-card a:hover,
.article-body a:hover {
  color: #b40019;
  text-decoration: underline;
}
.article-meta {
  margin-bottom: 8px;
  color: #8b1a1a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}
.search-panel {
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: #f7f7f7;
  box-shadow: none;
}
.search-panel form {
  grid-template-columns: 1fr 82px;
}
.search-panel input {
  border: 1px solid #9a9a9a;
  border-radius: 0;
  background: #ffffff;
  color: #161616;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.search-panel button {
  border-radius: 0;
  background: #161616;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.search-results .news-card {
  padding: 14px;
  border: 1px solid #d4d4d4;
  background: #ffffff;
}
.search-result-empty {
  border-radius: 0;
  background: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.article-body {
  max-width: 820px;
  margin: 24px auto 40px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  padding: 0;
}
.article-body h1 {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #161616;
  color: #161616;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.14;
}
.article-body p {
  font-size: 1.03rem;
}
.article-note {
  border-left: 0;
  border-top: 2px solid #b40019;
  border-bottom: 1px solid #d4d4d4;
  background: #fafafa;
  color: #222;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
}
.article-image-slot {
  margin: 18px 0 20px;
  border-top: 1px solid #161616;
  border-bottom: 1px solid #d4d4d4;
  background: #f5f5f5;
}
.article-image-slot img {
  display: block;
  width: 100%;
  height: auto;
}
.article-image-slot__empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: #777;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
}
.article-image-slot figcaption {
  padding: 8px 10px;
  color: #555;
  border-top: 1px solid #d4d4d4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.55;
}
@media (min-width: 760px) {
  .news-grid {
    grid-template-columns: 1.5fr 0.75fr;
    column-gap: 24px;
  }
  .news-grid .news-card:first-child {
    grid-row: span 2;
    padding-right: 24px;
    border-right: 1px solid #d4d4d4;
  }
  .news-grid .news-card:first-child h2 {
    font-size: 2.35rem;
  }
  .news-grid aside.news-card {
    padding-left: 0;
  }
}
