@charset "utf-8";

/* =========================================================
   ぐんま国際アカデミー 高等部 通信制課程 公式サイト
   色の正本: brand/colors.json
   ========================================================= */

:root {
  --pink: #FF6B9D;
  --pink-deep: #E8558A;
  --mint: #4ECDC4;
  --yellow: #FFD93D;
  --bg: #FFFFFF;
  --bg-alt: #F8F9FA;
  --ink: #333333;
  --ink-sub: #888888;
  /* 罫線は正本にない色を発明せず、--ink の透過でつくる */
  --line: rgba(51,51,51,.14);
  --line-soft: rgba(51,51,51,.055);
  --pink-tint: rgba(255,107,157,.16);
  --max: 880px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--pink);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
a:hover { color: var(--ink); text-decoration-color: var(--pink-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  /* ナビ9項目が入るよう、本文の幅とは別に広く取る */
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; }
.brand-name { font-weight: 700; font-size: 14px; line-height: 1.35; letter-spacing: 0; white-space: nowrap; }
.brand-name span { display: block; font-weight: 400; font-size: 11px; color: var(--ink-sub); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink);
  cursor: pointer;
}

.gnav ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.gnav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.gnav a:hover { color: var(--ink); border-bottom-color: var(--pink); }
.gnav a[aria-current] { border-bottom-color: var(--pink); }

/* ヘッダーのボタン */

.header-cta {
  flex: none;
  background: var(--pink);
  border: 2px solid var(--pink-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.4;
}
.header-cta:hover { background: var(--pink-deep); color: #fff; }

/* ---------- ページ見出し ---------- */

.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 40px;
}
.page-head h1 { margin: 0; font-size: 30px; line-height: 1.4; font-weight: 700; }
.page-head .en { display: block; font-size: 12px; letter-spacing: .16em; color: var(--ink-sub); font-weight: 500; margin-bottom: 6px; }
.page-head p { margin: 14px 0 0; font-size: 15px; color: var(--ink); max-width: 42em; }

.breadcrumb { font-size: 12px; color: var(--ink-sub); padding: 12px 0 0; }
.breadcrumb a { color: var(--ink-sub); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- トップのヒーロー ---------- */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 28%; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(255,255,255,.97) 0%,
    rgba(255,255,255,.95) 32%,
    rgba(255,255,255,.72) 48%,
    rgba(255,255,255,.10) 66%,
    rgba(255,255,255,0) 78%);
}
.hero-copy {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 20px;
}
.hero-inner { max-width: 560px; }

.hero-copy .open {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--pink-tint);
  padding: 6px 16px;
  border-radius: 20px;
}
.hero-copy h1 {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .01em;
}
.hero-lead { margin: 0 0 22px; font-size: 16px; line-height: 1.9; }

.hero-points { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.hero-points li {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 500; line-height: 1.6;
}
.hero-points svg {
  flex: none; width: 20px; height: 20px;
  fill: none; stroke: var(--pink); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}

.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.hero-cta-note { font-size: 13px; line-height: 1.7; }

/* ---------- セクション ---------- */

.sec { padding: 60px 0; }
/* ヘッダーに隠れないように、#リンクで飛んだ位置を下げる */
.sec[id], .hero[id] { scroll-margin-top: 78px; }
.sec.alt { background: var(--bg-alt); }
.sec.tight { padding: 44px 0; }

/* 章の先頭。区切りが見えるように上を広く取る */
.sec.chapter { padding-top: 84px; }
.sec.chapter .sec-label { font-size: 13px; color: var(--ink); }
.sec.chapter .sec-label::after {
  content: "";
  display: block;
  width: 28px; height: 2px;
  background: var(--mint);
  margin: 8px 0 10px;
}

h2.h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
}
.sec-label { display: block; font-size: 12px; letter-spacing: .16em; color: var(--ink-sub); font-weight: 500; margin-bottom: 4px; }
.h2-rule { width: 40px; height: 3px; background: var(--pink); border-radius: 2px; margin: 0 0 26px; }

h3.h3 {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  margin: 32px 0 10px;
  padding-left: 12px;
  border-left: 4px solid var(--mint);
}
h4.h4 { font-size: 16px; font-weight: 700; margin: 26px 0 8px; }

