
:root {
  --ink: #17315d;
  --ink-2: #33537f;
  --muted: #6b7890;
  --line: rgba(30, 70, 130, 0.14);
  --blue: #1e58b6;
  --blue-2: #2d76d4;
  --blue-3: #d9ecff;
  --coral: #ff6752;
  --coral-2: #ff866f;
  --cream: #fff8f3;
  --white: #fff;
  --shadow: 0 24px 70px rgba(18, 47, 92, .16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  color: var(--ink);
  background: #f5f8fd;
  line-height: 1.75;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 999;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.skip-link:focus { top: 16px; }

/* ---------------------------------------------
  Shared header / menu
--------------------------------------------- */
.site-header,
.gateway-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 84px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 64px);
  pointer-events: none;
}

.site-header {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(35, 88, 180, .10);
  pointer-events: auto;
}

.gateway-header .brand,
.gateway-header .menu-button,
.site-header .brand,
.site-header .menu-button,
.site-nav {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.05em;
  text-shadow: 0 6px 20px rgba(0,0,0,.13);
}

.site-header .brand {
  color: var(--blue);
  text-shadow: none;
  font-size: 1.6rem;
}

.brand small {
  font-size: .58em;
  color: rgba(23,49,93,.70);
  letter-spacing: .02em;
  font-weight: 700;
  margin-left: 4px;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2vw, 34px);
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  font-size: .93rem;
}

.site-nav a {
  position: relative;
  opacity: .92;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  appearance: none;
  border: 0;
  background: rgba(255,255,255,.72);
  color: var(--ink);
  border-radius: 16px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(18,47,92,.08);
}

.gateway-header .menu-button {
  background: rgba(255,255,255,.16);
  color: #536072;
  box-shadow: none;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  display: block;
  width: 25px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transition: .2s ease;
}

.menu-button span {
  position: relative;
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-button span::before { top: -8px; }
.menu-button span::after { top: 8px; }

body.menu-open .menu-button span {
  background: transparent;
}

body.menu-open .menu-button span::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .menu-button span::after {
  top: 0;
  transform: rotate(-45deg);
}

.drawer {
  position: fixed;
  top: 92px;
  right: clamp(18px, 4vw, 60px);
  width: min(360px, calc(100vw - 36px));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(35, 88, 180, .14);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  gap: 4px;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
  z-index: 30;
}

body.menu-open .drawer {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.drawer a {
  padding: 13px 16px;
  border-radius: 16px;
  color: var(--ink);
  font-weight: 800;
}

.drawer a:hover {
  background: #eef5ff;
}

/* ---------------------------------------------
  Gateway / top page
--------------------------------------------- */
.gateway-page {
  min-height: 100svh;
  background: #fff;
}

.gateway {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.gateway-panel {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(110px, 14vh, 150px) clamp(24px, 5vw, 96px) 52px;
}

.gateway-panel::before,
.gateway-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
}

.gateway-panel::after {
  background-image:
    radial-gradient(circle at 8% 36%, rgba(255,255,255,.34) 0 2px, transparent 3px),
    radial-gradient(circle at 77% 40%, rgba(255,255,255,.24) 0 2px, transparent 3px);
  background-size: 22px 22px, 26px 26px;
  opacity: .58;
  mask-image: linear-gradient(180deg, transparent 2%, #000 18%, #000 86%, transparent);
}

.gateway-panel--game::before {
  background:
    radial-gradient(circle at 80% 44%, rgba(255,255,255,.18), transparent 26%),
    radial-gradient(circle at 27% 68%, rgba(255,255,255,.18), transparent 20%),
    linear-gradient(135deg, #ff604e 0%, #ff755b 52%, #ff8c71 100%);
}

.gateway-panel--edu::before {
  background:
    radial-gradient(circle at 16% 26%, rgba(255,255,255,.56), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(65,137,220,.32), transparent 20%),
    linear-gradient(135deg, #d6edff 0%, #9ec9f3 52%, #78aeea 100%);
}

.gateway-panel--game {
  color: #fff;
}

.gateway-panel--edu {
  color: var(--ink);
}

.gateway-panel--edu::after {
  opacity: .42;
}

.panel-shape {
  position: absolute;
  border-radius: 42px;
  background: rgba(255,255,255,.13);
  z-index: -2;
  transform: rotate(-2deg);
}

.panel-shape--game-a {
  width: 36%;
  height: 26%;
  left: 20%;
  top: 17%;
}

.panel-shape--game-b {
  width: 56%;
  height: 36%;
  right: -12%;
  top: 31%;
  border-radius: 999px 0 0 999px;
  opacity: .35;
}

.panel-shape--edu-a {
  width: 48%;
  height: 26%;
  left: 15%;
  top: 10%;
  background: rgba(255,255,255,.22);
}

.panel-shape--edu-b {
  width: 38%;
  height: 20%;
  right: 0;
  top: 16%;
  background: rgba(24,88,180,.18);
  border-radius: 0;
}

.panel-copy {
  position: relative;
  width: min(420px, 90%);
  z-index: 3;
  padding: clamp(18px, 2vw, 28px);
  border-radius: 2px;
}

.gateway-panel--game .panel-copy {
  background: rgba(255,255,255,.10);
}

.gateway-panel--edu .panel-copy {
  margin-left: clamp(8px, 8vw, 110px);
  background: rgba(255,255,255,.26);
}

.panel-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 4.8vw, 4.8rem);
  line-height: 1.18;
  letter-spacing: -.06em;
  font-weight: 900;
}

.gateway-panel--edu .panel-copy h1 {
  color: #174fae;
}

.panel-copy p {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.9;
  letter-spacing: .02em;
}

.gateway-panel--edu .panel-copy p {
  color: #214f90;
}

.panel-art {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.13));
}

.gateway-panel--game .panel-art {
  width: min(840px, 88%);
  left: clamp(0px, 4vw, 48px);
  bottom: clamp(118px, 14vh, 155px);
}

.gateway-panel--edu .panel-art {
  width: min(900px, 92%);
  right: clamp(-32px, 0vw, 8px);
  bottom: clamp(118px, 14vh, 155px);
  filter: drop-shadow(0 28px 34px rgba(22,79,160,.13));
}

.panel-art img {
  width: 100%;
  height: auto;
}

.panel-cta {
  position: absolute;
  z-index: 4;
  bottom: clamp(64px, 8.5vh, 92px);
  left: 50%;
  transform: translateX(-50%);
  width: min(520px, 58%);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 16px 26px;
  border-radius: 18px;
  font-size: clamp(1.1rem, 1.7vw, 1.7rem);
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.panel-cta:hover,
.panel-cta:focus-visible {
  transform: translate(-50%, -5px);
  filter: brightness(1.03);
}

.gateway-panel--game .panel-cta {
  color: var(--coral);
  background: rgba(255,255,255,.96);
  box-shadow: 0 22px 46px rgba(160, 52, 35, .20);
}

.gateway-panel--edu .panel-cta {
  color: #fff;
  background: linear-gradient(135deg, #1d58b5, #2d6ed0);
  border: 2px solid rgba(255,255,255,.84);
  box-shadow: 0 22px 46px rgba(24,83,176,.26);
}

.panel-cta span {
  position: absolute;
  right: 34px;
  font-size: 1.25em;
}

.panel-note {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(22px, 3.2vh, 34px);
  transform: translateX(-50%);
  width: min(520px, 62%);
  margin: 0;
  text-align: center;
  font-weight: 900;
  font-size: clamp(.95rem, 1.2vw, 1.2rem);
  letter-spacing: .04em;
}

.gateway-panel--game .panel-note {
  color: #fff;
  background: rgba(225, 73, 53, .15);
}

.gateway-panel--edu .panel-note {
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 10px rgba(8,63,125,.22);
}

.game-icon {
  position: absolute;
  z-index: -1;
  left: 6%;
  top: 40%;
  width: 100px;
  height: 70px;
  opacity: .20;
  border: 5px solid currentColor;
  border-radius: 24px;
  color: #fff;
}

.game-icon::before,
.game-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.game-icon::before {
  width: 30px;
  height: 6px;
  left: 18px;
  top: 30px;
  box-shadow: 12px 0 0 currentColor;
  transform: rotate(90deg);
}

.game-icon::after {
  width: 12px;
  height: 12px;
  right: 24px;
  top: 24px;
  border-radius: 50%;
  box-shadow: 16px 12px 0 currentColor;
}

/* ---------------------------------------------
  Education page
--------------------------------------------- */
.education-page {
  background:
    radial-gradient(circle at 14% 4%, rgba(58, 124, 210, .12), transparent 30%),
    radial-gradient(circle at 84% 14%, rgba(255, 103, 82, .10), transparent 26%),
    #f6f9fe;
}

main.education-main {
  overflow: clip;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: clamp(62px, 8vw, 104px) 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.kicker::before {
  content: "";
  width: 8px;
  height: 22px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--blue), var(--coral));
}

.section h2,
.hero-title {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1.25;
  letter-spacing: -.05em;
}

.section-lead {
  color: var(--muted);
  font-weight: 700;
  margin: 12px 0 0;
  max-width: 760px;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.education-hero {
  padding: 130px 0 64px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255,255,255,.65), transparent 18%),
    linear-gradient(135deg, #eff7ff 0%, #dcecff 45%, #b9dbff 100%);
  box-shadow: var(--shadow);
  min-height: 560px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(30, 88, 182, .18) 0 2px, transparent 2px),
    linear-gradient(135deg, transparent 0 68%, rgba(255,255,255,.24) 68% 100%);
  background-size: 25px 25px, 100% 100%;
  opacity: .33;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 5vw, 64px);
}

