:root {
  --background: #f8fbff;
  --foreground: #10213f;
  --navy: #0b1f3d;
  --blue: #123f7a;
  --line: #d8e3f3;
  --gold: #b98822;
  --red: #b32635;
  --muted: #5d6c84;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Arial, sans-serif;
  line-height: 1.75;
}

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

main {
  overflow: hidden;
}

.hero {
  background:
    linear-gradient(135deg, rgba(11, 31, 61, 0.97), rgba(18, 63, 122, 0.92)),
    radial-gradient(circle at 85% 15%, rgba(185, 136, 34, 0.28), transparent 32%),
    var(--navy);
  color: var(--white);
  min-height: 92svh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0), var(--background));
  pointer-events: none;
}

.hero__inner,
.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__inner {
  padding: 88px 0 118px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 800;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.section-kicker--light {
  color: #f0c56a;
}

h1,
h2,
h3,
p {
  margin: 0;
  font-feature-settings: "palt" 1;
  line-break: strict;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.25rem, 8vw, 5.2rem);
  line-height: 1.12;
  font-weight: 900;
}

h1 span {
  display: block;
}

h2 {
  margin-top: 12px;
  font-size: clamp(1.75rem, 7vw, 3.2rem);
  line-height: 1.22;
  font-weight: 900;
  color: var(--navy);
}

h3 {
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 850;
}

.no-break {
  white-space: nowrap;
}

.hero__subtitle {
  margin-top: 22px;
  font-size: clamp(1.18rem, 4.6vw, 2rem);
  font-weight: 800;
  line-height: 1.5;
}

.hero__subtitle-main {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  line-height: 1;
}

.hero__number {
  color: #f0c56a;
  font-size: clamp(3.2rem, 15vw, 7.2rem);
  font-weight: 950;
  line-height: 0.86;
  text-shadow: 0 10px 26px rgba(185, 136, 34, 0.28);
}

.hero__catch {
  width: fit-content;
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(1.15rem, 4.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.55;
}

.hero__lead {
  max-width: 760px;
  margin-top: 24px;
  color: #d9e6fb;
  font-size: 1.03rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 20px;
  border: 0;
  font: inherit;
  font-weight: 850;
  line-height: 1.35;
  cursor: pointer;
}

.button--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(179, 38, 53, 0.28);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button--secondary {
  border: 1px solid var(--red);
  background: var(--white);
  color: var(--red);
  box-shadow: 0 12px 26px rgba(179, 38, 53, 0.12);
}

.section,
.band {
  padding: 78px 0;
}

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

.section-inner > p:not(.section-kicker),
.prose p,
.section-lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.support-promise {
  margin-top: 18px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #fff7f8;
  color: var(--navy);
  padding: 14px 16px;
  font-size: 1.08rem;
  font-weight: 850;
}

.support-promise span {
  color: var(--red);
  font-weight: 950;
  background: linear-gradient(transparent 58%, rgba(240, 197, 106, 0.5) 58%);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.feature-grid,
.track-grid,
.role-grid {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

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

.feature {
  min-height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f2f7ff);
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
}

.material-note {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fbfdff;
  padding: 16px 18px;
}

.material-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.material-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-weight: 900;
}

.material-note .material-note__emphasis {
  border-radius: 8px;
  background: #fff4e1;
  color: var(--red);
  padding: 10px 12px;
  font-size: 1.05rem;
  font-weight: 900;
}

.material-note__highlight {
  color: var(--navy);
  font-weight: 900;
  background: linear-gradient(transparent 58%, rgba(240, 197, 106, 0.45) 58%);
}

.section--focus,
.value-section {
  background: var(--navy);
  color: var(--white);
}

.section--focus h2,
.value-section h2,
.closing h2 {
  color: var(--white);
}

.focus-lead {
  max-width: 870px;
  color: #d8e7ff !important;
  font-size: 1.08rem !important;
}

.focus-lead strong,
.value-section strong {
  color: #f5c85b;
  font-weight: 900;
}

.roadmap {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.roadmap__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.roadmap__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 42px;
  bottom: -15px;
  width: 2px;
  height: 15px;
  background: #f0c56a;
}

.roadmap__number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0c56a;
  color: var(--navy);
  font-weight: 900;
}

.roadmap h3 {
  color: var(--white);
}

.roadmap p {
  margin-top: 5px;
  color: #d7e5f8;
}

