:root {
  --ink: #332c2c;
  --muted: #726868;
  --line: #eadfdd;
  --soft: #fff7f5;
  --soft-2: #f7eeee;
  --accent: #b85f72;
  --accent-dark: #8f3f54;
  --cream: #fbf8f3;
  --white: #fff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: inherit; }
.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px 8px;
  text-decoration: none;
  width: fit-content;
}
.brand img { width: 236px; max-width: calc(100vw - 36px); height: auto; display: block; }
.brand span, .eyebrow, .link-card small { color: var(--muted); font-size: 13px; }
.nav, .site-footer nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 12px;
}
.nav a, .site-footer a {
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--soft);
  font-size: 14px;
}
main { width: min(1080px, 100%); margin: 0 auto; padding: 0 18px 48px; }
.hero { padding: 42px 0 28px; }
.hero h1 {
  font-size: clamp(30px, 7vw, 48px);
  line-height: 1.25;
  margin: 8px 0 18px;
  letter-spacing: 0;
}
.lead { font-size: 18px; color: #493d3d; max-width: 840px; }
.hero-actions, .cta-band { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--accent-dark);
  background: var(--white);
  text-decoration: none;
  font-weight: 700;
}
.button.primary { background: var(--accent); color: var(--white); }
.panel, .content article, .cta-band, .related {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin: 18px 0;
}
.content { display: grid; gap: 16px; }
h2 { font-size: 22px; line-height: 1.35; margin: 0 0 10px; letter-spacing: 0; }
p { margin: 0 0 12px; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 92px;
  padding: 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}
.link-card span { font-weight: 700; }
.site-footer {
  background: #3c3333;
  color: var(--white);
  padding: 28px 18px;
}
.site-footer nav { padding: 14px 0; }
.site-footer a { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
@media (max-width: 640px) {
  .brand img { width: 214px; }
  .hero { padding-top: 30px; }
  .lead { font-size: 16px; }
  .button { width: 100%; }
  .panel, .content article, .cta-band, .related { padding: 16px; }
}
