@charset "utf-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .rsk-container / --md / --sm / --xs  - 左右padding付きコンテナ（1120 / 1000 / 900 / 820px）
 * .rsk-sec / --white / --tint / --grid - セクション余白（clamp流体）と背景バリエーション
 * .rsk-head / --center / --on-dark     - EN小ラベル + 日本語見出し
 * .rsk-head-big / --gallery            - 大型EN見出し（FEATURE / GALLERY）
 * .rsk-btn / --back / .rsk-btn-wrap    - pill型ボタンと中央寄せラッパー
 * .rsk-circ                            - 丸アイコン（矢印）。hoverで右へ移動
 * .rsk-card                            - 共通カード（影 + hover浮き）
 * .rsk-media / .rsk-ph                 - 画像フィット / 画像プレースホルダ
 * .rsk-two / --14-1                    - 汎用2カラム（820pxで縦積み・画像が先頭へ）
 * .rsk-header* / .rsk-logo / .rsk-nav* - sticky ヘッダーとテキストロゴ・2段ナビ
 * .rsk-toggle / .rsk-spnav*            - ハンバーガー / ヘッダー直下パネル型SPナビ
 * .rsk-hero*                           - 下層ページのグラデーションヒーロー
 * .rsk-cta*                            - 方眼背景の電話CTA帯
 * .rsk-footer* / .rsk-float*           - 3カラムフッター / 追従サブパネル（体験誘導 + 電話）
 * .rsk-anchor                          - ページ内リンクの着地点（追従ヘッダー分だけ手前で止める）
 * .rsk-lightbox*                       - ギャラリー拡大表示
 * .rsk-mv*                             - TOPメインビュー（CMSスライダー差し替え対応）
 * .rsk-news / .rsk-newscard*           - TOPお知らせ4列グリッド
 * .rsk-trial*                          - TOP体験セクション（背面プレート + キャラ）
 * .rsk-feat*                           - 強み2カラム行（交互反転）
 * .rsk-course* / .rsk-class*           - コースカード
 * .rsk-bnr*                            - 写真の上にタイトルが載るバナーカード
 * .rsk-badge / .rsk-badge-wrap         - 三角付きpill見出し（あるある7）
 * .rsk-seven*                          - 帯タイトル付きカード（色4種）
 * .rsk-style*                          - アイコン付きカード（授業のかたち）
 * .rsk-flow*                           - STEP番号 + 縦罫線のフロー行
 * .rsk-greet* / .rsk-mission*          - 塾長挨拶 / 指導理念（暗背景）
 * .rsk-dl / --sm                       - 定義リスト表（塾概要・体験概要）
 * .rsk-gal*                            - 4列ギャラリー（ライトボックス起動）
 * .rsk-notebox / .rsk-notes            - 未受領データの注記ボックス / 注記リスト
 * .rsk-price*                          - 料金表（見出し行ベタ塗り + コース単位ストライプ）
 * .rsk-masonry / .rsk-quote*           - 卒業生の声 masonry（__name = 生徒Aさん）
 * .rsk-review*                         - 保護者の声カード（__name = 保護者Aさん）
 * .rsk-rows / .rsk-row*                - お知らせ一覧行
 * .rsk-article*                        - 記事詳細本文
 * .rsk-reveal（[data-reveal]）         - スクロールリビール（JSで .is-in 付与）
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * ■ 値の粒度不足
 *   - 完成デザインは余白・文字サイズがすべて clamp() の流体値
 *     （section padding: clamp(3.5rem,7vw,6rem) / 見出し: clamp(24px,3vw,32px) 等）。
 *     共通の .section / .fz-* は固定値のみのため、流体値を site.css で定義した。
 *   - container 幅が 1120 / 1000 / 900 / 820px の4種。共通は 1200/1500/900 の3種で、
 *     かつ左右 padding を持たないため .rsk-container に padding 込みで定義した。
 *
 * ■ 構造不足
 *   - SPナビが「フルスクリーン」型のみ。完成デザインはヘッダー直下に開く
 *     パネル型のため、.sp-nav の is-open 機構だけ流用して見た目を差し替えた。
 *   - グリッド（方眼）背景に「線色を指定できる」バリエーションがない
 *     （.bg-grid は固定色）。CTA帯・FEATURE背景で線色が異なるため個別に定義。
 *   - 画像の上に帯タイトルが載るカード（.rsk-seven）と、
 *     背面プレートに画像を重ねる図版（.rsk-trial）に該当する component がない。
 *
 * ■ 状態不足
 *   - 「hoverで矢印だけが右に動く」表現（.rsk-btn__arw / .rsk-circ）が
 *     hover state utility になかった（hover-up / hover-scale はあるが移動方向指定不可）。
 *
 * ■ 装飾パターン不足
 *   - 下層ヒーローの「グラデーション + 発光円 + 輪郭円」の重ね装飾に
 *     該当する page-hero modifier がない（--solid は単色のみ）。
 *   - pill見出しの下に三角の吹き出しが付く形（.rsk-badge）が
 *     heading-balloon（角丸矩形前提）で再現できなかった。
 *
 * ■ 指定方向不足
 *   - .rsk-two で「SP時に画像側を先頭へ回す」指定（order:-1）が
 *     sp-* utility に存在しない。
 *
 */

/* ==========================================================================
   1. base（共通CSSの既定値をデザインに合わせて上書き）
   ========================================================================== */
body {
  font-feature-settings: 'palt';
  font-size: 1.6rem;
}
@media (max-width: 896px) { body { font-size: 1.6rem; } }
@media (max-width: 639px) { body { font-size: 1.6rem; } }

/* 共通base の a:hover{opacity:.8} は完成デザインにない挙動なので打ち消す */
a:hover { opacity: 1; }

/* ページ内リンク（料金表など）はなめらかに送る。動きを控えたい設定では無効。 */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* 追従ヘッダー（74px）に着地点が隠れないよう、その分だけ手前で止める */
.rsk-anchor { scroll-margin-top: 90px; }

img { vertical-align: middle; }

/* ==========================================================================
   2. layout
   ========================================================================== */