.hero-copy p {
  color: #2c4770;
  font-weight: 750;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button--blue {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 18px 32px rgba(30,88,182,.20);
}

.button--coral {
  color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--coral-2));
  box-shadow: 0 18px 32px rgba(255,103,82,.22);
}

.button--ghost {
  color: var(--blue);
  background: rgba(255,255,255,.88);
  border-color: rgba(30,88,182,.18);
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 0 24px 0 0;
}

.hero-visual img {
  width: min(820px, 100%);
  margin-left: auto;
  filter: drop-shadow(0 28px 34px rgba(22,79,160,.16));
}

.stats {
  position: relative;
  z-index: 2;
  margin: -28px auto 0;
  width: min(1000px, calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(30,88,182,.10);
  border: 1px solid rgba(30,88,182,.11);
  box-shadow: 0 14px 40px rgba(18,47,92,.08);
}

.stat {
  padding: 22px 18px;
  background: rgba(255,255,255,.92);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  color: var(--blue);
  line-height: 1.2;
}

.stat span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  font-size: .84rem;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(18,47,92,.06);
}

.instructor-card {
  padding: 24px;
}

.avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7f2ff, #ffffff);
  border: 1px solid rgba(30,88,182,.12);
  box-shadow: inset 0 0 0 8px rgba(30,88,182,.04);
  color: var(--blue);
  font-weight: 900;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.instructor-card h3,
.curriculum-card h3,
.price-card h3,
.process-card h3 {
  margin: 0 0 8px;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.role {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 900;
  font-size: .9rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
}

.card p,
.card li {
  color: #425574;
  font-weight: 650;
}

.curriculum-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.curriculum-card::before {
  content: attr(data-month);
  position: absolute;
  right: 18px;
  top: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,103,82,.11);
  color: var(--coral);
  font-weight: 900;
  font-size: .78rem;
}

.curriculum-card ul {
  padding-left: 1.15em;
  margin: 14px 0 0;
}

.curriculum-card li + li {
  margin-top: 4px;
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.course-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #f3f7fc;
  color: #48617f;
  font-weight: 900;
  font-size: .78rem;
}

.price-schedule {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 22px;
  align-items: stretch;
}

.price-list {
  display: grid;
  gap: 16px;
}

