@charset "UTF-8";
/* ==========================================================
   【フレンズアップ2026】 component_2026.css（統合版 2026-08-05）
   役割：色・装飾など「見た目の部品」を担当。
        配置・骨格は layout_2026.css の担当。

   ■ 統合版での変更点
   1. !important を全撤去（294個 → 0個）
   2. 旧 page_2026.css を本ファイルに統合（page_2026.css は廃止）

   ■ 詳細度の設計ルール（重要）
   ブロックエディタが出力する素のタグ（h2 / p / table 等）の指定は
   すべて :where(.page-content) で囲んであります。
   :where() の中身は詳細度が 0 として扱われるため、

       :where(.page-content) h2   → 詳細度 (0,0,1)
       .fu-title-green            → 詳細度 (0,1,0)

   となり、fu- クラスを1つ足すだけで必ず上書きできます。
   これにより !important が不要になり、ページ固有の微調整も
   「クラスを足す」だけで済むようになります。

   ■ WordPressコアCSSとの関係
   コアの wp-block-library.css は wp_head() で読み込まれ、
   .wp-block-button__link などに独自の装飾を当ててきます。
   これに勝つため、
     ・素のタグ（h1〜h4 / p / ul / a / img 等） → :where(.page-content)
     ・コアが装飾する要素（.wp-block-* / table / th / td） → .page-content
   と使い分けています。
   あわせて header-2026.php では本CSS群を wp_head() の「後」に
   読み込んでいます（同点のときにテーマ側を勝たせるため）。

   ■ 編集するときの原則
   - 素のタグの見た目を変えたい   → 「0. ブロックエディタ標準」を編集
   - 部品の見た目を変えたい       → 対応する fu- クラスを編集
   - 同じデザインを2箇所に書かない（セレクタをカンマで束ねる）
   ========================================================== */


/* ==========================================================
   0-1. ブロックエディタ標準 ／ 見出し
   --------------------------------------------------------------------------
   2026-09-07：このセクションは page_2026.css へ移しました。
   移したもの：h1〜h4／p／a／ul ol li／img figcaption／
               .fu-title-main .fu-title-sub .fu-dl-explanation dt
   このファイルには「名前の付いた部品」だけを残します。
   ========================================================== */

/* ---- 帯・惹句・控えめ見出し（クラスで指定する見出し）------------------
   タグ（h2 h3）が決めるのは階層です。ここは「見た目の役割」を決めます。

     .fu-title-green  緑の帯。ページの主題（h1）に使います
     .fu-title-red    大きな赤い惹句。階層とは関係なく「目立たせたい1行」
     .fu-title-quiet  区切りだけの控えめな見出し
   ---------------------------------------------------------------------- */

.fu-title-red {
  color: var(--fu-accent-ink);
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: 0;
  padding: .5rem 0;
  margin: 2rem 0 1rem;
  text-align: center;
  font-size: 1.5em;
}

.fu-title-green {
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
  font-weight: bold;
  line-height: 1.4;
  padding: .5rem 1rem;
  margin: 2rem 0 1.5rem;
  border-radius: 6px;
  text-align: center;
}

/* 控えめ見出し（本文の区切り用。帯も枠線も付けない） */
.fu-title-quiet {
  color: var(--fu-ground-quiet);
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin: 2.5rem 0 1rem;
}

@media screen and (min-width: 960px) {
  .fu-title-red {
    /* 2026-09-07：63px → 32px にしました。
       現行 page.css の .red-text-title は実測63pxですが、
       ページの主題（h1・24px）より2.6倍大きく、どちらが上の
       階層なのか読み取れませんでした。
       ランディングページのいちばん大きな文字（ヒーローの見出し・32px）に
       そろえています。 */
    font-size: clamp(1.5rem, 1.8vw + 1rem, 2rem);
    text-align: left;
  }
  .fu-title-green {
    text-align: left;
  }
}


/* ==========================================================
   2. テキスト・ボックス・リスト
   ========================================================== */

/* ------------------------------------------------------------
   2026-09-05：strong（太字）に色を付けるのをやめました
   ------------------------------------------------------------
   これまで :where(.page-content) strong を赤にしていましたが、
   現行サイトのCSSには strong / b に色を付ける指定が1つもなく、
   太字は黒で表示されています。

   そのままだと移植後に合計123か所（保護者様の声52・コース28・
   よくある質問29・小5小6 11・その他3）が黒から赤に変わるため、
   現行に合わせて「太字のみ・色はそのまま」に戻しました。

   ★赤くしたいところは .fu-text-accent を付けてください。
     ブロックエディタでは、その文字を選択 →「太字」→
     段落の「高度な設定」ではなく、インラインで指定が必要なため、
     コードエディターで <strong class="fu-text-accent"> と
     書くのが確実です。
   ------------------------------------------------------------ */
.fu-text-accent {
  color: var(--fu-accent-ink);
  font-weight: bold;
}

:where(.page-content) strong,
:where(.page-content) b {
  font-weight: bold;
}

.fu-box-outline {
  border: 3px solid var(--color-fu-green);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
}

.fu-box-title {
  color: var(--fu-ground-brand);
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 0.8rem;
}

/* 注釈リスト。ブロックエディタでは「リスト」ブロックに
   スタイル「fu-note」を当てると is-style-fu-note が付きます。 */
.fu-list-note,
:where(.page-content) ul.is-style-fu-note {
  font-size: 0.9em;
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1rem;
}
.fu-list-note li,
:where(.page-content) ul.is-style-fu-note li {
  margin-bottom: 0.3rem;
}
.fu-list-note li::before,
:where(.page-content) ul.is-style-fu-note li::before {
  content: "※";
  margin-left: -1rem;
  margin-right: 0.2rem;
}

.fu-dl-explanation dd {
  margin-bottom: 1.5rem;
}

/* 料金の見出し（黄色帯）。
   dl を使わずブロックエディタの段落で組む場合は .fu-price-title を使います。 */
.fu-price-title,
.fu-dl-price dt {
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 2px solid var(--color-fu-green);
  padding: 0.5rem 1rem;
  font-weight: bold;
  margin: 1.5rem 0 0.5rem;
}
.fu-dl-price dd {
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 960px) {
  .fu-price-title,
  .fu-dl-price dt { font-size: 1.2em; }
}

/* fu- のリスト部品は常にマーカーなし（素のul/olの disc を打ち消す） */
.fu-tab-list,
.fu-flow-list,
.fu-promise-list,
.fu-case-list,
.fu-story-list,
.fu-result-grid {
  list-style: none;
}


/* ==========================================================
   3. カード
   ========================================================== */

.fu-card {
  border-radius: var(--fu-radius-card);
  padding: 1rem;
  box-shadow: var(--fu-shadow-card);
}

.fu-card--primary {
  background: var(--fu-gold-line);
  color: var(--fu-brand-dark);   /* 2026-09-13：金の地なので濃い緑の文字 */
}

.fu-card--accent {
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
  box-shadow: var(--fu-shadow-card-light);
}

.fu-card--outline {
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 1px solid var(--color-fu-gray);
  box-shadow: var(--fu-shadow-card-light);
}

/* クリーム系（体験談カード等） */
.fu-card--highlight {
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  color: var(--fu-ground-ink);
}

@media (min-width: 1200px) {
  .fu-card {
    padding: 2rem;
    font-size: 1.2rem;
  }
}


/* ==========================================================
   4. ボタン
   ブロックエディタの「ボタン」ブロックと同一ルール。
   標準は赤（primary）、スタイル「アウトライン」で緑枠になります。
   ========================================================== */

.fu-button,
.page-content .wp-block-button__link {
  display: inline-block;
  box-sizing: border-box;
  border-radius: var(--fu-radius-btn);
  padding: 0.8rem 2rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}

/* 金のボタン：お問い合わせ・体験申込だけ */
.fu-button--primary {
  background: var(--fu-gold-line);
  color: var(--fu-brand-dark);   /* 2026-09-13：金の地なので濃い緑の文字 */
}
.fu-button--primary:hover { opacity: 0.8; }

/* 緑のボタン：ブロックエディタの「ボタン」の既定
   ------------------------------------------------------------------
   金の細い枠を1本だけ入れています。面では金を使いません。
   金にしたいときは、ブロックの「追加CSSクラス」に fu-cta と入れます。 */
.page-content .wp-block-button__link {
  background: var(--fu-brand);
  color: #fff;
  border: 1px solid var(--fu-gold);
}
.page-content .wp-block-button__link:hover {
  background: var(--fu-brand-bright);
  color: var(--fu-brand-dark);
  opacity: 1;
}
.page-content .wp-block-button__link.fu-cta {
  background: var(--fu-gold-line);
  color: var(--fu-brand-dark);
  border: 0;
}

.fu-button--accent {
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
}
.fu-button--accent:hover {
  opacity: 0.8;
}

.fu-button--outline,
.page-content .wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  border: 2px solid var(--color-fu-green);
  color: var(--fu-ground-brand);
}
.fu-button--outline:hover,
.page-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
  opacity: 1;
}

.fu-button--block {
  display: block;
  width: 100%;
}


/* ==========================================================
   5. テーブル
   ブロックエディタの「表」ブロックと同一ルール。
   横スクロールの受け皿は .fu-table-wrap ／ .wp-block-table。
   ========================================================== */

/* --- 受け皿（横スクロールさせる箱）---
   幅の指定はここにしか書かないこと。
   表本体に min-width を当てると、箱ごと広がって本文からはみ出します。 */
.fu-table-wrap,
.page-content .wp-block-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

/* --- 表そのもの ---
   ブロックエディタは figure.wp-block-table にクラスを付けるため、
   「クラスが付いた table」と「クラスが付いた figure の中の table」の
   両方を対象にしています。 */
.fu-table:where(table),
.fu-table > table,
.fu-table-wrap > table,
.page-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  margin-bottom: 0;
}

.fu-table th,
.fu-table td,
.page-content th,
.page-content td {
  border: 1px solid var(--color-fu-text);
  padding: 1rem;
}

/* 狭い画面では表を縮めず、受け皿の中で横スクロールさせる。
   min-width は必ず table 側に当てる（figure に当てると箱がはみ出します）。

   2026-09-13 夜：グラフの表を除外しました。
   コース・授業料のような5列の表は、縮めると読めないので横スクロールが
   正解です。ところがこの指定はページ内の「すべての表」に効くため、
   グラフの2列の表（【入会時】数学の偏差値／人数）にも600pxが当たり、
   スマホで右の「人数」の列が画面の外に出て見えなくなっていました。
   グラフの表は2列で、350pxにきちんと収まります。 */
@media (max-width: 767px) {
  .fu-table:where(table),
  .fu-table > table,
  .fu-table-wrap > table,
  .page-content table:not(.fu-graph-table):not(.fu-compare-table):not(.fu-top-info__table) {
    min-width: 600px;
  }
  .fu-table th,
  .fu-table td,
  .page-content th,
  .page-content td {
    padding: 0.6rem 0.5rem;
  }
}

.fu-table-compare th {
  text-align: center;
  font-size: 1.1em;
}
.fu-table-compare th:nth-of-type(1) {
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  color: var(--fu-ground-brand);
}
.fu-table-compare th:nth-of-type(2) {
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  color: var(--fu-ground-quiet);
}
.fu-table-compare ul {
  padding-left: 1.2rem;
}

.fu-table-price th,
.fu-table-price td {
  text-align: center;
  font-weight: bold;
}
.fu-table-price tr:first-child th:first-child {
  color: var(--fu-ground-brand);
}
.fu-table-price tr:first-child th:not(:first-child) {
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
}

/* 項目名＋内容の2列表（所在地・アクセス・TEL など）。
   旧 access.css の .accessTable を共通部品化したもの。 */
.fu-table-info th {
  width: 6em;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
}
.fu-table-info td {
  vertical-align: top;
}

.fu-table-schedule th,
.fu-table-schedule td {
  text-align: center;
}
.fu-table-schedule thead th:nth-of-type(1) {
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  width: 40%;
}
.fu-table-schedule thead th:not(:first-child) {
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
}
.fu-table-schedule .fu-bg-pink {
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  padding: 0.5rem;
  font-weight: bold;
}


/* ==========================================================
   6. タブメニュー（ボタン部分）
   ========================================================== */

/* タブ群のスコープ用コンテナ。origin-2026.js が closest() で参照します。
   見た目はほぼ持ちませんが、1ページに複数のタブ群を置くために必須です。 */
.fu-tab-group {
  margin-bottom: 1.5rem;
}

.fu-tab-list {
  display: flex;
  padding: 0;
  margin: 0;
}
.fu-tab-list li {
  width: 33.3%;
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 1px solid var(--color-fu-text);
  border-radius: 12px 12px 0 0;
  text-align: center;
  font-size: 0.85em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  margin-bottom: 0;
  cursor: pointer;
}
.fu-tab-list li.is-active {
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
}


/* ==========================================================
   7. タブ切り替えパネル（.fu-tab-list とセットで使用）
   ========================================================== */

.fu-tab-panel {
  display: none;
}
.fu-tab-panel.is-show {
  display: block;
}
.fu-tab-panel.fu-table.is-show {
  display: table;
}


/* ==========================================================
   8. 強調バッジ（時間割の「休校日」等）
   ========================================================== */

.fu-callout {
  display: inline-block;
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  font-weight: bold;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}


/* ==========================================================
   9. 外部埋め込み（Googleカレンダー等、比率固定のレスポンシブ枠）
   ========================================================== */

/* 比率固定のレスポンシブ枠（Googleカレンダー・マップ等）。
   幅は本文と揃えます。狭くしたい場合だけ max-width を足してください。 */
.fu-embed-wrap {
  position: relative;
  width: 100%;
  margin: 2rem 0;
  padding-top: 75%;   /* 4:3相当。用途に応じて上書き可 */
  overflow: hidden;
}
.fu-embed-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ==========================================================
   10. ホバーフェード（画像リンク等の共通ホバー演出）
   ========================================================== */

.fu-hover-fade {
  transition: 0.3s;
}
.fu-hover-fade:hover {
  opacity: 0.7;
}


/* ==========================================================
   11. 実績ブロック（合格実績・進学実績などの一覧表示）
   ========================================================== */