/* 完成デザインは box-sizing:content-box。max-width が「内容幅」なので、
   border-box の当サイトでは max-width に左右paddingを足して同じ内容幅にする。 */
.rsk-container {
  --pad: clamp(20px, 5vw, 40px);
  width: 100%;
  max-width: calc(1120px + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.rsk-container--md { max-width: calc(1000px + var(--pad) * 2); }
.rsk-container--sm { max-width: calc(900px + var(--pad) * 2); }
.rsk-container--xs { max-width: calc(820px + var(--pad) * 2); }

.rsk-sec { padding: clamp(56px, 7vw, 96px) 0; }
.rsk-sec--white { background: #fefefe; }
.rsk-sec--tint  { background: linear-gradient(180deg, #fbfdff 0%, #eef5fc 100%); }
.rsk-sec--sky   { background: #ecf7ff; } /* グラデーションなしの淡い水色ベタ（TOPのお知らせ） */
.rsk-sec--grid {
  background: #fefefe;
  background-image:
    linear-gradient(rgba(0, 23, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 23, 92, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.rsk-sec--article { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }

.rsk-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.rsk-two--14-1 { grid-template-columns: 1.4fr 1fr; }
.rsk-two--center { align-items: center; }
@media (max-width: 820px) {
  .rsk-two,
  .rsk-two--14-1 { grid-template-columns: 1fr; }
  .rsk-two__img { order: -1; }
}

.rsk-media { width: 100%; height: 100%; object-fit: cover; display: block; }

.rsk-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e8eef7;
  color: #8b93a3;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px;
}

/* ==========================================================================
   3. heading
   ========================================================================== */
.rsk-head { display: flex; flex-direction: column; gap: 8px; }
.rsk-head--center { align-items: center; text-align: center; gap: 10px; }
.rsk-head__en {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: normal;
  letter-spacing: 0.22em;
  color: #0047BA;
  text-transform: uppercase;
}
.rsk-head__ja {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #1a2333;
  text-wrap: pretty;
}
.rsk-head--on-dark .rsk-head__en { color: #7EBDE7; }
.rsk-head--on-dark .rsk-head__ja { color: #fefefe; }

/* トップの「新着情報」（旧「塾長のつぶやき」）専用の見出し。他セクション（EN小ラベル＋日本語／大型EN）とは
   作りを変えて、ENラベルを置かず、吹き出しアイコン＋日本語タイトルの1行で見せる。 */
.rsk-head--blog { align-items: center; text-align: center; }
.rsk-head--blog .rsk-head__ja {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(26px, 3.4vw, 36px);
  color: #00175C;
}
.rsk-head--blog .rsk-head__ja i { font-size: 0.86em; color: #0047BA; }

.rsk-head-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.rsk-head-big__en {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: 0.08em;
  line-height: 1;
  color: #0047BA;
}
.rsk-head-big__ja {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #1a2333;
}
.rsk-head-big--gallery { gap: 8px; }
.rsk-head-big--gallery .rsk-head-big__en {
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: 0.1em;
}
.rsk-head-big--gallery .rsk-head-big__ja {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  color: #00175C;
}
.rsk-head-big--gallery .rsk-head-big__ja::before,
.rsk-head-big--gallery .rsk-head-big__ja::after {
  content: "";
  width: 24px;
  height: 1px;
  background: #0047BA;
}

/* ==========================================================================
   4. button
   ========================================================================== */
.rsk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0047BA;
  color: #fefefe;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: normal;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 999px;
}
.rsk-btn:hover { color: #fefefe; }
.rsk-btn__arw {
  display: inline-block;
  font-size: 1.3rem;
  transition: transform 0.25s;
}
.rsk-btn:hover .rsk-btn__arw { transform: translateX(4px); }
.rsk-btn--back { padding: 14px 30px; }
.rsk-btn--back:hover .rsk-btn__arw { transform: translateX(-4px); }
.rsk-btn-wrap { display: flex; justify-content: center; }
/* 共通 utility に刻みがない余白（完成デザインの実測値） */
.rsk-mt-34 { margin-top: 34px; }
.rsk-mt-38 { margin-top: 38px; }
.rsk-mt-44 { margin-top: 44px; }
.rsk-mt-48 { margin-top: 48px; }

.rsk-circ {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 999px;
  background: #0047BA;
  color: #fefefe;
  font-size: 1.2rem;
  transition: background 0.25s, transform 0.25s;
}
a:hover .rsk-circ { background: #00175C; transform: translateX(4px); }

/* ==========================================================================
   5. card（共通の見た目・hover）
   ========================================================================== */
.rsk-card {
  min-width: 0;
  background: #fefefe;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 23, 92, 0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}
.rsk-card:hover {
  box-shadow: 0 16px 40px rgba(0, 23, 92, 0.18);
  transform: translateY(-2px);
}

/* ==========================================================================
   6. header / nav
   ========================================================================== */
.rsk-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fefefe;
  box-shadow: 0 2px 14px rgba(0, 23, 92, 0.10);
}
.rsk-header__inner {
  --pad: clamp(18px, 4vw, 36px);
  max-width: calc(1280px + var(--pad) * 2);
  padding: 0 var(--pad);
  height: 74px;
  gap: 24px;
  justify-content: space-between;
}
@media (max-width: 1080px) {
  .rsk-header__inner { height: 74px; padding: 0 var(--pad); }
}

.rsk-logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 23px);
  letter-spacing: 0.09em;
  color: #00175C;
  white-space: nowrap;
}
.rsk-logo:hover { color: #00175C; }

.rsk-nav {
  gap: clamp(8px, 1.4vw, 22px);
  height: 100%;
  flex: 1;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 0;
}
.rsk-nav__item > a {
  gap: 3px;
  padding: 6px 2px;
  white-space: nowrap;
}
/* 共通の下線スライドアニメは使わない（デザインはカレントのみ下線） */
.rsk-nav__item > a::after { display: none; }
.rsk-nav__en {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: normal;
  letter-spacing: 0.14em;
  color: #0047BA;
}
.rsk-nav__ja {
  margin-top: 0;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.02em;
  color: #1a2333;
}
.rsk-nav__item--current > a::after {
  display: block;
  position: static;
  width: 100%;
  height: 2px;
  background: #0047BA;
  border-radius: 2px;
}

/* -- ヘッダー右端：電話番号 + 営業時間 ------------------------------------ */
.rsk-headtel {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  height: auto;
  padding-left: clamp(10px, 1.4vw, 20px);
  border-left: 1px solid rgba(0, 23, 92, 0.12);
}
.rsk-headtel__num {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #0047BA;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s;
}
.rsk-headtel__num:hover { color: #00175C; }
.rsk-headtel__num i { font-size: 0.78em; }
.rsk-headtel__hours {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #4a5468;
  white-space: nowrap;
}

/* -- ハンバーガー（デザインはヘッダーバー内・枠なし） ---------------------- */
.rsk-toggle {
  top: 14px;
  right: clamp(18px, 4vw, 36px);
  width: 46px;
  height: 46px;
  z-index: 210;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
}
.rsk-toggle .nav-toggle__line { background: #00175C; }
.rsk-toggle .nav-toggle__line:nth-child(1) { top: 15px; }
.rsk-toggle .nav-toggle__line:nth-child(2) { top: 22px; }
.rsk-toggle .nav-toggle__line:nth-child(3) { top: 29px; }
.rsk-toggle.is-active .nav-toggle__line:nth-child(1),
.rsk-toggle.is-active .nav-toggle__line:nth-child(3) { top: 22px; }

/* -- SPナビ（ヘッダー直下に開くパネル型） --------------------------------- */
.rsk-spnav {
  /* ヘッダー直下に、中身の高さだけ開くパネル（下に余白を作らない）。
     伸びても画面下の固定CTAバー（68px）には掛からないよう上限を設ける */
  top: 74px;
  bottom: auto;
  height: auto;
  max-height: calc(100vh - 74px - 68px);
  max-height: calc(100dvh - 74px - 68px);
  overflow-y: auto;
  display: block;
  padding: 8px clamp(18px, 4vw, 36px) 26px;
  background: #fefefe;
  border-top: 1px solid rgba(0, 23, 92, 0.10);
  z-index: 190;
}
.rsk-spnav__list { max-width: none; text-align: left; }
.rsk-spnav__item {
  border-top: none;
  border-bottom: 1px solid rgba(0, 23, 92, 0.10);
}
.rsk-spnav__item:first-child { border-top: none; }
.rsk-spnav__link {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 12px;
  padding: 15px 4px;
  color: #1a2333;
}
.rsk-spnav__link::after { content: none; }
.rsk-spnav__link:hover { background: transparent; }
.rsk-spnav__en {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: #0047BA;
  opacity: 1;
  margin-right: 0;
  padding-left: 0;
  min-width: 64px;
}
.rsk-spnav__ja { font-size: 1.6rem; font-weight: 500; color: #1a2333; }
.rsk-spnav__bottom { max-width: none; margin-top: 0; }
.rsk-spnav__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 20px;
  padding: 15px;
  border-radius: 999px;
  background: #0047BA;
  color: #fefefe;
  font-weight: 700;
  font-size: 1.5rem;
}
.rsk-spnav__tel:hover { color: #fefefe; }
.rsk-spnav__hours {
  margin: 8px 0 0;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: #4a5468;
}

/* ==========================================================================
   7. page hero（下層）
   ========================================================================== */
.rsk-hero {
  height: clamp(150px, 20vw, 230px);
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, #00175C 0%, #0a2a7a 55%, #0047BA 100%);
}
.rsk-hero__glow {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(97, 148, 211, 0.5), transparent 70%);
  pointer-events: none;
}
.rsk-hero__ring {
  position: absolute;
  right: 8%;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  pointer-events: none;
}
.rsk-hero__inner { position: relative; pointer-events: none; }
.rsk-hero__en {
  display: block;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: 0.24em;
  color: #7EBDE7;
}
.rsk-hero__ja {
  margin: 10px 0 0;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  color: #fefefe;
}

/* ==========================================================================
   8. contact CTA
   ========================================================================== */
.rsk-cta {
  position: relative;
  overflow: hidden;
  background: #0a2a7a;
  padding: clamp(38px, 4.5vw, 58px) 0;
}
.rsk-cta__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 189, 231, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 189, 231, 0.25) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.rsk-cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.rsk-cta__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fefefe;
}
.rsk-cta__lead {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
.rsk-cta__tel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  padding: 18px clamp(24px, 4vw, 44px);
  border-radius: 999px;
  background: #fefefe;
  color: #00175C;
  box-shadow: 0 10px 30px rgba(0, 23, 92, 0.35);
}
.rsk-cta__tel:hover { color: #00175C; }
.rsk-cta__tel i { font-size: 2.4rem; }
.rsk-cta__num {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.rsk-cta__note {
  margin: 6px 0 0;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   9. footer / 追従ボタン
   ========================================================================== */
.rsk-footer {
  background: #fefefe;
  color: #1a2333;
  border-top: 1px solid rgba(0, 23, 92, 0.10);
}
.rsk-footer__inner {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.rsk-footer__cols {
  display: grid;
  grid-template-columns: 1.35fr 0.6fr 1.3fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 760px) { .rsk-footer__cols { grid-template-columns: 1fr; } }

.rsk-footer__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.rsk-footer__logo {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.09em;
  color: #00175C;
}
.rsk-footer__dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  row-gap: 6px;
  font-size: 1.4rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.rsk-footer__dl dt { color: #0047BA; font-weight: 700; white-space: nowrap; }
.rsk-footer__dl dd { margin: 0; color: #4a5468; }
.rsk-footer__tel { color: #00175C; }

.rsk-footer__nav { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rsk-footer__label {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: #0047BA;
}
.rsk-footer__nav a { color: #2b3446; font-size: 1.35rem; letter-spacing: 0.04em; }

.rsk-footer__access { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rsk-footer__map {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: rgba(0, 23, 92, 0.06);
}
.rsk-footer__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.rsk-footer__copy {
  margin: 24px 0 0;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: #8b93a3;
}

/* -- 追従サブパネル（体験ページへの誘導 + 電話番号）------------------------
   PC：右下に2段のパネル。SP：画面下いっぱいの2分割バー。 */
.rsk-float {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 400;
  width: 264px;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  /* キャラクターがパネル上辺からはみ出すので overflow は切らない。
     角丸は各行に持たせる。 */
  box-shadow: 0 10px 30px rgba(0, 23, 92, 0.28);
}
.rsk-float__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 18px;
  transition: background 0.25s;
}
.rsk-float__row--trial { background: #0047BA; color: #fefefe; border-radius: 14px 14px 0 0; }
.rsk-float__row--trial:hover { background: #00175C; color: #fefefe; }
.rsk-float__row--tel {
  background: #fefefe;
  color: #00175C;
  border-top: 1px solid rgba(0, 23, 92, 0.10);
  border-radius: 0 0 14px 14px;
}
.rsk-float__row--tel:hover { background: #eef5fc; color: #00175C; }
.rsk-float__body { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; min-width: 0; }
.rsk-float__lbl { font-weight: 700; font-size: 1.45rem; letter-spacing: 0.04em; }
.rsk-float__sub { font-size: 1.1rem; letter-spacing: 0.02em; opacity: 0.85; }
.rsk-float__arw { flex: none; font-size: 1.2rem; transition: transform 0.25s; }
.rsk-float__row--trial:hover .rsk-float__arw { transform: translateX(3px); }
.rsk-float__telLbl { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.04em; color: #0047BA; }
.rsk-float__tel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
}
.rsk-float__tel i { font-size: 1.4rem; color: #0047BA; }
.rsk-float__char {
  position: absolute;
  right: 6px;
  top: -40px;
  width: clamp(50px, 7vw, 64px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 4px 8px rgba(0, 23, 92, 0.25));
}

/* -- スマホ：フッターナビは隠し、サブパネルは画面下の2分割バーにする -- */
@media (max-width: 760px) {
  .rsk-footer__nav { display: none; }

  .rsk-float {
    right: 0;
    left: 0;
    bottom: 0;
    width: auto;
    flex-direction: row;
    border-radius: 0;
    box-shadow: 0 -4px 16px rgba(0, 23, 92, 0.22);
  }
  .rsk-float__row {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 0;
  }
  .rsk-float__row--tel { border-top: 0; border-left: 1px solid rgba(0, 23, 92, 0.10); border-radius: 0; }
  .rsk-float__body { align-items: center; text-align: center; }
  .rsk-float__lbl { font-size: 1.35rem; }
  .rsk-float__sub { display: none; }
  .rsk-float__arw { display: none; }
  .rsk-float__tel { font-size: 1.8rem; }
  .rsk-float__char { right: 10px; top: -44px; width: 54px; }

  /* 固定バーでフッター末尾が隠れないよう、その分だけ下に余白を足す */
  body { padding-bottom: 72px; }
}

/* ==========================================================================
   10. lightbox / reveal
   ========================================================================== */
.rsk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 10, 40, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}
.rsk-lightbox.is-open { display: flex; }
.rsk-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.rsk-lightbox__close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fefefe;
  font-size: 2.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsk-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.rsk-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   11. TOP メインビュー（CMSスライダー差し替え対応）
   ========================================================================== */
.rsk-mv {
  position: relative;
  min-height: 60vh; /* スマホ */
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* PCは画面いっぱい（100vh） */
@media (min-width: 760px) {
  .rsk-mv { min-height: 100vh; }
}
.rsk-mv #slideshow { position: absolute; inset: 0; width: 100%; height: 100%; }
.rsk-mv #slideshow .swiper-slide { width: 100%; height: 100%; }
.rsk-mv #slideshow video,
.rsk-mv #slideshow img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 映像はフルカラーでそのまま見せる（重ねていた濃紺のスクリムは外した）。
   白文字が映像に負けないぶんは、キャッチ側の影と縁取りだけで持たせる。 */
.rsk-mv__inner {
  position: relative;
  padding-top: clamp(40px, 8vw, 80px);
  padding-bottom: clamp(40px, 8vw, 80px);
  pointer-events: none;
  display: flex;
  justify-content: center;
}
.rsk-mv__body { max-width: min(100%, 860px); margin: 0 auto; text-align: center; }
/* 映像のスクリムを外したので、白文字は濃紺の縁取り＋影で読ませる。
   縁取りは8方向のtext-shadowで作る（-webkit-text-strokeは字が細るため使わない）。 */
.rsk-mv__catch {
  margin: 0;
  font-size: clamp(24px, 4.6vw, 54px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #fefefe;
  text-shadow:
    0 2px 0 #00175C, 0 -2px 0 #00175C, 2px 0 0 #00175C, -2px 0 0 #00175C,
    1.5px 1.5px 0 #00175C, -1.5px 1.5px 0 #00175C, 1.5px -1.5px 0 #00175C, -1.5px -1.5px 0 #00175C,
    0 3px 12px rgba(0, 12, 48, 0.9), 0 8px 30px rgba(0, 12, 48, 0.7);
  min-height: 2.1em;
  white-space: pre-line;
  /* SPで1行に収まらないときは文節で折り返す（「合格実 / 績」のような割れを防ぐ）。
     未対応ブラウザでは normal に落ちるだけで、表示は崩れない。 */
  word-break: auto-phrase;
}
/* iPhone SE（375px）など横幅の狭い端末では 24px のままだと1行15文字が入りきらず
   3〜4行に割れてしまう。1行ぶんの実測幅が約 15.4em なので、コンテナの内寸
   （100vw − 左右padding 20px）から font-size を逆算して2行に収める。
   24px を上限にしているので、これより広い画面の見え方は変わらない。 */
@media (max-width: 520px) {
  .rsk-mv__catch { font-size: min(24px, calc((100vw - 40px) / 15.4)); }
}
.rsk-mv__caret {
  display: inline-block;
  width: 0.06em;
  height: 1em;
  vertical-align: -0.12em;
  margin-left: 0.04em;
  background: #fefefe;
  animation: rsk-caret 0.9s step-end infinite;
}
@keyframes rsk-caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ==========================================================================
   12. TOP お知らせ
   ========================================================================== */
.rsk-news {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 20px;
  margin-top: 38px;
}
@media (min-width: 760px) { .rsk-news { grid-template-columns: repeat(4, 1fr); } }
/* TOPのお知らせはページャを出さない（一覧ページへ誘導するため） */
#rsk-news-list .pages,
#rsk-tsubuyaki-list .pages { display: none; }

/* TOPのお知らせは1件を横幅いっぱいに見せる（チラシを読める大きさで出すため）。
   チラシは縦長・横長が混在するので、比率は固定せず画像のままトリミングなしで表示する。 */
#rsk-news-list.rsk-news { grid-template-columns: 1fr; gap: clamp(32px, 4vw, 48px); }
#rsk-news-list .rsk-newscard { gap: 16px; }
#rsk-news-list .rsk-newscard__thumb {
  aspect-ratio: auto;
  border-radius: 12px;
  background: transparent;
}
#rsk-news-list .rsk-newscard__thumb img { height: auto; object-fit: contain; }
#rsk-news-list .rsk-newscard__title { font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 700; }

/* -- modifier: お知らせ一覧ページ（SP2列 → PCは3列。上余白なし） */
.rsk-news--list { margin-top: 0; gap: 30px 24px; }
@media (min-width: 760px) { .rsk-news--list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rsk-news--list { grid-template-columns: repeat(3, 1fr); } }

/* お知らせ一覧ページ：記事一覧 + 月別アーカイブのサイドバー */
.rsk-listwrap { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) {
  .rsk-listwrap { grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
}
.rsk-listwrap__main { min-width: 0; }
.rsk-side { min-width: 0; }
.rsk-side__box {
  background: #fefefe;
  border: 1px solid rgba(0, 23, 92, 0.10);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 23, 92, 0.06);
  overflow: hidden;
}
.rsk-side__head {
  margin: 0;
  padding: 14px 18px;
  background: #0047BA;
  color: #fefefe;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.rsk-side__list ul { list-style: none; margin: 0; padding: 0; }
.rsk-side__list li + li { border-top: 1px solid rgba(0, 23, 92, 0.10); }
.rsk-side__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 18px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #00175C;
}
.rsk-side__list a::after {
  content: "\f054"; /* chevron-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1.1rem;
  color: #0047BA;
}
.rsk-side__list a:hover { background: #eef5fc; color: #0047BA; opacity: 1; }
/* CMS出力は <span id="cms-blog-entry-list-1-area"> にくるまれて返るため、
   そのままだと grid の子が span 1つになり記事が縦積みになる。
   display:contents で箱だけ消して、中の .rsk-newscard を直接 grid に並べる。 */
#cms-blog-entry-list-1-area { display: contents; }

.rsk-newscard { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.rsk-newscard__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #e8eef7;
  box-shadow: 2px 4px 6px -1px rgba(0, 0, 0, 0.15);
}
/* CMS出力の <img> にはクラスが付かないので、ここで枠にフィットさせる */
.rsk-newscard__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rsk-newscard__date {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: #0047BA;
}
.rsk-newscard__title {
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: #1a2333;
}
.rsk-newscard:hover .rsk-newscard__title { color: #00175C; }

/* ==========================================================================
   13. TOP 無料体験
   ========================================================================== */
.rsk-trial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.rsk-trial__text { min-width: 0; }
.rsk-trial__lead {
  margin: 28px 0 0;
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #2b3446;
}
.rsk-trial__btn { margin-top: 28px; }
.rsk-trial__figure { min-width: 0; position: relative; padding: 0 14px 14px 0; }
.rsk-trial__plate {
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 22px);
  height: calc(100% - 22px);
  background: linear-gradient(135deg, rgba(0, 71, 186, 0.28), rgba(0, 71, 186, 0.06));
  border-radius: 14px;
  z-index: 0;
}
.rsk-trial__img {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
}
.rsk-trial__char {
  position: absolute;
  left: -88px;
  bottom: -30px;
  width: clamp(110px, 26%, 168px);
  height: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 6px 12px rgba(0, 23, 92, 0.2));
}
@media (max-width: 700px) { .rsk-trial__char { left: -18px; } }

/* ==========================================================================
   14. FEATURE（強み2カラム行）
   ========================================================================== */
.rsk-feat {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}
.rsk-feat__row {
  background: #fefefe;
  border: 1px solid rgba(0, 23, 92, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  box-shadow: 0 10px 28px rgba(0, 23, 92, 0.08);
}
.rsk-feat__img { min-width: 0; aspect-ratio: 16 / 11; overflow: hidden; }
@media (min-width: 721px) { .rsk-feat__row--rev .rsk-feat__img { order: 2; } }
@media (max-width: 720px) { .rsk-feat__row { grid-template-columns: 1fr; } }
.rsk-feat__body { min-width: 0; padding: clamp(24px, 3.5vw, 48px); }
.rsk-feat__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #00175C;
}
.rsk-feat__title::before {
  content: "";
  flex: none;
  width: 4px;
  height: 1.2em;
  background: #0047BA;
  border-radius: 2px;
}
.rsk-feat__text {
  margin: 16px 0 0;
  font-size: 1.4rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #4a5468;
}
.rsk-feat__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: #0047BA;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   15. コースカード（TOP / COURSE）
   ========================================================================== */
.rsk-course {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.rsk-course__item { display: block; color: inherit; }
.rsk-course__item:hover { opacity: 1; }
.rsk-course__thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.rsk-course__thumb .rsk-media { transition: transform 0.5s ease; }
.rsk-course__item:hover .rsk-course__thumb .rsk-media { transform: scale(1.05); }
/* タイトル行は白地・左端にブルーの縦ライン */
.rsk-course__body {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fefefe;
  border-left: 4px solid #0047BA;
}
.rsk-course__title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #00175C;
}
.rsk-course__item:hover .rsk-course__title { color: #0047BA; }

.rsk-class {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.rsk-class__item { display: flex; flex-direction: column; }
.rsk-class__thumb { aspect-ratio: 4 / 3; overflow: hidden; }
/* 本文の長さが違ってもカード下端の「料金詳細はこちら」が揃うよう、本文側を伸ばす */
.rsk-class__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rsk-class__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #00175C;
}
/* タイトル横のあしらい：角丸の縦棒 */
.rsk-class__title::before {
  content: "";
  flex: none;
  width: 4px;
  align-self: stretch;
  min-height: 1.2em;
  border-radius: 999px;
  background: #0047BA;
}
.rsk-class__text {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #4a5468;
}
/* カード下端 → 同ページの料金表へ飛ぶリンク */
.rsk-class__price {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(0, 71, 186, 0.35);
  border-radius: 999px;
  background: #f5f8fd;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #0047BA;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.rsk-class__price:hover { background: #0047BA; border-color: #0047BA; color: #fefefe; }
.rsk-class__price-arw { font-size: 1.1rem; transition: transform 0.25s; }
.rsk-class__price:hover .rsk-class__price-arw { transform: translateY(2px); }

/* ==========================================================================
   16. CONTENTS バナーカード
   ========================================================================== */
.rsk-bnr {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.rsk-bnr__item {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 23, 92, 0.12);
}
.rsk-bnr__img { position: absolute; inset: 0; }
.rsk-bnr__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 23, 92, 0.15) 0%, rgba(0, 23, 92, 0.72) 100%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}
/* hover：ベールを引いて写真を見せる。文字は影で可読性を保つ */
.rsk-bnr__item:hover .rsk-bnr__veil { opacity: 0.2; }
.rsk-bnr__item:hover .rsk-bnr__en,
.rsk-bnr__item:hover .rsk-bnr__ja,
.rsk-bnr__item:hover .rsk-bnr__arw {
  text-shadow: 0 2px 12px rgba(0, 23, 92, 0.9), 0 1px 4px rgba(0, 0, 0, 0.7);
}
/* 明るい写真の上でも読めるよう、ENラベルは白寄りに */
.rsk-bnr__item:hover .rsk-bnr__en { color: #eaf2ff; }
.rsk-bnr__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.rsk-bnr__txt { display: flex; flex-direction: column; gap: 3px; }
.rsk-bnr__en {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.16em;
  color: #a9c6ef;
}
.rsk-bnr__ja { font-size: 1.7rem; font-weight: 700; letter-spacing: 0.04em; color: #fefefe; }
.rsk-bnr__arw {
  display: inline-block;
  color: #fefefe;
  font-size: 1.6rem;
  transition: transform 0.25s;
}
.rsk-bnr__item:hover .rsk-bnr__arw { transform: translateX(4px); }

/* ==========================================================================
   16b. FEATURE ページ 冒頭の強み
   ========================================================================== */
.rsk-strength__text {
  margin: 32px 0 0;
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #2b3446;
}
.rsk-strength__fig {
  min-width: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0, 23, 92, 0.12);
}

/* ==========================================================================
   17. あるある7（バッジ見出し + 帯タイトルカード）
   ========================================================================== */
.rsk-badge-wrap { display: flex; justify-content: center; text-align: center; }
.rsk-badge {
  position: relative;
  display: inline-block;
  background: #00175C;
  color: #fefefe;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 23, 92, 0.22);
}
.rsk-badge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #00175C;
}

.rsk-seven {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.rsk-seven__item { display: flex; flex-direction: column; }
.rsk-seven__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.rsk-seven__title {
  margin: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: 92%;
  background: #00175C;
  color: #fefefe;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 0 8px 0 0;
}
.rsk-seven__title--c2 { background: #0047BA; }
.rsk-seven__title--c3 { background: #1466B8; }
.rsk-seven__title--c4 { background: #2E8BC0; }
.rsk-seven__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rsk-seven__text {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #4a5468;
}

/* ==========================================================================
   18. 授業のかたち（アイコンカード）
   ========================================================================== */
.rsk-style {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.rsk-style__item {
  min-width: 0;
  background: #fefefe;
  border: 1px solid rgba(0, 23, 92, 0.08);
  border-radius: 14px;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 8px 22px rgba(0, 23, 92, 0.06);
}
.rsk-style__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef5fc, #dcebfa);
  color: #0047BA;
  font-size: 2.8rem;
}
.rsk-style__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #00175C;
}
.rsk-style__text {
  margin: 0;
  align-self: stretch;
  text-align: left;
  font-size: 1.35rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  color: #4a5468;
}

/* ==========================================================================
   19. FLOW（入塾の流れ）
   ========================================================================== */
.rsk-flow { margin-top: 44px; display: flex; flex-direction: column; gap: 16px; }
.rsk-flow__item {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  background: #fefefe;
  border-radius: 12px;
  padding: clamp(18px, 3vw, 26px) clamp(20px, 3vw, 30px);
  box-shadow: 0 6px 18px rgba(0, 23, 92, 0.07);
}
.rsk-flow__step {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 64px;
}
.rsk-flow__label {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #0047BA;
}
.rsk-flow__no {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1;
  color: #00175C;
}
.rsk-flow__rule { width: 1px; align-self: stretch; background: rgba(0, 23, 92, 0.12); flex: none; }
.rsk-flow__body { min-width: 0; }
.rsk-flow__title {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #00175C;
}
.rsk-flow__text {
  margin: 8px 0 0;
  font-size: 1.45rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #4a5468;
}

/* ==========================================================================
   20. ABOUT（塾長挨拶 / 指導理念 / 塾概要）
   ========================================================================== */
.rsk-greet { margin-top: 34px; }
.rsk-greet p {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #2b3446;
}
.rsk-greet p + p { margin-top: 1.5em; }
/* .rsk-greet p より詳細度を上げて上書きする */
.rsk-greet p.rsk-greet__sign {
  margin: 2em 0 0;
  font-size: 1.5rem;
  line-height: normal;
  letter-spacing: 0.04em;
  color: #00175C;
  text-align: right;
}

.rsk-mission {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00175C 0%, #0a2a7a 60%, #0047BA 100%);
}
.rsk-mission__photo {
  position: absolute;
  inset: 0;
  /* 画像はROS CDN（S3）配信。CSSはPHPのIMG_BASEを読めないため絶対URLを直書きする */
  background-image: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28498/mission-bg.jpg);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  pointer-events: none;
}
.rsk-mission__glow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.10), transparent 42%),
    radial-gradient(circle at 84% 78%, rgba(126, 189, 231, 0.22), transparent 46%);
  pointer-events: none;
}
.rsk-mission__ring {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 300px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  pointer-events: none;
}
.rsk-mission__ring--2 {
  top: auto;
  right: auto;
  bottom: -110px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-color: rgba(255, 255, 255, 0.08);
}
.rsk-mission__inner { position: relative; }
.rsk-mission__catch {
  margin: 36px 0 0;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #fefefe;
}
.rsk-mission__text {
  margin: 30px 0 0;
  font-size: 1.6rem;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  text-wrap: balance;
  word-break: auto-phrase;
}
.rsk-mission__text + .rsk-mission__text { margin-top: 1.5em; }

.rsk-dl {
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  border-top: 1px solid rgba(0, 23, 92, 0.14);
}
.rsk-dl dt {
  padding: 18px 24px 18px 0;
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  color: #00175C;
  border-bottom: 1px solid rgba(0, 23, 92, 0.10);
  white-space: nowrap;
}
.rsk-dl dd {
  margin: 0;
  padding: 18px 0;
  font-size: 1.5rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: #2b3446;
  border-bottom: 1px solid rgba(0, 23, 92, 0.10);
}
.rsk-dl--sm { margin: 26px 0 0; }
.rsk-dl--sm dt { padding: 14px 20px 14px 0; font-size: 1.4rem; letter-spacing: normal; }
.rsk-dl--sm dd {
  padding: 14px 0;
  font-size: 1.45rem;
  line-height: normal;
  letter-spacing: normal;
}

.rsk-access { margin-top: clamp(24px, 2.5vw, 32px); }
.rsk-access__map {
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 23, 92, 0.12);
}
.rsk-access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.rsk-access__title {
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #00175C;
}
.rsk-access__en {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: #0047BA;
}
.rsk-access__addr {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #2b3446;
}
.rsk-access__tel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: #00175C;
}
.rsk-access__tel i { color: #0047BA; font-size: 1.8rem; }

/* ==========================================================================
   21. GALLERY
   ========================================================================== */
.rsk-gal {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .rsk-gal { grid-template-columns: repeat(2, 1fr); } }
.rsk-gal__btn {
  padding: 0;
  border: none;
  cursor: zoom-in;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 23, 92, 0.12);
  background: #e8eef7;
}
.rsk-gal__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.rsk-gal__btn:hover img { transform: scale(1.05); }

/* ==========================================================================
   22. COURSE（時間割注記 / 料金表）
   ========================================================================== */
.rsk-notebox {
  margin-top: 32px;
  border-radius: 10px;
  background: #fefefe;
  box-shadow: 0 6px 20px rgba(0, 23, 92, 0.08);
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
}
.rsk-notebox p {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #5a6579;
}
.rsk-notebox small { font-size: 1.3rem; color: #8b93a3; }

/* -- 横スクロールできる箱（料金表など）。ヒントは実際に溢れているときだけ出す -- */
.rsk-scrollx { margin-top: 32px; }
.rsk-scrollx__hint {
  display: none;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0047BA;
}
.rsk-scrollx.is-scrollable .rsk-scrollx__hint { display: inline-flex; }
/* 右端まで送ったら役目を終えるので消す */
.rsk-scrollx.is-scrolled-end .rsk-scrollx__hint { display: none; }
.rsk-scrollx__hint i { font-size: 1.3rem; }
.rsk-scrollx__body {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  /* 角丸と影はスクロールする箱側で持つ（中の表は素のまま横に伸ばす） */
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 23, 92, 0.08);
}
.rsk-scrollx.is-scrollable .rsk-scrollx__body { padding-bottom: 6px; }
.rsk-scrollx__body::-webkit-scrollbar { height: 6px; }
.rsk-scrollx__body::-webkit-scrollbar-thumb { background: rgba(0, 71, 186, 0.35); border-radius: 999px; }
.rsk-scrollx__body::-webkit-scrollbar-track { background: rgba(0, 23, 92, 0.06); border-radius: 999px; }
/* 箱の中の料金表は素の状態にする（余白・角丸・影は .rsk-scrollx 側で持つ）。
   .rsk-price 側に overflow:hidden が残っていると表が切られてスクロールできない */
.rsk-scrollx .rsk-price {
  margin-top: 0;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
/* スマホでは列が潰れないよう最小幅を確保して、横スクロールに逃がす */
@media (max-width: 760px) {
  .rsk-price table { min-width: 560px; }
}

.rsk-price {
  margin-top: 32px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 23, 92, 0.08);
}
.rsk-price table { width: 100%; border-collapse: collapse; table-layout: fixed; }
/* 列幅（rowspan があるので nth-child ではなく colgroup で決める） */
.rsk-price__col-name { width: 40%; }
.rsk-price__col-plan { width: 35%; }
.rsk-price__col-fee  { width: 25%; }
/* 見出し行（ベタ塗り） */
.rsk-price thead th {
  background: #0047BA;
  padding: 16px 20px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fefefe;
  text-align: left;
}
.rsk-price thead th:last-child { text-align: right; }
.rsk-price td {
  padding: 15px 20px;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: #4a5468;
  vertical-align: middle;
}
/* コース名セル（プランが複数ある場合は rowspan でまとめる） */
.rsk-price__name {
  padding: 15px 20px;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #00175C;
  text-align: left;
  vertical-align: middle;
}
.rsk-price__fee {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00175C;
  text-align: right;
  white-space: nowrap;
}
/* 1コース = 1つの tbody。ストライプはコース単位でかける */
.rsk-price tbody { background: #fefefe; }
.rsk-price tbody:nth-of-type(even) { background: #f5f8fd; }
/* 同じコース内でプランが2行以上のときだけ、行間に細い区切りを入れる */
.rsk-price tbody tr + tr .rsk-price__plan,
.rsk-price tbody tr + tr .rsk-price__fee { border-top: 1px dashed rgba(0, 23, 92, 0.14); }

.rsk-notes {
  margin: 18px 0 0;
  font-size: 1.3rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #5a6579;
}
.rsk-notes p { margin: 0; }

/* ==========================================================================
   23. TRIAL（体験ページ本文）
   ========================================================================== */
.rsk-plain p {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #2b3446;
}
.rsk-trialimg {
  min-width: 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 23, 92, 0.12);
}

/* ==========================================================================
   24. VOICE（卒業生 masonry / 保護者カード）
   ========================================================================== */
.rsk-grad { position: relative; overflow: hidden; }
.rsk-grad__illust {
  position: absolute;
  /* 見出しの右隣に寄せる（右端に離さない） */
  right: clamp(10px, 14vw, 220px);
  top: 30px;
  width: clamp(190px, 26vw, 320px);
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}
/* スマホは重ねず、見出しの上に置く（文字と被らないようサイズも縮小） */
@media (max-width: 760px) {
  .rsk-grad__illust {
    position: static;
    display: block;
    width: 168px;
    margin: 0 auto 6px;
    opacity: 1;
  }
}
.rsk-grad__inner { position: relative; z-index: 1; }
.rsk-grad__lead {
  margin: 26px auto 0;
  max-width: 44em;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #5a6579;
}

.rsk-masonry { margin-top: 38px; column-count: 1; column-gap: 26px; }
@media (min-width: 640px)  { .rsk-masonry { column-count: 2; } }
@media (min-width: 1000px) { .rsk-masonry { column-count: 3; } }
/* カード1枚ずつの輪郭がはっきり出るように、白背景＋2pxの枠線で区切る
   （淡い背景の上に淡いカードを置くと、どこからどこまでが1人分か分かりにくいため） */
.rsk-quote {
  margin: 0 0 26px;
  break-inside: avoid;
  background: #fff;
  border: 2px solid #bcd6f2;
  border-radius: 12px;
  padding: 24px 24px 26px;
  box-shadow: 0 8px 24px rgba(0, 23, 92, 0.10);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* 本文は長文が続くので、太さは Medium(500) までに留めつつ、
   文字色を本文色（#1a2333）まで濃くし、サイズもサイト標準（1.6rem）寄りに上げて
   「薄い・細い・読みにくい」を解消する */
.rsk-quote blockquote {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #1a2333;
  white-space: pre-line;
}
/* 差出人（生徒Aさん…）。保護者の声と同じく、コメントの上に置く。
   下線で区切り、どこから本文が始まるかを分かりやすくする */
.rsk-quote__name {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid #dceafa;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0047BA;
}

.rsk-review {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
/* 卒業生の声カードと同じ枠線・白背景でそろえる（同じページ内で見え方を統一） */
.rsk-review__item {
  margin: 0;
  min-width: 0;
  border: 2px solid #bcd6f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 23, 92, 0.10);
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* 差出人（保護者Aさん…）。アイコンと横並びでカード上部に置く */
.rsk-review__name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #00175C;
}
.rsk-review__avatar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #eef5fc;
  color: #0047BA;
  font-size: 2rem;
}
/* 卒業生の声の本文と同じ太さ・濃さ・サイズでそろえる */
.rsk-review__item blockquote {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: #1a2333;
}

/* ==========================================================================
   25. NEWS（一覧 / 詳細）
   ========================================================================== */
.rsk-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rsk-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(16px, 3vw, 26px);
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 23, 92, 0.12);
}
@media (max-width: 520px) { .rsk-row { grid-template-columns: 88px 1fr; } }
.rsk-row__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #e8eef7;
}
.rsk-row__body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rsk-row__date {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: #0047BA;
}
.rsk-row__title {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #1a2333;
}
.rsk-row:hover .rsk-row__title { color: #00175C; }

/* -- ページネーション（共通 .pagination の見た目をデザインに合わせる） ----- */
.rsk-pager { margin: 44px 0 0; }
.rsk-pager .pagination__link {
  min-width: 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid rgba(0, 23, 92, 0.16);
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  color: #00175C;
  background: transparent;
}
.rsk-pager .pagination__link.is-current {
  background: #00175C;
  border-color: #00175C;
  color: #fefefe;
  font-weight: 700;
}
.rsk-pager .pagination__link.is-disabled {
  color: #a9b2c2;
  pointer-events: none;
}

/* -- パンくず（共通 .breadcrumb の見た目をデザインに合わせる） ------------- */
.rsk-crumb { padding: 0; font-size: 1.25rem; letter-spacing: 0.02em; }
.rsk-crumb .breadcrumb__item:not(:last-child)::after { margin: 0 8px; color: #c3cad6; }
.rsk-crumb .breadcrumb__link { color: #8b93a3; }
.rsk-crumb .breadcrumb__link:hover { color: #00175C; text-decoration: none; }
.rsk-crumb .breadcrumb__current { color: #4a5468; }

.rsk-article__date {
  display: block;
  margin-top: 34px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: #0047BA;
}
.rsk-article__title {
  margin: 12px 0 0;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #00175C;
  text-wrap: pretty;
}
.rsk-article__rule { margin-top: 24px; height: 1px; background: rgba(0, 23, 92, 0.12); }
.rsk-article__body {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  font-size: 1.6rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: #2b3446;
}
/* 本文もCMS出力が <span> に包まれて返る。display:contents で箱を消し、
   中の段落・画像に .rsk-article__body の gap（1.5em）を効かせる */
#cms-blog-entry-detail-2-area { display: contents; }
.rsk-article__body p { margin: 0; }
.rsk-article__body img { border-radius: 10px; }
.rsk-article__body .rsk-dummy { color: #8b93a3; }
.rsk-article__figure {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 23, 92, 0.10);
}
.rsk-article__ytlabel {
  display: inline-block;
  margin-bottom: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: #0047BA;
}
.rsk-article__yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 16px;
}
.rsk-article__yt i { font-size: 5rem; }
.rsk-article__yt span { font-size: 1.3rem; letter-spacing: 0.03em; }
/* CMSが出力する前後記事リンク（.pages > .page_prev / .page_next）の見た目 */
.rsk-article__pager { margin-top: 44px; }
.rsk-article__pager .pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 23, 92, 0.12);
}
.rsk-article__pager .page_prev { margin-left: auto; text-align: right; }
.rsk-article__pager a {
  display: inline-block;
  max-width: 100%;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: #0047BA;
}
.rsk-article__pager a:hover { color: #00175C; opacity: 1; }
.rsk-article__back { display: flex; justify-content: center; margin-top: 48px; }
