:root {
  color-scheme: light;
  --bg: #f7f8f6;
  --surface: #ffffff;
  --surface-soft: #eef5f1;
  --text: #24302f;
  --muted: #5d6b69;
  --line: #dfe7e3;
  --accent: #2f9f8f;
  --accent-strong: #18786c;
  --warm: #f2a65a;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 16px;
  font-size: 14px;
}

.hero,
.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 72px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.35;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 56px);
  letter-spacing: 0;
}

h2 {
  margin: 42px 0 12px;
  font-size: 24px;
}

h3 {
  margin: 28px 0 8px;
  font-size: 18px;
}

.lead {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.page {
  padding: 56px 0 80px;
}

.content {
  max-width: 760px;
}

.meta {
  margin: 16px 0 32px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-top: 4px;
}

ul,
ol {
  padding-left: 1.35em;
}

li + li {
  margin-top: 4px;
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--warm);
  border-radius: 8px;
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  font-size: 14px;
}

@media (max-width: 640px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 48px;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}