.fu-result-block {
  border: 2px solid var(--color-fu-green);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.fu-result-block__label {
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
  font-weight: bold;
  font-size: 1.1em;
  padding: 0.6rem 1rem;
}

.fu-result-block__body {
  padding: 1rem;
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
}

.fu-result-grid {
  display: block;
  padding-left: 0;
  margin-bottom: 0;
}

.fu-result-col {
  padding: 0.5rem 0;
  margin-bottom: 0;
}

.fu-result-col:not(:last-child) {
  border-bottom: 1px dashed var(--color-fu-gray);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

/* ブロックエディタの「表」ブロックは figure.wp-block-table で包まれ、
   クラスが figure 側に付くため、table 側にも同じ指定を当てています。 */
.fu-table-result:where(table),
.fu-table-result > table {
  width: 100%;
  border-collapse: collapse;
}

.fu-table-result th,
.fu-table-result td {
  border: 1px solid var(--color-fu-text);
  padding: 0.4rem 0.6rem;
  font-size: 0.9em;
  text-align: left;
}

.fu-table-result th {
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  color: var(--fu-ground-brand);
  font-weight: bold;
  white-space: nowrap;
  width: 4.5em;
}

.fu-table-result td:last-child {
  text-align: right;
  white-space: nowrap;
  width: 4em;
}

.fu-result-note-text {
  text-align: right;
  font-size: 0.85em;
  color: var(--fu-ground-quiet);
  margin-top: 0.5rem;
}

@media (min-width: 960px) {
  .fu-result-grid {
    display: flex;
    gap: 2rem;
  }
  .fu-result-col {
    flex: 1;
    padding: 0;
  }
  .fu-result-col:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid var(--color-fu-gray);
    padding-right: 2rem;
    margin-bottom: 0;
  }
  .fu-table-result th,
  .fu-table-result td {
    font-size: 1em;
  }
}


/* ==========================================================
   12. ストーリー・症例ボックス
   「成果（after）」側は .fu-card--accent を流用。
   ========================================================== */

/* 体験談の縦の間隔。
   layout_2026.css の .fu-story-list li と対で、
   ブロック版（li を使わずグループを並べる形）にも効かせています。 */
.fu-story-list > * {
  margin-bottom: 2.5rem;
}
.fu-story-list > *:last-child {
  margin-bottom: 0;
}

.fu-story-before {
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 1px solid var(--color-fu-gray-dark);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.9em;
}

.fu-case-list {
  padding-left: 0;
}
.fu-case-list li {
  border: 1px solid var(--color-fu-green);
  border-radius: 6px;
  padding: 0.8rem 1rem;
}


/* ==========================================================
   13. ページヘッダー（写真＋あいさつ文オーバーレイ）
   ========================================================== */

.fu-pageHeader {
  position: relative;
}
.fu-pageHeader picture,
.fu-pageHeader img {
  display: block;
  width: 100%;
}
.fu-pageHeader__lead {
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--color-fu-white);
  padding: 1rem;
  line-height: 1.8;
}
.fu-pageHeader__lead span {
  display: block;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

@media (min-width: 960px) {
  .fu-pageHeader__lead {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    max-width: 50%;
  }
}


/* ==========================================================
   14. テキスト強調（緑）／お約束リスト
   ========================================================== */

.fu-text-highlight {
  color: var(--fu-ground-brand);
  font-weight: bold;
  font-size: 1.3em;
  text-align: center;
}

@media (min-width: 960px) {
  .fu-text-highlight {
    text-align: left;
  }
}

.fu-promise-list {
  counter-reset: fu-promise;
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
  font-weight: bold;
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2.5rem;
  margin: 1.5rem 0;
}
.fu-promise-list li {
  counter-increment: fu-promise;
  position: relative;
  margin: 0.8rem 0;
}
.fu-promise-list li::before {
  content: counter(fu-promise);
  position: absolute;
  left: -2rem;
  top: 0;
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  color: var(--fu-ground-brand);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  text-align: center;
  line-height: 1.5rem;
  font-size: 0.9em;
}


/* ==========================================================
   15. フローステップ（入会までの流れ等の手順表示）
   ========================================================== */

.fu-flow-list {
  counter-reset: fu-flow;
  margin: 1.5rem 0;
  padding-left: 0;
}
.fu-flow-list > li {
  margin-bottom: 0;
}
.fu-flow-step {
  position: relative;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 2px solid var(--color-fu-green);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.fu-flow-step::before {
  counter-increment: fu-flow;
  content: counter(fu-flow);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
  text-align: center;
  line-height: 2rem;
  font-weight: bold;
}


/* ==========================================================
   16. 枠ボックス（赤）／お問い合わせCTAブロック
   ========================================================== */

.fu-box-outline--primary {
  border-color: var(--color-fu-red);
}
.fu-box-outline--primary .fu-box-title {
  color: var(--fu-accent-ink);
}

.fu-cta-block {
  background: var(--fu-gold-line);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}
.fu-cta-block__title {
  color: var(--color-fu-white);
  font-weight: bold;
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 1rem;
}
.fu-cta-block__body {
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border-radius: 6px;
  padding: 1rem;
}
.fu-cta-block__details {
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 1px solid var(--color-fu-text);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  list-style: none;
  padding-left: 1.5rem;
}
.fu-cta-block__details li {
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0;
}
.fu-cta-block__details li::before {
  content: "・";
  position: absolute;
  left: 0;
}


/* ==========================================================
   17. 汎用ユーティリティ（ページ専用CSSを作らないための逃げ道）
   インラインstyleの代わりにこれらを使ってください。
   ========================================================== */

.fu-txt-center { text-align: center; }
.fu-txt-right  { text-align: right; }
.fu-txt-left   { text-align: left; }
.fu-txt-small  { font-size: 0.85em; }
.fu-txt-bold   { font-weight: bold; }

.fu-mt0 { margin-top: 0; }
.fu-mt1 { margin-top: 1rem; }
.fu-mt2 { margin-top: 2rem; }
.fu-mb0 { margin-bottom: 0; }
.fu-mb1 { margin-bottom: 1rem; }
.fu-mb2 { margin-bottom: 2rem; }

/* ==========================================================================
   2026-08-29：見出しのルールを整理
   --------------------------------------------------------------------------
   【決めたこと】
     h2 / h3          → 文字の大きさだけを決める
     .fu-title-green  → 帯。PCでは画面の左端まで伸びる（配置は layout_2026.css）
     .fu-title-red    → 帯なし。本文の列に収まる（従来どおり・変更なし）

   この分け方なら「緑が出てきたら必ず左端まで伸びる」で統一されるので、
   同じ色なのに幅が違う、という状態が起きません。

   【なぜ必要だったか】
   貼り付け用HTMLを数えると、h3のうち29個は .fu-title-red、7個だけ
   .fu-title-green でした。旧サイトでそこが緑の帯だった名残です。
   タグで帯かどうかを決める書き方（h2.fu-title-green）にすると、
   この7個だけ伸びない、という不揃いが出ます。
   ========================================================================== */

/* 帯（緑）の大きさはタグで決める。帯であること自体はクラスが決める */
/* 2026-09-07：h1（ページの主題）を追加しました */
h1.fu-title-green { font-size: clamp(1.3rem, 1.6vw + 0.85rem, 1.6rem); }
h2.fu-title-green { font-size: clamp(1.15rem, 1.1vw + 0.8rem, 1.35rem); }
h3.fu-title-green { font-size: clamp(1.05rem, 1.1vw + 0.75rem, 1.2rem); }

/* 2026-10-03：ページ上部の帯は、ヘッダーにぴったり付けます。
   --------------------------------------------------------------------------
   .fu-title-green は本文の途中でも使う部品なので、既定で上に2rem（36px）の
   余白を持っています。ページ上部の .fu-pageHeader の中では、その余白が
   そのままヘッダーとの隙間になってしまいます。

   この打ち消しは、もともと @media (min-width: 960px) の中にだけ書いていました。
   そのためPCでは詰まっていて、スマホ・タブレット（960px未満）でだけ
   36pxの隙間が空いていました。幅を変えないと気づけない種類の抜けです。
   画面幅によらず0にします。

   角丸も、ヘッダーに接する帯では外します（接した状態で角が丸いと浮いて見えます）。 */
.fu-pageHeader > .fu-title-green,
.fu-pageHeader > h1 {
  margin-top: 0;
  border-radius: 0;
}

@media screen and (min-width: 960px) {
  /* 帯は角丸をやめて端まで。左の余白は layout_2026.css が
     サイドバー幅ぶん入れています */
  .fu-title-green,
  .fu-bg-green-line {
    border-radius: 0;
    text-align: left;
  }
  /* h3の帯はh2より浅く。並んだときに順序が読めるようにします */
  h3.fu-title-green {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  /* 2026-10-03：ここにあった .fu-pageHeader > .fu-title-green の
     margin-top: 0 は、この囲みの外（画面幅によらず効く場所）へ移しました。
     960px未満でだけ36pxの隙間が空いていたためです。 */
}

/* ==========================================================================
   2026-08-29：日本語の折り返し（見出しの「1文字だけ残る」対策）
   --------------------------------------------------------------------------
   【なぜ clamp では直らないか】
   clamp() が決めるのは文字の大きさだけです。どこで折り返すかは
   「文字数 × 文字サイズ ÷ 箱の幅」で決まるため、少し小さくしても
   幅が変われば別の場所でまた1文字余ります。
   下限に張り付いたあとは、そもそも縮みません。

   【この2行がやること】
   text-wrap: balance
     各行がだいたい同じ長さになるよう、折り返し位置を選び直します。
     行数は変わりませんが、最後に1文字だけ残るのがなくなります。
     Chrome 130+／Safari 17.5+／Firefox 121+

   word-break: auto-phrase
     日本語を単語ではなく文節で切ります。
     「小山台を目指す塾な／ら」ではなく「小山台を目指す／塾なら」。
     Chrome 119+／Edge 119+。SafariとFirefoxは未対応ですが、
     対応していないブラウザは無視するだけなので壊れません。

   【付ける範囲】
   見出し・帯・キャプションなど短い文だけ。本文の段落には付けません。
   長い文章に balance を使うと、かえって行がガタつきます。

   【うまくいかない1行が出たら】
   auto-phrase は機械学習で文節を判定するので、まれに意図しない位置で
   切れます。その1行だけ <wbr> で切ってよい位置を指定できます。
   ========================================================================== */

/* 2026-09-07：素のタグ（h1〜h4・figcaption）は page_2026.css へ移しました */
.fu-title-green,
.fu-title-red,
.fu-title-quiet,
.fu-bg-green-line,
.fu-pageHeader__lead span,
.fu-box-title,
.fu-contact-btn,
.fu-cta,
.page-content th,
/* --- 2026-09-13 夜：LPの見出し・惹句にも効かせました ---------------------
   これまでLPは .lp- / .section-title という別の名前で作られていて、
   上の一覧から漏れていました。そのためスマホで

     「第一志望に合格するための／最短の勉強方法を知りた／い！」
     「そのお悩み、「最低でも小山／台」の当塾にお任せくださ／い！」

   のように、語の途中で切れたり、行末に1文字だけ残ったりしていました。

   auto-phrase は文節で切るので、「偏差値71、」「内申5」のような
   数字＋助数詞のまとまりも途中で切れなくなります。
   （それでも切れる1か所は <span class="fu-nb"> で囲みます） -------------- */
.lp-hero-text h1,
.lp-hero-text .catch,
.lp-container .section-title,
.lp-container .cta-title,
.lp-container .reason-title,
.lp-container .big-text,
.lp-container .story-red,
.lp-container .story-before,
.lp-container .story-person,
.lp-container .empathy-lead,
.lp-container .lp-note,
.lp-container .lp-more__lead,
.lp-container li {
  text-wrap: balance;
  word-break: auto-phrase;
}

/* --------------------------------------------------------------------------
   数字の前で切らない
   --------------------------------------------------------------------------
   日本語はどこでも折り返せるので、「偏差値」で改行して次の行が
   「60以上」から始まる、という見え方になりがちです。

   auto-phrase でほぼ防げますが、対応していないブラウザ
   （Safari・Firefox）では効きません。そこで、その中では
   絶対に折り返さない `.fu-nb` を用意しています（base_2026.css）。

       <span class="fu-nb">偏差値60以上</span>

   グラフの数字（fu-graph.php が出力するもの）には、すでに
   付いています。LPの本文で気になる1行が出たら、ここで囲みます。
   -------------------------------------------------------------------------- */


/* ==========================================================================
   2026-09-13 深夜：カードの余白を整えました（LP・固定ページ共通）
   --------------------------------------------------------------------------
   ここは「大元」です。1か所直すと、LP3本と固定ページ9枚に同時に効きます。

   ■ ① カードの中の1行目の上に、空き行のような余白が出ていた

   カードは自分で上に30pxの余白（padding）を持っています。
   その中の最初の段落も、自分で上に18pxの余白（margin）を持っています。

       カードの上辺
       ── 30px（カードのpadding）
       ── 18px（最初の段落のmargin）   ← これが余計
       「中学受験はしない予定です。」

   合計48px空くので、1行分の空行が入ったように見えていました。
   最後の行の下も同じ理由で空いています。

   直し方：カードの中の「最初の要素の上」と「最後の要素の下」の
   余白だけを消します。段落と段落の間は今までどおりです。

   ■ ② カードとカードが上下で隙間なく貼り付いていた

   .reason-box / .empathy-box / .results / .philosophy / .lp-more は
   下の余白が 0px でした。
   小学部LPでは reason-box → results--three → reason-box と
   3枚続く場所があり、境目が分からなくなっていました。

   直し方：カード同士のときだけ 1.5rem（24px）空けます。
   見出し（.section-title-wrap）の前後は今までどおり60px／30pxです。
   （隣り合う余白は大きいほうが採用されるため、見出しの60pxが勝ちます）
   ========================================================================== */

/* ---- ① カードの中の、最初の上と最後の下 ---- */
:is(.empathy-box, .reason-box, .cta-area, .result-card, .voice-card,
    .lp-more, .lp-note, .philosophy, .qa-card, .reason-proof,
    .compare-two__col, .compare-two__body,
    .fu-card, .fu-box-outline, .fu-cta-block__body, .fu-cta-block__details)
    > :first-child {
  margin-top: 0;
}
:is(.empathy-box, .reason-box, .cta-area, .result-card, .voice-card,
    .lp-more, .lp-note, .philosophy, .qa-card, .reason-proof,
    .compare-two__col, .compare-two__body,
    .fu-card, .fu-box-outline, .fu-cta-block__body, .fu-cta-block__details)
    > :last-child {
  margin-bottom: 0;
}

/* ---- ② カード同士の隙間 ---- */
.lp-container > :is(.empathy-box, .reason-box, .results, .philosophy,
                    .lp-more, .qa-card, .compare-two, .lp-graph, .lp-figure) {
  margin-bottom: 1.5rem;
}
/* 中に並ぶ実績カードどうしの隙間は、.results 側の gap で
   すでに空いています（flex の gap 20px／グリッドの gap 14px）。
   ここで足すと二重になるので、足しません。 */


/* ==========================================================================
   2026-09-13 深夜：本文の「最後の1文字だけ落ちる」を防ぎます
   --------------------------------------------------------------------------
   ご指摘の箇所（小学部LP 一番下の「もし今」のカード）

       …聞かせていただけたらうれしいで
       す。                              ← 「す。」だけが落ちる

   text-wrap: pretty は、この「最後の行に1〜2文字だけ残る」を
   防ぐためのものです。前の行から文字を送って調整します。
   行数は変わりません。長い本文に使っても行がガタつきません。
   （balance は短い見出し向けです。本文に使うと行長が揃いすぎて
     かえって読みにくくなるため、本文には使いません）

   中央そろえのカードだけは、さらに word-break: auto-phrase も付けます。
   中央そろえは行の切れ目が目立つので、文節で切る効果が大きいためです。

     もし、「大人数の中で埋もれてしまうのではないか」「本当にこの子を理解してもらえる
     場所がほしい」                      ← カッコの途中で切れて見える

   対応していないブラウザ（Safari・Firefox）は無視するだけで、壊れません。
   ========================================================================== */
:where(.lp-container, .lp-hero-text) p,
:where(.lp-container) li,
:where(.page-content) p {
  text-wrap: pretty;
}

/* 中央そろえのカードは、文節で切ります */
:is(.philosophy, .empathy-lead, .cta-area, .lp-hero-text) p,
.philosophy-strong,
.results--three .result-card p {
  word-break: auto-phrase;
}


/* ==========================================================================
   2026-08-29：実機で見つかった2件の修正
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. サイドバーのお問い合わせボタンに色が付いていませんでした
   layout_2026.css 側に「色は component_2026.css で指定」と書いてありましたが、
   その指定が入っておらず、赤いボタンが素のテキストになっていました。
   -------------------------------------------------------------------------- */
.fu-contact-btn {
  background: var(--fu-gold-line);
  color: var(--fu-brand-dark);   /* 2026-09-13：金の地なので濃い緑の文字 */
  font-weight: bold;
}
.fu-contact-btn:hover { opacity: 0.85; }

/* 1段のときだけ中点「・」を出し、2段のときは消して
   「4文字／4文字」で折り返しを固定します（文言は header-2026.php 側） */
.fu-contact-btn .fu-cta-1,
.fu-contact-btn .fu-cta-2 { display: inline; }
.fu-contact-btn .fu-cta-sep { display: inline; font-weight: inherit; }

@media screen and (max-width: 360px) {
  .fu-contact-btn .fu-cta-sep { display: none; }
  .fu-contact-btn .fu-cta-1,
  .fu-contact-btn .fu-cta-2 { display: block; }
}

/* --------------------------------------------------------------------------
   2. 写真に重ねるリード文がサイドバーに食い込んでいました
   layout_2026.css で左位置を指定していましたが、この component_2026.css の
   .fu-pageHeader__lead { left: 2rem } のほうが後から読み込まれるため、
   そちらが勝っていました。ここで上書きします。
   -------------------------------------------------------------------------- */
@media screen and (min-width: 960px) {
  .fu-pageHeader__lead {
    left: calc(var(--fu-sidebar-w) + var(--fu-gap));
  }
}

/* --------------------------------------------------------------------------
   3. 埋め込み動画（YouTube等）が小さいまま表示されていました
   ブロックエディタの埋め込みは、そのままだと WordPress の既定値
   （幅500px前後）で出ます。テーマ側に「本文幅いっぱいの16:9」に
   する指定が無かったため、現行ページより小さく見えていました。
   -------------------------------------------------------------------------- */
.page-content .wp-block-embed {
  margin-bottom: 1.5rem;
}
.page-content .wp-block-embed[class*="wp-embed-aspect-"] .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
}
.page-content .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;   /* 9 ÷ 16 */
}
.page-content .wp-embed-aspect-4-3 .wp-block-embed__wrapper::before {
  content: "";
  display: block;
  padding-top: 75%;      /* 3 ÷ 4 */
}
.page-content .wp-block-embed[class*="wp-embed-aspect-"] iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* 縦横比の指定が無い埋め込みも、はみ出さないようにする */
.page-content .wp-block-embed iframe {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   4. 赤見出しの星の背景（現行の message.css から引き継ぎ）
   --------------------------------------------------------------------------
   現行の代表挨拶ページでは「ゲームより勉強のほうが楽しい!?」の背景に
   星のイラスト（message_star.png）が敷いてありました。
   2026版では共通部品に寄せた際に落ちていたので、
   「必要なときだけ付ける」修飾クラスとして用意します。

   ★使い方：ブロックエディタで見出し（または段落）を選び、
     右サイドバーの「高度な設定 → 追加CSSクラス」に
       fu-title-red fu-title-red--star
     と入れてください。

   数値は em で指定してあるので、文字サイズを変えても
   星と余白の比率は保たれます。
   -------------------------------------------------------------------------- */
.fu-title-red--star {
  /* 2026-08-31：現行 message.css の
     .philosophy .box720 > p.red-text-title と同じ値に合わせました */
  padding-top: 5rem;
  padding-right: 6rem;
  padding-bottom: 1rem;
  margin-top: -1.5rem;
  margin-bottom: 0;
  text-align: left;
  background-image: url(../img/message_star.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
}

/* ==========================================================================
   2026-08-29：文字まわりを現行デザインに合わせる（最大公約数）
   --------------------------------------------------------------------------
   2026-09-07：このブロックの中身は page_2026.css へ移しました。
   （行間1.5／段落の下余白18px／見出しの文字サイズ）

   ここに残すのは、body など .page-content の外にも効かせたい1行だけです。
   ========================================================================== */

body,
p, ul, ol, dl, th, td {
  line-height: 1.5;
}


/* ==========================================================================
   2026-08-29：3つのお約束（写真の上に文字を重ねる形）
   --------------------------------------------------------------------------
   現行の代表挨拶ページでは、この箇所が
     ・背景に写真（message_promise-bg.jpg）
     ・その上に半透明の緑の帯（rgba(47,117,9,.5)）で文字
   という形でした。2026版では緑1色の箱に置き換わっていたので、
   現行と同じ見た目に戻せる部品として用意します。

   ★使い方（ブロックエディタ）
     1. 番号付きリストのブロックを選ぶ
     2. ツールバーの「⋮」→「グループ化」でグループブロックに包む
     3. グループを選び「高度な設定 → 追加CSSクラス」に  fu-promise  と入れる
     （リスト側の fu-promise-list はそのままにしてください）

   写真の上に人物が写っているため、文字が人物にかからないよう
   画面幅に応じて左の余白を広げています（現行と同じ 21vw / 30vw）。
   ========================================================================== */

.fu-promise {
  background-image: url(../img/message_promise-bg.jpg);
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  padding-bottom: 8rem;
  margin: 1.5rem 0 2rem;
}

/* 写真の上に重ねる、半透明の緑の帯 */
.fu-promise .fu-promise-list {
  background-color: rgba(0, 96, 57, .72);   /* 2026-09-13：新配色に。白文字が読めるよう濃さを上げました */
  border-radius: 0;
  margin: 0;
  padding: .5rem .5rem .5rem 2.5rem;
}

@media screen and (min-width: 960px) {
  .fu-promise { padding-bottom: 15em; margin-top: 2rem; }
  .fu-promise .fu-promise-list { padding-left: 21vw; }
  .fu-promise .fu-promise-list li { padding-left: 2.5rem; }
}
@media screen and (min-width: 1200px) {
  .fu-promise { padding-bottom: 23rem; }
  .fu-promise .fu-promise-list { padding-left: 30vw; }
}
@media screen and (min-width: 1500px) {
  .fu-promise { padding-bottom: 40rem; }
}

/* --------------------------------------------------------------------------
   本文の文字サイズ（追記 2026-08-29）
   --------------------------------------------------------------------------
   このファイルの上のほうに .page-content { font-size: 1rem } があり、
   本文が16pxになっていました（body は18px）。
   現行サイトの本文は18pxなので、そこに合わせます。
   -------------------------------------------------------------------------- */
.page-content {
  font-size: 18px;
  line-height: 1.5;
}


/* ==========================================================================
   2026-08-31：実績ページ（example）の移植で必要になった部品
   --------------------------------------------------------------------------
   現行ページと突き合わせたところ、2026版のHTMLで次の3つが失われていました。
   いずれも現行の example.css にある指定を fu- 系に置き換えたものです。
   ========================================================================== */

/* --------------------------------------------------------------------------
   ページ上部の写真に重ねる画像
   現行：.pageHeader p / .pageHeader p img（example.css）
   写真の下端に、キャッチ画像を重ねて置きます。
   PCではサイドバー幅ぶん右へずらし、写真の下に潜り込まないようにします。
   -------------------------------------------------------------------------- */
.fu-pageHeader__figure {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
}
.fu-pageHeader__figure img {
  display: inline-block;
  width: 80%;
}
@media screen and (min-width: 960px) {
  .fu-pageHeader__figure {
    left: calc(var(--fu-sidebar-w) + var(--fu-gap, 1vw));
  }
}
@media screen and (min-width: 1200px) {
  .fu-pageHeader__figure img {
    width: auto;
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
   見出しの横に添えるイラスト
   現行：.story h3.red-text-title / 〜 img（example.css）
   スマホは中央寄せで幅25%、PCは左寄せで高さ基準（下に少しはみ出させる）。
   -------------------------------------------------------------------------- */
.fu-story-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.fu-story-title img {
  width: 25%;
}
@media screen and (min-width: 960px) {
  .fu-story-title {
    justify-content: flex-start;
  }
  .fu-story-title img {
    width: auto;
    height: 3.5em;
    margin-bottom: -2rem;
  }
}
@media screen and (min-width: 1200px) {
  .fu-story-title img {
    height: 3em;
  }
}

/* --------------------------------------------------------------------------
   体験談の「成果」ボックスに添えるミラクルアイコン
   現行：.story .storyList li .after / 〜:before（example.css）
   .fu-card--accent と併用します。左に余白を空け、そこにアイコンを置きます。
   -------------------------------------------------------------------------- */
.fu-story-after {
  position: relative;
  margin-left: 4rem;
  font-weight: bold;
  font-size: 0.9em;
  line-height: 1.8;
  padding: 0.5rem 1rem;
}
.fu-story-after::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -4rem;
  width: 4.5rem;
  height: 4rem;
  background-image: url(../img/example_miracle.png);
  background-size: contain;
  background-repeat: no-repeat;
}
@media screen and (min-width: 960px) {
  .fu-story-after {
    margin-left: 8rem;
    padding: 1rem 1.5rem;
    font-size: 1.3em;
  }
  .fu-story-after::before {
    width: 9rem;
    height: 9rem;
    left: -8rem;
  }
  /* 現行の .before もPCでは大きくなる */
  .fu-story-before {
    padding: 0.5rem 1rem;
    font-size: 1.3em;
    margin: 0.8rem 0;
  }
}


/* ==========================================================================
   2026-08-31：コース・授業料ページ（class）の移植で必要になった部品
   ========================================================================== */

/* --------------------------------------------------------------------------
   本文いっぱいに広げる画像
   現行：.box720 p img { width: 100% }（page.css）
   画像ブロックは既定だと元画像の大きさで止まるため、
   本文幅いっぱいに見せたい写真にはこのクラスを付けます。
   -------------------------------------------------------------------------- */
.fu-img-full img {
  width: 100%;
}

/* --------------------------------------------------------------------------
   注釈リストの記号を「・」にする変種
   現行では「※」の箇所と「・」の箇所が混在しています（全国模試の欄など）。
   .fu-list-note と併記して使います。
   -------------------------------------------------------------------------- */
.fu-list-note--dot li::before,
:where(.page-content) ul.is-style-fu-note.fu-list-note--dot li::before {
  content: "・";
}


/* --------------------------------------------------------------------------
   2026-08-31：3つのお約束の番号アイコン
   現行（message.css .policy .promise ol li:before）は画像を使っています。
   .fu-promise の中だけ、CSSの丸数字から現行の画像に差し替えます。
   （.fu-promise-list を単体で使う場合は、これまでどおり丸数字のままです）
   -------------------------------------------------------------------------- */
.fu-promise .fu-promise-list li {
  padding-left: 2rem;
  margin: 1rem 0;
}
.fu-promise .fu-promise-list li::before {
  content: "";
  left: 0;
  top: 0;
  width: 1.5em;
  height: 1.5em;
  background-color: transparent;
  border-radius: 0;
  background-size: contain;
  background-repeat: no-repeat;
}
.fu-promise .fu-promise-list li:nth-of-type(1)::before {
  background-image: url(../img/messagae_promise-01.png);
}
.fu-promise .fu-promise-list li:nth-of-type(2)::before {
  background-image: url(../img/messagae_promise-02.png);
}
.fu-promise .fu-promise-list li:nth-of-type(3)::before {
  background-image: url(../img/messagae_promise-03.png);
}


/* ==========================================================================
   2026-08-31：保護者様の声ページ（voice）の移植で必要になった調整
   どちらのクラスも voice ページでしか使っていないため、
   現行（voice.css）の値にそのまま合わせています。
   ========================================================================== */

/* 生徒の声のカード
   現行：.student .voiceList li .voice-elm
     背景 #FFFBDA（クリーム）／本文の文字は緑
   2026版は #FFF8B0（薄黄）＋濃いグレーだったので合わせ直します。 */
.fu-card--highlight {
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
}
.fu-card--highlight p {
  color: var(--fu-ground-brand);
}

/* グレーの見出し（「他にも保護者様からいただいた…」）
   現行：.parent .difference .difference-title
     色 #717071／1.5em／標準の太さ／左寄せ
   2026版は太字＋中央寄せだったので合わせ直します。 */
.fu-title-quiet {
  font-weight: normal;
  text-align: left;
}


/* ==========================================================================
   2026-08-31：オンライン校・教材販売ページの移植で必要になった部品
   --------------------------------------------------------------------------
   現行では「・」を本文に直接書き、リストのマーカーは消してあります
   （例：<li>・定員：各学年 最大4〜6名の少人数制</li>）。
   同じ見え方にするための、マーカーも字下げも無いリスト／段落用クラスです。
   ※ 記号を自動で付ける .fu-list-note（※）や
     .fu-list-note--dot（・）とは別物です。こちらは本文に書いた記号を
     そのまま活かします。
   ========================================================================== */
.fu-list-plain {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.fu-list-plain li {
  margin-bottom: 0.3rem;
}


/* ==========================================================================
   2026-08-31：入会までの流れページ（flow）の移植で必要になった部品
   --------------------------------------------------------------------------
   オンライン入会資料へのリンク。
   現行（flow.css の .flow .download）は
   「緑地に白文字のラベル ＋ 右にPDFアイコン」という形で、
   PCではラベルの右に緑の三角が付きます。それを再現します。
   ========================================================================== */
.fu-download {
  display: flex;
  align-items: center;
  margin: 2rem 0;
}
.fu-download p {
  background-color: var(--color-fu-green);
  color: var(--color-fu-white);
  padding: 0.2rem 0.5rem;
  margin: 0;
}
.fu-download img {
  width: auto;
}
@media screen and (min-width: 960px) {
  .fu-download {
    justify-content: center;
  }
  .fu-download p {
    position: relative;
    margin-right: 2rem;
    padding: 0.2rem 1rem;
  }
  /* ラベルの右に出る緑の三角 */
  .fu-download p::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -2rem;
    width: 1.5rem;
    border-left: 1rem solid var(--color-fu-green);
    border-right: 1rem solid transparent;
    border-top: 1.2rem solid transparent;
    border-bottom: 1.1rem solid transparent;
  }
}

/* ==========================================================================
   2026-09-03：フッターの文字サイズを現行ページと同じに戻す
   --------------------------------------------------------------------------
   【なぜ必要か】
   footer-2026.php が現行 footer.php と同じHTMLを出すようになったので、
   フッターの見た目は common_1.css が担当します。

   ところが common_1.css のフッターの寸法は、ほぼすべて em で
   書かれています。

       .siteFooter .upper a[href^="tel"]  { font-size: 1.5em }
       .siteFooter .lower p:first-child   { font-size: .7em }
       .siteFooter .lower p span          { font-size: 2.5em }
       .siteFooter .lower .copyright      { font-size: .8em }
       .mainFooter .trial p               { font-size: 1.5em 〜 4em }
       .mainFooter .viability p img       { height: 8em }   ← 画像の高さも

   em は body の文字サイズを基準に伸び縮みします。そして基準が違います。

       現行ページ  default.css   body { font-size: 14px }        ← 固定
       2026ページ  base_2026.css body { font-size: clamp(...) }  ← 14〜18px 可変

   このままだと、画面が広いほどフッターだけが最大で約1.3倍に膨らみ、
   文字サイズ・改行位置・「お子さまの可能性を…」画像の大きさが
   現行ページとずれます。

   【対策】
   フッターの中だけ基準を 14px に戻します。
   本文（.fu-main-content）は 2026 の可変サイズのままです。

   ヘッダーには同じ問題はありません。common_1.css のヘッダー側の寸法は
   rem / px / clamp / vw で書かれており、body の文字サイズに依存しない
   ためです（確認済み）。
   ========================================================================== */

.mainFooter,
.siteFooter {
  font-size: 14px;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   2026-09-05：.fu-title-quiet を見出しタグにも使えるようにしました
   ------------------------------------------------------------
   個人情報保護方針の「1　個人情報の管理」のような、
   帯も枠線も付けない「少し大きいだけの見出し」に使います。
   現行 privacypolicy.css の .policyList dt と同じ見え方です。

     .policyList dt { font-size: 1.5em; }   ← 枠線も色替えもなし

   h4 に付けると :where(.page-content) h4 の枠線と緑文字が残るため、
   ここで打ち消しています。段落（p）に付ける従来の使い方は
   これまでどおり灰色のままで、影響しません。
   ------------------------------------------------------------ */
h1.fu-title-quiet,
h2.fu-title-quiet,
h3.fu-title-quiet,
h4.fu-title-quiet {
  border: none;
  padding: 0;
  color: var(--fu-ground-ink);
}

/* ==========================================================================
   2026-09-05：お問い合わせフォーム（Contact Form 7）
   --------------------------------------------------------------------------
   現行 contact.css（118行）の内容を2026側に移したものです。
   contact.css は2026テンプレートでは読み込まれないため、これが無いと
   お問い合わせページのフォームが素のまま（枠線なし・ボタンも標準）に
   なります。

   ■ クラス名を変えていない理由
     .formTable / .req / .submit は、Contact Form 7 の管理画面にある
     「フォーム」の中に直接書かれています。テーマ側では変えられません。

   ■ 2026側の打ち消しについて
     component_2026.css は .page-content th / td に
       border: 1px solid #333 と padding: 1rem
     を、スマホでは table に min-width: 600px を当てています。
     このままだとフォームの全マスに枠線が付き、スマホで横スクロールが
     出てしまうため、.formTable だけ打ち消しています。
     （th/td の padding と白背景は default.css が現行と同じ値を
       持っているので、ここでは指定しません）
   ========================================================================== */

.page-content .formTable {
  width: 100%;
  margin-bottom: 0;
}

/* 2026の枠線・余白・最小幅を打ち消す（スマホの横スクロール対策を含む） */
.page-content .formTable th,
.page-content .formTable td {
  display: block;
  border: none;
  padding: 0.5em;
}

.page-content .formTable th {
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
}

@media screen and (max-width: 767px) {
  .page-content .formTable {
    min-width: 0;
  }
}

.page-content .formTable th .req {
  float: right;
  color: #6288C5;
  border: 1px solid #6288C5;
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border-radius: 8px;
  font-size: .8em;
  width: 4em;
  text-align: center;
  padding: .2rem;
}

.page-content .formTable td input,
.page-content .formTable td select,
.page-content .formTable td textarea {
  border: 1px solid #adadad;
  width: 100%;
  padding: .5rem 1rem;
  margin-bottom: .5rem;
}

.page-content .submit {
  background: var(--fu-brand);
  color: #ffffff;   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 1px solid #6288C5;
  color: #fff;
  border-radius: 8px;
  width: 8rem;
  padding: .5rem;
  display: block;
  box-shadow: 2px 2px 5px rgba(161, 161, 161, 0.8);
  margin: 2rem auto;
}

/* チェックボックス（お問い合わせ内容） */
.page-content .formTable .wpcf7-list-item {
  display: block;
  margin-bottom: 0.2em;
}
.page-content .formTable .wpcf7-list-item label {
  display: flex;
}
.page-content .formTable .wpcf7-list-item label input {
  width: 10%;
  margin-top: 6px;
}

@media screen and (min-width: 768px) {
  .page-content .formTable {
    border-bottom: 1px solid #c8c8c8;
  }
  .page-content .formTable th,
  .page-content .formTable td {
    display: table-cell;
    border: none;
    border-top: 1px solid #c8c8c8;
    padding: 1rem;
  }
  .page-content .formTable th {
    width: 35%;
    text-align: left;
    font-weight: normal;
  }
  .page-content .formTable .name td,
  .page-content .formTable .kana td {
    display: flex;
  }
  .page-content .formTable .name td > .wpcf7-form-control-wrap,
  .page-content .formTable .kana td > .wpcf7-form-control-wrap {
    width: 49%;
  }
  .page-content .formTable .name td > .wpcf7-form-control-wrap:nth-of-type(1),
  .page-content .formTable .kana td > .wpcf7-form-control-wrap:nth-of-type(1) {
    margin-right: 2%;
  }
  .page-content .formTable .postnumber th {
    vertical-align: top;
    padding: 1.5rem 1rem 1rem;
  }
  .page-content .formTable .postnumber td {
    display: flex;
  }
  .page-content .formTable .postnumber td > .wpcf7-form-control-wrap {
    width: 49%;
  }
  .page-content .formTable .postnumber td > .wpcf7-form-control-wrap:nth-of-type(1) {
    margin-right: 2%;
  }
  .page-content .formTable .textarea th {
    vertical-align: top;
  }
}


/* ==========================================================================
   ここから下は 2026-09-06 の追記です
   ------------------------------------------------------------
   ① 新しいヘッダー（上部固定＋ドロワー）とフッターの色
   ② 8月29日の修正のうち、サイドバー前提だった1件の差し替え
   ③ LP（中学部・小学部・オンライン校）の部品
      ── これまで renewal_component.css にあったものを移しました。
         renewal_component.css は読み込まないでください。

   ※③のクラス名は .lp- / .section-title などのままです。
     Step6（旧CSS整理）で .fu- 体系に寄せる予定ですが、
     いま名前を変えるとLP3本のHTMLも書き換えることになるため、
     色と骨格の統一を先に済ませます。
   ========================================================================== */

/* --------------------------------------------------------------------------
   ① 新しいヘッダーとフッターの色
   配置は layout_2026.css の担当。ここでは色だけを決めます。
   -------------------------------------------------------------------------- */
/* 2026-09-12：ヘッダーの一番下に金の線を1本入れました。
   これまでの濃い緑の4px線は残し、その下に2pxの金の線を重ねています
   （濃い緑 → 金、の2本立て）。金は面では使いません。 */
/* 2026-09-13 夜：背景透過のロゴをいただいたので、
   ロゴのまわりを緑で塗って継ぎ目を隠す小細工をやめました。
   左端に少しだけ余白を入れて、画面の端に貼り付かないようにしています。 */
.fu-logo { display: flex; align-items: center; height: 100%; padding-left: 14px; }

.fu-siteHeader {
  background-color: var(--fu-header-bg);
  color: var(--fu-header-ink);
  border-bottom: 3px solid var(--fu-brand-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  position: fixed;   /* layout_2026.css と同じ。::after の基準にするため */
}
.fu-siteHeader::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;      /* 濃い緑の線の、さらに下 */
  height: 2px;
  background: var(--fu-gold-line);
}
.fu-header-right .fu-tel { color: var(--fu-header-ink); font-weight: 900; }
/* 2026-09-13：ヘッダーのボタンを金のグラデーションに。
   濃い緑の帯の上で、いちばん押してほしいものが一番目立つようにします。
   文字は白ではなく濃い緑です（金の上では白よりはっきり読めます）。 */
.fu-siteHeader .fu-contact-btn {
  border-radius: 30px;
  padding: 9px 18px;
  font-size: clamp(.72rem, 2.6vw, .9rem);
  background: var(--fu-gold-line);
  color: #00301c;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,.28);
}
.fu-siteHeader .fu-contact-btn:hover { opacity: .88; }
.fu-hamburger { color: var(--fu-header-ink); }
.fu-hamburger-icon span { background: var(--fu-card); }

.fu-drawer { background: var(--fu-card); box-shadow: -2px 0 12px rgba(0,0,0,.12); }
.fu-drawer-close button { color: var(--fu-ground-quiet); }
.fu-drawer-contact { border-bottom: 1px solid #eee; }
.fu-drawer-contact .fu-tel { color: var(--fu-ground-brand); font-weight: 900; }
.fu-drawer-contact .fu-contact-btn { display: block; border-radius: 6px; }
.fu-drawer-contact small { color: #777; }
.fu-nav-list li { border-bottom: 1px solid #eee; }
.fu-nav-list li a { color: var(--fu-ground-ink); }
.fu-nav-list li a:hover,
.fu-nav-list li.current > a { color: var(--fu-brand); }
.fu-drawer-overlay { background: rgba(0,0,0,.5); }

.fu-siteFooter {
  background-color: var(--fu-brand-dark);
  color: var(--color-fu-white);
  font-size: .9rem;
}
.fu-siteFooter .fu-tel { color: var(--color-fu-white); font-weight: 900; }
.fu-siteFooter .fu-contact-btn { border-radius: 30px; }
.fu-siteFooter .fu-copyright { opacity: .8; }

/* --------------------------------------------------------------------------
   ② 8月29日の修正2番の差し替え

   写真に重ねるリード文の左位置を、サイドバー幅ぶん右へずらしていました。
   サイドバーが無くなったので、本文の左端に合わせる形に直します。
   （上のほうに残っている 8/29 の指定を、ここで上書きします）
   -------------------------------------------------------------------------- */
@media screen and (min-width: 960px) {
  .fu-pageHeader__lead {
    left: max(4vw, calc((100% - var(--fu-content-max)) / 2));
  }
}
/* --------------------------------------------------------------------------
   ③ LPの中では、素のタグ向けの装飾をいったん外します

   このファイルの前半には :where(.page-content) h2 { 緑の帯 } のような、
   「ブロックエディタで見出しを置くだけで整う」ための指定があります。
   固定ページを代表が更新できるようにするための、大事な仕組みです。

   ところがLPは、自前のクラス（.section-title など）で
   見た目を作っています。両方が当たると、次のようなことが起きました。

     ・LPの見出しに緑の帯が付いてしまう
     ・ヒーローの白い文字が黒くなる
     ・.reason-title（h3）が 63px の巨大文字になる

   そこでLPの中だけ、素のタグの装飾をブラウザ標準に近い形へ戻します。

   ★詳細度を :where() で 0 にしてあるので、
     この下のLP部品の指定（.section-title など）が必ず勝ちます。
     並び順も「打ち消し → LP部品」にしてあります。入れ替えないでください。
   -------------------------------------------------------------------------- */
:where(.lp-container, .lp-hero-text, .lp-hero-media) h1,
:where(.lp-container, .lp-hero-text, .lp-hero-media) h2,
:where(.lp-container, .lp-hero-text, .lp-hero-media) h3,
:where(.lp-container, .lp-hero-text, .lp-hero-media) h4,
:where(.lp-container, .lp-hero-text, .lp-hero-media) h5 {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: inherit;
  font-weight: bold;
  line-height: 1.4;
}
/* 見出しの大きさは em で持たせます。
   本文サイズが画面幅で伸び縮みしても、比率が保たれます。 */
:where(.lp-container, .lp-hero-text, .lp-hero-media) h1 { font-size: 2em;    margin: .67em 0; }
:where(.lp-container, .lp-hero-text, .lp-hero-media) h2 { font-size: 1.5em;  margin: .83em 0; }
:where(.lp-container, .lp-hero-text, .lp-hero-media) h3 { font-size: 1.17em; margin: 1em 0; }
:where(.lp-container, .lp-hero-text, .lp-hero-media) h4 { font-size: 1em;    margin: 1.33em 0; }

:where(.lp-container, .lp-hero-text) p { margin: 1em 0; }
:where(.lp-container) ul,
:where(.lp-container) ol { margin: 1em 0; padding-left: 2.5em; }
:where(.lp-container) a { color: inherit; }

/* ==========================================================
   【リニューアル下準備】renewal_component.css
   役割: スライダー／LP用モジュール／トップページ部品
   ========================================================== */
/* =========================================
 3. スライダー（トップ画像）のスタイル設定
  ========================================= */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto 4px auto;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  background-color: #000;
  border-bottom: 4px solid var(--color-fu-green-bright);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
}

.slide-text {
  position: absolute;
  padding: 6px 14px;
  background-color: rgba(240, 240, 240, 0.55);
  color: #15300b;
  font-weight: bold;
  font-family: sans-serif;
  line-height: 1.5;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 3;
  white-space: pre-line;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.slide-1-box {
  bottom: 30px;
  left: 40px;
  text-align: center;
  font-size: 1.4rem;
}

.slide-2-box {
  bottom: 30px;
  right: 40px;
  text-align: center;
  font-size: 1.4rem;
}

.slide-3-box {
  top: 30px;
  left: 40px;
  text-align: center;
  font-size: 1.4rem;
}

.slide-4-box {
  bottom: 15px;
  right: 25px;
  text-align: center;
  font-size: 1.8rem;
}

.slide.active {
  opacity: 1;
  z-index: 1;
  transition: opacity 0s;
}

.slide.active~.slide-text-active {
  opacity: 1;
}

.slide.fading-out {
  opacity: 0;
  z-index: 2;
  transition: opacity 1s linear;
}

@keyframes zoomInOut {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.15);
  }
}

.zooming {
  animation: zoomInOut 5s linear forwards;
}

.slide-1 {
  object-position: center 40%;
  transform-origin: 90% 35%;
}

.slide-2 {
  object-position: center 50%;
  transform-origin: 40% 40%;
}

.slide-3 {
  object-position: center 20%;
  transform-origin: 60% 40%;
}

.slide-4 {
  object-position: center 0%;
}

/* =========================================
 4. 共通・LPレイアウト用モジュール
  ========================================= */
/* 2026-10-03：16:6 → 16:5 にしました。
   新しい写真はすべて 16:5（PC 1920×600 / スマホ 960×300）で作っています。
   object-position も center 0%（上端ぞろえ）から center 40% に変えました。
   16:5 は帯が細いので、上端ぞろえだと人の顔が切れるためです。 */
.lp-hero-image {
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  border-bottom: 4px solid var(--main-green);
}
/* <picture> で囲ったとき、下にすき間ができないように */
picture:has(> .lp-hero-image) { display: block; }

.lp-hero-text {
  background-color: var(--fu-brand-dark);
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.lp-hero-text .catch {
  font-size: 1.1rem;
  color: #dcedc8;
  font-weight: bold;
  margin-bottom: 10px;
}

.lp-hero-text h1 {
  font-size: 2rem;
  margin: 0 0 15px 0;
  line-height: 1.4;
}

.lp-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.5rem;
  color: var(--fu-ground-ink);   /* 2026-09-13：地の上の見出し */
  border-bottom: 3px solid var(--main-green);
  display: inline-block;
  padding-bottom: 5px;
  margin: 0;
}

/* CTAエリア */
.cta-area {
  text-align: center;
  margin: 40px 0;
  padding: 30px;
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border-radius: 8px;
  border: 2px dashed var(--accent-orange);
}

.cta-btn-large {
  display: inline-block;
  background: var(--fu-gold-line);
  color: var(--fu-brand-dark);   /* 2026-09-13：金の地なので濃い緑の文字 */
  padding: 15px 40px;
  border-radius: 35px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(255, 140, 0, 0.3);
  transition: transform 0.2s;
}

.cta-btn-large:hover {
  transform: scale(1.05);
}

/* 共感（お悩み）ボックス */
.empathy-box {
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 3px solid #ddd;
  border-radius: 8px;
  padding: 30px;
}

.empathy-list {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  font-weight: bold;
}

.empathy-list li {
  margin-bottom: 15px;
  padding-left: 1.5em;
  position: relative;
}

.empathy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--fu-accent-ink);
  font-size: 1.3rem;
}

/* 実績・仕組みカード */
.results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-card {
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border-left: 6px solid var(--accent-orange);
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.result-card .big-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--fu-accent-ink);   /* 2026-09-13：カードの上の強調（金） */
  margin-bottom: 10px;
}

/* 理由・理念・声 */
.reason-box {
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.voice-card {
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  position: relative;
}

.voice-card::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 30px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #f0f7f0 transparent transparent transparent;
}

.philosophy {
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  padding: 40px 30px;
  text-align: center;
  border: 1px solid #ddd;
}

.philosophy h3 {
  color: var(--fu-ground-brand);
}

/* =========================================
 5. トップページ特有のスタイル
  ========================================= */
.nav-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.8fr;
  gap: 12px;
  margin: 10px auto 20px auto;
  max-width: 1100px;
  padding: 0 15px;
}

.btn {
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 2px solid var(--main-green);
  border-radius: 6px;
  padding: 12px 5px;
  color: var(--fu-ground-brand);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn:hover {
  background-color: var(--color-fu-green);
  color: #fff;
  transform: translateY(-2px);
}

.btn-online {
  border-color: var(--accent-orange);
  color: var(--fu-ground-ink);
}

.btn-online:hover {
  background: var(--fu-gold-line);
}

.btn:hover .catch,
.btn:hover .title {
  color: #fff;
}

.btn-access {
  border-color: #999;
  color: var(--fu-ground-quiet);
}

.btn-access:hover {
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
}

.btn .catch {
  font-size: 0.75rem;
  margin-bottom: 4px;
  font-weight: bold;
  color: var(--fu-ground-brand);
}

.btn-online .catch {
  color: var(--fu-accent-ink);
}

.btn .title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--fu-ground-brand);
}

.btn-online .title {
  color: var(--fu-ground-ink);
}

.btn-access .catch,
.btn-access .title {
  color: var(--fu-ground-quiet);
}

.btn-access .title {
  font-size: 1rem;
}

/* コンテンツセクション */
.content-section {
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 30px;
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border-radius: 8px;
  border-top: 4px solid var(--main-green);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.content-section h2 {
  font-size: 1.4rem;
  color: var(--fu-ground-brand);
  border-bottom: 2px dashed var(--main-green);
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 20px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
}

.news-list li:last-child {
  border-bottom: none;
}

.date {
  color: var(--fu-ground-brand);
  margin-right: 15px;
  font-family: monospace;
  font-weight: bold;
}

.access-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.access-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.access-text strong {
  color: var(--fu-ground-brand);
  font-size: 1.1rem;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  border-radius: 4px;
  border: 1px solid #ddd;
}

/* --- スマホ対応（元 696-714行）--- */
@media (max-width: 768px) {
  .nav-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .contact-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .lp-hero-image {
    aspect-ratio: 16 / 9;
  }

  .lp-hero-text h1 {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   2026-09-05 追記：移行内容を入れたときに増えた部品

   新デザイン案（new_hp_image.html）には無かったもので、
   現行トップページや現行ページから本文を移す際に必要になった分です。
   インラインstyleを避け、クラスにまとめてあります。
   ========================================================================== */

/* ---- お悩みボックス ---- */
.empathy-intro{ margin: 0 0 20px; }
.empathy-lead{
  text-align: center;
  font-weight: bold;
  margin-top: 20px;
  color: var(--fu-ground-brand);
}
.empathy-strong{
  color: var(--fu-accent-ink);   /* 2026-09-13：カードの上の強調（金） */
  font-size: 1.15rem;
}

/* ---- 逸話カード（現行トップの before / after / person） ---- */
.story-before{
  font-size: .9rem;
  color: var(--fu-ground-quiet);
  margin-bottom: 6px;
}
.story-red{ color: var(--fu-accent-ink);   /* 2026-09-13：カードの上の強調（金） */ font-weight: bold; }
.story-person{
  font-size: .82rem;
  color: #777;
  text-align: right;
  margin-top: 10px;
}

/* ---- 山根式授業 ---- */
.reason-title{
  color: var(--fu-accent-ink);
  text-align: center;
  margin: 0 0 14px;
}
.reason-proof{
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 2px solid var(--main-green);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 24px 0;
  text-align: center;
}
.reason-proof__lead{
  font-weight: bold;
  color: var(--fu-ground-brand);
  margin: 0 0 8px;
}
.reason-proof__body{ margin: 0 0 8px; font-weight: bold; }
.reason-proof__note{ margin: 0; font-size: .85rem; color: var(--fu-ground-quiet); }

/* ---- グラフの置き場 ---- */
.lp-graph{ margin: 20px 0; }

/* ---- 注記・補足リンク ---- */
.lp-note{ /* 2026-09-13：色を役割に変更（地が暗いと #555 は読めないため） */
  font-size: .9rem;
  color: var(--fu-ground-quiet);
  margin: 12px 0;
}
.lp-note a{ color: var(--fu-ground-brand); font-weight: bold; text-decoration: underline; }
.lp-note--small{ font-size: .8rem; color: #777; }
.lp-note--caution{
  background: var(--fu-card-2);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border-left: 4px solid #e8c84a;
  padding: 8px 12px;
  font-size: .85rem;
}

/* ---- カード内のリスト ---- */
.card-list{
  text-align: left;
  margin: 12px 0 0;
  padding-left: 1.2em;
  font-size: .95rem;
}
.card-list li{ margin-bottom: 8px; }

/* ---- 料金 ---- */
.price-list{
  text-align: left;
  display: inline-block;
  font-size: 1.05rem;
  margin: 15px 0;
  padding-left: 20px;
  font-weight: bold;
}
.price-list__total{
  color: var(--fu-accent-ink);
  font-size: 1.2rem;
  margin-top: 10px;
}

/* ---- 声カード ---- */
/* 2026-09-13 深夜：明朝体をやめてゴシックに戻しました。
   「山根が見てきた子どもたちの変化」の3つの小見出しです。
   h3 なので page_2026.css の「見出しは明朝」が効いていましたが、
   明朝は太字が細く見えるため、この大きさ（1.05rem）では
   本文より弱く見えていました。緑の文字色はそのままです。 */
.voice-title{
  color: var(--fu-ground-brand);
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-family: var(--fu-font-body);
  font-weight: 700;
}
.voice-card--accent{
  border-left: 5px solid var(--accent-orange);
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* ---- CTA の見出し ---- */
.cta-title{ color: var(--fu-accent-ink); margin-top: 0; }

/* ---- ヒーローの濃い版（オンライン校） ---- */
.lp-hero-text--dark{ background-color: var(--fu-brand-dark); }
.lp-hero-text--dark .catch{ color: var(--fu-accent-ink); }

/* ==========================================================================
   2026-09-05 第2版：小学部LPを組み直したときに増えた部品
   現行 grade5-6 の本文を、生のまま流し込むのをやめて
   中学部・オンライン校と同じ部品に収めました。
   ========================================================================== */

/* ---- 本文中の図版 ---- */
.lp-figure{
  margin: 20px 0;
  text-align: center;
}
.lp-figure img{
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ---- 3つ並べるカード（速さ・分数・割合／国語・算数・学習習慣 など） ---- */
.results--three{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 768px){
  .results--three{ grid-template-columns: repeat(3, 1fr); }
}
.results--three .result-card{ text-align: center; }
.results--three .result-card p{ font-size: .9rem; color: var(--fu-ground-quiet); margin: 8px 0 0; }

/* ---- 階段式カリキュラム（7段） ---- */
.step-list{
  counter-reset: fu-step;
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
/* 2026-09-13 深夜：背景を1段濃くしました。
   このリストは .reason-box（薄いミント）の中に入ります。
   li も同じ濃さだったので、7段が地に溶けて見えていました。
   テーマの「カード（濃）」#CCF0E3 に変えて、段の区切りを出します。 */
.step-list li{
  counter-increment: fu-step;
  position: relative;
  padding: 10px 12px 10px 46px;
  margin-bottom: 8px;
  background: var(--fu-card-3);
  color: var(--fu-card-ink);
  border: 1px solid var(--fu-card-line);
  border-radius: 4px;
}
.step-list li::before{
  content: counter(fu-step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--main-green);
  color: #fff;
  font-weight: bold;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- 箇条書き（・ と ✔︎） ---- */
.point-list{
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.point-list li{
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 8px;
}
.point-list li::before{
  content: '・';
  position: absolute;
  left: 0;
  color: var(--fu-ground-brand);
  font-weight: bold;
}
.point-list--check li::before{
  content: '✔︎';
  font-size: .9em;
}

/* ---- Q&A ---- */
.qa-card{
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 1px solid #e0e0d8;
  border-radius: 8px;
  padding: 20px;
  margin: 0 0 20px;
}
/* 2026-09-05 第3版：質問文を画像から文字にしました。
   理由は3つです。
   ・画像だと検索に載らず、読み上げにも乗りません
   ・スマホで小さくなり読みにくい
   ・文章を直したいときに画像を作り直す必要がある
   画像のままにしたい場合のために .qa-q img の指定は残してあります。 */
.qa-q{
  display: flex;
  gap: .45em;
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: bold;
  line-height: 1.6;
  color: var(--fu-ground-brand);
}
.qa-q::before{
  content: "Q.";
  flex: 0 0 auto;
  color: var(--fu-accent-ink);
  font-weight: 900;
}
.qa-q img{ max-width: 100%; height: auto; }
.qa-q:has(img){ display: block; text-align: center; }
.qa-q:has(img)::before{ content: none; }
.qa-a{
  border-top: 2px dotted #e0e0d8;
  padding-top: 16px;
}
.qa-a > p:first-child{ margin-top: 0; }

/* ---- 理念の中の強調行 ---- */
.philosophy-strong{
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--fu-accent-ink);
  text-align: center;
  margin: 18px 0;
}


/* ==========================================================================
   2026-09-06 追記：2つを並べて比べる部品（.compare-two）

   小学部LPで外したバナー画像
   「２-小学生のうちから塾に通うと.png」の中身を、
   文字で組み直すために作りました。

   　左（緑）… こうなります
   　右（グレー）… こうなりがちです

   スマホでは上下、PCでは左右に並びます。
   ========================================================================== */
.compare-two{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 24px 0;
}
@media (min-width: 768px){
  .compare-two{ grid-template-columns: 1fr 1fr; gap: 18px; }
}

.compare-two__col{
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border: 2px solid #d8d8d0;
  border-radius: 8px;
  padding: 0 0 18px;
  overflow: hidden;
}
.compare-two__col--good{ border-color: var(--fu-brand-ink); }

.compare-two__head{
  margin: 0 0 14px;
  padding: 10px 14px;
  font-size: 1rem;
  line-height: 1.5;
  background: var(--fu-mute);
  color: var(--fu-ground-ink);   /* 2026-09-13：中立の灰なので濃い文字。緑の側は下で白に */
}
.compare-two__col--good .compare-two__head{ background: var(--fu-brand); }

.compare-two__voice,
.compare-two__result{ margin: 0 16px; line-height: 1.7; }

/* 子どものつぶやき（吹き出し風） */
.compare-two__voice{
  position: relative;
  background: var(--fu-mute);
  color: var(--fu-ground-quiet);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border-radius: 8px;
  padding: 12px 14px;
  font-size: .95rem;
}
.compare-two__col--good .compare-two__voice{ background: var(--fu-card-2); }
.compare-two__voice::after{
  content: "";
  position: absolute;
  bottom: -9px; left: 26px;
  border-width: 9px 9px 0;
  border-style: solid;
  border-color: #f4f4f0 transparent transparent transparent;
}
.compare-two__col--good .compare-two__voice::after{
  border-top-color: #eef6e8;
}

/* その結果どうなるか */
.compare-two__result{
  margin-top: 18px;
  font-weight: bold;
  font-size: .98rem;
  color: var(--fu-ground-quiet);
}
.compare-two__col--good .compare-two__result{ color: var(--fu-ground-brand); }

/* ==========================================================================
   2026-09-06 追記：もっと詳しく知りたい方へ（.lp-more）

   本文の途中にあった「実績ページへ」「声のページへ」のリンクを、
   最終CTAの下にまとめるための箱です。

   LPの途中に外向きのリンクがあると、申込みの手前で他のページへ
   流れてしまいます。かといって全部消すと、裏付けを確かめたい人が
   確かめられずに帰ってしまいます。
   そこで「最後まで読んだ人にだけ見える場所」に置きました。

   ・CTAより目立たない見た目にしてあります（枠なし・文字小さめ）
   ・別タブで開くので、LPは閉じません
   ========================================================================== */
.lp-more{
  margin: 34px 0 0;
  padding: 20px 20px 4px;
  border-top: 1px solid #ddd;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
/* 2026-09-06：2グループ（左＝裏付け／右＝入会検討）に分けました */
@media (min-width: 768px){
  .lp-more{ grid-template-columns: 1fr 1fr; gap: 12px 40px; }
}
.lp-more__group{ text-align: center; }
.lp-more__lead{
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e4e4de;
  font-size: .88rem;
  font-weight: bold;
  color: #777;
}
.lp-more__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lp-more__list a{
  color: var(--fu-ground-brand);
  font-size: .92rem;
  text-decoration: underline;
}
.lp-more__list a::after{ content: " →"; text-decoration: none; }
.lp-more__list a:hover{ color: var(--fu-ground-brand); }

/* ==========================================================================
   2026-09-06 追記：トップ画像の切り取り位置

   .lp-hero-image は PCで16:6、スマホで16:9 に切り取られます。
   既定は object-position: center 0%（上をそろえて、下を切る）です。
   いまの見出し画像は主役が上にあるので、それで合っています。

   これから撮る写真は、主役（先生・機材）が真ん中に来ます。
   上ぞろえのままだと足元や机が残り、顔が上端ぎりぎりになります。
   そこで「真ん中を残す」切り取りを選べるようにしました。

       <img class="lp-hero-image lp-hero-image--center" ...>

   撮影のときは、大事なものを高さの真ん中6割に収めてください。
   ========================================================================== */
.lp-hero-image--center{ object-position: center 50%; }

/* 下寄せにしたい写真があれば、こちらを使ってください */
.lp-hero-image--bottom{ object-position: center 100%; }

/* ==========================================================================
   2026-09-06 追記：トップ画像の中の小窓（.lp-hero-pip）

   オンライン校LP用です。
   教室の写真だけでは「オンライン」が伝わりません。
   かといってPCは先生が生徒を見るためのものなので、
   写真には背面しか写らず、画面の中身は見せられません。

   そこで、テレビ電話のような「小窓」を写真の上に重ねます。

   ★写真に合成するのではなく、HTMLで重ねています。理由は4つです。
     ・写真そのものは加工なしのまま。差し替えが楽です
     ・「※イメージ」の断り書きが常に鮮明に出ます（写真に焼くとつぶれます）
     ・切り取り（PC16:6／スマホ16:9）の外に出て消えることがありません
     ・小窓だけ後から差し替え・削除ができます

   ※小窓の写真は、実際の受講生ではありません。
     必ず「※イメージ」の表示を消さないでください。
   ========================================================================== */
.lp-hero-media{
  position: relative;
  line-height: 0;          /* 画像の下の余白を消す */
}

.lp-hero-pip{
  position: absolute;
  right: 2.5%;
  bottom: 6%;
  width: min(14%, 180px);
  margin: 0;
  background: var(--fu-card);
  color: var(--fu-ground-ink);   /* 2026-09-13 追加：地と文字を必ず対で決める */
  border-radius: 8px;
  padding: 5px 5px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  line-height: 1.4;
}
.lp-hero-pip img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
}
.lp-hero-pip figcaption{
  display: flex;
  flex-wrap: wrap;         /* 狭いときは「※イメージ」が2行目に落ちます */
  align-items: center;
  gap: 0 .4em;
  padding: 5px 3px 6px;
  /* 2026-09-13 夜：下限を9px→11pxに。タブレット幅で9pxまで
     落ちていて、実機では読めませんでした */
  font-size: clamp(11px, .95vw, 12px);
  font-weight: bold;
  color: var(--fu-ground-ink);
  line-height: 1.35;
}
.lp-hero-pip figcaption b{ white-space: nowrap; }
/* 「※イメージ」。実際の受講生ではないことを示します。消さないでください */
.lp-hero-pip figcaption span{
  margin-left: auto;       /* 広いときは右端へ */
  font-weight: normal;
  color: #888;
  font-size: 1em;          /* 2026-09-13 夜：.9em だと下限を割っていました */
  white-space: nowrap;
}
/* 通信中を表す小さな点 */
.lp-hero-pip figcaption::before{
  content: "";
  width: .55em; height: .55em;
  border-radius: 50%;
  background: var(--fu-brand);
  color: #ffffff;   /* 2026-09-13 追加：地と文字を必ず対で決める */
  flex: 0 0 auto;
}

/* ---- 置き場所を選べます ----
   写真の空いているところに合わせて、class を足し替えてください。
       （何も付けない） … 右下（既定）
       lp-hero-pip--bl  … 左下
       lp-hero-pip--tr  … 右上
       lp-hero-pip--tl  … 左上
   ★人や機材に重ねないでください。空いているところに置きます。
     撮影のときに、置く場所の余白を作っておくのがいちばん確実です。 */
.lp-hero-pip--bl{ left: 2.5%; right: auto; }
.lp-hero-pip--tr{ top: 7%;  bottom: auto; }
.lp-hero-pip--tl{ top: 7%;  bottom: auto; left: 2.5%; right: auto; }

@media (max-width: 767px){
  /* 2026-09-13 夜：小窓を 28% → 36% に広げました。
     28%だと説明の文字を8pxまで落とさないと入らず、実機では読めません。
     文字は10pxを下限にして、小窓のほうを広げています。 */
  .lp-hero-pip{
    right: 3%;
    bottom: 5%;
    width: 36%;
    padding: 3px 3px 0;
    border-radius: 6px;
  }
  .lp-hero-pip--bl{ left: 3%; right: auto; }
  .lp-hero-pip figcaption{ font-size: 10px; padding: 3px 2px 4px; gap: 0; }
  .lp-hero-pip figcaption span{ font-size: 1em; }
  /* 狭いので、2行に分けて出します */
  .lp-hero-pip figcaption b,
  .lp-hero-pip figcaption span{ flex: 0 0 100%; margin-left: 0; }
  .lp-hero-pip figcaption::before{ display: none; }
}

/* ==========================================================================
   写真の置き方 第2案（2026-10-10）
   --------------------------------------------------------------------------
   写真は大きくしすぎない。役割で3つに分けます。

   .fu-side         意味の絵。本文の右か左に 1/3 ほどの幅で置き、文章を回り込ませる
                    .fu-side--right / .fu-side--left で置く側を決める
                    スマホ（600px以下）では回り込みをやめ、横長（16:9）に切って本文幅に
   .fu-strip        箸休め。小さい写真を3枚、横一列に（スマホでも3列のまま）
   .fu-strip--faces 顔アップを3枚。少し小さめ
   .fu-faces        顔アップを何人も並べる（保護者様の声などで使う想定）

   動画（.fu-clip）は 3〜4秒・無音・くり返さない。画面に入ったら1回だけ再生し、最後のコマで止まる。
   ========================================================================== */
.fu-side {
  width: 34%;
  max-width: 260px;
  margin: 4px 0 14px;
}
.fu-side--tall  { width: 26%; max-width: 200px; }   /* 縦長（3:4）は少し細く */
.fu-side--right { float: right; margin-left: 22px; }
.fu-side--left  { float: left;  margin-right: 22px; }
.fu-side img,
.fu-side video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #e9eeeb;
}
.fu-side figcaption,
.fu-strip-cap {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fu-text-sub, #5b6b63);
}
/* 回り込みのあとに来る表・カード・グラフは、写真の下から始める */
.fu-side ~ .reason-proof,
.fu-side ~ .results,
.fu-side ~ .lp-graph,
.fu-side ~ .fu-box-outline { clear: both; }
.reason-box:has(> .fu-side),
.philosophy:has(> .fu-side),
.qa-card:has(> .fu-side),
.voice-card:has(> .fu-side),
.fu-box-outline:has(> .fu-side) { display: flow-root; }

.fu-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 640px;
  margin: 36px auto;
}
.fu-strip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: #e9eeeb;
}
.fu-strip--faces { max-width: 480px; }
.fu-strip--faces img { aspect-ratio: 1 / 1; border-radius: 50%; }

.fu-faces {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin: 32px 0;
}
.fu-faces img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }

body[data-fu-theme="dark"] .fu-side img,
body[data-fu-theme="dark"] .fu-side video,
body[data-fu-theme="dark"] .fu-strip img { background: #1d2a24; }

@media (max-width: 600px) {
  .fu-side,
  .fu-side--right,
  .fu-side--left {
    float: none;
    width: 100%;
    max-width: none;
    margin: 16px 0;
  }
  /* 2026-10-31：16:9 に切る指定は削除（末尾「写真チェックの直し」） */
  .fu-strip { gap: 6px; margin: 28px auto; }
}

/* ==========================================================================
   写真の置き方 第4案（2026-10-16）
   --------------------------------------------------------------------------
   ・LP以外のページ（コース・FAQ・代表挨拶など）にも .fu-side を使います。
     見出しの直後に置き、次の見出しの前で回り込みを止めます。
   ・.fu-photo … 回り込ませない写真（中央に1枚。最大480px）
   ・丸い顔アップ（.fu-faces）は「保護者様の声」のページだけで使います。
   ========================================================================== */
.page-content h2.wp-block-heading,
.page-content h3.wp-block-heading { clear: both; }
.empathy-box:has(> .fu-side) { display: flow-root; }
.fu-side ~ .voice-card,
.fu-side ~ .fu-case-list { display: flow-root; }
.fu-side ~ .fu-video-embed,
.fu-side ~ .wp-block-table,
.fu-side ~ .wp-block-group { clear: both; }
.wp-block-group.fu-box-outline:has(> .fu-side) { display: flow-root; }

.fu-photo {
  max-width: 480px;
  margin: 28px auto;
  text-align: center;
}
.fu-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #e9eeeb;
}
.fu-photo figcaption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fu-text-sub, #5b6b63);
}
.fu-faces-cap { text-align: center; margin: -20px 0 32px; }
body[data-fu-theme="dark"] .fu-photo img { background: #1d2a24; }
/* 固定ページの本文は grid なので、写真と段落を .fu-wrap にまとめて回り込ませます */
.page-content > .fu-wrap { display: flow-root; }
.fu-wrap > p:last-child, .fu-wrap > ul:last-child { margin-bottom: 0; }
.fu-cta-block__body .fu-photo { max-width: 360px; }
body[data-fu-theme="dark"] .fu-faces-cap,
body[data-fu-theme="dark"] .fu-photo figcaption { color: #c5d3cb; }

/* ==========================================================================
   直し（2026-10-16 夜）
   ・.fu-side--large … 少し大きめの写真（1/3より少し大きく。最大380px）
   ・保護者様の声：昔の写真をカードの右に小さく（.fu-story-figure--side）
   ・保護者様の声：全文掲載（PDF）のボタンを2列のリンクカードに（.fu-pdf-links）
   ========================================================================== */
.fu-side--large { width: 42%; max-width: 380px; }

.fu-card:has(> .fu-story-figure--side) { display: flow-root; }
.fu-story-figure.fu-story-figure--side {
  float: right;
  width: 30%;
  max-width: 240px;
  margin: 2px 0 10px 18px;
}
.fu-story-figure--side img { display: block; width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 600px) {
  .fu-story-figure.fu-story-figure--side { width: 40%; margin-left: 12px; }
}
.fu-voice-banner { max-width: 560px; margin-left: auto !important; margin-right: auto !important; }
.fu-voice-banner img { border-radius: 6px; }

.page-content .wp-block-buttons.fu-pdf-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 24px auto 36px;
}
@media (max-width: 600px) {
  .page-content .wp-block-buttons.fu-pdf-links { grid-template-columns: 1fr; }
}
.fu-pdf-links .wp-block-button { margin: 0; width: auto; background: none !important; border-radius: 0; }
.page-content .fu-pdf-links .wp-block-button__link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 14px 16px;
  background: #fff !important;
  color: var(--fu-brand-dark, #004d2e) !important;
  border: 1.5px solid var(--color-fu-green, #006039) !important;
  border-radius: 8px;
  text-align: left;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: none;
}
.page-content .fu-pdf-links .wp-block-button__link::before {
  content: "PDF";
  flex: 0 0 auto;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: #b3261e;
  border-radius: 4px;
  padding: 3px 6px;
}
.page-content .fu-pdf-links .wp-block-button__link:hover { background: #eef6f1 !important; opacity: 1; }
body[data-fu-theme="dark"] .page-content .fu-pdf-links .wp-block-button__link {
  background: transparent !important;
  color: #e6f1ea !important;
  border-color: #7fbf9a !important;
}
body[data-fu-theme="dark"] .page-content .fu-pdf-links .wp-block-button__link:hover { background: rgba(255,255,255,.06) !important; }

/* ==========================================================
   実績ページのトップ（2026-10-20）：合格の瞬間のアルバム風コラージュ
   4枚が「画面を見る → 合格の表示 → 通知書 → 喜ぶ」の順に出て、最後に言葉が出る。
   動画は画面に入ったら1回だけ再生して止まる（音なし）。花びらはその場で揺れるだけ。
   「視差効果を減らす」設定では最初から全部表示。
   ========================================================== */
.fu-exhero{position:relative;aspect-ratio:16/5;overflow:hidden;
  background:#fffdf8;background-image:radial-gradient(circle at 15% 20%,#fdeef1 0,transparent 40%),radial-gradient(circle at 85% 80%,#eaf5f1 0,transparent 45%)}
.fu-exhero__item{position:absolute;margin:0;background:#fff;padding:6px 6px 0;border-radius:3px;
  box-shadow:0 10px 28px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.08);
  opacity:0;transform:scale(.85) rotate(var(--r,0deg));transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.3,1.3);z-index:2}
.fu-exhero__item::after{content:"";display:block;height:14px}
.fu-exhero .fu-exhero__item img,.fu-exhero .fu-exhero__item video{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:fill}  /* page_2026.css の .fu-pageHeader img（16:5 に切る）を打ち消す */
.fu-exhero__item--1{width:16%;left:3%;top:8%;--r:-6deg}
.fu-exhero__item--2{width:19%;left:12%;top:58%;--r:4deg}
.fu-exhero__item--3{width:13%;left:68%;top:6%;--r:-3deg}
.fu-exhero__item--4{width:16%;left:82%;top:16%;--r:6deg}
.fu-exhero.is-on .fu-exhero__item{opacity:1;transform:scale(1) rotate(var(--r,0deg))}
.fu-exhero.is-on .fu-exhero__item--1{transition-delay:.1s}
.fu-exhero.is-on .fu-exhero__item--2{transition-delay:1.5s}
.fu-exhero.is-on .fu-exhero__item--3{transition-delay:2.3s}
.fu-exhero.is-on .fu-exhero__item--4{transition-delay:3s}
.fu-exhero__text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:3;text-align:center;
  background:rgba(255,255,255,.88);padding:.7em 1.4em;border-radius:8px;margin:0;opacity:0;transition:opacity .8s ease 3.8s}
.fu-exhero.is-on .fu-exhero__text{opacity:1}
.fu-exhero__text span{display:block}
.fu-exhero__sm{font-size:clamp(12px,1.2vw,16px);letter-spacing:.12em;font-weight:700;color:#1d8a8a}
.fu-exhero__lg{font-size:clamp(18px,2.6vw,34px);font-weight:800;line-height:1.3;margin-top:.2em;color:var(--color-fu-green,#1f7a4d)}
.fu-exhero__petals{position:absolute;inset:0;pointer-events:none;z-index:1}
.fu-exhero__petals i{position:absolute;width:var(--s,14px);height:calc(var(--s,14px)*.8);background:#f6c9d3;border-radius:60% 0 60% 0;opacity:.85;
  animation:fu-exhero-sway var(--d,3.5s) ease-in-out infinite alternate;animation-delay:var(--dl,0s)}
@keyframes fu-exhero-sway{0%{transform:translate(-3px,0) rotate(-16deg)}100%{transform:translate(3px,3px) rotate(18deg)}}
@media (max-width:760px){
  .fu-exhero{aspect-ratio:4/5}
  .fu-exhero__text{white-space:nowrap}
  .fu-exhero__lg{font-size:20px}.fu-exhero__sm{font-size:12px}
  .fu-exhero__item--1{width:42%;left:4%;top:4%}.fu-exhero__item--2{width:52%;left:6%;top:66%}
  .fu-exhero__item--3{width:30%;left:62%;top:5%}.fu-exhero__item--4{width:36%;left:60%;top:58%}
}
@media (prefers-reduced-motion:reduce){
  .fu-exhero__item,.fu-exhero__text{opacity:1;transform:rotate(var(--r,0deg));transition:none}
  .fu-exhero__petals i{animation:none}
}
/* ダークでも、トップのコラージュは写真と同じ扱いで明るいまま（10/20 代表：背景が緑になるのは×） */

/* ==========================================================
   マスコットの豆柴（2026-10-21）：お問い合わせボタンの右横におすわり
   対象：LPのお問い合わせボタン（.cta-btn-large）と、トップの「無料体験・資料請求はこちら」（.fu-top-gates__contact）
   画像：img/2026/mascot-shiba.webp（背景透過・196×360）。ボタンに付けた飾りなので、クリックの邪魔はしない
   ========================================================== */
.cta-btn-large,
.fu-top-gates__contact{position:relative}
.cta-btn-large::after,
.fu-top-gates__contact::after{
  content:"";position:absolute;left:calc(100% + 12px);bottom:-4px;
  width:60px;aspect-ratio:196/360;
  background:url(../img/2026/mascot-shiba.webp) center bottom/contain no-repeat;
  pointer-events:none;
  filter:drop-shadow(0 3px 3px rgba(0,0,0,.18));
}
/* トップの申込ボタンは横いっぱいの帯なので、横ではなくボタンの右端におすわり */
.fu-top-gates__contact{padding-right:84px}
.fu-top-gates__contact::after{left:auto;right:18px;bottom:-2px;width:56px}
/* ボタンにマウスを乗せると、ちょこんと跳ねる */
.cta-btn-large:hover::after,
.fu-top-gates__contact:hover::after{animation:fu-shiba-hop .5s ease}
@keyframes fu-shiba-hop{0%,100%{transform:translateY(0)}40%{transform:translateY(-8px)}}
/* 暗い地の上では、黒い毛が沈まないよう白いふちをうっすら */
.fu-top-gates__contact::after,
body[data-fu-theme="dark"] .cta-btn-large::after{filter:drop-shadow(0 0 1.5px rgba(255,255,255,.9)) drop-shadow(0 0 6px rgba(255,255,255,.35))}
/* スマホ：ボタンの横に場所がないので、ボタンの右端におすわり（文字が隠れないよう、ボタンの右の余白を広げる） */
@media (max-width:600px){
  .cta-btn-large,.fu-top-gates__contact{padding-right:52px}
  .cta-btn-large::after,
  .fu-top-gates__contact::after{left:auto;right:-6px;bottom:-2px;width:44px}
}
@media (prefers-reduced-motion:reduce){.cta-btn-large:hover::after,.fu-top-gates__contact:hover::after{animation:none}}

/* ==========================================================
   面談・進路相談の節（2026-10-21）：中学部・小学部・オンライン校LP
   .fu-care … 3つのカード（毎月のご報告／年3回の面談／いつでも相談）。スマホは縦1列
   ========================================================== */
.fu-care-lead{font-size:1.08rem;text-align:center;margin:0 0 1em}
.fu-care{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0 26px}
.fu-care__item{background:var(--fu-card);color:var(--fu-ground-ink);border:2px solid var(--main-green);border-radius:10px;padding:16px 16px 14px}
.fu-care__item p{margin:0;line-height:1.8}
.fu-care .fu-care__head{display:flex;align-items:center;gap:.5em;font-weight:700;font-size:1.05rem;line-height:1.45;color:var(--fu-brand);margin:0 0 .6em}
.fu-care__head span{flex:none;display:inline-grid;place-items:center;width:1.8em;height:1.8em;border-radius:50%;background:var(--fu-brand);color:#fff;font-size:.9em}
.fu-care-strong{font-size:1.15rem;font-weight:bold;color:var(--fu-accent-ink);text-align:center;margin:22px 0 10px;line-height:1.7}
.fu-care-voice{text-align:center;font-size:.98rem;margin:0}
.fu-care-voice span{font-size:.85em;opacity:.8;margin-left:.3em}
@media (max-width:760px){.fu-care{grid-template-columns:1fr}.fu-care-lead{text-align:left}}
/* ダーク版でもこの箱は明るい地のままなので、色の切り替えはしない */

/* ==========================================================
   高等部LP・英語の2本柱（2026-10-21）
   .fu-eng-table … 2講座の役割の表　／　.fu-steps … 講座の進み方（横並びの矢印）
   ========================================================== */
.fu-eng-table{width:100%;border-collapse:collapse;margin:18px 0 8px;background:var(--fu-card);color:var(--fu-ground-ink);font-size:.95rem}
.fu-eng-table th,.fu-eng-table td{border:1px solid rgba(0,96,57,.25);padding:10px 12px;line-height:1.6;vertical-align:middle;text-align:left}
.fu-eng-table thead th{background:var(--fu-brand);color:#fff;text-align:center;font-weight:700}
.fu-eng-table tbody th{background:var(--fu-card-2);color:var(--fu-brand);font-weight:700;white-space:nowrap}
.fu-eng-table td span{font-size:.85em;opacity:.8}
.fu-eng-meta{text-align:center;font-size:.92rem;opacity:.85;margin:0 0 .5em}
.fu-steps{list-style:none;padding:0;margin:14px 0 8px;display:flex;flex-wrap:wrap;align-items:stretch;justify-content:center;gap:8px 30px;counter-reset:none}
.fu-steps li{position:relative;background:var(--fu-card);color:var(--fu-ground-ink);border:2px solid var(--fu-brand);border-radius:8px;padding:8px 14px;font-weight:700;display:flex;flex-direction:column;justify-content:center;text-align:center;line-height:1.35}
.fu-steps li+li::before{content:"→";position:absolute;left:-24px;top:50%;transform:translateY(-50%);color:var(--fu-brand);font-weight:700}
.fu-steps li.is-ex{background:var(--fu-brand);color:#fff}
.fu-steps li small{display:block;font-size:.75em;font-weight:400;opacity:.9}
.fu-steps li.is-more{border-style:dashed}
.fu-steps-sub{text-align:center;font-size:.92rem;margin:4px 0 0}
.fu-voca ul{margin:.6em 0 0;padding-left:1.3em}
.fu-voca li{margin:.2em 0;line-height:1.7}
@media (max-width:600px){
  .fu-eng-table{font-size:.85rem}.fu-eng-table th,.fu-eng-table td{padding:8px}
  .fu-eng-table tbody th{white-space:normal}
  .fu-steps{gap:8px 26px}
}
.fu-voca .fu-note-small{font-size:.8rem;opacity:.75;margin:.8em 0 0}
.fu-voca sup{font-size:.6em}

/* ==========================================================
   2026-10-22：実績「過去20年間進学先」の表。スマホ・タブレット（960px未満）では
   2つの表を区切らず、1本の表として続けて見せる（点線・すき間をなくし、境目の線も1本に）
   ========================================================== */
@media (max-width:959px){
  .fu-result-grid,.fu-result-grid.wp-block-columns{gap:0 !important}
  .fu-result-grid .fu-result-col,
  .fu-result-grid .fu-result-col:not(:last-child){border-bottom:none;padding:0;margin:0}
  .fu-result-grid .fu-result-col + .fu-result-col{margin-top:-1px}
  .fu-result-grid .fu-table-result{margin:0}
}

/* ==========================================================
   2026-10-22：実績ページの「伸び率ランキング」（開くと見える）と、中学部LPの推薦対策の小さなラベル
   ========================================================== */
.fu-rank-details{margin:2.5rem 0;border:2px solid var(--fu-brand);border-radius:10px;background:var(--fu-card);color:var(--fu-ground-ink);overflow:hidden}
.fu-rank-details > summary{cursor:pointer;list-style:none;padding:14px 18px;font-weight:700;color:var(--fu-brand);background:var(--fu-card-2);position:relative;padding-right:44px}
.fu-rank-details > summary::-webkit-details-marker{display:none}
.fu-rank-details > summary::after{content:"＋";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:1.2em}
.fu-rank-details[open] > summary::after{content:"－"}
.fu-rank-details > :not(summary){padding-left:18px;padding-right:18px}
.fu-rank-details > :last-child{padding-bottom:18px}
.fu-chips{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.fu-chips li{border:2px solid var(--fu-brand);color:var(--fu-brand);background:var(--fu-card);border-radius:999px;padding:4px 14px;font-weight:700;font-size:.95rem}

/* ==========================================================
   実績ページのトップ 第3案（2026-10-22 本番化）：.fu-xh
   画面を見る（動画）→ 合格の画面（ふわっと広がる）→ 合格通知書（傾いて置かれる）→ 喜ぶ生徒（動画・スロー）が通知書の上に重なる → 言葉
   背景：写真AC 22443381（bg-ac-pc / bg-ac-sp）。ダーク版でも写真と同じ扱いで明るいまま
   ※前の .fu-exhero（10/20版）のCSSは使っていませんが、消さずに残しています
   ========================================================== */
.fu-xh{position:relative;aspect-ratio:16/5;overflow:hidden;background:#fff6f8 url(../img/2026/example/hero2/bg-ac-pc.webp) center/cover no-repeat}
.fu-xh__item{position:absolute;margin:0;background:#fff;padding:6px 6px 0;border-radius:3px;
  box-shadow:0 12px 30px rgba(0,0,0,.2),0 2px 6px rgba(0,0,0,.1);opacity:0;transform:scale(.85) rotate(var(--r,0deg));
  transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.3,1.3);z-index:2}
.fu-xh__item::after{content:"";display:block;height:14px}
.fu-xh .fu-xh__item img,.fu-xh .fu-xh__item video{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:fill}  /* .fu-pageHeader img（16:5に切る）を打ち消す */
.fu-xh__screen{width:16%;left:3%;top:7%;--r:-6deg}
.fu-xh__pass{width:19.5%;left:17%;top:21%;--r:3deg;z-index:4}
.fu-xh__notice{width:19%;left:68.5%;top:14%;--r:-30deg;z-index:1}
.fu-xh__joy{width:18.5%;left:78%;top:7%;--r:4deg;z-index:3}
.fu-xh__text{position:absolute;left:51.5%;top:57%;transform:translate(-50%,-50%);  /* 10/22：合格の画面と通知書の真ん中に（両方にぎりぎり触れるくらい） */
  z-index:5;margin:0;text-align:center;opacity:0;transition:opacity .8s ease}
.fu-xh__text span{display:block;text-shadow:0 0 6px #fff,0 0 12px #fff,0 0 18px rgba(255,255,255,.9),0 0 2px #fff}
.fu-xh__sm{position:relative;left:calc(clamp(24px,4.3vw,54px) * -.5);  /* 「。」を除いた「やりきった人」の真上にそろえる */
  font-size:clamp(14px,1.65vw,22px);letter-spacing:.12em;font-weight:700;color:#1d8a8a}
.fu-xh__lg{font-size:clamp(24px,4.3vw,54px);font-weight:800;line-height:1.35;margin-top:.2em;color:#1f7a4d}
.fu-xh.is-on .fu-xh__screen{opacity:1;transform:scale(1) rotate(var(--r));transition-delay:.1s}
.fu-xh.is-on .fu-xh__pass{opacity:1;transform:rotate(var(--r));animation:fu-xh-zoom 1s cubic-bezier(.16,.84,.3,1) 1.2s both}
@keyframes fu-xh-zoom{0%{opacity:0;transform:scale(.25) rotate(var(--r))}100%{opacity:1;transform:scale(1) rotate(var(--r))}}
.fu-xh.is-on .fu-xh__notice{opacity:1;transform:scale(1) rotate(var(--r));transition-delay:2.4s}
.fu-xh.is-on .fu-xh__joy{opacity:1;transform:scale(1) rotate(var(--r));transition-delay:3.2s}
.fu-xh.is-on .fu-xh__text{opacity:1;transition-delay:5.8s}
@media (max-width:760px){
  .fu-xh{aspect-ratio:3/4;background-image:url(../img/2026/example/hero2/bg-ac-sp.webp)}
  .fu-xh__screen{width:40%;left:4%;top:3%}
  .fu-xh__joy{width:46%;left:50%;top:2%}
  .fu-xh__pass{width:48%;left:7%;top:40%}
  .fu-xh__notice{display:none}   /* スマホは場所がないので通知書は出さない */
  .fu-xh__text{left:auto;right:3%;top:auto;bottom:6%;transform:none;text-align:left;padding:.5em .7em}
  .fu-xh__lg{font-size:19px}.fu-xh__sm{font-size:11px;left:0}
}
@media (prefers-reduced-motion:reduce){.fu-xh__item,.fu-xh__text{opacity:1;transform:rotate(var(--r,0deg));transition:none;animation:none!important}}

/* ==========================================================
   2026-10-22：実績ページ「歴代ランキング」の表（.fu-table-rank）
   上位3つの行は淡い金色、UP の列は赤で大きく。スマホは横にスクロール
   ========================================================== */
.fu-rank-badge{text-align:center;font-weight:700;margin:.2em 0 .8em}
.fu-rank-badge strong{color:#c0392b;font-size:1.35em}
.fu-table-rank{overflow-x:auto;margin:0 0 2.2rem}
.fu-table-rank table{width:100%;border-collapse:collapse;background:var(--fu-card);color:var(--fu-ground-ink);font-size:.95rem;min-width:520px}
.fu-table-rank th,.fu-table-rank td{border:1px solid rgba(0,96,57,.25);padding:8px 10px;text-align:center;white-space:nowrap}
.fu-table-rank thead th{background:var(--fu-brand);color:#fff;font-weight:700;font-size:.9rem}
.fu-table-rank tbody tr.is-top td{background:#fdf6e3;font-weight:700}
.fu-table-rank td:first-child{font-weight:700;color:var(--fu-brand)}
.fu-table-rank td.is-up{color:#c0392b;font-weight:800;font-size:1.1em}
@media (max-width:600px){  /* スマホは横スクロールさせず、文字を小さくして画面に収める（UPの列が隠れないように） */
  .fu-table-rank table{min-width:0 !important;font-size:.74rem}  /* .page-content table の min-width:600px（横スクロール用）を打ち消す */.fu-table-rank thead th{font-size:.68rem;white-space:normal;line-height:1.3}
  .fu-table-rank th,.fu-table-rank td{padding:5px 3px}.fu-table-rank td.is-up{font-size:1.05em}}


/* ==========================================================
   小学部LP（刈り込み版）を正式版にしたときの部品（2026-10-22）
   元は案_小学部/_道具/cut_page.css。注釈（.cut-note）の行は外しています
   ========================================================== */
/* 縦並びの実績カード */
.lp-container .results--stack{ display:flex; flex-direction:column; gap:12px; max-width:560px; margin-left:auto; margin-right:auto; }
.lp-container .results--stack .result-card{ text-align:center; }
/* 入会前に、保護者の皆様へ：左寄せ */
.lp-container .philosophy.cut-left{ text-align:left; }
.lp-container .philosophy.cut-left .philosophy-strong{ text-align:left; }
/* 合う／合わない */
.cut-fit{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:18px 0; }
@media (max-width:600px){ .cut-fit{ grid-template-columns:1fr; } }
.cut-fit__col{ border-radius:8px; padding:12px 16px; }
.cut-fit__col--ng{ background:#f1f1f1; color:#333; }
.cut-fit__col--ok{ background:#e3f1e9; color:#173d2b; }
.cut-fit__head{ margin:0 0 6px; font-weight:700; font-size:14px; }
.cut-fit__col ul{ margin:0; padding-left:1.3em; }
.cut-fit__col li{ margin:2px 0; word-break:auto-phrase; }
.cut-fit__col--ok li::marker{ content:'✓  '; color:#2e7d5b; font-weight:700; }
body[data-fu-theme="dark"] .cut-fit__col--ng{ background:#2a302d; color:#e6ebe8; }
body[data-fu-theme="dark"] .cut-fit__col--ok{ background:#1f3a2c; color:#e6f3ec; }
/* 階段式カリキュラム：1（上・短い）→ 7（下・長い）の階段。7 から 1 へ曲線の矢印（右側） */
.lp-container .cut-stairs-wrap{ position: relative; clear: both; margin: 18px 0; }
.lp-container .cut-stairs-wrap .step-list{ margin: 0; }
.lp-container .cut-stairs li{ width: calc(36% + var(--i) * 7.5%); }      /* 36% → 81% */
@media (max-width: 600px){ .lp-container .cut-stairs li{ width: calc(70% + var(--i) * 3%); font-size: .92rem; } }  /* 70% → 88%（スマホは文字が折り返さない幅を優先） */
.lp-container .cut-stairs-wrap.js li{ opacity: 0; transform: translateX(-18px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22,.61,.36,1); transition-delay: calc(var(--i) * .14s); }
.lp-container .cut-stairs-wrap.js.is-on li{ opacity: 1; transform: none; }
.cut-stairs__arrow{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cut-stairs__line{ fill: none; stroke: var(--fu-brand, #006039); stroke-width: 3; stroke-linecap: round; }
.cut-stairs__head{ fill: var(--fu-brand, #006039); opacity: 0; transition: opacity .2s ease; }
.cut-stairs-wrap.cut-arrow-done .cut-stairs__head{ opacity: 1; }
@media (prefers-reduced-motion: reduce){ .lp-container .cut-stairs-wrap.js li{ opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   2026-10-23
   ・.fu-side--care … 進路のブロック（中学部・小学部・オンライン校）の三者面談の写真。
                       横長（16:7）で、リード文と次の段落を回り込ませ、3枚のカードより上に収める
   ・.fu-bb …… 高等部LP：ブロードバンド予備校（ロゴ入りの見出し・販促バナー）
   ・.fu-chips--left … 講座名のチップを左寄せに
   ========================================================================== */
.fu-care-box > .fu-side--care { width: 42%; max-width: 400px; margin-top: 4px; }
.fu-care-box:has(> .fu-side--care) .fu-care-lead { text-align: left; }
.fu-care-box > .fu-side ~ .fu-care { clear: both; }

.fu-bb .reason-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.fu-bb__logo { display: block; width: 260px; max-width: 70%; height: auto; background: #fff; padding: 6px 8px; border-radius: 6px; }
.fu-bb__banner { margin: 18px auto 16px; max-width: 720px; }
.fu-bb__banner img { display: block; width: 100%; height: auto; border-radius: 8px; border: 1px solid #dde6e1; background: #fff; }
.fu-chips--left { justify-content: flex-start; }
.fu-chips--left li { font-size: .9rem; }

@media (max-width: 600px) {
  .fu-care-box > .fu-side--care { width: 100%; max-width: none; margin: 4px 0 16px; }
  .fu-side--care img { aspect-ratio: auto; object-fit: fill; }
  .fu-bb__logo { width: 220px; }
}

/* ==========================================================================
   2026-10-23（2）小学部LP
   ・.fu-res-2col … 実績カード（.results）を、PCで2列に。スマホは1列
   ・.fu-koe ……… 子どもたちの声（手紙の抜粋）を、PCで2列のカードに。スマホは1列
   ========================================================================== */
.results.fu-res-2col{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.results.fu-res-2col .result-card{ margin:0; }
.fu-koe{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:20px 0 10px; }
.fu-koe .voice-card{ margin:0; }
.fu-koe .voice-card p{ margin:0 0 .6em; line-height:1.9; }
.fu-koe__who{ font-size:.85em; opacity:.75; text-align:right; margin:0 !important; }
@media (max-width:760px){
  .results.fu-res-2col, .fu-koe{ grid-template-columns:1fr; }
}

/* ==========================================================================
   2026-10-23（3）代表挨拶ページ：あいさつ文を写真に重ねず、写真の下に置く
   ・.fu-pageHeader--leadBelow … 写真の上に重ねていた黒い半透明の箱をやめ、
     写真の下に、左に緑の線のあるカードとして出します（PC・スマホ共通）
   ========================================================================== */
.fu-pageHeader--leadBelow .fu-pageHeader__lead{
  position: static !important;
  max-width: min(var(--fu-content-max, 960px), calc(100% - 2 * var(--fu-side, 16px)));
  margin: 24px auto 8px;
  background: var(--fu-card, #fff);
  color: var(--fu-ground-ink, #2b2b2b);
  border-left: 6px solid var(--main-green, #1f7a4d);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  line-height: 1.95;
  box-sizing: border-box;
}
.fu-pageHeader--leadBelow .fu-pageHeader__lead span{
  color: var(--fu-brand, #1f7a4d);
  font-size: 1.25em;
}
/* ダークモード：カードを暗い緑に、文字を明るく */
body[data-fu-theme="dark"] .fu-pageHeader--leadBelow .fu-pageHeader__lead{
  background: #12291e !important;
  color: #eef5f0 !important;
  border-left-color: #6fcf97;
  box-shadow: none;
}
body[data-fu-theme="dark"] .fu-pageHeader--leadBelow .fu-pageHeader__lead span{ color: #9fe0b8 !important; }

/* ==========================================================================
   2026-10-24 代表挨拶ページ
   ・.fu-pageHeader--leadIn … PCでは、あいさつ文を写真の左側に重ねる（写真は代表を右に寄せたもの）
                              スマホは .fu-pageHeader--leadBelow のまま、写真の下のカード
   ・.fu-promise--photo …… 3つのお約束：丸い写真＋緑の箱（素材写真はやめました）
   ・.fu-card の中の .fu-side … プロフィールの写真をカードの中に回り込ませる
   ========================================================================== */
@media (min-width:960px){
  .fu-pageHeader--leadIn .fu-pageHeader__lead{
    position:absolute !important; left:max(4vw, calc((100% - var(--fu-content-max, 960px)) / 2)); top:50%; bottom:auto;
    transform:translateY(-38%); max-width:min(44%, 560px); margin:0;
    background:none !important; box-shadow:none !important; border:0 !important; padding:0;
    color:#24302a !important; font-size:15px; line-height:1.95;
  }
  .fu-pageHeader--leadIn .fu-pageHeader__lead span{ font-size:1.4em; margin-bottom:.4em; color:#0b5a33 !important; }
}
.fu-promise.fu-promise--photo{ background:none !important; padding-bottom:0 !important; margin:1.5rem auto 2.25rem !important;
  display:grid; grid-template-columns:260px 1fr; gap:24px; align-items:stretch; max-width:880px; }
.fu-promise--photo .fu-promise-title{ grid-column:1 / -1; text-align:center; font-weight:700; color:var(--fu-brand,#0b5a33); font-size:1.15rem; margin:0 0 .3rem; letter-spacing:.06em; }
.fu-promise--photo .fu-promise-fig{ display:flex; align-items:center; margin:0; }
.fu-promise--photo .fu-promise-fig img{ display:block; width:260px; height:260px; border-radius:50%; object-fit:cover; }
.fu-promise--photo .fu-promise-list{ counter-reset:fup; list-style:none !important; display:flex !important; flex-direction:column; justify-content:center;
  margin:0 !important; background:var(--color-fu-green,#006039) !important; color:#fff; border-radius:10px !important;
  font-size:1.08rem; line-height:1.6; padding:1.2rem .9rem 1.2rem 3.7rem !important; }
.fu-promise--photo .fu-promise-list li{ counter-increment:fup; position:relative; list-style:none !important; margin:.7rem 0 !important; padding:0 !important; }
.fu-promise--photo .fu-promise-list li::before{ content:counter(fup) !important; display:inline-grid !important; place-items:center; position:absolute;
  left:-2.6rem; top:.05em; width:2rem; height:2rem; border-radius:50%; background:#fff; color:#0b5a33; font-weight:700; }
@media (max-width:760px){
  .fu-promise.fu-promise--photo{ grid-template-columns:1fr; }
  .fu-promise--photo .fu-promise-fig{ justify-content:center; }
  .fu-promise--photo .fu-promise-fig img{ width:200px; height:200px; }
  .fu-promise--photo .fu-promise-list{ font-size:1.02rem; }
}
body[data-fu-theme="dark"] .fu-promise--photo .fu-promise-title{ color:#9fe0b8; }
.fu-card:has(> .fu-side){ display:flow-root; }
.fu-card > .fu-side{ margin-top:0; }
@media (min-width:960px){
  body[data-fu-theme="dark"] .fu-pageHeader--leadIn .fu-pageHeader__lead{ background:none !important; color:#24302a !important; }
  body[data-fu-theme="dark"] .fu-pageHeader--leadIn .fu-pageHeader__lead span{ color:#0b5a33 !important; }
}

/* ==========================================================================
   2026-10-25
   ・代表挨拶：写真に重ねるあいさつ文を大きく、目立たせる（PC）
   ・保護者様の声：上の写真の左側（やわらかい背景）に言葉を重ねる .fu-pageHeader__catch
     スマホは写真だけにして、言葉は写真の下に出す
   ========================================================================== */
@media (min-width:960px){
  .fu-pageHeader--leadIn .fu-pageHeader__lead{
    font-size:17px; line-height:2; max-width:min(48%, 640px); transform:translateY(-44%);
    color:#1e2a24 !important; text-shadow:0 0 12px rgba(255,255,255,.9);
  }
  .fu-pageHeader--leadIn .fu-pageHeader__lead span{
    display:block; width:fit-content; font-size:1.9em; letter-spacing:.12em; margin-bottom:.5em; padding-bottom:.15em;
    border-bottom:3px solid #c9a227;
  }
  body[data-fu-theme="dark"] .fu-pageHeader--leadIn .fu-pageHeader__lead{ color:#1e2a24 !important; }
}
.fu-pageHeader--voice{ position:relative; }
.fu-pageHeader__catch{ margin:0; font-weight:800; color:#0b5a33; text-align:center; line-height:1.5; }
.fu-pageHeader__catch span{ display:block; }
.fu-pageHeader__catch span + span{ color:#b8860b; }
@media (min-width:960px){
  .fu-pageHeader--voice .fu-pageHeader__catch{
    position:absolute; left:max(4vw, calc((100% - var(--fu-content-max, 960px)) / 2)); top:50%; transform:translateY(-35%);
    width:38%; text-align:left; font-size:clamp(22px, 2.3vw, 38px); text-shadow:0 0 14px rgba(255,255,255,.95);
  }
}
@media (max-width:959px){
  .fu-pageHeader--voice .fu-pageHeader__catch{ font-size:20px; padding:14px 12px 4px; }
}
body[data-fu-theme="dark"] .fu-pageHeader--voice .fu-pageHeader__catch{ color:#0b5a33; }
@media (max-width:959px){
  body[data-fu-theme="dark"] .fu-pageHeader--voice .fu-pageHeader__catch{ color:#9fe0b8; }
  body[data-fu-theme="dark"] .fu-pageHeader__catch span + span{ color:#e9cf86; }
}

/* 2026-10-25（3）代表挨拶：画面幅によって、あいさつ文が上の見出しの帯に重なっていたのを修正。
   写真とあいさつ文を同じマスに重ね、文が長いときは写真の高さのほうを伸ばす（写真は右寄せで切り取り） */
@media (min-width:960px){
  .fu-pageHeader.fu-pageHeader--leadIn{ display:grid; grid-template-columns:1fr; }
  .fu-pageHeader--leadIn > h1, .fu-pageHeader--leadIn > .fu-title-green{ grid-row:1; grid-column:1; }
  .fu-pageHeader--leadIn > picture{ grid-row:2; grid-column:1; display:block; min-height:0; }
  .fu-pageHeader--leadIn > picture img{ width:100%; height:100%; aspect-ratio:16 / 5; object-fit:cover; object-position:right center; }
  .fu-pageHeader--leadIn .fu-pageHeader__lead{
    grid-row:2; grid-column:1; position:relative !important; top:auto; left:auto; bottom:auto; transform:none;
    align-self:center; z-index:1;
    margin:28px 0 28px max(4vw, calc((100% - var(--fu-content-max, 960px)) / 2)) !important;
  }
}


/* ==========================================================================
   2026-10-25 小学部LP：階段式カリキュラムに豆柴くん
   ・段を1段ずつ JS で出し（.is-in）、豆柴くんが段の右端を降りていく
   ・7段目から矢印に飛び移って駆け上がり、1段目に戻る
   ・スプライト：img/2026/shogaku/mameshiba-run.webp（10コマ横並び）
   ========================================================================== */
.lp-container .cut-stairs li{ width: calc(26% + var(--i) * 9.5%); }                 /* 26% → 83%：1段の踏み面を長く */
@media (max-width: 900px){ .lp-container .cut-stairs li{ width: calc(36% + var(--i) * 7.5%); } }  /* タブレット：元の幅（1・2段目が折り返さないように） */
@media (max-width: 600px){ .lp-container .cut-stairs li{ width: calc(70% + var(--i) * 3.5%); } }  /* スマホ：70% → 91% */
.lp-container .cut-stairs-wrap.has-dog{ padding-top: 34px; }                          /* 1段目の上に豆柴が立つ場所 */
.lp-container .cut-stairs-wrap.has-dog.js li{ transition-delay: 0s; }                  /* 段は JS で1段ずつ出す */
.lp-container .cut-stairs-wrap.has-dog.js li.is-in{ opacity: 1; transform: none; }
.cut-stairs__dog{ position: absolute; left: 0; top: 0; width: 60px; height: 45px; z-index: 2;
  background: no-repeat 0 0 / 1000% 100%; transform-origin: 50% 90%; opacity: 0; pointer-events: none; will-change: transform; }
@media (max-width: 600px){ .cut-stairs__dog{ width: 44px; height: 33px; } }
body[data-fu-theme="dark"] .cut-stairs__dog{ filter: drop-shadow(0 0 1px rgba(255,255,255,.55)) drop-shadow(0 0 3px rgba(255,255,255,.25)); }

/* ==========================================================================
   2026-10-25 ページの先頭へ戻るボタン：おすわりの豆柴くん＋「トップへ」
   ・マークアップ（footer-2026.php）
     <a href="#" class="fu-to-top" aria-label="ページの先頭へ">
       <span class="fu-to-top__dog" aria-hidden="true"></span><span class="fu-to-top__label" aria-hidden="true">トップへ</span></a>
   ・出す／飛ばすの合図は origin-2026.js（.is-show ／ .is-jump）
   ========================================================================== */
.fu-to-top{
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.fu-to-top.is-show{ opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease; }
.fu-to-top__dog{
  display: block; width: 34px; aspect-ratio: 196 / 360;
  background: url(../img/2026/mascot-shiba.webp) center bottom / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.18));
  transform-origin: 50% 100%;
}
.fu-to-top__label{
  display: block; font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap;
  padding: 5px 9px; border-radius: 999px;
  background: var(--fu-brand, #006039); color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: opacity .2s ease;
}
.fu-to-top__label::before{ content: "▲"; font-size: .75em; margin-right: 3px; vertical-align: .1em; }
@media (min-width: 768px){
  .fu-to-top__dog{ width: 40px; }
  .fu-to-top__label{ font-size: 12px; }
}
/* 出てくるとき：画面の上のほうから、右下までストンと降りて座る */
.fu-to-top.is-show .fu-to-top__dog{ animation: fu-totop-in .75s cubic-bezier(.45,0,.4,1.35) both; }
@keyframes fu-totop-in{
  0%  { transform: translateY(-55vh) scaleY(1.12) scaleX(.92); opacity: 0; }
  12% { opacity: 1; }
  72% { transform: translateY(0) scaleY(.84) scaleX(1.08); }
  100%{ transform: none; opacity: 1; }
}
/* 定位置：ページ最初の写真（ヒーロー）の右下。場所は origin-2026.js が決める */
.fu-to-top-home{
  position: absolute; left: 0; top: 0; z-index: 5;
  width: 34px; aspect-ratio: 196 / 360;
  background: url(../img/2026/mascot-shiba.webp) center bottom / contain no-repeat;
  filter: drop-shadow(0 0 1.5px rgba(255,255,255,.9)) drop-shadow(0 3px 4px rgba(0,0,0,.25));
  transform-origin: 50% 100%;
  opacity: 0; pointer-events: none;
}
@media (min-width: 768px){ .fu-to-top-home{ width: 40px; } }
.fu-to-top-home.is-on{ opacity: 1; animation: fu-totop-land .6s cubic-bezier(.45,0,.4,1.35) both; }
.fu-to-top-home.is-on.is-late{ animation-delay: .45s; }        /* 右下から飛んでいった豆柴くんが、少しあとに着地 */
@keyframes fu-totop-land{
  0%  { transform: translateY(-160px) scaleY(1.1) scaleX(.94); opacity: 0; }
  15% { opacity: 1; }
  70% { transform: translateY(0) scaleY(.84) scaleX(1.08); }
  100%{ transform: none; opacity: 1; }
}
/* 押したとき：ぐっとしゃがんで、上へピヨーン */
.fu-to-top.is-jump .fu-to-top__dog{ animation: fu-totop-jump .85s cubic-bezier(.45,0,.7,.2) forwards; }
.fu-to-top.is-jump .fu-to-top__label{ opacity: 0; }
@keyframes fu-totop-jump{
  0%  { transform: none; }
  18% { transform: scaleY(.78) scaleX(1.12); }
  32% { transform: translateY(-14px) scaleY(1.12) scaleX(.94); }
  100%{ transform: translateY(-110vh) scaleY(1.18) scaleX(.9); }
}
/* 暗い地の上では、黒い毛が沈まないよう白いふちをうっすら */
body[data-fu-theme="dark"] .fu-to-top__dog{ filter: drop-shadow(0 0 1.5px rgba(255,255,255,.9)) drop-shadow(0 0 6px rgba(255,255,255,.3)); }
/* 押したとき（ヒーローのあるページ）：定位置まで飛んで、減速して止まる。動きは origin-2026.js が付ける */
.fu-to-top.is-going .fu-to-top__dog{ animation: none; transform-origin: 50% 100%; }
.fu-to-top.is-going .fu-to-top__label{ opacity: 0; }
.fu-to-top.is-going{ z-index: 1000; }                 /* 飛んでいる間はヘッダーより手前 */
.fu-to-top.is-instant, .fu-to-top.is-instant *{ transition: none !important; }
.fu-to-top-home.is-on.is-still{ animation: none; }   /* 飛んできて着いたときは、そのまま座る */
@media (prefers-reduced-motion: reduce){
  .fu-to-top.is-show .fu-to-top__dog,
  .fu-to-top-home.is-on{ animation: none; }
}

/* ==========================================================================
   2026-10-25 下層ページの見出し（h1）を、PCでは写真の左下に重ねる
   --------------------------------------------------------------------------
   ・これまで：写真の上に緑の帯（約60px）→ その下に写真
   ・PC（960px以上）：帯をやめ、写真の左下に「左から右へ透けていく緑の帯」を重ねる
       文字は白・明朝のまま少し大きく。帯の上辺に、右へ消えていく金の細線
   ・スマホ・タブレット（959px以下）：これまでどおり写真の上の帯
   ・写真の左下に人の顔などがあるページは .fu-pageHeader--titleTop で左上へ
   ・代表挨拶（.fu-pageHeader--leadIn：あいさつ文を写真に重ねている）は対象外
   ・豆柴くんの定位置は写真の右下なので、ぶつからない
   ========================================================================== */
@media (min-width: 768px){
  .fu-pageHeader:not(.fu-pageHeader--leadIn) > h1{
    position: absolute; left: 0; bottom: 0; z-index: 2;
    width: auto; max-width: min(88%, 1000px);
    margin: 0;
    padding-top: 16px; padding-bottom: 15px; padding-right: 96px;   /* 左の余白は layout_2026.css（本文の左端にそろえる） */
    background: linear-gradient(90deg, rgba(0,48,28,.94) 0%, rgba(0,48,28,.86) 50%, rgba(0,48,28,.55) 78%, rgba(0,48,28,0) 100%);
    color: #fff;
    font-size: clamp(1.4rem, .9vw + 1rem, 1.85rem);
    letter-spacing: .06em;
    text-shadow: 0 1px 3px rgba(0,0,0,.35);
  }
  /* 金の線：帯の上辺に、右へ消えていく細い線（写真の下の金の線と二重にならないように） */
  .fu-pageHeader:not(.fu-pageHeader--leadIn) > h1::after{
    top: 0; bottom: auto; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #a8842c 0%, #f0dea8 35%, rgba(240,222,168,.6) 70%, rgba(240,222,168,0) 100%);
  }
  /* 左上に置くページ（写真の左下に顔などがあるとき） */
  .fu-pageHeader--titleTop:not(.fu-pageHeader--leadIn) > h1{ top: 0; bottom: auto; }
  .fu-pageHeader--titleTop:not(.fu-pageHeader--leadIn) > h1::after{ top: auto; bottom: 0; }
}


/* ==========================================================================
   2026-10-27 高等部（EB動画・英文法の写真）／保護者様の声（顔12名）／小学部（声1列）／個人情報（写真なし）
   ========================================================================== */
/* --- 高等部：English Booster 講座概要の右に配信映像（16:9 なので少し広め） --- */
.fu-side--clip { width: 42%; max-width: 360px; }
.fu-eb-box { display: flow-root; }
.fu-clip-sound {
  display: block; width: 100%; margin: 8px 0 0; padding: 8px 10px;
  border: 1px solid #0b5a33; border-radius: 6px; background: #fff; color: #0b5a33;
  font-weight: 700; font-size: 14px; cursor: pointer;
}
.fu-clip-sound[hidden] { display: none; }
.fu-clip-sound:hover, .fu-clip-sound:focus-visible { background: #0b5a33; color: #fff; }
body[data-fu-theme="dark"] .fu-clip-sound { background: #1d2a24 !important; color: #9fe0b8 !important; border-color: #9fe0b8 !important; }
body[data-fu-theme="dark"] .fu-clip-sound:hover { background: #9fe0b8 !important; color: #0b2a1a !important; }

/* --- 高等部：入試英文法基礎講座のリード（右に写真・6行で左寄せ） --- */
.fu-gram-box { display: flow-root; }
.fu-gram-box:has(> .fu-side) .fu-care-lead,
.fu-gram-box:has(> .fu-side) .fu-eng-meta { text-align: left; }
.fu-gram-box > .fu-side ~ .fu-care,
.fu-gram-box > .fu-side ~ h3 { clear: both; }

/* --- 保護者様の声：顔は列数を固定（PC・タブレット5列／スマホ4列）。最後の段は中央にそろえる（2026-11-06） --- */
.fu-faces.fu-faces--fixed { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 760px; margin-left: auto; margin-right: auto; }
.fu-faces.fu-faces--fixed img { width: calc((100% - 48px) / 5); }
@media (max-width: 600px) {
  .fu-faces.fu-faces--fixed { gap: 10px; }
  .fu-faces.fu-faces--fixed img { width: calc((100% - 30px) / 4); }
}

/* --- 小学部：子どもたちの声は1列（横いっぱいに縦に並べる） --- */
.fu-koe.fu-koe--1col { grid-template-columns: 1fr; }

/* --- 個人情報保護方針：写真なしのページ見出し（PCでも帯だけ） --- */
.fu-pageHeader--noimg > h1,
.fu-pageHeader--noimg > .fu-title-green { position: static !important; max-width: none !important; margin-bottom: 24px !important; }
@media (min-width: 960px) {
  .fu-pageHeader--noimg > h1 { background: linear-gradient(90deg, rgba(0,48,28,.94) 0%, rgba(0,48,28,.86) 60%, rgba(0,48,28,.7) 100%) !important; }
}

/* 2026-10-27(2) 調整：スマホでは動画を横いっぱい／英文法リードはスマホで自然に折り返す／写真なし見出しの下のすき間をなくす／小学部の理念（写真あり）は左寄せ */
@media (max-width: 600px) {
  .fu-side.fu-side--clip { width: 100%; max-width: none; }
  .fu-gram-box .fu-care-lead br { display: none; }
  .fu-gram-box .fu-care-lead .fu-nb { white-space: normal; }
}
.fu-pageHeader--noimg > h1,
.fu-pageHeader--noimg > .fu-title-green { margin-bottom: 0 !important; }
.philosophy:has(> .fu-side) > p { text-align: left; }
.philosophy:has(> .fu-side) > p[style*="right"] { text-align: right; }


/* ==========================================================================
   2026-10-27(3) 下層ページの見出し（h1）を「白抜き」に（10/25 の案A を本番へ）
   --------------------------------------------------------------------------
   ・PC（960px以上）だけ。緑のグラデーションの帯をやめ、白い明朝＋やわらかい影で写真に直接のせる
   ・文字の下に金の短い線。文字のある角だけ、ほんのり暗くして読みやすく
   ・置く場所はページごとに .fu-pageHeader に足すクラスで決める
       （なし）＝左下／--titleTop＝左上／--titleTopRight＝右上／--titleRight＝右下
   ・スマホ・タブレット（959px以下）はこれまでどおり写真の上の帯
   ・代表挨拶（--leadIn）と写真なし（--noimg）は対象外
   ========================================================================== */
@media (min-width: 768px){
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg) > h1{
    position: absolute; z-index: 2; top: auto; bottom: 26px; right: auto;
    left: max(var(--fu-side), calc((100% - var(--fu-content-max)) / 2));
    width: auto; max-width: 62%;
    margin: 0;
    padding: 0 !important; background: none !important;
    color: #fff; font-size: clamp(1.6rem, 1.1vw + 1.1rem, 2.15rem); letter-spacing: .08em;
    text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 14px rgba(0,0,0,.5), 0 0 32px rgba(0,0,0,.35);
  }
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg) > h1::after{
    top: auto; bottom: -12px; left: 0; right: auto; width: 4em; height: 2px;
    background: linear-gradient(90deg, #f0dea8, #c8a24a); box-shadow: 0 1px 4px rgba(0,0,0,.4);
  }
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg):has(> h1)::before{
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: radial-gradient(ellipse 55% 75% at 0% 100%, rgba(0,25,14,.55), rgba(0,25,14,0) 70%);
  }
  /* 左上 */
  .fu-pageHeader--titleTop:not(.fu-pageHeader--leadIn) > h1{ top: 26px !important; bottom: auto !important; }
  .fu-pageHeader--titleTop:not(.fu-pageHeader--leadIn):has(> h1)::before{
    background: radial-gradient(ellipse 55% 75% at 0% 0%, rgba(0,25,14,.55), rgba(0,25,14,0) 70%) !important;
  }
  /* 右上・右下（文字も金の線も右そろえ） */
  .fu-pageHeader--titleTopRight:not(.fu-pageHeader--leadIn) > h1,
  .fu-pageHeader--titleRight:not(.fu-pageHeader--leadIn) > h1{
    left: auto !important;
    right: max(var(--fu-side), calc((100% - var(--fu-content-max)) / 2)) !important;
    text-align: right;
  }
  .fu-pageHeader--titleTopRight:not(.fu-pageHeader--leadIn) > h1{ top: 26px !important; bottom: auto !important; }
  .fu-pageHeader--titleTopRight:not(.fu-pageHeader--leadIn) > h1::after,
  .fu-pageHeader--titleRight:not(.fu-pageHeader--leadIn) > h1::after{
    left: auto !important; right: 0 !important;
    background: linear-gradient(90deg, #c8a24a, #f0dea8) !important;
  }
  .fu-pageHeader--titleTopRight:not(.fu-pageHeader--leadIn):has(> h1)::before{
    background: radial-gradient(ellipse 55% 75% at 100% 0%, rgba(0,25,14,.55), rgba(0,25,14,0) 70%) !important;
  }
  .fu-pageHeader--titleRight:not(.fu-pageHeader--leadIn):has(> h1)::before{
    background: radial-gradient(ellipse 55% 75% at 100% 100%, rgba(0,25,14,.55), rgba(0,25,14,0) 70%) !important;
  }
}

/* ==========================================================
   VocaBooster のアイコン（2026-10-27）
   ========================================================== */
.fu-voca::after{content:"";display:block;clear:both}
.fu-voca__icon{float:right;width:112px;height:auto;margin:2px 0 10px 20px;border-radius:22%;box-shadow:0 4px 12px rgba(0,0,0,.14)}
@media (max-width:600px){.fu-voca__icon{width:80px;margin:2px 0 8px 14px}}

/* ==========================================================
   ページの終わり〜フッターの間をつめる（2026-10-31）
   フッターのお問い合わせボタンは外した（各ページの最後に必ずあるため）
   ========================================================== */
.fu-siteFooter{margin-top:1.5rem}
.fu-main-content .page-content{padding-bottom:1.5rem}
.lp-container{padding-bottom:16px}
.lp-container > :last-child{margin-bottom:0}

/* ==========================================================
   2026-10-31 見出し（h1）を写真に重ねるのをタブレット（768px〜）からに。スマホは今までどおり帯
   実績ページ（.fu-xh のコラージュ）は、カードに隠れないよう上の中央に
   ========================================================== */
@media (min-width: 768px){
  .fu-pageHeader:has(> .fu-xh) > h1{
    top: 20px !important; bottom: auto !important; left: 50% !important; right: auto !important;
    transform: translateX(-50%); text-align: center; white-space: nowrap; max-width: none; z-index: 30;
  }
  .fu-pageHeader:has(> .fu-xh) > h1::after{ left: 50% !important; right: auto !important; transform: translateX(-50%); }
  .fu-pageHeader:has(> .fu-xh):has(> h1)::before{
    z-index: 2 !important;  /* 11/19：29だと写真のカードの上にかかり、もやに見えたので、カードの下へ */
    background: radial-gradient(ellipse 24% 34% at 50% 0%, rgba(0,25,14,.6), rgba(0,25,14,0) 70%) !important;
  }
}

/* ==========================================================
   2026-10-31 詳細ページの一番下：4つのLPへのカード＋無料体験（.fu-lp-gates）
   ========================================================== */
.fu-lp-gates{margin:48px 0 8px}
.fu-lp-gates__title{text-align:center;font-weight:700;font-size:1.15rem;margin:0 0 14px}
.fu-lp-gates__list{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;list-style:none;padding:0;margin:0}
.fu-lp-gates__list a{display:block;height:100%;padding:16px 12px;border-radius:12px;border:2px solid var(--fu-brand);background:var(--fu-card);color:var(--fu-ground-ink);text-decoration:none;text-align:center;transition:transform .15s}
.fu-lp-gates__list a:hover{transform:translateY(-2px)}
.fu-lp-gates__list b{display:block;font-size:1.1rem;color:var(--fu-brand)}
.fu-lp-gates__list span{display:block;font-size:.85rem;margin-top:4px}
.fu-lp-gates__cta{text-align:center;margin:22px 0 0}
@media (max-width:768px){.fu-lp-gates__list{grid-template-columns:repeat(2,1fr)}}

/* ==========================================================
   2026-10-31 写真チェックの直し
   ・スマホ：横の写真を 16:9 に切るのをやめ、元の形のまま（引きで）全体を見せる（上の 2026-10-16 の指定を削除）
     縦長の写真は横幅80%・中央。大きめ（--large）もスマホでは横いっぱい
   ・代表挨拶・保護者様の声のトップ：スマホ・タブレットでは 16:9（顔が切れないように）
   ・実績トップ：「視差効果を減らす」設定で、言葉が右下にずれていたのを直す
   ========================================================== */
@media (max-width: 600px){
  .fu-side--large{ width:100%; max-width:none; }
  .fu-side--tall{ width:80% !important; margin-left:auto !important; margin-right:auto !important; }
}
@media (max-width: 960px){
  .fu-pageHeader--sp169 img{ aspect-ratio:16/9; object-position:center; }
}
@media (prefers-reduced-motion:reduce){ .fu-xh__text{ transform:translate(-50%,-50%) !important; } }

/* ==========================================================
   2026-10-31 統合案を採用：入会までの流れ＋お問い合わせ／代表挨拶＋著書・メディア掲載
   ========================================================== */
.fu-flowsteps{counter-reset:s;list-style:none;padding:0;margin:16px 0;display:grid;gap:10px}
.fu-flowsteps li{counter-increment:s;position:relative;padding:12px 14px 12px 56px;border:2px solid var(--fu-brand);border-radius:10px;background:var(--fu-card);color:var(--fu-ground-ink);line-height:1.6}
.fu-flowsteps li::before{content:counter(s);position:absolute;left:12px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:var(--fu-brand);color:#fff;display:grid;place-items:center;font-weight:700}
.fu-flowsteps small{display:block;opacity:.8}
details.fu-details{border:1px solid rgba(127,127,127,.4);border-radius:10px;padding:10px 14px;margin:12px 0;background:var(--fu-card);color:var(--fu-ground-ink)}
details.fu-details summary{cursor:pointer;font-weight:700}
.fu-details__links{margin:8px 0 0;padding-left:1.2em;line-height:1.9}
.fu-form-mock{border:2px solid var(--fu-brand);border-radius:12px;padding:20px;margin:16px 0 24px;background:var(--fu-card);color:var(--fu-ground-ink)}
.fu-form-mock label{display:block;font-weight:700;margin:12px 0 4px}
.fu-form-mock__in{height:40px;border:1px solid #bbb;border-radius:6px;background:rgba(127,127,127,.08)}
.fu-form-mock__ta{height:110px;border:1px solid #bbb;border-radius:6px;background:rgba(127,127,127,.08)}
.fu-form-mock__btn{display:block;width:min(320px,100%);margin:20px auto 0;padding:14px;border-radius:999px;background:#2f6fb5;color:#fff;text-align:center;font-weight:700}
.fu-book{display:grid;grid-template-columns:160px 1fr;gap:20px;align-items:center;border:2px solid var(--fu-brand);border-radius:12px;padding:20px;background:var(--fu-card);color:var(--fu-ground-ink);margin:16px 0}
.fu-book__cover{aspect-ratio:2/3;border:2px dashed #aaa;border-radius:6px;display:grid;place-items:center;text-align:center;font-size:.85rem;color:#777;background:rgba(127,127,127,.08)}
.fu-book__cover img{width:100%;height:100%;object-fit:cover;border-radius:4px}
.fu-book__title{margin:0;font-weight:700;font-size:1.1rem}
.fu-book__text{margin:.4em 0 0}
.fu-book__btn{display:inline-block;margin-top:10px;padding:10px 22px;border-radius:999px;background:#f0a020;color:#222 !important;font-weight:700;text-decoration:none}
.fu-articles{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
.fu-articles a{display:block;border:1px solid rgba(127,127,127,.4);border-radius:12px;padding:16px;background:var(--fu-card);color:var(--fu-ground-ink);text-decoration:none}
.fu-articles b{display:block;color:var(--fu-brand);font-size:1.05rem}
.fu-articles small{display:block;margin-top:6px;opacity:.8}
.fu-articles i{display:block;font-style:normal;margin-top:8px;font-weight:700}
@media (max-width:600px){.fu-book{grid-template-columns:100px 1fr;gap:14px;padding:14px}.fu-articles{grid-template-columns:1fr}}

/* ==========================================================
   2026-10-31(2)
   ・ダークで文字が見えなかった件：カードの地（--fu-card）の上は --fu-card-ink にする
     （.fu-lp-gates／.fu-flowsteps／.fu-details／.fu-form-mock／.fu-book／.fu-articles）
   ・下層ページの見出し（h1・白抜き）を読みやすく：文字のある角の暗さを強め、影も少し強く
   ========================================================== */
.fu-lp-gates__list a,.fu-flowsteps li,details.fu-details,.fu-form-mock,.fu-book,.fu-articles a{color:var(--fu-card-ink,#14231c)}
@media (min-width: 768px){
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg) > h1{
    text-shadow: 0 1px 2px rgba(0,0,0,.75), 0 2px 10px rgba(0,0,0,.65), 0 0 28px rgba(0,0,0,.5) !important;
  }
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg):not(:has(> .fu-xh)):has(> h1)::before{
    background: radial-gradient(ellipse 62% 90% at 0% 100%, rgba(0,22,12,.78), rgba(0,22,12,.35) 45%, rgba(0,22,12,0) 75%) !important;
  }
  .fu-pageHeader--titleTop:not(.fu-pageHeader--leadIn):has(> h1)::before{
    background: radial-gradient(ellipse 62% 90% at 0% 0%, rgba(0,22,12,.78), rgba(0,22,12,.35) 45%, rgba(0,22,12,0) 75%) !important;
  }
  .fu-pageHeader--titleTopRight:not(.fu-pageHeader--leadIn):has(> h1)::before{
    background: radial-gradient(ellipse 62% 90% at 100% 0%, rgba(0,22,12,.78), rgba(0,22,12,.35) 45%, rgba(0,22,12,0) 75%) !important;
  }
  .fu-pageHeader--titleRight:not(.fu-pageHeader--leadIn):has(> h1)::before{
    background: radial-gradient(ellipse 62% 90% at 100% 100%, rgba(0,22,12,.78), rgba(0,22,12,.35) 45%, rgba(0,22,12,0) 75%) !important;
  }
}

/* ==========================================================
   2026-10-31(3) 下層ページの見出し（h1）：文字の後ろに濃いグレーの箱（角丸・少しぼかし）を敷いて際立たせる
   ・タブレット・PC（768px〜）。スマホは今までどおり帯
   ・実績ページ（上の中央）も同じ
   ========================================================== */
@media (min-width: 768px){
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg) > h1.fu-title-green{
    background: rgba(22,26,24,.66) !important;
    padding: .28em .8em .34em !important;
    border-radius: 8px;
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
  }
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg) > h1.fu-title-green::after{
    bottom: 6px !important; left: .8em !important; width: 3.5em !important;
  }
  .fu-pageHeader--titleRight:not(.fu-pageHeader--leadIn) > h1.fu-title-green::after,
  .fu-pageHeader--titleTopRight:not(.fu-pageHeader--leadIn) > h1.fu-title-green::after{ left: auto !important; right: .8em !important; }
  .fu-pageHeader:has(> .fu-xh) > h1.fu-title-green::after{ left: 50% !important; right: auto !important; transform: translateX(-50%); }
}

/* 2026-10-31(4) 見出しの箱を明るめに（.66→.42）、金の線を箱の下いっぱい近くまで */
@media (min-width: 768px){
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg) > h1.fu-title-green{ background: rgba(22,26,24,.42) !important; }
  .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg) > h1.fu-title-green::after,
  .fu-pageHeader--titleRight:not(.fu-pageHeader--leadIn) > h1.fu-title-green::after,
  .fu-pageHeader--titleTopRight:not(.fu-pageHeader--leadIn) > h1.fu-title-green::after,
  .fu-pageHeader:has(> .fu-xh) > h1.fu-title-green::after{
    left: .8em !important; right: .8em !important; width: auto !important; transform: none !important;
  }
}

/* 2026-10-31(5) お問い合わせ：持ち物の「開く」を押したくなる形に（.fu-details--cta） */
details.fu-details--cta{border:2px solid #c8a24a;background:#fff8e6;padding:0;overflow:hidden}
details.fu-details--cta > summary{list-style:none;display:flex;align-items:center;gap:.6em;padding:14px 16px;color:#5a4300;font-weight:700;cursor:pointer;transition:background .15s}
details.fu-details--cta > summary::-webkit-details-marker{display:none}
details.fu-details--cta > summary:hover{background:#ffefc4}
details.fu-details--cta > summary b{color:#b0700a}
.fu-details__icon{font-size:1.3em;line-height:1}
.fu-details__hint{margin-left:auto;flex:none;font-size:.82em;font-weight:700;color:#fff;background:#c8a24a;border-radius:999px;padding:4px 12px 4px 10px}
.fu-details__hint::before{content:"▼ "}
details.fu-details--cta[open] .fu-details__hint::before{content:"▲ "}
details.fu-details--cta[open] .fu-details__hint{font-size:0}
details.fu-details--cta[open] .fu-details__hint::after{content:"閉じる";font-size:.82rem}
details.fu-details--cta[open] .fu-details__hint::before{font-size:.82rem}
details.fu-details--cta > :not(summary){margin-left:16px;margin-right:16px;color:var(--fu-card-ink,#14231c)}
details.fu-details--cta > :last-child{margin-bottom:14px}
@media (max-width:600px){details.fu-details--cta > summary{flex-wrap:wrap;gap:.4em}.fu-details__hint{margin-left:0}}

/* ==========================================================
   2026-10-31(6) 箸休めの写真の帯（.fu-breather）
   ・4枚固定。PC＝4:3、タブレット・スマホ＝正方形（どの幅でも全員が見える。端から隠さない）
   ・正方形のときは、写真ごとの --fu-p11（横の位置）で人を中心に残す
   ========================================================== */
.fu-breather{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:44px auto;max-width:1000px}
.fu-breather figure{margin:0}
.fu-breather img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 40%;border-radius:8px}
@media (max-width:960px){ .fu-breather{gap:6px;margin:32px auto} .fu-breather img{aspect-ratio:1/1;object-position:var(--fu-p11,50%) 40%} }
@media (max-width:600px){ .fu-breather{gap:4px} .fu-breather img{border-radius:6px} }

/* 2026-10-31(7) 箸休めの帯：本文の列の端から端まで・すき間4px・角丸なし（写真の帯らしく） */
.fu-breather{max-width:none;width:100%;gap:4px;margin:44px 0}
.fu-breather img{border-radius:0}
@media (max-width:960px){ .fu-breather{gap:3px;margin:32px 0} }
@media (max-width:600px){ .fu-breather{gap:2px} .fu-breather img{border-radius:0} }

/* 2026-11-01 高等部 English Booster「こんな悩みありませんか？」：3つのカード（PC・タブレットは横3つ、スマホは縦） */
.fu-worry3{list-style:none;padding:0;margin:12px 0 4px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.fu-worry3 li{margin:0;padding:14px 12px;border-radius:10px;background:var(--fu-card,#fff);color:var(--fu-card-ink,#14231c);border:2px solid #d9534f;text-align:center;font-weight:700;line-height:1.5;display:flex;flex-direction:column;align-items:center;justify-content:center}
@media (max-width:600px){ .fu-worry3{grid-template-columns:1fr;gap:8px} .fu-worry3 li{padding:12px} }

/* 2026-11-01 高等部 English Booster「この講座で学べること」：一覧の右に短い動画（スマホは一覧の下） */
.fu-learn{display:grid;grid-template-columns:1fr 42%;gap:18px;align-items:center}
.fu-learn > ul{margin:0}
.fu-learn__clip{margin:0}
.fu-learn__clip video{display:block;width:100%;height:auto;border-radius:8px}
.fu-learn__clip figcaption{font-size:.82rem;text-align:center;margin-top:4px;opacity:.8}
@media (max-width:600px){ .fu-learn{grid-template-columns:1fr;gap:12px} }

/* ==========================================================================
   2026-11-01 ヒーロー下の線を金に統一／代表挨拶の見出しをほかのページと同じ形に
   ========================================================================== */
/* LP：写真の下の緑の線 → 金の線（下層ページと同じ2px） */
.lp-hero-image{ border-bottom: 2px solid transparent !important; border-image: var(--fu-gold-line) 1; }
/* トップ：スライダーの下の緑の線 → 金の線 */
.fu-hero-wrap{ border-bottom: 2px solid transparent !important; border-image: var(--fu-gold-line) 1; }

/* 代表挨拶：見出しを写真の左上に、ほかのページと同じ白い文字＋グレーの箱で（タブレット・PC。スマホは帯のまま） */
@media (min-width: 768px){
  .fu-pageHeader--leadIn{ position: relative; }
  .fu-pageHeader--leadIn > h1.fu-title-green{
    color: #fff !important; margin: 0 !important; width: auto; max-width: 70%;
    font-size: clamp(1.4rem, 1vw + 1rem, 2rem); letter-spacing: .08em;
    text-shadow: 0 1px 2px rgba(0,0,0,.75), 0 2px 10px rgba(0,0,0,.65), 0 0 28px rgba(0,0,0,.5);
    background: rgba(22,26,24,.42) !important;
    padding: .28em .8em .34em !important; border-radius: 8px;
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    box-shadow: 0 4px 18px rgba(0,0,0,.25);
    z-index: 3;
  }
  .fu-pageHeader--leadIn > h1.fu-title-green::after{
    content: ""; position: absolute; top: auto; bottom: 6px; left: .8em; right: .8em; width: auto; height: 2px;
    background: linear-gradient(90deg, #f0dea8, #c8a24a); box-shadow: 0 1px 4px rgba(0,0,0,.4);
  }
}
@media (min-width: 768px) and (max-width: 959px){
  .fu-pageHeader--leadIn > h1.fu-title-green{ position: absolute; top: 22px; left: var(--fu-side, 24px); }
}
@media (min-width: 960px){
  .fu-pageHeader--leadIn > h1.fu-title-green{
    grid-row: 2 !important; grid-column: 1; position: relative;
    align-self: start; justify-self: start;
    margin: 24px 0 0 max(4vw, calc((100% - var(--fu-content-max, 960px)) / 2)) !important;
  }
  .fu-pageHeader--leadIn .fu-pageHeader__lead{ margin-top: 104px !important; }
}

/* 2026-11-01 著書：副題 */
.fu-book__sub{display:block;font-size:.85em;font-weight:500;margin-top:.3em;opacity:.85}

/* 2026-11-05 著書の表紙：img/2026/message/book-cover.webp があれば枠の上に重ねて表示 */
.fu-book__cover{position:relative;overflow:hidden}
.fu-book__cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:4px}

/* 2026-11-05 著書の表紙：実際の表紙の比率（1071×1500）に合わせる */
.fu-book__cover:has(> img){aspect-ratio:1071/1500;border:0;background:none}

/* ==========================================================================
   中学部LP ヒーロー（.fu-chuhero）2026-11-07
   代表の動画の上に、楽しくて（動画）→できるようになって→役に立つ！ が
   ふわっと重なる。ふちはマスクでぼかしてつなぐ。言葉はHTMLの文字。
   スマホ（767px以下）は4:3で、下に2枚・右上に1枚。
   動きは .is-play が付いてから始まる（JSは本文の <script> 内）。
   ========================================================================== */
.fu-chuhero{position:relative;overflow:hidden;aspect-ratio:16/5;background:#c9c6c0;container-type:inline-size}
.fu-chuhero video,.fu-chuhero img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
.fu-chuhero__base{position:absolute;inset:0}
.fu-chuhero__tile{position:absolute;opacity:0;-webkit-mask-composite:source-in;mask-composite:intersect}
.fu-chuhero__w{position:absolute;z-index:5;margin:0;color:#fff;font-weight:600;letter-spacing:.05em;white-space:nowrap;line-height:1;
  text-shadow:0 2px 10px rgba(0,0,0,.55),0 0 2px rgba(0,0,0,.35);opacity:0}
@keyframes fuChuheroIn{to{opacity:1}}
.fu-chuhero.is-play .fu-chuhero__tile{animation:fuChuheroIn .9s ease-out forwards}
.fu-chuhero.is-play .fu-chuhero__w{animation:fuChuheroIn 1.1s ease-out forwards}
.fu-chuhero.is-end .fu-chuhero__tile,.fu-chuhero.is-end .fu-chuhero__w{opacity:1;animation:none}

.fu-chuhero__t-laugh{left:52%;right:0;top:40%;bottom:0;animation-delay:1.5s!important;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 12%),linear-gradient(to bottom,transparent,#000 30%);
          mask-image:linear-gradient(to right,transparent,#000 12%),linear-gradient(to bottom,transparent,#000 30%)}
.fu-chuhero__t-solve{left:49.6%;width:25.5%;top:0;height:58%;animation-delay:3.4s!important;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 16%,#000 86%,transparent),linear-gradient(to bottom,#000 70%,transparent);
          mask-image:linear-gradient(to right,transparent,#000 16%,#000 86%,transparent),linear-gradient(to bottom,#000 70%,transparent)}
.fu-chuhero__t-alumni{left:74%;right:0;top:0;height:50%;animation-delay:5s!important;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 16%),linear-gradient(to bottom,#000 68%,transparent);
          mask-image:linear-gradient(to right,transparent,#000 16%),linear-gradient(to bottom,#000 68%,transparent)}
.fu-chuhero__t-solve img{object-position:50% 30%}
.fu-chuhero__t-alumni img{object-position:50% 50%}
.fu-chuhero__w1{left:4.5%;bottom:7%;font-size:3.2cqw;animation-delay:.8s!important}
.fu-chuhero__w2{left:77%;right:auto;translate:-50% 0;bottom:6%;font-size:3.2cqw;animation-delay:2.3s!important}   /* 2026-11-09：笑う生徒の写真の中央下 */
.fu-chuhero__w3{left:43.5%;top:50%;font-size:3.2cqw;animation-delay:4.2s!important}
.fu-chuhero__w4{right:2.2%;top:27%;font-size:3.2cqw;animation-delay:5.8s!important}

@media (max-width:767px){
  .fu-chuhero{aspect-ratio:4/3}
  .fu-chuhero__t-laugh{left:0;right:auto;width:64%;top:auto;bottom:0;height:52%;
    -webkit-mask-image:linear-gradient(to bottom,transparent,#000 20%);
            mask-image:linear-gradient(to bottom,transparent,#000 20%)}
  .fu-chuhero__t-laugh video{object-position:50% 20%}
  .fu-chuhero__t-solve{left:61%;right:0;width:auto;top:auto;bottom:0;height:48%;
    -webkit-mask-image:linear-gradient(to bottom,transparent,#000 22%),linear-gradient(to right,transparent,#000 9%);
            mask-image:linear-gradient(to bottom,transparent,#000 22%),linear-gradient(to right,transparent,#000 9%)}
  .fu-chuhero__t-solve img{object-position:52% 30%}
  .fu-chuhero__t-alumni{left:auto;right:0;width:50%;top:0;bottom:auto;height:56%;
    -webkit-mask-image:linear-gradient(to right,transparent,#000 14%),linear-gradient(to bottom,#000 78%,transparent);
            mask-image:linear-gradient(to right,transparent,#000 14%),linear-gradient(to bottom,#000 78%,transparent)}
  .fu-chuhero__t-alumni img{object-position:50% 0}
  .fu-chuhero__w1{left:5%;top:6%;bottom:auto;font-size:5.6cqw}
  .fu-chuhero__w2{left:32%;right:auto;translate:-50% 0;top:auto;bottom:6%;font-size:5.6cqw}
  .fu-chuhero__w3{left:auto;right:3%;top:auto;bottom:6%;font-size:5.1cqw;letter-spacing:0}
  .fu-chuhero__w4{right:3%;left:auto;top:37%;bottom:auto;font-size:5.6cqw;letter-spacing:0}
}
@media (prefers-reduced-motion:reduce){
  .fu-chuhero .fu-chuhero__tile,.fu-chuhero .fu-chuhero__w{opacity:1;animation:none!important}
}

/* 2026-11-14：書き出しの言葉「フレンズアップの授業は」。左上に、金色で、左からすっと入り、下に金の線が引かれる。
   文字は貼り付けHTMLの <p class="fu-chuhero__w fu-chuhero__lead"> で書き換えられます。
   これが最初（0.2秒）に出て、「わかりやすくて」は少し後ろ（1.3秒）にずらしました。 */
.fu-chuhero__lead{left:4.5%;top:9%;font-size:2.5cqw;letter-spacing:.14em;color:#ffe7a0;padding-bottom:.7cqw;
  text-shadow:0 2px 10px rgba(0,0,0,.6),0 0 3px rgba(0,0,0,.45)}
.fu-chuhero__lead::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--fu-gold-line);transform-origin:left center}
@keyframes fuChuheroLead{from{opacity:0;translate:-1.8cqw 0}to{opacity:1;translate:0 0}}
@keyframes fuChuheroLine{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.fu-chuhero.is-play .fu-chuhero__lead{animation:fuChuheroLead .9s cubic-bezier(.2,.7,.2,1) .2s both}
.fu-chuhero.is-play .fu-chuhero__lead::after{animation:fuChuheroLine .8s ease-out .8s both}
/* 2026-11-15：「わかりやすくて」は代表の写真の左右まん中・下寄りへ（PC）。
   スマホは2つの言葉を代表のあごの下に縦に並べ、「わかりやすくて」を上の言葉のまん中にそろえる。「楽しくて」は少し上げて段差をつける。 */
.fu-chuhero__w1{left:25%;translate:-50% 0;bottom:auto;top:70%;animation-delay:1.3s!important}
@media (max-width:767px){
  .fu-chuhero__lead{left:5%;top:40%;font-size:3.7cqw;letter-spacing:.1em;padding-bottom:.8cqw}
  .fu-chuhero__w1{left:27.4%;translate:-50% 0;top:48%;bottom:auto}   /* 2026-11-16：2行とも下げた（動画の途中で代表の顔に重なるため） */
  .fu-chuhero__w2{bottom:11.5%}
}

/* 豆柴くんの定位置：ヒーローの右下だと「楽しくて」等にかぶるので、左寄りの見えない箱の右下に座らせる */
.fu-chuhero__anchor{position:absolute;left:0;bottom:0;width:47%;height:100%;pointer-events:none;z-index:-1}
/* 2026-11-16：スマホは豆柴くんを右下のすみに座らせる（右下の「トップへ」から真上に近い向きで飛ぶ）。
   その席を空けるため、「楽しくて」「できるようになって」を少し左へ寄せた */
@media (max-width:767px){
  .fu-chuhero__anchor{width:100%}
  .fu-chuhero__w2{left:20%}
  .fu-chuhero__w3{right:16.5%}
}

/* 2026-11-08：ほかのLPのヒーロー（picture.lp-hero-image）と同じく全幅に。下の線も同じ金の線 */
.fu-main-content .page-content > .fu-chuhero{ grid-column: bleed; }
.fu-chuhero{ border-bottom: 2px solid transparent; border-image: var(--fu-gold-line) 1; }

/* ==========================================================================
   小学部LP ヒーロー（.fu-shohero）2026-11-08
   左：教室の写真（引き→寄り）／右：笑う代表と女の子の動画（数コマで止まる）
   さかい目はぼかしてつなぐ。言葉はHTMLの文字。動きは .is-play から。
   ========================================================================== */
.fu-main-content .page-content > .fu-shohero{ grid-column: bleed; }
.fu-shohero{position:relative;overflow:hidden;aspect-ratio:16/5;background:#e9e6e0;container-type:inline-size;
  border-bottom:2px solid transparent;border-image:var(--fu-gold-line) 1}
.fu-shohero img,.fu-shohero video{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
.fu-shohero__l,.fu-shohero__r{position:absolute;top:0;bottom:0;margin:0;overflow:hidden}
.fu-shohero__l{left:0;width:62%}
.fu-shohero__r{right:0;width:44%;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 16%);mask-image:linear-gradient(to right,transparent,#000 16%)}
.fu-shohero__l::after,.fu-shohero__r::after{content:"";position:absolute;left:0;right:0;bottom:0;height:50%;
  background:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0));pointer-events:none}
.fu-shohero__w{position:absolute;left:5%;bottom:8%;z-index:2;margin:0;color:#fff;font-weight:700;letter-spacing:.05em;white-space:nowrap;line-height:1;
  font-size:3.4cqw;text-shadow:0 2px 10px rgba(0,0,0,.55);opacity:0}
.fu-shohero__r .fu-shohero__w{left:57%;transform:translateX(-50%)}   /* 2026-11-08：右の写真の見えている部分の真ん中に */
@keyframes fuShoWipe{to{clip-path:inset(0 0 0 0)}}
@keyframes fuShoIn{to{opacity:1}}
@keyframes fuShoZoom{from{transform:none}to{transform:scale(1.28) translate(-1%,1%)}}
.fu-shohero.is-play .fu-shohero__l{clip-path:inset(0 100% 0 0);animation:fuShoWipe .9s cubic-bezier(.6,.05,.25,1) .1s forwards}
.fu-shohero.is-play .fu-shohero__r{clip-path:inset(0 0 0 100%);animation:fuShoWipe .9s cubic-bezier(.6,.05,.25,1) .6s forwards}
.fu-shohero.is-play .fu-shohero__l > img{transform-origin:46% 42%;animation:fuShoZoom 4.5s cubic-bezier(.3,.3,.4,1) .1s forwards}
.fu-shohero.is-play .fu-shohero__l .fu-shohero__w{animation:fuShoIn 1.1s ease-out .9s forwards}
.fu-shohero.is-play .fu-shohero__r .fu-shohero__w{animation:fuShoIn 1.1s ease-out 1.5s forwards}
.fu-shohero.is-end .fu-shohero__w{opacity:1}
.fu-shohero.is-end .fu-shohero__l > img{transform-origin:46% 42%;transform:scale(1.28) translate(-1%,1%)}
@media (max-width:767px){
  .fu-shohero{aspect-ratio:16/9}
  .fu-shohero__w{font-size:4.4cqw}
}
@media (prefers-reduced-motion:reduce){
  .fu-shohero .fu-shohero__l,.fu-shohero .fu-shohero__r{clip-path:none!important;animation:none!important}
  .fu-shohero .fu-shohero__w{opacity:1;animation:none!important}
  .fu-shohero .fu-shohero__l > img{animation:none!important;transform-origin:46% 42%;transform:scale(1.28) translate(-1%,1%)}
}

/* 2026-11-08：「fu-no-totop」が入ったページ（個人情報保護方針）だけ、トップへボタンと豆柴くんを出さない */
body:has(.fu-no-totop) .fu-to-top,
body:has(.fu-no-totop) .fu-to-top-home{ display: none !important; }

/* ==========================================================================
   オンライン校LP ヒーロー（.fu-onhero）2026-11-08
   左：教室（代表）／右：ご自宅（モニターの代表を見る生徒）。さかい目の白い線は残す。
   左は左から、右は右から出て、左は代表へ・右は少し遅れてモニターへゆっくり寄る。
   スマホ（767px以下）はご自宅1枚が画面と生徒へゆっくり寄る。動きは .is-play から。
   ========================================================================== */
.fu-onhero{position:relative;overflow:hidden;aspect-ratio:16/5;background:#fff;
  border-bottom:2px solid transparent;border-image:var(--fu-gold-line) 1}
.fu-onhero img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
.fu-onhero__l,.fu-onhero__r{position:absolute;top:0;bottom:0;margin:0;overflow:hidden}
.fu-onhero__l{left:0;width:56.2%}
.fu-onhero__r{right:0;width:43.45%}
@keyframes fuOnWipe{to{clip-path:inset(0 0 0 0)}}
@keyframes fuOnZoomL{from{transform:none}to{transform:scale(1.28)}}
@keyframes fuOnZoomR{from{transform:none}to{transform:scale(1.15)}}
.fu-onhero__l > img{transform-origin:46% 30%}
.fu-onhero__r > img{transform-origin:30% 45%}
.fu-onhero.is-play .fu-onhero__l{clip-path:inset(0 100% 0 0);animation:fuOnWipe .9s cubic-bezier(.6,.05,.25,1) .1s forwards}
.fu-onhero.is-play .fu-onhero__r{clip-path:inset(0 0 0 100%);animation:fuOnWipe .9s cubic-bezier(.6,.05,.25,1) .6s forwards}
.fu-onhero.is-play .fu-onhero__l > img{animation:fuOnZoomL 4.5s cubic-bezier(.3,.3,.4,1) .1s forwards}
.fu-onhero.is-play .fu-onhero__r > img{animation:fuOnZoomR 4.5s cubic-bezier(.3,.3,.4,1) 1.2s forwards}
.fu-onhero.is-end .fu-onhero__l > img{transform:scale(1.28)}
.fu-onhero.is-end .fu-onhero__r > img{transform:scale(1.15)}
@media (max-width:767px){
  .fu-onhero{aspect-ratio:16/9}
  .fu-onhero__l{width:100%}
  .fu-onhero__r{display:none}
  .fu-onhero__l > img{transform-origin:35% 22%}
  @keyframes fuOnZoomS{from{transform:none}to{transform:scale(1.18)}}
  .fu-onhero.is-play .fu-onhero__l{clip-path:none;animation:none}
  .fu-onhero.is-play .fu-onhero__l > img{animation:fuOnZoomS 5s cubic-bezier(.3,.3,.4,1) .1s forwards}
  .fu-onhero.is-end .fu-onhero__l > img{transform:scale(1.18)}
}
@media (prefers-reduced-motion:reduce){
  .fu-onhero .fu-onhero__l,.fu-onhero .fu-onhero__r,.fu-onhero img{animation:none!important;clip-path:none!important}
}

/* 2026-11-09：本番のWordPress（theme.json のない旧来のテーマ）は、グループブロックの中に
   <div class="wp-block-group__inner-container"> を自動で挟む。プレビューにはこの箱が無いため、
   「グループの直下（>）」で書いた指定が本番だけ効かなかった（保護者様の声のカードの間隔が0になる等）。
   挟まった箱の中も、直下と同じに扱う。 */
.fu-story-list > .wp-block-group__inner-container > * { margin-bottom: 2.5rem; }
.fu-story-list > .wp-block-group__inner-container > *:last-child { margin-bottom: 0; }
.fu-wrap > .wp-block-group__inner-container > p:last-child,
.fu-wrap > .wp-block-group__inner-container > ul:last-child { margin-bottom: 0; }
.fu-card > .wp-block-group__inner-container > .fu-side { margin-top: 0; }

/* ==========================================================
   2026-11-12 保護者様の声：タブレット（768〜959px）で
   白抜きのh1と、写真の下の「大逆転で見事、第一志望に合格！」が重なっていたのを直す
   ・この幅では言葉は写真の下にあるので、h1と暗いぼかしを写真の範囲（言葉の上）に上げる
   ========================================================== */
@media (min-width:768px) and (max-width:959px){
  .fu-pageHeader--voice{ --fu-voice-catch:84px; }
  .fu-pageHeader--voice .fu-pageHeader__catch{ box-sizing:border-box; height:var(--fu-voice-catch); }
  .fu-pageHeader--voice > h1{ bottom:calc(var(--fu-voice-catch) + 26px) !important; }
  .fu-pageHeader--voice:has(> h1)::before{ inset:0 0 var(--fu-voice-catch) 0 !important; }
}

/* ==========================================================
   2026-11-12 「無料体験に申し込む」の横の豆柴くんが、上の行の文字に重なっていたのを直す
   ・豆柴くんを少し小さく（60px → 50px）し、ボタンの上に少しすき間をあける
   ・スマホ（600px以下）はボタンの中におすわりなので、これまでどおり
   ========================================================== */
@media (min-width:601px){
  .cta-btn-large::after{ width:50px; }
  .cta-btn-large{ margin-top:22px; }
}

/* ==========================================================
   2026-11-12 代表挨拶「3つのお約束」：①②③が二重に見えていたのを直す
   ・古い番号の画像（messagae_promise-01〜03.png）が、新しい白丸の番号の後ろに残っていた
   ========================================================== */
.fu-promise--photo .fu-promise-list li::before{ background-image:none !important; }

/* ==========================================================================
   ヒーローの「幕」 2026-11-15
   ページを開いた瞬間、写真や動画が届く前に、銀色の幕を出して光の筋を一度走らせる。
   1コマ目が届いたら幕がすっと消え、そこから今までの動きが始まる。
   幕は CSS だけで描くので、画像の読み込みを待たずに必ず最初に出る。
   ・html に fu-cur が付いているときだけ出る（付けるのは header-2026.php の <script>）
   ・html に fu-cur-open が付いたら消える（合図は js/origin-2026.js と js/fu-slider-2026.js）
   ・幕が開くまで、ヒーローの中の動きは止めておく（開いてから動き出す）
   かけてあるのは、動きのあるヒーローだけ：
     トップ(#fu-hero)／小学部(.fu-shohero)／中学部(.fu-chuhero)／オンライン校(.fu-onhero)／
     実績(.fu-xh)／コース(.fu-hero-video)／高校部(video.lp-hero-image)
   写真1枚のヒーロー（声・代表挨拶・FAQ・アクセス・お問い合わせ）にはかけていない。
   固定ページのHTMLは変えていない。やめるときは header-2026.php の <script> を消すだけ。
   ========================================================================== */
/* 幕の色。ライトは明るい銀、ダークのページは落ち着いた銀緑 */
.fu-cur{--fu-cur-base:linear-gradient(120deg,#c3c9cf 0%,#eef0f2 38%,#dde1e5 62%,#b9c0c7 100%);--fu-cur-shine:rgba(255,255,255,.95)}
.fu-cur body[data-fu-theme="dark"]{--fu-cur-base:linear-gradient(120deg,#56635d 0%,#93a099 40%,#74817a 64%,#4a5650 100%);--fu-cur-shine:rgba(255,255,255,.8)}

.fu-cur .fu-shohero::after,
.fu-cur .fu-chuhero::after,
.fu-cur .fu-onhero::after,
.fu-cur .fu-xh::after,
.fu-cur .fu-pageHeader:has(> .fu-hero-video)::after,
.fu-cur .fu-main-content .page-content:has(> video.lp-hero-image)::after,
.fu-cur #fu-hero::after{content:"";position:absolute;inset:0;z-index:40;pointer-events:none;opacity:1;transition:opacity .55s ease;
  background-image:linear-gradient(105deg,transparent 40%,var(--fu-cur-shine) 50%,transparent 60%),var(--fu-cur-base);
  background-size:300% 100%,100% 100%;background-repeat:no-repeat;background-position:120% 0,0 0;
  animation:fuCurtainShine .75s cubic-bezier(.3,.1,.2,1) .12s both}
@keyframes fuCurtainShine{from{background-position:120% 0,0 0}to{background-position:-20% 0,0 0}}

/* トップは、落ち着いた銀緑の幕に、光がゆっくり走る。幕もゆっくり消して、黒をはさまずに最初の写真へ溶かす */
.fu-cur #fu-hero::after{
  background-image:linear-gradient(105deg,transparent 36%,rgba(255,255,255,.8) 50%,transparent 64%),
                   linear-gradient(120deg,#56635d 0%,#93a099 40%,#74817a 64%,#4a5650 100%);
  animation-duration:1.3s;animation-timing-function:cubic-bezier(.35,.1,.3,1);
  transition-duration:1.2s}

/* 高校部：ヒーローが <video> そのもので、囲む箱がない。本文のグリッドの同じマス（1行目・全幅）に幕を重ねる */
.fu-cur .fu-main-content .page-content > video.lp-hero-image{grid-row:1}
.fu-cur .fu-main-content .page-content:has(> video.lp-hero-image)::after{position:static;inset:auto;grid-column:bleed;grid-row:1}

/* コース：スマホでは緑の見出しの帯を幕の上に出しておく（幕は動画の上だけに見える）。
   768px 以上は見出しが写真に重なる形なので、実績と同じく幕が開いてから見える */
@media (max-width:767px){ .fu-cur .fu-pageHeader:has(> .fu-hero-video) > h1{position:relative;z-index:41} }

/* 開ける */
.fu-cur.fu-cur-open .fu-shohero::after,
.fu-cur.fu-cur-open .fu-chuhero::after,
.fu-cur.fu-cur-open .fu-onhero::after,
.fu-cur.fu-cur-open .fu-xh::after,
.fu-cur.fu-cur-open .fu-pageHeader:has(> .fu-hero-video)::after,
.fu-cur.fu-cur-open .fu-main-content .page-content:has(> video.lp-hero-image)::after,
.fu-cur.fu-cur-open #fu-hero::after{opacity:0}

/* 幕が開くまで、中の動きを止めておく */
.fu-cur:not(.fu-cur-open) :is(.fu-shohero,.fu-chuhero,.fu-onhero) :is(*,*::before,*::after){animation-play-state:paused!important}
/* 実績は transition で動くので、幕の間は「出る前」の形に戻しておく（開いた瞬間から順に出る） */
.fu-cur:not(.fu-cur-open) .fu-xh.is-on .fu-xh__item{opacity:0;transform:scale(.85) rotate(var(--r,0deg));transition:none;animation:none}
.fu-cur:not(.fu-cur-open) .fu-xh.is-on .fu-xh__text{opacity:0;transition:none}

/* ==========================================================================
   2026-11-17：旧サイトのイラスト・画像を外す（固定ページのHTMLはそのまま）
   旧サイトの絵柄（虹の上の子ども・女の子・MIRACLEの帽子・オレンジの丸ボタン）が
   新しいデザインに残っていたので、CSS で出さないようにした。
   HTML の中の <img> やクラスは残っていてもよい（公開後に消せば、この節も消せる）。
   ========================================================================== */
/* 代表挨拶「ゲームより勉強のほうが楽しい!?」右上の虹の絵 → 出さない。余白もふつうの赤見出しに戻す */
.fu-title-red.fu-title-red--star{ background-image:none; padding:.5rem 0; margin-top:2rem; }
/* 実績「ミラクルストーリー」見出しの女の子の絵 → 出さない */
.fu-story-title img{ display:none !important; }
/* 実績の成果ボックス左の MIRACLE の帽子 → 出さない。空けてあった左の余白も詰める */
.fu-story-after{ margin-left:0 !important; }
.fu-story-after::before{ display:none !important; }
/* コース「案内資料をダウンロード」：オレンジの丸い画像 → 新デザインのボタンに */
.page-content a[href$="guidance.pdf"] img{ display:none !important; }
.page-content a[href$="guidance.pdf"]{ display:inline-block; padding:.95em 2.2em; border-radius:999px;
  background:var(--fu-brand,#006039); color:#fff !important; font-weight:700; text-decoration:none !important;
  border:1px solid var(--fu-gold,#c8a24a); box-shadow:0 3px 10px rgba(0,0,0,.15); line-height:1.4; }
.page-content a[href$="guidance.pdf"]::after{ content:"入会案内（PDF）をダウンロード"; }
.page-content figure:has(> a[href$="guidance.pdf"]){ display:block; text-align:center; margin:1.5rem auto; }

/* ==========================================================================
   2026-11-18：ニュース・ブログ（記事・一覧・404）を2026デザインに
   --------------------------------------------------------------------------
   使うテンプレート：single.php／page-archive.php（/archive/）／category.php／
   date.php／index.php（検索・タグ）／404.php。一覧の中身は fu-blog-list.php。
   いずれも header-2026.php／footer-2026.php で出るので、上部固定のヘッダーと
   メニューは固定ページと同じになります。
   ========================================================================== */
/* 緑の帯（一覧は h1、記事は p）。固定ページの帯と同じく左右いっぱいに */
.fu-main-content .page-content > .fu-blog-band{ grid-column:bleed; }

/* 本文の幅。読みやすい 820px まで */
.fu-blog-wrap{ width:100%; max-width:820px; margin:0 auto 3rem; }
.fu-blog-lead{ margin:0 0 1rem; }

/* カテゴリのタブ */
.fu-blog-tabs{ display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; margin:0 0 1.25rem; padding:0; }
.fu-blog-tabs li{ margin:0; }
.fu-blog-tabs a{ display:inline-block; padding:.35em 1.1em; border:1px solid var(--fu-card-line); border-radius:999px;
  background:#fff; color:var(--fu-brand-ink); font-size:.9rem; text-decoration:none; }
.fu-blog-tabs a:hover{ border-color:var(--fu-brand); }
.fu-blog-tabs .is-current a{ background:var(--fu-brand); border-color:var(--fu-brand); color:#fff; }

/* 一覧 */
/* アイキャッチのない記事の代わりの絵（ロゴ）は、切らずに全体を見せる */
.fu-blog-item__img img.is-default{ object-fit:contain; background:#fff; }
.fu-blog-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--fu-card-line); }
.fu-blog-item{ margin:0; border-bottom:1px solid var(--fu-card-line); }
.fu-blog-item__link{ display:flex; align-items:flex-start; gap:1rem; padding:1rem 0; color:inherit; text-decoration:none; }
.fu-blog-item__link:hover .fu-blog-item__title{ text-decoration:underline; }
.fu-blog-item__img{ flex:0 0 168px; margin:0; aspect-ratio:3/2; overflow:hidden; border-radius:6px; background:#eef5f1; }
.fu-blog-item__img img{ display:block; width:100%; height:100%; object-fit:cover; }
.fu-blog-item__body{ flex:1 1 auto; min-width:0; }
.fu-blog-item__title{ margin:0 0 .3rem; padding:0; border:0; background:none; text-align:left;
  font-family:inherit; font-size:1.02rem; font-weight:bold; line-height:1.5; color:inherit; }
.fu-blog-item__text{ margin:0; font-size:.88rem; line-height:1.6; color:var(--fu-ground-quiet);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.fu-blog-empty{ margin:2rem 0; }

/* 日付とカテゴリ（一覧・記事で共通） */
.fu-blog-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:.3rem .7rem; margin:0 0 .35rem;
  font-size:.8rem; color:var(--fu-ground-quiet); }
.fu-blog-meta time{ font-variant-numeric:tabular-nums; white-space:nowrap; }
.fu-blog-cat{ display:inline-block; padding:.05rem .55rem; border:1px solid currentColor; border-radius:3px;
  font-size:max(12px,.72rem); line-height:1.6; white-space:nowrap; color:var(--fu-brand-ink); text-decoration:none; }
.fu-blog-cat--news{ color:var(--fu-gold-ink); }
.fu-blog-cat--event{ color:#b03a2e; }

/* ページ送り */
.fu-blog-pager{ margin:2rem 0 0; text-align:center; }
.fu-blog-pager .page-numbers{ display:inline-block; min-width:2.3em; margin:.15rem; padding:.35em .6em;
  border:1px solid var(--fu-card-line); border-radius:4px; color:var(--fu-brand-ink); text-decoration:none; }
.fu-blog-pager .page-numbers.current{ background:var(--fu-brand); border-color:var(--fu-brand); color:#fff; }
.fu-blog-pager .page-numbers.dots{ border-color:transparent; }

/* 過去の記事（月別）。たたんでおき、押すと開く */
.fu-blog-months{ margin:2.5rem 0 0; padding-top:1rem; border-top:1px solid var(--fu-card-line); }
.fu-blog-months summary{ cursor:pointer; font-weight:bold; color:var(--fu-brand-ink); }
.fu-blog-months ul{ display:flex; flex-wrap:wrap; gap:.3rem 1.2rem; list-style:none; margin:.8rem 0 0; padding:0; font-size:.9rem; }
.fu-blog-months li{ margin:0; }
.fu-blog-months a{ color:inherit; }

/* 記事1本 */
.fu-post__head{ margin:0 0 1.5rem; padding-bottom:1rem; border-bottom:1px solid var(--fu-card-line); }
.fu-post__title{ margin:.2rem 0 0; padding:0; background:none; color:inherit; text-align:left;
  font-size:clamp(1.25rem, 1.2vw + .9rem, 1.6rem); line-height:1.45; }
.fu-post__title::after{ content:none; }
.fu-post__body img{ max-width:100%; height:auto; }
.fu-post__body iframe{ max-width:100%; }
.fu-post__body iframe[src*="youtube"]{ width:100%; height:auto; aspect-ratio:16/9; }
.fu-post-nav{ display:flex; align-items:center; justify-content:space-between; gap:.75rem; margin:3rem 0 0;
  padding-top:1rem; border-top:1px solid var(--fu-card-line); font-size:.9rem; }
.fu-post-nav a{ color:var(--fu-brand-ink); text-decoration:none; }
.fu-post-nav a:hover{ text-decoration:underline; }
.fu-post-nav__prev, .fu-post-nav__next{ flex:1 1 0; }
.fu-post-nav__next{ text-align:right; }
.fu-post-nav__list{ flex:0 0 auto; padding:.4em 1.1em; border:1px solid var(--fu-brand); border-radius:999px; }

/* 404 */
.fu-404{ text-align:center; }
.fu-404__links{ display:flex; flex-wrap:wrap; justify-content:center; gap:.75rem; margin-top:1.5rem; }

@media screen and (max-width: 600px){
  .fu-blog-item__img{ flex-basis:104px; }
  .fu-blog-item__title{ font-size:.95rem; }
  .fu-blog-item__text{ -webkit-line-clamp:2; font-size:.82rem; }
}

/* ==========================================================================
   2026-11-19 実績ページだけ（.fu-xh のあるヘッダー）：
   見出しの後ろの半円の影をやめ、見出しの箱をグレー → 緑に。
   水色にするなら background を rgba(70,160,200,.9) に変える
   ========================================================================== */
@media (min-width: 768px){
  html body .fu-pageHeader:has(> .fu-xh):has(> h1)::before{ background: none !important; }
  html body .fu-pageHeader:not(.fu-pageHeader--leadIn):not(.fu-pageHeader--noimg):has(> .fu-xh) > h1.fu-title-green{
    background: rgba(31,122,77,.9) !important;  /* 11/19 薄い黄色も試したが字が見えず、サイトの緑に決定 */
    color: #fff !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 0 10px rgba(0,0,0,.25) !important;
  }
}

/* 2026-11-20：高校部ヒーローの動画に、エディターが width="300" height="150" を足すことがある。
   height="150" が効くと 16:5 の比率が無視されて帯が細くなり、上が切れて見える。CSS で高さを自動に戻す。 */
video.lp-hero-image{ height:auto !important; max-height:none; }
