:root {
  --pink: #ff2c7b;
  --pink-soft: #f25b8b;
  --gold: #a18425;
  --ink: #171317;
  --page-max: 1045px;
  --shadow: 0 18px 45px rgba(63, 28, 43, 0.1);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: #fff;
}

body {
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  background: #111;
  border-radius: 6px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell,
.panel-section,
.image-panel {
  width: min(calc(100% - 32px), var(--page-max));
  margin-inline: auto;
}

.hero {
  margin-top: clamp(24px, 5vw, 48px);
}

.hero img {
  width: 100%;
}

.video-block {
  width: min(calc(100% - 32px), var(--panel-max, 980px));
  margin: clamp(38px, 6vw, 72px) auto;
}

.sound-label {
  margin: 0 0 16px;
  color: var(--pink-soft);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.3;
  text-align: center;
  font-weight: 800;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.primary-cta {
  width: min(calc(100% - 32px), 901px);
  margin: clamp(50px, 8vw, 100px) auto;
  padding: 8px;
  border: 2px solid var(--pink-soft);
  box-shadow: 0 0 0 7px #fff, 0 0 0 9px var(--pink-soft);
}

.primary-cta__inner {
  padding: clamp(28px, 5vw, 52px) clamp(16px, 5vw, 60px);
  text-align: center;
}

.primary-cta h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  line-height: 1.5;
  font-weight: 700;
}

.primary-cta h2 span,
.primary-cta p {
  color: var(--pink);
}

.primary-cta p {
  margin: 26px 0;
  font-size: clamp(1rem, 2.2vw, 1.55rem);
  font-weight: 700;
}

.cta-stack {
  display: grid;
  gap: 22px;
  width: min(100%, 491px);
  margin-inline: auto;
}

.cta-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 52px 12px 24px;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(100deg, #5d56d5 0%, #6352ce 38%, #ff5d00 100%);
  box-shadow: 0 8px 22px rgba(102, 63, 177, 0.2);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(102, 63, 177, 0.3);
  filter: saturate(1.12);
}

.cta-button__icon {
  position: absolute;
  right: 20px;
  display: grid;
  width: 26px;
  height: 22px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: #fff;
  font-size: 0;
}

.cta-button__icon::before,
.cta-button__icon::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 6px 0 currentColor, -6px 0 currentColor;
}

.cta-button__icon::after {
  position: absolute;
  right: 1px;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  box-shadow: none;
}

.problem {
  width: min(calc(100% - 32px), 750px);
  margin: clamp(52px, 8vw, 104px) auto;
}

.problem h2 {
  margin: 0 0 32px;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  text-align: center;
}

.problem img {
  width: 100%;
}

.problem ul {
  margin: 20px 0 0;
  padding-left: 1.5em;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.panel-section,
.image-panel {
  width: min(calc(100% - 32px), var(--panel-max, 980px));
  margin-top: clamp(42px, 7vw, 88px);
  margin-bottom: clamp(42px, 7vw, 88px);
}

.image-panel {
  margin-inline: auto;
}

.image-panel img {
  width: 100%;
}

.local-panel {
  display: block;
  width: 100%;
  border: 0;
  overflow: hidden;
  background: transparent;
}

.course-summary {
  margin-top: -10px;
  margin-bottom: clamp(48px, 7vw, 84px);
  color: #222;
  font-size: clamp(1.05rem, 2.3vw, 1.65rem);
  line-height: 1.55;
  text-align: center;
}

.course-summary sup {
  color: var(--pink);
}

.contact-section {
  margin-bottom: 0;
  scroll-margin-top: 24px;
}

.floating-cta {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: 18px;
  display: grid;
  min-width: 112px;
  min-height: 48px;
  padding: 10px 18px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(100deg, #5d56d5, #ff5d00);
  box-shadow: 0 10px 30px rgba(49, 25, 77, 0.26);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(49, 25, 77, 0.34);
}

.mobile-only {
  display: none;
}

@media (max-width: 640px) {
  .page-shell,
  .panel-section,
  .image-panel,
  .video-block,
  .primary-cta,
  .problem {
    width: min(calc(100% - 20px), var(--panel-max, var(--page-max)));
  }

  .hero {
    margin-top: 10px;
  }

  .sound-label {
    margin-bottom: 10px;
  }

  .primary-cta {
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--pink-soft);
  }

  .primary-cta__inner {
    padding-inline: 10px;
  }

  .cta-button {
    padding-left: 14px;
    padding-right: 44px;
    letter-spacing: 0;
  }

  .cta-button__icon {
    right: 12px;
  }

  .problem ul {
    padding-left: 1.35em;
  }

  .panel-section,
  .image-panel,
  .video-block {
    margin-top: 34px;
    margin-bottom: 34px;
  }

  .mobile-only {
    display: initial;
  }

  .floating-cta {
    right: 10px;
    bottom: 10px;
    min-width: 96px;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 0.9rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
