:root {
  --ink: #06243a;
  --muted: #587083;
  --bg: #f7fbfc;
  --paper: #ffffff;
  --cyan: #00b6c9;
  --cyan-dark: #008fa4;
  --aqua: #20d0bb;
  --coral: #ff715b;
  --gold: #ffc857;
  --navy: #061a2c;
  --line: rgba(6, 36, 58, 0.12);
  --shadow: 0 24px 70px rgba(6, 36, 58, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 42px rgba(6, 36, 58, 0.11);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(210px, 21vw, 278px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(3, 18, 30, 0.16);
  backdrop-filter: blur(12px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.9;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  padding: 0 18px;
  color: #05233a;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.site-header.is-scrolled .nav-cta,
.site-header.is-open .nav-cta {
  color: #ffffff;
  background: var(--coral);
  box-shadow: 0 12px 28px rgba(255, 113, 91, 0.22);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  isolation: isolate;
}

.hero-bg,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center right;
  z-index: -3;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 18, 30, 0.92) 0%, rgba(3, 22, 35, 0.78) 34%, rgba(3, 23, 36, 0.35) 70%, rgba(3, 18, 30, 0.18) 100%),
    linear-gradient(180deg, rgba(3, 18, 30, 0.34) 0%, rgba(3, 18, 30, 0.04) 58%, rgba(247, 251, 252, 1) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 76%);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 104px);
  padding-top: 92px;
  padding-bottom: 8vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8af8ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: #071f32;
  background: linear-gradient(135deg, #ffffff, #8df7ff 52%, #ffc857);
  box-shadow: 0 18px 48px rgba(0, 182, 201, 0.26);
}

.button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button.full {
  width: 100%;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(76px, 10vw, 132px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: clamp(34px, 5vw, 58px);
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

h2 {
  margin: 0;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
}

.intro-band {
  position: relative;
  margin-top: -1px;
  background:
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%),
    radial-gradient(circle at top left, rgba(0, 182, 201, 0.14), transparent 42%);
}

.fit-grid,
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fit-card,
.difference-card,
.price-card,
.flow-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(6, 36, 58, 0.07);
}

.fit-card {
  min-height: 250px;
  padding: 28px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--coral);
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.fit-card p,
.difference-card p,
.flow-step p,
.copy-stack p,
.course-copy p,
.mentor-copy p,
.final-cta p,
.site-footer p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
}

.visual-panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 8px;
  background: #dff8fb;
  box-shadow: var(--shadow);
}

.visual-panel img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.visual-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  min-width: 180px;
  border-radius: 8px;
  padding: 18px;
  color: #ffffff;
  background: rgba(6, 26, 44, 0.78);
  backdrop-filter: blur(16px);
}

.visual-note strong {
  font-size: 42px;
  line-height: 1;
}

.visual-note span {
  color: #8af8ff;
  font-weight: 800;
}

.copy-stack p {
  margin: 24px 0 0;
  font-size: 16px;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.feature-list div {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.feature-list span {
  width: 14px;
  height: 14px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 0 0 6px rgba(0, 182, 201, 0.12);
}

.feature-list p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.difference {
  background: #ffffff;
}

.difference-card {
  padding: 30px;
}

.icon-node {
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 65% 35%, #ffffff 0 8%, transparent 9%),
    linear-gradient(135deg, var(--cyan), var(--aqua));
  box-shadow: 0 16px 34px rgba(0, 182, 201, 0.18);
}

.icon-node.coral {
  background:
    radial-gradient(circle at 65% 35%, #ffffff 0 8%, transparent 9%),
    linear-gradient(135deg, var(--coral), #ffb15f);
  box-shadow: 0 16px 34px rgba(255, 113, 91, 0.18);
}

.icon-node.gold {
  background:
    radial-gradient(circle at 65% 35%, #ffffff 0 8%, transparent 9%),
    linear-gradient(135deg, var(--gold), #49d6a3);
  box-shadow: 0 16px 34px rgba(255, 200, 87, 0.2);
}

.mentor-section {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(6, 26, 44, 0.96), rgba(5, 49, 67, 0.96)),
    url("assets/gifted-school-mv.jpg") center/cover;
}

.mentor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}

.mentor-copy p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.76);
}

.mentor-stats {
  display: grid;
  gap: 14px;
}

.mentor-stats div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.mentor-stats strong {
  color: #8af8ff;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 40px;
  line-height: 1;
}

.mentor-stats span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.course-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 200, 87, 0.18), transparent 34%),
    radial-gradient(circle at 10% 50%, rgba(0, 182, 201, 0.16), transparent 36%),
    #f7fbfc;
}

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 440px);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.course-copy p {
  margin-top: 22px;
  font-size: 17px;
}

