:root {
  color-scheme: light;
  --ink: #162336;
  --muted: #637083;
  --paper: #fffdf8;
  --surface: #f4f7fb;
  --orange: #f48120;
  --orange-dark: #d9670e;
  --blue: #3b63f3;
  --line: #dce3ec;
  --radius-large: 32px;
  --radius-medium: 20px;
  --shadow: 0 24px 70px rgb(22 35 54 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.header-link {
  border-bottom: 1px solid var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: center;
  min-height: 610px;
  padding: 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgb(244 129 32 / 23%), transparent 28%),
    linear-gradient(135deg, #f7faff 0%, #eef3ff 58%, #fff7eb 100%);
  border: 1px solid #e4eaf2;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 1.03;
  letter-spacing: -0.055em;
}

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

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

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible,
.header-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgb(59 99 243 / 35%);
  outline-offset: 4px;
}

.check-message {
  min-height: 1.7em;
  margin: 14px 0 0;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  display: grid;
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin-left: auto;
  padding: 42px;
  background: #fff;
  border: 1px solid rgb(22 35 54 / 10%);
  border-radius: 46% 54% 48% 52%;
  place-content: center;
  text-align: center;
  transform: rotate(4deg);
}

.hero-visual img {
  width: 118px;
  margin: 0 auto 24px;
}

.hero-visual p {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.4;
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 28px 0 120px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
}

.proof p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 22px 18px;
  background: #fff;
  text-align: center;
}

.proof strong {
  font-size: 0.9rem;
}

.proof span {
  color: var(--muted);
  font-size: 0.75rem;
}

.section,
.closing {
  padding: 0 20px 120px;
}

.section h2,
.closing h2 {
  max-width: 780px;
  margin-bottom: 42px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

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

.card {
  min-height: 260px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
}

.card-number {
  display: block;
  margin-bottom: 60px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.card p,
.closing p {
  color: var(--muted);
}

.closing {
  padding-top: 80px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-large);
}

.closing .section-label {
  color: #ffad67;
}

.closing p {
  margin-bottom: 0;
  color: #cbd4df;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding: 52px 28px;
  }

  .hero-visual {
    width: 220px;
    margin: 0 auto;
  }

  .proof {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 88px;
  }

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

  .card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 30px;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .header-link {
    display: none;
  }

  .hero {
    padding: 42px 22px;
    border-radius: 22px;
  }

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

  .section,
  .closing {
    padding-right: 8px;
    padding-left: 8px;
  }

  .closing {
    padding: 64px 24px 76px;
    border-radius: 22px;
  }

  .site-footer {
    display: grid;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}
