@charset "utf-8";
/**
 * shogaku 12月度改訂で足したもの
 *   お知らせ帯（sect-newsbar.html。幼児のKVの帯と同じ仕様）
 *   メッセージ＋100点ナビ予告（sect-update.html）
 *   比較のあとのCTA（sect-compare.html の .l-sect-mid-cta）
 *   赤帯の見出し（sect-reason-band.html）
 *
 * モック（smilezemi-site/css/style.css）の指定を、上書きを重ねた結果の値にまとめて移したもの。
 * スマホ幅 375px で作ったモックの数値のまま、各セクションの zoom: 2 でページ（750px 基準）と同じ大きさにそろえる。
 * モックは小学TOP全体がゴシック体（is-gothic）なので、ここでもゴシック体にしている。
 */

/* ========================================
 * 共通
 * ======================================== */
.l-sect-update,
.l-sect-mid-cta,
.l-sect-reason-band {
  zoom: 2;
  max-width: 375px;
  padding: 0;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: normal;
  color: #4a3a34;
}
:is(.l-sect-update, .l-sect-mid-cta, .l-sect-reason-band),
:is(.l-sect-update, .l-sect-mid-cta, .l-sect-reason-band) *:not(svg):not(svg *):where(:not(.navi-mod, .navi-mod *)) {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
:is(.l-sect-update, .l-sect-mid-cta, .l-sect-reason-band) *,
:is(.l-sect-update, .l-sect-mid-cta, .l-sect-reason-band) *::before,
:is(.l-sect-update, .l-sect-mid-cta, .l-sect-reason-band) *::after {
  box-sizing: border-box;
}
:is(.l-sect-update, .l-sect-mid-cta, .l-sect-reason-band) :where(h2, h3, p, figure) {
  margin: 0;
  padding: 0;
}
:is(.l-sect-update, .l-sect-reason-band) :where(img):not(.navi-mod img) {
  display: block;
  max-width: 100%;
}

/* ========================================
 * お知らせ帯（NEW できるまでライブ添削 100点ナビ!）
 * 幼児のKVの帯（assets/youji/includes/sect-fv.html の .pre_link）と同じ仕様。
 * PC は全幅・高さ50px、スマホは 750px 基準で高さ80px。表示時に上からすべり込む。
 * ======================================== */
.l-sect-newsbar .newsbar {
  position: relative;
  height: 50px;
  border-top: 2.8px solid #0000000a;
  box-shadow: 0 4.2px 4.2px -2.8px #0000002c;
  background: #fff;
  z-index: 10;
  animation: newsbarSlideDown .5s ease-in 0s backwards;
}
@keyframes newsbarSlideDown {
  0% {
    transform: translateY(-50%); /* 自身の高さの半分だけ上から */
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.l-sect-newsbar .newsbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.l-sect-newsbar .newsbar a:hover { opacity: .7; transition: .2s; }
.l-sect-newsbar .newsbar__new {
  padding: 1.4px 9.8px 4.2px;
  border-radius: 5.6px;
  background: #DF0000;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.l-sect-newsbar .newsbar__text {
  margin: 0 0 0 10.5px;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
}
.l-sect-newsbar .newsbar__go {
  width: 19.6px;
  height: 19.6px;
  position: relative;
  top: 1.4px;
  margin-left: 10.5px;
  border: 1.4px solid #888888;
  border-radius: 50%;
}
.l-sect-newsbar .newsbar__go::before {
  content: "";
  width: 6.3px;
  height: 6.3px;
  position: absolute;
  top: 50%;
  left: 45%;
  border-top: 1.4px solid #666;
  border-right: 1.4px solid #666;
  transform: translate(-50%, -50%) rotate(45deg);
}
@media (max-width: 767px) {
  .l-sect-newsbar .newsbar {
    height: 80px;
    border-top-width: 4px;
    box-shadow: 0 6px 6px -4px #0000002c;
  }
  .l-sect-newsbar .newsbar__new {
    padding: 2px 14px 6px;
    border-radius: 8px;
    font-size: 22px;
  }
  .l-sect-newsbar .newsbar__text {
    margin-left: 15px;
    font-size: 30px;
  }
  .l-sect-newsbar .newsbar__go {
    width: 28px;
    height: 28px;
    top: 2px;
    margin-left: 15px;
    border-width: 2px;
  }
  .l-sect-newsbar .newsbar__go::before {
    width: 9px;
    height: 9px;
    border-top-width: 2px;
    border-right-width: 2px;
  }
}

/* ========================================
 * メッセージ（スマイルゼミがさらにアップデート！）
 * 100点ナビの写真の上の白い部分に重ねる
 * ======================================== */
.l-sect-update {
  position: relative;
  background: #fff;
}
.l-sect-update .msg {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  container-type: inline-size;
  color: #3d302c;
  pointer-events: none;
}
.l-sect-update .msg > * {
  pointer-events: auto;
}
.l-sect-update .msg__ribbon {
  display: inline-block;
  margin-top: 6cqw;
  padding: 2.2cqw 9cqw 2.2cqw 5cqw;
  background: #E00000;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  color: #fff;
  font-size: 3.2cqw;
  font-weight: 900;
  line-height: 1.4;
  white-space: nowrap;
}
.l-sect-update .msg__kicker {
  margin: 5cqw 0 0 5cqw;
  font-size: 4.375cqw;
  font-weight: 700;
  letter-spacing: .04em;
}
.l-sect-update .msg__title {
  margin: 1cqw 0 5cqw 5cqw;
  font-size: 7.08cqw;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .01em;
}
.l-sect-update .msg__title em {
  font-style: normal;
  color: #E00000;
}

/* 登場の動き：リボンが左から開く → 一言・見出しが一文字ずつ（shogaku-new.js が .mfx-* を付ける） */
.l-sect-update .mfx-ready .mfx-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em);
}
.l-sect-update .mfx-in .mfx-ch {
  animation: shogakuMfxCh .5s cubic-bezier(.3, 1.4, .5, 1) both;
  animation-delay: var(--d);
}
.l-sect-update .mfx-ready .msg__ribbon {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.l-sect-update .mfx-in .msg__ribbon {
  animation: shogakuMfxRibbon .7s cubic-bezier(.3, 1, .4, 1) both;
}
@keyframes shogakuMfxCh {
  from { opacity: 0; transform: translateY(.45em); }
  to { opacity: 1; transform: none; }
}
@keyframes shogakuMfxRibbon {
  from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  to { clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
}

/* ========================================
 * 100点ナビ（予告）
 * モックの体験モジュール（iframe）を静止画にしたもの。画像は上から
 *   写真（0〜526px）／ロゴの帯（526〜666px）／ライブ添削（666〜1680px）／個別指導（1680〜2293px）
 * 見出し・注記は、モックと同じ位置に文字で重ねる（top はセクション上端からの距離）
 * ======================================== */
.l-sect-update .navi-top {
  position: relative;
  padding-bottom: 6px;
  background: #fff;
  scroll-margin-top: 30px;
}
.l-sect-update .navi-top__img {
  width: 100%;
  height: auto;
}
.l-sect-update .navi-top__video {
  display: block;
  aspect-ratio: 750 / 2028;
  background: #fff;
}
.l-sect-update .navi-top__band {
  position: relative;
}
.l-sect-update .navi-top__band-note {
  position: absolute;
  top: 119.4px;
  right: 12px;
  color: rgba(255, 255, 255, .92);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10.5px;
  line-height: 12.6px;
}
.l-sect-update .navi-top__eyebrow,
.l-sect-update .navi-top__title,
.l-sect-update .navi-top__text {
  position: absolute;
  left: 30px;
  right: 30px;
  text-align: center;
}
.l-sect-update .navi-top__eyebrow,
.l-sect-update .navi-top__title {
  left: 0;
  right: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  white-space: nowrap;
}
.l-sect-update .navi-top__eyebrow {
  color: #3d302c;
  font-size: 19.5px;
  line-height: 29px;
  letter-spacing: .78px;
}
.l-sect-update .navi-top__eyebrow.-look {
  top: 729.9px;
}
.l-sect-update .navi-top__eyebrow.-lesson {
  top: 1644.1px;
}
.l-sect-update .navi-top__title {
  font-size: 31.5px;
  line-height: 40.95px;
}
.l-sect-update .navi-top__title.-look {
  top: 770.9px;
  color: #E00000;
}
.l-sect-update .navi-top__title.-lesson {
  top: 1685.1px;
  color: #4958F7;
}
.l-sect-update .navi-top__text {
  top: 2202px;
  color: #3d302c;
  font-size: 13px;
  font-weight: 500;
  line-height: 24px;
}

/* 下からふわっと出す（shogaku-new.js が .is-in を付ける） */
.l-sect-update .js-navi-reveal.is-ready {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .7s ease, translate .7s ease;
}
.l-sect-update .js-navi-reveal.is-ready.is-in {
  opacity: 1;
  translate: 0 0;
}

/* ========================================
 * 比較のあとのCTA
 * ======================================== */
.l-sect-mid-cta .mid-cta {
  padding: 48px 28px 52px;
  background: #fff;
}
.l-sect-mid-cta .mid-cta__lead {
  margin: 0 0 44px;
  color: #3d302c;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.l-sect-mid-cta .mid-cta__lead span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15.5px;
  letter-spacing: .01em;
  white-space: nowrap;
}
.l-sect-mid-cta .mid-cta__lead span::before,
.l-sect-mid-cta .mid-cta__lead span::after {
  content: "";
  width: 1.5px;
  height: 1.25em;
  border-radius: 2px;
  background: currentColor;
}
.l-sect-mid-cta .mid-cta__lead span::before {
  transform: rotate(-28deg);
}
.l-sect-mid-cta .mid-cta__lead span::after {
  transform: rotate(28deg);
}
.l-sect-mid-cta .mid-cta__btn {
  position: relative;
  display: grid;
  place-items: center;
  height: 64px;
  border-radius: 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .12);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
}
.l-sect-mid-cta .mid-cta__btn.is-orange {
  --c: #EB6000;
  background: #EB6000;
}
.l-sect-mid-cta .mid-cta__btn.is-green {
  --c: #99CC24;
  background: #99CC24;
}
.l-sect-mid-cta .mid-cta__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 9px;
  height: 9px;
  border: solid #fff;
  border-width: 3px 3px 0 0;
  border-radius: 1px;
  transform: translateY(-50%) rotate(45deg);
}
.l-sect-mid-cta .mid-cta__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -58%);
  padding: 3px 16px 4px;
  border: 2px solid var(--c);
  border-radius: 999px;
  background: #fff;
  color: var(--c);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
  white-space: nowrap;
}
.l-sect-mid-cta .mid-cta__badge::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: solid var(--c);
  border-width: 0 2px 2px 0;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}
