:root {
  color-scheme: light;
  --bg: #f4f2ec;
  --surface: #ffffff;
  --surface-soft: #f8f7f2;
  --text: #1e2328;
  --muted: #626b74;
  --line: #dedbd2;
  --accent: #0f766e;
  --accent-strong: #115e59;
  --accent-soft: #dff5ef;
  --shadow: 0 18px 48px rgba(30, 35, 40, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.14), transparent 30rem),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

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

.page {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  margin-bottom: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.18);
}

.brand-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}

.policy-hero {
  display: block;
}

.policy-hero h1,
.policy-hero .lead {
  max-width: 840px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: 24px;
  line-height: 1.35;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.45;
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.20);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: none;
}

.app-panel {
  padding: 22px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.amount-card {
  padding: 20px;
  border-radius: 8px;
  background: var(--accent-soft);
}

.amount-label {
  margin-bottom: 4px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.amount {
  margin-bottom: 6px;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}

.meter {
  height: 10px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 94, 89, 0.16);
}

.meter span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.mini-list strong {
  color: var(--text);
}

.section {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.section.plain {
  padding: 0;
  border: 0;
  background: transparent;
}

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

.info-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.info-card p,
.policy-content p,
.note {
  color: var(--muted);
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.toc p {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.policy-content {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.policy-content section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.policy-content section:first-of-type {
  padding-top: 0;
}

.policy-content section:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.site-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 780px) {
  .page {
    padding: 24px 16px 36px;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    margin-bottom: 28px;
  }

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

  .section,
  .policy-content {
    padding: 22px;
  }

  .toc {
    position: static;
  }
}
