:root {
  --ink: #18181b;
  --navy: #071f49;
  --muted: #66758a;
  --line: #e5e7eb;
  --mist: #f7f8fa;
  --navy-gradient: linear-gradient(135deg, #071f49 0%, #0b2f6b 52%, #173f7a 100%);
  --shadow: 0 18px 44px rgba(17, 24, 39, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", Inter, system-ui, sans-serif;
}

h1,
h2,
h3,
p {
  line-break: strict;
  word-break: auto-phrase;
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.95);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.nav-brand,
.nav-brand *,
.nav-brand:visited,
.nav-brand:hover,
.nav-brand:active {
  color: inherit;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.nav-tagline {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.btn-nav,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy-gradient);
  box-shadow: 0 12px 24px rgba(7, 31, 73, 0.2);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
}

.btn-nav-secondary {
  border: 1px solid #071f49;
  color: #071f49;
  background: #fff;
  box-shadow: none;
}

.btn-nav:hover,
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(7, 31, 73, 0.24);
}

.hero {
  position: relative;
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(96px, 12vw, 150px) 0 clamp(88px, 10vw, 126px);
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: #fff;
}

.hero-badge,
.sec-label {
  color: #6b7280;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-badge {
  display: block;
  margin-bottom: 28px;
}

.hero-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.55;
}

.hero-title em {
  display: block;
  margin-top: 20px;
  color: var(--navy);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: clamp(58px, 7vw, 96px);
  font-style: normal;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-sub {
  max-width: 760px;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.hero-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin: 54px auto 0;
  border-top: 1px solid var(--line);
}

.hero-num {
  padding: 26px 20px 0;
  text-align: center;
}

.hero-num + .hero-num {
  border-left: 1px solid var(--line);
}

.hero-num-val {
  color: var(--navy);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.hero-num-val span {
  margin-left: 4px;
  font-size: 13px;
  font-weight: 700;
}

.hero-num-label {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.wave {
  display: none;
}

.wrap {
  width: min(1000px, calc(100% - 40px));
  margin: 0 auto;
}

.why-sec,
.benefits-sec,
.course-sec,
.prog-sec,
.approach-sec,
.metrics-sec,
.cta-sec {
  padding: clamp(78px, 9vw, 118px) 0;
}

.why-sec,
.course-sec,
.approach-sec {
  background: #fff;
}

.benefits-sec,
.prog-sec,
.metrics-sec {
  background: var(--mist);
}

.sec-label {
  margin-bottom: 12px;
  text-align: center;
}

.sec-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.sec-lead {
  max-width: 820px;
  margin: 22px auto 52px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
  text-align: center;
}

.why-grid,
.benefits-grid,
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card,
.benefit-card,
.course-card {
  position: relative;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.why-card:hover,
.benefit-card:hover,
.course-card:hover,
.approach-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-num {
  margin-bottom: 28px;
  color: #9aa3b2;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.why-card-title,
.benefit-title,
.course-question {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.65;
}

.course-question {
  min-height: calc(1.65em * 3);
}

.why-card-text,
.benefit-desc,
.course-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
}

.benefit-card {
  text-align: left;
}

.benefit-icon,
.course-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: #f1f3f6;
  font-size: 24px;
}

.course-card {
  display: flex;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
}

.course-header {
  min-height: 185px;
  padding: 30px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.course-icon {
  margin-bottom: 22px;
}

.course-category {
  color: #6b7280;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.course-partner {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.course-body {
  padding: 28px;
}

.timeline {
  position: relative;
}

.timeline-track {
  display: flex;
  align-items: stretch;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.timeline-track::before {
  content: none;
}

.tl-item {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 32px 14px 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.tl-item + .tl-item {
  border-left: 1px solid var(--line);
}

.tl-dot {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-gradient);
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.tl-phase {
  min-height: 54px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.tl-time,
.tl-shared-time-badge {
  margin: 12px 0 20px;
  color: #6b7280;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.tl-desc {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.85;
}

.tl-desc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.tl-shared-wrapper {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 2;
}

.tl-shared-wrapper .tl-item {
  flex: 1;
}

.tl-shared-time-badge {
  display: block;
  position: absolute;
  top: 132px;
  left: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 0;
  border-radius: 999px;
  color: #246fc2;
  background: #dfeff9;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.tl-time-spacer {
  display: block;
  height: 51px;
}

.tl-time-mobile {
  display: none;
}

.timeline-track > .tl-item:last-child {
  border-left: 1px solid var(--line);
}

.program-note {
  max-width: 760px;
  margin: 42px auto 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

.program-note-title {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 14px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.approach-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.approach-heading {
  text-align: left;
}

.approach-badge {
  display: inline-block;
  color: #6b7280;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.approach-title {
  margin: 18px 0 28px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.6;
}

.approach-items {
  display: grid;
  gap: 0;
}

.approach-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.approach-item-label {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}

.approach-item-text {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 820px;
  margin: 0 auto 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric-box {
  padding: 34px 20px;
  text-align: center;
}

.metric-box + .metric-box {
  border-left: 1px solid var(--line);
}

.metric-val {
  color: var(--navy);
  font-family: Inter, sans-serif;
  font-size: 40px;
  font-weight: 900;
}

.metric-val span {
  font-size: 20px;
}

.metric-label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.teacher-voice {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.teacher-voice-label {
  margin: 0 0 14px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 900;
}

.teacher-voice-text {
  margin: 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.9;
  text-align: left;
}

.cta-sec {
  text-align: center;
  background: #fff;
}

.cta-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
}

.cta-sub {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}

.btn-cta {
  min-height: 54px;
  margin-top: 30px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 14px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn-cta-secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--navy);
  box-shadow: none;
}

.btn-cta-secondary:hover {
  color: var(--navy);
  background: var(--mist);
  box-shadow: none;
}

.contact {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer {
  padding: 38px 20px 42px;
  color: #d8eaff;
  background: #0c254a;
  text-align: center;
}

.footer-title {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.footer-main {
  margin: 10px 0 0;
  color: #9ebde0;
  font-size: 12px;
  line-height: 1.8;
}

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

.fu.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .why-grid,
  .benefits-grid,
  .course-grid {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tl-shared-wrapper {
    display: contents;
  }

  .tl-shared-time-badge,
  .tl-time-spacer {
    display: none;
  }

  .tl-time-mobile {
    display: block;
  }

  .tl-item {
    border-top: 1px solid var(--line);
  }

  .tl-shared-wrapper,
  .timeline-track > .tl-item:last-child {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 66px;
    padding: 11px 16px;
  }

  .nav-tagline {
    display: none;
  }

  .nav-logo {
    font-size: 17px;
  }

  .hero,
  .wrap {
    width: min(100% - 32px, 1000px);
  }

  .hero-nums,
  .why-grid,
  .benefits-grid,
  .course-grid,
  .approach-grid,
  .metrics-grid,
  .timeline-track {
    grid-template-columns: 1fr;
  }

  .hero-num + .hero-num,
  .metric-box + .metric-box {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .course-question {
    min-height: 0;
  }

  .why-sec,
  .benefits-sec,
  .course-sec,
  .prog-sec,
  .approach-sec,
  .metrics-sec,
  .cta-sec {
    padding: 72px 0;
  }
}