.l-sect-mid-cta .mid-cta__note {
  margin-top: 8px;
  color: #444;
  font-size: 12px;
  text-align: center;
}
.l-sect-mid-cta .mid-cta__req {
  margin-top: 34px;
}

/* ========================================
 * 赤帯の見出し（スマイルゼミが選ばれる3つの理由）
 * すぐ後の「3つの強み」の見出しは、この帯で置きかえるので出さない
 * ======================================== */
.l-sect-reason-band .reason-band__head {
  display: grid;
  place-items: center;
  aspect-ratio: 375 / 140;
  container-type: inline-size;
  background: url("../images/sect-reason-band_head.svg?20261028") center / cover no-repeat;
}
.l-sect-reason-band .reason-band__title {
  color: #fff;
  font-size: 7.6cqw;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .04em;
  text-align: center;
}
.l-sect-reason-band .reason-band__photo img {
  width: 100%;
  height: auto;
}
.l-sect-reason-band + .l-sect-strength > .c-heading {
  display: none;
}
.l-sect-reason-band + .l-sect-strength {
  padding-top: 24px !important;
}

/* ========================================
 * 100点ナビ（予告）：体験モジュール（iframe）版  2026/10/30
 * iframe は画面の高さで sticky。高さ・中のスクロールは shogaku-navi-embed.js
 * ======================================== */