.roadmap__chips,
.target-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.roadmap__chips span {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.schedule-note {
  margin-top: 18px;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #fff7f8;
  color: var(--navy);
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 850;
}

.schedule-figure {
  margin: 30px 0 0;
}

.schedule-figure__hint {
  display: none;
  margin: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--blue);
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 850;
}

.schedule-figure__scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(18, 63, 122, 0.08);
}

.schedule-figure img {
  display: block;
  width: 100%;
  min-width: 780px;
  height: auto;
}

.schedule-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.check-list li {
  position: relative;
  padding: 16px 18px 16px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--red);
  border-bottom: 3px solid var(--red);
  transform: rotate(-45deg);
}

.track-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.track-card,
.role-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}

.track-card h3,
.role-card h3 {
  color: var(--blue);
}

.track-card p,
.role-card li {
  margin-top: 10px;
  color: var(--muted);
}

.role-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.role-card li::before {
  content: "・";
  color: var(--gold);
  font-weight: 900;
}

.question-band {
  background: linear-gradient(180deg, #edf4ff, #ffffff);
}

.lesson-preview {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 18px 42px rgba(18, 63, 122, 0.14);
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.modal-open {
  overflow: hidden;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
}

.video-modal[aria-hidden="true"] {
  display: none;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 61, 0.74);
}

.video-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 24px 70px rgba(11, 31, 61, 0.32);
}

.video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.video-modal__header h2 {
  margin: 0;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
}

.video-modal__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.video-wrap--modal {
  margin-top: 0;
  box-shadow: none;
}

.value-section p {
  max-width: 880px;
  color: #dbe8f9 !important;
}

.target-list {
  gap: 10px;
  margin-top: 28px;
}

.target-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 14px;
  color: var(--blue);
  font-weight: 800;
}

.price-box {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 420px);
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  padding: 30px;
  background: #fbfdff;
}

.price span {
  display: block;
  color: var(--red);
  font-size: clamp(2.3rem, 10vw, 4rem);
  font-weight: 950;
  line-height: 1.1;
}

.price p {
  margin-top: 12px;
  color: var(--muted);
}

.contact-section {
  background: linear-gradient(180deg, #ffffff, #eef5ff);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 18px 42px rgba(18, 63, 122, 0.09);
}

.contact-form__note {
  margin: 0;
  border-left: 4px solid var(--red);
  border-radius: 8px;
  background: #fff7f8;
  color: var(--navy);
  padding: 12px 14px;
  font-size: 0.96rem;
  font-weight: 850;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  color: var(--foreground);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  padding: 12px 13px;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(18, 63, 122, 0.13);
}

.contact-form__button {
  width: 100%;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-message {
  margin-top: 0;
  border-radius: 8px;
  padding: 11px 13px;
  font-weight: 800;
}

.form-message--success {
  background: #eaf7ee;
  color: #17633a;
}

.form-message--error {
  background: #fff0f1;
  color: var(--red);
}

.closing {
  padding: 86px 0 96px;
  background:
    linear-gradient(135deg, rgba(11, 31, 61, 0.98), rgba(18, 63, 122, 0.95)),
    var(--navy);
  color: var(--white);
}

.closing p {
  max-width: 760px;
  margin-top: 18px;
  color: #dbe8f9;
}

.closing__message {
  color: var(--white) !important;
  font-size: clamp(1.35rem, 5vw, 2.3rem);
  font-weight: 900;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .hero__inner,
  .section-inner {
    width: min(100% - 28px, 680px);
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 62px 0 94px;
  }

  .hero__actions,
  .video-actions,
  .button {
    width: 100%;
  }

  .video-modal {
    padding: 14px;
  }

  .video-modal__dialog {
    padding: 14px;
  }

  .section,
  .band {
    padding: 58px 0;
  }

  .two-column,
  .price-box,
  .form-row {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .feature-grid,
  .track-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: 82px;
  }

  .schedule-figure__hint {
    display: block;
  }

  .roadmap__item {
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 18px;
  }

  .roadmap__number {
    width: 42px;
    height: 42px;
  }

  .roadmap__item:not(:last-child)::after {
    left: 39px;
  }
}

@media (max-width: 420px) {
  .hero__inner,
  .section-inner {
    width: min(100% - 24px, 680px);
  }

  .hero__catch {
    width: 100%;
    padding: 14px;
  }

  .track-card,
  .role-card,
  .price-box,
  .roadmap__item,
  .contact-form {
    padding: 18px;
  }

  .target-list span {
    width: 100%;
  }
}
