:root {
  --color-primary: #1d6fff;
  --color-primary-dark: #0647be;
  --color-secondary: #101828;
  --color-accent: #ff6b00;
  --color-mint: #e8fbff;
  --color-bg: #f7fbff;
  --color-surface: #ffffff;
  --color-text: #172033;
  --color-muted: #5f6c80;
  --color-border: #dfe8f5;
  --shadow-soft: 0 18px 48px rgba(16, 24, 40, 0.12);
  --font-base: "Noto Sans JP", system-ui, sans-serif;
  --font-heading: "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.75;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 232, 245, 0.75);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 146px;
  height: 44px;
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.global-nav {
  position: fixed;
  top: 68px;
  right: 14px;
  left: 14px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.global-nav.is-open {
  display: flex;
}

.global-nav a {
  padding: 10px 12px;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.global-nav a:hover {
  color: var(--color-primary);
}

.global-nav .nav-cta {
  color: #fff;
  text-align: center;
  background: var(--color-accent);
  border-radius: 6px;
}

.nav-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 9px;
  background: var(--color-secondary);
  border: 0;
  border-radius: 6px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 132px 20px 48px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.86) 42%, rgba(247, 251, 255, 0.16) 100%),
    linear-gradient(180deg, rgba(247, 251, 255, 0.1) 0%, rgba(247, 251, 255, 1) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.28;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.18;
}

h2 {
  font-size: clamp(28px, 4.8vw, 48px);
}

.single-line-heading {
  width: 100%;
  max-width: 100%;
  font-size: 32px;
  white-space: nowrap;
}

h3 {
  font-size: 20px;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--color-muted);
  font-size: 17px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #fff;
  background: var(--color-accent);
  box-shadow: 0 14px 30px rgba(255, 107, 0, 0.26);
}

.button-primary:hover {
  background: #e75f00;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 540px;
  margin: 38px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.hero-stats div {
  min-width: 0;
  padding: 16px;
  border-right: 1px solid var(--color-border);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--color-secondary);
  font-size: 22px;
  font-weight: 900;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 20px;
}

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

.section-head p:not(.eyebrow),
.split-copy p {
  color: var(--color-muted);
}

.feature-grid,
.benefit-list,
.recommend-grid {
  display: grid;
  gap: 16px;
}

.feature-card,
.benefit-list article,
.recommend-card,
.process-list li,
.form-shell,
.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.06);
}

.feature-card {
  padding: 26px;
}

.card-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 900;
  background: var(--color-accent);
  border-radius: 50%;
}

.feature-card p,
.benefit-list p,
.process-list p,
.faq-list p,
.form-shell p {
  color: var(--color-muted);
}

.split-section {
  display: grid;
  gap: 30px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.25em;
  left: 0;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--color-primary);
  border-radius: 50%;
}

.sample-figure {
  margin: 0;
}

.sample-figure img {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.sample-figure figcaption {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 13px;
  text-align: right;
}

.benefits {
  max-width: none;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-mint) 100%);
}

.benefits .section-head,
.benefits .benefit-list {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

.benefit-list article {
  padding: 28px;
}

.benefit-list h3 {
  color: var(--color-primary-dark);
}

.recommend-card {
  position: relative;
  display: grid;
  min-height: 124px;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 24px;
  overflow: hidden;
}

.recommend-card::before {
  position: absolute;
  top: 50%;
  left: 24px;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--color-accent);
  border-radius: 3px;
  transform: translateY(-50%) rotate(45deg);
}

.recommend-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 30px;
  font-weight: 700;
}

.recommend-tag {
  position: relative;
  z-index: 1;
  display: grid;
  width: 108px;
  height: 72px;
  place-items: center;
  align-content: center;
  color: var(--color-primary-dark);
  background: linear-gradient(180deg, #e8fbff 0%, #f7fbff 100%);
  border: 1px solid #cfeeff;
  border-radius: 8px;
}

.recommend-tag strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.recommend-tag span {
  display: block;
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 26px;
}

.process-list span {
  color: var(--color-primary);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

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

.faq-list details {
  padding: 20px 22px;
}

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

.entry-section {
  display: grid;
  gap: 28px;
  padding: 88px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-dark) 100%);
}

.entry-copy {
  max-width: 620px;
}

.entry-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.form-shell {
  width: 100%;
  max-width: 620px;
  padding: 18px;
  color: var(--color-text);
}

.form-shell iframe {
  display: block;
  width: 100%;
  min-height: 500px;
  background: #fff;
  border-radius: 6px;
}

.form-label {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 6px 10px;
  color: var(--color-primary-dark);
  font-size: 12px;
  font-weight: 900;
  background: var(--color-mint);
  border-radius: 999px;
}

.site-footer {
  display: grid;
  gap: 14px;
  padding: 42px 20px;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

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

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .site-header {
    padding-right: 34px;
    padding-left: 34px;
  }

  h1 {
    max-width: 900px;
    font-size: clamp(48px, 5vw, 64px);
  }

  .nav-toggle {
    display: none;
  }

  .global-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .global-nav a {
    padding: 8px 10px;
  }

  .global-nav .nav-cta {
    padding: 10px 16px;
  }

  .single-line-heading {
    font-size: 40px;
  }

  .hero {
    min-height: 820px;
    padding-top: 160px;
  }

  .hero-actions {
    flex-direction: row;
    max-width: none;
  }

  .button {
    min-width: 230px;
  }

  .feature-grid,
  .benefit-list,
  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .split-section,
  .entry-section {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

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

  .site-footer {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer p {
    text-align: right;
  }
}

@media (min-width: 1200px) {
  .site-header {
    padding-right: 48px;
    padding-left: 48px;
  }

  .hero {
    padding-right: 48px;
    padding-left: 48px;
  }

  .entry-section {
    padding-right: max(48px, calc((100vw - 1180px) / 2));
    padding-left: max(48px, calc((100vw - 1180px) / 2));
  }
}
