@charset "utf-8";
/* ==========================================================================
   【フレンズアップ2026】 top_2026.css
   作成：2026-09-12
   --------------------------------------------------------------------------
   役割：トップページ（front-page.php）だけで使う部品。

   ■ このファイルだけトップ専用にしている理由
   改修方針では「ページ専用CSSを極力減らす」となっています。
   ただしトップページは、他のどのページとも構造が違います
   （スライダー・入口ボタン・新着一覧）。
   ここを共通CSSに混ぜると、全ページがその重さを背負うことになります。

   ■ 読み込み方
   header-2026.php の読み込みリストの最後に 'top_2026' を足します。
   将来は is_front_page() のときだけ読む形にするのが理想です。

   ■ 幅の考え方
   セクションの「地」は画面の端まで。中身だけ .fu-top-inner で本文幅に
   そろえます。layout_2026.css のグリッドを上書きするので、
   このファイルは layout_2026.css より後に読み込んでください。
   ========================================================================== */

/* ---- セクションの地は画面の端まで ---------------------------------------- */
.fu-main-content .page-content > .fu-top-section {
  grid-column: bleed;
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.fu-top-inner {
  max-width: var(--fu-content-max);
  margin: 0 auto;
  padding: 0 5vw;
}
@media (min-width: 960px) {
  .fu-top-inner { padding: 0 4vw; }
}

/* セクションの上下の余白。ここを1か所で決めます */
.fu-top-section {
  padding: 3.5rem 0;
}
.fu-top-section--tight { padding: 0; }

/* セクションの見出し。h2 の統一スタイルを中央寄せにして使います */
.fu-top-section > .fu-top-inner > h2,
.fu-top-proof > .fu-top-inner > h2 {
  text-align: center;
  margin-top: 0;
}

/* ==========================================================================
   1. ヒーロー（スライダー）
   --------------------------------------------------------------------------
   実物は現行トップの .slider-container をそのまま使います。
   ここは置き場所と、上のヘッダーとのつながりだけを決めています。
   ========================================================================== */
.fu-top-hero {
  position: relative;
  background: var(--fu-brand-dark);
}
/* ヘッダーの真下にぴったり付けます（すき間を作らない） */
.fu-main-content .page-content > .fu-top-hero { margin-top: 0; }

/* 実物のスライダーが入るまでの仮置き */
.fu-top-hero__placeholder {
  aspect-ratio: 16 / 6;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.06), transparent 60%),
    var(--fu-brand-dark);
}
@media (max-width: 767px) {
  .fu-top-hero__placeholder { aspect-ratio: 16 / 10; }
}
/* ★これは h1 です（そのページの主題）。
   page_2026.css の h1 は「緑の帯」なので、ここで打ち消しています。
   トップページの主題はスライダーの上のキャッチだからです。 */
.fu-top-hero__catch {
  background: none;
  padding: 0;
  border-radius: 0;
  color: #fff;
  text-align: center;
  font-family: var(--fu-font-display);
  font-size: clamp(1.4rem, 3.2vw + .6rem, 2.6rem);
  line-height: 1.5;
  margin: 0 0 .6rem;
}
.fu-top-hero__catch::after { content: none; }

.fu-top-hero__sub {
  font-size: clamp(.85rem, .6vw + .7rem, 1.05rem);
  opacity: .9;
  margin: 0;
}
/* ヒーローの下の金の線 */
.fu-top-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--fu-gold-line);
}

/* ==========================================================================
   2. 入口ボタン（各ランディングページへ）
   --------------------------------------------------------------------------
   ★スライダーの真下に、すき間なく置きます。
     トップページに来た人が最初にすることは「自分はどれを見るのか」を
     決めることだからです。新着情報より先に置いています。
   ========================================================================== */
.fu-top-gates {
  background: var(--fu-brand);
  padding: 1.25rem 0 1.5rem;
}
.fu-top-gates__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 767px) {
  .fu-top-gates__list { grid-template-columns: repeat(2, 1fr); }
}