.price-card {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.price {
  color: var(--blue);
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.schedule-card {
  padding: 24px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 13px 8px;
  border-bottom: 1px solid rgba(30,88,182,.10);
  text-align: left;
  font-size: .95rem;
}

.schedule-table th {
  color: var(--blue);
  font-size: .82rem;
  letter-spacing: .08em;
}

.process-grid {
  grid-template-columns: repeat(5, 1fr);
}

.process-card {
  position: relative;
  padding: 24px 18px;
  text-align: center;
}

.step {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf4ff, #fff);
  color: var(--blue);
  font-weight: 900;
}

.cta-section {
  padding: 0 0 76px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(34px, 5vw, 54px);
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.22), transparent 20%),
    linear-gradient(135deg, #1d56b2, #2d6fd1);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 22px;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -.05em;
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-weight: 700;
}

.site-footer {
  padding: 34px 0 46px;
  background: #eef5ff;
  color: #526782;
  font-weight: 700;
}

.footer-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------------------------------------------
  Responsive
--------------------------------------------- */
@media (max-width: 1100px) {
  .site-nav { display: none; }
  .gateway-panel {
    padding-inline: 38px;
  }
  .panel-copy h1 {
    font-size: clamp(2.35rem, 5.2vw, 4rem);
  }
  .panel-cta {
    width: min(470px, 66%);
  }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .price-schedule { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .gateway {
    display: block;
    overflow: visible;
  }
  .gateway-header {
    height: 86px;
    padding-inline: 26px;
  }
  .gateway-header .brand {
    color: var(--coral);
    text-shadow: none;
  }
  .gateway-header .menu-button {
    background: rgba(255,255,255,.82);
  }
  .gateway-panel {
    min-height: 680px;
    padding: 112px 24px 38px;
    border-radius: 0;
  }
  .gateway-panel--game {
    min-height: 700px;
  }
  .gateway-panel--edu {
    min-height: 650px;
  }
  .gateway-panel--edu .panel-copy {
    margin-left: 0;
    width: min(430px, 94%);
  }
  .panel-copy {
    padding: 16px 18px;
    width: min(430px, 95%);
  }
  .panel-copy h1 {
    font-size: clamp(2.35rem, 9vw, 4.2rem);
  }
  .panel-copy p {
    font-size: 1rem;
  }
  .gateway-panel--game .panel-art,
  .gateway-panel--edu .panel-art {
    width: 104%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 132px;
  }
  .panel-cta {
    width: calc(100% - 64px);
    bottom: 70px;
  }
  .panel-note {
    width: calc(100% - 64px);
    bottom: 30px;
  }
  .game-icon {
    top: 42%;
  }

  .site-header {
    height: 76px;
    padding-inline: 20px;
  }
  .education-hero {
    padding-top: 100px;
  }
  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-copy {
    padding: 34px 24px 0;
  }
  .hero-visual {
    padding: 0;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-head {
    display: block;
  }
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .price-card {
    grid-template-columns: 1fr;
  }
  .cta-band {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    display: block;
  }
}

@media (max-width: 520px) {
  .gateway-panel {
    min-height: 650px;
    padding-inline: 18px;
  }
  .gateway-panel--game .panel-art,
  .gateway-panel--edu .panel-art {
    width: 125%;
    bottom: 134px;
  }
  .panel-cta {
    min-height: 62px;
    border-radius: 16px;
    width: calc(100% - 36px);
    font-size: 1.14rem;
  }
  .panel-note {
    width: calc(100% - 36px);
    font-size: .88rem;
  }
  .container {
    width: min(var(--max), calc(100% - 26px));
  }
  .stats {
    width: min(1000px, calc(100% - 28px));
  }
  .schedule-table {
    min-width: 580px;
  }
  .schedule-scroll {
    overflow-x: auto;
  }
}

/* ---------------------------------------------
  Revision 02: photo-based top visuals + smaller gateway headlines
--------------------------------------------- */
.gateway {
  position: relative;
}

.gateway-panel {
  padding: clamp(108px, 13vh, 140px) clamp(26px, 4.5vw, 78px) 48px;
}

.gateway-panel::after {
  opacity: .42;
}

.panel-copy {
  width: min(620px, 92%);
  padding: 0;
  border-radius: 0;
}

.gateway-panel--game .panel-copy,
.gateway-panel--edu .panel-copy {
  background: transparent;
}

.gateway-panel--edu .panel-copy {
  margin-left: clamp(0px, 3.5vw, 58px);
}

.panel-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(2.05rem, 2.7vw, 3.15rem);
  line-height: 1.22;
  letter-spacing: -.055em;
  white-space: normal;
}

.panel-copy p {
  font-size: clamp(.98rem, 1.15vw, 1.18rem);
  line-height: 1.75;
}

.panel-art {
  overflow: hidden;
  filter: none;
  box-shadow: none;
}

.gateway-panel--game .panel-art,
.gateway-panel--edu .panel-art {
  width: 100%;
  height: min(53vh, 510px);
  left: 0;
  right: auto;
  bottom: clamp(118px, 13vh, 152px);
  transform: none;
}

.gateway-panel--edu .panel-art {
  filter: none;
}

.panel-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gateway-panel--game .panel-art::after {
  background: linear-gradient(180deg, rgba(255,104,82,.06), rgba(255,104,82,.28));
}

.gateway-panel--edu .panel-art::after {
  background: linear-gradient(180deg, rgba(185,220,252,.06), rgba(33,108,199,.24));
}

.panel-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.panel-cta {
  width: min(520px, 58%);
  min-height: 66px;
  bottom: clamp(62px, 8vh, 86px);
  font-size: clamp(1.05rem, 1.45vw, 1.46rem);
}

.panel-note {
  bottom: clamp(24px, 4vh, 38px);
}

.gateway-features {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(1460px, calc(100% - 180px));
  min-height: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 0;
  padding: 12px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 44px rgba(16, 54, 110, .16);
  border: 1px solid rgba(30, 80, 160, .12);
  backdrop-filter: blur(14px);
}

.gateway-feature {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 6px 18px;
  color: #263d62;
  font-weight: 900;
  letter-spacing: .02em;
}

.gateway-feature + .gateway-feature {
  border-left: 1px solid rgba(30, 70, 130, .12);
}

.feature-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(135deg, #eaf4ff, #f8fbff);
  border: 1px solid rgba(30, 88, 182, .10);
}

@media (max-width: 1100px) {
  .panel-copy h1 {
    font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  }
  .gateway-features {
    width: min(980px, calc(100% - 76px));
  }
  .gateway-feature {
    gap: 10px;
    padding-inline: 10px;
    font-size: .92rem;
  }
  .feature-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (max-width: 820px) {
  .gateway {
    padding: 112px 14px 18px;
    background: #f7faff;
  }
  .gateway-panel {
    min-height: 670px;
    margin-bottom: 22px;
    padding: 30px 24px 34px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(18, 47, 92, .12);
  }
  .gateway-panel--game,
  .gateway-panel--edu {
    min-height: 670px;
  }
  .gateway-panel--edu .panel-copy,
  .panel-copy {
    width: min(460px, 96%);
    margin-left: 0;
  }
  .panel-copy h1 {
    font-size: clamp(1.85rem, 7.2vw, 2.75rem);
    line-height: 1.24;
  }
  .panel-copy p {
    font-size: .98rem;
    line-height: 1.75;
  }
  .gateway-panel--game .panel-art,
  .gateway-panel--edu .panel-art {
    width: 100%;
    height: 42%;
    left: 0;
    right: auto;
    bottom: 122px;
    transform: none;
  }
  .panel-art img {
    object-position: center;
  }
  .panel-cta {
    width: calc(100% - 54px);
    min-height: 60px;
    bottom: 58px;
  }
  .panel-note {
    bottom: 24px;
  }
  .gateway-features {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto 14px;
    border-radius: 24px;
    padding: 14px;
  }
  .gateway-feature {
    justify-content: flex-start;
    min-height: 70px;
  }
  .gateway-feature + .gateway-feature {
    border-left: 0;
  }
  .gateway-feature:nth-child(even) {
    border-left: 1px solid rgba(30,70,130,.10);
  }
  .gateway-feature:nth-child(n+3) {
    border-top: 1px solid rgba(30,70,130,.10);
  }
}

@media (max-width: 520px) {
  .gateway {
    padding-inline: 10px;
  }
  .gateway-panel {
    min-height: 640px;
    padding-inline: 18px;
  }
  .gateway-panel--game,
  .gateway-panel--edu {
    min-height: 640px;
  }
  .gateway-panel--game .panel-art,
  .gateway-panel--edu .panel-art {
    width: 100%;
    height: 39%;
    bottom: 120px;
  }
  .panel-cta {
    width: calc(100% - 34px);
  }
  .gateway-features {
    grid-template-columns: 1fr;
  }
  .gateway-feature,
  .gateway-feature:nth-child(even),
  .gateway-feature:nth-child(n+3) {
    border-left: 0;
    border-top: 1px solid rgba(30,70,130,.10);
  }
  .gateway-feature:first-child {
    border-top: 0;
  }
}

/* ---------------------------------------------
  Revision 03: samurai blue refresh + layout fixes
--------------------------------------------- */
:root {
  --ink: #163a6c;
  --ink-2: #355784;
  --muted: #5e7291;
  --line: rgba(0, 91, 172, 0.14);
  --blue: #005bac;
  --blue-2: #1f73d6;
  --blue-3: #e5f1ff;
}

body {
  background: #edf4fc;
}

.site-header {
  background: rgba(248, 251, 255, .9);
  border-bottom: 1px solid rgba(0, 91, 172, .10);
}

.gateway-page {
  background: linear-gradient(180deg, #edf4fc 0%, #f8fbff 100%);
}

.gateway {
  background: linear-gradient(180deg, rgba(0, 91, 172, .04), rgba(0, 91, 172, .08));
}

.gateway-panel--edu::before {
  background:
    radial-gradient(circle at 16% 22%, rgba(255,255,255,.46), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(0,91,172,.28), transparent 22%),
    linear-gradient(135deg, #d7e9fb 0%, #98c0ef 52%, #6e9edf 100%);
}

.gateway-panel--edu .panel-copy {
  background: rgba(255,255,255,.18);
  padding: 18px 20px;
  border-radius: 24px;
  backdrop-filter: blur(4px);
}

.gateway-panel--game .panel-copy {
  background: rgba(255,255,255,.05);
  padding: 18px 20px;
  border-radius: 24px;
}

.gateway-panel--game .panel-note {
  background: transparent;
}

.education-page {
  background:
    radial-gradient(circle at 14% 2%, rgba(0, 91, 172, .16), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(57, 132, 224, .18), transparent 24%),
    linear-gradient(180deg, #edf4fc 0%, #e6effa 100%);
}

.section--blue {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(225, 237, 252, .54));
}

.section--deep-blue {
  background: linear-gradient(180deg, rgba(219, 233, 250, .44), rgba(233, 242, 252, .74));
}

.hero-card--samurai {
  position: relative;
  min-height: 600px;
  display: block;
  padding-right: min(54%, 650px);
  background:
    radial-gradient(circle at 80% 12%, rgba(255,255,255,.28), transparent 18%),
    radial-gradient(circle at 18% 82%, rgba(0,91,172,.08), transparent 26%),
    linear-gradient(135deg, #eaf3fe 0%, #d6e8fb 42%, #c8e0fa 100%);
  border: 1px solid rgba(0, 91, 172, .1);
}

.hero-card--samurai::before {
  opacity: .22;
}

.hero-card--samurai::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(232, 244, 255, .95));
  z-index: 1;
}

.hero-card--samurai .hero-copy {
  max-width: 520px;
  padding: 58px 0 54px 54px;
}

.hero-card--samurai .hero-copy p {
  max-width: 470px;
}

.hero-visual--large {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  bottom: 44px;
  width: min(55%, 650px);
  padding: 0;
  overflow: hidden;
  border-radius: 0 26px 0 26px;
  box-shadow: 0 24px 54px rgba(0, 56, 120, .18);
}

.hero-visual--large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.02);
}

.stats--lower {
  margin: 18px auto 0;
  width: min(1080px, calc(100% - 48px));
}

.stat {
  background: rgba(255,255,255,.96);
}

.section-head--wide-gap {
  margin-bottom: 36px;
}

.instructor-card {
  padding: 26px 24px 28px;
}

.avatar--photo {
  width: 96px;
  height: 96px;
  overflow: hidden;
  box-shadow: inset 0 0 0 10px rgba(0, 91, 172, .04);
}

.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-card h3 {
  font-size: 1.05rem;
}

.instructor-card p {
  margin-top: 0;
}

.curriculum-card {
  padding-top: 62px;
}

.curriculum-card::before {
  top: 18px;
  right: 18px;
  padding: 4px 12px;
  font-size: .74rem;
}

.curriculum-card h3 {
  padding-right: 92px;
}

.card,
.cta-band,
.stats,
.drawer {
  border-color: rgba(0, 91, 172, .12);
}

.site-footer {
  background: #e2eefb;
}

@media (max-width: 1100px) {
  .hero-card--samurai {
    min-height: 560px;
    padding-right: min(52%, 560px);
  }

  .hero-card--samurai .hero-copy {
    padding: 46px 0 42px 42px;
    max-width: 430px;
  }

  .hero-visual--large {
    width: min(53%, 560px);
  }
}

@media (max-width: 820px) {
  .hero-card--samurai {
    min-height: auto;
    padding-right: 0;
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-card--samurai::after {
    display: none;
  }

  .hero-card--samurai .hero-copy {
    max-width: none;
    padding: 34px 24px 0;
  }

  .hero-visual--large {
    position: relative;
    inset: auto;
    width: calc(100% - 24px);
    height: 320px;
    margin: 18px 12px 0;
    border-radius: 22px;
    box-shadow: 0 16px 32px rgba(0, 56, 120, .14);
  }

  .stats--lower {
    margin-top: 18px;
    width: min(1000px, calc(100% - 28px));
  }

  .curriculum-card h3 {
    padding-right: 84px;
  }
}

@media (max-width: 520px) {
  .gateway-panel--game .panel-copy,
  .gateway-panel--edu .panel-copy {
    padding: 14px 16px;
    border-radius: 20px;
  }

  .hero-visual--large {
    height: 250px;
  }

  .avatar--photo {
    width: 84px;
    height: 84px;
  }

  .curriculum-card {
    padding-top: 58px;
  }

  .curriculum-card h3 {
    padding-right: 76px;
    font-size: 1.24rem;
  }

  .curriculum-card::before {
    font-size: .7rem;
    right: 14px;
  }
}

/* ---------------------------------------------
  Revision 04: full-impact hero + voices + tighter layout
--------------------------------------------- */
.education-hero {
  position: relative;
  padding: 84px 0 34px;
  background:
    linear-gradient(180deg, rgba(0, 91, 172, .14), rgba(0, 91, 172, .04)),
    #dbeafa;
}

.education-hero > .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero-card--samurai {
  width: 100%;
  min-height: min(760px, calc(100svh - 84px));
  border-radius: 0;
  border: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(230, 242, 255, .94) 0%, rgba(230, 242, 255, .84) 33%, rgba(230, 242, 255, .36) 55%, rgba(0, 91, 172, .08) 100%),
    url("../images/education-hero-visual.jpg") center / cover no-repeat;
}

.hero-card--samurai::before {
  opacity: .32;
  z-index: 1;
  background-image:
    radial-gradient(circle, rgba(0, 91, 172, .16) 0 2px, transparent 2px),
    linear-gradient(135deg, transparent 0 64%, rgba(255,255,255,.18) 64% 100%);
}

.hero-card--samurai::after {
  display: block;
  height: 42%;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 91, 172, 0), rgba(0, 47, 105, .18));
}

