:root {
  --color-main: #2563eb;
  --color-main-dark: #1d4ed8;
  --color-text: #222222;
  --color-muted: #5f6673;
  --color-bg: #ffffff;
  --color-sub-bg: #f5f6f8;
  --color-border: #dfe3ea;
  --color-accent-bg: #eef4ff;
  --shadow-soft: 0 14px 40px rgba(24, 35, 61, 0.08);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

body.no-scroll {
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  padding: 20px 0;
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.header-inner {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-logo {
  flex: 0 0 200px;
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img,
.footer-logo img {
  width: 200px;
  height: 100px;
  object-fit: contain;
}

.site-nav {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  gap: 40px;
  justify-content: flex-end;
  color: var(--color-muted);
  font-size: 14px;
  overflow-x: auto;
  white-space: nowrap;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--color-main);
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.84) 45%, rgba(255,255,255,0.2) 100%),
    url("../images/hero.webp") center / cover no-repeat;
}

.hero-content {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 88px 0 104px;
}

.eyebrow,
.section-kicker,
.step-number {
  color: var(--color-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 12px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.45;
}

.hero-lead {
  margin-bottom: 14px;
  color: var(--color-main-dark);
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.45;
}

.hero-text,
.lead,
.section-description {
  max-width: 760px;
  color: var(--color-muted);
}

.hero-actions,
.cta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.text-link,
.offer-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}

.button,
.offer-button {
  padding: 12px 18px;
}

.button:hover,
.offer-button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button-primary,
.offer-button {
  color: #ffffff;
  background: var(--color-main);
}

.button-primary:hover,
.offer-button:hover {
  background: var(--color-main-dark);
}

.button-secondary {
  color: var(--color-main-dark);
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.text-link {
  color: var(--color-main-dark);
}

.ad-notice {
  width: min(100% - 40px, var(--max-width));
  margin: 22px auto 0;
  padding: 14px 18px;
  color: #3f4857;
  background: var(--color-accent-bg);
  border: 1px solid #d8e6ff;
  border-radius: 8px;
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--color-sub-bg);
}

.narrow {
  max-width: 820px;
}

.step-grid,
.choice-grid,
.offer-grid,
.compare-grid {
  display: grid;
  gap: 20px;
}

.step-grid,
.choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.step-card,
.choice-card,
.compare-panel,
.offer-card,
.cta-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
}

.step-card,
.choice-card,
.compare-panel,
.cta-card {
  padding: 24px;
}

.step-card {
  min-height: 220px;
}

.step-card p,
.choice-card p,
.compare-panel li,
.offer-card p,
.offer-card li {
  color: var(--color-muted);
}

.media-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 32px;
  margin-bottom: 28px;
}

.media-heading-reverse {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.media-heading-reverse div {
  order: 2;
}

.media-heading img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
}

.offer-card h3 {
  margin-bottom: 0;
}

.offer-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.offer-meta {
  display: grid;
  gap: 12px;
}

.offer-label {
  display: block;
  margin-bottom: 4px;
  color: var(--color-text);
  font-weight: 700;
}

.offer-caution {
  padding: 12px;
  background: var(--color-sub-bg);
  border-radius: 8px;
  font-size: 14px;
}

.offer-button {
  margin-top: auto;
}

.roadmap-list,
.timeline {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: route;
}

.roadmap-list li,
.timeline li {
  position: relative;
  padding: 18px 18px 18px 58px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(24, 35, 61, 0.04);
}

.roadmap-list li::before,
.timeline li::before {
  counter-increment: route;
  content: counter(route);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--color-main);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
}

.timeline a {
  margin-left: 10px;
  color: var(--color-main-dark);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
}

.faq-question {
  width: 100%;
  min-height: 56px;
  padding: 18px 46px 18px 18px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-main);
  font-size: 24px;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer {
  padding: 0 18px 18px;
  color: var(--color-muted);
}

.faq-answer p {
  margin-bottom: 0;
}

.final-cta {
  background: #172033;
  color: #ffffff;
}

.final-cta .section-kicker,
.final-cta h2 {
  color: #ffffff;
}

.final-cta .cta-card {
  flex: 1 1 280px;
  color: var(--color-text);
}

.site-footer {
  padding: 42px 0;
  background: #101827;
  color: #d6dbe6;
}

.footer-logo {
  width: 200px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0;
}

.empty-message {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--color-muted);
}

@media (max-width: 900px) {
  .step-grid,
  .choice-grid,
  .compare-grid,
  .offer-grid,
  .media-heading,
  .media-heading-reverse {
    grid-template-columns: 1fr;
  }

  .media-heading-reverse div {
    order: 0;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .hero-content,
  .ad-notice {
    width: min(100% - 40px, var(--max-width));
  }

  .header-inner {
    height: 100px;
    gap: 12px;
  }

  .site-nav {
    width: auto;
    gap: 14px;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 58%, rgba(255,255,255,0.28) 100%),
      url("../images/hero.webp") 64% center / cover no-repeat;
  }

  .hero-content {
    padding: 70px 0 88px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-actions,
  .cta-grid {
    flex-direction: column;
  }

  .button,
  .offer-button {
    width: 100%;
  }

  .step-card,
  .choice-card,
  .compare-panel,
  .offer-card,
  .cta-card {
    padding: 20px;
  }
}
