:root {
  --bar: #c23a2b;
  --ink: #1f1f1f;
  --muted: #5c5c5c;
  --paper: #f5f5f5;
  --card: #ffffff;
  --link: #1677ff;
  --line: #f0f0f0;
  --gold: #f2c14e;
  --font: "Noto Sans SC", "Segoe UI", sans-serif;
  --serif: "Noto Serif SC", serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.site-footer {
  background: #fafafa;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.site-header a { color: var(--ink); }
.site-footer a { color: var(--link); }
.site-header a:hover { color: var(--bar); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.wrap {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { min-height: 64px; padding: 10px 0; }
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.site-logo:hover { color: var(--ink); text-decoration: none; }
.site-logo-mark { width: 32px; height: 32px; }
.site-logo-word span { color: var(--bar); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.search { display: flex; gap: 0; }
.search input {
  width: min(240px, 42vw);
  height: 32px;
  border: 1px solid #d9d9d9;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  padding: 0 10px;
  font: inherit;
}
.search button {
  height: 32px;
  border: 0;
  border-radius: 0 6px 6px 0;
  padding: 0 12px;
  background: var(--bar);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.search button:hover { background: #a83226; }
.main { padding: 24px 0 48px; }
.card {
  background: var(--card);
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 3px 8px 16px rgba(40, 22, 10, 0.08);
}
.crumb { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.crumb a { color: var(--muted); }
.kicker {
  margin: 0 0 6px;
  color: var(--bar);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 { font-family: var(--serif); font-size: 30px; line-height: 1.3; margin: 0 0 12px; }
h2 { font-size: 20px; margin: 28px 0 12px; }
h3 { font-size: 16px; margin: 20px 0 8px; }
.lead { font-size: 16px; color: #333; margin: 0 0 8px; }
.plain { padding-left: 1.2em; }
.chip-list,
.cta-row,
.related,
.group-grid {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-list a,
.related a,
.group-grid a {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f7ecea;
  color: var(--bar);
  text-decoration: none;
}
.related a,
.group-grid a {
  background: #fff;
  border: 1px solid #ead9d6;
  border-radius: 8px;
  padding: 8px 12px;
}
.chip-list a:hover,
.related a:hover,
.group-grid a:hover { background: #f3d7d3; text-decoration: none; }
.cta-row { margin-top: 20px; }
.cta-row a {
  background: var(--bar);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
}
.cta-row a:hover { background: #a83226; }
.faq { margin: 0; }
.faq-item { border-top: 1px solid var(--line); padding: 12px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 600; }
.faq dd { margin: 6px 0 0; color: #333; }
.group { margin-top: 8px; }
.group h2 { margin-top: 8px; }
.site-footer { margin-top: 0; }
.site-footer .wrap { min-height: 56px; padding: 16px 0; font-size: 13px; }
.foot-links { display: flex; gap: 8px 14px; flex-wrap: wrap; }
.muted { color: var(--muted); }
@media (max-width: 640px) {
  .card { padding: 20px 16px; }
  h1 { font-size: 24px; }
  .search input { width: 140px; }
}
