/* =====================================================================
   TOPページだけで使う見た目（ヒーロー・各セクション）
   ヒーローの形は総合型選抜LP（lp.css）と同じ。色・背景はHPの緑
   ===================================================================== */
/* ===================== ヒーロー ===================== */
.hero {
  position: relative; min-height: min(100vh, 900px); padding: calc(var(--header-h) + 48px) 0 64px;
  display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
}
.hero__copy, .hero__actions { position: relative; z-index: 2; padding: 0 0 0 max(64px, calc((100vw - 1320px) / 2 + 64px)); }
.hero__copy { align-self: end; max-width: calc(720px + max(64px, calc((100vw - 1320px) / 2 + 64px))); }
.hero__art { position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 0; overflow: hidden; }
.hero__art::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .85) 14%, rgba(255, 255, 255, 0) 38%),
              linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 16%),
              linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, 0) 14%);
}
.hero__parallax { position: absolute; inset: -24px -24px -24px 0; will-change: transform; }
.hero__parallax picture, .hero__img { display: block; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 40%; animation: heroZoom 2.4s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero__glow {
  position: absolute; z-index: 1; left: 81%; top: 21%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 220, .95) 0%, rgba(255, 240, 180, .45) 28%, rgba(255, 240, 180, 0) 66%);
  animation: glow 6s ease-in-out infinite; pointer-events: none; mix-blend-mode: screen;
}
@keyframes glow { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }

.hero__title { font-size: clamp(2.3rem, 3.15vw, 3.5rem); font-weight: 900; line-height: 1.38; letter-spacing: .02em; color: var(--navy); }
.hero__title .ln { display: block; }
.hero__title .seg { display: inline-block; }
.hero__title em { font-style: normal; color: var(--blue); }
.hero__sub { margin-top: 26px; font-size: 1.1rem; line-height: 2; color: var(--ink); max-width: 33em; }
.hero__actions { align-self: start; margin-top: 40px; }
.hero__btns { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.hero__cta { min-width: 300px; }
.hero__note { margin-top: 22px; font-size: .9rem; color: var(--ink); }
.hero__badges { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9);
  border: 1px solid var(--blue-line); font-size: .84rem; font-weight: 700; color: var(--navy); }
.hero__badges .i { width: 17px; height: 17px; color: var(--blue-ink); }
/* 読み込み時に1行ずつ下からフェードイン */
.js .hero .seg { opacity: 0; transform: translateY(22px); animation: lineIn .8s var(--ease) forwards; animation-delay: calc(.15s + var(--n) * .13s); }
@keyframes lineIn { to { opacity: 1; transform: none; } }

@media (min-width: 1024px) {
  .hero { grid-template-rows: auto auto; align-content: center; }
  .hero__copy { align-self: auto; }
}
@media (max-width: 1023px) {
  .hero { min-height: 0; padding: calc(var(--header-h) + 36px) 0 56px; }
  .hero__copy, .hero__actions { padding: 0 40px; max-width: none; }
  .hero__art { position: relative; width: auto; height: auto; aspect-ratio: 941 / 755; margin: 28px 0 0; order: 2; }
  .hero__copy { order: 1; }
  .hero__actions { order: 3; margin-top: 8px; text-align: center; }
  .hero__art::before { background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0) 18%), linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 22%); }
  .hero__parallax { inset: 0; }
  .hero__glow { left: 77%; top: 28%; width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .hero__btns { flex-direction: column; gap: 18px; }
  .hero__cta { width: 100%; max-width: 520px; }
  .hero__badges { justify-content: center; }
}
@media (max-width: 767px) {
  .hero__copy, .hero__actions { padding: 0 20px; }
  .hero__title { font-size: clamp(2rem, 8.6vw, 2.6rem); line-height: 1.42; }
  .hero__title .seg { display: block; }
  .hero__sub { font-size: 1rem; margin-top: 20px; line-height: 1.95; }
  .hero__art { margin-top: 8px; }
  .hero__note { font-size: .82rem; }
  .hero__badges { display: none; }
  .hero__cta { min-height: 62px; }
}