.price-card {
  padding: clamp(26px, 4vw, 40px);
}

.price-label {
  margin: 0 0 12px;
  color: var(--cyan-dark);
  font-weight: 800;
}

.price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 24px;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 800;
  line-height: 1;
}

.price span {
  font-size: 16px;
}

.price small {
  font-size: 16px;
}

.price-card ul {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: inset 0 0 0 4px #ffffff;
}

.flow-section {
  background: #ffffff;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  position: relative;
  min-height: 270px;
  padding: 28px;
}

.flow-step span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--cyan-dark);
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.final-cta {
  padding: clamp(78px, 10vw, 132px) 18px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(6, 26, 44, 0.94), rgba(0, 128, 146, 0.88)),
    url("assets/ai-school-hero.png") center/cover;
}

.final-cta-inner {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.final-cta .eyebrow {
  color: #8af8ff;
}

.final-cta p {
  width: min(680px, 100%);
  margin: 22px auto 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(18px, 4vw, 56px);
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 210px;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.site-footer a {
  color: var(--cyan-dark);
  font-size: 14px;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  .button,
  .reveal,
  .site-header {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .fit-grid,
  .difference-grid,
  .flow-list,
  .split,
  .mentor-layout,
  .course-layout {
    grid-template-columns: 1fr;
  }

  .flow-step {
    min-height: auto;
  }

  .visual-panel,
  .visual-panel img {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    width: 218px;
    padding: 6px 10px;
  }

  .nav-toggle {
    position: relative;
    z-index: 32;
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
  }

  .site-header.is-scrolled .nav-toggle,
  .site-header.is-open .nav-toggle {
    border-color: var(--line);
    background: #ffffff;
  }

  .nav-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-toggle span:first-child {
    transform: translateY(-4px);
  }

  .nav-toggle span:last-child {
    transform: translateY(4px);
  }

  .nav-open .nav-toggle span:first-child {
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle span:last-child {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 31;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 22px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-size: 20px;
    transform: translateY(-100%);
    transition: transform 220ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav .nav-cta {
    color: #ffffff;
    background: var(--coral);
  }

  .hero {
    min-height: 92vh;
  }

  .hero-bg {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(3, 18, 30, 0.78) 0%, rgba(3, 22, 35, 0.75) 45%, rgba(3, 18, 30, 0.24) 78%, rgba(247, 251, 252, 1) 100%),
      linear-gradient(90deg, rgba(3, 18, 30, 0.84), rgba(3, 18, 30, 0.22));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-top: 102px;
    padding-bottom: 13vh;
  }

  .hero-actions,
  .hero-points {
    align-items: stretch;
  }

  .button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-points span {
    flex: 1 1 130px;
    justify-content: center;
  }

  .fit-card,
  .difference-card,
  .price-card,
  .flow-step {
    padding: 24px;
  }

  .mentor-stats div {
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 18px;
  }

  .mentor-stats strong {
    font-size: 32px;
  }

  .site-footer {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 48px;
  }

  .brand {
    width: 198px;
  }

  .visual-panel,
  .visual-panel img {
    min-height: 310px;
  }

  .visual-note {
    right: 14px;
    bottom: 14px;
    min-width: 146px;
  }
}