.hero-card--samurai .hero-copy {
  position: relative;
  z-index: 3;
  width: min(600px, calc(100% - 64px));
  max-width: 600px;
  margin-left: clamp(28px, 10vw, 180px);
  padding: clamp(28px, 4.2vw, 54px);
  border-radius: 28px;
  background: rgba(239, 248, 255, .86);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 28px 80px rgba(0, 45, 105, .18);
  backdrop-filter: blur(10px);
}

.hero-card--samurai .hero-title {
  font-size: clamp(2rem, 3.7vw, 4.1rem);
}

.hero-card--samurai .hero-copy p {
  max-width: 520px;
}

.hero-visual--large {
  display: none;
}

.hero-actions {
  margin-top: 24px;
}

.hero-actions .button {
  min-width: 248px;
}

.stats--lower {
  position: relative;
  z-index: 5;
  margin: -42px auto 0;
  width: min(1040px, calc(100% - 80px));
}

.section {
  padding: clamp(42px, 5.2vw, 72px) 0;
}

.section-head,
.section-head--wide-gap {
  margin-bottom: 22px;
}

.card-grid {
  gap: 18px;
}

.instructor-card {
  padding: 22px 22px 24px;
}

.curriculum-card {
  padding: 58px 22px 22px;
}

.price-card,
.schedule-card,
.voice-card {
  padding: 22px;
}

.section--voices {
  background:
    radial-gradient(circle at 14% 20%, rgba(0, 91, 172, .10), transparent 24%),
    linear-gradient(180deg, rgba(224, 237, 252, .72), rgba(235, 244, 254, .92));
}

.voice-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.voice-card::before {
  content: "“";
  position: absolute;
  right: 18px;
  top: -14px;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(0, 91, 172, .10);
  pointer-events: none;
}

.voice-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #2d4870;
  font-weight: 760;
  line-height: 1.85;
}

.voice-person {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 91, 172, .12);
}

.voice-person strong {
  color: var(--blue);
  font-size: 1rem;
}

.voice-person span {
  color: var(--muted);
  font-weight: 800;
  font-size: .86rem;
}

.cta-section {
  padding: 0 0 54px;
}

.cta-band {
  grid-template-columns: minmax(0, .85fr) auto;
  padding: clamp(28px, 4vw, 46px);
}

.cta-band h2 {
  font-size: clamp(1.6rem, 2.55vw, 2.55rem);
}

.cta-band p {
  font-size: .95rem;
  line-height: 1.7;
}

.cta-actions .button {
  min-width: 250px;
}

@media (max-width: 1100px) {
  .hero-card--samurai {
    min-height: 650px;
  }

  .hero-card--samurai .hero-copy {
    margin-left: clamp(24px, 6vw, 86px);
    width: min(560px, calc(100% - 48px));
  }

  .stats--lower {
    width: min(920px, calc(100% - 48px));
  }

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .education-hero {
    padding-top: 76px;
  }

  .hero-card--samurai {
    min-height: 640px;
    align-items: flex-end;
    background:
      linear-gradient(180deg, rgba(226, 241, 255, .26) 0%, rgba(226, 241, 255, .68) 48%, rgba(226, 241, 255, .96) 100%),
      linear-gradient(180deg, rgba(223,239,255,.12) 0%, rgba(223,239,255,.55) 100%);
  }

  .hero-card--samurai::after {
    display: none;
  }

  .hero-card--samurai .hero-copy {
    width: calc(100% - 28px);
    max-width: none;
    margin: 0 auto 24px;
    padding: 26px 22px;
    border-radius: 24px;
  }

  .hero-card--samurai .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .stats--lower {
    margin-top: 16px;
    width: min(1000px, calc(100% - 28px));
  }

  .section {
    padding: 40px 0;
  }

  .voice-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .hero-card--samurai {
    min-height: 620px;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
    min-width: 0;
  }

  .stats--lower {
    margin-top: 14px;
  }

  .cta-band {
    padding: 26px 20px;
  }
}


/* ---------------------------------------------
  Revision 05: dedicated hero photo + mobile non-overlap fix
--------------------------------------------- */
@media (max-width: 820px) {
  .hero-card--samurai {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(227, 240, 254, .86), rgba(238, 246, 255, .98));
  }

  .hero-card--samurai::before {
    opacity: .16;
  }

  .hero-visual--large {
    display: block;
    order: -1;
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(240px, 42vw, 360px);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  .hero-visual--large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .hero-card--samurai .hero-copy {
    width: calc(100% - 24px);
    margin: 0 auto;
    margin-top: -12px;
    padding: 22px 20px 24px;
    border-radius: 24px;
    background: rgba(239, 248, 255, .96);
    box-shadow: 0 14px 34px rgba(0, 45, 105, .10);
  }

  .hero-card--samurai .hero-title {
    font-size: clamp(2rem, 8.2vw, 3.2rem);
  }

  .hero-card--samurai .hero-copy p {
    font-size: .98rem;
  }
}

