:root {
  --blue: #2f80ed;
  --blue-dark: #1355b7;
  --blue-soft: #eaf4ff;
  --blue-pale: #f5fbff;
  --cyan: #4da3ff;
  --green: #06c755;
  --ink: #18324a;
  --text: #35506a;
  --muted: #70859a;
  --line: #dceaf7;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(47, 128, 237, 0.13);
  --accent-shadow: rgba(47, 128, 237, 0.22);
  --accent-border: rgba(47, 128, 237, 0.32);
  --final-bg: linear-gradient(135deg, #2f80ed 0%, #1355b7 100%);
}

.theme-hoiku {
  --blue: #ec6fa7;
  --blue-dark: #ec6fa7;
  --blue-soft: #fff0f7;
  --blue-pale: #fff7fb;
  --cyan: #f58dbd;
  --line: #f4d8e6;
  --shadow: 0 18px 46px rgba(201, 63, 127, 0.13);
  --accent-shadow: rgba(201, 63, 127, 0.22);
  --accent-border: rgba(201, 63, 127, 0.32);
  --final-bg: #ec6fa7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 112px;
  background: var(--white);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic",
    "Noto Sans JP", sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
}

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

.section-band {
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--white) 100%);
}

.hero {
  min-height: 100svh;
  padding: 48px 0 44px;
  background: var(--white);
}

.hero.section-band {
  background: var(--white);
}

.hero-inner,
.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero-inner {
  display: block;
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.12;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.25;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.hero-subtitle {
  margin: 10px 0 22px;
  color: var(--blue-dark);
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 600;
  line-height: 1.45;
}

.hero-image {
  display: block;
  width: min(620px, 100%);
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: contain;
  margin: 0 auto 20px;
  border-radius: 16px;
}

.hero-support {
  margin: 0 0 24px;
  color: var(--blue-dark);
  font-size: clamp(23px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.45;
}

.compare-card li {
  position: relative;
  padding-left: 28px;
}

.compare-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 700;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 84px;
  align-items: center;
  justify-content: center;
  padding: 21px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 20px;
}

.primary-button {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(6, 199, 85, 0.24);
}

.secondary-button {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px var(--accent-shadow);
}

.primary-button.white {
  background: var(--white);
  color: var(--blue-dark);
}

section:not(.hero) {
  padding: 76px 0;
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

.section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.card-grid,
.compare-grid,
.step-list {
  display: grid;
  gap: 16px;
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.simple-card,
.compare-card,
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.simple-card {
  display: grid;
  min-height: 156px;
  align-content: start;
  gap: 12px;
  padding: 24px;
}

.point-label {
  margin: 0;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.center-action {
  margin-top: 26px;
  text-align: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-item {
  display: block;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 16px;
}

.feature-item p,
.compare-card li,
details p {
  margin: 6px 0 0;
}

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

.compare-card {
  padding: 26px;
}

.compare-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.compare-card.muted {
  background: #fbfdff;
}

.compare-card.muted li::before {
  color: var(--muted);
  content: "–";
}

.compare-card.highlighted {
  border-color: var(--accent-border);
  background: var(--blue-soft);
}

.step-list {
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-item {
  position: relative;
  min-height: 138px;
  padding: 24px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow);
}

.step-item span {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(820px, 100%);
  margin: 0 auto;
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 700;
}

summary::marker {
  color: var(--blue);
}

.final-cta {
  padding: 82px 0 94px;
  background: var(--final-bg);
  color: var(--white);
  text-align: center;
}

.final-inner p {
  margin: 0 0 10px;
  font-weight: 700;
}

.final-inner h2 {
  margin-bottom: 26px;
  color: var(--white);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 56px;
  justify-content: center;
  padding: 28px 18px 34px;
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thanks-page {
  min-height: 100svh;
  background: var(--white);
}

.route-index {
  min-height: 100svh;
  padding: 72px 0;
  background: var(--white);
}

.route-index h1 {
  margin-bottom: 24px;
}

.thanks-page .final-cta {
  display: grid;
  min-height: 100svh;
  place-items: center;
}

.thanks-page h1,
.thanks-page p {
  color: var(--white);
}

.thanks-page h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 7vw, 62px);
}

.sticky-line {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.24s ease, transform 0.24s ease;
  pointer-events: none;
}

.sticky-line.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-line a {
  display: flex;
  width: min(560px, 100%);
  height: 87px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(6, 199, 85, 0.26);
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding: 40px 0 38px;
  }

  .hero-inner {
    max-width: 620px;
  }

  .card-grid.three,
  .feature-list,
  .compare-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .simple-card,
  .step-item {
    min-height: auto;
  }

  section:not(.hero) {
    padding: 58px 0;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 112px;
  }

  .hero-inner,
  .container {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 18px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .feature-item {
    padding: 18px;
  }
}