.fu-top-gate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .2rem;
  min-height: 5.2rem;
  padding: .9rem .8rem;
  background: var(--fu-card);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 8px;
  color: var(--fu-ink-brand);
  text-decoration: none;
  text-align: center;
  transition: .3s;
}
.fu-top-gate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  opacity: 1;
}
.fu-top-gate__name {
  font-family: var(--fu-font-display);
  font-size: clamp(1rem, .8vw + .8rem, 1.2rem);
  font-weight: bold;
  line-height: 1.3;
}
.fu-top-gate__note {
  font-size: .78rem;
  color: #4a6257;
  line-height: 1.4;
}
/* 準備中のボタン（高等部）。押せますが、中身はこれからです */
.fu-top-gate--soon { opacity: .72; }
.fu-top-gate--soon .fu-top-gate__note { color: var(--color-fu-gold-ink); font-weight: bold; }

/* お問い合わせボタン（横いっぱいの1本）
   ★2026-09-13：入口ボタンのすぐ下では使わないことにしました。
     ヘッダーの右上に同じボタンがあり、すぐ戻れる位置だからです。
     使うのは「成果のアピール」のあと、1か所だけにしています。 */
.fu-top-gates__contact {
  display: block;
  margin-top: .75rem;
  padding: .9rem 1.2rem;
  background: var(--fu-gold-line);
  color: #00301c;
  border-radius: 30px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,.2);
  transition: .3s;
}
.fu-top-gates__contact:hover { opacity: .85; }

/* ==========================================================================
   3. 新着情報
   --------------------------------------------------------------------------
   ★2026-09-13：10件を載せることになりました。
     10件そのままの大きさだと縦に伸びすぎるので、
     文字を小さく・行間を詰めています（0.92rem／行間1.45／上下0.5rem）。
     日付とタイトルはPCで1行に並べ、スマホでは2行に折り返します。
   ========================================================================== */
.fu-top-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .92rem;
  line-height: 1.45;
}
.fu-top-news__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem .9rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--fu-surface-line);
}
.fu-top-news__date {
  font-size: .8rem;
  color: var(--fu-ground-quiet);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;   /* 数字の幅をそろえます */
}
.fu-top-news__cat {
  /* 2026-09-13 夜：.72rem（11.5px）だとスマホで読みにくいので、
     12pxを下限にしました */
  font-size: max(12px, .72rem);
  padding: .1rem .5rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  white-space: nowrap;
  opacity: .85;
}
.fu-top-news__title { text-decoration: none; color: inherit; }
.fu-top-news__title:hover { text-decoration: underline; }
.fu-top-news__more { text-align: right; margin-top: 1rem; }

/* ==========================================================================
   4. 推薦文（3〜4名）
   --------------------------------------------------------------------------
   ★中身は代表に書いていただきます。ここは枠だけです。
   ========================================================================== */