@media (max-width: 520px) {
  .education-hero {
    padding-top: 74px;
    padding-bottom: 26px;
  }

  .hero-visual--large {
    height: 230px;
  }

  .hero-card--samurai .hero-copy {
    width: calc(100% - 18px);
    margin-top: -10px;
    padding: 20px 18px 22px;
    border-radius: 22px;
  }
}


/* ---------------------------------------------
  Final polish: spacing, mobile typography, production finish
--------------------------------------------- */
:root {
  --shadow-soft: 0 18px 48px rgba(0, 45, 105, .12);
}

.education-page {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.site-nav {
  gap: clamp(16px, 1.7vw, 28px);
}

.hero-card--samurai .hero-copy {
  box-shadow: 0 28px 80px rgba(0, 45, 105, .16);
}

.hero-card--samurai .hero-copy p,
.section-lead,
.card p,
.card li {
  line-break: strict;
  overflow-wrap: anywhere;
}

.section {
  padding: clamp(36px, 4.8vw, 66px) 0;
}

.section h2,
.hero-title {
  letter-spacing: -.045em;
}

.section-head,
.section-head--wide-gap {
  margin-bottom: 18px;
}

.card {
  box-shadow: var(--shadow-soft);
}

.card-grid {
  gap: 16px;
}

.instructor-card p,
.voice-text {
  font-size: .95rem;
}

.voice-card {
  min-height: 220px;
}

.curriculum-card h3 {
  font-size: clamp(1.12rem, 1.45vw, 1.36rem);
}

.price-card h3,
.schedule-card h3 {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
}

.cta-band {
  max-width: 1080px;
  margin-inline: auto;
  grid-template-columns: minmax(0, .78fr) auto;
}

.cta-band p {
  max-width: 620px;
}

.cta-actions {
  margin-top: 0;
}

.footer-inner {
  font-size: .92rem;
}

@media (max-width: 1100px) {
  .site-header .brand {
    font-size: 1.42rem;
  }

  .hero-card--samurai .hero-title {
    font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    margin-top: 18px;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 72px;
  }

  .education-hero {
    padding-top: 72px;
    padding-bottom: 24px;
  }

  .hero-visual--large {
    height: clamp(230px, 45vw, 340px);
  }

  .hero-card--samurai .hero-copy {
    margin-top: -8px;
  }

  .hero-card--samurai .hero-title {
    font-size: clamp(1.95rem, 7.8vw, 3rem);
    line-height: 1.18;
  }

  .hero-card--samurai .hero-copy p {
    font-size: .94rem;
    line-height: 1.8;
  }

  .button {
    min-height: 52px;
  }

  .stats {
    border-radius: 20px;
  }

  .stat {
    padding: 16px 12px;
  }

  .stat strong {
    font-size: 1.22rem;
  }

  .stat span {
    font-size: .78rem;
  }

  .section {
    padding: 34px 0;
  }

  .section h2 {
    font-size: clamp(1.85rem, 8vw, 2.65rem);
  }

  .section-lead {
    font-size: .95rem;
  }

  .instructor-card,
  .price-card,
  .schedule-card,
  .voice-card {
    padding: 20px;
  }

  .curriculum-card {
    padding: 54px 20px 20px;
  }

  .cta-section {
    padding-bottom: 38px;
  }

  .cta-band {
    border-radius: 24px;
  }
}

@media (max-width: 520px) {
  .site-header .brand {
    font-size: 1.25rem;
  }

  .brand small {
    font-size: .52em;
  }

  .menu-button {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .hero-visual--large {
    height: 222px;
  }

  .hero-card--samurai .hero-title {
    font-size: clamp(1.82rem, 8.1vw, 2.55rem);
  }

  .hero-card--samurai .hero-copy p,
  .section-lead,
  .card p,
  .card li {
    font-size: .9rem;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat strong {
    font-size: 1.08rem;
  }

  .section {
    padding: 30px 0;
  }

  .kicker {
    font-size: .7rem;
  }

  .avatar--photo {
    width: 78px;
    height: 78px;
  }

  .voice-text {
    line-height: 1.75;
  }

  .cta-band h2 {
    font-size: 1.45rem;
  }

  .cta-band p {
    font-size: .88rem;
  }
}


/* ---------------------------------------------
  Revision 06: synergy concept + remote-only plan
--------------------------------------------- */
.gateway-synergy {
  position: absolute;
  z-index: 12;
  left: 50%;
  top: clamp(88px, 10vh, 124px);
  transform: translateX(-50%);
  width: min(560px, calc(100% - 64px));
  padding: 18px 24px 20px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 103, 82, .94), rgba(0, 91, 172, .94));
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 28px 70px rgba(0, 45, 105, .26);
  backdrop-filter: blur(16px);
}

.synergy-eyebrow {
  display: inline-flex;
  margin-bottom: 4px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .9;
}

.gateway-synergy strong {
  display: block;
  font-size: clamp(1.65rem, 3.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.05em;
  font-weight: 950;
}

.gateway-synergy p {
  margin: 8px 0 0;
  font-size: clamp(.86rem, 1.15vw, 1rem);
  font-weight: 800;
  opacity: .92;
}

.instructor-name {
  margin: 2px 0 8px;
  font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", "Apple Chancery", cursive;
  font-size: clamp(1.5rem, 2.1vw, 2.05rem) !important;
  line-height: 1.1;
  letter-spacing: .01em;
  color: #004f9f;
  font-weight: 700;
}

.price-list--remote {
  display: block;
}

.price-card--remote {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 22px;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(255,255,255,.82), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #e4f1ff 100%);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .06em;
}

.remote-plan-copy h3 {
  margin-top: 14px;
  font-size: clamp(1.28rem, 1.9vw, 1.72rem);
}

.remote-points {
  margin: 16px 0 0;
  padding-left: 1.15em;
}

.remote-points li + li {
  margin-top: 5px;
}

.remote-price-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.remote-price-item {
  padding: 18px 14px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,91,172,.12);
  box-shadow: 0 16px 32px rgba(0, 45, 105, .08);
}

.remote-price-item span,
.remote-price-item small {
  display: block;
  color: var(--muted);
  font-weight: 900;
}

.remote-price-item strong {
  display: block;
  margin: 4px 0;
  color: var(--blue);
  font-size: clamp(1.7rem, 2.7vw, 2.45rem);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
}

.remote-price-item--primary {
  background: linear-gradient(135deg, #005bac, #1f73d6);
}

.remote-price-item--primary span,
.remote-price-item--primary small,
.remote-price-item--primary strong {
  color: #fff;
}

.cta-campaign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0 0 12px !important;
  padding: 6px 14px;
  border-radius: 999px;
  color: #005bac !important;
  background: rgba(255,255,255,.94);
  font-size: .94rem !important;
  line-height: 1.35 !important;
  font-weight: 950 !important;
  letter-spacing: .04em;
}

@media (max-width: 1100px) {
  .gateway-synergy {
    top: 94px;
    width: min(480px, calc(100% - 52px));
    padding: 15px 20px 17px;
  }
}

@media (max-width: 820px) {
  .gateway-synergy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    margin: 0 0 18px;
    padding: 18px 18px 20px;
    border-radius: 26px;
  }

  .gateway-synergy strong {
    font-size: clamp(1.75rem, 8vw, 2.8rem);
  }

  .instructor-name {
    font-size: 1.72rem !important;
  }

  .remote-price-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .gateway-synergy {
    margin-bottom: 14px;
    padding: 16px 14px 18px;
  }

  .synergy-eyebrow {
    font-size: .7rem;
  }

  .gateway-synergy p {
    font-size: .86rem;
  }

  .instructor-name {
    font-size: 1.55rem !important;
  }

  .remote-price-item {
    padding: 16px 12px;
  }
}


/* ---------------------------------------------
  Revision 07: top synergy hero banner + campaign footer banner
--------------------------------------------- */
.gateway {
  grid-template-areas:
    "banner banner"
    "game edu";
  grid-template-rows: auto 1fr;
}

.gateway-synergy {
  grid-area: banner;
  position: relative;
  z-index: 6;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  min-height: 174px;
  padding: 34px 40px 28px;
  border-radius: 0 0 30px 30px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 58%, rgba(255,255,255,.16), transparent 20%),
    linear-gradient(90deg, #ef5c4f 0%, #d24e86 42%, #315fc6 100%);
  border: 0;
  box-shadow: 0 18px 42px rgba(24, 53, 108, .16);
  backdrop-filter: none;
}