p { margin: 0 0 16px; }
.lead { font-size: 17px; }

/* 本文はコンテンツ幅いっぱいで折り返す */
.note { font-size: 13px; color: var(--ink); line-height: 1.85; margin: 10px 0 0; }

ul.list, ol.list { margin: 0 0 16px; padding-left: 1.3em; }
ul.list li, ol.list li { margin-bottom: 8px; }

/* ---------- 表 ---------- */

.table-scroll { overflow-x: auto; margin: 0 0 16px; }
table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  min-width: 520px;
}
table.tbl th, table.tbl td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
table.tbl thead th { background: var(--bg-alt); font-weight: 700; white-space: nowrap; }
table.tbl th[scope="row"] { background: var(--bg-alt); font-weight: 500; white-space: nowrap; width: 11em; }
table.tbl td.num { text-align: right; white-space: nowrap; }
table.tbl td.total { text-align: right; white-space: nowrap; font-weight: 700; }
.sec.alt table.tbl thead th, .sec.alt table.tbl th[scope="row"] { background: var(--line-soft); }

/* ---------- 手順の図 ---------- */

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 18px; }
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 16px 20px;
  text-align: center;
}
.flow-step + .flow-step::before {
  content: "";
  position: absolute; left: -12px; top: 50%;
  width: 10px; height: 10px;
  border-top: 2px solid var(--pink);
  border-right: 2px solid var(--pink);
  transform: translateY(-50%) rotate(45deg);
}
.flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--pink-tint);
  color: var(--ink);
  font-weight: 700; font-size: 17px;
  margin-bottom: 10px;
}
.flow-step p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.6; }
.flow-result {
  background: rgba(78,205,196,.12);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 700;
  text-align: center;
  max-width: none !important;
}

/* ---------- アイコン付きの要点 ---------- */

.points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.point { display: flex; gap: 12px; align-items: flex-start; }
.point svg {
  flex: none; width: 30px; height: 30px;
  fill: none; stroke: var(--mint); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.point h4 { margin: 0 0 3px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.point p { margin: 0; font-size: 14px; line-height: 1.7; }

/* ---------- 副校長あいさつ ---------- */

#message .media { grid-template-columns: 300px 1fr; gap: 34px; align-items: stretch; }
#message .media-img { position: relative; min-height: 300px; }
#message .media-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 16%;
}

/* 写真を右に置きたいとき */
.media-rev .media-img { order: 2; }
.msg { font-size: 17px; line-height: 2.0; font-weight: 500; }
.msg-name { margin-top: 18px; font-size: 15px; line-height: 1.8; }
.msg-name strong { font-size: 18px; }

/* ---------- 学費 ---------- */

.tuition-box { text-align: center; padding: 30px 24px; }
.tuition-main { font-size: 19px; font-weight: 500; line-height: 1.7; margin-bottom: 14px; }
.tuition-main strong { font-size: 23px; color: var(--ink); }
.tuition-sub { font-size: 22px; font-weight: 700; line-height: 1.6; margin-bottom: 0; }
.tuition-sub span { display: inline-block; font-size: 14px; font-weight: 400; margin-top: 6px; }

/* ---------- 進路の図 ---------- */

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px 24px;
  text-align: center;
}
.way svg {
  width: 40px; height: 40px;
  stroke: var(--mint); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  margin: 0 auto 12px;
  display: block;
}
.way h4 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.way p { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.7; }
.way-note {
  margin-top: 12px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--ink);
  text-align: left;
}

/* ---------- 写真＋文章 ---------- */

/* 写真の高さは、となりの文章に合わせて切り抜く */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.media-img { position: relative; min-height: 250px; }
.media-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 12px;
}
.media-body > :last-child { margin-bottom: 0; }
.media-body p, .media-body ul.list { max-width: none; }

/* ---------- カード ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 8px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 160px; object-fit: cover; }
.card .body { padding: 18px 20px 22px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.55; }
.card p { margin: 0; font-size: 14px; line-height: 1.85; }
.card .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink); background: var(--pink-tint); padding: 3px 12px; border-radius: 20px; margin-bottom: 10px; }

/* 定義リスト風のボックス */
.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  margin: 0 0 16px;
}
.box.mint { background: rgba(78,205,196,.10); border-color: rgba(78,205,196,.35); }
.box h4 { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }

/* 手順のステップ */
ol.steps { list-style: none; counter-reset: s; margin: 0 0 16px; padding: 0; }
ol.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 20px 52px;
  margin: 0;
}
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px;
  background: var(--pink-tint); color: var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
ol.steps li strong { display: block; font-size: 16px; margin-bottom: 2px; }
ol.steps li p { margin: 0; font-size: 15px; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
}
.faq summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--pink); font-weight: 700; font-size: 18px; line-height: 1;
}
.faq details[open] summary::after { content: "－"; }
.faq .answer { padding: 0 20px 18px; font-size: 15px; }
.faq .answer > :last-child { margin-bottom: 0; }

/* ---------- ボタン ---------- */

.btn {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  padding: 15px 40px;
  border: 2px solid var(--pink-deep);
  border-radius: 8px;
  line-height: 1.6;
}
.btn:hover { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }
.btn, .btn.ghost, .site-footer a, .gnav a, .brand, .pagelinks a { text-decoration: none; }
.btn.ghost { background: #fff; color: var(--ink); border: 2px solid var(--pink); padding: 14px 38px; }
.btn.ghost:hover { background: rgba(255,107,157,.10); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- 相談への案内 ---------- */

.cta {
  background: rgba(255,107,157,.10);
  border-top: 1px solid var(--line);
  padding: 56px 0;
  text-align: center;
}
.cta h2 { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.cta p { margin: 0 0 22px; font-size: 15px; }

/* ---------- 次のページへの案内 ---------- */

.pagelinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pagelinks a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
  font-size: 15px;
}
.pagelinks a:hover { border-color: var(--pink); color: var(--ink); }
.pagelinks a span { display: block; font-weight: 400; font-size: 13px; color: var(--ink-sub); margin-top: 4px; }

/* ---------- 画面下に常に出すボタン（スマホ） ---------- */

.sticky-cta { display: none; }
.sticky-cta a {
  display: block;
  background: var(--pink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  padding: 15px 16px;
  line-height: 1.4;
}

/* ---------- 上に戻る ---------- */

.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid var(--pink);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
  text-decoration: none;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: rgba(255,107,157,.12); color: var(--ink); }

/* ---------- フッター ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.site-footer h3 { font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; line-height: 1.7; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--ink); }
.site-footer .addr { color: var(--ink); line-height: 1.9; }
.copyright { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-sub); }

/* ---------- スマートフォン ---------- */

@media (max-width: 1220px) {
  .gnav ul { gap: 15px; }
  .gnav a { font-size: 13.5px; }
}

@media (max-width: 1060px) {
  .gnav ul { gap: 14px; }
  .gnav a { font-size: 13px; }
  .brand-name { font-size: 13px; }
}

@media (max-width: 900px) {
  .brand-name { font-size: 12px; }
  .gnav ul { gap: 11px; }
  .gnav a { font-size: 12px; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .header-inner { padding: 10px 16px; }
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand img { width: 32px; flex: 0 0 auto; }
  .brand-name { font-size: 13px; line-height: 1.35; white-space: normal; }
  .brand-name span { display: none; }
  .nav-toggle { flex: 0 0 auto; white-space: nowrap; }
  .header-cta { display: none; }

  body { padding-bottom: 56px; }
  .sticky-cta {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    box-shadow: 0 -2px 12px rgba(0,0,0,.10);
  }
  .to-top { bottom: 70px; }

  .nav-toggle { display: block; }
  .gnav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
  }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; padding: 6px 0; }
  .gnav li { border-bottom: 1px solid var(--line); }
  .gnav li:last-child { border-bottom: none; }
  .gnav a { display: block; padding: 14px 20px; font-size: 15px; border-bottom: none; }
  .gnav a[aria-current] { border-bottom: none; color: var(--pink-deep); font-weight: 700; }

  .hero { display: block; min-height: 0; }
  .hero-bg { position: static; }
  .hero-bg img { height: 230px; object-position: center 22%; }
  .hero-bg::after { display: none; }
  .hero-copy { padding: 26px 16px 30px; background: #fff; }
  .hero-inner { max-width: none; }
  .hero-copy .open { font-size: 12px; padding: 5px 13px; margin-bottom: 14px; }
  .hero-copy h1 { font-size: 24px; }
  .hero-lead { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta-note { text-align: center; }


  .page-head { padding: 32px 0 30px; }
  .page-head h1 { font-size: 23px; }

  .sec { padding: 44px 0; }
  .sec.chapter { padding-top: 58px; }
  h2.h2 { font-size: 22px; }
  h3.h3 { font-size: 17px; margin-top: 32px; }

  .cards, .cards.two { grid-template-columns: 1fr; }
  .media { grid-template-columns: 1fr; gap: 18px; }
  .media-img { position: static; min-height: 0; }
  .media-img img { position: static; height: 220px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flow-step + .flow-step::before { display: none; }
  .points { grid-template-columns: 1fr; gap: 16px; }
  .ways { grid-template-columns: 1fr; gap: 14px; }
  #message .media { grid-template-columns: 1fr; }
  #message .media-img { max-width: 240px; min-height: 0; position: static; }
  #message .media-img img { position: static; height: auto; }
  .media-rev .media-img { order: 0; }
  .msg { font-size: 16px; line-height: 1.95; }
  .tuition-box { padding: 24px 18px; }
  .tuition-main { font-size: 16px; }
  .tuition-main strong { font-size: 20px; }
  .tuition-sub { font-size: 19px; }
  .pagelinks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }

  .btn { display: block; text-align: center; width: 100%; font-size: 18px; }
  .btn.ghost { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }

  table.tbl { font-size: 14px; }
  table.tbl th[scope="row"] { width: auto; }
}


/* =========================================================
   ポップな見た目のための上書き（2026-08-29）
   ブランドの人格：ポップでワクワクする。でもふざけていない
   色はすべて brand/colors.json の値と、その透過だけを使う
   ========================================================= */

/* ---------- 背景に置くやわらかい丸 ---------- */

body { overflow-x: hidden; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
  z-index: 0;
}
.blob-pink { background: rgba(255,107,157,.30); }
.blob-mint { background: rgba(78,205,196,.28); }


/* ---------- ヒーロー ---------- */

.hero { min-height: 620px; }
.hero-copy { z-index: 2; }

.hero .blob-1 { width: 340px; height: 340px; left: -110px; top: -90px; }
.hero .blob-2 { width: 190px; height: 190px; left: 44%; bottom: -70px; }

.hero-copy h1 { font-size: 44px; letter-spacing: -.01em; }
.hero-copy h1 .marker {
  background: linear-gradient(transparent 62%, rgba(255,217,61,.85) 62%);
  padding: 0 2px;
}

.hero-points li {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 40px;
  padding: 9px 20px 9px 12px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 3px 0 rgba(51,51,51,.05);
  width: fit-content;
}
.hero-points svg {
  width: 24px; height: 24px;
  background: rgba(78,205,196,.30);
  border-radius: 50%;
  padding: 5px;
  stroke: var(--ink);
  stroke-width: 3.2;
}

/* ---------- 数字で見る ---------- */

.stats {
  position: relative;
  z-index: 1;
  background: rgba(78,205,196,.16);
  padding: 34px 0;
}
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; }
.stat b {
  display: block;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.stat b small { font-size: 18px; font-weight: 700; }
.stat span { display: block; font-size: 13px; font-weight: 500; margin-top: 4px; }

/* ---------- セクション：交互の帯を角丸パネルに ---------- */

.sec { position: relative; z-index: 1; }
.sec.alt {
  background: linear-gradient(150deg, rgba(78,205,196,.13), rgba(255,107,157,.08));
  border-radius: 44px;
  margin-left: 22px;
  margin-right: 22px;
}
.sec.alt table.tbl thead th,
.sec.alt table.tbl th[scope="row"] { background: rgba(255,255,255,.72); }

/* ---------- 見出し ---------- */

.sec-label {
  display: inline-block;
  background: var(--mint);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.sec.chapter .sec-label { font-size: 12px; color: var(--ink); }
.sec.chapter .sec-label::after { display: none; }

h2.h2 { font-size: 30px; letter-spacing: -.01em; }
.h2-rule {
  width: 68px; height: 6px;
  border-radius: 6px;
  background: var(--pink);
  margin-bottom: 28px;
}

h3.h3 {
  border-left: none;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
h3.h3::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(255,107,157,.20);
}

/* ---------- カード ---------- */

.card {
  border: none;
  border-radius: 18px;
  box-shadow: 0 6px 22px rgba(51,51,51,.07);
  transition: transform .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(51,51,51,.12); }
.cards { align-items: stretch; }
.card { height: 100%; }
.card .body { flex: 1; }
.card img { height: 178px; }
.cards .card:nth-child(1) { border-top: 6px solid var(--pink); }
.cards .card:nth-child(2) { border-top: 6px solid var(--mint); }
.cards .card:nth-child(3) { border-top: 6px solid var(--pink); }
.card .body { padding: 20px 22px 24px; }
.card h3 { font-size: 18px; }

.card .tag { font-size: 12px; padding: 4px 14px; }
.cards .card:nth-child(2) .tag { background: rgba(78,205,196,.22); }
.cards .card:nth-child(3) .tag { background: var(--pink-tint); }

/* ---------- 手順の図 ---------- */

.flow-step {
  border: none;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(51,51,51,.07);
  padding: 26px 16px 24px;
}
.flow-num {
  width: 46px; height: 46px;
  background: rgba(255,107,157,.30);
  color: var(--ink);
  font-size: 20px;
  box-shadow: 0 4px 0 rgba(232,85,138,.22);
}
.flow-step:nth-child(2) .flow-num { background: rgba(78,205,196,.34); box-shadow: 0 4px 0 rgba(78,205,196,.40); }
.flow-step:nth-child(3) .flow-num { background: rgba(255,107,157,.30); box-shadow: 0 4px 0 rgba(232,85,138,.22); }
.flow-step:nth-child(4) .flow-num { background: rgba(78,205,196,.34); box-shadow: 0 4px 0 rgba(78,205,196,.40); }
.flow-step p { font-weight: 700; }
.flow-result {
  background: #fff;
  border: 3px dashed var(--mint);
  border-radius: 16px;
  font-size: 17px;
  padding: 18px;
}

/* ---------- 要点・進路 ---------- */

.point svg {
  width: 42px; height: 42px;
  background: rgba(78,205,196,.18);
  border-radius: 50%;
  padding: 9px;
  stroke-width: 1.9;
}
.way {
  border: none;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(51,51,51,.07);
}
.way svg {
  width: 56px; height: 56px;
  background: rgba(255,107,157,.14);
  border-radius: 50%;
  padding: 13px;
  stroke: var(--pink);
}
.ways .way:nth-child(2) svg { background: rgba(78,205,196,.18); stroke: var(--mint); }
.ways .way:nth-child(3) svg { background: var(--pink-tint); stroke: var(--pink); }

/* ---------- 写真 ---------- */

.media-img img { border-radius: 20px; box-shadow: 0 8px 26px rgba(51,51,51,.10); }

/* ---------- 箱・表 ---------- */

.box { border: none; border-radius: 18px; box-shadow: 0 6px 20px rgba(51,51,51,.06); }
.box.mint { background: #fff; border: 3px solid var(--mint); box-shadow: none; }
table.tbl { border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(51,51,51,.06); }
table.tbl th, table.tbl td { border-color: rgba(51,51,51,.08); }

/* ---------- 学費 ---------- */

.tuition-box { border-color: var(--pink); }
.tuition-main strong { color: var(--pink-deep); font-size: 26px; }
.tuition-sub { font-size: 26px; }
.tuition-sub strong { color: var(--pink-deep); }

/* ---------- FAQ ---------- */

.faq details { border: none; border-radius: 14px; box-shadow: 0 4px 16px rgba(51,51,51,.06); }
.faq summary::before {
  content: "Q";
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--pink);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  margin-right: 10px;
  vertical-align: -6px;
}

/* ---------- ボタン ---------- */

.btn { box-shadow: 0 5px 0 rgba(232,85,138,.55); border: none; }
.btn:hover { transform: translateY(2px); box-shadow: 0 3px 0 rgba(232,85,138,.55); }
.header-cta { box-shadow: 0 3px 0 rgba(232,85,138,.45); border: none; }
.header-cta:hover { transform: translateY(1px); box-shadow: 0 2px 0 rgba(232,85,138,.45); }
.sticky-cta a { box-shadow: none; }

/* ---------- スクロールで出てくる ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .5s ease, transform .5s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ---------- スマホ ---------- */

@media (max-width: 768px) {
  .hero { min-height: 0; }
  .hero-copy h1 { font-size: 27px; }
  .hero-points li { font-size: 14px; padding: 8px 16px 8px 10px; }

  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .stat b { font-size: 27px; }

  .sec.alt { border-radius: 28px; margin-left: 12px; margin-right: 12px; }
  h2.h2 { font-size: 23px; }
  .h2-rule { width: 56px; height: 5px; margin-bottom: 22px; }
  .card img { height: 190px; }
  .flow-num { width: 42px; height: 42px; font-size: 18px; }
  .way svg { width: 50px; height: 50px; }
  .tuition-sub { font-size: 21px; }
}


/* =========================================================
   募集の帯・ヒーローのキャッチ・追従ボタン（2026-08-29）
   ========================================================= */

/* ---------- 募集中の帯 ---------- */

.promo-bar {
  background: rgba(78,205,196,.18);
  border-bottom: 1px solid rgba(51,51,51,.08);
}
.promo-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.promo-tag {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.promo-text { font-weight: 700; white-space: nowrap; }
.promo-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid rgba(51,51,51,.35);
  white-space: nowrap;
}
.promo-link:hover { border-bottom-color: var(--ink); }

/* ---------- ヒーローのキャッチ ---------- */

.hero-school {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.hero-catch {
  margin: 0 0 20px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.02em;
}
.hero-catch span { display: block; }
.hero-catch .c1 { font-size: 52px; margin-bottom: 2px; }
.hero-catch .c2 { font-size: 34px; }
.hero-catch .marker {
  display: inline;
  background: linear-gradient(transparent 58%, rgba(255,217,61,.9) 58%);
  padding: 0 4px;
}

/* ---------- 右端の追従ボタン（パソコン） ---------- */

.float-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 46;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 92px;
  padding: 16px 8px;
  border-radius: 14px 0 0 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  box-shadow: -3px 3px 14px rgba(51,51,51,.16);
  transition: width .16s ease;
}
.fc svg { width: 26px; height: 26px; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fc-talk { background: var(--pink); color: #fff; }
.fc-doc { background: #fff; color: var(--pink-deep); border: 2px solid var(--pink); border-right: none; }
.fc:hover { width: 100px; color: var(--ink); }

/* ---------- 画面下の追従ボタン（スマホ） ---------- */

.sticky-cta { display: none; }
.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.sticky-cta .s-doc { background: #fff; color: var(--pink-deep); border-top: 2px solid var(--pink); }
.sticky-cta .s-talk { background: var(--pink); color: #fff; }

@media (max-width: 768px) {
  .promo-inner { padding: 6px 14px; gap: 8px; font-size: 12px; }
  .promo-tag { font-size: 11px; padding: 2px 8px; }
  .promo-text { font-size: 12px; }
  .promo-link { display: none; }

  .hero-school { font-size: 13px; margin-bottom: 12px; }
  .hero-catch { font-size: 27px; }
  .hero-catch .c1 { font-size: 30px; }
  .hero-catch .c2 { font-size: 21px; }

  .float-cta { display: none; }
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    box-shadow: 0 -2px 12px rgba(0,0,0,.12);
  }
  .to-top { bottom: 66px; }
}


/* ---------- ヒーロー下部の余白を詰める ---------- */

.hero-copy { padding-top: 44px; padding-bottom: 44px; }
.hero-points { margin-bottom: 0; }

/* ---------- グループ校の予定地域 ---------- */

.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
  padding: 0;
}
.area-list li {
  background: #fff;
  border: 2px solid rgba(78,205,196,.55);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.area-list li.more {
  background: none;
  border: none;
  padding-left: 4px;
  font-size: 14px;
  font-weight: 500;
  align-self: center;
}

.br-pc { display: inline; }

@media (max-width: 768px) {
  .hero-copy { padding-top: 26px; padding-bottom: 30px; }
  .br-pc { display: none; }
  .area-list { gap: 8px; }
  .area-list li { font-size: 14px; padding: 7px 16px; }
}