/* 推薦文の帯。ダークでは少し明るい面、ライトでは薄いミント */
.fu-top-refs {
  background: var(--fu-card-strong);
}
body[data-fu-theme="dark"] .fu-top-refs,
body.fu-dark .fu-top-refs { background: rgba(255,255,255,.06); }
/* 2026-10-10：横並び → 縦に1列（4枠） */
.fu-top-refs__list {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
  gap: 1.25rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.fu-top-ref {
  background: var(--fu-card);
  border: 1px solid rgba(0,0,0,.08);
  border-left: 5px solid var(--color-fu-gold);
  border-radius: 6px;
  padding: 1.2rem 1.3rem;
  color: #14231c;
}
.fu-top-ref__body { margin: 0 0 .8rem; }
.fu-top-ref__who { font-size: .88rem; color: #4a6257; margin: 0; text-align: right; }
/* 2026-10-10：1つ目の枠＝推薦文を書いていただく方への案内（本文が届いたら普通の枠に戻します） */
.fu-top-ref--guide { border: 2px dashed var(--color-fu-gold); border-left-width: 5px; background: #fffaf0; }
.fu-top-ref__lead { margin: 0 0 .5rem; font-weight: 700; color: #6b4a00; }
.fu-top-ref__points { margin: 0 0 .8rem; padding-left: 1.3em; }
.fu-top-ref__points li { margin: .2rem 0; }

/* ==========================================================================
   5. 理念 ／ ビジョン
   --------------------------------------------------------------------------
   ★2026-09-13：理念とビジョンを別のセクションに分けました。
     並びは「推薦文 → 理念 → 成果のアピール → お問い合わせ → ビジョン」です。
     理念＝いまの塾が何を大事にしているか、
     ビジョン＝これからどこへ向かうか、で役割が違うためです。

   どちらも濃い地に金の下線。本文は明朝で、行間をゆったり取ります。
   ========================================================================== */
.fu-top-creed,
.fu-top-vision {
  background: var(--fu-brand-dark);
  color: #fff;
  position: relative;
}
.fu-top-creed h2,
.fu-top-vision h2 { color: #fff; border-bottom-color: var(--color-fu-gold); }

/* 理念の本文。改行の位置は原文どおりに出したいので、<br> で来ます */
.fu-top-creed__text {
  font-family: var(--fu-font-display);
  font-size: clamp(1.05rem, 1vw + .8rem, 1.35rem);
  line-height: 2.1;
  text-align: center;
  margin: 0;
}
.fu-top-creed__text em {
  font-style: normal;
  color: var(--color-fu-gold);
}

.fu-top-vision__body {
  max-width: 42em;
  margin: 0 auto;
  font-family: var(--fu-font-display);
  font-size: clamp(1rem, .7vw + .82rem, 1.15rem);
  line-height: 2.0;
}
/* 濃い地の上のリンク。緑のままだと沈んで読めません */
.fu-top-creed a,
.fu-top-vision a,
.fu-top-hero a { color: #7fe0b4; }

/* 理念とビジョンの上下に金の細い線を入れて、区切りを作ります */
.fu-top-creed::before,
.fu-top-creed::after,
.fu-top-vision::before,
.fu-top-vision::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--fu-gold-line);
}
.fu-top-creed::before, .fu-top-vision::before { top: 0; }
.fu-top-creed::after,  .fu-top-vision::after  { bottom: 0; }

/* ==========================================================================
   5b. 成果のアピール
   --------------------------------------------------------------------------
   グラフは枠付きのカードに乗せます（ダークの指定は base_2026.css）。
   ここではグラフどうしの間隔だけを決めます。
   ========================================================================== */
.fu-main-content .page-content > .fu-graph { margin-bottom: 2.5rem; }
.fu-top-proof__lead {
  text-align: center;
  margin: 0 0 2rem;
}

/* ==========================================================================
   6. 基本情報（アクセスなど）
   ========================================================================== */
.fu-top-info__table {
  width: 100%;
  border-collapse: collapse;
}
.fu-top-info__table th,
.fu-top-info__table td {
  border: 1px solid var(--fu-surface-line);
  padding: .8rem 1rem;
  text-align: left;
  vertical-align: top;
}
.fu-top-info__table th {
  width: 7em;
  white-space: nowrap;
  background: rgba(76,129,14,.08);
}

/* ==========================================================================
   ダークのときの調整
   （白地の部品は base_2026.css 側で文字色を黒に戻しています）
   ========================================================================== */
body[data-fu-theme="dark"] .fu-top-refs,
body.fu-dark .fu-top-refs { background: rgba(255,255,255,.05); }
body[data-fu-theme="dark"] .fu-top-ref,
body.fu-dark .fu-top-ref { color: #222; }
body[data-fu-theme="dark"] .fu-top-info__table th,
body.fu-dark .fu-top-info__table th { background: rgba(255,255,255,.08); }

/* ==========================================================================
   本文の面（白いカード）は、トップページでは使いません
   --------------------------------------------------------------------------
   トップページはセクションごとに地の色を持っているので、
   その後ろにもう1枚、面を敷く必要がありません。
   敷いたままだと、セクションの下に白い柱が透けて見えます。
   ========================================================================== */
.fu-main-content .page-content.fu-top::before { display: none; }
.fu-main-content .page-content.fu-top { padding-bottom: 0; }


/* ==========================================================================
   実績の見せ方（[fu_proof] が出す3つ）
   --------------------------------------------------------------------------
   2026-09-18 新規。

   ■ なぜ作ったか
   トップページには、中学部LPから持ってきたグラフが2つ並んでいました。
   そこへ小学部のものを足すと、同じ形のグラフが3つ続きます。
   LPはじっくり読む人向けなので表＋棒グラフでよいのですが、
   トップは通りすがりの人が見る場所です。
   表も棒グラフもやめて、いちばん言いたい1つの数字だけに絞りました。

   ■ 3つとも見せ方の種類を変えてあります
     ① 偏差値 … 点で数える     左右／点が1個ずつ増える
     ② 内申   … 10人のうち何人 上下／人の形が左から光る
     ③ 小学部 … 左右で比べる   左右／数字が回る

   出るものが「点・人の形・数字」、動きが「増える・光る・回る」と
   ばらばらなので、続けて出しても同じに見えません。

   ■ 矢印は①②だけです
   ①②は「入会前 → 入会後」の変化なので矢印を付けます。
   ③は別の集団どうしの比較なので付けません。
   付けると「都内平均が38%になった」と読めてしまいます。

   ■ 地の色
   3つとも濃い緑（--fu-brand-dark）の上に置きます。
   ライトのトップページでも、ここだけは濃いままです。
   理念・ビジョンの帯と同じ考え方で、文字は base_2026.css の
   「緑の面」の一覧に .fu-proof / .fu-top-proof を入れて白にしています。

   ■ 動き
   js/fu-proof-2026.js。点は1個あたり58ミリ秒、順番に（2026-09-18 決定）。
   ========================================================================== */

/* ---- 3つを1本の濃い帯に見せます -------------------------------------- */
.fu-main-content .page-content > .fu-proof,
.fu-main-content .page-content > .fu-top-proof {
  grid-column: bleed;
  margin-left: 0;
  margin-right: 0;
}
/* 左右の余白の持ち方が2種類あります。
   .fu-top-proof（見出し・リンク）は中の .fu-top-inner が持つので、ここでは0。
   .fu-proof（3つ本体）は自分で持つので、ここで0にしてはいけません。
   ★最初 .fu-top-section の書き方をそのまま写して両方0にしてしまい、
     スマホで文字が画面の端に貼り付いていました。 */
.fu-main-content .page-content > .fu-top-proof {
  padding-left: 0;
  padding-right: 0;
}
.fu-proof,
.fu-top-proof { background: var(--fu-brand-dark); }

/* 見出しの節（3つの上）と、リンクの節（3つの下） */
.fu-top-proof--head { padding: 3.5rem 0 0; }
.fu-top-proof--foot { padding: 0 0 3.5rem; }
/* 理念・ビジョンと同じ扱い。濃い地の上なので下線は金です
   （メインの緑 #006039 だと、濃い地の上でほとんど見えません） */
.fu-top-proof--head > .fu-top-inner > h2 {
  color: #fff;
  border-bottom-color: var(--color-fu-gold);
}
.fu-top-proof__lead {
  text-align: center;
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  margin: 1rem auto 0;
  max-width: 36rem;
}
.fu-top-proof__more {
  text-align: center;
  margin: 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.13);
}
.fu-top-proof__more a { color: var(--fu-gold); font-weight: bold; }

/* ---- 1つぶんの共通 ---------------------------------------------------- */
.fu-proof {
  padding: clamp(2.4rem,5vw,3.4rem) 5vw;
}
@media (min-width: 960px) { .fu-proof { padding-inline: 4vw; } }

.fu-proof__cap,
.fu-proof__sub,
.fu-proof__ba,
.fu-proof__ten,
.fu-proof__vs,
.fu-proof__mid,
.fu-proof__foot {
  max-width: var(--fu-content-max);
  margin-inline: auto;
}
.fu-proof__cap {
  font-family: var(--fu-font-display);
  color: #fff;
  font-size: clamp(1rem, 2.8vw, 1.22rem);
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 .3rem;
  text-wrap: balance;
  word-break: auto-phrase;
}
.fu-proof__sub {
  color: rgba(255,255,255,.58);
  font-size: .78rem;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 1.7rem;
  text-wrap: pretty;
}
.fu-proof__foot {
  max-width: 34rem;
  margin: 1.5rem auto 0;
  text-align: center;
  color: rgba(255,255,255,.78);
  font-size: .88rem;
  border-top: 1px solid rgba(255,255,255,.13);
  padding-top: 1rem;
}
.fu-proof__foot b { color: var(--fu-gold); font-variant-numeric: tabular-nums; }

/* ---- ①③ 左右の並び --------------------------------------------------- */
.fu-proof__ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(10px, 2.5vw, 26px);
}
@media (max-width: 640px) {
  .fu-proof__ba { grid-template-columns: 1fr; gap: 14px; }
}

.fu-proof__when {
  text-align: center;
  font-size: .8rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.66);
  margin: 0 0 .45rem;
}
.fu-proof__pane--after .fu-proof__when { color: #fff; font-weight: bold; }

.fu-proof__tally { text-align: center; line-height: 1; margin: 0 0 .9rem; }

/* ==========================================================================
   数字はカウントアップではなく、ふわっと拡大して出します
   --------------------------------------------------------------------------
   2026-09-19 に変えました。

   【なぜ変えたか】
   0から回す形だと、回っている間はずっと「0人」「0%」と書かれています。
   読み込みの途中で見た人や、画面を読み上げる機械には
   「0人」と伝わってしまう恐れがありました。

   いまは最初から正しい数字が書かれていて、大きさと濃さだけが変わります。
   どの瞬間を切り取っても、数字は正しいままです。

   【順番】
   数字がふわっと出る → そのあと点が1個ずつ増える、という順にしています。
   遅れは各要素の --fu-zd で決めます（PHPが style="--fu-zd:.3s" で入れます）。

   【止まっているときの姿】
   既定では、拡大も透明も何もしません。ふつうに見えている状態です。
   JSが「これから動かす」と決めたときだけ .is-fu-armed が付いて隠れ、
   .is-fu-run で出てきます。
   ですからJSが動かないときは、最初から完成した姿のままです。
   ========================================================================== */
.fu-proof__big { display: inline-block; transform-origin: center bottom; }

.fu-proof.is-fu-armed .fu-proof__big,
.fu-proof.is-fu-armed .fu-proof__pct { opacity: 0; }

.fu-proof.is-fu-run .fu-proof__big,
.fu-proof.is-fu-run .fu-proof__pct {
  animation: fuProofZoom .62s cubic-bezier(.16,.9,.3,1) both;
  animation-delay: var(--fu-zd, 0s);
}
@keyframes fuProofZoom {
  from { opacity: 0; transform: scale(.5); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: scale(1); }
}

/* ---- あとから出す数字 ---------------------------------------------------
   2026-09-24 追加。

   ①のアフター側と、②の合計は、点や人が増えきってから出します。
   先に数字が出ていると、増えていく前に答えが分かってしまい、
   いちばん見せたいところが「確認作業」になってしまうためです。

   .is-fu-wait … PHPが最初から付けています（待つ印）
   .is-fu-late … JSが最後に足します（出ていい合図）

   どちらのルールも .is-fu-run の中にしか書いていません。
   ですからJSが動かないときは、ふつうに見えたままです。
   ------------------------------------------------------------------------ */
.fu-proof.is-fu-armed .fu-proof__of.is-fu-wait,
.fu-proof.is-fu-armed .fu-proof__breakdown.is-fu-wait,
.fu-proof.is-fu-run .fu-proof__big.is-fu-wait,
.fu-proof.is-fu-run .fu-proof__of.is-fu-wait,
.fu-proof.is-fu-run .fu-proof__breakdown.is-fu-wait {
  animation: none;
  opacity: 0;
}
.fu-proof.is-fu-run .fu-proof__big.is-fu-wait.is-fu-late {
  animation: fuProofZoom .62s cubic-bezier(.16,.9,.3,1) both;
  opacity: 1;
}
/* 添えものの小さい文字は、大きい数字より少し遅れて、静かに出します。
   こちらまで拡大すると、目が2か所に散ってしまいます。 */
.fu-proof.is-fu-run .fu-proof__of.is-fu-wait.is-fu-late,
.fu-proof.is-fu-run .fu-proof__breakdown.is-fu-wait.is-fu-late {
  animation: fuProofRise .5s ease-out .26s both;
  opacity: 1;
}
@keyframes fuProofRise {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: none; }
}

.fu-proof__num {
  font-size: clamp(2.3rem, 8.5vw, 3.4rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.5);
  letter-spacing: -.01em;
}
.fu-proof__pane--after .fu-proof__num { color: var(--fu-brand-bright); }
.fu-proof__unit {
  font-size: clamp(.9rem, 2.4vw, 1.15rem);
  font-weight: bold;
  color: rgba(255,255,255,.55);
  margin-left: .1em;
}
.fu-proof__pane--after .fu-proof__unit { color: #fff; }
.fu-proof__of {
  display: block;
  font-size: .74rem;
  font-weight: normal;
  color: rgba(255,255,255,.46);
  margin-top: .45rem;
  letter-spacing: .03em;
  font-variant-numeric: tabular-nums;
}

.fu-proof__arrow {
  align-self: center;
  width: clamp(24px, 4vw, 38px);
  margin-top: clamp(36px, 6vw, 64px);
  color: var(--fu-gold);
  opacity: 0;
  transform: translateX(-8px);
}
.fu-proof.is-fu-run .fu-proof__arrow { animation: fuProofArrow .5s ease-out .22s both; }
@keyframes fuProofArrow {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .fu-proof__arrow {
    margin: 0 auto;
    width: 26px;
    transform: rotate(90deg) translateX(-8px);
  }
  .fu-proof.is-fu-run .fu-proof__arrow { animation: fuProofArrowSp .5s ease-out .22s both; }
  @keyframes fuProofArrowSp {
    from { opacity: 0; transform: rotate(90deg) translateX(-8px); }
    to   { opacity: 1; transform: rotate(90deg); }
  }
}

/* ---- ① 点 -------------------------------------------------------------
   1列13個。156個なら12行、89個なら7行です。
   両側とも同じ枠数なので、緑の面積の差がそのまま結果になります。
   ---------------------------------------------------------------------- */
.fu-proof__field {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  gap: clamp(2px, .8vw, 6px);
  margin-inline: auto;
  max-width: 310px;
}
.fu-proof__cell { aspect-ratio: 1; display: grid; place-items: center; }
.fu-proof__dot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,.11);
  transform-origin: center;
}
.fu-proof__cell.is-fu-on .fu-proof__dot { background: var(--fu-brand-bright); }
/* 入会時は白。両方とも緑だと、どちらがどちらか分からなくなります */
.fu-proof__pane--before .fu-proof__cell.is-fu-on .fu-proof__dot { background: rgba(255,255,255,.6); }
.fu-proof__cell.is-fu-pop .fu-proof__dot { animation: fuProofPop .72s cubic-bezier(.34,1.7,.5,1) both; }

@keyframes fuProofPop {
  0%   { transform: scale(.25); opacity: .25; }
  55%  { transform: scale(1.32); opacity: 1; }
  100% { transform: scale(1);    opacity: 1; }
}

/* ---- ② 人の形で数える -------------------------------------------------
   2026-09-24 作り直し。

   【前の形】10人のうち3人 → 10人のうち6人以上を、上下に並べていました。
   【やめた理由】3個が6個になっても、増えた感じがまったくしません。
   【いまの形】入会前との左右くらべをやめて、卒業時の89人だけを並べます。
               横幅をめいっぱい使えるので、89個そのまま置けます。

   色は2段階です。
     内申4 … 明るい緑（--fu-brand-bright）
     内申5 … 金（--fu-gold）
   4のほうが人数は少し少ないのに、2色に分けるとどちらも読み取れます。
   ---------------------------------------------------------------------- */
.fu-proof__ten { display: grid; gap: .9rem; max-width: 46rem; }
.fu-proof__ten .fu-proof__when { margin: 0; text-align: center; color: #fff; font-weight: bold; }

/* 凡例。色の意味は、人が光り始める前に見えていてほしいので、最初から出します */
.fu-proof__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .35rem 1.3rem;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
}
.fu-proof__legend-item { display: flex; align-items: center; gap: .4em; }
.fu-proof__legend-item i,
.fu-proof__part i {
  width: .72em;
  height: .72em;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
/* 2026-10-16 代表の指示で入れ替え：内申4＝ゴールド、内申5＝青緑 */
.fu-proof__legend-item--1 i,
.fu-proof__part--1 i { background: var(--fu-gold); }
.fu-proof__legend-item--2 i,
.fu-proof__part--2 i { background: var(--fu-brand-bright); }

/* 89人の並び。1行20個で4行＋9個です。
   きれいに割り切れませんが、人数がそういう数なので、そのまま置きます。 */
.fu-proof__crowd {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: clamp(3px, .7vw, 7px);
  margin-inline: auto;
  width: 100%;
}
@media (max-width: 720px) { .fu-proof__crowd { grid-template-columns: repeat(15, 1fr); } }
@media (max-width: 480px) { .fu-proof__crowd { grid-template-columns: repeat(12, 1fr); } }

.fu-proof__p {
  aspect-ratio: 5 / 8;
  color: rgba(255,255,255,.14);
}
.fu-proof__p svg { width: 100%; height: 100%; display: block; }
.fu-proof__p.is-fu-s1.is-fu-on { color: var(--fu-gold); }
.fu-proof__p.is-fu-s2.is-fu-on { color: var(--fu-brand-bright); }
.fu-proof__p.is-fu-pop { animation: fuProofPop .72s cubic-bezier(.34,1.7,.5,1) both; }

/* 合計の下に置く内訳。凡例と同じ色の丸を付けて、対応を分かるようにします */
.fu-proof__breakdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .3rem 1.4rem;
  margin: -.4rem 0 0;
  font-size: .86rem;
  color: rgba(255,255,255,.68);
  font-variant-numeric: tabular-nums;
}
.fu-proof__part { display: flex; align-items: center; gap: .4em; }
.fu-proof__part b { color: #fff; font-weight: bold; }
.fu-proof--ten .fu-proof__tally { margin-bottom: .3rem; }
.fu-proof--ten .fu-proof__num { color: var(--fu-brand-bright); }
.fu-proof--ten .fu-proof__unit { color: #fff; }

/* ---- ③ 並べて比べる（矢印なし）---------------------------------------
   2026-09-18 夜：2つ並べ → 3つ並べ。
   「中学から入会 32%」を下の注記から真ん中の列に上げています。
   列の数は .fu-proof__vs--3 のように付くので、増減にも耐えます。
   ---------------------------------------------------------------------- */
.fu-proof__vs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;                       /* 1pxだけ空けて、下地を仕切り線に見せます */
  background: rgba(255,255,255,.16);
  max-width: 38rem;
}
.fu-proof__vs--3 { grid-template-columns: repeat(3, 1fr); max-width: 46rem; }
/* 狭い画面では縦に積みます。3列のままだと「都内の公立中学では」が
   1文字ずつ折り返して読めなくなるためです。
   縦でも並び順は同じなので、下にいくほど高い、と読めます。 */
@media (max-width: 620px) {
  .fu-proof__vs--3 { grid-template-columns: 1fr; }
}
.fu-proof__col {
  background: var(--fu-brand-dark);
  padding: clamp(18px,3.5vw,28px) clamp(10px,2.5vw,20px);
  text-align: center;
}
/* 3段階の強さ。
   都内平均＝薄い数字／中学から入会＝白い数字／小学部から＝明るい緑＋地を持ち上げる */
.fu-proof__col--mid .fu-proof__pct { color: #fff; }
.fu-proof__col--mid .fu-proof__who { color: rgba(255,255,255,.8); }
.fu-proof__col--us { background: #073c26; }
.fu-proof__who {
  font-size: .8rem;
  line-height: 1.5;
  color: rgba(255,255,255,.66);
  margin: 0 0 .65rem;
  min-height: 3em;
}
.fu-proof__col--us .fu-proof__who { color: #fff; font-weight: bold; }
.fu-proof__pct {
  transform-origin: center;
  font-size: clamp(2.1rem, 6.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.5);
  display: block;
}
.fu-proof__col--us .fu-proof__pct { color: var(--fu-brand-bright); }
.fu-proof__inwords {
  font-size: .82rem;
  margin: .55rem 0 0;
  color: rgba(255,255,255,.6);
}
.fu-proof__col--us .fu-proof__inwords { color: var(--fu-gold); font-weight: bold; }
/* 2026-09-18 夜：3つ並べにしたので、いまは使っていません。
   （「中学から入会 32%」を真ん中の列に上げたため）
   別のデータで注記が必要になったときのために残してあります。 */
.fu-proof__mid {
  text-align: center;
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  margin: 1.1rem auto 0;
  font-variant-numeric: tabular-nums;
}
.fu-proof__mid b { color: rgba(255,255,255,.85); }

/* ---- 動きが苦手な設定の方 -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fu-proof__cell.is-fu-pop .fu-proof__dot,
  .fu-proof__p.is-fu-pop { animation: none; }
  .fu-proof__arrow { opacity: 1; transform: none; }
  .fu-proof.is-fu-armed .fu-proof__big,
  .fu-proof.is-fu-armed .fu-proof__pct { opacity: 1; }
  .fu-proof.is-fu-run .fu-proof__big,
  .fu-proof.is-fu-run .fu-proof__pct { animation: none; }
}

/* 2026-11-05 推薦文：本文は段落で、長いものは「続きを読む」 */
.fu-top-ref__body p{ margin:0 0 .7rem; line-height:1.85; }
.fu-top-ref__body p:last-child{ margin-bottom:.4rem; }
.fu-top-ref__lead{ font-size:1.08rem; }
.fu-top-ref__more{ margin:.2rem 0 .6rem; }
.fu-top-ref__more > summary{ display:inline-block; cursor:pointer; list-style:none; font-weight:700; font-size:.9rem;
  color:#6b4a00; background:#fff6dc; border:1.5px solid var(--color-fu-gold, #c8a24a); border-radius:999px; padding:4px 14px; margin-bottom:.7rem; }
.fu-top-ref__more > summary::-webkit-details-marker{ display:none; }
.fu-top-ref__more > summary::before{ content:"▼ "; font-size:.8em; }
.fu-top-ref__more[open] > summary{ font-size:0; padding:0; border:0; background:none; margin:0; }
.fu-top-ref__more[open] > summary::before{ content:""; }

/* 2026-11-06 推薦文の下の「代表より」。薄い青緑の面に緑の左線。中身は代表が書き換えます */
.fu-top-ref__reply{ margin:1rem 0 0; padding:.9rem 1.1rem; background:#e8f5f1; border-left:4px solid #2f8f6b; border-radius:4px; color:#14231c; }
.fu-top-ref__reply p{ margin:0; line-height:1.8; font-size:.95rem; }
.fu-top-ref__reply .fu-top-ref__reply-head{ font-weight:700; color:#1f6e50; font-size:.88rem; margin-bottom:.3rem; }

/* ==========================================================================
   2026-11-18：新着情報を本物に
   --------------------------------------------------------------------------
   仮の10件（手書きの <ul>）をやめて、WordPress の「クエリーループ」ブロックで
   投稿の新しい順に10件を出すようにしました（旧 front-page.php の WP_Query と同じ）。
   ブロックが出す HTML のクラス名が違うので、上の .fu-top-news__〇〇 と同じ見た目を
   こちらの名前にも当てています。
   ========================================================================== */
.fu-top-news .wp-block-post-template{ list-style:none; margin:0; padding:0; font-size:.92rem; line-height:1.45; }
.fu-top-news .wp-block-post-template > li{ display:flex; flex-wrap:wrap; align-items:baseline; gap:.1rem .9rem;
  margin:0; padding:.5rem 0; border-bottom:1px solid var(--fu-surface-line); }
.fu-top-news .wp-block-post-date{ font-size:.8rem; color:var(--fu-ground-quiet); white-space:nowrap; font-variant-numeric:tabular-nums; }
.fu-top-news .wp-block-post-terms{ font-size:max(12px,.72rem); padding:.1rem .5rem; border:1px solid currentColor;
  border-radius:3px; white-space:nowrap; opacity:.85; }
.fu-top-news .wp-block-post-terms a{ color:inherit; text-decoration:none; }
.fu-top-news .wp-block-post-title{ margin:0; padding:0; border:0; background:none; font-family:inherit; font-size:inherit;
  font-weight:normal; line-height:inherit; color:inherit; text-align:left; min-width:0; }
.fu-top-news .wp-block-post-title a{ color:inherit; text-decoration:none; }
.fu-top-news .wp-block-post-title a:hover{ text-decoration:underline; }