.gateway-panel--game { grid-area: game; }
.gateway-panel--edu { grid-area: edu; }

.synergy-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: .92rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
}

.gateway-synergy strong {
  display: block;
  font-size: clamp(2.5rem, 5.2vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -.05em;
  font-weight: 950;
  text-shadow: 0 8px 22px rgba(42, 33, 87, .18);
}

.gateway-synergy p {
  margin: 10px 0 0;
  font-size: clamp(.92rem, 1.35vw, 1.1rem);
  font-weight: 800;
  opacity: .96;
}

.gateway-panel {
  min-height: calc(100svh - 174px);
}

.cta-section {
  padding-top: 6px;
}

.cta-recruit-banner {
  position: relative;
  overflow: hidden;
  margin: 0 auto -6px;
  padding: 12px 22px 14px;
  border-radius: 26px 26px 0 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0a3c8b 0%, #123f91 55%, #133a80 100%);
  border: 3px solid #e1b04b;
  box-shadow: 0 14px 30px rgba(0, 39, 91, .16);
}

.cta-recruit-banner::before,
.cta-recruit-banner::after {
  content: '✦';
  position: absolute;
  top: 18px;
  color: #ffd97a;
  font-size: 1.65rem;
  opacity: .92;
}

.cta-recruit-banner::before { left: 16px; }
.cta-recruit-banner::after { right: 16px; }

.cta-recruit-main {
  margin: 0;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -.03em;
  font-size: clamp(2rem, 4.3vw, 4rem);
}

.cta-recruit-main span,
.cta-recruit-main em {
  color: #ffd467;
  font-style: normal;
  font-family: Georgia, 'Times New Roman', serif;
}

.cta-recruit-main span {
  font-size: 1.08em;
}

.cta-recruit-main em {
  font-size: 1.18em;
}

.cta-recruit-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  padding: 10px 22px;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.98);
  color: #1c3472;
  font-size: clamp(.9rem, 1.1vw, 1.28rem);
  font-weight: 900;
  line-height: 1.35;
  box-shadow: inset 0 0 0 2px rgba(18, 60, 140, .08);
}

.cta-band--contact {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  padding: clamp(26px, 3.2vw, 42px);
  grid-template-columns: minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at 88% 18%, rgba(255,255,255,.14), transparent 18%),
    radial-gradient(circle at 68% 68%, rgba(255,255,255,.08), transparent 16%),
    linear-gradient(135deg, #1f63c9 0%, #235ec2 48%, #3275da 100%);
}

.cta-band--contact h2 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.08;
}

.cta-band--contact p {
  color: rgba(255,255,255,.94);
  font-weight: 800;
  font-size: clamp(.96rem, 1.12vw, 1.15rem);
  max-width: 760px;
}

.cta-band--contact .cta-actions {
  margin-top: 0;
  align-self: center;
}

.cta-band--contact .button--coral {
  min-width: 252px;
  min-height: 58px;
  border-radius: 16px;
  box-shadow: 0 16px 28px rgba(255, 103, 82, .24);
}

@media (max-width: 1100px) {
  .gateway-synergy {
    min-height: 158px;
    padding: 28px 28px 24px;
  }

  .gateway-panel {
    min-height: calc(100svh - 158px);
  }

  .gateway-synergy strong {
    font-size: clamp(2.15rem, 5vw, 4rem);
  }
}

@media (max-width: 820px) {
  .gateway {
    display: block;
    padding-top: 0;
  }

  .gateway-synergy {
    margin: 76px -14px 18px;
    min-height: auto;
    padding: 18px 16px 20px;
    border-radius: 0 0 24px 24px;
  }

  .gateway-synergy strong {
    font-size: clamp(2rem, 8.7vw, 3.1rem);
  }

  .gateway-synergy p {
    font-size: .9rem;
  }

  .cta-recruit-banner {
    border-width: 2px;
    border-radius: 22px 22px 0 0;
    padding: 12px 14px 12px;
  }

  .cta-recruit-banner::before,
  .cta-recruit-banner::after {
    top: 12px;
    font-size: 1.2rem;
  }

  .cta-recruit-main {
    font-size: clamp(1.52rem, 7.8vw, 2.45rem);
  }

  .cta-recruit-sub {
    display: flex;
    padding: 10px 14px;
    font-size: .82rem;
  }

  .cta-band--contact {
    border-radius: 0 0 26px 26px;
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .cta-band--contact h2 {
    font-size: clamp(1.68rem, 8.6vw, 2.5rem);
  }

  .cta-band--contact .cta-actions {
    margin-top: 16px;
  }

  .cta-band--contact .button--coral {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .gateway-synergy {
    margin: 74px -10px 14px;
    padding: 16px 12px 18px;
  }

  .synergy-eyebrow {
    font-size: .72rem;
    letter-spacing: .14em;
  }

  .gateway-synergy strong {
    font-size: clamp(1.82rem, 9vw, 2.6rem);
  }

  .gateway-synergy p {
    font-size: .82rem;
  }

  .cta-recruit-sub {
    font-size: .76rem;
    line-height: 1.45;
  }

  .cta-band--contact h2 {
    font-size: 1.9rem;
  }
}


/* ---------------------------------------------
  Revision 08: top layout polish + responsive alignment fixes
--------------------------------------------- */
.gateway {
  grid-template-areas:
    "banner banner"
    "game edu";
  grid-template-rows: 218px minmax(calc(100svh - 218px), auto);
  gap: 0;
  background: linear-gradient(180deg, #fff 0%, #eef4fc 100%);
}

.gateway-synergy {
  grid-area: banner;
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  min-height: 218px;
  margin: 0;
  padding: 26px 32px 24px;
  border-radius: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.14), transparent 20%),
    linear-gradient(90deg, #ef5c4f 0%, #d4558d 42%, #355fc9 100%);
  box-shadow: none;
}

.synergy-eyebrow {
  margin-bottom: 12px;
  font-size: .94rem;
  letter-spacing: .18em;
}

.gateway-synergy strong {
  font-size: clamp(2.6rem, 4.3vw, 5.1rem);
  line-height: 1.03;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.gateway-synergy p {
  margin-top: 14px;
  font-size: clamp(.95rem, 1.05vw, 1.14rem);
  white-space: nowrap;
}

.gateway-panel {
  min-height: calc(100svh - 218px);
  padding: 22px clamp(26px, 3.3vw, 58px) 106px;
  border-radius: 0;
  box-shadow: none;
}

.gateway-panel--game { grid-area: game; }
.gateway-panel--edu { grid-area: edu; }

.gateway-panel--game .panel-copy,
.gateway-panel--edu .panel-copy {
  width: min(760px, 88%);
  margin: 0;
  padding: 10px 22px 12px;
  border-radius: 18px;
}

.gateway-panel--game .panel-copy {
  background: linear-gradient(180deg, rgba(177,74,55,.16), rgba(177,74,55,.12));
}

.gateway-panel--edu .panel-copy {
  width: min(780px, calc(100% - 190px));
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.44));
  backdrop-filter: blur(4px);
}

.panel-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 2.45vw, 3.18rem);
  line-height: 1.16;
  letter-spacing: -.055em;
}

.gateway-panel--edu .panel-copy h1 {
  font-size: clamp(1.95rem, 2.25vw, 3.02rem);
}

.panel-copy p {
  font-size: clamp(1rem, 1vw, 1.12rem);
  line-height: 1.6;
}

.gateway-panel--game .panel-art,
.gateway-panel--edu .panel-art {
  left: 0;
  right: 0;
  top: 128px;
  bottom: 98px;
  width: 100%;
  height: auto;
}

.gateway-panel--edu .panel-art {
  top: 136px;
}

.panel-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.gateway-panel--edu .panel-art img {
  object-position: center 26%;
}

.panel-cta {
  bottom: 34px;
  width: min(500px, calc(100% - 96px));
  min-height: 64px;
  font-size: clamp(1.04rem, 1.22vw, 1.32rem);
}

.panel-note {
  display: none;
}

.cta-section {
  padding-top: 4px;
}

