@charset "UTF-8";
/* ==========================================================
   創進塾 共通スタイル
   ========================================================== */
:root {
  --navy: #0e2a5c;
  --blue: #1f56c4;
  --blue-2: #3b7be8;
  --sky: #e9f2fe;
  --sky-2: #f5f9ff;
  --line: #d5e2f5;
  --text: #1d2a3d;
  --muted: #5b6b82;
  --yellow: #ffcc33;
  --yellow-d: #f2b200;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 42, 92, .10);
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Montserrat", sans-serif;
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: .25s; }
a:hover { opacity: .8; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
table { border-collapse: collapse; width: 100%; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(900px, 100% - 40px); margin-inline: auto; }
.sp-only { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 2px 14px rgba(14, 42, 92, .06);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1280px, 100% - 40px);
  margin-inline: auto;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.logo__mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 24px;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__sub { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.logo__name { font-family: var(--font-serif); font-weight: 700; font-size: 26px; letter-spacing: .14em; }

.gnav { display: flex; align-items: center; gap: 28px; }
.gnav__list { display: flex; gap: 26px; }
.gnav__list a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.gnav__list a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.gnav__list a:hover { opacity: 1; color: var(--blue); }
.gnav__list a:hover::after,
.gnav__list a[aria-current="page"]::after { transform: scaleX(1); }
.gnav__list a[aria-current="page"] { color: var(--blue); }

.header-tel {
  display: flex; align-items: center; gap: 10px;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  line-height: 1.2;
}
.header-tel:hover { opacity: 1; background: var(--navy); }
.header-tel__icon { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }
.header-tel__label { display: block; font-size: 11px; opacity: .9; }
.header-tel__num { display: block; font-family: var(--font-en); font-weight: 700; font-size: 18px; letter-spacing: .03em; }

.menu-btn {
  display: none;
  width: 48px; height: 48px;
  border: 0; border-radius: 12px;
  background: var(--navy);
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 13px;
  width: 22px; height: 2px;
  background: #fff;
  transition: .3s;
}
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn span:nth-child(3) { top: 30px; }
.is-menu-open .menu-btn span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-btn span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

main { padding-top: var(--header-h); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: 260px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  transition: .25s;
}
.btn::after {
  content: "";
  width: 8px; height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(31, 86, 196, .3); }
.btn--primary:hover { background: var(--navy); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 20px rgba(242, 178, 0, .35); }
.btn--yellow:hover { background: var(--yellow-d); }
.btn--outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }

/* ---------- Section common ---------- */
.section { padding: 110px 0; position: relative; }
.section--sky { background: var(--sky-2); }
.section--blue { background: linear-gradient(160deg, var(--blue), var(--navy)); color: #fff; }

.sec-title { text-align: center; margin-bottom: 56px; }
.sec-title__en {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3em;
  color: var(--blue-2);
  margin-bottom: 8px;
}
.sec-title__ja {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: .08em;
}
.sec-title__ja em { font-style: normal; color: var(--blue); }
.sec-title::after {
  content: "";
  display: block;
  width: 56px; height: 4px;
  margin: 22px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--yellow) 50% 100%);
}
.sec-title--left { text-align: left; }
.sec-title--left::after { margin-left: 0; }
.section--blue .sec-title__ja { color: #fff; }
.section--blue .sec-title__en { color: var(--yellow); }
.sec-lead { text-align: center; color: var(--muted); margin: -24px auto 48px; max-width: 760px; }

.marker { background: linear-gradient(transparent 62%, rgba(255, 204, 51, .55) 62%); font-weight: 700; }
.text-blue { color: var(--blue); }
.note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* wave */
.wave { display: block; width: 100%; height: 60px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute; inset: 0;
  background: var(--navy) url("../images/hero.webp") 75% center / cover no-repeat;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 32, 76, .88) 0%, rgba(14, 48, 120, .62) 48%, rgba(14, 48, 120, .05) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: 80px 0 120px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero__badge b { color: var(--yellow); font-family: var(--font-en); font-size: 18px; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.45;
  letter-spacing: .08em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .25);
}
.hero__title span { color: var(--yellow); }
.hero__text { margin-top: 24px; font-size: clamp(15px, 1.6vw, 18px); font-weight: 500; max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__stats {
  position: absolute; z-index: 2;
  right: max(20px, calc((100% - 1120px) / 2));
  bottom: 70px;
  display: flex; gap: 16px;
}
.stat {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
  border: 4px solid var(--yellow);
  line-height: 1.3;
}
.stat__label { font-size: 12px; font-weight: 700; color: var(--muted); }
.stat__num { font-family: var(--font-en); font-weight: 800; font-size: 40px; color: var(--blue); }
.stat__num small { font-size: 16px; font-family: var(--font); }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; }
.hero__wave path { fill: #fff; }

/* ---------- Intro (message) ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro__img { position: relative; }
.intro__img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.intro__img::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: var(--radius);
  background: var(--sky);
  z-index: -1;
}
.intro__catch {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 24px;
}
.intro p + p { margin-top: 1em; }
.intro__btn { margin-top: 36px; }

/* ---------- Reasons ---------- */
.reasons { display: flex; flex-direction: column; gap: 80px; }
.reason { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.reason:nth-child(even) .reason__img { order: 2; }
.reason__img img { border-radius: var(--radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.reason__num {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: var(--font-en);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.reason__num small { font-size: 14px; letter-spacing: .2em; }
.reason__num span { font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--blue); }
.reason__title {
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 18px;
}
.reason__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.reason__tags li {
  background: var(--sky);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

/* ---------- Course cards ---------- */
.course-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  color: var(--text);
  transition: .3s;
}
.course-card:hover { opacity: 1; transform: translateY(-6px); box-shadow: 0 18px 40px rgba(14, 42, 92, .16); }
.course-card__img { position: relative; }
.course-card__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.course-card__label {
  position: absolute; left: 0; bottom: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  padding: 8px 24px;
  border-top-right-radius: 14px;
}
.course-card--jr .course-card__label { background: var(--navy); }
.course-card--hs .course-card__label { background: #2a8bd6; }
.course-card__body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.course-card__en { font-family: var(--font-en); font-weight: 700; color: var(--blue-2); font-size: 12px; letter-spacing: .2em; }
.course-card__title { font-size: 19px; font-weight: 900; color: var(--navy); margin: 4px 0 10px; line-height: 1.5; }
.course-card__text { font-size: 15px; color: var(--muted); flex: 1; }
.course-card__more {
  margin-top: 18px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 8px;
}
.course-card__more::after { content: "→"; transition: .3s; }
.course-card:hover .course-card__more::after { transform: translateX(4px); }

/* ---------- Results (top) ---------- */
.result-hero--2 { grid-template-columns: repeat(2, 1fr) !important; }
.result-hero--4 { grid-template-columns: repeat(4, 1fr) !important; }
.result-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.result-box {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}
.result-box__label { font-size: 14px; font-weight: 700; opacity: .9; }
.result-box__num { font-family: var(--font-en); font-weight: 800; font-size: 56px; color: var(--yellow); line-height: 1.2; }
.result-box__num small { font-family: var(--font); font-size: 20px; color: #fff; margin-left: 4px; }
.result-box__sub { font-size: 14px; opacity: .85; }
/* 色違い（基本の .result-box より後に書くこと） */
.result-box--navy { background: var(--navy); color: #fff; border: 0; }
.result-box--blue { background: var(--blue); color: #fff; border: 0; }
.result-box--white { background: #fff; border: 2px solid var(--line); color: var(--navy); }
.result-box--white .result-box__num { color: var(--blue); }
.result-box--white .result-box__num small { color: var(--navy); }

.school-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.school-chips li {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 999px;
}
.school-chips li b { color: var(--blue); margin-left: 6px; font-family: var(--font-en); }
.section--blue .btn-wrap { margin-top: 48px; }

/* ---------- Voice ---------- */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.voice {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 32px 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.voice::before {
  content: "“";
  position: absolute; top: -6px; right: 22px;
  font-family: Georgia, serif;
  font-size: 110px;
  line-height: 1;
  color: var(--sky);
}
.voice__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; position: relative; }
.voice__icon {
  width: 60px; height: 60px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--sky);
  display: grid; place-items: center;
}
.voice__icon svg { width: 34px; height: 34px; fill: var(--blue); }
.voice__school { font-weight: 900; color: var(--navy); font-size: 18px; line-height: 1.4; }
.voice__school small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.voice__rank {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: 14px;
  padding: 2px 12px;
  border-radius: 999px;
  margin-top: 4px;
}
.voice__text { font-size: 15px; position: relative; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: flow; }
.flow__item {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px 30px;
  text-align: center;
  position: relative;
}
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -30px;
  border: 12px solid transparent;
  border-left: 16px solid var(--blue);
  transform: translateY(-50%);
}
.flow__step {
  position: absolute; top: -20px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .15em;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.flow__icon {
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--sky);
  display: grid; place-items: center;
}
.flow__icon svg { width: 38px; height: 38px; fill: var(--blue); }
.flow__title { font-size: 22px; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.flow__text { font-size: 15px; color: var(--muted); text-align: left; }
.flow-note {
  margin-top: 40px;
  text-align: center;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
  color: var(--navy);
}

/* ---------- Classroom cards ---------- */
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.room {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
  border-top: 5px solid var(--blue);
}
.room--main { border-top-color: var(--yellow); }
.room__name { font-size: 20px; font-weight: 900; color: var(--navy); }
.room__area { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.room__tel {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 19px;
  color: var(--blue);
}
.room__tel svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  color: #fff;
  text-align: center;
  background: var(--navy) url("../images/cta.webp") center / cover no-repeat;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(14, 42, 92, .93), rgba(31, 86, 196, .85));
}
.cta__inner { position: relative; }
.cta__en { font-family: var(--font-en); font-weight: 700; letter-spacing: .3em; color: var(--yellow); font-size: 14px; }
.cta__title { font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; margin: 8px 0 14px; line-height: 1.5; }
.cta__text { opacity: .92; }
.cta__boxes { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-top: 36px; }
.cta__tel {
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius);
  padding: 20px 36px;
  min-width: 340px;
  line-height: 1.4;
}
.cta__tel:hover { opacity: 1; transform: translateY(-3px); }
.cta__tel-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.cta__tel-num {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 34px;
  color: var(--blue);
}
.cta__tel-num svg { width: 28px; height: 28px; fill: currentColor; }
.cta__tel-time { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: #0a1f45; color: rgba(255, 255, 255, .85); padding: 70px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px; }
.footer .logo { color: #fff; }
.footer .logo__sub { color: rgba(255, 255, 255, .6); }
.footer__about { margin-top: 18px; line-height: 1.9; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 24px; margin-top: 24px; }
.footer__nav a { color: rgba(255, 255, 255, .85); }
.footer__nav a::before { content: "›"; margin-right: 8px; color: var(--yellow); }
.footer__rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.footer__room { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 14px 18px; }
.footer__room dt { font-weight: 700; color: #fff; }
.footer__room dd { margin: 0; font-family: var(--font-en); }
.footer__room dd a { color: var(--yellow); font-weight: 700; font-size: 17px; }
.footer__bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
}

.pagetop {
  position: fixed;
  right: 20px; bottom: 24px;
  z-index: 90;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(14, 42, 92, .3);
  opacity: 0; visibility: hidden;
  transition: .3s;
}
.pagetop::before {
  content: "";
  width: 12px; height: 12px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transform: translateY(3px) rotate(45deg);
}
.pagetop.is-show { opacity: 1; visibility: visible; }

.sp-fixed { display: none; }

/* ==========================================================
   下層ページ
   ========================================================== */
.page-hero {
  position: relative;
  padding: 90px 0 110px;
  color: #fff;
  overflow: hidden;
  background: var(--navy) var(--bg, none) center / cover no-repeat;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 32, 76, .9), rgba(31, 86, 196, .7));
}
.page-hero__inner { position: relative; }
.page-hero__en { font-family: var(--font-en); font-weight: 700; letter-spacing: .3em; color: var(--yellow); font-size: 14px; }
.page-hero__title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: .1em; }
.page-hero .hero__wave { z-index: 1; }

.breadcrumb { font-size: 13px; color: var(--muted); padding: 14px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }

.page-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 20px; }
.page-nav a {
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 700;
}
.page-nav a:hover { background: var(--blue); color: #fff; opacity: 1; }

/* heading */
.h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  color: var(--navy);
  padding-left: 18px;
  border-left: 6px solid var(--blue);
  line-height: 1.5;
  margin: 0 0 24px;
}
.h4 {
  font-size: 19px;
  font-weight: 900;
  color: var(--blue);
  margin: 0 0 12px;
  display: flex; align-items: center; gap: 10px;
}
.h4::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); }

.block + .block { margin-top: 72px; }

/* media (image + text) */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media--rev .media__img { order: 2; }
.media__img img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.media__body p + p { margin-top: 1em; }

/* policy cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sky);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.card__icon svg { width: 32px; height: 32px; fill: var(--blue); }
.card__title { font-size: 19px; font-weight: 900; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.card__text { font-size: 15px; color: var(--muted); }
.card--center { text-align: center; }
.card--center .card__icon { margin-inline: auto; }

/* data table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
  min-width: 560px;
}
.table th, .table td { border: 1px solid var(--line); padding: 14px 16px; text-align: center; vertical-align: middle; }
.table thead th { background: var(--blue); color: #fff; font-weight: 700; }
.table tbody th { background: var(--sky); color: var(--navy); font-weight: 700; }
.table .price { font-family: var(--font-en); font-weight: 700; color: var(--blue); font-size: 17px; }
.table--info { min-width: 0; }
.table--info th { width: 28%; text-align: left; }
.table--info td { text-align: left; }

/* course detail */
.course-sec { scroll-margin-top: calc(var(--header-h) + 10px); }
.course-head {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
}
.course-head__label {
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  border-radius: 12px;
  padding: 10px 24px;
  white-space: nowrap;
}
.course-head__label--jr { background: var(--navy); }
.course-head__label--hs { background: #2a8bd6; }
.course-head__catch { font-size: clamp(18px, 2.2vw, 24px); font-weight: 900; color: var(--navy); line-height: 1.5; }

.class-box {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.class-box + .class-box { margin-top: 28px; }
.class-box__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.class-box__tag {
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
  padding: 3px 12px;
  border-radius: 6px;
}
.class-box__title { font-size: 22px; font-weight: 900; color: var(--navy); }
.class-box__text { margin-bottom: 20px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li + li { margin-top: 6px; }
.check-list li::before {
  content: "";
  position: absolute; left: 4px; top: .55em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: rotate(-45deg);
}

.feature-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px;
}
.feature-strip li {
  background: var(--sky);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}
.feature-strip li span { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }

/* results page */
.pass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pass-item {
  background: #fff;
  border-radius: 12px;
  border: 2px solid var(--line);
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
  color: var(--navy);
}
.pass-item b { font-family: var(--font-en); font-size: 24px; color: var(--blue); }
.pass-item b small { font-family: var(--font); font-size: 14px; margin-left: 2px; color: var(--navy); }
.pass-item--accent { border-color: var(--blue); background: var(--sky); }

.uni-list { display: flex; flex-wrap: wrap; gap: 10px; }
.uni-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}
.uni-list li.is-strong { background: var(--blue); border-color: var(--blue); color: #fff; }

.up-table td.up { font-family: var(--font-en); font-weight: 800; color: var(--blue); font-size: 18px; white-space: nowrap; }
.up-table td.up span { color: var(--muted); font-weight: 500; font-size: 14px; }

/* classroom page */
.room-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  align-items: start;
}
.room-detail + .room-detail { margin-top: 32px; }
.room-detail__name { font-size: 26px; font-weight: 900; color: var(--navy); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.room-detail__name small { font-size: 13px; background: var(--yellow); color: var(--navy); padding: 2px 12px; border-radius: 999px; }
.room-detail__lead { color: var(--muted); margin-bottom: 18px; }
.room-detail__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 12px; display: block; }
.room-detail .btn { min-width: 0; width: 100%; margin-top: 20px; }

.faq { max-width: 900px; margin-inline: auto; }
.faq__item { background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.faq__item + .faq__item { margin-top: 14px; }
.faq__q {
  width: 100%;
  background: none; border: 0;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  padding: 22px 60px 22px 64px;
  position: relative;
  cursor: pointer;
  font-size: 16px;
}
.faq__q::before, .faq__a::before {
  position: absolute; left: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-en);
  font-weight: 800;
}
.faq__q::before { content: "Q"; background: var(--blue); color: #fff; top: 18px; }
.faq__q::after {
  content: "";
  position: absolute; right: 26px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: .3s;
}
.faq__item.is-open .faq__q::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { display: none; position: relative; padding: 0 28px 24px 64px; }
.faq__a::before { content: "A"; background: var(--yellow); color: var(--navy); top: -4px; }
.faq__item.is-open .faq__a { display: block; }

/* ---------- Animation ---------- */
.js-fade { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.js-fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1180px) {
  .gnav__list { gap: 18px; }
  .gnav__list a { font-size: 14px; }
  .header-tel__label { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .logo__mark { width: 40px; height: 40px; font-size: 20px; }
  .logo__name { font-size: 22px; }
  .menu-btn { display: block; }
  .header-tel { display: none; }
  .gnav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(14, 42, 92, .97);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px 40px;
    gap: 24px;
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: .3s;
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; }
  .is-menu-open { overflow: hidden; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { color: #fff; display: block; padding: 18px 4px; font-size: 17px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .gnav__list a::after { display: none; }
  .gnav__list a[aria-current="page"] { color: var(--yellow); }
  .gnav .header-tel { display: flex; justify-content: center; background: var(--yellow); color: var(--navy); padding: 14px; }
  .gnav .header-tel__label { display: block; }

  .rooms { grid-template-columns: repeat(2, 1fr); }
  .course-cards { grid-template-columns: 1fr 1fr; }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .hero__stats { position: relative; bottom: auto; right: auto; justify-content: center; margin: 0 auto 0; }
  .hero__inner { padding-bottom: 40px; }
  .hero { padding-bottom: 90px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .sp-only { display: inline; }
  .section { padding: 72px 0; }
  .sec-title { margin-bottom: 40px; }

  .hero { min-height: auto; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(10, 32, 76, .82), rgba(14, 48, 120, .7)); }
  .hero__inner { padding: 56px 0 30px; }
  .hero__title { font-size: 28px; letter-spacing: .04em; }
  .hero__btns .btn { width: 100%; min-width: 0; }
  .hero__stats { gap: 10px; justify-content: center; }
  .stat { width: 104px; height: 104px; border-width: 3px; }
  .stat__label { font-size: 10px; }
  .stat__num { font-size: 28px; }
  .stat__num small { font-size: 12px; }

  .intro, .reason, .media { grid-template-columns: 1fr; gap: 32px; }
  .reason:nth-child(even) .reason__img, .media--rev .media__img { order: 0; }
  .intro__img::before { inset: 14px -10px -14px 14px; }
  .reasons { gap: 56px; }
  .course-cards, .voices, .cards, .cards--2, .cards--4, .result-hero, .feature-strip, .pass-grid { grid-template-columns: 1fr; }
  .result-hero { gap: 14px; }
  .result-hero--2 { grid-template-columns: 1fr !important; }
  .result-hero--4 { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .result-hero--4 .result-box { padding: 16px 8px; }
  .result-hero--4 .result-box__num { font-size: 34px; }
  .result-hero--4 .result-box__label, .result-hero--4 .result-box__sub { font-size: 12px; }
  .table { min-width: 0; font-size: 13px; }
  .table th, .table td { padding: 10px 6px; }
  .table .price { font-size: 14px; white-space: nowrap; }
  .table--info th { width: 6.5em; white-space: nowrap; }
  .up-table td.up { font-size: 15px; }
  .result-box { padding: 20px; }
  .result-box__num { font-size: 44px; }
  .flow { grid-template-columns: 1fr; gap: 44px; }
  .flow__item:not(:last-child)::after { top: auto; bottom: -38px; right: 50%; transform: translateX(50%) rotate(90deg); }
  .rooms { grid-template-columns: 1fr 1fr; gap: 12px; }
  .room { padding: 18px 10px; }
  .room__name { font-size: 17px; }
  .room__tel { font-size: 15px; }
  .cta__tel { min-width: 0; width: 100%; padding: 18px; }
  .cta__tel-num { font-size: 26px; }
  .btn { min-width: 0; width: 100%; max-width: 360px; }

  .footer { padding-bottom: 70px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
  .footer__rooms { grid-template-columns: 1fr 1fr; gap: 10px; }
  .footer__room { padding: 12px; }
  .footer__room dd a { font-size: 14px; }

  .page-hero { padding: 56px 0 80px; }
  .course-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .class-box { padding: 24px 18px; }
  .room-detail { grid-template-columns: 1fr; padding: 24px 18px; }
  .faq__q { padding: 18px 44px 18px 60px; font-size: 15px; }
  .faq__a { padding: 0 18px 20px 60px; }

  .pagetop { bottom: 84px; right: 14px; width: 46px; height: 46px; }
  .sp-fixed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 95;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
  }
  .sp-fixed a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px 8px;
    font-weight: 700;
    font-size: 15px;
  }
  .sp-fixed a svg { width: 18px; height: 18px; fill: currentColor; }
  .sp-fixed__tel { background: var(--yellow); color: var(--navy); }
  .sp-fixed__room { background: var(--blue); color: #fff; }
}

/* 表内の補足テキスト */
.nw { white-space: nowrap; }
.table th small, .table td small { display: block; white-space: normal; font-size: 12px; font-weight: 500; color: var(--muted); }
.table tbody th { white-space: nowrap; }

.table a[href^="tel"] { white-space: nowrap; }
.table--wrap tbody th { white-space: normal; }