/* 舞い落ちる黄色の葉（イラストの範囲内だけ。文字には重ねない） */
.leaves { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.leaf {
  position: absolute; top: -8%; left: var(--x); width: 22px; height: 12px; transform-origin: 50% 50%;
  animation: leafFall var(--t) linear infinite; animation-delay: var(--dl);
}
.leaf::before {
  content: ''; position: absolute; inset: 0; border-radius: 0 100% 0 100%;
  background: linear-gradient(135deg, #f8e27c, #efc945); opacity: .9;
  transform: scale(var(--s)); animation: leafSway 3.2s ease-in-out infinite alternate;
}
@keyframes leafFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  8% { opacity: 1; }
  50% { transform: translate3d(-40px, 55vh, 0) rotate(160deg); }
  92% { opacity: 1; }
  100% { transform: translate3d(20px, 110vh, 0) rotate(320deg); opacity: 0; }
}
@keyframes leafSway { from { transform: scale(var(--s)) rotate(-18deg); } to { transform: scale(var(--s)) rotate(22deg) translateX(14px); } }
@media (max-width: 1023px) {
  @keyframes leafFall {
    0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate3d(-30px, 110vw, 0) rotate(300deg); opacity: 0; }
  }
}


/* ---------- ヒーロー：マスネット用の調整 ----------
   写真を広め（60%）にし、左側は真っ白ではなく、従来のHPと同じごく薄い緑から自然につなぐ */