.cta-recruit-banner {
  margin: 0 auto;
  padding: 14px 26px 12px;
  border-radius: 22px 22px 0 0;
}

.cta-recruit-main {
  font-size: clamp(2.1rem, 4.2vw, 4.1rem);
  line-height: 1.06;
}

.cta-recruit-sub {
  margin-top: 12px;
  padding: 10px 24px;
  font-size: clamp(.95rem, 1vw, 1.18rem);
}

.cta-band--contact {
  margin-top: 0;
  border-radius: 0 0 30px 30px;
  padding: 22px 42px 24px;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 24px;
}

.cta-band--contact > div:first-child {
  max-width: none;
}

.cta-band--contact h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.04;
}

.cta-band--contact p {
  max-width: none;
  font-size: clamp(.95rem, 1vw, 1.08rem);
  line-height: 1.5;
}

.cta-band--contact .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-band--contact .button--coral {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  font-size: 1.06rem;
}

@media (max-width: 1440px) {
  .gateway-synergy strong {
    white-space: normal;
  }
}

@media (max-width: 1200px) {
  .gateway {
    grid-template-rows: 196px minmax(calc(100svh - 196px), auto);
  }

  .gateway-synergy {
    min-height: 196px;
    padding: 24px 24px 22px;
  }

  .gateway-panel {
    min-height: calc(100svh - 196px);
    padding-inline: 24px;
  }

  .gateway-panel--game .panel-copy,
  .gateway-panel--edu .panel-copy {
    width: min(700px, 92%);
  }

  .gateway-panel--edu .panel-copy {
    width: min(700px, calc(100% - 160px));
  }

  .panel-copy h1 {
    font-size: clamp(1.85rem, 2.3vw, 2.7rem);
  }

  .gateway-panel--edu .panel-copy h1 {
    font-size: clamp(1.78rem, 2.1vw, 2.5rem);
  }
}

@media (max-width: 820px) {
  .gateway {
    display: block;
    min-height: auto;
    padding: 0 14px 18px;
    overflow: visible;
    background: linear-gradient(180deg, #f6f9ff 0%, #eef4fc 100%);
  }

  .gateway-synergy {
    width: 100%;
    min-height: auto;
    margin: 74px 0 16px;
    padding: 18px 18px 20px;
    border-radius: 0 0 24px 24px;
  }

  .synergy-eyebrow {
    margin-bottom: 8px;
    font-size: .74rem;
  }

  .gateway-synergy strong {
    font-size: clamp(1.95rem, 8vw, 3rem);
    white-space: normal;
  }

  .gateway-synergy p {
    white-space: normal;
    font-size: .9rem;
    line-height: 1.5;
  }

  .gateway-panel {
    min-height: 0;
    margin-bottom: 18px;
    padding: 18px 0 110px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(18, 47, 92, .12);
  }

  .gateway-panel--game,
  .gateway-panel--edu {
    min-height: 560px;
  }

  .gateway-panel--game .panel-copy,
  .gateway-panel--edu .panel-copy {
    width: calc(100% - 28px);
    margin: 0 auto;
    padding: 14px 18px 16px;
    border-radius: 20px;
  }

  .panel-copy h1 {
    font-size: clamp(1.75rem, 7vw, 2.52rem);
    line-height: 1.18;
  }

  .gateway-panel--edu .panel-copy h1 {
    font-size: clamp(1.62rem, 6.2vw, 2.2rem);
  }

  .panel-copy p {
    font-size: .98rem;
    line-height: 1.55;
  }

  .gateway-panel--game .panel-art,
  .gateway-panel--edu .panel-art {
    top: 162px;
    bottom: 86px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
  }

  .gateway-panel--edu .panel-art {
    top: 172px;
  }

  .panel-art img {
    object-position: center 34%;
  }

  .gateway-panel--edu .panel-art img {
    object-position: 66% 30%;
  }

  .panel-cta {
    width: calc(100% - 28px);
    bottom: 22px;
    min-height: 58px;
  }

  .cta-band--contact {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 16px;
  }

  .cta-band--contact h2 {
    font-size: clamp(1.7rem, 8.2vw, 2.42rem);
  }

  .cta-band--contact p {
    font-size: .95rem;
  }
}

@media (max-width: 520px) {
  .gateway {
    padding-inline: 10px;
  }

  .gateway-synergy {
    margin: 68px 0 14px;
    padding: 16px 14px 18px;
  }

  .gateway-panel {
    margin-bottom: 14px;
    padding-bottom: 102px;
  }

  .gateway-panel--game,
  .gateway-panel--edu {
    min-height: 530px;
  }

  .gateway-panel--game .panel-copy,
  .gateway-panel--edu .panel-copy {
    width: calc(100% - 20px);
    padding: 14px 16px 14px;
  }

  .panel-copy h1 {
    font-size: clamp(1.58rem, 8.2vw, 2.12rem);
  }

  .gateway-panel--edu .panel-copy h1 {
    font-size: clamp(1.46rem, 7.2vw, 1.95rem);
  }

  .panel-copy p {
    font-size: .94rem;
  }

  .gateway-panel--game .panel-art,
  .gateway-panel--edu .panel-art {
    top: 170px;
    bottom: 82px;
  }

  .gateway-panel--edu .panel-art {
    top: 178px;
  }

  .cta-recruit-banner {
    padding-inline: 12px;
  }

  .cta-recruit-main {
    font-size: clamp(1.48rem, 9vw, 2.26rem);
  }

  .cta-recruit-sub {
    padding: 10px 12px;
    font-size: .76rem;
    line-height: 1.45;
  }
}


/* ---------------------------------------------
  Revision 09: unified CTA block + education mobile overflow fix
--------------------------------------------- */
.cta-section .container {
  max-width: 1220px;
}

.cta-recruit-banner {
  position: relative;
  z-index: 2;
  margin: 0 auto -6px;
  border-radius: 24px 24px 0 0;
}

.cta-band--contact {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  grid-template-columns: none;
  margin-top: 0;
  padding: 26px 40px 28px;
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(circle at 76% 30%, rgba(255,255,255,.10), transparent 18%),
    linear-gradient(135deg, #2566cc 0%, #2c71da 54%, #3d83ea 100%);
}

.cta-band--contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.cta-band--contact > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.cta-band--contact h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 1.06;
}

.cta-band--contact p {
  margin-top: 10px;
  max-width: 780px;
  font-size: clamp(.95rem, 1vw, 1.06rem);
  line-height: 1.5;
}

.cta-band--contact .cta-actions {
  flex: 0 0 290px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

.cta-band--contact .button--coral {
  width: 100%;
  min-height: 58px;
  border-radius: 16px;
}

@media (max-width: 820px) {
  .cta-section {
    overflow: hidden;
  }

  .cta-recruit-banner {
    margin-bottom: -4px;
    border-radius: 20px 20px 0 0;
  }

  .cta-band--contact {
    display: block;
    padding: 22px 18px 24px;
    border-radius: 0 0 22px 22px;
  }

  .cta-band--contact h2 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  .cta-band--contact p {
    max-width: none;
    font-size: .95rem;
  }

  .cta-band--contact .cta-actions {
    margin-top: 16px;
    width: 100%;
    flex: none;
  }

  .price-schedule,
  .price-list,
  .price-card,
  .price-card--remote,
  .remote-plan-copy,
  .remote-price-box,
  .remote-price-item,
  .schedule-card,
  .schedule-scroll,
  .schedule-table {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .section--blue .container,
  .section--deep-blue .container,
  .education-main .container {
    width: min(100%, 1000px);
    max-width: 100%;
    overflow-x: clip;
  }

  .price-card--remote {
    padding: 18px 16px;
  }

  .remote-plan-copy h3 {
    font-size: 1.6rem;
    line-height: 1.35;
  }

  .remote-points {
    padding-left: 1.05em;
  }

  .remote-points li {
    overflow-wrap: anywhere;
  }

  .schedule-table {
    table-layout: auto;
  }
}

@media (max-width: 520px) {
  .education-page {
    overflow-x: hidden;
  }

  .section,
  .cta-section {
    overflow-x: hidden;
  }

  .price-card--remote {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .remote-plan-copy h3 {
    font-size: 1.38rem;
  }

  .remote-price-box {
    gap: 10px;
  }

  .remote-price-item {
    padding: 16px 12px;
    border-radius: 16px;
  }

  .remote-price-item strong {
    font-size: 2rem;
    line-height: 1.05;
  }

  .schedule-card {
    padding: 18px 14px;
  }

  .schedule-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 8px;
    font-size: .88rem;
    white-space: nowrap;
  }
}


/* ---------------------------------------------
  Revision 10: REAL unified CTA block
  以前の募集バナー＋相談ブロックの2段構造をHTML側で統合。
  ここで旧バナーを完全に無効化し、単一の青いブロックとして表示する。
--------------------------------------------- */
.cta-section {
  padding: clamp(34px, 5vw, 62px) 0 clamp(46px, 6vw, 76px);
  background:
    radial-gradient(circle at 15% 18%, rgba(0,91,172,.10), transparent 24%),
    linear-gradient(180deg, rgba(232,243,255,.74), rgba(221,235,250,.96));
}

.cta-section .container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
}

/* 念のため旧構造が残っても表示させない */
.cta-recruit-banner {
  display: none !important;
}

.cta-band--unified {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  width: 100%;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 48px) clamp(28px, 5vw, 62px);
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 35%, rgba(255,255,255,.14), transparent 23%),
    linear-gradient(135deg, #0b469e 0%, #1f64ca 48%, #3d83ea 100%);
  border: 2px solid rgba(255, 212, 103, .88);
  box-shadow: 0 24px 70px rgba(0, 45, 105, .18);
}

.cta-band--unified::before,
.cta-band--unified::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.cta-band--unified::before {
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,255,.12) 0 2px, transparent 2px);
  background-size: 96px 100%, 28px 28px;
  opacity: .22;
}

