:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --ink: #1f2723;
  --muted: #65706a;
  --line: #d9dfd8;
  --brand: #286352;
  --brand-strong: #1e4c3f;
  --accent: #f2b84b;
  --soft: #edf5f1;
  --warn: #fff7e5;
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "YuGothic", "Noto Sans JP", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--brand-strong);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.site-header,
.site-footer {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 0;
}

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

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  font-size: .95rem;
}

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

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--brand);
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-top: 2.6rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

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

.section {
  padding: 36px 0;
}

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

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.callout {
  padding: 20px;
  background: var(--soft);
  border: 1px solid #cce0d8;
  border-radius: 8px;
}

.notice {
  padding: 18px 20px;
  background: var(--warn);
  border: 1px solid #ead7a6;
  border-radius: 8px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .65rem 1rem;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--brand-strong);
  border: 1px solid var(--brand);
}

ul,
ol {
  padding-left: 1.3rem;
}

li {
  margin-bottom: .45rem;
}

.meta {
  color: var(--muted);
  font-size: .92rem;
}

.page-title {
  padding: 48px 0 22px;
}

.content {
  padding: 20px 0 56px;
}

.content .card + .card {
  margin-top: 18px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.table th,
.table td {
  padding: .85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  width: 30%;
  background: var(--soft);
}

.footer-inner {
  padding: 28px 0;
  color: var(--muted);
  font-size: .92rem;
}

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

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

  .grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .table th,
  .table td {
    display: block;
    width: 100%;
  }

  .table th {
    border-bottom: 0;
  }
}