.hero { background:
  radial-gradient(70% 60% at 0% 100%, rgba(13, 153, 65, .08), transparent 70%),
  radial-gradient(50% 50% at 100% 0%, rgba(13, 153, 65, .10), transparent 70%),
  linear-gradient(135deg, #f1faf4 0%, #f8fdf9 45%, #eef8f2 100%); }
.hero__art { width: 60%; }
.hero__art::before {
  background: linear-gradient(90deg, #f3fbf6 0%, rgba(243, 251, 246, .82) 12%, rgba(243, 251, 246, .35) 28%, rgba(243, 251, 246, 0) 46%),
              linear-gradient(0deg, #f3fbf6 0%, rgba(243, 251, 246, 0) 18%),
              linear-gradient(180deg, rgba(243, 251, 246, .7) 0%, rgba(243, 251, 246, 0) 14%);
}
.hero__img { object-position: 62% 30%; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--blue-ink); background: rgba(255, 255, 255, .85); border: 1px solid var(--blue-line); border-radius: 999px; padding: 6px 16px; margin-bottom: 22px; }
.hero__eyebrow .i { width: 18px; height: 18px; }
.hero__title em.y { color: inherit; background: linear-gradient(transparent 68%, rgba(255, 214, 0, .55) 68%); }
.hero__sub { max-width: 34em; }
.hero__badges li { background: rgba(255, 255, 255, .92); }
.leaf:nth-child(odd)::before { background: linear-gradient(135deg, #8fdcaa, #2db85a); }
.hero__glow { background: radial-gradient(circle, rgba(255, 252, 225, .9) 0%, rgba(255, 245, 190, .4) 28%, rgba(255, 245, 190, 0) 66%); }
@media (max-width: 1023px) {
  .hero__art { width: auto; margin-top: 18px; }
  .hero__art::before { background: linear-gradient(180deg, #f3fbf6 0%, rgba(243, 251, 246, 0) 22%), linear-gradient(0deg, #f6fcf8 0%, rgba(246, 252, 248, 0) 20%); }
  .hero__img { object-position: 55% 35%; }
}
@media (max-width: 767px) {
  .hero__eyebrow { font-size: .8rem; margin-bottom: 16px; padding: 5px 14px; }
}

/* ---------- マスネットとは ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.about__text p { font-size: 1.02rem; line-height: 2; }
.about__text p + p { margin-top: 12px; }
.about__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.about__facts div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); }
.about__facts dt { display: flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: var(--blue-ink); }
.about__facts dt .i { width: 16px; height: 16px; }
.about__facts dd { margin: 4px 0 0; font-size: .94rem; font-weight: 700; color: var(--navy); line-height: 1.6; }
.about__facts .about__wide { grid-column: 1 / -1; }
@media (max-width: 1023px) { .about { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
@media (max-width: 767px) { .about__text p { font-size: .96rem; } .about__facts dd { font-size: .88rem; } }

/* ---------- 対象から選ぶ ---------- */
.aud-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.aud { display: flex; flex-direction: column; height: 100%; padding: 26px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.aud:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.aud__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.aud__ico .i { width: 26px; height: 26px; }
.aud h3 { font-size: 1.14rem; font-weight: 900; }
.aud p { margin-top: 8px; font-size: .88rem; line-height: 1.85; }
.aud__price { margin-top: auto; padding-top: 14px; font-size: .82rem; color: var(--ink-light); }
.aud__price b { font-size: 1.3rem; font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.aud__go { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .86rem; font-weight: 700; color: var(--blue-ink); }
.aud__go .i { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.aud:hover .aud__go .i { transform: translateX(4px); }
@media (max-width: 1023px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 520px) { .aud-grid { grid-template-columns: minmax(0, 1fr); } .aud { padding: 20px 18px 16px; } }

/* ---------- 2つの指導スタイル ---------- */
.styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.style { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 30px 28px 26px; }
.style__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--blue-ink); background: var(--blue-soft); border-radius: 999px; padding: 4px 12px; }
.style__tag .i { width: 16px; height: 16px; }
.style h3 { font-size: 1.3rem; font-weight: 900; margin: 12px 0 10px; }
.style > p { font-size: .94rem; line-height: 1.95; }
.style ul { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 8px; }
.style li { display: flex; gap: 8px; font-size: .92rem; color: var(--navy); line-height: 1.7; }
.style li .i { width: 18px; height: 18px; color: var(--blue); margin-top: 4px; }
.style .mn-btn { margin-top: auto; min-height: 54px; font-size: 1rem; }
.cmp { margin-top: 28px; }
.cmp table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: .92rem; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; line-height: 1.7; vertical-align: top; }
.cmp thead th { background: var(--blue-soft); color: var(--navy); font-size: .86rem; }
.cmp tbody th { color: var(--navy); width: 22%; background: #fafcfb; }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
@media (max-width: 820px) { .styles { grid-template-columns: minmax(0, 1fr); gap: 16px; } .style { padding: 24px 20px 20px; } .cmp th, .cmp td { padding: 11px 10px; font-size: .84rem; } }

/* ---------- 選ばれる理由（写真つき） ---------- */
.feat__photo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.feat__photo img { display: block; width: 100%; height: auto; }
.feat__photo--plain { box-shadow: none; background: transparent; }
.feat__lead { font-weight: 700; color: var(--navy); }
.feat__points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.feat__points li { display: flex; gap: 8px; font-size: .94rem; color: var(--navy); line-height: 1.7; }
.feat__points .i { width: 18px; height: 18px; color: var(--blue); margin-top: 4px; }
.gtab { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; }
.gtab__btns { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.gtab__btn { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.gtab__btn[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.gtab__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gtab__card { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: linear-gradient(180deg, #fff, #f8fcf9); }
.gtab__card h4 { display: flex; align-items: center; gap: 8px; font-size: .94rem; font-weight: 900; color: var(--navy); }
.gtab__card h4 .i { width: 20px; height: 20px; color: var(--blue-ink); }
.gtab__card p { margin-top: 6px; font-size: .8rem; line-height: 1.8; }
@media (max-width: 767px) { .gtab { padding: 16px; } .gtab__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 講師紹介（今のデザインを残す） ---------- */
.magome-block { background: #fff; border-radius: 24px; padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.magome-top { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: flex-start; margin-bottom: 40px; }
.magome-photo-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.magome-photo { width: 160px; height: 160px; border-radius: 50%; position: relative; box-shadow: 0 8px 32px rgba(13, 153, 65, .3); }
.magome-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 50%; display: block; }
.magome-badge { position: absolute; bottom: 4px; right: -8px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; white-space: nowrap; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.magome-name { font-size: 1.2rem; font-weight: 900; color: var(--navy); text-align: center; }
.magome-subjects { font-size: .78rem; color: var(--blue-ink); font-weight: 700; text-align: center; background: var(--blue-soft); padding: 4px 14px; border-radius: 50px; }
.magome-bubble { background: #fff; border-radius: 16px; padding: 28px 32px; border: 1.5px solid var(--blue); position: relative; }
.magome-bubble::before { content: ''; position: absolute; left: -14px; top: 40px; border: 7px solid transparent; border-right-color: var(--blue); }
.magome-bubble::after { content: ''; position: absolute; left: -12px; top: 41px; border: 6px solid transparent; border-right-color: #fff; }
.magome-bubble p { font-size: .94rem; line-height: 1.95; margin-bottom: 10px; }
.magome-bubble p:last-child { margin-bottom: 0; }
.magome-bubble strong { color: var(--blue-ink); }
.magome-bubble .em { color: var(--blue-ink); font-weight: 700; }
.magome-feature-label { font-size: .86rem; font-weight: 700; color: var(--blue-ink); letter-spacing: .05em; margin-bottom: 16px; }
.magome-features { margin-bottom: 36px; }
.magome-features-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.magome-feat { background: var(--mint); border-radius: 14px; padding: 22px; border: 1px solid var(--line); }
.magome-feat-num { font-size: 1.6rem; font-weight: 900; line-height: 1; margin-bottom: 10px; color: #fff;
  text-shadow: 1.2px 0 var(--blue), -1.2px 0 var(--blue), 0 1.2px var(--blue), 0 -1.2px var(--blue), .9px .9px var(--blue), -.9px .9px var(--blue), .9px -.9px var(--blue), -.9px -.9px var(--blue); }
.magome-feat h4 { font-size: .96rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; line-height: 1.55; }
.magome-feat p { font-size: .86rem; line-height: 1.85; }
.magome-profile { border-top: 1px solid var(--line); padding-top: 28px; }
.magome-profile h4 { font-size: .94rem; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.magome-profile p { font-size: .92rem; line-height: 2; margin-bottom: 12px; }
.teachers-cta { text-align: center; margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 768px) {
  .magome-block { padding: 28px 20px; }
  .magome-top { grid-template-columns: 1fr; gap: 20px; }
  .magome-bubble { padding: 20px; }
  .magome-bubble::before, .magome-bubble::after { display: none; }
  .magome-features-grid { grid-template-columns: 1fr; }
  .magome-photo { width: 120px; height: 120px; }
}

/* ---------- 生徒・保護者の声 ---------- */
.voices { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; margin: 0 -24px; padding: 8px 24px 18px; scroll-padding-inline: 24px; scrollbar-width: thin; scroll-snap-type: x mandatory; }
.voices ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; }
.voice { scroll-snap-align: start; width: 320px; background: #fff; border-radius: 20px; padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.voice__res { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: .82rem; font-weight: 900; color: var(--blue-ink); background: var(--blue-soft); border-radius: 999px; padding: 4px 12px; }
.voice__res .i { width: 16px; height: 16px; }
.voice__who { margin-top: 10px; font-size: .8rem; color: var(--ink-light); }
.voice p { margin-top: 12px; font-size: .9rem; line-height: 1.95; }
.voices__hint { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8rem; color: var(--ink-light); margin-top: 6px; }
.voices__hint .i { width: 16px; height: 16px; }
@media (max-width: 767px) { .voices { margin: 0 -20px; padding: 8px 20px 16px; scroll-padding-inline: 20px; } .voice { width: 82vw; max-width: 320px; padding: 22px 20px; } }

/* ---------- 料金表 ---------- */
.ptable-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; box-shadow: var(--shadow); }
.ptable { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; font-size: .95rem; }
.ptable caption { caption-side: bottom; text-align: left; padding: 12px 4px 0; font-size: .8rem; color: var(--ink-light); }
.ptable th, .ptable td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.ptable thead th { background: var(--blue); color: #fff; font-size: .9rem; }
.ptable thead th:first-child { text-align: left; }
.ptable tbody th { text-align: left; color: var(--navy); background: #fafcfb; white-space: nowrap; }
.ptable tbody th a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--blue-line); }
.ptable td { font-variant-numeric: tabular-nums; color: var(--navy); }
.ptable td b { font-size: 1.2rem; font-weight: 900; }
.ptable td small { display: block; font-size: .72rem; color: var(--ink-light); }
.ptable tr:last-child th, .ptable tr:last-child td { border-bottom: 0; }
.ptable .pick td { background: #f6fcf8; }
.pnotes { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; font-size: .9rem; color: var(--navy); }
.pnotes li { display: flex; align-items: center; gap: 6px; }
.pnotes .i { width: 18px; height: 18px; color: var(--blue-ink); }
.ccar { margin-top: 48px; }
.ccar__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ccar__head h3 { font-size: 1.16rem; font-weight: 900; }
.ccar__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.ccar__filters select { min-height: 40px; padding: 0 34px 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font: inherit; font-size: .86rem; font-weight: 700; color: var(--navy); }
.ccar__more { text-align: center; margin-top: 24px; }
@media (max-width: 767px) { .pnotes { justify-content: flex-start; flex-direction: column; gap: 6px; } }

/* ---------- 家庭学習サポート ---------- */
.study { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.study__item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.study__item--rev .study__text { order: 2; }
.study__for { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 4px 12px; background: var(--blue-soft); color: var(--blue-ink); }
.study__for .i { width: 15px; height: 15px; }
.study__text h3 { font-size: 1.45rem; font-weight: 900; line-height: 1.6; margin: 12px 0 12px; }
.study__text h3 span { color: var(--blue-ink); }
.study__text > p { font-size: .98rem; line-height: 2; }
.study__img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.study__img img { display: block; width: 100%; height: auto; }
.study .mn-link { margin-top: 18px; }
@media (max-width: 767px) { .study__item { grid-template-columns: minmax(0, 1fr); gap: 20px; } .study__item--rev .study__text { order: 0; } .study__text h3 { font-size: 1.2rem; } }

/* ---------- ご案内AI ---------- */
.annai { margin-top: 32px; display: flex; gap: 16px; align-items: center; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.annai__ico { width: 52px; height: 52px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.annai__t { font-weight: 900; color: var(--navy); }
.annai__d { font-size: .88rem; margin-top: 2px; }
.annai .mn-link { margin-left: auto; white-space: nowrap; }
.faq-more { text-align: center; margin-top: 26px; }
@media (max-width: 767px) { .annai { flex-wrap: wrap; } .annai .mn-link { margin-left: 0; } }

/* 診断の結果ボタン（総合型選抜LPの診断と同じ部品） */
.dg__r-cta { margin-top: 20px; }

/* 料金表：個別指導と毎日管理の2つ */
.ptable thead th { padding: 12px 14px; }
.ptable thead .pt-ind { background: var(--blue); }
.ptable thead .pt-man { background: #e2551f; }
.ptable thead .pt-sub { background: var(--blue-soft); color: var(--blue-ink); font-size: .8rem; }
.ptable thead .pt-man2 { background: #fff1ea; color: #b4441a; }
.ptable thead th[rowspan] { vertical-align: middle; background: var(--navy); }
.ptable td.na { color: var(--ink-light); font-size: .86rem; }


/* 料金表：個別指導（学年×週1・週2）と毎日管理（対象×プラン）の2つの表。スマホは縦に並ぶ */
.ptables { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: start; }
.ptables--one { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
.ptables .ptable { min-width: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.ptables .ptable th, .ptables .ptable td { padding: 14px 10px; }
.ptables .ptable thead th { text-align: center; }
.ptables .ptable thead th small { display: block; font-size: .7rem; font-weight: 400; line-height: 1.5; margin-top: 2px; }
.ptables .ptable thead .pt-ind small, .ptables .ptable thead .pt-man small { color: rgba(255, 255, 255, .88); }
.ptables .ptable tbody th { text-align: center; font-size: .9rem; }
.ptables .ptable td a { color: var(--navy); text-decoration: none; display: block; }
.ptables .ptable td a:hover b { color: var(--blue-ink); text-decoration: underline; }
.ptables .ptable--man tbody td { background: #fffaf7; }
.ptables .ptable--man td a:hover b { color: #b4441a; }
.pcap { margin-top: 12px; font-size: .8rem; color: var(--ink-light); }
@media (max-width: 960px) { .ptables { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .ptables .ptable { border-radius: 16px; font-size: .88rem; }
  .ptables .ptable th, .ptables .ptable td { padding: 11px 6px; }
  .ptables .ptable td b { font-size: 1rem; }
  .ptables .ptable thead .pt-sub { font-size: .74rem; letter-spacing: 0; padding-left: 2px; padding-right: 2px; }
  .ptables .ptable thead .pt-sub small { font-size: .62rem; }
  .ptables .ptable tbody th { font-size: .8rem; padding-left: 8px; padding-right: 8px; }
}

/* ---------- 選べる3つのコース（2026/10/17） ---------- */
.styles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.styles--3 .style { padding: 26px 22px 22px; }
.styles--3 .style h3 { font-size: 1.22rem; margin-bottom: 4px; }
.styles--3 .style h3 small { font-size: .8rem; font-weight: 700; color: var(--ink-light); }
.style__price { margin: 0 0 10px; color: var(--navy); font-size: .9rem; }
.style__price b { font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; margin: 0 2px; }
.style__price small { font-size: .76rem; color: var(--ink-light); }
.styles--3 .style ul { margin: 12px 0 14px; }
.style--man .style__tag { color: #b4441a; background: #fff1ea; }
.style--man li .i { color: #e2551f; }
.style--jishu .style__tag { color: #5b45a8; background: #f1eefb; }
.style--jishu li .i { color: #5b45a8; }
.styles--3 .style .mn-btn { margin-top: 14px; }
.style--man .mn-btn { background: #e2551f; border-color: #e2551f; }
.style--jishu .mn-btn { background: #5b45a8; border-color: #5b45a8; }
.cmp__note { font-size: .86rem; color: var(--ink); margin: 12px 4px 0; }
.cmp th:nth-child(3), .cmp td:nth-child(3) { background-clip: padding-box; }
@media (max-width: 1080px) { .styles--3 { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; } }

/* ---------- コース・料金：コースごとの「月○円〜」（2026/10/19） ---------- */
.pfrom { list-style: none; margin: 24px auto 14px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.pfrom li { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); line-height: 1.4; }
.pfrom span { font-size: .86rem; font-weight: 700; color: var(--navy); }
.pfrom b { font-size: 1.2rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.pfrom--ind b { color: #0a7a32; } .pfrom--man b { color: #d24a17; } .pfrom--jishu b { color: #5b45a8; }
@media (max-width: 640px) {
  .pfrom { flex-direction: column; align-items: stretch; gap: 8px; }
  .pfrom li { justify-content: space-between; min-height: 56px; padding: 8px 16px; }
}

/* 3つのコースの下の比較表：横スクロール（TOPは mn-page.css を読まないので、ここで決める）。左の列は固定 */
.cmp .tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.cmp .tbl-scroll table { border: 0; border-radius: 0; overflow: visible; min-width: 760px; }
.cmp .tbl-scroll tbody th, .cmp .tbl-scroll thead th:first-child { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.cmp .tbl-scroll thead th:first-child { background: var(--blue-soft); }
@media (max-width: 820px) { .styles--3 + .cmp table { min-width: 680px; } .styles--3 + .cmp tbody th { width: 104px; min-width: 104px; } }
.cmp__hint { display: none; font-size: .76rem; color: var(--ink-light); margin: 6px 4px 0; }
@media (max-width: 820px) { .cmp__hint { display: block; } }