.l-sect-update .navi-top { padding-bottom: 0; }
.l-sect-update .navi-embed { position: relative; margin: 0; }
.l-sect-update .navi-embed iframe { display: block; position: sticky; top: 0; width: 100%; height: 50vh; min-height: 280px; border: 0; }
/* main（.s-main）の overflow: hidden だと sticky が効かないので clip に（見た目は同じ） */
@supports (overflow: clip) { .s-main:has(.l-sect-update .navi-embed) { overflow: clip; } }

/* 2026-11-04 リボン2行ともゴシック（同じ書体・太さ）／見出しの黒字を「個別指導」と同じ太さに */
.l-sect-update .msg__ribbon,
.l-sect-update .msg__ribbon * { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; font-weight: 700; }
.l-sect-update .msg__title,
.l-sect-update .msg__title * { font-weight: 700; }

/* 11/09 リボンの文字を少し大きく（3.2cqw→3.9cqw） */
.l-sect-update .msg__ribbon { font-size: 3.9cqw; }

/* 2026/11/09 読み込み時のガタつき対策：
   写真の上の余白（.hero の padding-top）は JS（navi.min.js）が見出しの高さから後で入れるため、
   それまで写真が上に詰まって見え、JS が動いた瞬間に下へずれていた。
   同じ計算（見出しの下端 − 37px）を CSS で先に入れておく（JS の値で上書きされても差はほぼ出ない）。 */
