:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #62676f;
  --line: #d9ded7;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --green: #2f6f54;
  --leaf: #8bbf74;
  --blue: #416f91;
  --gold: #c58b2f;
  --rose: #b65353;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.15;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: transparent;
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: #eef5ea;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.line {
  display: block;
}

h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
}

h3 {
  font-size: 22px;
  line-height: 1.35;
}

p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 640px;
  font-size: 19px;
}

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

.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
}

.phone {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #101112;
  padding: 8px;
  box-shadow: 0 22px 60px rgba(35, 45, 38, 0.18);
}

.phone:first-child {
  transform: translateY(18px);
}

.phone img {
  display: block;
  border-radius: 6px;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section.alt {
  background: #f4f1e9;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

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

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

.card strong {
  color: var(--green);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.feature-list div {
  border-left: 4px solid var(--leaf);
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 700;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 36px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 94px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.policy-nav a {
  display: block;
  padding: 10px 0;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.doc {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 32px;
}

.doc h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.doc h2 {
  margin-top: 34px;
  font-size: 26px;
}

.doc ul {
  color: var(--muted);
  line-height: 1.9;
}

.support-list {
  display: grid;
  gap: 14px;
}

.support-list a,
.support-list div {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}

.support-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

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

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

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

  .hero {
    padding-top: 44px;
  }

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

  .policy-nav {
    position: static;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 28px, 1120px);
  }

  .brand strong {
    font-size: 16px;
  }

  .brand span {
    font-size: 11px;
  }

  .hero-media {
    grid-template-columns: 1fr;
    width: min(250px, 76vw);
    margin: 0 auto;
    gap: 14px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 42px);
  }

  .lead {
    font-size: 17px;
  }

  .nav-links {
    font-size: 13px;
  }

  .doc {
    padding: 22px;
  }
}
