:root {
  color-scheme: light;
  --ink: #17191d;
  --muted: #5b626d;
  --paper: #fbfbf8;
  --panel: #ffffff;
  --line: #dfe2e6;
  --brand: #245d4a;
  --brand-dark: #174234;
  --accent: #e7f3ed;
  --warn: #fff6df;
  --radius: 18px;
  font-family: Inter, "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

a { color: var(--brand-dark); }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 251, 248, .95);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .94rem;
}

.nav-links a { text-decoration: none; }

main { padding: 56px 0 80px; }

.hero {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(145deg, #fff 0%, var(--accent) 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.3;
  letter-spacing: -.025em;
}

h1 { margin: 0 0 18px; font-size: clamp(2rem, 6vw, 4.2rem); }
h2 { margin-top: 54px; font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { margin-top: 0; }

.lead { max-width: 760px; color: var(--muted); font-size: 1.08rem; }

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.button:hover { background: var(--brand-dark); }
.button.secondary { border: 1px solid var(--line); background: #fff; color: var(--ink); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.notice {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid #c78c12;
  border-radius: 8px;
  background: var(--warn);
}

.price { font-size: 2rem; font-weight: 850; letter-spacing: -.03em; }
.muted, small { color: var(--muted); }

table { width: 100%; border-collapse: collapse; background: var(--panel); }
th, td { padding: 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f1f4f2; }

.prose { max-width: 820px; }
.prose h2 { padding-top: 12px; border-top: 1px solid var(--line); }
.prose li + li { margin-top: 6px; }

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

code {
  padding: .1em .35em;
  border-radius: 5px;
  background: #eef0f2;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1040px); }
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; gap: 8px; }
  .hero { padding: 28px 22px; }
  .grid { grid-template-columns: 1fr; }
  table { font-size: .92rem; }
  th, td { padding: 10px; }
}