.l-sect-update .navi-mod .hero { padding-top: 170px; }

/* 2026/11/09 Safari では、zoom の中の cqw が2倍で計算されて文字が大きくなりすぎるため、
   メッセージ部分は cqw をやめて 375px 幅を基準にした px で指定（幅に応じた拡縮は .l-sect-update の zoom に任せる） */
.l-sect-update .msg { container-type: normal; }
.l-sect-update .msg__ribbon { margin-top: 22.5px; padding: 8.25px 33.75px 8.25px 18.75px; font-size: 14.6px; }
.l-sect-update .msg__kicker { margin: 18.75px 0 0 18.75px; font-size: 16.4px; }
.l-sect-update .msg__title { margin: 3.75px 0 18.75px 18.75px; font-size: 26.55px; }
/* 「選ばれる3つの理由」の帯の見出しも Safari で cqw が2倍になるため px に（帯の幅 375px 基準：7.6cqw = 28.5px） */
.l-sect-reason-band .reason-band__head { container-type: normal; }
.l-sect-reason-band .reason-band__title { font-size: 28.5px; }
/* 2026/11/09 「この冬はスマイルゼミで新学年に備えよう」とボタンの間を少し詰める（44px → 30px） */
.l-sect-mid-cta .mid-cta__lead { margin-bottom: 30px; }

/* 写真の下の余白を詰める（間に<style>が入るので ~ で指定） */
.l-sect-reason-band ~ .l-sect-strength { padding-top: 40px !important; }
.l-sect-reason-band ~ .l-sect-strength > .c-heading + ul { margin-top: 0 !important; }

/* お知らせ帯はFVの写真の上に重ねる（すべり込むときも後ろに写真が見える）。帯そのものは白 */
.l-sect-newsbar .newsbar { margin-bottom: -50px; background: #fff; }
@media (max-width: 767px) { .l-sect-newsbar .newsbar { margin-bottom: -80px; } }

/* 2026/11/10 資料請求ボタンとオンライン説明会の間の余白を詰める */
.l-sect-mid-cta + .c-wrapper > .cc-shogaku-navinfo:first-child { margin-top: 10px !important; }

/* 2026/11/10 赤帯の後の「スマイルゼミの3つの強み！」見出しは出さない（間に<style>が入るので ~ で指定） */
.l-sect-reason-band ~ .l-sect-strength > .c-heading { display: none !important; }

/* 2026/11/10 スマホで「お子さまに寄り添った／個別指導を実現」を少し大きく */
@media (max-width: 767px) {
  .l-sect-update .msg__title { font-size: 30px !important; }
}

/* 2026/11/10 真ん中のCTAボタン（お試し・資料請求）は完全な角丸に */
.l-sect-mid-cta .mid-cta__btn { border-radius: 9999px !important; }
