:root {
  color-scheme: light;
  --background: #f6f1ea;
  --surface: #fffdf9;
  --ink: #2f2932;
  --muted: #6c636f;
  --primary: #627896;
  --primary-soft: #e1e6ef;
  --sage: #77906b;
  --warning: #a95648;
  --border: rgba(47, 41, 50, 0.1);
  --shadow: 0 18px 55px rgba(70, 56, 68, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
}

a {
  color: #425f82;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(246, 241, 234, 0.92);
}

.nav,
.page,
.footer-inner {
  width: min(100% - 36px, 960px);
  margin-inline: auto;
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
}

.page {
  padding-block: 64px 84px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: center;
  gap: 54px;
  min-height: 420px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 4.15rem);
  letter-spacing: -0.04em;
}

.lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.app-icon {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 24%;
  box-shadow: var(--shadow);
}

.notice {
  margin: 30px 0 0;
  padding: 18px 20px;
  border-left: 5px solid var(--warning);
  border-radius: 14px;
  background: #fff8f4;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.section {
  margin-top: 64px;
}

.section h2 {
  margin-bottom: 22px;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
}

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

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(70, 56, 68, 0.04);
}

.card-number {
  color: var(--primary);
  font-weight: 800;
}

.card h3 {
  margin: 7px 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 18px 2px;
}

.faq details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  color: var(--muted);
}

.contact-box {
  padding: 30px;
  border-radius: 24px;
  background: var(--primary-soft);
}

.contact-box h2 {
  margin-top: 0;
}

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

.policy {
  max-width: 780px;
}

.policy h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.policy h2 {
  margin-top: 48px;
  font-size: 1.45rem;
}

.policy li + li {
  margin-top: 7px;
}

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

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 720px) {
  .nav-links {
    gap: 12px;
    font-size: 0.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-copy {
    order: 2;
  }

  .app-icon {
    width: 150px;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}
