.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.primary-gradient {
  background: linear-gradient(135deg, #ffc400 0%, #ffd84d 55%, #ffe98a 100%);
  color: #1a1a1a;
}

.soft-sun {
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(255, 196, 0, 0.35) 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 20%, rgba(255, 230, 120, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #fffdf5 0%, #ffffff 55%, #fff8e7 100%);
}

:root {
  --header-h: 56px;
  --page-pad: 1.25rem;
  --container: 1120px;
}

@media (min-width: 480px) {
  :root {
    --header-h: 64px;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 72px;
    --page-pad: 2rem;
  }
}

.page-container {
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding-block: 5rem;
  padding-inline: 0;
}

@media (min-width: 1024px) {
  .section-pad {
    padding-block: 6.5rem;
  }
}

/* Sticky header — same pattern as 4org1 LP */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.site-header__inner {
  height: 100%;
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-header__logo {
  display: flex;
  align-items: center;
  height: calc(var(--header-h) - 12px);
  flex-shrink: 0;
}

.site-header__logo-img {
  height: 100%;
  width: auto;
  max-height: calc(var(--header-h) - 12px);
  object-fit: contain;
}

.site-header__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 2px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

@media (min-width: 768px) {
  .site-header__cta {
    padding: 0.65rem 1.2rem;
    font-size: 0.9rem;
  }
}

.site-header__cta:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  margin-top: calc(var(--header-h) * -1);
  padding-top: var(--header-h);
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.05) brightness(1.08);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.94) 0%, rgba(255, 253, 245, 0.88) 45%, rgba(255, 248, 231, 0.92) 100%),
    linear-gradient(120deg, rgba(255, 196, 0, 0.18) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--page-pad) * 2), var(--container));
  margin-inline: auto;
  padding-block: 2.5rem;
}

/* Intentional line breaks only — no automatic wrapping */
.hero-line {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}

.hero-title {
  /* Longest line ~14em: 「上手くなりたい」に応えて */
  margin: 0;
  font-size: min(2.25rem, calc((100vw - (var(--page-pad) * 2)) / 13.5));
  line-height: 1.35;
}

.hero-lead {
  margin: 0;
  font-size: min(1.125rem, calc((100vw - (var(--page-pad) * 2)) / 22));
  line-height: 1.6;
}

.hero-note {
  margin: 0;
  font-size: min(0.875rem, calc((100vw - (var(--page-pad) * 2)) / 24));
  line-height: 1.55;
  text-align: center;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(100%, 22rem);
}

.hero-cta-btn {
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .hero-note {
    text-align: left;
  }

  .hero-copy {
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-bg {
    object-position: right center;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(255, 253, 245, 0.96) 0%, rgba(255, 253, 245, 0.9) 40%, rgba(255, 253, 245, 0.4) 72%, rgba(255, 253, 245, 0.18) 100%),
      linear-gradient(180deg, rgba(255, 248, 231, 0.35) 0%, transparent 55%);
  }

  .hero-title {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
  }

  .hero-lead {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  }

  .hero-content {
    padding-block: 4rem;
  }

  .hero-copy {
    gap: 2rem;
  }
}

.icon-chip {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff3cc;
  color: #b88600;
  flex-shrink: 0;
}

.pain-chip {
  background: #fff0f0;
  color: #c62828;
}

.benefit-free-banner {
  padding: 1.25rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .benefit-free-banner {
    padding: 1.35rem 2rem;
  }
}

.benefit-free-note {
  margin: 0;
  white-space: nowrap;
  line-height: 1.35;
  /* JS で最大フィットサイズに調整。初期値は大きめ */
  font-size: 1.25rem;
}

.feature-band {
  background:
    linear-gradient(135deg, #ffc400 0%, #ffd84d 48%, #ffe9a0 100%);
  color: #1a1a1a;
}

.step-num {
  font-family: Lexend, sans-serif;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  color: #f0b400;
  width: 3rem;
  flex-shrink: 0;
}

body {
  min-height: 100dvh;
  background-color: #ffffff;
}

/* Section reveal on scroll */
.reveal-section {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-section {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@supports not (min-height: 100dvh) {
  .hero-section {
    min-height: 100vh;
  }
}