.cta-band--unified::after {
  right: -80px;
  bottom: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.11);
}

.cta-recruit-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.cta-band--unified .cta-recruit-main {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: -.04em;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  white-space: normal;
}

.cta-band--unified .cta-recruit-main::before,
.cta-band--unified .cta-recruit-main::after {
  content: "✦";
  display: inline-block;
  color: #ffd467;
  font-size: .45em;
  vertical-align: middle;
  margin: 0 .35em;
}

.cta-band--unified .cta-recruit-main span,
.cta-band--unified .cta-recruit-main em {
  color: #ffd467;
  font-style: normal;
  font-family: Georgia, "Times New Roman", serif;
}

.cta-band--unified .cta-recruit-sub {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 9px 22px;
  min-height: 40px;
  border-radius: 999px;
  color: #143777;
  background: rgba(255,255,255,.96);
  box-shadow: inset 0 0 0 2px rgba(18,60,140,.08), 0 8px 18px rgba(0,0,0,.10);
  font-size: clamp(.9rem, 1vw, 1.05rem);
  line-height: 1.4;
  font-weight: 900;
}

.cta-band--unified h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -.05em;
  white-space: normal;
}

.cta-band--unified .cta-contact-note {
  margin: 0;
  color: rgba(255,255,255,.95);
  font-size: clamp(.95rem, 1.05vw, 1.08rem);
  line-height: 1.65;
  font-weight: 850;
  max-width: 760px;
}

.cta-band--unified .cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.cta-band--unified .button--coral {
  width: 100%;
  min-width: 0;
  min-height: 62px;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(255,103,82,.25);
}

@media (max-width: 900px) {
  .cta-section .container {
    width: min(100%, calc(100% - 28px));
  }

  .cta-band--unified {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px 20px 24px;
    border-radius: 26px;
  }

  .cta-band--unified .cta-recruit-main {
    font-size: clamp(1.78rem, 7.5vw, 2.75rem);
  }

  .cta-band--unified .cta-recruit-sub {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: .82rem;
    padding-inline: 14px;
  }

  .cta-band--unified h2 {
    font-size: clamp(1.72rem, 7.8vw, 2.45rem);
  }

  .cta-band--unified .button--coral {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .cta-section .container {
    width: min(100%, calc(100% - 20px));
  }

  .cta-band--unified {
    padding: 24px 16px 22px;
    border-radius: 22px;
  }

  .cta-band--unified .cta-recruit-main {
    font-size: clamp(1.45rem, 8.4vw, 2.18rem);
  }

  .cta-band--unified .cta-recruit-main::before,
  .cta-band--unified .cta-recruit-main::after {
    margin: 0 .2em;
  }

  .cta-band--unified .cta-recruit-sub {
    font-size: .76rem;
    line-height: 1.45;
  }

  .cta-band--unified .cta-contact-note {
    font-size: .9rem;
  }
}


/* ---------------------------------------------
  Revision 11: CTA typography / awkward line-break fix
--------------------------------------------- */
.cta-section .container {
  width: min(1260px, calc(100% - 40px));
  max-width: 1260px;
}

.cta-band--unified {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(20px, 3.2vw, 42px);
  padding: clamp(28px, 3.4vw, 42px) clamp(30px, 4.8vw, 58px);
}

.cta-band--unified .cta-recruit-main {
  font-size: clamp(2.2rem, 3.45vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.cta-band--unified .cta-recruit-main::before,
.cta-band--unified .cta-recruit-main::after {
  font-size: .38em;
  margin: 0 .26em;
}

.cta-band--unified .cta-recruit-sub {
  margin-bottom: 22px;
  padding: 8px 20px;
  font-size: clamp(.86rem, .92vw, 1rem);
  white-space: nowrap;
}

.cta-band--unified h2 {
  font-size: clamp(2.05rem, 2.65vw, 3rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  white-space: nowrap;
}

.cta-band--unified .cta-contact-note {
  font-size: clamp(.9rem, .96vw, 1.02rem);
  line-height: 1.55;
  max-width: 820px;
}

.cta-band--unified .button--coral {
  min-height: 58px;
  font-size: .98rem;
}

@media (max-width: 1180px) {
  .cta-band--unified .cta-recruit-main {
    font-size: clamp(1.95rem, 3.15vw, 3rem);
  }

  .cta-band--unified h2 {
    font-size: clamp(1.78rem, 2.45vw, 2.55rem);
  }
}

@media (max-width: 980px) {
  .cta-band--unified {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 22px 24px;
    text-align: center;
  }

  .cta-band--unified .cta-recruit-main {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(1.78rem, 6.2vw, 2.85rem);
  }

  .cta-band--unified .cta-recruit-sub {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .cta-band--unified h2 {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(1.7rem, 5.8vw, 2.55rem);
  }

  .cta-band--unified .cta-contact-note {
    margin-inline: auto;
  }

  .cta-band--unified .cta-actions {
    width: min(360px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .cta-band--unified {
    padding: 22px 16px 22px;
  }

  .cta-band--unified .cta-recruit-main {
    font-size: clamp(1.42rem, 7.6vw, 2rem);
    line-height: 1.18;
  }

  .cta-band--unified .cta-recruit-main::before,
  .cta-band--unified .cta-recruit-main::after {
    display: none;
  }

  .cta-band--unified .cta-recruit-sub {
    margin-bottom: 18px;
    padding: 9px 12px;
    font-size: .76rem;
    line-height: 1.45;
  }

  .cta-band--unified h2 {
    font-size: clamp(1.48rem, 7vw, 2rem);
    line-height: 1.22;
  }

  .cta-band--unified .cta-contact-note {
    font-size: .86rem;
    line-height: 1.65;
  }
}


/* ---------------------------------------------
  Revision 12: education hero title size fine-tune
  「AI/DX時代の 現場力を育てる。」が3行になりにくいよう、約12%縮小。
--------------------------------------------- */
.education-page .hero-card--samurai .hero-title {
  font-size: clamp(1.76rem, 3.25vw, 3.6rem);
  line-height: 1.18;
}

@media (max-width: 1100px) {
  .education-page .hero-card--samurai .hero-title {
    font-size: clamp(1.72rem, 4.75vw, 3.65rem);
  }
}

@media (max-width: 820px) {
  .education-page .hero-card--samurai .hero-title {
    font-size: clamp(1.7rem, 6.85vw, 2.65rem);
    line-height: 1.2;
  }
}

@media (max-width: 520px) {
  .education-page .hero-card--samurai .hero-title {
    font-size: clamp(1.55rem, 6.9vw, 2.25rem);
  }
}
