@charset "UTF-8";

/* ==========================================================================
   CIEC / 関西学院大学 国際教育・協力センター
   style.css

   サイトミライズ適用を前提とした構成
   - 各パーツは <div class="forcms_block"> でラップして使用する
   - パーツ単位で完結するようにスタイルを定義（親要素に依存しない）
   - PC / SP の分岐は 768px を境界とする（ベースサイト踏襲）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   -------------------------------------------------------------------------- */
:root {
  /* color */
  --cl-bk: #000000; /* KG Black */
  --cl-bl: #1e3c91; /* KG Blue */
  --cl-bl-700: #1b4dda; /* KG Blue 700 */
  --cl-yl: #fff000; /* KG Yellow */
  --cl-wh: #ffffff;
  --cl-bg: #f5f5f7; /* bg */
  --cl-lgy: #fafafa; /* light gray 1 */
  --cl-gy: #6e6e73; /* gray */
  --cl-bdr: #d2d2d7; /* border */
  --cl-link: #0096c6; /* link */
  --cl-pop-bl: #a5e1f4; /* pop/blue */
  --cl-pop-lbl: #effbff; /* pop/lightblue */
  --cl-pop-lgr: #e6fad9; /* pop/lightgreen：カテゴリアイコン背景 */
  --cl-pop-gr: #9be86f; /* pop/green：先輩留学生の声のバー */
  --cl-pop-lpk: #ffebf1; /* pop/lightpink：NEW・受付中 背景 */
  --cl-lgy2: #ebebef; /* light gray 2：診断の選択肢 背景 */
  --cl-lgy3: #e2e2e7; /* light gray 3：受付終了 背景 */
  --cl-ttl: #0a2240; /* テンプレート番号付き見出し（ネイビー）*/
  --cl-alert: #9b1e41; /* 注意喚起（募集要項の赤字・注意枠）*/
  --cl-thead: #e0f6fe; /* 表の見出し行（薄い水色）*/
  --fe-crimson: #9b1e41;

  /* font */
  --ff-base: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
    "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
  --ff-badge: "Nunito", "Zen Maru Gothic", sans-serif;
  --ff-en: "Lilita One", var(--ff-base);
  --ff-num: "Inter", var(--ff-base);

  /* letter-spacing */
  --ls-1: 0.01em;
  --ls-2: 0.02em;

  /* radius */
  --rd-s: 4px;
  --rd-m: 10px;
  --rd-l: 20px;
  --rd-xl: 30px;
  --rd-pill: 100px;

  /* layout */
  --hd-h: 94px;

  /* MVの基準幅。ファーストビュー（画面の高さ）に収まる幅までしか広げない。
     1440 / 916 = 1.572（デザインのMVの縦横比） */
  --vw: calc(100vw - var(--sbw, 0px));
  --mv-w: min(var(--vw), 1440px, max(1120px, calc((100vh - 94px) * 1.70)));
  --mv-w: min(var(--vw), 1440px, max(1120px, calc((100svh - 94px) * 1.70)));
}

@media (max-width: 768px) {
  :root {
    --hd-h: 68px;
  }
}

/* --------------------------------------------------------------------------
   2. ベース
   -------------------------------------------------------------------------- */
body {
  background-color: var(--cl-wh);
  color: var(--cl-bk);
  font-family: var(--ff-base);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
}

.body-fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.3s,
    opacity 0.3s,
    background-color 0.3s,
    border-color 0.3s;
}

a:hover {
  opacity: 0.7;
}

/* reset.min.css の :where(button){all:unset} で box-sizing が content-box に戻るため、
   幅を指定したボタンがはみ出さないよう指定し直す */
button {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

button {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. レイアウト用ユーティリティ
   -------------------------------------------------------------------------- */

/* ヘッダー・フッター・H1帯など全幅要素用（1440px / 左右12px） */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 12px;
}

/* 本文コンテンツ用（PC1440時にコンテンツ幅1176px） */
.inner {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 12px;
}

@media (min-width: 769px) {
  .sp-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

/* 画像で表現している内容を、読み上げ・検索用にテキストで残すためのクラス */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ff-en {
  font-family: var(--ff-en);
}

.ff-num {
  font-family: var(--ff-num);
}

/* --------------------------------------------------------------------------
   3-2. 共通スタイル（複数パーツで共有）
   ここを直すと、使っている全パーツにまとめて反映されます。
   個々のパーツ側には「そのパーツ固有の差分」だけを書いてください。
   -------------------------------------------------------------------------- */

/* ---- タイポグラフィ（Figma のテキストスタイルに対応） ---- */

/* Std-45B-140：大見出し */
.ttl-h2,
.ttl-h2-plain,
.ttl-h2-no .txt {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

/* Std-17M-170：本文 */
.txt,
.link-arw,
.pdf-list a,
.art-list .art-ttl,
.list-dot > li,
.list-num > li {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* Std-17B-170：カードのタイトル */
.movie-card-ttl,
.art-card-ttl,
.modal-ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* Inter/14：日付 */
.art-date,
.page-ttl.is-article .article-meta .date {
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

/* ---- 日付＋ラベルを横に並べるメタ行 ---- */
.breadcrumb,
.art-meta,
.page-ttl.is-article .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* ---- 角丸ラベル（カテゴリ／NEW／受付状態／最新／写真上のタグ） ---- */
.icon-yl,
.icon-topics,
.icon-new,
.icon-status,
.icon-latest,
.qcard-cat,
.art-card-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px 6px;
  border-radius: var(--rd-s);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

/* 黄色のラベル（最新・カテゴリタグ） */
.icon-yl,
.icon-latest,
.qcard-cat,
.art-card-tags span {
  background-color: var(--cl-yl);
  color: var(--cl-bl);

  &.is-blue {
    background-color: var(--cl-bl);
    color: #ffffff;
  }
}

/* ---- 角丸のナンバーバッジ（01 ／ STEP ／ Q・A） ---- */
.ttl-h2-no .no,
.step-list .no,
.qa-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--rd-m);
  font-family: var(--ff-en);
  font-weight: 400;
  letter-spacing: 0;
}

.ttl-h2-no .no,
.step-list .no {
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

/* ---- 黄色の下向きアイコン（アンカー・タブ） ---- */
.anchor-list a::after,
.page-tab .icon-down {
  display: block;
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  border-radius: var(--rd-s);
  background: var(--cl-yl) url(../img/common/nav-arrow-down.svg) no-repeat center / 17px 17px;
}

/* ---- 矢印リンクのアイコン ---- */
.link-arw::after,
.header-submenu-list a::after,
.art-card-more::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url(../img/common/arrow-link.svg) no-repeat center / contain;
}

/* ---- 画像（切り抜きは各パーツの aspect-ratio 側で調整） ---- */
.photo-list-item img,
.article-img img,
.img-txt .img-txt-img img,
.box-flex .box-img img,
.movie-card-thumb img,
.art-card-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 3:2（写真リスト・記事中の単体画像） */
.photo-list-item img,
.article-img img {
  aspect-ratio: 3 / 2;
  border-radius: var(--rd-l);
}

/* 5:6（画像＋文章／枠ブロック内の写真） */
.img-txt .img-txt-img img,
.box-flex .box-img img {
  aspect-ratio: 5 / 6;
  border-radius: 8px;
}

/* カードのサムネイル（比率は親要素側で指定） */
.movie-card-thumb img,
.art-card-thumb img {
  height: 100%;
}

/* ---- 動画の埋め込み ---- */
.movie iframe,
.movie video,
.modal-movie iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- ボタン共通のホバー演出 ----
   ふわっと浮いて、矢印が進行方向へ少し滑る。 */
.btn,
.btn-pn,
.btn-pdf,
.art-list .art-arw {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.25s ease-out,
    background-color 0.25s ease-out,
    border-color 0.25s ease-out,
    color 0.25s ease-out;
}

.btn:hover,
.btn-pn:hover,
.btn-pdf:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px -8px rgba(30, 60, 145, 0.5);
  opacity: 1;
}

.btn .icon,
.btn-pn .icon,
.link-arw::after,
.related-list a .icon,
.art-card-more::after {
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.btn:hover .icon-arw-r,
.btn-pn:hover .icon-arw-r,
.link-arw:hover::after,
.art-card:hover .art-card-more::after {
  transform: translateX(5px);
}

.btn:hover .icon-arw-l,
.btn-pn:hover .icon-arw-l {
  transform: translateX(-5px);
}

.btn:hover .icon-ext {
  transform: translate(2px, -2px);
}

/* ネイビー／白抜きボタン：ホバーで KG Yellow に反転（サイトの基本2色だけで表現） */
.btn:hover,
.btn-wt:hover,
.btn-pdf:hover {
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

.btn:hover .icon-arw-r,
.btn-wt:hover .icon-arw-r {
  background-image: url(../img/common/arrow-right-bl.svg);
}

.btn:hover .icon-arw-l,
.btn-wt:hover .icon-arw-l {
  background-image: url(../img/common/arrow-left-bl.svg);
}

.btn:hover .icon-ext,
.btn-wt:hover .icon-ext {
  background-image: url(../img/common/ext-link.svg);
}

.btn-pdf:hover::before {
  background-image: url(../img/common/download-bl.svg);
}

.btn:hover,
.btn-wt:hover,
.btn-pdf:hover {
  box-shadow: 0 10px 18px -8px rgba(160, 150, 0, 0.55);
}

/* イエローボタン：逆にネイビーへ反転 */
.btn-yl:hover {
  border-color: var(--cl-bl);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.btn-yl:hover .icon-arw-r {
  background-image: url(../img/common/arrow-right-wh.svg);
}

/* 前後記事ボタン：枠がネイビーになる */
.btn-pn:hover {
  border-color: var(--cl-bl);
  background-color: var(--cl-pop-lbl);
  color: var(--cl-bl);
}


/* --------------------------------------------------------------------------
   4. ヘッダー
   -------------------------------------------------------------------------- */
/* ヘッダーは上部固定。下スクロールで隠れ、上スクロールで再表示する
   （表示制御は common.js が .is-hidden を付け外しする） */
#wrapper {
  padding-top: var(--hd-h);
}

.header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  background-color: var(--cl-wh);
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--hd-h);
}

.header-logo {
  flex-shrink: 0;
  width: 312px;
}

.header-logo a,
.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

/* 上部ユーティリティ（よくある質問 / パンフレット / お問合わせ / 海外留学申込） */
.header-utility {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-utility-main,
.header-utility-apply {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 0 0 var(--rd-m) var(--rd-m);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  white-space: nowrap;
}

.header-utility-main {
  gap: 24px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.header-utility-apply {
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

/* グローバルナビ */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 4px;
  padding: 9px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--cl-bl);
  opacity: 1;
}

/* SP ヘッダー */
.header-apply-sp {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: var(--ls-2);
  white-space: nowrap;
}

.header-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
}

.header-menu-btn span {
  display: block;
  position: relative;
  width: 16px;
  height: 1.5px;
  background-color: var(--cl-wh);
  transition: transform 0.3s;
}

.header-menu-btn span::before,
.header-menu-btn span::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--cl-wh);
  transition: transform 0.3s;
}

.header-menu-btn span::before {
  top: -5px;
}

.header-menu-btn span::after {
  top: 5px;
}

.header-menu-btn.is-open span {
  background-color: transparent;
}

.header-menu-btn.is-open span::before {
  transform: translateY(5px) rotate(45deg);
}

.header-menu-btn.is-open span::after {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header-inner {
    align-items: center;
    padding-block: 16px;
  }

  .header-logo {
    width: 175px;
  }

  .header-right {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    height: auto;
  }
}

/* ---- ヘッダーのホバー演出 ----
   サイトの基本2色（KG Blue / KG Yellow）だけで、少し弾む動きをつける。 */

/* ロゴ：ふわっと拡大 */
.header-logo a {
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.header-logo a:hover {
  transform: scale(1.03);
  opacity: 1;
}

/* グローバルナビ／2階層トリガー：イエローの下線が中央から伸びる */
.header-nav a,
.header-nav-btn {
  position: relative;
  transition:
    color 0.25s ease-out,
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.header-nav a::before,
.header-nav-btn::before {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -6px;
  left: 50%;
  height: 3px;
  border-radius: 3px;
  background-color: var(--cl-yl);
  transition:
    left 0.25s ease-out,
    right 0.25s ease-out;
}

.header-nav a:hover::before,
.header-nav-btn:hover::before,
.header-nav-btn.is-open::before {
  right: 0;
  left: 0;
}

.header-nav a:hover,
.header-nav-btn:hover {
  transform: translateY(-2px);
  color: var(--cl-bl);
  opacity: 1;
}

/* 2階層トリガーの矢印はホバーで少し下へ、開くと反転 */
.header-nav-btn:hover::after {
  transform: translateY(1px) rotate(45deg);
}

/* 上部ユーティリティ：イエローの下線 */
.header-utility-main a {
  position: relative;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.header-utility-main a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -4px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--cl-yl);
  transition:
    left 0.25s ease-out,
    right 0.25s ease-out;
}

.header-utility-main a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.header-utility-main a:hover::after {
  right: 0;
  left: 0;
}

/* 海外留学申込：上から下がっているタブなので、ホバーで少し垂れてネイビーに反転 */
.header-utility-apply {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out,
    color 0.25s ease-out;
}

.header-utility-apply:hover {
  transform: translateY(3px);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.header-utility-apply a:hover {
  opacity: 1;
}

/* SP：申込ボタンとメニューボタン */
.header-apply-sp {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out,
    color 0.25s ease-out;
}

.header-apply-sp:hover {
  transform: translateY(-2px);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  opacity: 1;
}

.header-menu-btn {
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.header-menu-btn:hover {
  transform: scale(1.08);
}

/* 2階層パネル内のリンクもイエローの下線に */
.header-submenu-list a:hover {
  border-bottom-color: var(--cl-yl);
}

/* ---- 1400px以下：フッターも幅に収める ----
   4カラムのナビ（216px×4＋情報336px）が入りきらないため、折り返させる。 */
@media (min-width: 769px) and (max-width: 1400px) {
  .footer-main {
    padding: 64px 40px 56px;
  }

  /* 1200px以上は横並びのまま。ナビだけ幅に応じて縮める */
  .footer-top {
    gap: 40px;
  }

  .footer-nav {
    flex: 1 1 auto;
    gap: 24px;
  }

  .footer-nav-col {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }
}

/* 1200px未満は情報とナビを上下に分ける */
@media (min-width: 769px) and (max-width: 1199px) {
  .footer-top {
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-info {
    width: 100%;
  }

  .footer-nav {
    flex-wrap: wrap;
    width: 100%;
    gap: 24px 32px;
  }

  .footer-nav-col {
    flex: 1 1 180px;
    min-width: 180px;
  }
}

/* ---- 1400px以下：ナビを畳んでハンバーガーに切り替える ----
   グローバルナビは 1036px あり、1400px を下回ると枠に収まらないため。 */
@media (max-width: 1400px) {
  /* ナビを畳んだら、申込ボタンとメニューボタンを横並びにする */
  .header-right {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    height: auto;
  }

  .header-utility.pc-only,
  .header-nav.pc-only {
    display: none !important;
  }

  .header-apply-sp.sp-only,
  .header-menu-btn.sp-only {
    display: flex !important;
  }

  .sp-menu.sp-only {
    display: block !important;
  }

  .header-inner {
    padding-block: 12px;
  }
}

/* ---- 769〜1400px：PC向けのドロワー（右から出るパネル） ---- */
@media (min-width: 769px) and (max-width: 1400px) {
  /* 基本の .sp-menu より後に定義されるため、クラス2つで詳細度を上げている */
  .sp-menu.sp-only {
    inset: var(--hd-h) 0 0 auto;
    width: min(420px, 90vw);
    padding: 28px 24px 60px;
    box-shadow: -24px 0 48px -28px rgba(0, 0, 0, 0.45);
    transform: translateX(100%);
  }

  .sp-menu.sp-only.is-open {
    transform: none;
  }

  /* パネルの外側を暗くする。パネルはヘッダーの下から出るので上端を空ける */
  body:has(.sp-menu.is-open)::after {
    content: "";
    position: fixed;
    z-index: 98;
    inset: var(--hd-h) 0 0;
    background-color: rgba(10, 34, 64, 0.35);
    animation: drawer-veil 0.3s ease-out;
  }

  @keyframes drawer-veil {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  /* 画面が広いぶん、項目は少しゆったり見せる */
  .sp-menu-list > li > a,
  .sp-menu-btn {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:has(.sp-menu.is-open)::after {
    animation: none;
  }
}

/* SP ドロワーメニュー
   右からスライドインし、中の項目が少しずつ遅れて出る（.is-open を JS が付け外し） */
.sp-menu {
  position: fixed;
  z-index: 99;
  inset: var(--hd-h) 0 0;
  padding: 24px 12px 80px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateX(16%);
  transition:
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.3s ease-out,
    visibility 0.4s;
}

.sp-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

/* 中の項目：開いたあとに順番にフェードアップ */
.sp-menu-list > li,
.sp-menu-foot > * {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
}

.sp-menu.is-open .sp-menu-list > li,
.sp-menu.is-open .sp-menu-foot > * {
  opacity: 1;
  transform: none;
}

.sp-menu.is-open .sp-menu-list > li:nth-child(1) { transition-delay: 0.10s; }
.sp-menu.is-open .sp-menu-list > li:nth-child(2) { transition-delay: 0.14s; }
.sp-menu.is-open .sp-menu-list > li:nth-child(3) { transition-delay: 0.18s; }
.sp-menu.is-open .sp-menu-list > li:nth-child(4) { transition-delay: 0.22s; }
.sp-menu.is-open .sp-menu-list > li:nth-child(5) { transition-delay: 0.26s; }
.sp-menu.is-open .sp-menu-list > li:nth-child(6) { transition-delay: 0.30s; }
.sp-menu.is-open .sp-menu-list > li:nth-child(7) { transition-delay: 0.34s; }
.sp-menu.is-open .sp-menu-list > li:nth-child(8) { transition-delay: 0.38s; }
.sp-menu.is-open .sp-menu-list > li:nth-child(n + 9) { transition-delay: 0.42s; }
.sp-menu.is-open .sp-menu-foot > *:nth-child(1) { transition-delay: 0.46s; }
.sp-menu.is-open .sp-menu-foot > *:nth-child(2) { transition-delay: 0.50s; }
.sp-menu.is-open .sp-menu-foot > *:nth-child(n + 3) { transition-delay: 0.54s; }

.sp-menu-list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 1階層：リンクと開閉ボタンを同じ見た目にそろえる */
.sp-menu-list > li > a,
.sp-menu-list > li > .sp-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 8px;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

/* 開閉ボタンの ＋／− */
.sp-menu-btn::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url(../img/common/acc-plus-wh.svg) no-repeat center / contain;
}

.sp-menu-list li.is-open > .sp-menu-btn::after {
  background-image: url(../img/common/acc-minus-wh.svg);
}

/* 開閉する中身（jQuery の slideToggle で開くため block のまま） */
.sp-menu-child {
  display: none;
}

/* 2階層 */
.sp-menu-list-2 {
  padding: 0 0 12px 12px;
}

.sp-menu-list-2 > li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sp-menu-list-2 > li > a,
.sp-menu-list-2 > li > .sp-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 8px;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}

.sp-menu-list-2 .sp-menu-btn::after {
  width: 18px;
  height: 18px;
}

/* 3階層 */
.sp-menu-list-3 {
  margin: 0 0 8px 8px;
  padding: 4px 0 4px 12px;
  border-left: 2px solid rgba(255, 255, 255, 0.25);
}

.sp-menu-list-3 > li > a {
  display: block;
  padding: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
}

.sp-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

/* 動きを減らす設定の利用者には即時表示にする */
@media (prefers-reduced-motion: reduce) {
  .header,
  .header-logo a,
  .header-nav a,
  .header-nav a::before,
  .header-nav-btn,
  .header-nav-btn::before,
  .header-utility-main a,
  .header-utility-main a::after,
  .header-utility-apply,
  .header-apply-sp,
  .header-menu-btn,
  .sp-menu,
  .sp-menu-list > li,
  .sp-menu-foot > * {
    transition: none !important;
  }

  .header.is-hidden {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   5. パンくず
   -------------------------------------------------------------------------- */
.breadcrumb-wrapper {
  padding-top: 24px;
}

.breadcrumb {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: var(--ls-2);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cl-gy);
}

.breadcrumb li a {
  color: var(--cl-link);
  text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background: url(../img/common/nav-arrow-right.svg) no-repeat center / contain;
}

@media (max-width: 768px) {
  .breadcrumb-wrapper {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   6. ページタイトル（H1）
   -------------------------------------------------------------------------- */
.page-ttl {
  margin-top: 24px;
}

.page-ttl-inner {
  display: flex;
  align-items: center;
  min-height: 200px;
  padding: 32px 120px;
  border-radius: var(--rd-xl);
  background-color: var(--cl-bg);
}

.page-ttl h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

@media (max-width: 768px) {
  .page-ttl {
    margin-top: 12px;
  }

  .page-ttl-inner {
    min-height: 120px;
    padding: 18px 24px;
    border-radius: var(--rd-l);
  }

  .page-ttl h1 {
    font-size: 28px;
    line-height: 1.5;
  }
}

/* --------------------------------------------------------------------------
   7. 本文エリア
   -------------------------------------------------------------------------- */
.main {
  /* 背景の縦グリッド線を敷くため */
  position: relative;
  padding-bottom: 146px;
}

/* パーツ（forcms_block 1つ分）の外側余白。
   パーツを追加・並べ替えしても間隔が崩れないよう、
   各パーツ自身が上マージンを持つ設計にしている。 */
.parts {
  margin-top: 80px;

  &.pdf-box-container {
    margin-top: 40px;
  }
}

.art-container {
  margin-top: 40px;
}

/* 大見出し（H2）で区切るセクション単位のパーツは広めに空ける */
.parts.is-section {
  margin-top: 120px;
}

/* H1帯の直下に置くタブなど、詰めて置くパーツ */
.parts.is-tight {
  margin-top: 32px;
}

/* 直前のパーツの続き（補足・注記など）。CMSのブロックは分けたいが
   見た目はひとつのまとまりに見せたい場合に使う */
.parts.is-follow {
  margin-top: 40px;
}

/* パーツ内の標準縦間隔 */
.parts > * + * {
  margin-top: 40px;
}

.page-tab + .anchor-list {
  margin-top: 60px;
}

@media (max-width: 768px) {
  .main {
    padding-bottom: 80px;
  }

  .parts {
    margin-top: 60px;
  }

  .parts > * + * {
    margin-top: 24px;
  }
}

/* --------------------------------------------------------------------------
   8. 見出し（01 タイトル・見出し）
   -------------------------------------------------------------------------- */

/* テンプレート番号付き見出し（テンプレート一覧ページ専用） */
.ttl-h2-no {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ttl-h2-no .no {
  min-width: 64px;
  padding: 12px;
  font-size: 28px;
  line-height: 1.5;
  text-align: center;
}

.ttl-h2-no .txt {
  color: var(--cl-ttl);
}

@media (max-width: 768px) {
  .ttl-h2-no {
    gap: 16px;
  }

  .ttl-h2-no .no {
    min-width: 56px;
    padding: 14px 8px;
    font-size: 20px;
    line-height: 1;
  }

  .ttl-h2-no .txt {
    font-size: 26px;
    line-height: 1.5;
  }
}

/* H2：黄色バー付き（中見出し） */
.ttl-h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 10px;
  margin-top: 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
}

/* H2：バーなし（ページ内リード見出し） */
@media (max-width: 768px) {
  .ttl-h2,
  .ttl-h2-plain {
    font-size: 26px;
    line-height: 1.5;
  }

  .ttl-h2::after {
    width: 60px;
    height: 8px;
    margin-top: 16px;
  }
}

/* H3：青い縦バー付き（小見出し） */
.ttl-h3 {
  display: flex;
  align-items: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.ttl-h3::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 8px;
  height: 48px;
  margin-right: 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
}

@media (max-width: 768px) {
  .ttl-h3 {
    font-size: 22px;
  }

  .ttl-h3::before {
    width: 6px;
    height: 40px;
    margin-right: 16px;
  }
}

/* H4 / H5：シンプル見出し */
.ttl-h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.ttl-h5 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .ttl-h4 {
    font-size: 20px;
  }

  .ttl-h5 {
    font-size: 18px;
  }
}

/* 本文 */
.txt-s {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.txt a,
.txt-s a {
  color: var(--cl-link);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .txt {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   9. 写真レイアウト＋説明文（02）
   -------------------------------------------------------------------------- */
.photo-list {
  display: grid;
  gap: 40px;
}

.photo-list.col2 {
  grid-template-columns: repeat(2, 1fr);
}

.photo-list.col3 {
  grid-template-columns: repeat(3, 1fr);
}

/* QR コードなど真四角の小サイズ */
.photo-list.col-qr {
  grid-template-columns: repeat(auto-fill, 144px);
  gap: 20px;
}

.photo-list + .photo-list {
  margin-top: 40px;
}

.photo-list-item figure {
  margin: 0;
}

.photo-list.col-qr img {
  aspect-ratio: 1 / 1;
  border-radius: var(--rd-s);
}

.photo-list-item figcaption {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.photo-list.col-qr figcaption {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 768px) {
  .photo-list {
    gap: 24px;
  }

  .photo-list.col2,
  .photo-list.col3 {
    grid-template-columns: 1fr;
  }

  /* SP は 2 列に折り返す */
  .photo-list.col3.sp-col2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .photo-list.col-qr {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .photo-list + .photo-list {
    margin-top: 24px;
  }

  .photo-list-item figcaption {
    margin-top: 12px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   10. 表（03）／ 小見出し（ラベル型）（07）
   -------------------------------------------------------------------------- */
.tbl-wrap {
  width: 100%;
}

/* 中の隠しテキスト（.sr-only）が外に飛び出さないよう、位置の基準にしておく */
.tbl-scroll {
  position: relative;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--cl-bdr);
  border-bottom: 1px solid var(--cl-bdr);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.tbl th,
.tbl td {
  padding: 24px;
  border-bottom: 1px solid var(--cl-bdr);
  text-align: center;
  vertical-align: middle;
}

.tbl tr:last-child th,
.tbl tr:last-child td {
  border-bottom: none;
}

/* 見出し行（横） */
.tbl thead th,
.tbl th.is-head {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-weight: 500;
}

/* 行見出し（縦） */
.tbl tbody th,
.tbl th.is-row {
  width: 216px;
  background-color: var(--cl-pop-lbl);
  font-weight: 700;
}

.tbl td {
  background-color: var(--cl-wh);
  font-weight: 500;
}

/* セル内に複数要素を入れた場合の間隔 */
.tbl td > * + * {
  margin-top: 8px;
}

/* 空セル（左上） */
.tbl .is-empty {
  background-color: var(--cl-wh);
  border-bottom-color: transparent;
}

/* SP 用の横スクロール注記 */
.tbl-note {
  margin-bottom: 8px;
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.7;
}

/* 強調行 */
.tbl tr.is-em td {
  background-color: var(--cl-pop-lbl);
  font-weight: 700;
}

/* ラベル型：セル内を左寄せにする場合 */
.tbl.is-label tbody th {
  width: 190px;
}

.tbl.is-label td {
  text-align: left;
}

@media (max-width: 768px) {
  /* 通常の表：表組みのまま、はみ出す場合は横スクロール */
  .tbl-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tbl {
    min-width: 100%;
    font-size: 14px;
  }

  .tbl th,
  .tbl td {
    padding: 12px 10px;
    white-space: nowrap;
  }

  .tbl tbody th,
  .tbl th.is-row {
    width: auto;
    min-width: 96px;
  }

  /* ラベル型・記事の概要表：SP ではラベルを上に、内容を下に縦積み */
  .tbl-scroll:has(.tbl.is-label),
  .tbl-scroll:has(.tbl.is-detail) {
    overflow-x: visible;
  }

  .tbl.is-label,
  .tbl.is-label tbody,
  .tbl.is-label tr,
  .tbl.is-label th,
  .tbl.is-label td,
  .tbl.is-detail,
  .tbl.is-detail tbody,
  .tbl.is-detail tr,
  .tbl.is-detail th,
  .tbl.is-detail td {
    display: block;
    width: auto;
  }

  .tbl.is-label,
  .tbl.is-detail {
    font-size: 16px;
  }

  .tbl.is-label th,
  .tbl.is-label td,
  .tbl.is-detail th,
  .tbl.is-detail td {
    padding: 12px 16px;
    white-space: normal;
  }

  .tbl.is-label tbody th,
  .tbl.is-detail tbody th {
    width: auto;
  }

  .tbl.is-label .is-empty {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   11. 画像＋文章の左右レイアウト（04）
   -------------------------------------------------------------------------- */
.img-txt {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 画像を右に置く（デフォルト） */
.img-txt .img-txt-img {
  flex-shrink: 0;
  width: 200px;
}

/* 画像を左に置く */
.img-txt.is-reverse {
  flex-direction: row-reverse;
}

.img-txt .img-txt-body {
  flex: 1 1 auto;
  min-width: 0;
}

.img-txt .img-txt-ttl {
  margin-bottom: 10px;
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
  font-feature-settings: "pwid" 1, "palt" 1;
}

@media (max-width: 768px) {
  .img-txt,
  .img-txt.is-reverse {
    flex-direction: column;
    gap: 16px;
  }

  .img-txt .img-txt-img {
    width: 100%;
  }

  .img-txt .img-txt-img img {
    aspect-ratio: 4 / 3;
  }

  .img-txt .img-txt-ttl {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   12. アンカーリンク（ページ内目次）（05）
   -------------------------------------------------------------------------- */
.anchor-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* 折り返して2行になっても下線の位置が揃うよう、高さいっぱいに伸ばす */
.anchor-list > li {
  display: flex;
}

.anchor-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--cl-bdr);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
}

.anchor-list a::after {
  content: "";
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.anchor-list a:hover::after {
  transform: translateY(3px);
}

.anchor-list a:hover {
  border-bottom-color: var(--cl-bl);
  opacity: 1;
}

/* 英字の副題つき */
.anchor-list.is-sub .sub {
  display: block;
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .anchor-list.is-sub .sub {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .anchor-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .anchor-list a {
    gap: 8px;
    padding-bottom: 12px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   13. 遷移先ボタン（06）
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 400px;
  max-width: 100%;
  min-height: 60px;
  padding: 16px 32px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-pill);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
  text-align: center;
  font-feature-settings: "pwid" 1, "palt" 1;
}

.btn:hover {
  opacity: 0.8;
}

.btn .icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: no-repeat center / contain;
}

.btn .icon-arw-r {
  background-image: url(../img/common/arrow-right-wh.svg);
}

.btn .icon-arw-l {
  background-image: url(../img/common/arrow-left-bl.svg);
}

.btn .icon-ext {
  width: 22px;
  height: 22px;
  background-image: url(../img/common/ext-link-wh.svg);
}

.btn .icon-dl {
  width: 20px;
  height: 20px;
  background-image: url(../img/common/download.svg);

  &.icon-bl {
    background-image: url(../img/common/download-bl.svg);
  }
}

/* 白抜き（ネイビー枠） */
.btn-wt {
  border-width: 2px;
  background-color: var(--cl-wh);
  color: var(--cl-bl);
}

.btn-wt .icon-arw-r {
  background-image: url(../img/common/arrow-right-bl.svg);
}

.btn-wt .icon-ext {
  background-image: url(../img/common/ext-link.svg);
}

/* ゴールド（イエロー） */
.btn-yl {
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

.btn-yl .icon-arw-r {
  background-image: url(../img/common/arrow-right-bl.svg);
}

/* ボタン並び */
.btn-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}

/* 配置パターン */
.btn-area {
  display: flex;
}

.btn-area.is-left {
  justify-content: flex-start;
}

.btn-area.is-center {
  justify-content: center;
}

.btn-area.is-right {
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
    min-height: 56px;
    padding: 14px 24px;
    font-size: 16px;
  }

  .btn-list {
    flex-direction: column;
    gap: 16px;
  }

  .btn-area {
    justify-content: stretch;
  }
}

/* --------------------------------------------------------------------------
   14. 箇条書きリスト（08）／番号付きリスト
   -------------------------------------------------------------------------- */
.list-dot > li,
.list-num > li {
  position: relative;
  padding-left: 20px;
}

.list-dot > li + li,
.list-num > li + li {
  margin-top: 8px;
}

/* マーカー（1行目の中央に揃える） */
.list-dot > li::before {
  content: "";
  display: block;
  position: absolute;
  left: 3px;
  top: calc((1.7em - 6px) / 2);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cl-bl);
}

/* 入れ子（第2階層） */
.list-dot .list-dot {
  margin-top: 8px;
  padding-left: 20px;
}

.list-dot .list-dot > li::before {
  border: 1px solid var(--cl-gy);
  background-color: transparent;
}

/* マーカー差し替え用 */
.list-dot.is-square > li::before {
  border-radius: 0;
}

.list-num {
  counter-reset: num;
}

.list-num > li {
  padding-left: 24px;
  counter-increment: num;
}

.list-num > li::before {
  content: counter(num) ".";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cl-bk);
  line-height: 1.7;
}

/* リスト内の矢印リンク */
.link-arw {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cl-link);
}

.link-list > li + li {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .txt,
  .link-arw,
  .pdf-list a,
  .art-list .art-ttl,
  .list-dot > li,
  .list-num > li {
    font-size: 16px;
  }

  .list-dot > li + li,
  .list-num > li + li {
    margin-top: 12px;
  }

  .list-dot .list-dot {
    margin-top: 12px;
  }
}

/* --------------------------------------------------------------------------
   15. 番号付きリスト STEP 型（09）
   -------------------------------------------------------------------------- */
.step-list > li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 40px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.step-list > li + li {
  margin-top: 16px;
}

.step-list .no {
  flex-direction: column;
  width: 50px;
  min-height: 40px;
  padding: 10px 12px;
}

/* STEP ラベル付き */
.step-list .no.has-label {
  min-height: 56px;
}

.step-list .no .label {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}

.step-list .no .num {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.step-list .step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.step-list .step-ttl {
  margin-bottom: 8px;
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.step-list .step-body > * + * {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .step-list > li {
    gap: 16px;
    padding: 20px 16px;
  }

  .step-list .step-ttl {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   16. 枠で目立たせるブロック（10）
   -------------------------------------------------------------------------- */
.box {
  padding: 24px 40px;
  border: 1px solid transparent;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.box + .box {
  margin-top: 20px;
}

.box-ttl {
  margin-bottom: 5px;
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* グレー背景（デフォルト）*/
.box.is-gray {
  border-color: transparent;
  background-color: var(--cl-bg);
}

/* 白背景＋薄いグレー枠 */
.box.is-line {
  border-color: var(--cl-bdr);
  background-color: var(--cl-wh);
}

/* 白背景＋ネイビー枠 */
.box.is-navy {
  border-width: 2px;
  border-color: var(--cl-bl);
  background-color: var(--cl-wh);
}

/* 薄い背景＋ゴールド枠 */
.box.is-gold {
  border-width: 2px;
  border-color: var(--cl-yl);
  background-color: var(--cl-pop-lbl);
}

/* 写真＋テキスト */
.box-flex {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.box-flex .box-body {
  flex: 1 1 auto;
  min-width: 0;
}

.box-flex .box-img {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 16px;
  width: 300px;
}

@media (max-width: 768px) {
  .box {
    padding: 20px 16px;
  }

  .box-ttl {
    font-size: 18px;
  }

  .box-flex {
    flex-direction: column;
    gap: 16px;
  }

  .box-flex .box-img {
    width: 100%;
  }

  .box-flex .box-img img {
    aspect-ratio: 4 / 3;
  }
}

/* --------------------------------------------------------------------------
   17. 動画の埋め込み（11）
   -------------------------------------------------------------------------- */
.movie {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--rd-m);
  background-color: #d9d9d9;
}

/* --------------------------------------------------------------------------
   18. PDF 添付・ダウンロード（12）
   -------------------------------------------------------------------------- */
.pdf-box {
  padding: 40px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
}

.pdf-box + .pdf-box {
  margin-top: 24px;
}

.pdf-box-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.pdf-box-head .ttl-h3 {
  margin: 0;
}

/* PDFグループの「最新」バッジ（黄色）。新着情報の NEW（ピンク）とは別物 */
.icon-latest {
  line-height: 1.2;
}

.pdf-list > li + li {
  margin-top: 16px;
}

.pdf-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 16px 16px 16px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
}

.pdf-list a:hover {
  background-color: var(--cl-pop-lbl);
  opacity: 1;
}

.pdf-list a .name {
  flex: 1 1 auto;
  min-width: 0;
}

.btn-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 4px;
  height: 36px;
  padding: 8px 16px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-pill);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

.btn-pdf::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url(../img/common/download.svg) no-repeat center / contain;
}

@media (max-width: 768px) {
  .pdf-box {
    padding: 20px 16px;
  }

  .pdf-box-head {
    margin-bottom: 20px;
  }

  .pdf-list a {
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    padding: 16px;
    font-size: 16px;
  }

  .pdf-list a .name {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   19. アコーディオン（13）
   -------------------------------------------------------------------------- */
.qa-list > li {
  padding: 32px 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-lgy);
}

.qa-list > li + li {
  margin-top: 16px;
}

.qa-q {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  text-align: left;
}

/* jQuery の slideToggle で開閉するため、外側は block のまま扱う */
.qa-a {
  display: none;
}

.qa-a-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 24px;
}

.qa-mark {
  width: 50px;
  height: 40px;
  padding: 10px 12px;
  font-size: 20px;
  line-height: 1;
}

.qa-mark.is-q {
  background-color: var(--cl-bl);
  color: var(--cl-yl);
}

.qa-mark.is-a {
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

.qa-q .ttl {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
  font-feature-settings: "pwid" 1, "palt" 1;
}

.qa-q .toggle {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: url(../img/common/acc-plus.svg) no-repeat center / contain;
}

.qa-list > li.is-open .qa-q .toggle {
  background-image: url(../img/common/acc-minus.svg);
}

.qa-a-inner .txt {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 768px) {
  .qa-list > li {
    padding: 20px 16px;
  }

  .qa-q,
  .qa-a-inner {
    gap: 12px;
  }

  .qa-mark {
    width: 40px;
    height: 32px;
    font-size: 16px;
  }

  .qa-q .ttl {
    font-size: 17px;
  }

  .qa-q .toggle {
    width: 28px;
    height: 28px;
  }
}

/* --------------------------------------------------------------------------
   20. 問い合わせ先ブロック（14）
   -------------------------------------------------------------------------- */
.contact-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 40px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  text-align: center;
}

.contact-box::before {
  content: "✉";
  display: block;
  flex-shrink: 0;
  color: var(--cl-bl);
}

@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px;
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   21. 関連ページ一覧「あわせて読みたい」（15）
   -------------------------------------------------------------------------- */
.related-box {
  padding: 32px 40px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
}

.related-box .ttl-h5 {
  margin-bottom: 12px;
}

.related-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.related-list a {
  color: var(--cl-bk);
}

.related-list a:hover {
  color: var(--cl-bl);
  opacity: 1;
}

@media (max-width: 768px) {
  .related-box {
    padding: 20px 16px;
  }

  .related-list {
    flex-direction: column;
    gap: 12px;
  }

  .related-list a {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   22. 注釈・脚注（16）
   -------------------------------------------------------------------------- */
.note-list > li {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.note-mark {
  vertical-align: super;
  font-size: 0.75em;
}

/* --------------------------------------------------------------------------
   23. ページトップ
   -------------------------------------------------------------------------- */
/* イラストは下端で切れているデザインなので、天地の「地」にくっつける（bottom: 0） */
.pagetop {
  display: block;
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 0;
  width: 103px;
}

.pagetop img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .pagetop {
    right: 12px;
    bottom: 0;
    width: 64px;
  }
}

/* --------------------------------------------------------------------------
   24. SNS バナー
   -------------------------------------------------------------------------- */
.sns {
  padding: 25px 24px;
  border-radius: var(--rd-xl);
  background-color: var(--cl-pop-bl);
}

.sns-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sns-list a {
  display: flex;
  position: relative;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.sns-list .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  width: 72px;
  height: 72px;
  border-radius: var(--rd-m);
}

.sns-list .icon img {
  width: 40px;
  height: 40px;
}

.sns-list .icon.is-youtube {
  background-color: #da1725;
}

.sns-list .icon.is-instagram {
  background-image: linear-gradient(135deg, #4c64d3 0%, #cf2e92 40%, #f26939 69.7%, #ffdd83 100%);
}

.sns-list .icon.is-line {
  background-color: transparent;
}

.sns-list .icon.is-line img {
  width: 72px;
  height: 72px;
}

.sns-list .txt-area {
  display: block;
  min-width: 0;
}

.sns-list .name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
  font-feature-settings: "pwid" 1, "palt" 1;
}

.sns-list .desc {
  display: block;
  margin-top: 16px;
  color: var(--cl-gy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.sns-list .ext {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 14px;
  height: 14px;
  background: url(../img/common/ext-link.svg) no-repeat center / contain;
}

@media (max-width: 768px) {
  .sns {
    padding: 16px 12px;
    border-radius: var(--rd-l);
  }

  .sns-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sns-list a {
    gap: 16px;
    padding: 12px 16px;
  }

  .sns-list .icon,
  .sns-list .icon.is-line img {
    width: 40px;
    height: 40px;
  }

  .sns-list .icon img {
    width: 24px;
    height: 24px;
  }

  .sns-list .name {
    font-size: 16px;
  }

  .sns-list .desc {
    margin-top: 4px;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   25. フッター
   -------------------------------------------------------------------------- */
.footer {
  margin-top: 40px;
}

.footer-main {
  margin-top: 24px;
  padding: 80px 120px 64px;
  border-radius: var(--rd-xl) var(--rd-xl) 0 0;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-info {
  width: 336px;
  flex-shrink: 0;
}

.footer-info .logo,
.footer-info .logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-info .desc {
  margin-top: 56px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav-col {
  width: 216px;
}

.footer-nav-ttl {
  margin-bottom: 32px;
  color: var(--cl-yl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.footer-nav-list > li + li {
  margin-top: 16px;
}

.footer-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.footer-nav-list a .ext {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url(../img/common/ext-link-wh.svg) no-repeat center / contain;
}

.footer-bottom {
  margin-top: 80px;
}

.footer-lang {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 24px;
}

.footer-lang a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.1);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.footer-util {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.footer-util a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.footer-util .line {
  display: block;
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
}

.copyright {
  margin-top: -21px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--ff-num);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: right;
}

/* SP フッター */
.footer-acc > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 8px;
  color: var(--cl-yl);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.footer-acc-btn::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url(../img/common/acc-plus-wh.svg) no-repeat center / contain;
}

.footer-acc > li.is-open .footer-acc-btn::after {
  background-image: url(../img/common/acc-minus-wh.svg);
}

/* jQuery の slideToggle で開閉する */
.footer-acc-body {
  display: none;
  padding: 0 8px 16px;
}

@media (max-width: 768px) {
  .footer {
    margin-top: 32px;
  }

  .footer-main {
    margin-top: 12px;
    padding: 24px 16px 32px;
    border-radius: var(--rd-l) var(--rd-l) 0 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .footer-info {
    width: 100%;
    text-align: center;
  }

  .footer-info .logo {
    width: 220px;
    margin-inline: auto;
  }

  .footer-info .desc {
    margin-top: 24px;
    font-size: 13px;
    text-align: center;
  }

  .footer-bottom {
    margin-top: 24px;
  }

  .footer-name {
    text-align: center;
  }

  .footer-lang {
    justify-content: center;
  }

  .footer-util {
    justify-content: center;
    margin-top: 16px;
  }

  .footer-util a {
    font-size: 12px;
  }

  .copyright {
    margin-top: 12px;
    font-size: 11px;
    text-align: center;
  }
}

/* ==========================================================================
   一覧・詳細ページ用パーツ（新着情報／イベント）
   ========================================================================== */

/* --------------------------------------------------------------------------
   27. カテゴリタブ
   -------------------------------------------------------------------------- */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tab-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: var(--rd-pill);
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
}

.tab-list a:hover {
  background-color: var(--cl-pop-lbl);
  opacity: 1;
}

.tab-list .is-current {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 16px;
  line-height: 1.3;
}

.tab-list .is-current:hover {
  background-color: var(--cl-bl);
}

@media (max-width: 768px) {
  .tab-list {
    gap: 4px;
  }

  .tab-list a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .tab-list .is-current {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   28. 記事リスト（新着情報／イベント共通）

   CMSの記事1件＝ <li class="art"> ひとかたまり。
   TOPでも下層一覧でも「まったく同じHTML」を使い、
   見た目の違いは親に .is-top を付けるかどうかだけで切り替える。

     <ul class="art-list">          ← TOPは class="art-list is-top"
       <!--記事-->
       <li class="art">
         <a href="…" class="art-link">
           <div class="art-txt">
             <div class="art-meta">
               <span class="art-date">掲載日</span>
               <span class="art-cat">カテゴリ</span>
               <span class="art-new">NEW</span>
               <span class="art-status">受付状態</span>
             </div>
             <p class="art-ttl">タイトル</p>
             <p class="art-place">開催情報（イベントのみ）</p>
           </div>
           <span class="art-arw"></span>
         </a>
       </li>
     </ul>
   -------------------------------------------------------------------------- */
.art-list > li + li {
  margin-top: 16px;
}

.art-list .art-link {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.art-list .art-link:hover {
  border-color: var(--cl-bl);
  opacity: 1;
}

.art-txt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

/* 開催場所・時間などの補足行（イベント一覧） */
.art-place {
  color: var(--cl-gy);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.art-list .art-arw {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
}

.art-list .art-arw::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url(../img/common/arrow-card.svg) no-repeat center / contain;
}

/* ページ内アンカー用（下向き） */
.art-list .art-arw.is-down::before {
  background-image: url(../img/common/nav-arrow-down.svg);
}

@media (max-width: 768px) {
  .art-list .art-link {
    gap: 12px;
    padding: 16px;
  }

  .art-meta {
    gap: 8px;
  }

  .art-place {
    font-size: 14px;
  }

  .art-list .art-arw {
    width: 32px;
    height: 32px;
  }

  .art-list .art-arw::before {
    width: 16px;
    height: 16px;
  }
}

/* ---- TOP（新着情報・イベントカレンダーのパネル内） ---- */
.art-list.is-top {
  margin-top: 20px;
}

.art-list.is-top > li + li {
  margin-top: 12px;
}

.art-list.is-top .art-link {
  display: block;
  position: relative;
  gap: 0;
  padding: 16px 64px 16px 20px;
  border: 0;
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
  color: var(--cl-bk);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.3s ease-out;
}

.art-list.is-top .art-link:hover {
  transform: translateX(6px);
  border-color: transparent;
  box-shadow: 0 10px 20px -12px rgba(30, 60, 145, 0.5);
  opacity: 1;
}

.art-list.is-top .art-txt {
  display: block;
}

.art-list.is-top .art-meta {
  gap: 8px;
}

.art-list.is-top .art-date {
  font-size: 14px;
  line-height: 1.6;
}

.art-list.is-top .art-cat,
.art-list.is-top .art-new,
.art-list.is-top .art-status {
  padding: 2px 10px;
  font-size: 14px;
  line-height: 1.6;
}

.art-list.is-top .art-cat {
  background-color: var(--cl-pop-lgr);
  color: var(--cl-bl);
}

.art-list.is-top .art-new {
  background-color: var(--cl-pop-lpk);
  color: #d9407a;
}

.art-list.is-top .art-cat.is-online {
  background-color: var(--cl-pop-lbl);
}

.art-list.is-top .art-ttl {
  display: block;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.art-list.is-top .art-place {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.6;
}

/* TOPの矢印は右端に小さく重ねる */
.art-list.is-top .art-arw {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border-radius: var(--rd-s);
  background: var(--cl-yl) url(../img/common/arrow-right-bl.svg) no-repeat center / 20px 20px;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.art-list.is-top .art-arw::before {
  content: none;
}

.art-list.is-top .art-link:hover .art-arw {
  transform: translate(5px, -50%);
}

/* --------------------------------------------------------------------------
   29. カテゴリ／状態アイコン
   -------------------------------------------------------------------------- */
/* カテゴリ */
.icon-topics {
  background-color: var(--cl-pop-lgr);
  color: var(--cl-bl);

  &[data-val="受付中"] {
    background-color: var(--cl-pop-lpk);
  }

  &[data-val="受付終了"] {
    background-color: var(--cl-lgy3);
    color: var(--cl-gy);
  }
}

/* NEW ／ 受付中 */
.icon-new,
.icon-status {
  background-color: var(--cl-pop-lpk);
  color: var(--cl-bl);
  line-height: 1.2;
}

/* 受付終了 */
.icon-status.is-closed {
  background-color: var(--cl-lgy3);
  color: var(--cl-gy);
}

@media (max-width: 768px) {
  .icon-topics,
  .icon-new,
  .icon-status {
    padding: 4px 8px 5px;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   30. ページャ
   -------------------------------------------------------------------------- */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 80px;
}

.pager li a,
.pager li span {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.pager li a:hover {
  background-color: var(--cl-pop-lbl);
  opacity: 1;
}

/* 現在ページ */
.pager li .is-current {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

/* ページが多いときの省略記号。押せないので背景は敷かない */
.pager .pager-ellipsis span {
  background-color: transparent;
  color: var(--cl-gy);
}

/* 前へ・次へ */
.pager .pager-prev a::before,
.pager .pager-next a::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../img/common/arrow-pager.svg) no-repeat center / contain;
}

/* 最初へ・最後へ */
.pager .pager-first a::before,
.pager .pager-last a::before,
.pager .pager-first a::after,
.pager .pager-last a::after {
  content: "";
  display: block;
  position: absolute;
  left: 8px;
  width: 20px;
  height: 32px;
  background: url(../img/common/arrow-pager.svg) no-repeat center center / cover;
}

.pager .pager-first a::after,
.pager .pager-last a::after {
  left: 20px;
}

.pager .pager-prev a::before,
.pager .pager-first a::before,
.pager .pager-first a::after {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .pager {
    gap: 4px;
    margin-top: 48px;
  }

  .pager li a,
  .pager li span {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .pager .pager-prev a::before,
  .pager .pager-next a::before {
    width: 24px;
    height: 24px;
  }
}

/* --------------------------------------------------------------------------
   31. 記事ページのタイトル帯（日付＋カテゴリ＋H1）
   -------------------------------------------------------------------------- */
.page-ttl.is-article .page-ttl-inner {
  display: block;
  min-height: 240px;
  padding-block: 47px;
}

.page-ttl.is-article .article-meta {
  margin-bottom: 16px;
}

.page-ttl.is-article h1 {
  font-size: 40px;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

@media (max-width: 768px) {
  .page-ttl.is-article .page-ttl-inner {
    min-height: 0;
    padding-block: 20px;
  }

  .page-ttl.is-article .article-meta {
    margin-bottom: 12px;
  }

  .page-ttl.is-article h1 {
    font-size: 22px;
  }
}

/* --------------------------------------------------------------------------
   32. 記事下ナビ（前の記事／次の記事／一覧へ戻る）
   -------------------------------------------------------------------------- */
.article-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--cl-bdr);
}

.article-nav-pn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* 前後記事ボタン（グレー枠・小） */
.btn-pn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 16px 32px;
  border: 2px solid var(--cl-bdr);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  color: var(--cl-bk);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;

  &.btn-next {
    margin-left: auto;
  }
}

.btn-pn:hover {
  border-color: var(--cl-bl);
  opacity: 1;
}

.btn-pn .icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: no-repeat center / contain;
}

.btn-pn .icon-arw-l {
  background-image: url(../img/common/arrow-left-bk.svg);
}

.btn-pn .icon-arw-r {
  background-image: url(../img/common/arrow-right-bk.svg);
}

/* 前後の記事が無い場合 */
.btn-pn.is-disabled {
  border-color: var(--cl-bdr);
  color: var(--cl-bdr);
  pointer-events: none;
}

@media (max-width: 768px) {
  .article-nav {
    gap: 24px;
    padding-top: 24px;
  }

  .article-nav-pn {
    gap: 12px;
  }

  .btn-pn {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   33. 記事用テーブル（項目名＋内容・左寄せ）
   -------------------------------------------------------------------------- */
.tbl.is-detail tbody th {
  text-align: left;
}

/* 項目名の幅は PC のみ固定（SP は縦積みなので指定しない） */
@media (min-width: 769px) {
  .tbl.is-detail tbody th {
    width: 280px;
  }
}

.tbl.is-detail td {
  text-align: left;
}

.tbl.is-detail td .note {
  margin-top: 10px;
  color: var(--cl-gy);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* --------------------------------------------------------------------------
   34. 記事本文エリア
   -------------------------------------------------------------------------- */
.article-body > * + * {
  margin-top: 64px;
}

/* 見出し＋本文のまとまり */
.article-sec > * + * {
  margin-top: 24px;
}

/* 記事中の単体画像（本文幅より狭く中央寄せ） */
.article-img {
  max-width: 800px;
  margin-inline: auto;
}

/* 記事中の画像キャプション（デザインどおり本文と同じ大きさ） */
.article-img figcaption,
.article-body .photo-list-item figcaption {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .article-body > * + * {
    margin-top: 32px;
  }

  .article-img figcaption,
  .article-body .photo-list-item figcaption {
    margin-top: 12px;
    font-size: 15px;
  }
}

/* ==========================================================================
   FAQ ／ CIEC YouTube Channel 用パーツ
   ========================================================================== */

/* --------------------------------------------------------------------------
   36. 大タブ（ページ内の表示切替）
   -------------------------------------------------------------------------- */
.page-tab {
  display: flex;
  align-items: stretch;
  gap: 16px;
  border-bottom: 1px solid var(--cl-bdr);
}

/* 2つのタブを同じ幅・同じ高さに揃える */
.page-tab > li {
  display: flex;
  flex: 0 1 500px;
}

.page-tab a {
  display: flex;
  position: relative;
  bottom: -1px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 73px;
  padding: 16px 24px;
  border: 1px solid var(--cl-bdr);
  border-bottom-color: var(--cl-bdr);
  border-radius: var(--rd-m) var(--rd-m) 0 0;
  background-color: var(--cl-lgy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  text-align: center;
  white-space: nowrap;
}

/* 選択中：白地・下線を消して本文とつなげる */
.page-tab .is-current {
  border-bottom-color: var(--cl-wh);
  background-color: var(--cl-wh);
}

.page-tab a:hover {
  opacity: 1;
  background-color: var(--cl-pop-lbl);
}

.page-tab .is-current:hover {
  background-color: var(--cl-wh);
}

@media (max-width: 768px) {
  .page-tab {
    gap: 8px;
  }

  /* SP では画面幅に収める（PCの 500px 固定を解除） */
  .page-tab > li {
    flex: 1 1 0;
    min-width: 0;
  }

  .page-tab a {
    gap: 8px;
    min-height: 56px;
    padding: 12px 8px;
    font-size: 13px;
    white-space: normal;
  }

  .page-tab .icon-down {
    width: 18px;
    height: 18px;
    background-size: 13px 13px;
  }
}

/* アンカーリンクの5列パターン（FAQ） */
.anchor-list.col5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 768px) {
  .anchor-list.col5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   37. 動画カード（CIEC YouTube Channel）
   -------------------------------------------------------------------------- */
.movie-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: var(--rd-l);
  background-color: var(--cl-pop-lbl);
}

.movie-card:hover {
  opacity: 1;
}

.movie-card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 376 / 212;
  background-color: #d9d9d9;
}

/* 再生ボタン */
.movie-card-thumb::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  background: url(../img/common/icon_play.svg) no-repeat center / contain;
  transition:
    transform 0.3s ease-out,
    opacity 0.3s ease-out;
}

.movie-card:hover .movie-card-thumb::after,
.movie-card:focus-visible .movie-card-thumb::after {
  transform: scale(1.12);
}

.movie-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 24px;
}

.movie-card-cat {
  display: block;
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.movie-card-ttl {
  color: #1c2330;
  overflow-wrap: anywhere;
}

.movie-card:hover .movie-card-ttl {
  color: var(--cl-bl);
}

@media (max-width: 768px) {
  .movie-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .movie-card-thumb::after {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
  }

  .movie-card-body {
    padding: 16px;
  }

  .movie-card-cat {
    font-size: 14px;
  }

  .movie-card-ttl {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   38. 動画モーダル
   -------------------------------------------------------------------------- */
.modal {
  display: flex;
  position: fixed;
  z-index: 200;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 0.3s ease-out,
    visibility 0.3s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  border: none;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.modal-body {
  position: relative;
  width: 100%;
  max-width: 1000px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease-out;
}

.modal.is-open .modal-body {
  transform: none;
}

.modal-movie {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--rd-m);
  background-color: #000000;
}

/* ローカル確認時の案内（file:// でのみ表示される） */
.modal-movie-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  padding: 24px;
  color: var(--cl-wh);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  text-align: center;
}

.modal-movie-note a {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-weight: 700;
}

.modal-ttl {
  margin-top: 16px;
  color: var(--cl-wh);
}

.modal-close {
  display: flex;
  position: absolute;
  top: -56px;
  right: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--cl-wh);
}

.modal-close::before,
.modal-close::after {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: var(--cl-bl);
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .modal {
    padding: 16px;
  }

  .modal-close {
    top: -48px;
    width: 36px;
    height: 36px;
  }

  .modal-ttl {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   39. タグ（FAQ の回答内）
   -------------------------------------------------------------------------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 6px 12px 7px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out,
    color 0.25s ease-out;
}

.tag::before {
  content: "#";
  color: var(--cl-bl);
  font-size: 14px;
  transition: color 0.25s ease-out;
}

/* タグはリンク。ホバーでネイビーに反転して少し浮く */
a.tag:hover {
  transform: translateY(-2px);
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   40. ヘッダー 2階層目（メガメニュー）
   -------------------------------------------------------------------------- */
.header-nav-btn {
  padding: 0;
  font: inherit;
  color: inherit;
  white-space: nowrap;
}

.header-nav-btn::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  border-right: 2px solid var(--cl-bl);
  border-bottom: 2px solid var(--cl-bl);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease-out;
}

.header-nav-btn.is-open::after {
  transform: translateY(2px) rotate(-135deg);
}

.header-nav-btn:hover,
.header-nav-btn.is-open {
  color: var(--cl-bl);
}

.header-submenu {
  position: absolute;
  z-index: -1;
  top: 100%;
  right: 0;
  left: 0;
  padding: 0;
  border-top: 1px solid var(--cl-bdr);
  background-color: var(--cl-wh);
  box-shadow: 0 12px 24px -12px rgba(30, 60, 145, 0.25);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out,
    visibility 0.3s;
}

.header-submenu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.header-submenu-inner {
  padding-block: 40px;
}

.header-submenu-ttl {
  margin-bottom: 24px;
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.header-submenu-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 24px;
}

.header-submenu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cl-bdr);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.header-submenu-list a::after {
  margin-left: auto;
}

.header-submenu-list a:hover {
  border-bottom-color: var(--cl-bl);
  color: var(--cl-bl);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   41. ページトップ（2状態のイラスト）
   -------------------------------------------------------------------------- */
.pagetop img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.2s ease-out;
}

/* 通常時はデフォルト、スクロール中（.is-scrolling）は手足が出る方に切り替える。
   キーボード操作でも分かるようフォーカス時も同じ絵にする。 */
.pagetop .is-active {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.pagetop.is-scrolling .is-default,
.pagetop:focus-visible .is-default {
  opacity: 0;
}

.pagetop.is-scrolling .is-active,
.pagetop:focus-visible .is-active {
  opacity: 1;
}

/* スクロール中はイラストがぴょこぴょこ動く */
.pagetop.is-scrolling .is-active {
  animation: pagetop-step 0.5s ease-in-out infinite;
}

@keyframes pagetop-step {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

.pagetop:hover,
.pagetop:focus-visible {
  opacity: 1;
  animation: pagetop-jump 0.6s ease-out;
}

@keyframes pagetop-jump {
  0%,
  100% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-12px);
  }

  70% {
    transform: translateY(-4px);
  }
}

/* 待機中はゆっくり上下に揺れる */
.pagetop .is-default {
  animation: pagetop-float 3s ease-in-out infinite;
}

.pagetop.is-scrolling .is-default {
  animation: none;
}

@keyframes pagetop-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pagetop,
  .pagetop .is-default,
  .pagetop .is-active,
  .pagetop img,
  .prog-card,
  .prog-card-thumb img,
  .header-submenu {
    animation: none !important;
    transition: none !important;
  }

  .prog-card:hover,
  .prog-card:focus-within,
  .prog-card:nth-child(even):hover,
  .prog-card:nth-child(even):focus-within {
    transform: none;
  }
}

/* ==========================================================================
   保証人の皆さまへ ／ パンフレット 用パーツ
   ========================================================================== */

/* --------------------------------------------------------------------------
   42. 不安解消カード（Q. 〜 ＋ 遷移ボタン）
   -------------------------------------------------------------------------- */
.qcard-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.qcard {
  display: flex;
  flex-direction: column;
  padding: 32px 40px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.qcard-cat {
  align-self: flex-start;
}

.qcard-ttl {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.qcard-ttl::before {
  content: "Q.";
  margin-right: 8px;
  color: var(--cl-bl);
}

.qcard-txt {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.qcard .btn {
  width: auto;
  min-height: 48px;
  margin: 24px 0 0 auto;
  padding: 12px 24px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .qcard-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .qcard {
    padding: 20px 16px;
  }

  .qcard-ttl {
    font-size: 18px;
  }

  .qcard-txt {
    font-size: 15px;
  }

  .qcard .btn {
    width: 100%;
    margin-inline: 0;
  }
}

/* --------------------------------------------------------------------------
   43. 体験談カード
   -------------------------------------------------------------------------- */
.art-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.art-card {
  display: flex;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--rd-l);
  background-color: var(--cl-pop-lbl);
  box-shadow: 8px 8px 0 0 var(--cl-pop-bl);
}

.art-card:hover {
  opacity: 1;
  box-shadow: 4px 4px 0 0 var(--cl-pop-bl);
}

.art-card-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 11;
  background-color: #d9d9d9;
}

/* 写真の上に重ねるタグ */
.art-card-tags {
  display: flex;
  position: absolute;
  top: 12px;
  left: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.art-card-tags span {
  padding: 4px 8px 5px;
  font-size: 13px;
}

.art-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px;
}

.art-card-dest {
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* 本文の先頭に置く黄色ラベル（学部・研究科）。長い名称は折り返す */
.art-card-label {
  align-self: flex-start;
  margin-bottom: 5px;
  white-space: normal;
  line-height: 1.2;
}

.art-card-ttl {
  margin-top: 8px;
  overflow-wrap: anywhere;
}

/* カードの高さが揃うよう、メタ情報以降は下端に寄せる */
.art-card-meta {
  margin-top: auto;
  padding-top: 16px;
  color: var(--cl-gy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.art-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 auto;
  color: var(--cl-link);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
}

.art-card-more::after {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .art-card-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .art-card {
    box-shadow: 5px 5px 0 0 var(--cl-pop-bl);
  }

  .art-card-body {
    padding: 16px;
  }

  .art-card-ttl {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   44. PDF ボックスのバリエーション
   -------------------------------------------------------------------------- */

/* 過去年度など、強調しない枠 */
.pdf-box.is-plain {
  border-width: 1px;
  border-color: var(--cl-bdr);
}

/* ==========================================================================
   留学プログラムを探す（絞り込み検索）
   ========================================================================== */

/* --------------------------------------------------------------------------
   45. 2カラムレイアウト（左サイドナビ＋右本文）
   -------------------------------------------------------------------------- */
/* 右カラム内の縦間隔（デザイン実測 64px） */
.main-col > .forcms_block > * + * {
  margin-top: 64px;
}

.main-col-head .txt {
  margin-top: 32px;
}

.col2-layout {
  display: grid;
  grid-template-columns: 276px 1fr;
  gap: 24px;
  align-items: start;
}

/* 左右カラムは横並びなので .parts の縦間隔は効かせない
   （右カラムの見出しが左サイドナビの上端とそろうようにする） */
.col2-layout > * + * {
  margin-top: 0;
}

@media (max-width: 768px) {
  .main-col > * + * {
    margin-top: 32px;
  }

  .main-col-head .txt {
    margin-top: 16px;
  }

  .col2-layout {
    display: block;
  }

  /* SP ではサイドナビは出さない（ドロワーメニューから辿る想定） */
  .col2-layout > .side-col {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   46. サイドナビ
   -------------------------------------------------------------------------- */
.side-nav {
  overflow: hidden;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.side-nav + .side-nav {
  margin-top: 24px;
}

.side-nav-ttl {
  padding: 24px 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
  text-align: center;
  font-feature-settings: "pwid" 1, "palt" 1;
}

.side-nav-list {
  border-top: 2px solid var(--cl-bl);
}

.side-nav-list > li + li {
  border-top: 1px solid var(--cl-bdr);
}

.side-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.side-nav-list a:hover {
  background-color: var(--cl-pop-lbl);
  opacity: 1;
}

.side-nav-list a::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: auto;
  background: url(../img/common/arrow-link.svg) no-repeat center / contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.side-nav-list a:hover::after {
  transform: translateX(4px);
}

.side-nav-list .ttl {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.side-nav-list .sub {
  display: block;
  color: var(--cl-gy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* 現在地 */
.side-nav-list .is-current {
  background-color: var(--cl-pop-lbl);
}

.side-nav-list .is-current .ttl {
  color: var(--cl-bl);
}

/* --------------------------------------------------------------------------
   47. 絞り込みパネル（PC）
   -------------------------------------------------------------------------- */
.filter-panel {
  padding: 24px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);

  input[type="checkbox"] {
    display: none;
  }

  .chip-list > li {
    display: inline-block;
    margin-top: 8px;
  }

  .chip-list {
    display: inline;
  }
}

/* 選択チップ */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-block;
  align-items: center;
  justify-content: center;
  padding: 5px 14px 6px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out,
    border-color 0.25s ease-out,
    color 0.25s ease-out;
}

.chip:hover {
  transform: translateY(-2px);
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  opacity: 1;
}

@media (max-width: 768px) {
  .chip {
    white-space: wrap;
  }
}

/* 選択中 */
.chip.is-current,
input[type="checkbox"]:checked + .chip {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.chip.is-current:hover,
input[type="checkbox"]:checked + .chip:hover {
  border-color: var(--cl-bl);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

/* その他絞り込み */
.filter-more {
  margin-top: 24px;
}

.filter-more-ttl {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 17px 0;
  border-top: 1px solid var(--cl-bdr);
}

.filter-more-ttl + .filter-row {
  margin-top: 16px;
}

.filter-row:last-child {
  border-bottom: 1px solid var(--cl-bdr);
}

.filter-row-ttl {
  flex-shrink: 0;
  width: 140px;
  padding-top: 3px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.filter-row .chip-list {
  flex: 1 1 auto;
  min-width: 0;
}

/* クリア／検索する */
.filter-btns {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.btn-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  color: var(--cl-bk);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.25s ease-out,
    background-color 0.25s ease-out,
    border-color 0.25s ease-out,
    color 0.25s ease-out;
}

.btn-filter:hover {
  transform: translateY(-3px);
  border-color: var(--cl-bl);
  background-color: var(--cl-pop-lbl);
  box-shadow: 0 10px 18px -8px rgba(30, 60, 145, 0.4);
  opacity: 1;
}

/* 検索する（イエロー） */
.btn-filter.is-search {
  min-width: 112px;
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

.btn-filter.is-search:hover {
  border-color: var(--cl-bl);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  box-shadow: 0 10px 18px -8px rgba(30, 60, 145, 0.5);
}

/* --------------------------------------------------------------------------
   48. SP の絞り込み・並べ替えボタン／絞り込みモーダル
   -------------------------------------------------------------------------- */
.sp-filter-btns {
  display: none;
  gap: 16px;
}

.sp-filter-btns button {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: var(--ls-2);
}

.sp-filter-btns .icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: no-repeat center / contain;
}

.sp-filter-btns .icon-filter {
  background-image: url(../img/common/icon-filter.svg);
}

.sp-filter-btns .icon-sort {
  background-image: url(../img/common/icon-sort.svg);
}

@media (max-width: 768px) {
  .sp-filter-btns {
    display: flex;
  }
}

/* 絞り込みモーダル（SP） */
.filter-modal {
  display: flex;
  position: fixed;
  z-index: 200;
  inset: 0;
  flex-direction: column;
  background-color: var(--cl-wh);
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out,
    visibility 0.3s;
}

.filter-modal.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.filter-modal-head {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 56px;
  padding: 12px 56px;
  border-bottom: 1px solid var(--cl-bdr);
  background-color: var(--cl-bg);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: var(--ls-2);
}

.filter-modal-close {
  display: flex;
  position: absolute;
  top: 50%;
  left: 12px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
}

.filter-modal-close::before,
.filter-modal-close::after {
  content: "";
  display: block;
  position: absolute;
  width: 18px;
  height: 2px;
  background-color: var(--cl-bk);
}

.filter-modal-close::before {
  transform: rotate(45deg);
}

.filter-modal-close::after {
  transform: rotate(-45deg);
}

.filter-modal-body {
  flex: 1 1 auto;
  padding: 0 16px 24px;
  overflow-y: auto;
}

.filter-modal-sec {
  padding: 20px 0;
}

.filter-modal-sec + .filter-modal-sec {
  border-top: 1px solid var(--cl-bdr);
}

.filter-modal-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-modal-sec-ttl {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: var(--ls-2);
}

.filter-modal-sec-note {
  color: var(--cl-gy);
  font-size: 13px;
  font-weight: 500;
}

.filter-modal-foot {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--cl-bdr);
  background-color: var(--cl-wh);
}

.filter-modal-foot .btn-filter {
  flex: 1 1 0;
}

/* --------------------------------------------------------------------------
   49. プログラムカード
   -------------------------------------------------------------------------- */
.prog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.main-col {
  .prog-list {
    margin-top: 64px;
  }
}

.prog-card {
  display: flex;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
  transform-origin: center bottom;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1),
    border-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
}

/* ホバーでカードごと少し傾ける。隣り合うカードで傾く向きを変えて動きに変化をつける */
.prog-card:hover,
.prog-card:focus-within {
  transform: rotate(-1.5deg) translateY(-6px);
  border-color: var(--cl-bl);
  box-shadow: 0 16px 28px -14px rgba(30, 60, 145, 0.5);
  opacity: 1;
}

.prog-card:nth-child(even):hover,
.prog-card:nth-child(even):focus-within {
  transform: rotate(1.5deg) translateY(-6px);
}

/* サムネイル：ホバーでゆっくりズーム（傾きが主役なので控えめに） */
.prog-card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 276 / 155;
  background-color: #d9d9d9;
}

.prog-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.prog-card:hover .prog-card-thumb img,
.prog-card:focus-within .prog-card-thumb img {
  transform: scale(1.06);
}

/* サムネイル左上のバッジ */
.prog-card-badge {
  display: inline-flex;
  position: absolute;
  top: 10px;
  left: 10px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px 6px;
  border-radius: var(--rd-s);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.prog-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 0;
}

.prog-card-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 16px;
}

.prog-card-univ {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px 6px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

/* タイトルをカード全面のリンクにする（タグを別リンクにできるようにするため） */
.prog-card-ttl {
  display: block;
  width: 100%;
  margin-top: 16px;
  color: var(--cl-bk);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.prog-card-ttl::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
}

.prog-card:hover .prog-card-ttl {
  color: var(--cl-bl);
}

/* タイトルの行数が違っても参加費の位置がそろうよう、枠の下端に寄せる
   （.prog-card-main は data-mh="prog-main" で高さを揃えている） */
.prog-card-price {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: 5px;
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-align: right;
}

/* 期間・地域・実施時期 */
.prog-card-spec {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 16px;
  padding: 10px 13px 10px 14px;
  background-color: var(--cl-pop-lbl);
}

.prog-card-spec > span {
  flex: 1 1 0;
  min-width: 0;
}

.prog-card-spec > span + span {
  padding-left: 16px;
  border-left: 1px solid var(--cl-bdr);
}

.prog-card-spec .dt {
  display: block;
  color: var(--cl-gy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.prog-card-spec .dd {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

/* タグは個別リンク。全面リンクより手前に出す */
.prog-card .tag-list {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 0 16px;
}

@media (max-width: 768px) {
  .prog-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .prog-card-ttl {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   51. 下層ページ共通パーツ（ヒーロー／セクション見出し）
   -------------------------------------------------------------------------- */

/* ---- ページヒーロー（紺の角丸ブロック＋写真） ---- */
.page-hero {
  display: grid;
  position: relative;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 40px;
  margin-top: 24px;
  padding: 56px;
  overflow: hidden;
  border-radius: var(--rd-xl);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

/* 写真のない（紺だけの）ヒーロー */
.page-hero.is-plain {
  grid-template-columns: 1fr;
}

.page-hero-eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.page-hero-ttl {
  margin-top: 16px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.page-hero-lead {
  margin-top: 20px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: var(--ls-1);
}

.page-hero .btn-area {
  margin-top: 28px;
}

.page-hero-media {
  overflow: hidden;
  transform: rotate(2deg);
  border-radius: var(--rd-l);
  background-color: var(--cl-lgy3);
  aspect-ratio: 420 / 280;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px;
  }

  .page-hero-ttl {
    font-size: 24px;
  }

  .page-hero-media {
    aspect-ratio: 16 / 10;
  }
}

/* ---- セクション見出し（英字バッジ付き） ---- */
.sec-head {
  margin-bottom: 32px;
}

.sec-head .ttl {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.top-panel {
  .sec-head .ttl {
    font-size: 36px;
  }
}

.sec-head .label {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 12px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: var(--ls-1);
}

.sec-head .lead {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-1);
}

.sec-head.is-center {
  text-align: center;
}

@media (max-width: 768px) {
  .sec-head .ttl {
    font-size: 22px;
  }

  .sec-head .label {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   52. 保証人の方へ／CIECとは 用パーツ
   -------------------------------------------------------------------------- */

/* ---- ご家族からの声（引用カード） ---- */
.gvoice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gvoice-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
    border-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
}

.gvoice-card:hover {
  transform: translateY(-4px) rotate(-0.8deg);
  border-color: var(--cl-bl);
  box-shadow: 0 16px 28px -16px rgba(30, 60, 145, 0.45);
}

.gvoice-card:nth-child(even):hover {
  transform: translateY(-4px) rotate(0.8deg);
}

.gvoice-txt {
  font-size: 15px;
  line-height: 2;
  letter-spacing: var(--ls-1);
}

.gvoice-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--cl-bdr);
}

.gvoice-avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
}

.gvoice-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.gvoice-meta {
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .gvoice-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gvoice-card {
    padding: 20px;
  }
}

/* ---- メッセージ3カラム（01／02／03） ---- */
.msg-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.msg-no {
  display: block;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cl-bdr);
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-2);
}

.msg-ttl {
  margin-top: 16px;
  color: var(--cl-bl);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.msg-txt {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: var(--ls-1);
}

@media (max-width: 768px) {
  .msg-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- CIECの活動カード（01〜04） ---- */
.act-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

.act-card {
  display: grid;
  position: relative;
  grid-template-columns: 52px 1fr;
  gap: 14px 18px;
  padding: 28px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  /* イエローのずれた影（デザインの遊び） */
  box-shadow: 8px 8px 0 -1px var(--cl-yl);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.3s ease-out;
}

.act-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 -1px var(--cl-yl);
}

.act-num {
  grid-row: 1;
  grid-column: 1;
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
}

/* アイコンと見出しは同じ行に並べる */
.act-head {
  display: flex;
  grid-row: 1;
  grid-column: 2;
  align-items: center;
  gap: 14px;
}

.act-txt {
  grid-row: 2;
  grid-column: 2;
}

.act-icon {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.act-ttl {
  color: var(--cl-bl);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.act-txt {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: var(--ls-1);
}

@media (max-width: 768px) {
  .act-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .act-card {
    grid-template-columns: 40px 1fr;
    gap: 12px 12px;
    padding: 20px;
    box-shadow: 6px 6px 0 -1px var(--cl-yl);
  }

  .act-head {
    gap: 10px;
  }

  .act-icon {
    width: 32px;
    height: 32px;
  }

  .act-num {
    font-size: 22px;
  }
}

/* ---- 関連リンクカード ---- */
.linkcard-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.linkcard {
  display: block;
  position: relative;
  padding: 24px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
  color: var(--cl-bk);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
    border-color 0.3s ease-out,
    background-color 0.3s ease-out;
}

.linkcard:hover {
  transform: translateY(-5px);
  border-color: var(--cl-bl);
  background-color: var(--cl-wh);
  opacity: 1;
}

.linkcard-ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.linkcard-ttl::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: auto;
  background: url(../img/common/arrow-right-bl.svg) no-repeat center / contain;
  transition: transform 0.3s ease-out;
}

.linkcard:hover .linkcard-ttl::after {
  transform: translateX(5px);
}

.linkcard-txt {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: var(--ls-1);
}

@media (max-width: 768px) {
  .linkcard-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- 事務室情報（写真＋開室時間） ---- */
.office-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.office-card {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px;
  padding: 24px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.office-ttl {
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.office-place {
  margin-top: 4px;
  color: var(--cl-gy);
  font-size: 14px;
  line-height: 1.7;
}

.office-open {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.office-time {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.9;
}

.office-photo {
  overflow: hidden;
  border-radius: var(--rd-m);
  background-color: var(--cl-lgy3);
  aspect-ratio: 200 / 150;
}

.office-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.office-card:hover .office-photo img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .office-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .office-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* --------------------------------------------------------------------------
   50. 動きの共通仕組み（スクロールで現れる）
   data-reveal を付けた要素が画面に入ったら .is-inview が付く。
   data-reveal の値で動き方を変える。data-reveal-delay="1"〜"8" で遅らせる。
   JavaScript が無効／IntersectionObserver 非対応の環境では最初から表示される。
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 1;
}

.js-reveal-ready [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.7s ease-out,
    transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  will-change: opacity, transform;
}

/* 下からふわっと（既定） */
.js-reveal-ready [data-reveal=""],
.js-reveal-ready [data-reveal="up"] {
  transform: translateY(32px);
}

/* 大きなブロックでも動きが分かるよう、横は少し大きめに動かす */
.js-reveal-ready [data-reveal="left"] {
  transform: translateX(-56px);
}

.js-reveal-ready [data-reveal="right"] {
  transform: translateX(56px);
}

/* ぽんと出る（カード向け・少し行き過ぎて戻る） */
.js-reveal-ready [data-reveal="pop"] {
  transform: scale(0.92) translateY(20px);
  transition:
    opacity 0.5s ease-out,
    transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* くるっと傾きながら出る（遊びのあるカード向け） */
.js-reveal-ready [data-reveal="tilt"] {
  transform: rotate(-4deg) scale(0.94) translateY(24px);
  transition:
    opacity 0.5s ease-out,
    transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.js-reveal-ready [data-reveal="tilt-r"] {
  transform: rotate(4deg) scale(0.94) translateY(24px);
  transition:
    opacity 0.5s ease-out,
    transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.js-reveal-ready [data-reveal].is-inview {
  opacity: 1;
  transform: none;
}

/* 遅延（並んだ要素を順番に出す） */
.js-reveal-ready [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js-reveal-ready [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js-reveal-ready [data-reveal-delay="3"] { transition-delay: 0.24s; }
.js-reveal-ready [data-reveal-delay="4"] { transition-delay: 0.32s; }
.js-reveal-ready [data-reveal-delay="5"] { transition-delay: 0.40s; }
.js-reveal-ready [data-reveal-delay="6"] { transition-delay: 0.48s; }
.js-reveal-ready [data-reveal-delay="7"] { transition-delay: 0.56s; }
.js-reveal-ready [data-reveal-delay="8"] { transition-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   53. TOPページ
   ブロック（.forcms_block）1つ＝1コンテンツ。
   各ブロックは背景・余白を自分で持つので、単独で貼っても成立する。
   ========================================================================== */

/* ---- 共通：セクションの下地 ---- */
.top-sec {
  position: relative;
  padding-top: 88px;
}

/* 装飾のイラストが左側にあるセクションは、見出しと重ならないよう上を広く取る */
.top-sec.is-deco-left {
  margin-top: 40px;
  padding-top: 250px;
}

/* セクション内のボタンは中身との間隔を取る */
.top-sec .btn-area {
  margin-top: 48px;
}

.top-gc .btn-area {
  margin-top: 32px;
}

.top-sec > .inner,
.top-sec > .container {
  position: relative;
  z-index: 1;
}

/* 装飾帯を敷くセクションは、はみ出しを隠す */
.top-sec:has(> .top-deco) {
  overflow: hidden;
}

/* 背景の装飾。道（グレーの帯）の上にイラストを立たせる。
   道は太さ80のストロークで描かれたパスなので、中心線の位置を計算して
   イラストの足元を合わせている（位置は HTML 側の style で指定）。
   縦位置は margin-top の % ＝ 親要素の「幅」に対する比率なので、
   画面幅が変わっても道とイラストの関係が崩れない。 */
.top-deco {
  display: block;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  /* セクション全体を覆う。途中で切ると道が崖のように途切れるため */
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  /* イラストの大きさの基準。画面が広くても1440pxで頭打ちにする */
  --ref: min(100%, 1440px);
}

/* 位置の基準は「1440pxを中央寄せした箱」。
   画面が広くても道やイラストがデザインより大きくならないようにする。
   道はこの箱の外へはみ出すので、画面端まで途切れずに続く。 */
.top-deco-inner {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 1440px);
  height: 100%;
  transform: translateX(-50%);
}

.top-deco-wave {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* リセットCSSの img{max-width:100%} で画面幅まで縮められるのを防ぐ。
     道は画面幅より大きく（3000px超）配置するため。 */
  max-width: none;
  height: auto;
}

/* イラストは .top-deco（画面幅いっぱい）を基準に置く。
   左半分は left、右半分は right で指定しているので、
   幅を変えてもそれぞれ画面の端にくっついたまま動く。 */
.top-deco-item {
  display: block;
  position: absolute;
  top: 0;
  max-width: none;
  height: auto;
}

/* セクションの下端を基準に置く装飾（体験談の下など） */
.top-deco.is-bottom .top-deco-wave,
.top-deco.is-bottom .top-deco-item {
  top: auto;
  bottom: 0;
}

/* 左右反転させて種類を増やす */
.top-deco-item.is-flip {
  transform: scaleX(-1);
}

/* ゆっくり上下に揺れる */
.top-deco-item.is-float {
  animation: deco-float 6s ease-in-out infinite;
}

@keyframes deco-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.top-deco-item.is-flip.is-float {
  animation-name: deco-float-flip;
}

@keyframes deco-float-flip {
  0%,
  100% {
    transform: scaleX(-1) translateY(0);
  }

  50% {
    transform: scaleX(-1) translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-deco-item.is-float {
    animation: none;
  }
}

@media (max-width: 768px) {
  .top-sec {
    padding-top: 56px;
  }

  .top-sec.is-deco-left {
    padding-top: 140px;
  }

  .top-deco {
    height: 150px;
  }

  /* SP は帯に収まるサイズにする（校舎 90px なら高さ約142px） */
  .top-deco-item.is-tree { width: 30px; }
  .top-deco-item.is-person { width: 48px; }
  .top-deco-item.is-school { width: 90px; }
}

/* --------------------------------------------------------------------------
   53-1. ヒーロー
   -------------------------------------------------------------------------- */
/* ヒーローは画面幅いっぱい（写真が左右にはみ出す）。
   中身だけ --mv-w に収めて、ファーストビューからあふれないようにする。 */
.top-hero {
  position: relative;
  overflow: hidden;
}

.top-hero-wave {
  display: block;
  position: absolute;
  z-index: 0;
  /* デザインでは波がヘッダーのすぐ下から始まる（実測で合わせた値） */
  top: -17.06%;
  /* 波だけは画面幅いっぱいに。縦の縮尺は MV に合わせるので
     ヘッダーとの隙間が画面幅で変わらない（SVG側は preserveAspectRatio="none"） */
  left: 50%;
  width: var(--vw, 100vw);
  height: calc(var(--mv-w) * 1012 / 1440);
  transform: translateX(-50%);
  pointer-events: none;
}

/* PCは実寸1440x916の座標をそのまま % に置き換えて散らす */
.top-hero-canvas {
  position: relative;
  z-index: 1;
  width: var(--mv-w);
  margin-inline: auto;
  aspect-ratio: 1440 / 846;
}

.top-hero-copy {
  display: block;
  position: absolute;
  z-index: 3;
  top: 14.79%;
  left: 50.4%;
  width: 61.6%;
  margin: 0;
  transform: translate(-50%, -50%);
}

.top-hero-copy img {
  display: block;
  width: 100%;
  height: auto;
}

.top-hero-photo {
  display: block;
  position: absolute;
  z-index: 2;
  border-radius: var(--rd-l);
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
  transition: transform 0.6s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* 色のついた「ずれた影」 */
.top-hero-photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 10px -10px -10px 10px;
  border-radius: var(--rd-l);
  background-color: var(--sh, var(--cl-pop-bl));
}

.top-hero-photo img {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: var(--rd-l);
  object-fit: cover;
}

.top-hero-photo:hover {
  z-index: 4;
  transform: translate(-50%, -50%) rotate(0deg) scale(1.05);
}

/* 1枚ずつデザインの位置・傾き・影の色を指定する */
.hp1 { top: 45.86%; left: 10.0%;  width: 29.2%; aspect-ratio: 420 / 340; --rot: -4deg; --sh: #8ed08a; }
.hp2 { top: 73.26%; left: 9.5%;   width: 27.8%; aspect-ratio: 400 / 300; --rot: -4deg; --sh: var(--cl-yl); }
.hp3 { top: 50.52%; left: 25.7%;  width: 20.8%; aspect-ratio: 300 / 400; --rot: -6deg; --sh: var(--cl-bl); }
.hp4 { top: 60.16%; left: 50.3%;  width: 27.8%; aspect-ratio: 400 / 300; --rot: 6deg;  --sh: #ff8a3d; }
.hp5 { top: 44.46%; left: 65.7%;  width: 19.4%; aspect-ratio: 280 / 385; --rot: -5deg; --sh: var(--cl-pop-lpk); }
.hp6 { top: 71.42%; left: 88.3%;  width: 28.8%; aspect-ratio: 415 / 318; --rot: -4deg; --sh: var(--cl-yl); }
.hp7 { top: 24.32%; left: 97.5%;  width: 27.8%; aspect-ratio: 400 / 300; --rot: 5deg;  --sh: var(--cl-yl); }

/* SPはデザイン（SP-トップ）の座標どおりに散らす。
   縦位置は margin-top の %（＝幅基準）なので画面幅が変わっても崩れない。 */
@media (max-width: 768px) {
  .top-hero-canvas {
    width: 100%;
    aspect-ratio: 390 / 750;
  }

  .top-hero-copy {
    top: 0;
    left: 5.1%;
    width: 92.3%;
    margin-top: 6.9%;
    padding: 0;
    transform: none;
  }

  .top-hero-photo {
    transform: rotate(var(--rot, 0deg));
  }

  .top-hero-photo:hover {
    transform: rotate(0deg) scale(1.04);
  }

  .top-hero-photo::before {
    inset: 7px -7px -7px 7px;
  }

  .hp1 {
    top: 0;
    left: 0.0%;
    width: 31.79%;
    margin-top: 102.56%;
    aspect-ratio: 124 / 91;
    --rot: 4deg;
    --sh: #8ed08a;
  }

  .hp2 {
    top: 0;
    left: 5.64%;
    width: 46.67%;
    margin-top: 126.15%;
    aspect-ratio: 182 / 134;
    --rot: 3deg;
    --sh: var(--cl-yl);
  }

  .hp3 {
    top: 0;
    left: 35.13%;
    width: 44.36%;
    margin-top: 84.62%;
    aspect-ratio: 173 / 128;
    --rot: -3deg;
    --sh: #ff8a3d;
  }

  .hp4 {
    top: 0;
    left: 59.49%;
    width: 40.51%;
    margin-top: 67.18%;
    aspect-ratio: 158 / 116;
    --rot: -4deg;
    --sh: var(--cl-bl);
  }

  .hp5 {
    top: 0;
    left: 1.79%;
    width: 37.95%;
    margin-top: 44.87%;
    aspect-ratio: 148 / 109;
    --rot: -5deg;
    --sh: var(--cl-pop-lpk);
  }

  .hp6 {
    top: 0;
    left: 38.46%;
    width: 48.72%;
    margin-top: 145.13%;
    aspect-ratio: 190 / 140;
    --rot: -4deg;
    --sh: var(--cl-bl);
  }

  .hp7 {
    top: 0;
    left: 58.46%;
    width: 41.54%;
    margin-top: 112.31%;
    aspect-ratio: 162 / 119;
    --rot: 5deg;
    --sh: var(--cl-yl);
  }
}

@media (min-width: 769px) {
  /* PCでは囲みは位置に影響させない */
  .top-hero-scroll {
    display: contents;
  }
}

/* --------------------------------------------------------------------------
   53-2. CIEC NEWS ピックアップ
   -------------------------------------------------------------------------- */
.top-news {
  /* デザインでは CIEC NEWS が MV の写真に重なる。
     MV と同じ基準幅にそろえないと重なり方がずれる。 */
  position: relative;
  z-index: 2;
  width: var(--mv-w);
  max-width: none;
  margin-top: -11.4%;
  margin-inline: auto;
  padding-top: 0;
}

.top-news-box {
  display: block;
  position: relative;
  max-width: 906px;
  margin-left: auto;
  padding: 26px 72px 26px 32px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  box-shadow: 8px 8px 0 -1px var(--cl-yl);
  color: var(--cl-bk);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.3s ease-out;
}

.top-news-box:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 -1px var(--cl-yl);
  opacity: 1;
}

/* キャラクターが枠の上からのぞく */
.top-news-char {
  display: block;
  position: absolute;
  /* 枠の上端に半分かかる位置（デザイン実測） */
  bottom: 100%;
  left: 41.6%;
  width: 11.6%;
  height: auto;
  margin-bottom: -6.7%;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.top-news-box:hover .top-news-char {
  transform: translateY(-6px) rotate(-6deg);
}

.top-news-en {
  display: block;
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: var(--ls-2);
}

.top-news-ttl {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.top-news-txt {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--cl-gy);
  font-size: 16px;
  line-height: 1.7;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 右端の四角い矢印ボタン */
.top-arw-btn {
  display: flex;
  position: absolute;
  top: 50%;
  right: 24px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border-radius: var(--rd-s);
  background: var(--cl-yl) url(../img/common/arrow-right-bl.svg) no-repeat center / 20px 20px;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.top-news-box:hover .top-arw-btn {
  transform: translate(5px, -50%);
}

@media (max-width: 768px) {
  .top-news-box {
    padding: 20px 56px 20px 20px;
    box-shadow: 6px 6px 0 -1px var(--cl-yl);
  }

  .top-news-char {
    left: auto;
    right: 12px;
    width: 64px;
    margin-bottom: -18px;
  }

  .top-news-en {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   53-3. どんな留学がしたいですか？
   -------------------------------------------------------------------------- */
.find-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.find-card {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  min-height: 218px;
  padding: 26px 16px 44px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  box-shadow: 8px 8px 0 -1px var(--cl-yl);
  color: var(--cl-bk);
  text-align: center;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.3s ease-out;
}

.find-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 -1px var(--cl-yl);
  opacity: 1;
}

.find-card-icon {
  display: block;
  width: auto;
  height: 50px;
  transition: transform 0.5s cubic-bezier(0.34, 1.5, 0.64, 1);
}

.find-card:hover .find-card-icon {
  transform: rotate(-8deg) scale(1.12);
}

.find-card-ttl {
  display: block;
  margin-top: 16px;
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.find-card-sub {
  display: block;
  margin-top: 6px;
  color: var(--cl-gy);
  font-size: 12px;
  line-height: 1.6;
}

.find-card .top-arw-btn {
  top: auto;
  right: 16px;
  bottom: 16px;
  transform: none;
}

.find-card:hover .top-arw-btn {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .find-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .find-card {
    min-height: 0;
    /* 説明が2行になっても右下の矢印と重ならないよう下を広めに取る */
    padding: 20px 12px 56px;
    box-shadow: 6px 6px 0 -1px var(--cl-yl);
  }

  .find-card-icon {
    width: auto;
    height: 38px;
  }
}

/* --------------------------------------------------------------------------
   53-4. ピックアップカード（4枚固定）
   上が画像・下がテキスト。1枚ずつ傾け、ホバーでまっすぐ戻しながら拡大する。
   -------------------------------------------------------------------------- */
.top-cards {
  padding: 88px 0 96px;
}

/* 見出しは英字バッジなしの大きな1行（デザインどおり） */
/* 見出しは黄色の吹き出し（左下にしっぽ） */
.top-cards-ttl {
  display: inline-block;
  position: relative;
  padding: 10px 16px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.top-cards-ttl::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -14px;
  left: 33px;
  width: 18px;
  height: 16px;
  background: url(../img/top/bubble-tail.svg) no-repeat center / contain;
}

/* カードは傾けてあるぶん、回転後の角が節の外へわずかに出る。
   そのままだと狭い画面で横スクロールが出るので、横だけ切る（縦は影を残すため出す） */
.top-cards {
  overflow-x: clip;
  overflow-y: visible;
}

/* カード列は本文の幅（1200）より広く、デザインの1392pxまで広げる */
.cards-wrap {
  max-width: 1392px;
  margin: 0 auto;
  padding: 0 24px;
}

.cards-row {
  display: flex;
  /* 引き伸ばすと中身より下に白地が出るので、高さは中身に合わせる */
  align-items: flex-start;
  margin-top: 40px;
  padding: 28px 0;
}

/* 4枚を少しずつ重ねて並べる */
.cards-row > .pv-card {
  flex: 1 1 0;
  min-width: 0;
}

.cards-row > .pv-card + .pv-card {
  margin-left: -14px;
}

.pv-card {
  display: flex;
  position: relative;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  box-shadow: 0 14px 26px -18px rgba(0, 0, 0, 0.45);
  color: var(--cl-bk);
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}

/* 1枚ずつ傾きと高さを変えて、デザインどおりばらついた並びにする */
.pv-card:nth-child(1) { z-index: 1; margin-top: 22px; transform: rotate(-5.5deg); }
.pv-card:nth-child(2) { z-index: 2; margin-top: 0;    transform: rotate(3deg); }
.pv-card:nth-child(3) { z-index: 3; margin-top: 34px; transform: rotate(-3.5deg); }
.pv-card:nth-child(4) { z-index: 4; margin-top: 10px; transform: rotate(4.5deg); }

/* ホバー：傾きが0°に戻りながら拡大（参考サイトと同じ動き） */
.pv-card:hover,
.pv-card:focus-visible {
  z-index: 5;
  transform: rotate(0deg) scale(1.06);
  opacity: 1;
}

.pv-card-thumb {
  display: block;
  overflow: hidden;
  background-color: var(--cl-lgy3);
  aspect-ratio: 340 / 227;
}

.pv-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.pv-card:hover .pv-card-thumb img {
  transform: scale(1.08);
}

.pv-card-body {
  display: block;
  /* 余りが出ても色の面が下まで届くようにする */
  flex: 1 0 auto;
  /* 右は次のカードが重なるぶん広めに空けて、文字が隠れないようにする */
  padding: 32px 28px 32px 32px;
}

/* 紺とイエローを交互に */
.pv-card.is-bl .pv-card-body {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.pv-card.is-yl .pv-card-body {
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

.pv-num {
  display: block;
  font-family: var(--ff-num);
  font-size: 72px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.01em;
}

/* デザインは字間0。詰めないと見出しが2行に折り返してしまう */
.pv-ttl {
  display: block;
  margin-top: 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.pv-txt {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .top-cards {
    padding: 56px 0 64px;
  }

  .top-cards-ttl {
    padding: 8px 12px;
    font-size: 16px;
  }

  .top-cards-ttl::after {
    bottom: -12px;
    left: 20px;
    width: 14px;
    height: 13px;
  }

  .cards-wrap {
    padding: 0 16px;
  }

  .cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
    padding: 16px 0;
  }

  .cards-row > .pv-card + .pv-card {
    margin-left: 0;
  }

  .cards-row > .pv-card {
    margin-top: 0;
  }

  .pv-card-body {
    padding: 14px 14px 18px;
  }

  .pv-num {
    font-size: 38px;
  }

  .pv-ttl {
    margin-top: 8px;
    font-size: 15px;
  }

  .pv-txt {
    margin-top: 6px;
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   53-5. グローバルチャレンジ
   -------------------------------------------------------------------------- */
.top-gc {
  padding: 72px 0 80px;
  border-radius: var(--rd-xl);
  background-color: var(--cl-pop-lgr);
}

.top-gc-balloon {
  display: inline-block;
  position: relative;
  padding: 8px 18px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bk);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.top-gc-balloon::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 24px;
  border-top: 10px solid var(--cl-yl);
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}

.top-gc-sub {
  margin-top: 20px;
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.top-gc-ttl {
  margin-top: 4px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

.gc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.gc-card {
  display: flex;
  position: relative;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
  box-shadow: 7px 7px 0 -1px #8ed08a;
  color: var(--cl-bk);
  transition:
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.3s ease-out;
}

.gc-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 13px 13px 0 -1px #8ed08a;
  opacity: 1;
}

.gc-card-ttl {
  display: block;
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.gc-card-ttl em {
  font-size: 24px;
  font-style: normal;
}

.gc-card-txt {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.8;
}

.gc-card .top-arw-btn {
  position: static;
  flex-shrink: 0;
  margin-left: auto;
  transform: none;
}

.gc-card:hover .top-arw-btn {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .top-gc {
    padding: 44px 0 48px;
    border-radius: var(--rd-l);
  }

  .top-gc-sub {
    font-size: 17px;
  }

  .top-gc-ttl {
    font-size: 22px;
  }

  .gc-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .gc-card {
    box-shadow: 5px 5px 0 -1px #8ed08a;
  }
}

/* --------------------------------------------------------------------------
   53-6. 先輩たちのリアルな体験談（横スクロール）
   -------------------------------------------------------------------------- */
.top-voice-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}

/* 右側の横スクロールが親をはみ出さないようにする */
.top-voice-layout > * {
  min-width: 0;
}

.vo-scroller {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  /* ドラッグでめくれるようにするので、指の形を出す */
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  /* 指では横スワイプでめくれ、縦はページのスクロールに任せる */
  touch-action: pan-x pan-y;
  scrollbar-width: none;
}

/* スクロールバーは隠す（ドラッグと「前へ／次へ」で操作する） */
.vo-scroller::-webkit-scrollbar {
  display: none;
}

.vo-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

/* ドラッグ中は画像やテキストの選択・ドラッグを止める */
.vo-scroller.is-dragging * {
  pointer-events: none;
  user-select: none;
}

.vo-scroller .art-card {
  display: block;
  flex: 0 0 300px;
  overflow: hidden;
  border-radius: var(--rd-l);
  background-color: var(--cl-pop-lbl);
  box-shadow: none;
  color: var(--cl-bk);
  scroll-snap-align: start;
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.vo-scroller .art-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: none;
  opacity: 1;
}

.vo-scroller .art-card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 300 / 196;
  background-color: var(--cl-lgy3);
}

.vo-scroller .art-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.vo-scroller .art-card:hover .art-card-thumb img {
  transform: scale(1.08);
}

.vo-scroller .art-card-tags {
  display: flex;
  position: absolute;
  top: 10px;
  left: 10px;
  gap: 6px;
}

.vo-scroller .art-card-tags span {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.vo-scroller .art-card-tags span + span {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.vo-scroller .art-card-body {
  display: block;
  padding: 16px 18px 20px;
}

.vo-scroller .art-card-dest {
  display: block;
  color: var(--cl-bl);
  font-size: 12px;
  line-height: 1.6;
}

.vo-scroller .art-card-ttl {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.vo-scroller .art-card-meta {
  display: block;
  margin-top: 10px;
  color: var(--cl-gy);
  font-size: 12px;
  line-height: 1.6;
}

.vo-scroller .art-card-more {
  display: block;
  margin-top: 8px;
  color: var(--cl-link);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-align: right;
  text-decoration: underline;
}

/* 前へ／次へ */
.vo-nav {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.vo-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--rd-m);
  background: var(--cl-bl) url(../img/common/arrow-right-wh.svg) no-repeat center / 22px 22px;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out;
}

.vo-nav button.is-prev {
  transform: scaleX(-1);
}

.vo-nav button:hover {
  background-color: var(--cl-yl);
  background-image: url(../img/common/arrow-right-bl.svg);
}

.vo-nav button.is-prev:hover {
  transform: scaleX(-1) translateX(-4px);
}

.vo-nav button.is-next:hover {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .top-voice-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vo-scroller .art-card {
    flex-basis: 240px;
  }

  .vo-nav {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   53-7／53-8. 新着情報（ピンク）とイベントカレンダー（イエロー）
   別ブロックでも、1ブロックにまとめても横並びになるよう float で組む。
   -------------------------------------------------------------------------- */
/* 左右からスライドして現れる分がはみ出さないように隠す */
.top-sec:has(> .top-panel) {
  overflow: hidden;
}

.top-panel {
  padding: 56px 40px 48px;
  border-radius: var(--rd-xl);
}

.top-panel.is-topics {
  background-color: var(--cl-pop-lpk);
}

.top-panel.is-events {
  background-color: #fdf7bf;
}

/* カテゴリの絞り込み（横に溢れたらスクロールする） */
.top-cats {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.top-cats::-webkit-scrollbar {
  display: none;
}

.top-cats a {
  display: block;
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: var(--rd-pill);
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out,
    color 0.25s ease-out;
}

.top-cats a:hover {
  transform: translateY(-2px);
  background-color: var(--cl-wh);
  opacity: 1;
}

.top-cats a.is-current {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.top-panel .link-arw {
  margin-top: 20px;
  margin-left: auto;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 16px;
}

@media (min-width: 769px) {
  /* 新着情報とイベントカレンダーはデザインどおり少し重ねる。
     float では重ねられないので、同じグリッドのセルに両方を置いている。
     .forcms_block を display:contents にしているため、
     ブロックを2つに分けても、1つにまとめても同じ見た目になる。 */
  .ne-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    /* 左右にはみ出す分を画面の外で隠す */
    overflow: hidden;
  }

  .ne-row > .forcms_block {
    display: contents;
  }

  .ne-row .top-sec:has(> .top-panel) {
    grid-area: 1 / 1;
  }

  /* デザイン実測：新着は x=-30 幅928、イベントは x=842 幅688・80px下 */
  .ne-row .top-sec:has(> .is-topics) {
    width: 64.44%;
    margin-left: -2.08%;
  }

  .ne-row .top-sec:has(> .is-events) {
    width: 47.78%;
    margin-top: 80px;
    margin-left: 58.47%;
  }

  /* イベント（イエロー）を手前に */
  .ne-row .top-sec:has(> .is-events) {
    z-index: 1;
  }

  /* 2枚が重なる分、パネルの内側の余白をデザインの実測に合わせる。
     こうしないと新着の矢印ボタンがイエローのパネルに隠れてしまう。
     デザイン実測：新着=上下100・左70・右110 / イベント=上下100・左50・右130 */
  .ne-row .is-topics {
    padding: 100px 11.85% 100px 7.54%;
  }

  .ne-row .is-events {
    padding: 100px 18.9% 100px 7.27%;
  }
}

@media (max-width: 768px) {
  .top-panel {
    padding: 36px 20px 32px;
    border-radius: var(--rd-l);
  }
}

/* --------------------------------------------------------------------------
   53-9. Instagram
   5列×2行。アカウントのタイルが2行分を占め、写真8枚が残りを埋める。
   写真は API で差し替える想定のため、入れ物（.js-insta）を分けて
   display:contents でグリッドの並びに影響しないようにしている。
   -------------------------------------------------------------------------- */
.insta-block {
  display: grid;
  /* 写真175px＋隙間17pxの6列。タイルは2列×2行で正方形になる */
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 17px;
}

.insta-block + .insta-block {
  margin-top: 17px;
}

/* 入れ物は並びに影響させない（中の <a> がそのままグリッドの要素になる） */
.insta-grid,
.insta-grid > li {
  display: contents;
}

.insta-photo {
  display: block;
  overflow: hidden;
  border-radius: var(--rd-m);
  aspect-ratio: 1 / 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.insta-photo:hover {
  transform: scale(1.06) rotate(-2deg);
  opacity: 1;
}

.insta-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* アカウントのタイル（2行ぶん） */
.insta-account {
  display: flex;
  grid-row: span 2;
  grid-column: span 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--rd-m);
  background-color: #fde4d2;
  color: var(--cl-bk);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.insta-account.is-green {
  background-color: var(--cl-pop-lgr);
}

/* 1つ目はタイルが右（5〜6列目）、2つ目は左（1〜2列目） */
.insta-block.is-right .insta-account {
  grid-row: 1 / 3;
  grid-column: 5 / 7;
}

.insta-block.is-left .insta-account {
  grid-row: 1 / 3;
  grid-column: 1 / 3;
}

.insta-account:hover {
  transform: translateY(-5px);
  opacity: 1;
}

.insta-account img {
  width: 56px;
  height: 56px;
}

@media (max-width: 768px) {
  .insta-block {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    gap: 10px;
  }

  .insta-account img {
    width: 40px;
    height: 40px;
  }

  .insta-block .insta-account,
  .insta-block.is-right .insta-account,
  .insta-block.is-left .insta-account {
    grid-row: auto;
    grid-column: 1 / 4;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    padding: 14px;
    aspect-ratio: auto;
    font-size: 14px;
  }

  .insta-account img {
    width: 32px;
    height: 32px;
  }
}

/* --------------------------------------------------------------------------
   53-10. 動画でもっと知る
   -------------------------------------------------------------------------- */
.mv-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mv-card {
  display: block;
  overflow: hidden;
  border-radius: var(--rd-l);
  background-color: var(--cl-pop-lbl);
  color: var(--cl-bk);
  text-align: left;
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.mv-card:hover {
  transform: translateY(-6px) rotate(0.8deg);
  opacity: 1;
}

.mv-card-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 380 / 214;
  background-color: var(--cl-lgy3);
}

/* 中央に赤い再生ボタン（/youtube/ と同じアイコン） */
.mv-card-thumb::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background: url(../img/common/icon_play.svg) no-repeat center / contain;
  transition: transform 0.3s ease-out;
}

.mv-card:hover .mv-card-thumb::after,
.mv-card:focus-visible .mv-card-thumb::after {
  transform: scale(1.12);
}

@media (max-width: 768px) {
  .mv-card-thumb::after {
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
  }
}

.mv-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.mv-card:hover .mv-card-thumb img {
  transform: scale(1.08);
}

.mv-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-badge);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.6;
}

.mv-card-body {
  display: block;
  padding: 14px 18px 18px;
}

.mv-card-cat {
  display: block;
  color: var(--cl-bl);
  font-size: 12px;
  line-height: 1.6;
}

.mv-card-ttl {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .mv-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   54. 参加者の声（一覧・詳細）
   ========================================================================== */

/* ---- 絞り込みパネル（項目名＋ピル） ---- */
.vc-filter {
  padding: 24px 32px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.vc-filter-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
}

.vc-filter-row + .vc-filter-row {
  border-top: 1px solid var(--cl-bdr);
}

.vc-filter-ttl {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* 絞り込みの操作ボタン（クリア／検索する） */
.vc-filter-btns {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 20px;
}

.vc-filter-btns .btn {
  width: auto;
  min-height: 44px;
  padding: 10px 32px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .vc-filter-btns {
    gap: 10px;
    padding-top: 16px;
  }

  .vc-filter-btns .btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 10px 16px;
  }
}

.master_node > li {
  margin-top: -8px;
}

.vc-filter .chip-list {
  display: inline;

  > li {
    display: inline-block;
    margin-top: 8px;
  }

  input[type="checkbox"] {
    display: none;
  }
}

@media (max-width: 768px) {
  .vc-filter {
    padding: 16px 16px 20px;
  }

  .vc-filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .vc-filter .chip {
    padding: 4px 12px 5px;
    font-size: 13px;
  }
}

/* ---- 一覧のカード（3列） ---- */
.vc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

@media (max-width: 768px) {
  .vc-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---- 詳細：2カラム（本文＋プロフィール） ---- */
.vc-layout {
  display: grid;
  grid-template-columns: 1fr 276px;
  gap: 32px;
  align-items: start;
}

.vc-layout > * {
  min-width: 0;
}

@media (max-width: 768px) {
  .vc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* SPはプロフィールを先に見せる */
  .vc-side {
    order: -1;
  }
}

/* ---- 詳細：設問ごとの囲み ---- */
.vc-box {
  margin-top: 24px;
  padding: 28px 32px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

/* 最後の「アドバイス」だけネイビーの枠 */
.vc-box.is-accent {
  border: 2px solid var(--cl-bl);
}

.vc-box.is-accent .vc-box-body {
  padding: 20px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-pop-lbl);
}

.vc-box-ttl {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-1);
}

.vc-box-ttl + * {
  margin-top: 16px;
}

.vc-box .txt + .vc-imgs,
.vc-box .txt + .vc-schedule {
  margin-top: 20px;
}

.vc-imgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.vc-imgs img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rd-m);
}

/* 本文の右に画像を回り込ませる */
.vc-box.is-side {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 8px 24px;
}

.vc-box.is-side .vc-box-ttl {
  grid-column: 1 / 3;
}

.vc-box.is-side img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rd-m);
}

@media (max-width: 768px) {
  .vc-box {
    padding: 20px;
  }

  .vc-box-ttl {
    font-size: 17px;
  }

  .vc-imgs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vc-box.is-side {
    grid-template-columns: 1fr;
  }

  .vc-box.is-side .vc-box-ttl {
    grid-column: auto;
  }
}

/* ---- 詳細：スケジュール ---- */
.vc-schedule > li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
  font-size: 15px;
  line-height: 1.7;
}

.vc-schedule > li + li {
  margin-top: 8px;
}

.vc-schedule .time {
  color: var(--cl-bl);
  font-weight: 700;
}

.vc-note {
  margin-top: 14px;
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .vc-schedule > li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 14px;
    font-size: 14px;
  }
}

/* ---- 詳細：プロフィール ---- */
.vc-photo {
  display: block;
  overflow: hidden;
  border-radius: var(--rd-m);
  background-color: var(--cl-lgy3);
  aspect-ratio: 276 / 230;
}

.vc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc-profile {
  margin-top: 16px;
  padding: 20px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
}

.vc-profile-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.vc-profile-belong {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

.vc-spec {
  margin-top: 16px;
}

.vc-spec > div {
  padding: 12px 0;
  border-top: 1px solid var(--cl-bdr);
}

.vc-spec .dt {
  display: block;
  color: var(--cl-gy);
  font-size: 12px;
  line-height: 1.6;
}

/* 項目名の右に小さく英語を添える（デザインどおり） */
.vc-spec .dt .en {
  margin-left: 8px;
  font-size: 11px;
}

.vc-spec .dd {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

/* プログラム（ネイビーのカード） */
.vc-program {
  margin-top: 16px;
  padding: 18px 20px 20px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.vc-program-label {
  display: block;
  color: var(--cl-yl);
  font-family: var(--ff-badge);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.vc-program-name {
  display: block;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.vc-program .tag-list {
  margin-top: 12px;
}

.vc-program .tag {
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 12px;
}

/* プログラムのタグはデザインどおり「#」を付けない */
.vc-program .tag::before {
  content: none;
}

@media (max-width: 768px) {
  .vc-photo {
    aspect-ratio: 16 / 10;
  }
}

/* ==========================================================================
   55. 定例報告一覧
   ========================================================================== */

/* ---- 国の絞り込み（ピル） ---- */
.rp-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
}

.rp-filter a {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: var(--rd-pill);
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out,
    color 0.25s ease-out;
}

.rp-filter a:hover {
  transform: translateY(-2px);
  background-color: var(--cl-pop-lbl);
  opacity: 1;
}

.rp-filter a.is-current {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

/* ---- 一覧の表 ---- */
/* 記事本文（CMSのリッチテキスト項目） */
.art-body > * + * {
  margin-top: 1.5em;
}

/* 詳細の見出しに添えるメタ情報 */
.rp-meta {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .rp-meta {
    font-size: 13px;
  }
}

.rp-table-wrap {
  margin-top: 32px;
  overflow-x: auto;
}

.rp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.7;
}

.rp-table th {
  padding: 18px 12px;
  background-color: var(--cl-pop-lbl);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.rp-table th:first-child {
  padding-left: 32px;
  border-radius: var(--rd-m) 0 0 var(--rd-m);
}

.rp-table th:last-child {
  padding-right: 32px;
  border-radius: 0 var(--rd-m) var(--rd-m) 0;
}

.rp-table td {
  padding: 20px 12px;
  border-bottom: 1px solid var(--cl-bdr);
  vertical-align: middle;
}

.rp-table td:first-child {
  padding-left: 32px;
}

.rp-table td:last-child {
  padding-right: 32px;
}

.rp-table tbody tr {
  transition: background-color 0.25s ease-out;
  cursor: pointer;
}

.rp-table tbody tr:hover {
  background-color: var(--cl-lgy);
}

/* プログラム名のタグ */
/* 行の中のリンクにフォーカスしたときも、行ごと色を変える */
.rp-table tbody tr:focus-within {
  background-color: var(--cl-pop-lbl);
}

.rp-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bk);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

/* 留学先の国名タグ（デザインでは国旗は入らない） */
.rp-country {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-bg);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

.rp-univ {
  display: block;
  margin-top: 6px;
}

.rp-table a {
  color: var(--cl-bk);
}

.rp-table a:hover {
  color: var(--cl-bl);
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .rp-table {
    min-width: 760px;
    font-size: 14px;
  }

  .rp-table th,
  .rp-table td {
    padding: 14px 10px;
  }

  .rp-table th:first-child,
  .rp-table td:first-child {
    padding-left: 16px;
  }

  .rp-table th:last-child,
  .rp-table td:last-child {
    padding-right: 16px;
  }

  .rp-filter a {
    padding: 6px 14px;
    font-size: 14px;
  }
}

/* ==========================================================================
   56. グローバルチャレンジ制度
   ========================================================================== */

/* ---- 手書きコピー＋キャッチの帯 ---- */
.gcp-copy {
  display: block;
  max-width: 640px;
  margin: 0 auto;
}

.gcp-copy img {
  display: block;
  width: 100%;
  height: auto;
}

.gcp-catch {
  margin-top: 28px;
  padding: 18px 32px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-1);
  text-align: center;
}

/* 本文のマーカー */
.gcp-marker {
  background: linear-gradient(transparent 68%, var(--cl-yl) 68%);
  font-weight: 700;
}

@media (max-width: 768px) {
  .gcp-catch {
    padding: 14px 18px;
    font-size: 15px;
    text-align: left;
  }
}

/* ---- ライトグリーンのセクション ---- */
.gcp-green {
  padding: 64px 0 72px;
  border-radius: var(--rd-xl);
  background-color: var(--cl-pop-lgr);
}

/* 見出し＋イエローの下線 */
.gcp-h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.gcp-h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 5px;
  margin-top: 18px;
  border-radius: 3px;
  background-color: var(--cl-yl);
}

/* 4つの資質カード */
.gcp-quality {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.gcp-quality > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 32px;
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
  text-align: center;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.3s ease-out;
}

.gcp-quality > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 26px -16px rgba(30, 60, 145, 0.45);
}

.gcp-quality img {
  display: block;
  width: auto;
  height: 50px;
}

.gcp-quality .ttl {
  margin-top: 16px;
  color: var(--cl-bl);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.gcp-quality .txt {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .gcp-green {
    padding: 40px 0 44px;
    border-radius: var(--rd-l);
  }

  .gcp-h2 {
    font-size: 22px;
  }

  .gcp-quality {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 28px;
  }

  .gcp-quality > div {
    padding: 20px 10px 22px;
  }

  .gcp-quality .ttl {
    font-size: 15px;
  }

  .gcp-quality .txt {
    font-size: 12px;
  }
}

/* ---- 動画 ---- */
.gcp-movie {
  display: block;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--rd-m);
  background-color: var(--cl-lgy3);
  aspect-ratio: 16 / 9;
}

.gcp-movie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.gcp-movie:hover img {
  transform: scale(1.05);
}

.gcp-movie::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  background: url(../img/common/icon_play.svg) no-repeat center / contain;
  transition: transform 0.3s ease-out;
}

.gcp-movie:hover::after {
  transform: scale(1.1);
}

/* ---- ライトブルーのセクション（2つの円） ---- */
.gcp-blue {
  padding: 64px 0 80px;
  overflow: hidden;
  border-radius: var(--rd-xl);
  background-color: var(--cl-pop-lbl);
}

/* ---- インターナショナルプログラムの図 ---- */
/* 2つの円はデザインどおりに再現するのが難しいため、画像で表示しています。
   PCとSPで別の画像を出し分けます（HTML側の <picture> で切り替え）。 */
.gcp-circles {
  margin-top: 40px;
}

.gcp-circles img {
  display: block;
  width: 100%;
  max-width: 932px;
  height: auto;
  margin-inline: auto;
}

.gcp-note {
  margin-top: 20px;
  color: var(--cl-gy);
  font-size: 12px;
  line-height: 1.8;
  text-align: right;
}

@media (max-width: 768px) {
  .gcp-blue {
    padding: 40px 0 48px;
    border-radius: var(--rd-l);
  }

  .gcp-circles {
    /* SPは青地のふちまで画像を広げて、図中の文字を少しでも大きく見せる */
    margin-top: 24px;
    margin-inline: -12px;
  }

  .gcp-circles img {
    max-width: none;
  }

  .gcp-note {
    text-align: left;
  }
}

/* ---- 最後の導線 ---- */
.gcp-end {
  text-align: center;
}

.gcp-end .ttl {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.gcp-end .txt {
  margin-top: 16px;
}

.gcp-end .btn-list {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .gcp-end .ttl {
    font-size: 20px;
  }
}

/* ==========================================================================
   57. 留学の窓口
   ========================================================================== */

/* ---- チェック付きリスト ---- */
.list-check > li {
  position: relative;
  padding-left: 40px;
}

.list-check > li + li {
  margin-top: 10px;
}

.list-check > li::before {
  content: "";
  display: block;
  position: absolute;
  top: calc((1.7em - 24px) / 2);
  left: 0;
  width: 24px;
  height: 24px;
  background: url(../img/common/icon-check.svg) no-repeat center / contain;
}

/* 枠の中に入れたときは、デザインに合わせて上下も 40px あける */
.box > .list-check {
  margin-block: 16px;
}

@media (max-width: 768px) {
  .list-check > li {
    padding-left: 30px;
  }

  .list-check > li::before {
    top: calc((1.7em - 20px) / 2);
    width: 20px;
    height: 20px;
  }

  .box > .list-check {
    margin-block: 8px;
  }
}

/* ---- 画像を大きく見せる左右レイアウト（アドバイザーのメッセージ） ---- */
.img-txt.is-wide {
  align-items: flex-start;
  gap: 64px;
}

.img-txt.is-wide .img-txt-img {
  width: 360px;
}

.img-txt.is-wide .img-txt-img img {
  border-radius: var(--rd-m);
}

@media (max-width: 768px) {
  .img-txt.is-wide {
    gap: 16px;
  }

  .img-txt.is-wide .img-txt-img {
    width: 100%;
  }
}

/* ---- 本文中のテキストリンク ---- */
.txt-link {
  color: var(--cl-bl);
  font-weight: 700;
  text-decoration: underline;
}

.txt-link:hover {
  text-decoration: none;
}

/* ---- セル内のまとまり（段落＋リンクを1組として扱う） ---- */
.tbl td > .tbl-group + .tbl-group,
.tbl td > * + .tbl-group {
  margin-top: 20px;
}

.tbl-group > * + * {
  margin-top: 10px;
}

/* ==========================================================================
   58. 海外留学を考えている方へ
   ========================================================================== */

/* ---- ページ冒頭のキャッチコピー ---- */
.ab-lead {
  text-align: center;
}

/* キャッチコピーは手書き文字なので画像（SVG）で置く */
.ab-lead .catch {
  max-width: 915px;
  margin: 0 auto;
}

.ab-lead .catch img {
  display: block;
  width: 100%;
  height: auto;
}

.ab-lead .txt {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .ab-lead .txt {
    margin-top: 24px;
    text-align: left;
  }
}

/* ---- 青い小見出し ---- */
.ab-h3 {
  color: var(--cl-bl);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

@media (max-width: 768px) {
  .ab-h3 {
    font-size: 22px;
  }
}

/* ---- ステップへのアンカー（番号＋説明つき） ---- */
.anchor-list.is-step a {
  align-items: flex-start;
  min-height: 81px;
  padding-bottom: 18px;
}

.anchor-list.is-step .anchor-body {
  flex: 1 1 auto;
  min-width: 0;
}

.anchor-list.is-step .anchor-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.anchor-list.is-step .no {
  flex-shrink: 0;
  font-family: var(--ff-en);
  font-size: 17px;
}

.anchor-list.is-step .desc {
  display: block;
  margin-top: 8px;
  color: var(--cl-bk);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.anchor-list.is-step a::after {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .anchor-list.is-step a {
    min-height: 0;
    padding-bottom: 12px;
  }

  .anchor-list.is-step .anchor-head {
    font-size: 15px;
  }

  .anchor-list.is-step .desc {
    font-size: 12px;
  }

  .anchor-list.is-step a::after {
    margin-top: 8px;
  }
}

/* ---- STEP 本文 ---- */
.ab-step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* CMSでは1STEP＝1ブロックで入れるので、間隔はパーツ側で持たせる */
.parts.is-step {
  margin-top: 64px;
}

/* 黄色の STEP バッジ */
.ab-step .step-no {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 72px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  letter-spacing: 0;
}

.ab-step .step-no .label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.ab-step .step-no .num {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.ab-step .step-main {
  flex: 1 1 auto;
  min-width: 0;
}

.ab-step .step-ttl {
  color: var(--cl-ttl);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.ab-step .step-main > * + * {
  margin-top: 24px;
}

/* STEP の中の小見出しブロック（上に区切り線） */
.ab-sub {
  padding-top: 32px;
  border-top: 1px solid var(--cl-bdr);
}

.ab-sub-ttl {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.ab-sub > * + * {
  margin-top: 20px;
}

/* 差し込みの図版 */
.ab-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rd-l);
}

@media (max-width: 768px) {
  .ab-step {
    display: block;
  }

  .parts.is-step {
    margin-top: 40px;
  }

  .ab-step .step-no {
    width: 52px;
    height: 58px;
    margin-bottom: 12px;
  }

  .ab-step .step-no .label {
    font-size: 11px;
  }

  .ab-step .step-no .num {
    font-size: 21px;
  }

  .ab-step .step-ttl {
    font-size: 22px;
  }

  .ab-step .step-main > * + * {
    margin-top: 16px;
  }

  .ab-sub {
    padding-top: 24px;
  }

  .ab-sub-ttl {
    font-size: 18px;
  }
}

/* ---- 緑のラベルを並べる（リンク） ---- */
.icon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.icon-list .icon-topics {
  white-space: normal;
}

a.icon-topics {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out;
}

a.icon-topics:hover {
  transform: translateY(-2px);
  background-color: var(--cl-yl);
  opacity: 1;
}

/* ---- 黄色の中黒 ---- */
.list-dot.is-yellow > li::before {
  background-color: var(--cl-yl);
}

/* ==========================================================================
   59. KGUへの留学
   ========================================================================== */

/* ---- 見出しの上に置く英字ラベル ---- */
.st-label {
  margin-bottom: 12px;
  color: var(--cl-link);
  font-family: var(--ff-en);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
}

/* ページ冒頭のキャッチだけ一回り小さく */
.st-label.is-catch {
  font-size: 36px;
}

/* ---- ページ冒頭のキャッチ（見出しだけ青） ---- */
.st-catch .ttl-h2 {
  color: var(--cl-bl);
}

@media (max-width: 768px) {
  .st-label {
    margin-bottom: 8px;
    font-size: 24px;
  }

  .st-label.is-catch {
    font-size: 22px;
  }
}

/* ---- 数字で見る関西学院大学 ---- */
.st-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

/* 1段目は3枚、2段目以降は2枚並び */
.st-stats > div {
  grid-column: span 2;
  padding: 32px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
}

.st-stats > div:nth-child(n + 4) {
  grid-column: span 3;
}

/* 項目名は水色（数字の紺と分けて見出しとわかるように） */
.st-stats .label {
  color: var(--cl-link);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.st-stats .num {
  margin-top: 8px;
  color: var(--cl-bl);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.st-stats .note {
  margin-top: 8px;
  color: var(--cl-gy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .st-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .st-stats > div,
  .st-stats > div:nth-child(n + 4) {
    grid-column: auto;
    padding: 20px;
  }

  .st-stats .num {
    font-size: 21px;
  }
}

/* ---- ネイビー枠のカード（プログラム／サポート） ---- */
.st-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.st-card {
  display: flex;
  flex-direction: column;
  padding: 40px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
}

.st-card-ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.st-card-sub {
  margin-top: 4px;
  color: var(--cl-gy);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

/* サポート・奨学金のカードは英字の副題を大きく */
.st-cards.is-support .st-card-sub {
  font-size: 20px;
}

.st-card .txt {
  margin-top: 24px;
  font-size: 16px;
}

.st-card .list-tri,
.st-card .st-cols {
  margin-top: 24px;
}

/* ボタンはカードの高さが違っても下端で揃える。対象者タグと横に並べる */
.st-card-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
}

/* 対象者タグ（水色のピル） */
.st-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-link);
  color: var(--cl-wh);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .st-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .st-card {
    padding: 24px 20px;
  }

  .st-card-ttl {
    font-size: 18px;
  }

  .st-card-sub,
  .st-cards.is-support .st-card-sub {
    font-size: 14px;
  }

  .st-card-btn {
    gap: 12px;
  }

  .st-tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* ---- ▸ つきリスト ---- */
.list-tri > li {
  position: relative;
  padding-left: 18px;
  line-height: 1.7;
}

.list-tri > li + li {
  margin-top: 12px;
}

.list-tri > li::before {
  content: "\25b8";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  color: var(--cl-bl);
  line-height: 1.7;
}

/* 英字（紺・太字）＋ 日本語（グレー・小さめ）の併記 */
.list-tri.is-bi .en {
  color: var(--cl-bl);
  font-weight: 700;
}

.list-tri.is-bi .ja {
  color: var(--cl-gy);
  font-size: 14px;
}

/* 項目がリンクの場合は ▸ を水色に */
.list-tri.is-link > li + li {
  margin-top: 10px;
}

.list-tri.is-link > li::before {
  color: var(--cl-link);
  font-size: 14px;
}

.list-tri.is-link a {
  color: var(--cl-bl);
  text-decoration: underline;
}

/* ---- 学部／大学院の2カラム ---- */
.st-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.st-cols .col-ttl {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cl-bdr);
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.st-cols .list-tri {
  margin-top: 12px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .st-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- 小さいボタン ---- */
.btn.is-sm {
  width: auto;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 15px;
}

.btn.is-sm .icon {
  width: 18px;
  height: 18px;
}

/* ---- ボタンを縦に並べる ---- */
.btn-area.is-stack {
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* 英文の長いボタンも1行に収める（PCのみ） */
@media (min-width: 769px) {
  .btn-area.is-stack .btn {
    width: auto;
    min-width: 400px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .btn-area.is-stack {
    gap: 16px;
  }
}

/* ---- 体験談カード（このページは写真が 16:9、国タグはネイビー） ---- */
.art-card-list.is-wide .art-card-thumb,
.vc-list.is-wide .art-card-thumb {
  aspect-ratio: 16 / 9;
}

.art-card-tags span.is-navy {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

/* ==========================================================================
   60. 相談カレンダー
   ========================================================================== */

/* Googleカレンダーの埋め込み。枠だけサイトのテイストに合わせています */
.cal-embed {
  width: 100%;
}

.cal-scroll {
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.cal-scroll iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
}

.cal-note {
  margin-bottom: 8px;
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  /* SPは横幅が足りないので、カレンダーだけ横スクロールさせる */
  .cal-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cal-scroll iframe {
    width: 700px;
    height: 560px;
  }
}

/* ==========================================================================
   61. 留学プログラム詳細（短期海外インターンシップ／海外異文化体験セミナー）
   ========================================================================== */

/* ---- グレー帯の小見出し ---- */
.ttl-bar {
  padding: 15px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .ttl-bar {
    padding: 12px 16px;
    font-size: 17px;
  }
}

/* ---- 2カラム本文の中の縦間隔 ---- */
.ttl-bar + * {
  margin-top: 24px;
}

.prog-ttl + .prog-ttl-en {
  margin-top: 10px;
}

.prog-ttl-en + .txt {
  margin-top: 28px;
}

.ttl-h2 + .tbl-wrap,
.ttl-h3 + .tbl-wrap {
  margin-top: 40px;
}

.tbl-wrap + .box,
.tbl-wrap + .btn-area {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .ttl-bar + * {
    margin-top: 16px;
  }

  .prog-ttl-en + .txt {
    margin-top: 20px;
  }

  .ttl-h2 + .tbl-wrap,
  .ttl-h3 + .tbl-wrap,
  .tbl-wrap + .box,
  .tbl-wrap + .btn-area {
    margin-top: 24px;
  }
}

/* ---- ページ冒頭のラベル＋スペック ---- */
.prog-meta .icon-list {
  gap: 8px;
}

/* 研修期間・参加費などを縦線で区切って並べる */
.prog-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 16px;
}

.prog-spec > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-right: 20px;
  border-right: 1px solid var(--cl-bdr);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.prog-spec > div:last-child {
  padding-right: 0;
  border-right: none;
}

.prog-spec .label {
  color: var(--cl-gy);
}

.prog-spec .value {
  font-weight: 700;
}

/* ---- プログラム名（青字の大見出し＋英字） ---- */
.prog-ttl {
  color: var(--cl-bl);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.prog-ttl-en {
  margin-top: 10px;
  color: var(--cl-link);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .prog-ttl {
    font-size: 21px;
  }

  .prog-ttl-en {
    font-size: 14px;
  }
}

/* ---- 表：見出し行を薄い水色にするパターン ---- */
.tbl.is-light thead th {
  background-color: var(--cl-thead);
  color: var(--cl-bk);
  font-weight: 700;
}

/* 列が多いので、余白と文字を少し詰めて1行に収める */
.tbl.is-light th,
.tbl.is-light td {
  padding: 16px 12px;
  font-size: 15px;
  line-height: 1.6;
}

.tbl.is-light th:nth-child(2),
.tbl.is-light td:nth-child(2) {
  white-space: nowrap;
}

.tbl.is-light th:nth-child(1),
.tbl.is-light td:nth-child(1) {
  width: 17%;
}

.tbl.is-light th:nth-child(3),
.tbl.is-light td:nth-child(3) {
  width: 7%;
}

.tbl.is-light th:nth-child(4),
.tbl.is-light td:nth-child(4) {
  width: 11%;
}

.tbl.is-light th:nth-child(5),
.tbl.is-light td:nth-child(5) {
  width: 17%;
}

.tbl.is-light th:last-child,
.tbl.is-light td:last-child {
  width: 110px;
  padding-inline: 12px;
}

/* 滞在形式・特徴は左寄せ（デザインどおり） */
.tbl.is-light td:nth-child(5),
.tbl.is-light td:nth-child(6) {
  text-align: left;
}

/* セル内の注記は改行して小さく */
.tbl td .note {
  display: block;
  margin-top: 6px;
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  /* SPは横スクロール。詰まりすぎないように最低幅を確保する */
  .tbl.is-light {
    min-width: 760px;
  }

  /* 1列目（国名）は左に固定したまま、残りを横にスライドさせる */
  .tbl.is-light th:first-child,
  .tbl.is-light td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 116px;
    min-width: 116px;
    /* border-collapse だと固定時に罫線が消えるので影で代用する */
    box-shadow: 1px 0 0 0 var(--cl-bdr);
  }

  .tbl.is-light thead th:first-child {
    z-index: 2;
  }
}

/* 行見出しの幅を狭くするパターン（2カラムレイアウトの中で使う）
   SPは縦積みになるので、幅指定はPCだけに効かせる */
@media (min-width: 769px) {
  .tbl.is-detail.is-narrow tbody th {
    width: 232px;
  }
}

/* セル内の「詳細」ボタン（.btn の小型版） */
.btn.tbl-btn {
  gap: 4px;
  width: auto;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

.btn.tbl-btn .icon {
  width: 18px;
  height: 18px;
}

/* 表の上に付ける見出し帯（プログラム名＋制度名） */
.tbl-caption {
  padding: 16px 24px;
  border-radius: var(--rd-m) var(--rd-m) 0 0;
  background-color: var(--cl-thead);
  text-align: left;
}

.tbl-caption .ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.tbl-caption .pill {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  border: 1px solid var(--cl-pop-bl);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

/* 表の中の赤い注記 */
.txt-alert {
  margin-top: 10px;
  color: var(--cl-alert);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .tbl-caption {
    padding: 12px 16px;
  }

  .tbl-caption .ttl {
    font-size: 15px;
  }

  .tbl-caption .pill {
    font-size: 12px;
  }
}

/* ---- 注意枠（赤枠＋アイコン） ---- */
.box.is-alert {
  border-color: var(--cl-alert);
  background-color: var(--cl-wh);
}

.box.is-alert .box-ttl {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cl-alert);
  font-size: 20px;
}

.box.is-alert .box-ttl::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url(../img/common/icon-alert.svg) no-repeat center / contain;
}

@media (max-width: 768px) {
  .box.is-alert .box-ttl {
    gap: 8px;
    font-size: 16px;
  }
}

/* ---- H1の下に英字を添えるパターン ---- */
.page-ttl-en {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .page-ttl-en {
    margin-top: 6px;
    font-size: 14px;
  }
}

/* ---- 出願書類ボックス ---- */
.doc-box-ttl {
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.doc-box-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  margin-top: 20px;
}

.doc-box .btn-area {
  margin-top: 24px;
}

.doc-box .btn {
  width: auto;
  min-height: 38px;
  padding: 8px 18px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .doc-box-ttl {
    font-size: 18px;
  }

  .doc-box-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .doc-box .btn {
    width: 100%;
  }
}

/* ---- 「出願先」のような1行の補足 ---- */
.prog-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 16px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.prog-row .label {
  flex-shrink: 0;
  color: var(--cl-bl);
  font-weight: 700;
}

@media (max-width: 768px) {
  .prog-row {
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* ---- 下部の遷移カード（見出し＋補足＋黄色い矢印） ---- */
.prog-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.prog-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
}

.prog-link:hover {
  border-color: var(--cl-bl);
  opacity: 1;
}

.prog-link .ttl {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.prog-link .sub {
  display: block;
  margin-top: 6px;
  color: var(--cl-gy);
  font-size: 14px;
  line-height: 1.6;
}

.prog-link .icon-arw {
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--rd-s);
  background: var(--cl-yl) url(../img/common/arrow-right-bl.svg) no-repeat center / 16px 16px;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.prog-link:hover .icon-arw {
  transform: translateX(3px);
}

/* 1枚だけ・横1行で見せるタイプ */
.prog-links.is-single {
  grid-template-columns: 1fr;
}

.prog-link.is-row .prog-link-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}

.prog-link.is-row .sub {
  margin-top: 0;
}

@media (max-width: 768px) {
  .prog-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .prog-link {
    padding: 16px;
  }

  .prog-link .ttl {
    font-size: 15px;
  }
}

/* ==========================================================================
   62. 先輩留学生の声（一覧・詳細）
   ========================================================================== */

/* ---- H1帯の上に置く英字ラベル ---- */
.page-ttl-label {
  margin-bottom: 8px;
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .page-ttl-label {
    margin-bottom: 4px;
    font-size: 14px;
  }
}

/* ---- アンカー（和文＋英字・5列） ---- */
.anchor-list.is-en {
  grid-template-columns: repeat(5, 1fr);
}

.anchor-list.is-en a {
  align-items: flex-start;
  min-height: 76px;
  padding-bottom: 16px;
}

.anchor-list.is-en .anchor-body {
  flex: 1 1 auto;
  min-width: 0;
}

.anchor-list.is-en .anchor-head {
  display: block;
  color: var(--cl-ttl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.anchor-list.is-en .desc {
  display: block;
  margin-top: 6px;
  color: var(--cl-gy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.anchor-list.is-en a::after {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .anchor-list.is-en {
    grid-template-columns: repeat(2, 1fr);
  }

  .anchor-list.is-en a {
    min-height: 0;
  }

  .anchor-list.is-en .anchor-head {
    font-size: 14px;
  }

  .anchor-list.is-en .desc {
    font-size: 11px;
  }

  .anchor-list.is-en a::after {
    margin-top: 6px;
  }
}

/* ---- 本文が左・プロフィールが右の2カラム ---- */
.col2-layout.is-reverse {
  grid-template-columns: 1fr 276px;
  gap: 34px;
}

@media (max-width: 768px) {
  /* SPはプロフィールを先に出す */
  .col2-layout.is-reverse {
    display: flex;
    flex-direction: column;
  }

  .col2-layout.is-reverse > .side-col {
    display: block;
    order: -1;
    margin-bottom: 32px;
  }
}

/* ---- 設問カード（参加者の声の詳細と同じ .vc-box を使う） ---- */
/* 見出しの下に添える英字 */
.vc-box-en {
  margin-top: 4px;
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.vc-box-en + * {
  margin-top: 18px;
}

/* 強調したい設問（メッセージ） */
.vc-box.is-em {
  border-color: transparent;
  background-color: var(--cl-pop-lbl);
}

/* 本文の横に写真を置く設問 */
.vc-box-flex {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.vc-box-flex .txt {
  flex: 1 1 auto;
  min-width: 0;
}

.vc-box-flex .vc-img {
  flex: 0 0 280px;
}

/* 写真が1枚だけのとき */
.vc-imgs.is-single {
  grid-template-columns: 1fr;
}

.vc-img img,
.vc-imgs img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rd-m);
}

@media (max-width: 768px) {
  .vc-box-flex {
    display: block;
  }

  .vc-box-flex .vc-img {
    margin-top: 16px;
  }
}

/* ---- 関西学院大学への進学について（薄緑のセクション） ---- */
.vd-next {
  padding: 64px 0 72px;
  border-radius: var(--rd-xl);
  background-color: var(--cl-pop-lgr);
}

.vd-next-en {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.vd-next-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 32px;
  align-items: start;
}

.vd-next-cards > div {
  padding: 40px;
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  text-align: center;
}

.vd-next-cards .ttl {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.vd-next-cards .en {
  margin-top: 4px;
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vd-next-cards .btn {
  width: 100%;
  min-height: 72px;
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.5;
}

.vd-next-cards .btn + .btn {
  margin-top: 16px;
}

/* Instagram の帯 */
.vd-insta {
  margin-top: 40px;
  padding: 40px;
  border-radius: var(--rd-l);
  background-color: var(--cl-pop-gr);
}

.vd-insta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 40px;
  padding: 24px 32px;
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
}

.vd-insta-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vd-insta-body img {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.vd-insta-body .ttl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.vd-insta-body .ttl .icon-ext {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url(../img/common/ext-link.svg) no-repeat center / contain;
}

.vd-insta-body .id {
  margin-top: 2px;
  color: var(--cl-gy);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .vd-next {
    padding: 40px 0 44px;
    border-radius: var(--rd-l);
  }

  .vd-next-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .vd-next-cards > div {
    padding: 24px 16px;
  }

  .vd-next-cards .ttl {
    font-size: 17px;
  }

  .vd-next-cards .btn {
    min-height: 64px;
    font-size: 14px;
  }

  .vd-insta {
    margin-top: 24px;
    padding: 16px;
  }

  .vd-insta-card {
    gap: 12px;
    padding: 16px;
  }

  .vd-insta-body .ttl {
    font-size: 15px;
  }
}

/* ==========================================================================
   63. カード共通のカーソル演出

   「留学プログラムを探す」（/abroad/program/category/）のカードと
   同じ動きを、ほかのページのカードにも揃えている。
     ・カードごと少し傾いて浮く（隣り合うカードで傾く向きを変える）
     ・写真はゆっくりズーム
     ・キーボード操作でも同じ動きになるよう :focus-within も対象にする
   ========================================================================== */

/* 傾き＋浮き。カード型のパーツで共通 */
.art-card-list .art-card,
.vc-list .art-card,
.movie-card,
.qcard {
  transform-origin: center bottom;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1),
    border-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
}

.art-card-list .art-card:hover,
.art-card-list .art-card:focus-within,
.vc-list .art-card:hover,
.vc-list .art-card:focus-within,
.movie-card:hover,
.movie-card:focus-within,
.qcard:hover,
.qcard:focus-within {
  transform: rotate(-1.5deg) translateY(-6px);
  opacity: 1;
}

/* 隣り合うカードは逆向きに傾ける */
.art-card-list .art-card:nth-child(even):hover,
.art-card-list .art-card:nth-child(even):focus-within,
.vc-list .art-card:nth-child(even):hover,
.vc-list .art-card:nth-child(even):focus-within,
.movie-card:nth-child(even):hover,
.movie-card:nth-child(even):focus-within,
.qcard:nth-child(even):hover,
.qcard:nth-child(even):focus-within {
  transform: rotate(1.5deg) translateY(-6px);
}

/* 影のつき方はパーツごとの持ち味を残す */
.movie-card:hover,
.movie-card:focus-within,
.qcard:hover,
.qcard:focus-within {
  box-shadow: 0 16px 28px -14px rgba(30, 60, 145, 0.5);
}

/* 写真はゆっくりズーム */
.art-card-thumb img,
.movie-card-thumb img {
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.art-card:hover .art-card-thumb img,
.art-card:focus-within .art-card-thumb img,
.movie-card:hover .movie-card-thumb img,
.movie-card:focus-within .movie-card-thumb img {
  transform: scale(1.06);
}

/* 横長のカード・記事の行は、傾けずに浮かせる */
.art-list .art-link,
.prog-link {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
    border-color 0.3s ease-out,
    box-shadow 0.3s ease-out;
}

.art-list .art-link:hover,
.art-list .art-link:focus-visible,
.prog-link:hover,
.prog-link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cl-bl);
  box-shadow: 0 14px 24px -14px rgba(30, 60, 145, 0.45);
  opacity: 1;
}

/* TOPの記事行は横にすべる動きのままにする */
.art-list.is-top .art-link:hover,
.art-list.is-top .art-link:focus-visible {
  transform: translateX(6px);
  border-color: transparent;
  box-shadow: 0 10px 20px -12px rgba(30, 60, 145, 0.5);
}

/* 出現アニメの transform: none に負けないよう、優先度を合わせておく
   （.js-reveal-ready [data-reveal].is-inview より後ろ・同じ強さにする） */
.js-reveal-ready .movie-card:hover,
.js-reveal-ready .movie-card:focus-within,
.js-reveal-ready .qcard:hover,
.js-reveal-ready .qcard:focus-within {
  transform: rotate(-1.5deg) translateY(-6px);
}

.js-reveal-ready .movie-card:nth-child(even):hover,
.js-reveal-ready .movie-card:nth-child(even):focus-within,
.js-reveal-ready .qcard:nth-child(even):hover,
.js-reveal-ready .qcard:nth-child(even):focus-within {
  transform: rotate(1.5deg) translateY(-6px);
}

.js-reveal-ready .art-list .art-link:hover,
.js-reveal-ready .art-list .art-link:focus-visible,
.js-reveal-ready .prog-link:hover,
.js-reveal-ready .prog-link:focus-visible {
  transform: translateY(-4px);
}

.js-reveal-ready .art-list.is-top .art-link:hover,
.js-reveal-ready .art-list.is-top .art-link:focus-visible {
  transform: translateX(6px);
}

/* 動きを減らす設定の環境では傾けない */
@media (prefers-reduced-motion: reduce) {
  .art-card-list .art-card,
  .vc-list .art-card,
  .movie-card,
  .qcard,
  .art-list .art-link,
  .prog-link {
    transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out;
  }

  .art-card-list .art-card:hover,
  .vc-list .art-card:hover,
  .movie-card:hover,
  .qcard:hover,
  .art-list .art-link:hover,
  .prog-link:hover {
    transform: none;
  }

  .art-card:hover .art-card-thumb img,
  .movie-card:hover .movie-card-thumb img {
    transform: none;
  }
}

/* ==========================================================================
   64. 外国人留学生入学試験
   ========================================================================== */

/* ---- グレーの大きな囲み ---- */
.ex-gray {
  padding: 64px 0 72px;
  border-radius: var(--rd-xl);
  background-color: var(--cl-bg);
}

@media (max-width: 768px) {
  .ex-gray {
    padding: 40px 0 44px;
    border-radius: var(--rd-l);
  }
}

/* ---- 2カラム ---- */
.ex-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .ex-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- Q＆A・説明会情報のカード ---- */
.ex-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ex-cards > li {
  display: flex;
}

.ex-cards .find-card {
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 32px 96px 32px 40px;
  text-align: left;
}

.ex-cards .find-card-sub {
  margin-top: 14px;
}

.ex-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ex-card-head img {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 50px;
}

@media (max-width: 768px) {
  .ex-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ex-card-head {
    gap: 12px;
  }

  .ex-card-head img {
    height: 40px;
  }
}

/* ---- 重要なお知らせのラベル ---- */
.box-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--rd-s);
  background-color: var(--cl-alert);
  color: var(--cl-wh);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.box-ttl.is-plain {
  color: var(--cl-ttl);
}

.box.is-alert .box-ttl.is-plain::before {
  content: none;
}

/* ---- 動画のサブ（小さいサムネイル3つ） ---- */
.ex-movie-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.ex-movie-sub .gcp-movie {
  max-width: none;
}

.ex-movie-sub .gcp-movie::after {
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
}

/* ---- ガイドブックの一覧 ---- */
.ex-guide {
  margin-top: 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
}

.ex-guide > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
}

.ex-guide > li + li {
  border-top: 1px solid var(--cl-bdr);
}

.ex-guide .ttl {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.ex-guide .sub {
  margin-top: 2px;
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.6;
}

.ex-guide-btns {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 8px;
}

.ex-guide-btns .btn {
  width: auto;
  min-height: 36px;
  padding: 6px 14px;
  font-size: 13px;
}

.ex-guide-btns .btn .icon {
  width: 16px;
  height: 16px;
}

/* 外部リンクだけのもの */
.ex-guide-ext {
  display: block;
  width: 22px;
  height: 22px;
  background: url(../img/common/ext-link.svg) no-repeat center / contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ex-guide-ext:hover {
  transform: translate(2px, -2px);
  opacity: 1;
}

@media (max-width: 768px) {
  .ex-guide > li {
    display: block;
    padding: 14px 16px;
  }

  .ex-guide-btns {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10px;
  }
}

/* ---- インターネット出願の枠 ---- */
.ex-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.ex-entry .box-ttl {
  margin-bottom: 2px;
  font-size: 20px;
}

/* ---- 枠の中のリンク一覧 ---- */
.ex-links > li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cl-bdr);
}

.ex-links > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.ex-links > li > a::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--rd-s);
  background: var(--cl-yl) url(../img/common/arrow-right-bl.svg) no-repeat center / 16px 16px;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ex-links > li > a:hover::after {
  transform: translateX(3px);
}

.ex-links .sub {
  margin-top: 6px;
  color: var(--cl-gy);
  font-size: 14px;
  line-height: 1.7;
}

/* ---- ※の注釈リスト ---- */
.list-note > li {
  position: relative;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.8;
}

.list-note > li + li {
  margin-top: 6px;
}

.list-note > li::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}

/* ==========================================================================
   65. 国際教育・協力センター（CIEC）とは
   ========================================================================== */

/* ---- 冒頭の手書きコピー ---- */
.ab-copy {
  display: block;
  max-width: 836px;
  margin: 0 auto;
}

.ab-copy img {
  display: block;
  width: 100%;
  height: auto;
}

.ab-lead {
  margin-top: 40px;
  text-align: center;
}

/* 冒頭のボタン（デザイン実測 500px） */
.ab-lead + .btn-area .btn {
  width: 500px;
}

@media (max-width: 768px) {
  /* SPは2行の版（デザイン実測 334px）に差し替わる */
  .ab-copy {
    max-width: 334px;
  }

  .ab-lead {
    margin-top: 24px;
    text-align: left;
  }
}

/* ---- 4つの活動 ---- */
.ab-acts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.ab-acts > div {
  padding: 28px 32px;
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.ab-act-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ab-acts .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 38px;
  padding: 4px 10px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.ab-acts .ttl {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.ab-acts .txt {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .ab-acts {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .ab-acts > div {
    padding: 20px 16px;
  }

  .ab-acts .ttl {
    font-size: 17px;
  }
}

/* ---- 事務室（グレーの帯の中に置くので白いカードにする） ---- */
.ex-gray .office-card {
  grid-template-columns: 1fr 266px;
  padding: 0;
  overflow: hidden;
  background-color: var(--cl-wh);
}

.ex-gray .office-card > div:first-child {
  padding: 24px 0 24px 32px;
}

.ex-gray .office-card .office-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

@media (max-width: 768px) {
  .ex-gray .office-card {
    grid-template-columns: 1fr;
  }

  .ex-gray .office-card > div:first-child {
    padding: 20px 16px 0;
  }
}

/* リードの行間を少し広げる */
.ex-gray .ttl-h2 + .txt {
  margin-top: 32px;
}

/* ---- もっと詳しく知る（3枚のカード） ---- */
.ab-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ab-links > li {
  display: flex;
}

.ab-links .find-card {
  justify-content: flex-start;
  width: 100%;
  min-height: 349px;
  padding: 40px 32px 76px;
}

.ab-links .find-card-icon {
  width: auto;
  height: 50px;
}

.ab-links .find-card-ttl {
  margin-top: 24px;
  color: var(--cl-bl);
  font-size: 20px;
  line-height: 1.5;
}

.ab-links .find-card-sub {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
}

/* 矢印は右下に置く */
.ab-links .top-arw-btn {
  top: auto;
  right: 24px;
  bottom: 24px;
  width: 40px;
  height: 40px;
  transform: none;
  border-radius: var(--rd-m);
}

.ab-links .find-card:hover .top-arw-btn {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .ab-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ab-links .find-card {
    min-height: 0;
    padding: 24px 20px 68px;
  }

  .ab-links .find-card-ttl {
    margin-top: 16px;
    font-size: 17px;
  }
}

/* ==========================================================================
   66. Fact Sheet（協定校一覧）
   ========================================================================== */

/* ---- 上部の一括ダウンロード ---- */
.fs-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 32px;
  padding: 16px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
}

.fs-bar-ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.fs-bar .btn,
.fs-univ .btn {
  width: auto;
  min-height: 40px;
  padding: 8px 18px;
  font-size: 14px;
}

.fs-bar .btn .icon,
.fs-univ .btn .icon {
  width: 16px;
  height: 16px;
}

/* ---- キーワード検索 ---- */
.fs-search {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.fs-search-ttl {
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.fs-search-row {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.fs-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px;
  padding: 0 20px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  font-family: inherit;
  font-size: 16px;
  color: var(--cl-bk);
}

.fs-input::placeholder {
  color: var(--cl-gy);
}

.fs-input:focus {
  outline: 2px solid var(--cl-bl);
  outline-offset: 1px;
}

.fs-search-row .btn {
  width: auto;
  min-height: 56px;
  padding: 10px 32px;
  font-size: 16px;
}

.fs-search-note {
  margin-top: 14px;
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.7;
}

/* 検索結果の件数 */
.fs-result {
  margin-top: 24px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.fs-result .js-fs-count {
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 22px;
}

.fs-empty {
  margin-top: 16px;
  color: var(--cl-gy);
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .fs-bar {
    padding: 14px 16px;
  }

  .fs-search {
    padding: 20px 16px;
  }

  .fs-search-row {
    flex-direction: column;
    gap: 10px;
  }

  .fs-input {
    height: 48px;
  }

  .fs-search-row .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* ---- 地域ナビ（3列） ---- */
.anchor-list.is-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .anchor-list.is-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- 協定校の一覧 ---- */
.fs-list {
  margin-top: 32px;
  border-top: 1px solid var(--cl-bdr);
}

.fs-country {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-bottom: 1px solid var(--cl-bdr);
}

.fs-country-name {
  padding: 24px;
  background-color: var(--cl-bg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.fs-univs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
  padding: 16px 24px;
  align-content: start;
}

.fs-univ {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
}

.fs-univ-name {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--cl-link);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  text-decoration: underline;
}

.fs-univ-name:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .fs-list {
    margin-top: 24px;
  }

  .fs-country {
    grid-template-columns: 1fr;
  }

  .fs-country-name {
    padding: 12px 16px;
  }

  .fs-univs {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 16px;
  }

  .fs-univ {
    flex-wrap: wrap;
  }
}

/* ---- ご利用にあたって ---- */
.fs-caution {
  padding: 28px 32px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.fs-caution-ttl {
  margin-bottom: 14px;
  color: var(--cl-bl);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.fs-caution .list-dot > li {
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .fs-caution {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   67. 装飾イラスト（グローバルチャレンジ制度／CIECとは）

   デザイン（1440幅のアートボード）での座標をそのまま比率に置き換えている。
   横幅に合わせて位置も大きさも変わるので、どの画面幅でも配置が崩れない。
   素材はTOPと共通（cms/ciec/img/top/ill-*.svg）。
   ========================================================================== */
.gc-deco,
.ab-deco {
  /* 本文の幅ではなく画面の幅いっぱいに敷く。
     横だけ切って、縦は節の外へはみ出させる */
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  /* --sbw はスクロールバーの幅（common.js が実測して渡す）。
     引いておかないと右端に寄せたイラストが切れる */
  width: var(--vw, 100vw);
  transform: translateX(-50%);
  overflow-x: clip;
  overflow-y: visible;
  pointer-events: none;
  --ref: min(var(--vw, 100vw), 1440px);
}

.gc-deco {
  z-index: 0;
}

/* CIECくんは見出し帯の上に重なるデザインなので本文より前に出す */
.ab-deco {
  z-index: 2;
}

.gc-deco-item,
.ab-deco-item {
  position: absolute;
  max-width: none;
  height: auto;
}

/* イラストより本文を前面に */
.parts:has(> .gc-deco),
:has(> .ab-deco) {
  position: relative;
}

.parts:has(> .gc-deco) > *:not(.gc-deco),
:has(> .ab-deco) > *:not(.ab-deco) {
  position: relative;
  z-index: 1;
}

/* ---- リード（校舎・木・ベンチの人） ----
   デザインでは3点とも見出し帯（H1）に食い込んでいる。節の上端を0として、
   校舎 -136 / 木 -94 / 人 -57 の位置。校舎は右へ31pxはみ出して切れる。 */
.gc-deco .is-school {
  top: calc(var(--ref) * -168 / 1440);
  right: calc(var(--ref) * -31 / 1440);
  width: calc(var(--ref) * 222 / 1440);
}

/* 木とベンチの人も校舎と同じく右端を基準にする。
   画面の中央を基準にすると、画面が広いときに校舎だけ右へ離れて
   木と人が本文の上に取り残されてしまう */
.gc-deco .is-tree {
  top: calc(var(--ref) * -126 / 1440);
  right: calc(var(--ref) * 329 / 1440);
  width: calc(var(--ref) * 61 / 1440);
}

.gc-deco .is-bench {
  top: calc(var(--ref) * -89 / 1440);
  right: calc(var(--ref) * 218 / 1440);
  width: calc(var(--ref) * 98 / 1440);
}

/* ---- グローバルチャレンジとは？（座っている2人） ----
   デザインでは緑の帯の左上、帯からはみ出す形で置かれている */
/* 帯の背景より前に出す（デザインでも帯に重なって描かれている） */
.gc-deco:has(> .is-sit-a) {
  z-index: 2;
}

.gc-deco .is-sit-b {
  top: calc(var(--ref) * -84 / 1440);
  left: calc(50% + var(--ref) * -674 / 1440);
  width: calc(var(--ref) * 78 / 1440);
}

.gc-deco .is-sit-a {
  top: calc(var(--ref) * -34 / 1440);
  left: calc(50% + var(--ref) * -556 / 1440);
  width: calc(var(--ref) * 97 / 1440);
}

/* ---- 最後の導線（校舎・木・茂み・歩く2人） ---- */
.gc-deco .is-school-c {
  top: calc(var(--ref) * -294 / 1440);
  right: 0;
  width: calc(var(--ref) * 272 / 1440);
}

.gc-deco .is-walk-b {
  top: calc(var(--ref) * -151 / 1440);
  left: calc(50% + var(--ref) * -524 / 1440);
  width: calc(var(--ref) * 49 / 1440);
}

.gc-deco .is-walk-d {
  top: calc(var(--ref) * -119 / 1440);
  left: calc(50% + var(--ref) * -601 / 1440);
  width: calc(var(--ref) * 46 / 1440);
}

/* 校舎の足元の木なので、校舎と同じく右端を基準にする */
.gc-deco .is-tree-r {
  top: calc(var(--ref) * -39 / 1440);
  right: calc(var(--ref) * 167 / 1440);
  width: calc(var(--ref) * 61 / 1440);
}

.gc-deco .is-tree-l {
  top: calc(var(--ref) * 202 / 1440);
  left: calc(50% + var(--ref) * -541 / 1440);
  width: calc(var(--ref) * 61 / 1440);
}

.gc-deco .is-bush {
  top: calc(var(--ref) * 245 / 1440);
  left: calc(50% + var(--ref) * 429 / 1440);
  width: calc(var(--ref) * 69 / 1440);
}

/* 右下の校舎に注釈が重なって読みにくくなるので、注釈を校舎の手前で折り返す。
   デザインでも注釈は右端まで寄せず、少し内側で止まっている */
.gcp-note {
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .gcp-note {
    padding-right: 150px;
  }
}

/* 足元の木・茂みが次の節に隠れてしまうので、最後の節に下の余白をとる */
@media (min-width: 769px) {
  .parts:has(> .gc-deco > .is-bush) {
    padding-bottom: 90px;
  }
}

/* ---- CIECくん（国際教育・協力センターとは） ---- */
/* 見出し帯の右下に重ねる */
/* 画面幅に比例して縮めると、タブレット幅で小さくなりすぎるので下限を設ける。
   大きくした分は上に伸ばし、見出し帯の下端に重なる位置（下端）は保つ */
.ab-deco .is-doctor {
  --w: max(100px, calc(var(--ref) * 120 / 1440));
  top: calc(var(--ref) * 270 / 1440 - var(--w) * 0.75);
  left: calc(50% + var(--ref) * 442 / 1440);
  width: var(--w);
}

/* リードの左下。見出しの折り返しで本文の高さが変わっても重ならないよう、
   節の下端（ボタンの位置）を基準に置く（1440幅でデザインと同じ位置） */
.ab-deco .is-goodjob {
  bottom: calc(var(--ref) * -121 / 1440);
  left: calc(50% + var(--ref) * -608 / 1440);
  width: calc(var(--ref) * 181 / 1440);
}

/* ---- SP ----
   デザイン（390幅のアートボード）での座標をそのまま比率に置き換えている。
   PCとは並び方が変わるので、位置・大きさともSP用に指定し直している。 */
@media (max-width: 768px) {
  /* 校舎・木・ベンチ・座っている2人が、見出し帯の下にひとかたまりで並ぶ。
     本文と重ならないよう、節の上に余白を取って置き場所をつくる */
  /* イラストは節の上（見出し帯との間）に出るので、その分だけ節を下げる。
     --ref は .gc-deco 側にしか無いので、ここでは --vw から直接出す */
  .parts:has(> .gc-deco > .is-school) {
    margin-top: calc(min(var(--vw, 100vw), 390px) * 171 / 390);
  }

  /* SPのデザインは390幅。それより広い画面（大きめのスマホ・縦のタブレット）で
     イラストだけ大きくなると見出し帯に食い込むので、390幅の大きさで止め、
     かたまりごと画面の中央に置く（left は「中央からの距離」で指定） */
  .gc-deco,
  .ab-deco {
    --ref: min(var(--vw, 100vw), 390px);
  }

  .gc-deco .is-school {
    top: calc(var(--ref) * -195 / 390);
    right: auto;
    left: calc(50% + var(--ref) * 84 / 390);
    width: calc(var(--ref) * 111 / 390);
  }

  .gc-deco .is-tree {
    top: calc(var(--ref) * -116 / 390);
    right: auto;
    left: calc(50% + var(--ref) * 12 / 390);
    width: calc(var(--ref) * 46 / 390);
  }

  .gc-deco .is-bench {
    top: calc(var(--ref) * -65 / 390);
    right: auto;
    left: calc(50% + var(--ref) * 54 / 390);
    width: calc(var(--ref) * 73 / 390);
  }

  /* SPだけ、座っている2人もこのかたまりに入る */
  .gc-deco .is-sit-b2 {
    top: calc(var(--ref) * -135 / 390);
    left: calc(50% + var(--ref) * -155 / 390);
    width: calc(var(--ref) * 59 / 390);
  }

  .gc-deco .is-sit-a2 {
    top: calc(var(--ref) * -92 / 390);
    left: calc(50% + var(--ref) * -119 / 390);
    width: calc(var(--ref) * 73 / 390);
  }

  /* 手書きコピーはSP用の2行版（デザイン実測 366px）に差し替わる */
  .gcp-copy {
    max-width: 366px;
  }

  /* 下段（緑の帯まわり）はSPでは出さない。上のかたまりに寄せている */
  .gc-deco .is-sit-a,
  .gc-deco .is-sit-b,
  .gc-deco .is-walk-b,
  .gc-deco .is-walk-d,
  .gc-deco .is-tree-l,
  .gc-deco .is-tree-r,
  .gc-deco .is-bush,
  .gc-deco .is-school-c {
    display: none;
  }

  /* CIECくん */
  /* 博士のCIECくんは見出し帯の右下に重なる */
  .ab-deco .is-doctor {
    top: calc(var(--ref) * 87 / 390);
    left: auto;
    right: 0;
    width: calc(var(--ref) * 108 / 390);
  }

  /* グッドサインのCIECくんはボタンの下、次の節との間に置く */
  .ab-deco .is-goodjob {
    top: auto;
    bottom: calc(var(--ref) * -130 / 390);
    left: calc(var(--ref) * 25 / 390);
    width: calc(var(--ref) * 108 / 390);
  }
}

/* PCでは、SP用に足した座っている2人は出さない */
@media (min-width: 769px) {
  .gc-deco .is-sit-a2,
  .gc-deco .is-sit-b2 {
    display: none;
  }
}

/* ==========================================================================
   68. 保証人の皆さまへ

   デザイン（1176幅のコンテンツ）の余白をそのまま入れている。
   見出し → リード → 中身 がどの節でも 40px 間隔。
   ========================================================================== */
.gd-sec .ttl-h2 + .txt {
  margin-top: 40px;
}

.gd-sec .txt + .gd-msg-list,
.gd-sec .txt + .qcard-list,
.gd-sec .txt + .art-card-list,
.gd-sec .txt + .btn-area {
  margin-top: 40px;
}

/* 青い縦バーの小見出しを縦に積む */
.gd-msg-list {
  display: grid;
  gap: 64px;
}

.gd-msg-list .ttl-h3 + .txt {
  margin-top: 40px;
}

/* 保証人の声（ボタン2つ横並び） */
.gd-voice-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.gd-voice-btns .btn {
  width: 400px;
  max-width: 100%;
}

@media (max-width: 768px) {
  .gd-sec .ttl-h2 + .txt,
  .gd-sec .txt + .gd-msg-list,
  .gd-sec .txt + .qcard-list,
  .gd-sec .txt + .art-card-list,
  .gd-sec .txt + .btn-area {
    margin-top: 24px;
  }

  .gd-msg-list {
    gap: 40px;
  }

  .gd-msg-list .ttl-h3 + .txt {
    margin-top: 20px;
  }

  .gd-voice-btns {
    gap: 12px;
  }
}

/* ==========================================================================
   69. あなたに合う留学が見つかる診断

   入れ子のアコーディオン。深さで枠の色と背景が交互に変わる。
     1階層目 … 薄いグレー地＋グレー枠
     2階層目 … 白地＋紺枠
     3階層目 … 薄いグレー地＋グレー枠
     いちばん内側（プログラム／選択肢の行）… 白地＋グレー枠
   開閉は共通の .js-acc / .js-acc-body を使う。
   ========================================================================== */

/* ---- Q1 見出し ---- */
.pf-q1 {
  display: flex;
  align-items: center;
  gap: 24px;
}

.pf-q1-no {
  flex-shrink: 0;
  padding: 12px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
  color: var(--cl-yl);
  font-family: var(--ff-num);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.pf-q1-txt {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

.pf-lead {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- リスト ---- */
.pf-list {
  display: grid;
  gap: 16px;
}

.pf-list.is-lv1 {
  margin-top: 40px;
}

.pf-item {
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-lgy);
}

/* 2階層目だけ白地＋紺枠 */
.pf-list.is-lv2 > .pf-item {
  border-color: var(--cl-bl);
  background-color: var(--cl-wh);
}

/* ---- 見出し行（開閉ボタン） ---- */
.pf-head {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 32px 40px;
  box-sizing: border-box;
  cursor: pointer;
  text-align: left;
}

.pf-head-ttl {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* 開閉アイコン。閉じているときは＋、開いたら− */
.pf-head::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: url(../img/common/acc-plus.svg) no-repeat center / contain;
}

.pf-item.is-open > .pf-head::after {
  background-image: url(../img/common/acc-minus.svg);
}

.pf-head:hover {
  opacity: 0.7;
}

/* ---- 記号（A/B/C… と Q） ---- */
.pf-badge {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 40px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.pf-badge.is-q {
  background-color: var(--cl-bl);
  color: var(--cl-yl);
}

/* ---- 中身 ---- */
.pf-body {
  display: none;
  padding: 0 40px 32px;
}

.pf-q {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-left: 40px;
}

.pf-q-txt {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.pf-q + .pf-list,
.pf-q + .pf-leaf-list,
.pf-q + .pf-prog {
  margin-top: 24px;
}

/* ---- プログラムの行（カードを幅いっぱいに2列で並べる） ---- */
.pf-prog {
  padding: 24px 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

/* ---- プログラムへのリンク（カード） ----
   PROGRAM の行は2列、選択肢の行（右半分）は1列に積む */
.pf-card-list {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.pf-leaf-links.pf-card-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.pf-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(30, 60, 145, 0.25);
  border-radius: 12px;
  background-color: #f3f5fb;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.pf-card-ttl,
.pf-card-txt {
  display: block;
}

.pf-card-ttl {
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.pf-card-txt {
  margin-top: 4px;
  color: #54545c;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

/* 矢印は疑似要素で付ける（CMSで入力するのは文言だけ） */
.pf-card-body {
  flex: 1 1 auto;
  min-width: 0;
}

.pf-card::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cl-bl) url(../img/common/arrow-right-wh.svg) no-repeat center / 14px 14px;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.pf-card:hover {
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  opacity: 1;
  transform: translateY(-3px);
}

.pf-card:hover::after {
  transform: translateX(3px);
}

/* ---- 補足（CHECK）：選択肢の下に出す案内 ---- */
.pf-note {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
  padding: 20px 24px;
  border-radius: 12px;
  background-color: #fffbd9;
}

.pf-note-label {
  flex-shrink: 0;
  padding: 5px 10px 6px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.pf-note-txt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.pf-note-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--cl-bl);
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: underline;
}

.pf-note-link::after {
  content: " →";
}

/* ---- 選択肢の行（左に文言・右にプログラム） ---- */
.pf-leaf-list {
  display: grid;
  gap: 16px;
}

.pf-leaf {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.pf-leaf-txt {
  display: flex;
  flex: 0 0 48%;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  background-color: var(--cl-lgy2);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.pf-leaf-links {
  align-content: center;
  padding: 20px 40px;
}

/* ---- 内容が未定のテーマ ---- */
.pf-todo {
  padding: 24px 40px;
  border: 1px dashed var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  color: var(--cl-gy);
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .pf-q1 {
    gap: 12px;
  }

  .pf-q1-no {
    padding: 8px 10px;
    font-size: 20px;
  }

  .pf-q1-txt {
    font-size: 24px;
  }

  .pf-lead {
    margin-top: 16px;
    font-size: 15px;
  }

  .pf-list.is-lv1 {
    margin-top: 24px;
  }

  .pf-list,
  .pf-leaf-list {
    gap: 12px;
  }

  /* 狭い幅でも文節の途中で折り返さない（Chrome / Edge。未対応ブラウザは通常の折り返し） */
  .pf-head-ttl,
  .pf-q-txt,
  .pf-leaf-txt,
  .pf-card-ttl,
  .pf-note-txt p {
    word-break: auto-phrase;
  }

  /* 記号・文言・開閉アイコンは縦中央揃え（デザインどおり） */
  .pf-head {
    gap: 10px;
    padding: 20px 16px;
  }

  .pf-head-ttl {
    font-size: 17px;
    line-height: 1.7;
  }

  .pf-head::after {
    width: 32px;
    height: 32px;
  }

  .pf-badge {
    width: 40px;
    height: 32px;
    font-size: 20px;
  }

  .pf-body {
    padding: 4px 16px 20px;
  }

  /* 2階層目以降は左右の余白を詰める */
  .pf-list .pf-list > .pf-item > .pf-head {
    padding: 16px 12px;
  }

  .pf-list .pf-list > .pf-item > .pf-body {
    padding: 8px 12px 16px;
  }

  .pf-q {
    gap: 10px;
    padding-left: 0;
  }

  .pf-q-txt {
    font-size: 17px;
    line-height: 1.7;
  }

  .pf-prog {
    padding: 16px 12px;
  }

  /* SPは左右に分けず、縦に積む */
  .pf-leaf {
    flex-direction: column;
  }

  .pf-leaf-txt {
    flex: 0 0 auto;
    gap: 10px;
    padding: 12px 14px;
    font-size: 16px;
  }

  .pf-leaf-links {
    padding: 12px 14px;
  }

  .pf-card-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .pf-card {
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
  }

  .pf-card-ttl {
    font-size: 15px;
  }

  .pf-card::after {
    width: 28px;
    height: 28px;
    background-size: 12px 12px;
  }

  .pf-note {
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
    padding: 16px;
    border-radius: 10px;
  }

  .pf-note-label {
    padding: 4px 8px;
    font-size: 11px;
  }

  .pf-note-txt {
    font-size: 14px;
  }

  .pf-note-link {
    margin-top: 8px;
  }

  .pf-todo {
    padding: 16px;
  }
}

/* ==========================================================================
   70. 外国人留学生入学試験（471）

   見出しは共通パーツ（.ttl-h2）、ボタンは .btn、お知らせは .art-list を使う。
   このページ固有の要素（カード・注意ボックス・動画/資料の2カラムなど）だけ
   .fe- 接頭辞で足している。
   ========================================================================== */

/* 注意ボックスなどで使うクリムゾン。このページ内で閉じる。 */
.fe-page {
  --fe-crimson: #9b1e41;
}

/* ---- 淡グレーの帯（動画＋ガイドブック／個別入学資格審査） ----
   デザイン上は1440px時に1416px幅・左右12pxの角丸。.container と同じ食い込み方。 */
.fe-band {
  margin-top: 120px;
  padding-block: 80px;
}

.fe-band-inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 12px;
}

.fe-band-bg {
  padding: 80px 0;
  border-radius: var(--rd-xl);
  background-color: var(--cl-bg);
}

/* 帯の中身は本文幅にそろえる */
.fe-band-bg > .inner {
  padding-inline: 12px;
}

/* 帯の中は .parts と同じ縦間隔で積む */
.fe-band-bg > .inner > * + * {
  margin-top: 40px;
}

/* 帯は上下のpaddingで間隔をとるので、パーツの標準マージンは打ち消す */
.fe-band + .parts.is-section,
.parts.is-section + .fe-band {
  margin-top: 120px;
}

/* ---- リード文 ---- */
.fe-lead {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.fe-txt {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- Q＆A・説明会情報の2枚のカード ----
   白いカードの右下に黄色い面を10pxずらして敷く。 */
.fe-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
}

.fe-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  box-shadow: 10px 10px 0 var(--cl-yl);
}

.fe-card-head {
  display: flex;
  align-items: center;
  gap: 24px;
}

.fe-card-head img {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: 50px;
}

.fe-card-ttl {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.fe-card-body {
  display: flex;
  align-items: center;
  gap: 24px;
}

.fe-card-txt {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* 黄色い丸ボタン（カード右下） */
.fe-card-arw {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cl-yl) url(../img/common/arrow-right-bl.svg) no-repeat center / 18px 18px;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.fe-card:hover .fe-card-arw {
  transform: translateX(5px);
}

/* ---- 注意・重要のボックス（クリムゾンの枠） ---- */
.fe-notice {
  padding: 40px;
  border: 1px solid var(--fe-crimson);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.fe-notice-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--rd-s);
  background-color: var(--fe-crimson);
  color: var(--cl-wh);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.fe-notice-ttl {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

/* 「！」アイコンつきの見出し */
.fe-notice-ttl-s {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--fe-crimson);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.fe-notice-ttl-s::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url(../img/common/icon-alert.svg) no-repeat center / contain;
}

.fe-notice-txt {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 動画とガイドブックの2カラム ---- */
.fe-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  align-items: start;
}

.fe-two > * > * + * {
  margin-top: 40px;
}

/* 動画 */
.fe-movie-main a,
.fe-movie-sub a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--rd-m);
  background-color: var(--cl-lgy3);
}

.fe-movie-main img,
.fe-movie-sub img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 548 / 309;
  object-fit: cover;
}

/* 再生ボタンは中央に重ねる */
.fe-movie-main a::after,
.fe-movie-sub a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  background: url(../img/common/icon_play.svg) no-repeat center / contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.fe-movie-main a:hover::after,
.fe-movie-sub a:hover::after {
  transform: translate(-50%, -50%) scale(1.08);
}

.fe-movie-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.fe-movie-sub a::after {
  width: 31px;
  height: 31px;
}

/* ガイドブック（資料ダウンロード） */
.fe-dl > li + li {
  margin-top: 16px;
}

.fe-dl-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
}

.fe-dl-txt {
  flex: 1 1 auto;
  min-width: 0;
}

.fe-dl-ttl {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.fe-dl-sub {
  margin-top: 1px;
  color: var(--cl-gy);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.fe-dl-btns {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 8px;
}

.fe-dl-btns .btn-pdf {
  width: 136px;
}

/* 外部リンクのみの行 */
.fe-dl-ext {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: url(../img/common/ext-link.svg) no-repeat center / contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.fe-dl-ext:hover {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ---- 幅なりの小さめボタン ---- */
.btn.fe-btn-s {
  width: auto;
  min-height: 45px;
  padding: 10px 24px;
  font-size: 16px;
}

.btn.fe-btn-s .icon {
  width: 20px;
  height: 20px;
}

/* PDFアイコンつきのボタン */
.btn .icon-doc {
  background-image: url(../img/common/icon-doc-wh.svg);
}

.btn:hover .icon-doc {
  background-image: url(../img/common/icon-doc-bl.svg);
}

/* ボタンを右に寄せる行 */
.fe-btn-row {
  display: flex;
  justify-content: flex-end;
}

.fe-btn-row.is-left {
  justify-content: flex-start;
  gap: 12px;
}

/* ---- 枠つきの案内カード（インターネット出願／国際学部・神学部） ---- */
.fe-box {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.fe-box + .fe-box {
  margin-top: 24px;
}

.fe-box-txt {
  flex: 1 1 auto;
  min-width: 0;
}

.fe-box > .btn {
  flex-shrink: 0;
}

.fe-box-ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.fe-box-sub {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 灰色の2カラム（入試情報／出願書類） ---- */
.fe-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fe-links-box {
  padding: 40px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.fe-links-ttl {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.fe-links-list {
  margin-top: 24px;
}

.fe-links-list > li + li {
  border-top: 1px solid var(--cl-bdr);
}

.fe-links-list > li:last-child {
  border-bottom: 1px solid var(--cl-bdr);
}

.fe-links-list a {
  display: block;
  padding: 8px 0 16px;
}

.fe-links-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fe-links-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* 小さな黄色い角丸の矢印 */
.fe-links-arw {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--rd-s);
  background: var(--cl-yl) url(../img/common/arrow-right-bl.svg) no-repeat center / 12px 12px;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.fe-links-list a:hover {
  opacity: 1;
}

.fe-links-list a:hover .fe-links-arw {
  transform: translateX(4px);
}

.fe-links-meta {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .fe-band {
    margin-top: 64px;
    padding-block: 0;
  }

  .fe-band-inner {
    padding-inline: 16px;
  }

  .fe-band-bg {
    padding: 40px 0;
    border-radius: var(--rd-l);
  }

  .fe-band-bg > .inner {
    padding-inline: 16px;
  }

  .fe-band + .parts.is-section,
  .parts.is-section + .fe-band {
    margin-top: 64px;
  }

  .fe-lead,
  .fe-txt,
  .fe-card-txt,
  .fe-notice-txt,
  .fe-links-name {
    font-size: 15px;
  }

  .fe-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fe-card {
    padding: 20px 16px;
    box-shadow: 6px 6px 0 var(--cl-yl);
  }

  .fe-card-head {
    gap: 16px;
  }

  .fe-card-head img {
    height: 40px;
  }

  .fe-card-ttl {
    font-size: 18px;
  }

  .fe-notice {
    padding: 20px 16px;
  }

  .fe-notice-ttl {
    font-size: 20px;
  }

  .fe-notice-ttl-s {
    gap: 10px;
    font-size: 17px;
  }

  .fe-two {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .fe-two > * > * + * {
    margin-top: 24px;
  }

  .fe-movie-main a::after {
    width: 64px;
    height: 64px;
  }

  .fe-movie-sub {
    gap: 8px;
  }

  .fe-movie-sub a::after {
    width: 24px;
    height: 24px;
  }

  /* SPは資料カードを縦に積む */
  .fe-dl-item {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .fe-dl-ttl {
    font-size: 17px;
  }

  .fe-dl-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .fe-dl-ext {
    align-self: flex-end;
  }

  .fe-box {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 16px;
  }

  .fe-box-ttl {
    font-size: 18px;
  }

  .fe-box .btn {
    width: 100%;
  }

  .fe-btn-row,
  .fe-btn-row.is-left {
    flex-direction: column;
    gap: 12px;
  }

  .fe-btn-row .btn {
    width: 100%;
  }

  .fe-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fe-links-box {
    padding: 20px 16px;
  }

  .fe-links-ttl {
    font-size: 18px;
  }

  .fe-links-list {
    margin-top: 16px;
  }
}

/* ==========================================================================
   71. 海外渡航・留学中の危機管理（382）

   見出しは共通パーツ（数字つきH2＝.rk-h2no、青い縦バーのH3＝.ttl-h3）。
   このページ固有の危険レベルのカードと保険カードだけ .rk- で足している。
   ========================================================================== */

/* ---- 数字つきの見出し（01〜04） ---- */
.rk-h2no {
  display: flex;
  align-items: center;
  gap: 24px;
}

.rk-h2no .no {
  flex-shrink: 0;
  min-width: 64px;
  padding: 12px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  /* デザインは Lilita One。--ff-num（Inter）だと別の字形になる */
  font-family: var(--ff-en);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.rk-h2no .txt {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

/* ---- 節の間隔 ---- */
.rk-sec + .rk-sec {
  margin-top: 120px;
}

.rk-h2no + .rk-txt,
.rk-h2no + .rk-block {
  margin-top: 40px;
}

.rk-txt {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.rk-block {
  margin-top: 64px;
}

.rk-block > .ttl-h3 + * {
  margin-top: 32px;
}

.rk-block > * + * {
  margin-top: 24px;
}

/* ---- 参考リンクの帯 ---- */
.rk-ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 18px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
}

.rk-ref-tag {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 外部リンク ---- */
.rk-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cl-link);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  text-decoration: underline;
}

.rk-link::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url(../img/common/ext-link.svg) no-repeat center / contain;
}

.rk-link:hover {
  text-decoration: none;
  opacity: 1;
}

.rk-links > li + li {
  margin-top: 8px;
}

/* ---- 危険レベルのカード ---- */
.rk-levels {
  display: grid;
  gap: 16px;
}

.rk-level {
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.rk-level-head {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 40px;
  background-color: var(--cl-lgy);
}

.rk-level-no {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
}

.rk-level-no .lv {
  padding: 8px 10px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bk);
  font-family: var(--ff-num);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

/* レベルが上がるほど警告色が強くなる（デザイン実測） */
.rk-level.is-lv2 .lv { background-color: #ffcc2e; }
.rk-level.is-lv3 .lv { background-color: #ff0000; color: var(--cl-wh); }
.rk-level.is-lv4 .lv { background-color: #8b0a03; color: var(--cl-wh); }

.rk-level-no .num {
  font-family: var(--ff-num);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.rk-level-ttl {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.rk-level-body {
  display: grid;
  gap: 24px;
  padding: 32px 40px;
}

.rk-level-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.rk-level-row dt {
  flex-shrink: 0;
  width: 140px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.rk-level-row dd {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--cl-bdr);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 保険・危機管理サービスの2枚 ---- */
.rk-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 2枚の高さをそろえる（中身が少ない方も背景が下まで届くように） */
.rk-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--rd-l);
}

.rk-card-body {
  flex: 1 1 auto;
}

.rk-card-head {
  padding: 24px 40px;
  background-color: var(--cl-lgy2);
}

.rk-card-tag {
  display: inline-block;
  padding: 5px 10px 6px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.rk-card-ttl {
  margin-top: 3px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.rk-card-body {
  padding: 40px;
  background-color: var(--cl-bg);
}

.rk-card-body > * + * {
  margin-top: 16px;
}

.rk-card-body p {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.rk-def {
  padding: 32px 40px;
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
}

.rk-def-dt {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.rk-def-dd {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.rk-vendor {
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .rk-h2no {
    gap: 12px;
  }

  .rk-h2no .no {
    padding: 8px 10px;
    font-size: 20px;
  }

  .rk-h2no .txt {
    font-size: 24px;
  }

  .rk-h2no + .rk-txt,
  .rk-h2no + .rk-block {
    margin-top: 24px;
  }

  .rk-sec + .rk-sec {
    margin-top: 64px;
  }

  .rk-block {
    margin-top: 40px;
  }

  .rk-block > .ttl-h3 + * {
    margin-top: 20px;
  }

  .rk-txt,
  .rk-link,
  .rk-level-row dd,
  .rk-card-body p,
  .rk-def-dd {
    font-size: 15px;
  }

  .rk-ref {
    padding: 14px 16px;
  }

  .rk-level-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .rk-level-no .num {
    font-size: 30px;
  }

  .rk-level-ttl {
    font-size: 18px;
  }

  .rk-level-body {
    gap: 16px;
    padding: 16px;
  }

  /* SPは見出しと本文を縦に積む */
  .rk-level-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .rk-level-row dt {
    width: auto;
    font-size: 17px;
  }

  .rk-level-row dd {
    padding-left: 0;
    padding-top: 8px;
    border-left: 0;
    border-top: 1px solid var(--cl-bdr);
  }

  .rk-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rk-card-head {
    padding: 16px;
  }

  .rk-card-ttl {
    font-size: 20px;
  }

  .rk-card-body {
    padding: 16px;
  }

  .rk-def {
    padding: 20px 16px;
  }

  .rk-def-dt {
    font-size: 17px;
  }
}

/* ==========================================================================
   72. 留学費用・奨学金／奨励金について（377）

   共通パーツ（.ttl-h2 / .ttl-h3 / .anchor-list）を使い、
   このページ固有の表とグラフだけ .sc- 接頭辞で足している。
   ========================================================================== */

/* ---- 冒頭のカード（FULLY FUNDED） ---- */
/* デザインの縦の間隔：h1帯→目次40／目次→カード40／カード→01節80／節間120 */
.parts.sc-page-top {
  margin-top: 40px;
}

.parts.sc-lead-sec {
  margin-top: 0;
}

.parts.sc-sec-first {
  margin-top: 80px;
}

.sc-lead {
  margin-top: 40px;
  padding: 40px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.sc-lead-label {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.sc-lead-ttl {
  margin-top: 16px;
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* 「完全支給型の奨学金が充実。」の下だけ黄色の線を引く */
.sc-lead-ttl .is-mark {
  background: linear-gradient(transparent 86%, var(--cl-yl) 86%);
}

.sc-lead-txt {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 節の間隔 ---- */
.sc-sec + .sc-sec {
  margin-top: 120px;
}

.sc-block {
  margin-top: 48px;
}

/* 節の中でブロックが続くときは64px（H2直下だけ48px） */
.sc-block + .sc-block {
  margin-top: 64px;
}

/* 図はデザインの書き出し画像をそのまま置く */
.sc-fig img {
  display: block;
  width: 100%;
  max-width: 1176px;
  height: auto;
}

.sc-block > * + * {
  margin-top: 24px;
}

.sc-txt {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 表の上の見出し（紺のラベル＋説明） ---- */
.sc-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sc-badge {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.sc-cap-txt {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.sc-cap-sub {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* ---- 表 ---- */
.sc-tbl-wrap {
  overflow-x: auto;
}

.sc-tbl {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--cl-bdr);
  border-bottom: 1px solid var(--cl-bdr);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.sc-tbl th,
.sc-tbl td {
  padding: 16px 24px;
  border-right: 1px solid var(--cl-bdr);
  border-bottom: 1px solid var(--cl-bdr);
  vertical-align: middle;
}

.sc-tbl th:last-child,
.sc-tbl td:last-child {
  border-right: 0;
}

.sc-tbl thead th {
  background-color: #effbff;
  font-weight: 700;
  text-align: center;
}

.sc-tbl tbody th {
  font-weight: 500;
  text-align: left;
}

.sc-tbl .is-c {
  text-align: center;
  white-space: nowrap;
}

/* 金額と、その下の奨学金名 */
.sc-amt {
  display: block;
  font-weight: 500;
}

.sc-amt-sub {
  display: block;
  color: var(--cl-gy);
  font-size: 14px;
  line-height: 1.7;
}

/* 合計金額は数字だけ大きく */
.sc-sum {
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 24px;
  font-weight: 500;
}

.sc-sum-unit {
  font-family: var(--ff-base);
  font-size: 16px;
}

/* 金額欄の小さな注記（1回のみ など） */
.sc-amt-note {
  display: block;
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.7;
}

/* ---- 2つ並ぶ早見表 ---- */
.sc-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

/* ---- カード（箇条書き） ---- */
.sc-card {
  padding: 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.sc-card-ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.sc-list {
  margin-top: 24px;
}

.sc-list > li {
  display: flex;
  gap: 8px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.sc-list > li + li {
  margin-top: 8px;
}

.sc-list > li::before {
  content: "●";
  flex-shrink: 0;
  width: 12px;
  color: var(--cl-bl);
  font-size: 6px;
  line-height: 1.7;
  text-align: center;
  position: relative;
  top: 9px;
}

/* ---- 学外奨学金の1件 ---- */
.sc-out > li + li {
  margin-top: 16px;
}

.sc-out-item {
  padding: 24px 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.sc-out-name {
  display: flex;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.sc-out-name::before {
  content: "●";
  flex-shrink: 0;
  width: 12px;
  color: var(--cl-bl);
  font-size: 6px;
  line-height: 1.7;
  text-align: center;
  position: relative;
  top: 9px;
}

.sc-out-amt {
  margin-top: 8px;
  color: var(--cl-gy);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 注記 ---- */
.sc-note {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.sc-note > span:first-child {
  flex-shrink: 0;
}

.sc-note a {
  color: var(--cl-link);
  text-decoration: underline;
}

.sc-note a:hover {
  text-decoration: none;
}

/* ---- 留学費用の目安（横棒グラフ） ---- */
.sc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.sc-legend > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: var(--ls-2);
}

.sc-legend > span::before {
  content: "";
  display: block;
  width: 66px;
  height: 18px;
  border-radius: var(--rd-s);
}

.sc-legend .is-fee::before { background-color: var(--cl-bl); }
.sc-legend .is-local::before { background-color: var(--cl-pop-lbl, #bfe9f7); }
.sc-legend .is-sch::before { background-color: var(--cl-yl); }

.sc-chart {
  margin-top: 24px;
  border-top: 1px solid var(--cl-bdr);
}

.sc-bar {
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cl-bdr);
}

.sc-bar-name {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  width: 194px;
  padding-right: 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.sc-bar-name small {
  color: var(--cl-gy);
  font-size: 14px;
  font-weight: 500;
}

.sc-bar-body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  gap: 4px;
}

.sc-seg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--rd-s);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.sc-seg b {
  font-size: 15px;
  font-weight: 700;
}

.sc-seg.is-fee {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.sc-seg.is-local {
  background-color: var(--cl-pop-lbl, #bfe9f7);
  color: var(--cl-bk);
}

.sc-seg.is-sch {
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

.sc-chart-note {
  margin-top: 16px;
  color: var(--cl-gy);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .sc-lead {
    margin-top: 24px;
    padding: 20px 16px;
  }

  .sc-lead-ttl {
    font-size: 18px;
  }

  .sc-lead-txt,
  .sc-txt,
  .sc-list > li,
  .sc-out-name {
    font-size: 15px;
  }

  .sc-sec + .sc-sec {
    margin-top: 64px;
  }

  .sc-block {
    margin-top: 28px;
  }

  .sc-cap-txt {
    font-size: 17px;
  }

  .sc-badge {
    padding: 5px 12px;
    font-size: 14px;
  }

  /* SPは表を横スクロールにする（min-width で横に伸ばす） */
  .sc-tbl {
    min-width: 720px;
    font-size: 14px;
  }

  .sc-tbl th,
  .sc-tbl td {
    padding: 12px 14px;
  }

  .sc-sum {
    font-size: 19px;
  }

  .sc-two {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sc-card,
  .sc-out-item {
    padding: 20px 16px;
  }

  .sc-card-ttl {
    font-size: 18px;
  }

  /* グラフはSPだと細くなりすぎるので縦に積む */
  .sc-bar {
    flex-direction: column;
    gap: 8px;
  }

  .sc-bar-name {
    width: auto;
    padding-right: 0;
  }

  .sc-bar-body {
    flex-wrap: wrap;
  }

  .sc-seg {
    flex: 1 1 100%;
  }

  .sc-legend > span {
    font-size: 14px;
  }

  .sc-legend > span::before {
    width: 40px;
    height: 14px;
  }
}

/* --------------------------------------------------------------------------
   35. 印刷
   -------------------------------------------------------------------------- */
@media print {
  .header-utility,
  .header-nav,
  .pagetop,
  .sp-menu {
    display: none !important;
  }
}

/* ==========================================================================
   73. CCC｜Cross-Cultural College

   見出しは共通パーツ（.ttl-h2）、表は .tbl.is-label、箇条書きは .list-dot /
   .list-num をそのまま使う。このページ固有のものだけ .cc- 接頭辞で足している。
   ========================================================================== */

/* ---- H1直下の英文リード（デザインではネイビー） ---- */
.cc-en {
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- ページ内のプログラム一覧（枠つき） ---- */
.cc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 24px 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
}

/* ---- 本文 ---- */
.cc-txt {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.cc-note {
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.cc-sub-ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 画像（デザインの「画像」枠。原寸のダミーを入れている） ---- */
.cc-fig img {
  display: block;
  width: 100%;
  max-width: 1176px;
  height: auto;
  border-radius: var(--rd-l);
}

/* ---- 本文＋右に画像の2カラム ---- */
.cc-two {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.cc-two > div > * + * {
  margin-top: 24px;
}

.cc-two-side > * + * {
  margin-top: 16px;
}

.cc-two-side img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--rd-m);
}

/* ---- 文中の下線つきリンク ---- */
.cc-link {
  color: var(--cl-link);
  line-height: 1.7;
  letter-spacing: var(--ls-2);
  text-decoration: underline;
}

.cc-link:hover {
  opacity: 1;
  text-decoration: none;
}

/* ---- 受賞バッジ（中央そろえ） ---- */
.cc-award {
  text-align: center;
}

.cc-award img {
  display: inline-block;
  height: auto;
}

.cc-award-txt {
  margin-top: 24px;
}

/* ---- 動画（幅794pxで中央） ---- */
.cc-movie {
  display: flex;
  justify-content: center;
}

.cc-movie a {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 794px;
  border-radius: var(--rd-l);
  background-color: var(--cl-lgy3);
}

.cc-movie img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 794 / 400;
  object-fit: cover;
}

.cc-movie a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  background: url(../img/common/icon_play.svg) no-repeat center / contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.cc-movie a:hover::after {
  transform: translate(-50%, -50%) scale(1.08);
}

/* ---- プログラムの表 ----
   行見出しが1行に収まるよう、共通の .tbl より左右の余白を詰める。 */
.cc-tbl.is-label tbody th {
  padding-inline: 8px;
}

.cc-tbl td .cc-note {
  color: var(--cl-gy);
}

/* ---- 文字数なりの幅のボタンを並べる ---- */
.cc-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.btn.is-auto {
  width: auto;
}

@media (max-width: 768px) {
  .cc-en {
    font-size: 15px;
  }

  .cc-txt,
  .cc-sub-ttl {
    font-size: 15px;
  }

  .cc-nav {
    gap: 8px 16px;
    padding: 16px;
    border-radius: var(--rd-m);
  }

  .cc-two {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cc-two-side {
    max-width: 300px;
    margin-inline: auto;
  }

  .cc-movie a::after {
    width: 64px;
    height: 64px;
  }

  .cc-btns {
    flex-direction: column;
    gap: 16px;
  }

  .btn.is-auto {
    width: 100%;
  }
}

/* ==========================================================================
   74. 交換留学ページ

   見出しは共通パーツ（番号つきH2＝.xp-h2no、青い縦バーのH3＝.ttl-h3）、
   目次は .anchor-list、箇条書きは .list-dot を使う。
   このページ固有のもの（実績の数字・アコーディオン・STEP・換算表など）だけ
   .xp- 接頭辞で足している。
   ========================================================================== */

/* ---- 番号つきの見出し（01〜07） ---- */
.xp-h2no {
  display: flex;
  align-items: center;
  gap: 32px;
}

.xp-h2no .no {
  flex-shrink: 0;
  min-width: 64px;
  padding: 12px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.xp-h2no .txt {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

/* ---- 節の間隔（デザインの実測：H1帯→目次40／目次→リード80／リード→01が80、
   節と節は120、ブロック同士は64、ブロック内は40） ---- */
.parts.xp-anchor {
  margin-top: 40px;
}

/* CMSのブロックごとに <div class="forcms_block"> で包むため、節同士は
   隣接セレクタでは拾えない。節そのものに120pxを持たせ、最初の節だけ80pxにする */
.parts.xp-sec {
  margin-top: 120px;
}

.parts.xp-sec.is-first {
  margin-top: 80px;
}

.xp-block {
  margin-top: 64px;
}

.xp-block > * + * {
  margin-top: 40px;
}

/* 「プログラム概要」のブロックだけ、デザインでは32px */
.xp-block.is-32 > * + * {
  margin-top: 32px;
}

/* 帯見出しの直後はデザインどおり24px */
.xp-bar + * {
  margin-top: 24px;
}

.xp-h2no + .xp-block {
  margin-top: 40px;
}

/* 本文＋注記のまとまり（実測10px） */
.xp-grp > * + * {
  margin-top: 10px;
}

/* 小見出し＋本文＋表＋注記のまとまり（実測16px） */
.xp-grp2 > * + * {
  margin-top: 16px;
}

/* ---- 本文 ---- */
.xp-txt {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-note {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-note > span:first-child {
  flex-shrink: 0;
}

.xp-notes > li + li {
  margin-top: 5px;
}

.xp-sub-ttl {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* ---- 実績の数字（1980年〜／約300校／約200名） ---- */
.xp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.xp-stats > div {
  padding: 34px 24px 30px;
  text-align: center;
}

.xp-stats > div + div {
  border-left: 1px solid var(--cl-bdr);
}

.xp-stats .num {
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 48px;
  font-weight: 700;
  line-height: 0.87;
}

.xp-stats .num small {
  font-size: 24px;
}

.xp-stats .num .pre {
  font-size: 24px;
}

.xp-stats .lbl {
  margin-top: 6px;
  color: var(--cl-gy);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- こんな人にオススメ ---- */
.xp-rec {
  padding: 40px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.xp-rec-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.xp-rec-tag {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.xp-rec-ttl {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.xp-rec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  margin-top: 24px;
}

/* デザイン実測：1行26px・字下げ26px。17pxだと2行に折り返すので16px */
.xp-rec-list > li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.xp-rec-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.6em - 10px) / 2);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--cl-yl);
}

/* ---- 表（見出し行は淡いブルー） ---- */
.xp-tbl thead th {
  background-color: var(--cl-pop-lbl);
  color: var(--cl-bk);
  font-weight: 700;
}

.xp-tbl th,
.xp-tbl td {
  padding: 24px 16px;
  border-right: 1px solid var(--cl-bdr);
}

.xp-tbl.is-period th:first-child,
.xp-tbl.is-period td:first-child {
  width: 280px;
}

.xp-tbl th:last-child,
.xp-tbl td:last-child {
  border-right: 0;
}

.xp-tbl tbody th {
  width: auto;
  background-color: var(--cl-wh);
  font-weight: 500;
}

/* 表の上の小見出し（第1期募集 春出発） */
.xp-tbl-cap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.xp-badge {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--rd-s);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.xp-badge.is-pill {
  padding: 8px 16px;
  border-radius: var(--rd-pill);
}

/* 「学部生」「大学院生」は幅をそろえて、右の見出しの頭を合わせる */
.xp-badge.is-w96 {
  min-width: 96px;
  text-align: center;
}

.xp-tbl-cap-ttl {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.xp-tbl-lead {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- アコーディオン ---- */
.xp-acc > li + li {
  margin-top: 16px;
}

.xp-acc > li {
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-lgy);
}

.xp-acc-head {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  /* 枠線1pxを含めてカードが104pxになるよう31px */
  padding: 31px 40px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

/* 開いているときは、見出しと中身の間をデザインどおり24pxにする */
.xp-acc > li.is-open .xp-acc-head {
  padding-bottom: 24px;
}

.xp-acc-ttl {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.xp-acc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: url(../img/common/acc-plus.svg) no-repeat center / contain;
}

.xp-acc > li.is-open .xp-acc-icon {
  background-image: url(../img/common/acc-minus.svg);
}

.xp-acc-body {
  display: none;
  padding: 0 40px 32px;
}

/* 初期状態で開いておくアコーディオン（選考スケジュール） */
.xp-acc > li.is-open > .xp-acc-body {
  display: block;
}

.xp-acc-body > * + * {
  margin-top: 24px;
}

/* 中身のまとまり（小見出し＋内容）。まとまりの中は16px */
.xp-acc-grp > * + * {
  margin-top: 16px;
}

/* アコーディオン内の小見出し（出願関連・全学選考） */
.xp-acc-sub {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* 「オンライン入力期間  2026年…」のような、項目名＋値の行 */
.xp-dl > div {
  display: flex;
  gap: 16px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-dl > div + div {
  margin-top: 8px;
}

.xp-dl dt {
  flex-shrink: 0;
  width: 200px;
}

/* ---- チェックリスト・注意などの帯見出し ---- */
.xp-bar {
  padding: 14px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* ---- 囲み（補足の枠） ---- */
.xp-callout {
  padding: 24px 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-callout > * + * {
  margin-top: 16px;
}

/* STEPを囲む枠だけ余白が40px */
.xp-callout.is-step {
  padding: 40px;
}

/* 1行だけのシンプルなSTEP（合格後の手続き）は上下中央ぞろえ */
.xp-steps.is-simple .xp-step-body {
  display: flex;
  align-items: center;
  min-height: 72px;
}

/* ---- 左に黄色い線を引く注記（推薦者発表など） ---- */
.xp-mark {
  padding: 14px 0 14px 24px;
  border-left: 5px solid var(--cl-yl);
}

.xp-mark > * + * {
  margin-top: 8px;
}

.xp-mark p {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 費用の行（相殺／本人負担） ---- */
/* 実測：タグは96px幅で行の高さいっぱい。行の下24pxで罫線、次の行まで24px */
.xp-cost > li {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--cl-bdr);
}

.xp-cost > li + li {
  padding-top: 24px;
}

.xp-cost-tag {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 96px;
  padding: 8px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.xp-cost-tag.is-self {
  background-color: #9b1e41;
}

.xp-cost-ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-cost-txt {
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 2枚のカード（定例報告／Fact Sheet） ---- */
.xp-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.xp-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.xp-card-ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.xp-card-txt {
  flex: 1 1 auto;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-card .btn {
  align-self: flex-end;
  margin-top: 8px;
}

/* ---- 各学部の単位認定説明ページ ---- */
.xp-depts {
  padding: 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
}

.xp-depts-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 40px;
}

.xp-depts-list > li {
  display: flex;
}

.xp-depts-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--cl-bdr);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-depts-list a::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url(../img/common/arrow-right-bl.svg) no-repeat center / contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.xp-depts-list a:hover {
  opacity: 1;
  border-bottom-color: var(--cl-bl);
}

.xp-depts-list a:hover::after {
  transform: translateX(4px);
}

/* ---- チェックつきのリスト ---- */
.xp-check > li {
  position: relative;
  padding-left: 36px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-check > li + li {
  margin-top: 8px;
}

.xp-check > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1.7em - 24px) / 2);
  width: 24px;
  height: 24px;
  background: url(../img/common/icon-check.svg) no-repeat center / contain;
}

/* ---- STEPの流れ ---- */
.xp-steps {
  position: relative;
}

/* 実測：バッジ64x72・本文まで40px・ステップ間40px */
.xp-steps > li {
  position: relative;
  display: flex;
  gap: 40px;
}

/* ステップ同士をつなぐ縦線（バッジの下から次のバッジの上まで） */
.xp-steps > li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 72px;
  bottom: -40px;
  width: 2px;
  background-color: var(--cl-yl);
}

.xp-steps > li + li {
  margin-top: 40px;
}

.xp-step-no {
  flex-shrink: 0;
  width: 64px;
  height: 72px;
  padding: 12px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  text-align: center;
}

.xp-step-no .en {
  display: block;
  font-family: var(--ff-num);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.xp-step-no .num {
  display: block;
  font-family: var(--ff-num);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.xp-step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.xp-step-body > * + * {
  margin-top: 16px;
}

/* 小見出し（①全学選考 など）と本文のまとまり */
.xp-step-grp > * + * {
  margin-top: 10px;
}

.xp-step-ttl {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.xp-step-ttl.is-s {
  font-size: 20px;
  line-height: 1.5;
}

.xp-step-sub {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* ---- 合計点算出方法 ---- */
.xp-score {
  padding: 32px 40px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.xp-score-ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.xp-score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
}

.xp-score-row .lbl {
  flex-shrink: 0;
  width: 155px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.xp-score-row .chip,
.xp-score-row .sum {
  padding: 8px 16px;
  border-radius: var(--rd-pill);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.xp-score-row .chip {
  background-color: var(--cl-wh);
}

.xp-score-row .sum {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.xp-score-row .op {
  font-size: 16px;
  font-weight: 700;
}

/* ---- kwicの案内カード ---- */
.xp-kwic {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.xp-kwic-txt {
  flex: 1 1 auto;
  min-width: 0;
}

.xp-kwic-ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.xp-kwic-sub {
  margin-top: 8px;
  color: var(--cl-gy);
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-kwic .btn {
  flex-shrink: 0;
}

/* ---- 番号つきの評価項目 ---- */
.xp-paren > li {
  display: flex;
  gap: 16px;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.xp-paren > li + li {
  margin-top: 8px;
}

.xp-paren > li > span:first-child {
  flex-shrink: 0;
  width: 40px;
}

@media (max-width: 768px) {
  .xp-h2no {
    gap: 12px;
  }

  .xp-h2no .no {
    min-width: 48px;
    padding: 8px 10px;
    font-size: 20px;
  }

  .xp-h2no .txt {
    font-size: 24px;
  }

  .parts.xp-sec {
    margin-top: 64px;
  }

  .parts.xp-sec.is-first {
    margin-top: 48px;
  }

  .xp-block {
    margin-top: 40px;
  }

  .xp-h2no + .xp-block {
    margin-top: 24px;
  }

  .xp-txt,
  .xp-rec-list > li,
  .xp-callout,
  .xp-check > li,
  .xp-cost-ttl,
  .xp-cost-txt,
  .xp-card-txt,
  .xp-depts-list a,
  .xp-paren > li {
    font-size: 15px;
  }

  /* SPは実績を縦に積む */
  .xp-stats {
    grid-template-columns: 1fr;
  }

  .xp-stats > div {
    padding: 20px 16px;
  }

  .xp-stats > div + div {
    border-left: 0;
    border-top: 1px solid var(--cl-bdr);
  }

  .xp-stats .num {
    font-size: 36px;
  }

  .xp-rec {
    padding: 20px 16px;
  }

  .xp-rec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .xp-rec-ttl {
    font-size: 18px;
  }

  .xp-rec-list {
    grid-template-columns: 1fr;
  }

  .xp-acc-head {
    gap: 12px;
    padding: 16px;
  }

  .xp-acc-ttl {
    font-size: 17px;
  }

  .xp-acc-icon {
    width: 28px;
    height: 28px;
  }

  .xp-acc-body {
    padding: 0 16px 20px;
  }

  .xp-bar {
    padding: 12px 16px;
    font-size: 18px;
  }

  .xp-callout {
    padding: 20px 16px;
  }

  .xp-cost > li {
    flex-direction: column;
    gap: 10px;
  }

  .xp-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .xp-card {
    padding: 20px 16px;
  }

  .xp-card-ttl {
    font-size: 18px;
  }

  .xp-card .btn {
    align-self: stretch;
    width: 100%;
  }

  .xp-depts {
    padding: 20px 16px;
  }

  .xp-depts-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 16px;
  }

  .xp-depts-list a {
    padding: 0 0 12px;
  }

  .xp-steps > li {
    gap: 16px;
  }

  .xp-steps > li + li {
    margin-top: 24px;
  }

  .xp-steps > li:not(:last-child)::before {
    left: 23px;
    top: 60px;
    bottom: -24px;
  }

  .xp-step-no {
    width: 48px;
    height: 60px;
    padding: 8px;
  }

  .xp-step-no .num {
    font-size: 18px;
  }

  .xp-step-ttl {
    font-size: 20px;
  }

  .xp-step-ttl.is-s,
  .xp-step-sub {
    font-size: 17px;
  }

  .xp-score {
    padding: 20px 16px;
  }

  .xp-score-ttl {
    font-size: 18px;
  }

  .xp-score-row .lbl {
    width: 100%;
    font-size: 16px;
  }

  .xp-kwic {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 16px;
  }

  .xp-kwic-ttl {
    font-size: 18px;
  }

  .xp-kwic .btn {
    width: 100%;
  }
}

/* ==========================================================================
   75. 国際ボランティア

   見出しは共通パーツ（番号つきH2＝.iv-h2no、青い縦バーのH3＝.ttl-h3）、
   目次は .anchor-list を使う。プログラムのカードだけ .iv- 接頭辞で足している。
   デザイン（1440幅・コンテンツ1176px）の実測値をそのまま入れている。
   ========================================================================== */

/* ---- 導入（青い縦バーつきの3行リード） ---- */
.iv-lead-ttl {
  display: flex;
  align-items: stretch;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.iv-lead-ttl::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 8px;
  margin-right: 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
}

.iv-txt {
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* ---- 番号つきの見出し（01〜03） ---- */
.iv-h2no {
  display: flex;
  align-items: center;
  gap: 32px;
}

.iv-h2no .no {
  flex-shrink: 0;
  min-width: 64px;
  padding: 12px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-num);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.iv-h2no .txt {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

/* ---- 黄色いタグ ---- */
.iv-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---- 節の間隔 ---- */
.iv-sec {
  margin-top: 80px;
}

.iv-sec-head > * + * {
  margin-top: 40px;
}

.iv-list {
  margin-top: 40px;
}

.iv-list > li + li {
  margin-top: 24px;
}

/* ---- プログラムのカード ---- */
.iv-card {
  overflow: hidden;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.iv-card-head {
  display: grid;
  grid-template-columns: 360px 1fr;
  align-items: stretch;
  background-color: var(--cl-pop-lbl);
}

/* 写真が入る場所。いまは原寸のダミーを置いている */
.iv-card-ph {
  position: relative;
  overflow: hidden;
  background-color: #d5dde6;
}

.iv-card-ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iv-card-area {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 3px 12px;
  border-radius: var(--rd-s);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.iv-card-main {
  display: flex;
  flex-direction: column;
  min-height: 203px;
  /* 実測：上40・下29でヘッダ全体が203pxになる */
  padding: 40px 40px 29px;
}

.iv-card-ttl {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.iv-card-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

/* カードの中の小さめボタン */
.btn.iv-btn {
  width: auto;
  min-height: 44px;
  padding: 8px 20px;
  font-size: 14px;
}

.btn.iv-btn .icon {
  width: 18px;
  height: 18px;
}

/* イエローのボタン（UNYV特設サイト） */
.btn.iv-btn.btn-yl {
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

/* ---- カードの下段（3つの特徴） ---- */
.iv-card-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 68px;
  /* 実測：下段は250px。中身が増えたら伸びる */
  min-height: 250px;
  padding: 36px 40px;
}

.iv-card-body > div + div {
  position: relative;
}

.iv-card-body > div + div::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--cl-bdr);
}

.iv-point-ttl {
  position: relative;
  padding-left: 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: var(--ls-2);
}

/* 1行目の高さの真ん中に置く */
.iv-point-ttl::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc((1.75em - 7px) / 2);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--cl-bl);
}

.iv-point-txt {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: var(--ls-2);
}

/* ---- 正課プログラム・大学院のカード ---- */
.iv-prog {
  padding: 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.iv-prog > * + * {
  margin-top: 24px;
}

.iv-prog-head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.iv-prog-head > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.iv-prog-head > div:first-child > * + * {
  margin-top: 12px;
}

.iv-prog-cat {
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.iv-prog-ttl {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-1);
}

.iv-prog-ttl::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 36px;
  margin-right: 16px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
}

.iv-prog-head .btn {
  flex-shrink: 0;
}

/* 修了証などの補足（グレーの角丸） */
.iv-note {
  display: inline-block;
  padding: 16px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.iv-prog .iv-card-body {
  min-height: 0;
  padding: 0;
}

@media (max-width: 768px) {
  /* SPデザインでは目次が1列 */
  .anchor-list.is-sp1 {
    grid-template-columns: 1fr;
  }

  .iv-lead-ttl {
    font-size: 20px;
  }

  .iv-lead-ttl::before {
    width: 6px;
    margin-right: 16px;
  }

  .iv-txt,
  .iv-note {
    font-size: 15px;
  }

  .iv-h2no {
    gap: 12px;
  }

  .iv-h2no .no {
    min-width: 48px;
    padding: 8px 10px;
    font-size: 20px;
  }

  .iv-h2no .txt {
    font-size: 24px;
  }

  .iv-sec {
    margin-top: 64px;
  }

  .iv-sec-head > * + * {
    margin-top: 24px;
  }

  .iv-list {
    margin-top: 24px;
  }

  .iv-list > li + li {
    margin-top: 16px;
  }

  /* SPは写真・見出し・特徴を縦に積む */
  .iv-card-head {
    grid-template-columns: 1fr;
  }

  .iv-card-ph {
    aspect-ratio: 360 / 203;
  }

  .iv-card-main {
    min-height: 0;
    padding: 20px 16px;
  }

  .iv-card-ttl {
    font-size: 20px;
  }

  .iv-card-btns {
    justify-content: flex-start;
    gap: 8px;
  }

  .iv-card-body {
    grid-template-columns: 1fr;
    row-gap: 20px;
    min-height: 0;
    padding: 20px 16px;
  }

  .iv-card-body > div + div::before {
    left: 0;
    right: 0;
    top: -10px;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .iv-prog {
    padding: 20px 16px;
  }

  .iv-prog-head {
    flex-direction: column;
    gap: 16px;
  }

  .iv-prog-ttl {
    font-size: 20px;
  }

  .iv-prog-ttl::before {
    height: 28px;
    margin-right: 12px;
  }

  .iv-prog-head .btn {
    width: 100%;
  }
}

/* =====================================================
   2026-10-01 デザイン修正対応
   ===================================================== */

/* ---- プログラム詳細：重要なお知らせ（.box.is-alert を流用） ---- */
.box.prog-notice {
  padding: 40px;
}

.box.prog-notice .box-ttl + .txt {
  margin-top: 16px;
}

.main-col > * + .prog-notice,
.main-col > .prog-notice + *,
.main-col > .forcms_block > * + .prog-notice,
.main-col > .forcms_block > .prog-notice + * {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .box.prog-notice {
    padding: 24px 20px;
  }

  .main-col > * + .prog-notice,
  .main-col > .prog-notice + * {
    margin-top: 32px;
  }
}

/* ---- フリーエリア（HTML）：管理画面で未入力のときは場所を取らない ---- */
.free-area {
  margin-top: 64px;
}

.free-area:empty {
  display: none;
}

@media (max-width: 768px) {
  .free-area {
    margin-top: 40px;
  }
}

/* ---- 参加者の声詳細：参加プログラムへのリンク ---- */
.vc-prog-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 8px;
  background-color: var(--cl-pop-lbl);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.vc-prog-link .lbl {
  flex-shrink: 0;
  color: var(--cl-gy);
  font-size: 14px;
}

.vc-prog-link .name {
  flex: 1 1 0;
  min-width: 0;
  color: var(--cl-bl);
  font-size: 16px;
  text-decoration: underline;
}

.vc-prog-link::after {
  content: "→";
  flex-shrink: 0;
  color: var(--cl-bl);
  font-size: 16px;
}

.vc-prog-link + .vc-box {
  margin-top: 24px;
}

@media (hover: hover) {
  .vc-prog-link:hover .name {
    text-decoration: none;
  }
}

@media (max-width: 768px) {
  .vc-prog-link {
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 16px;
  }

  .vc-prog-link .lbl {
    width: 100%;
  }
}

/* ---- 外国人留学生入学試験：入試情報・提出書類（縦積み＋アコーディオン） ---- */
.fe-links-box + .fe-notice,
.fe-notice + .fe-links-box {
  margin-top: 24px;
}

.fe-acc {
  margin-top: 24px;
}

.fe-acc > li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cl-bdr);
}

.fe-acc > li + li {
  margin-top: 16px;
}

.fe-acc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cl-bk);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.fe-acc-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.fe-acc-icon {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: url(../img/common/acc-plus.svg) no-repeat center / contain;
}

.fe-acc > li.is-open .fe-acc-icon {
  background-image: url(../img/common/acc-minus.svg);
}

.fe-acc-body {
  display: none;
}

.fe-acc-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
  padding: 16px;
  border-radius: 8px;
  background-color: var(--cl-wh);
  font-size: 14px;
  line-height: 1.7;
}

.fe-acc-panel.is-method {
  gap: 12px;
}

.fe-acc-grp-ttl {
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.fe-acc-rows {
  margin-top: 6px;
}

.fe-acc-rows > div {
  display: flex;
  gap: 12px;
}

.fe-acc-rows > div + div {
  margin-top: 6px;
}

.fe-acc-rows dt {
  flex-shrink: 0;
  width: 84px;
  font-weight: 700;
}

.fe-acc-rows dd {
  flex: 1 1 0;
  min-width: 0;
}

.fe-acc-method p + p {
  margin-top: 2px;
}

.fe-acc-method .res {
  color: var(--cl-bl);
  font-weight: 700;
}

@media (max-width: 768px) {
  .fe-links-box + .fe-notice,
  .fe-notice + .fe-links-box {
    margin-top: 16px;
  }

  .fe-acc {
    margin-top: 16px;
  }

  .fe-acc-name {
    font-size: 15px;
  }

  .fe-acc-icon {
    width: 32px;
    height: 32px;
  }

  .fe-acc-rows > div {
    flex-direction: column;
    gap: 0;
  }

  .fe-acc-rows dt {
    width: auto;
  }
}

/* ---- KGUへの留学：キャッチ画像 ---- */
.st-catch-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1176 / 400;
  border-radius: 8px;
  object-fit: cover;
}

.parts > .st-catch-img + * {
  margin-top: 80px;
}

/* ---- KGUへの留学：数字カードに画像（1段4枚）＋キャンパスは全幅 ---- */
.st-stats {
  grid-template-columns: repeat(4, 1fr);
}

.st-stats > div,
.st-stats > div:nth-child(n + 4) {
  display: flex;
  flex-direction: column;
  grid-column: auto;
}

.st-stats .img {
  margin-top: auto;
  padding-top: 8px;
}

.st-stats img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.st-stats .img img {
  aspect-ratio: 212 / 160;
}

.parts > .st-stats + .st-stats.is-campus {
  margin-top: 24px;
}

.st-stats.is-campus {
  grid-template-columns: 1fr;
}

.st-campus-imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.st-campus-imgs img {
  aspect-ratio: 360 / 240;
}

/* ---- KGUへの留学：対象者タグはカード右上 ---- */
.st-card-tag {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.st-tag.is-yl {
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

@media (max-width: 768px) {
  .parts > .st-catch-img + * {
    margin-top: 40px;
  }

  .st-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .st-stats.is-campus {
    grid-template-columns: 1fr;
  }

  .parts > .st-stats + .st-stats.is-campus {
    margin-top: 12px;
  }

  .st-campus-imgs {
    gap: 8px;
    margin-top: 16px;
  }

  .st-card-tag {
    margin-bottom: 16px;
  }
}


/* ==========================================================================
   76. 修了証プログラム（courses/certificate_program）
   ========================================================================== */

/* ---- リード（H1下のキャッチ） ---- */
.cp-lead {
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
  font-feature-settings: "pwid" 1, "palt" 1;
}

/* ---- グレーの囲み（デザイン実測：上下100px） ---- */
.ex-gray.cp-gray {
  padding: 100px 0;
}

/* ---- 4つのポイント ---- */
.cp-point {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.cp-point > li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-height: 230px;
  padding: 40px;
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.cp-point .no {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 40px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.cp-point-body {
  flex: 1 1 auto;
  min-width: 0;
}

.cp-point .ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.cp-point .txt {
  margin-top: 24px;
  font-size: 16px;
  letter-spacing: var(--ls-1);
}

/* ---- プログラムカード ---- */
.cp-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cp-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.cp-card-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cp-card-ttl {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.cp-card-sub {
  color: var(--cl-bl);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
  font-feature-settings: "pwid" 1, "palt" 1;
}

/* 区切り線（タイトル部と本文の間） */
.cp-card-head::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 8px;
  background-color: var(--cl-bdr);
}

/* こんな人にオススメ */
.cp-rec {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 16px 16px 24px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bg);
}

.cp-rec .icon-yl {
  flex-shrink: 0;
}

.cp-card .btn-area {
  margin-top: 8px;
}

.cp-card .btn.is-sm {
  font-size: 16px;
}

@media (max-width: 768px) {
  .cp-lead {
    font-size: 18px;
  }

  .ex-gray.cp-gray {
    padding: 48px 0;
  }

  .cp-point {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }

  .cp-point > li {
    gap: 16px;
    min-height: 0;
    padding: 24px 20px;
  }

  .cp-point .no {
    width: 44px;
    height: 36px;
    font-size: 18px;
  }

  .cp-point .ttl {
    font-size: 18px;
  }

  .cp-point .txt {
    margin-top: 12px;
    font-size: 15px;
  }

  .cp-list {
    gap: 16px;
  }

  .cp-card {
    padding: 24px 20px;
  }

  .cp-card-ttl {
    font-size: 20px;
  }

  .cp-card-sub {
    font-size: 16px;
  }

  .cp-rec {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }

  .cp-card .btn.is-sm {
    width: 100%;
  }
}


/* ==========================================================================
   77. 外国語研修（abroad/program/category/language.html）
   見出しは .ttl-h2、目次は .anchor-list、注意枠は .box.is-alert、
   箇条書きは .list-dot、ボタンは .btn を使う。ページ固有の部分だけ .fl- 接頭辞で足している。
   ========================================================================== */

/* ---- リード ---- */
.fl-lead {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: var(--ls-2);
}

/* ---- 見出し直下の説明文 ---- */
.fl-txt {
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: var(--ls-2);
}

.parts > .fl-txt,
.parts > .fl-txt + * {
  margin-top: 26px;
}

@media (max-width: 768px) {
  .fl-lead,
  .fl-txt {
    font-size: 13.5px;
    line-height: 2;
  }

  .parts > .fl-txt,
  .parts > .fl-txt + * {
    margin-top: 18px;
  }
}

/* ---- 出願受付中（受付期間中のみ表示） ---- */
.fl-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 36px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.fl-apply-txt {
  flex: 1 1 0;
  min-width: 0;
}

.fl-apply-txt > * + * {
  margin-top: 4px;
}

.fl-apply-ttl {
  color: var(--cl-bl);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
}

.fl-apply-date {
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: 0;
}

.fl-apply-note {
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.8;
}

.btn.fl-apply-btn {
  flex-shrink: 0;
  width: auto;
  min-height: 0;
  padding: 17px 40px;
  font-size: 15px;
  line-height: 1.4;
}

.btn.fl-apply-btn .icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .fl-apply {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .fl-apply-txt > * + * {
    margin-top: 14px;
  }

  .fl-apply-ttl {
    font-size: 16px;
  }

  .fl-apply-date {
    font-size: 21px;
    line-height: 1.5;
  }

  .fl-apply-note {
    font-size: 12px;
  }

  .btn.fl-apply-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* ---- こんな人にオススメ ---- */
.fl-rec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}

.fl-rec-list > li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

/* チェックマーク（ネイビーの丸にイエローの✓） */
.fl-rec-list > li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--cl-bl);
  color: var(--cl-yl);
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 768px) {
  .fl-rec-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fl-rec-list > li {
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 13.5px;
  }

  .fl-rec-list > li::before {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
}

/* ---- まず確認する資料 ---- */
.fl-doc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fl-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.fl-doc-txt {
  flex: 1 1 0;
  min-width: 0;
}

.fl-doc-txt > * + * {
  margin-top: 2px;
}

.fl-doc-ttl {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.6;
}

.fl-doc-sub {
  color: var(--cl-gy);
  font-size: 12.5px;
  line-height: 1.7;
}

.btn.fl-doc-btn {
  flex-shrink: 0;
  min-height: 0;
  padding: 11px 24px;
  font-size: 13px;
  line-height: 1.4;
}

.btn.fl-doc-btn .icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .fl-doc-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fl-doc {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 16px;
  }

  .fl-doc-txt > * + * {
    margin-top: 12px;
  }

  .fl-doc-ttl {
    font-size: 15px;
  }

  .fl-doc-sub {
    font-size: 11.5px;
  }

  .btn.fl-doc-btn {
    width: 100%;
    min-height: 0;
    padding: 12px 22px;
    font-size: 13px;
  }
}

/* ---- プログラム一覧：参加費の注記 ---- */
.fl-feenote {
  padding: 14px 24px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
  color: var(--cl-gy);
  font-size: 13.5px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .fl-feenote {
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 12px;
  }
}

/* ---- 丸いチップ（国名／日数／クラス編成） ---- */
.fl-chip {
  display: inline-block;
  padding: 3px 13px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-bg);
  color: var(--cl-bl);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
  white-space: nowrap;
}

.fl-chip.is-yl {
  background-color: var(--cl-yl);
  color: var(--cl-bl);
}

.fl-chip.is-gy {
  color: var(--cl-gy);
}

.fl-chip.is-gy.is-yl {
  color: var(--cl-bl);
}

@media (max-width: 768px) {
  .fl-chip {
    padding: 2px 11px;
    font-size: 11px;
  }
}

/* ---- プログラム一覧：言語ごとのまとまり ---- */
.fl-programs > .fl-lang {
  margin-top: 44px;
}

.fl-lang-ttl {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-2);
}

.fl-lang-ttl::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 26px;
  border-radius: 3px;
  background-color: var(--cl-bl);
}

.fl-prog-list {
  margin-top: 20px;
}

.fl-prog-list > li + li {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .fl-programs > .fl-lang {
    margin-top: 28px;
  }

  .fl-lang-ttl {
    gap: 10px;
    font-size: 19px;
  }

  .fl-lang-ttl::before {
    width: 5px;
    height: 22px;
  }

  .fl-prog-list {
    margin-top: 16px;
  }

  .fl-prog-list > li + li {
    margin-top: 16px;
  }
}

/* ---- プログラムカード ---- */
.fl-prog {
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
  box-shadow: 7px 7px 0 0 var(--cl-yl);
}

.fl-prog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 30px;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--cl-bdr);
}

.fl-prog-name,
.fl-prog-term {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.fl-prog-name {
  gap: 8px 16px;
  min-width: 0;
}

.fl-prog-term {
  flex-shrink: 0;
  gap: 12px;
}

.fl-prog-ttl {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: var(--ls-2);
}

.fl-prog-term .date {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: 0;
}

.fl-prog-body {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 30px 20px;
}

.fl-prog-meta {
  display: grid;
  flex: 1 1 0;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 48px;
  min-width: 0;
}

.fl-prog-meta > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.fl-prog-meta dt {
  color: var(--cl-gy);
  font-size: 12.5px;
  line-height: 1.6;
}

.fl-prog-meta dd {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.7;
}

.fl-prog-fee {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 4px;
  padding: 12px 22px;
  border-radius: 16px;
  background-color: var(--cl-bg);
  white-space: nowrap;
}

.fl-prog-fee .lbl {
  color: var(--cl-gy);
  font-size: 12.5px;
  line-height: 1.6;
}

.fl-prog-fee .amt {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--cl-bl);
}

.fl-prog-fee .pre {
  font-size: 22px;
  line-height: 1.3;
}

.fl-prog-fee .num {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0;
}

.fl-prog-fee .unit {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .fl-prog-meta {
    column-gap: 24px;
  }
}

@media (max-width: 768px) {
  .fl-prog {
    padding: 18px;
    border-radius: 16px;
    box-shadow: 5px 5px 0 0 var(--cl-yl);
  }

  .fl-prog-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }

  .fl-prog-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .fl-prog-ttl {
    font-size: 18px;
    line-height: 1.5;
  }

  .fl-prog-term {
    gap: 10px;
    padding-top: 4px;
  }

  .fl-prog-term .date {
    font-size: 16px;
  }

  /* SPは参加費を上、項目を2列で下に */
  .fl-prog-body {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 0 0;
  }

  .fl-prog-fee {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    order: -1;
    padding: 10px 16px;
    border-radius: 12px;
  }

  .fl-prog-fee .lbl {
    font-size: 12px;
    font-weight: 700;
  }

  .fl-prog-fee .unit {
    font-size: 12px;
  }

  .fl-prog-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
  }

  .fl-prog-meta > div {
    gap: 2px;
  }

  .fl-prog-meta dt {
    font-size: 11px;
  }

  .fl-prog-meta dd {
    font-size: 13px;
  }
}

/* ---- 滞在形式・クラス編成に関する注意（.box.is-alert を流用） ---- */
.fl-programs > .fl-attn {
  margin-top: 26px;
}

.box.fl-attn {
  padding: 26px 32px;
  border-width: 2px;
}

.box.fl-attn .box-ttl {
  margin-bottom: 12px;
  color: var(--cl-alert);
  font-size: 16px;
  line-height: 1.6;
}

.fl-attn .list-dot > li,
.fl-req .list-dot > li {
  font-size: 14px;
  line-height: 1.95;
}

.fl-attn .list-dot > li + li,
.fl-req .list-dot > li + li {
  margin-top: 0;
}

.fl-attn .list-dot > li::before,
.fl-req .list-dot > li::before {
  top: calc((1.95em - 6px) / 2);
}

@media (max-width: 768px) {
  .fl-programs > .fl-attn {
    margin-top: 18px;
  }

  .box.fl-attn {
    padding: 20px;
    border-radius: 16px;
  }

  .box.fl-attn .box-ttl {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .fl-attn .list-dot > li {
    font-size: 12.5px;
  }
}

/* ---- 募集要項 ---- */
.fl-req {
  padding: 12px 36px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bg);
}

.fl-req-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 26px 0;
}

.fl-req-row + .fl-req-row {
  border-top: 1px solid var(--cl-bdr);
}

.fl-req-row dt {
  flex-shrink: 0;
  width: 230px;
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.fl-req-row dd {
  flex: 1 1 0;
  min-width: 0;
  font-size: 14.5px;
  line-height: 2;
}

.fl-req .list-dot > li {
  font-size: 14.5px;
  line-height: 2;
}

.fl-req .list-dot > li::before {
  top: calc((2em - 6px) / 2);
}

.fl-req-note {
  color: var(--cl-gy);
  font-size: 13.5px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .fl-req {
    padding: 6px 20px;
    border-radius: 16px;
  }

  .fl-req-row {
    flex-direction: column;
    gap: 6px;
    padding: 18px 0;
  }

  .fl-req-row dt {
    width: auto;
    font-size: 14.5px;
  }

  .fl-req-row dd,
  .fl-req .list-dot > li {
    font-size: 13px;
  }

  .fl-req-note {
    font-size: 12px;
  }
}

/* ---- 参加決定後のスケジュール（縦のタイムライン） ---- */
.fl-tl {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 14px;
  padding: 6px 0 6px 40px;
}

.fl-tl::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 2px;
  background-color: var(--cl-bdr);
}

.fl-tl > li {
  position: relative;
}

.fl-tl > li > * + * {
  margin-top: 2px;
}

.fl-tl-dot {
  position: absolute;
  top: 8px;
  left: -40px;
  width: 16px;
  height: 16px;
}

.fl-tl-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}

.fl-tl-head .date {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

.fl-tl-badge {
  padding: 2px 12px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.fl-tl-ttl {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.fl-tl-txt {
  color: var(--cl-gy);
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .fl-req-note + .fl-tl {
    margin-top: 8px;
  }

  .fl-tl {
    gap: 18px;
    padding-left: 32px;
  }

  .fl-tl::before {
    left: 6px;
  }

  .fl-tl-dot {
    top: 7px;
    left: -32px;
    width: 14px;
    height: 14px;
  }

  .fl-tl-head {
    gap: 4px 8px;
  }

  .fl-tl-head .date {
    font-size: 14.5px;
  }

  .fl-tl-badge {
    padding: 1px 10px;
    font-size: 10.5px;
  }

  .fl-tl-ttl {
    font-size: 13.5px;
  }

  .fl-tl-txt {
    font-size: 11.5px;
  }
}

/* ---- 出願・お問い合わせ（ネイビーの帯） ---- */
.fl-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 52px 40px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  text-align: center;
}

.fl-cta-ttl {
  font-size: 29px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.fl-cta-txt {
  font-size: 14px;
  line-height: 1.9;
}

.fl-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
}

.fl-cta-btns .btn {
  width: auto;
  min-height: 0;
  padding: 17px 40px;
  font-size: 15px;
  line-height: 1.4;
}

.fl-cta-btns .btn .icon {
  width: 20px;
  height: 20px;
}

/* 白い線のボタン（ネイビー地の上で使う） */
.btn.fl-btn-line {
  border-color: var(--cl-wh);
  background-color: transparent;
  color: var(--cl-wh);
}

@media (max-width: 768px) {
  .fl-cta {
    gap: 10px;
    padding: 36px 22px;
    border-radius: 16px;
  }

  .fl-cta-ttl {
    font-size: 20px;
    line-height: 1.6;
  }

  .fl-cta-txt {
    font-size: 12px;
  }

  .fl-cta-btns {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding-top: 14px;
  }

  .fl-cta-btns .btn {
    width: 100%;
    padding: 14px 22px;
    font-size: 13.5px;
  }
}


/* ==========================================================================
   78. CIECによる英語力アップサポート（abroad/preparation/english-support）

   見出しは共通パーツ（黄バーのH2＝.ttl-h2、青い縦バーのH3＝.ttl-h3）、
   目次は .anchor-list、履修者の声は .qa-list ＋ .js-acc（アコーディオン13）を使う。
   科目カード・イベントカード・案内枠・小さめボタンだけ .eu- 接頭辞で足している。
   デザイン（1440幅・コンテンツ1176px）の実測値をそのまま入れている。
   ========================================================================== */

/* ---- セクション内の縦間隔（H2 → H3のまとまり：56px／まとまりの中：32px） ---- */
.parts.eu-sec > * + * {
  margin-top: 56px;
}

.eu-sub > * + * {
  margin-top: 32px;
}

/* ---- 科目カード（留学のためのIELTS など） ---- */
.eu-course {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px 40px 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-lgy);
}

/* 先頭の丸（黄色＋ネイビーの縁）は装飾なので疑似要素で描く */
.eu-course-ttl {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--cl-bl);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.eu-course-ttl::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border: 3px solid var(--cl-bl);
  border-radius: 50%;
  background-color: var(--cl-yl);
  box-sizing: border-box;
}

/* レベル別の3枚 */
.eu-level-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.eu-level-list > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 24px 28px;
  border: 1px solid var(--cl-bdr);
  border-radius: 16px;
  background-color: var(--cl-wh);
}

.eu-level-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.eu-level-txt {
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* ---- 履修者の声（.qa-list の差分） ---- */
.eu-voice-list > li {
  padding: 24px 24px 24px 40px;
}

.eu-voice-face {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
}

.eu-voice-face img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eu-voice-list .qa-q .ttl {
  color: var(--cl-bk);
  letter-spacing: 0.04em;
}

.eu-voice-body {
  padding: 24px 0 16px;
}

.eu-voice-info {
  color: #545454;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.eu-voice-flex {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 24px;
}

.eu-voice-flex .txt {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.eu-voice-img {
  flex-shrink: 0;
  width: 240px;
}

.eu-voice-img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
}

/* ---- 小さめのボタン（文字数なりの幅） ---- */
.eu-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn.eu-btn {
  width: auto;
  min-height: 0;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

.btn.eu-btn.btn-wt {
  border-width: 1.5px;
}

.btn.eu-btn .icon {
  width: 18px;
  height: 18px;
}

/* 白抜きボタンのダウンロードアイコンはネイビー
.btn-wt .icon-dl {
  background-image: url(../img/common/download-bl.svg);
}

/* ---- 案内枠（なんでも相談＝水色／英語無料講座＝グレー＋枠線） ---- */
.eu-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 36px 40px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-lgy);
}

.eu-box.is-blue {
  border-color: transparent;
  background-color: var(--cl-pop-lbl);
}

/* ---- イベントカード（2枚並び） ---- */
.eu-event-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.eu-event-list > li {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 16px 32px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.eu-event-img img {
  display: block;
  width: 100%;
  height: 236px;
  border-radius: 16px;
  object-fit: cover;
}

.eu-event-body {
  padding: 0 8px;
}

.eu-event-ttl {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.eu-event-ttl::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 6px;
  height: 34px;
  border-radius: var(--rd-m);
  background-color: var(--cl-bl);
}

.eu-event-txt {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .parts.eu-sec {
    margin-top: 72px;
  }

  .parts.eu-sec > * + * {
    margin-top: 40px;
  }

  .eu-sub > * + * {
    margin-top: 24px;
  }

  .eu-course {
    gap: 16px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .eu-course-ttl {
    gap: 10px;
    font-size: 20px;
  }

  .eu-course-ttl::before {
    width: 10px;
    height: 10px;
    border-width: 2.5px;
  }

  .eu-course .txt {
    font-size: 15px;
  }

  .eu-level-list {
    grid-template-columns: 1fr;
  }

  .eu-level-list > li {
    gap: 10px;
    padding: 16px 16px 18px;
    border-radius: 12px;
  }

  .eu-level-label {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 14px;
  }

  .eu-level-txt {
    font-size: 15px;
  }

  .eu-voice-list > li {
    padding: 18px 20px;
    border-radius: 16px;
  }

  .eu-voice-list > li + li {
    margin-top: 12px;
  }

  .eu-voice-face {
    width: 44px;
    height: 44px;
  }

  .eu-voice-list .qa-q .ttl {
    font-size: 18px;
  }

  .eu-voice-list .qa-q .toggle {
    width: 40px;
    height: 40px;
  }

  .eu-voice-body {
    padding: 16px 0 0;
  }

  .eu-voice-info {
    font-size: 14px;
  }

  .eu-voice-flex {
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
  }

  .eu-voice-flex .txt {
    font-size: 15px;
  }

  .eu-voice-img {
    width: 100%;
  }

  .eu-voice-img img {
    aspect-ratio: auto;
    height: 240px;
    border-radius: 12px;
  }

  .eu-btns {
    flex-direction: column;
    gap: 12px;
  }

  .btn.eu-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }

  .eu-box {
    gap: 16px;
    padding: 24px 20px;
    border-radius: 16px;
  }

  .eu-box.is-blue .txt {
    font-size: 15px;
  }

  .eu-box .btn.eu-btn {
    width: 100%;
  }

  .eu-event-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .eu-event-list > li {
    gap: 18px;
    padding: 12px 12px 24px;
    border-radius: 16px;
  }

  .eu-event-img img {
    height: 200px;
    border-radius: 12px;
  }

  .eu-event-ttl {
    gap: 10px;
    font-size: 18px;
  }

  .eu-event-ttl::before {
    width: 5px;
    height: 28px;
  }

  .eu-event-txt {
    margin-top: 10px;
    font-size: 15px;
  }
}


/* ==========================================================================
   79. 学内国際交流ガイド（courses）

   見出しは共通パーツ（.ttl-h2）、目次は .anchor-list、ボタンは .btn を使う。
   このページ固有のもの（導線カード・カテゴリ枠・カード・吹き出し・
   チェックリスト・体験談導線・CTA）だけ .cx- 接頭辞で足している。
   ※ .ex- は既存で使用済みのため .cx- としている
   ========================================================================== */

/* ---- ページ冒頭のキャッチコピー ---- */
/* キャッチコピーは手書き文字なので画像（SVG）で置く */
.cx-lead .catch {
  max-width: 863px;
  margin: 0 auto;
}

.cx-lead .catch img {
  display: block;
  width: 100%;
  height: auto;
}

.cx-lead .txt {
  margin-top: 28px;
}

.cx-lead-em {
  color: var(--cl-bl);
  font-weight: 700;
}

/* ---- 導入下の導線（グローバルチャレンジ制度／診断） ---- */
.parts > .cx-feature-list {
  margin-top: 28px;
}

.cx-feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cx-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-pop-lbl);
}

.cx-feature-label {
  flex-shrink: 0;
  padding: 5px 12px 6px;
  border-radius: var(--rd-s);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cx-feature-ttl {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cx-feature-link {
  flex-shrink: 0;
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  white-space: nowrap;
}

.cx-feature-link:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .cx-lead .catch {
    margin: 0;
  }

  .cx-lead .txt {
    margin-top: 24px;
    font-size: 16px;
  }

  .parts > .cx-feature-list {
    margin-top: 24px;
  }

  .cx-feature-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cx-feature {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
    border-width: 2px;
    border-radius: 16px;
  }

  .cx-feature-label {
    padding: 4px 10px 5px;
  }

  .cx-feature-ttl {
    width: 100%;
  }
}

/* ---- 目次（番号つき・1行） ---- */
.cx-anchor a {
  min-height: 56px;
  font-size: 15px;
}

.cx-anchor-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cx-anchor-label .no {
  flex-shrink: 0;
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 16px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .cx-anchor a {
    min-height: 54px;
    font-size: 14px;
  }

  .cx-anchor-label {
    gap: 6px;
  }

  .cx-anchor-label .no {
    font-size: 15px;
  }
}

/* ---- カテゴリ（01〜04）の枠 ---- */
/* CMSでは1カテゴリ＝1ブロックで入れるので、間隔はパーツ側で持たせる */
.cx-cat {
  padding: 48px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-lgy);
}

.cx-cat > * + * {
  margin-top: 28px;
}

.cx-cat-head {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 黄色の番号バッジ */
.cx-cat-no {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
}

.cx-cat-ttl {
  min-width: 0;
}

.cx-cat-sub {
  color: var(--cl-link);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cx-cat-h {
  margin-top: 4px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.cx-cat-h .small {
  font-size: 20px;
}

@media (max-width: 768px) {
  .parts.cx-sec {
    margin-top: 24px;
  }

  .cx-cat {
    padding: 28px 16px;
    border-radius: 16px;
  }

  .cx-cat > * + * {
    margin-top: 20px;
  }

  .cx-cat-head {
    gap: 14px;
  }

  .cx-cat-no {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    font-size: 24px;
  }

  .cx-cat-sub {
    font-size: 13px;
  }

  .cx-cat-h {
    margin-top: 2px;
    font-size: 22px;
  }

  .cx-cat-h .small {
    display: block;
    font-size: 15px;
  }

  .cx-cat .txt {
    font-size: 15px;
  }
}

/* ---- カード ---- */
.cx-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cx-card-list.is-col2 {
  grid-template-columns: repeat(2, 1fr);
}

.cx-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.cx-card-body {
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
}

.cx-card-ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cx-card-txt {
  margin-top: 8px;
  color: var(--cl-gy);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* 横並び（本文の右下にボタン） */
.cx-card.is-row {
  flex-direction: row;
  gap: 16px;
}

/* 大きめのカード（中にリストを持つ） */
.cx-card.is-lg {
  gap: 16px;
  padding: 28px;
}

/* 小さい白抜きボタン（詳細・詳しく見る） */
.btn.cx-btn-s {
  flex-shrink: 0;
  width: auto;
  min-height: 0;
  padding: 8px 16px;
  border-width: 1px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0;
}

.btn.cx-btn-s .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .cx-card-list,
  .cx-card-list.is-col2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cx-card {
    flex-direction: row;
    gap: 16px;
    padding: 20px 16px 20px 20px;
  }

  .cx-card.is-row,
  .cx-card.is-lg {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .cx-card.is-lg {
    gap: 16px;
  }

  .btn.cx-btn-s {
    width: auto;
    min-height: 0;
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* ---- 吹き出し（融合科目） ---- */
.cx-balloon {
  margin-top: 14px;
  padding: 14px 18px;
  border: 2px solid var(--cl-yl);
  border-radius: 16px;
  background-color: #fffbd9;
}

.cx-balloon-ttl {
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.cx-balloon-txt {
  margin-top: 6px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .cx-balloon {
    margin-top: 12px;
    padding: 14px 16px;
  }

  .cx-balloon-ttl {
    font-size: 15px;
  }

  .cx-balloon-txt {
    font-size: 13px;
  }
}

/* ---- 魅力紹介 ---- */
.cx-point {
  padding: 28px;
  border-radius: var(--rd-l);
  background-color: var(--cl-pop-lbl);
}

.cx-point-ttl {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cx-point .cx-check-list {
  margin-top: 14px;
}

@media (max-width: 768px) {
  .cx-point {
    padding: 20px;
  }

  .cx-point-ttl {
    font-size: 18px;
  }
}

/* ---- チェックマークつきリスト ---- */
.cx-check-list > li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cx-check-list > li + li {
  margin-top: 14px;
}

.cx-check-list > li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

/* 水色の枠に入れて区切り線で並べる */
.cx-check-list.is-box {
  margin-top: 10px;
  padding: 8px 20px;
  border-radius: 12px;
  background-color: var(--cl-pop-lbl);
}

.cx-check-list.is-box > li {
  padding-block: 14px;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

.cx-check-list.is-box > li + li {
  margin-top: 0;
  border-top: 1px solid #d1e5f2;
}

/* 「など」 */
.cx-etc {
  color: #545454;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

p.cx-etc {
  margin-top: 10px;
  text-align: right;
}

span.cx-etc {
  margin-left: 1em;
}

@media (max-width: 768px) {
  .cx-check-list > li {
    letter-spacing: 0;
  }

  .cx-check-list.is-box {
    margin-top: 14px;
    padding: 8px 16px;
  }

  .cx-check-list.is-box > li {
    padding-block: 12px;
    font-size: 16px;
  }
}

/* ---- 留学生と生活（項目＋ボタン） ---- */
.cx-life-list {
  margin-top: 8px;
}

.cx-life-list > li {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  background-color: #f5f7fb;
}

.cx-life-list > li + li {
  margin-top: 12px;
}

.cx-life-body {
  flex: 1 1 auto;
  min-width: 0;
}

.cx-life-ttl {
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.cx-life-txt {
  margin-top: 4px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .cx-life-list > li {
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
  }

  .cx-life-list > li + li {
    margin-top: 10px;
  }

  .cx-life-body {
    width: 100%;
  }

  .cx-life-ttl {
    font-size: 16px;
  }

  .cx-life-txt {
    margin-top: 6px;
    font-size: 13px;
  }
}

/* ---- 幅なりのボタン（参加者の声） ---- */
.btn.cx-btn {
  gap: 10px;
  width: auto;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}

.btn.cx-btn .icon {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .btn.cx-btn {
    gap: 8px;
    width: 100%;
    min-height: 51px;
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* ---- 修了証プログラムへの導線 ---- */
.cx-plus-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px 14px 32px;
  border: 2px solid var(--cl-bl);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-weight: 700;
  letter-spacing: 0;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.25s ease-out,
    background-color 0.25s ease-out,
    border-color 0.25s ease-out;
}

.cx-plus-btn-txt {
  font-size: 20px;
  line-height: 1.4;
}

.cx-plus-btn-txt .sub {
  display: block;
  color: var(--cl-link);
  font-size: 13px;
  line-height: 1.5;
}

.cx-plus-btn .arw {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.cx-plus-btn:hover {
  transform: translateY(-3px);
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  box-shadow: 0 10px 18px -8px rgba(160, 150, 0, 0.55);
  opacity: 1;
}

.cx-plus-btn:hover .arw {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .cx-plus-btn {
    display: flex;
    justify-content: space-between;
    padding: 12px 24px;
  }

  .cx-plus-btn-txt {
    font-size: 17px;
  }

  .cx-plus-btn-txt .sub {
    font-size: 12px;
  }
}

/* ---- 先輩の体験談への導線 ---- */
.parts > .cx-voice-lead,
.parts > .cx-voice {
  margin-top: 32px;
}

.cx-voice {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 48px;
  border: 1px solid #cce5f7;
  border-radius: 24px;
  background-color: var(--cl-pop-lbl);
}

.cx-voice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--cl-yl);
}

.cx-voice-icon img {
  display: block;
  width: 48px;
  height: 48px;
}

.cx-voice-body {
  flex: 1 1 auto;
  min-width: 0;
}

.cx-voice-ttl {
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.cx-voice-txt {
  margin-top: 8px;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.cx-voice-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cx-voice-note {
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}

.cx-voice .btn.cx-btn {
  min-height: 55px;
  padding: 16px 32px;
}

@media (max-width: 768px) {
  .parts > .cx-voice-lead,
  .parts > .cx-voice {
    margin-top: 24px;
  }

  .cx-voice {
    flex-direction: column;
    gap: 16px;
    padding: 24px 20px;
  }

  .cx-voice-icon {
    width: 64px;
    height: 64px;
  }

  .cx-voice-icon img {
    width: 32px;
    height: 32px;
  }

  .cx-voice-body {
    text-align: center;
  }

  .cx-voice-ttl {
    font-size: 18px;
  }

  .cx-voice-txt {
    font-size: 14px;
  }

  .cx-voice-btn {
    align-self: stretch;
  }

  .cx-voice .btn.cx-btn {
    font-size: 16px;
  }
}

/* ---- もっと世界とつながりたくなったら（ネイビーの導線） ---- */
.cx-cta-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cx-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  /* 説明文が1行に収まるよう、左右の余白は詰めている（デザイン準拠） */
  padding: 48px 12px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  text-align: center;
}

.cx-cta-ttl {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.cx-cta-txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.btn.cx-btn-cta {
  width: auto;
  min-height: 56px;
  margin-top: 16px;
  padding: 16px 32px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

/* ネイビー地の上なので、ホバーは白地に反転させる */
.btn.cx-btn-cta:hover {
  border-color: var(--cl-wh);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
}

@media (max-width: 768px) {
  .cx-cta-list {
    grid-template-columns: 1fr;
  }

  .cx-cta {
    gap: 10px;
    padding: 32px 20px;
    border-radius: 16px;
  }

  .cx-cta-ttl {
    font-size: 22px;
  }

  .cx-cta-txt {
    font-size: 14px;
  }

  .btn.cx-btn-cta {
    width: auto;
    min-height: 48px;
    margin-top: 12px;
    padding: 12px 24px;
    font-size: 16px;
    line-height: 1.3;
  }
}


/* ==========================================================================
   80. 留学生と交流・サポート（courses/support）

   見出しは共通パーツ（黄色バーのH2＝.ttl-h2）、目次は .anchor-list、
   履修方法のSTEPは .step-list、動画は .movie、ボタンは .btn を流用。
   活動カード・科目カード・関連ページのカードだけ .ss- 接頭辞で足している。
   デザイン（1440幅・コンテンツ1176px）の実測値をそのまま入れている。

   期間ごとの色（ラベル・表の項目名・キャッチ）は、セクションに
   .is-blue / .is-pink / .is-orange / .is-purple を付けて切り替える。
   ========================================================================== */

/* ---- セクションの色（期間ごと） ---- */
.ss-sec,
.ss-sec.is-blue {
  --ss-c: #0096c6; /* 単発 */
}

.ss-sec.is-pink {
  --ss-c: #d6336c; /* 短期型 */
}

.ss-sec.is-orange {
  --ss-c: #e8590c; /* 中期型 */
}

.ss-sec.is-purple {
  --ss-c: #7048a8; /* 長期型 */
}

/* ---- 節の中の縦間隔 ---- */
.ss-sec > * + * {
  margin-top: 32px;
}

/* ---- 導入（リード見出し＋本文） ---- */
.ss-intro > * + * {
  margin-top: 20px;
}

.ss-intro-ttl {
  color: var(--cl-bl);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
}

.ss-intro .txt {
  line-height: 1.8;
}

/* ---- 目次：デザインの行間（縦20px／横24px） ---- */
.ss-anchor {
  row-gap: 20px;
}

/* ---- 節のリード文 ---- */
.ss-lead {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

/* ---- 期間ラベル（色つきのピル） ---- */
.ss-period {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--rd-pill);
  background-color: var(--ss-c);
  color: var(--cl-wh);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

/* ---- 活動カード（左：説明／右：写真2枚） ---- */
.ss-card-list > li + li {
  margin-top: 32px;
}

.ss-card {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px;
  border: 1px solid #e3e6ec;
  border-radius: 16px;
  background-color: var(--cl-wh);
}

.ss-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.ss-card-imgs {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 12px;
  width: 320px;
}

.ss-card-imgs img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 200;
  border-radius: 8px;
  object-fit: cover;
}

.ss-card-catch {
  color: var(--ss-c);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.ss-card-ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.ss-card-txt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

/* 赤字の注記 */
.ss-note {
  color: #c62828;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

/* ---- 活動の概要表（項目名＋内容） ---- */
.ss-spec {
  width: 100%;
  border: 1px solid #e3e6ec;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
}

.ss-spec th,
.ss-spec td {
  padding: 12px 16px;
  border-bottom: 1px solid #e3e6ec;
  text-align: left;
  vertical-align: top;
}

.ss-spec tr:last-child th,
.ss-spec tr:last-child td {
  border-bottom: none;
}

.ss-spec th {
  width: 180px;
  background-color: #f5f7fb;
  color: var(--ss-c);
  font-weight: 700;
}

.ss-spec td {
  background-color: var(--cl-wh);
  font-weight: 500;
}

/* ---- 「→ こちら」リンク ---- */
.ss-links > li + li {
  margin-top: 8px;
}

.ss-link {
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ss-link .icon-ext,
.ss-btn-s .icon-ext {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  background: url(../img/common/ext-link.svg) no-repeat center / contain;
  vertical-align: -1px;
}

/* ---- 小さめのボタン（白地・ネイビー枠） ---- */
.ss-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ss-btn-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out,
    border-color 0.25s ease-out;
}

.ss-btn-s .icon-ext {
  margin-left: 0;
}

.ss-btn-s .arw {
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ss-btn-s:hover {
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
  transform: translateY(-2px);
  opacity: 1;
}

.ss-btn-s:hover .arw {
  transform: translateX(4px);
}

/* ---- ボタン（.btn の小さめ版：幅は文字なり） ---- */
.btn.ss-btn {
  width: auto;
  min-height: 0;
  padding: 14px 28px;
  font-size: 15px;
  line-height: 1.5;
}

.btn.ss-btn .icon-ext {
  width: 16px;
  height: 16px;
}

.btn.ss-btn.is-orange {
  border-color: #e8590c;
  background-color: #e8590c;
}

.btn.ss-btn.is-orange:hover {
  border-color: var(--cl-yl);
  background-color: var(--cl-yl);
}

/* PDFボタン＋更新日 */
.ss-pdf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.ss-pdf-date {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

/* ---- 小見出し（青い縦バー・22px） ---- */
.ss-h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.ss-h3::before {
  content: "";
  display: block;
  flex-shrink: 0;
  align-self: flex-start;
  width: 6px;
  height: 28px;
  margin-top: 0.25em;
  border-radius: 3px;
  background-color: var(--cl-bl);
}

/* ---- 履修方法（A／B／C の枠） ---- */
.ss-method {
  padding: 32px;
  border-radius: 16px;
  background-color: #f5f7fb;
}

.ss-method > * + * {
  margin-top: 28px;
}

.ss-tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

/* .step-list を枠の中で使うため、行の背景・余白を外す */
.ss-steps > li {
  padding: 0;
  border-radius: 0;
  background-color: transparent;
}

.ss-steps > li + li {
  margin-top: 28px;
}

.ss-steps .no {
  width: auto;
  min-height: 0;
  padding: 6px 10px;
  border-radius: 8px;
}

.ss-steps .no.has-label {
  min-height: 0;
}

.ss-steps .no .label {
  font-family: var(--ff-base);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.ss-steps .no .num {
  font-size: 16px;
  line-height: 1.2;
}

.ss-steps .step-ttl {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.6;
}

.ss-steps .step-body > * + * {
  margin-top: 14px;
}

.ss-method .ss-note {
  font-size: 14px;
  line-height: 1.7;
}

/* ---- スコア・申込期間の表（見出し行つき・中央揃え） ---- */
.ss-tbl {
  width: 100%;
  border: 1px solid var(--cl-bdr);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  table-layout: fixed;
  font-size: 15px;
  line-height: 1.6;
}

.ss-tbl th,
.ss-tbl td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--cl-bdr);
  border-left: 1px solid var(--cl-bdr);
  text-align: center;
  vertical-align: middle;
}

.ss-tbl th:first-child,
.ss-tbl td:first-child {
  border-left: none;
}

.ss-tbl tbody tr:last-child td {
  border-bottom: none;
}

.ss-tbl th {
  background-color: var(--cl-pop-lbl);
  color: var(--cl-bl);
  font-weight: 700;
}

.ss-tbl td {
  background-color: var(--cl-wh);
  font-weight: 500;
}

.ss-tbl td.is-bold {
  font-weight: 700;
}

/* ---- お問い合わせ ---- */
.ss-contact {
  padding: 28px 32px;
  border: 1px solid var(--cl-bl);
  border-radius: 16px;
  background-color: var(--cl-wh);
}

.ss-contact-ttl {
  color: var(--cl-bl);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.ss-contact-txt {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

/* ---- 提供科目紹介（i〜v の枠） ---- */
.ss-course-list > li + li {
  margin-top: 32px;
}

.ss-course {
  padding: 32px;
  border: 1px solid #e3e6ec;
  border-radius: 16px;
  background-color: var(--cl-wh);
}

.ss-course > * + * {
  margin-top: 16px;
}

.ss-sub {
  color: var(--ss-c);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.ss-course-imgs {
  display: flex;
  gap: 16px;
}

.ss-course-imgs img {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  aspect-ratio: 547 / 240;
  border-radius: 8px;
  object-fit: cover;
}

.movie.ss-movie {
  max-width: 640px;
  border-radius: 23px;
}

/* ---- 融合科目を選ぶ（4列のカード） ---- */
.ss-subj-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ss-subj {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 238px;
  padding: 24px 20px 20px;
  border: 1px solid #e3e6ec;
  border-radius: 16px;
  background-color: var(--cl-wh);
  letter-spacing: 0; /* 「KGU Summer / Winter School」を1行に収める */
}

.ss-subj-cat {
  color: var(--cl-link);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.ss-subj-ttl {
  color: var(--cl-bl);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.ss-subj-txt {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.ss-subj-btn {
  margin-top: auto;
  text-align: right;
}

.ss-subj-btn .ss-btn-s {
  padding: 6px 14px;
}

/* ---- 関連ページ（ネイビーのカード3枚） ---- */
.ss-rel-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ss-rel-list > li {
  display: flex;
}

.ss-rel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-height: 191px;
  padding: 28px;
  border-radius: 16px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.25s ease-out;
}

.ss-rel:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px -8px rgba(30, 60, 145, 0.5);
  opacity: 1;
}

.ss-rel-ttl {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.ss-rel-txt {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.ss-rel-more {
  margin-top: auto;
  color: #ffe600;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 768px) {
  .ss-sec > * + * {
    margin-top: 24px;
  }

  .ss-intro > * + * {
    margin-top: 16px;
  }

  .ss-intro-ttl {
    font-size: 22px;
  }

  .ss-period {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* 活動カード：写真を下に回して2枚横並び */
  .ss-card-list > li + li {
    margin-top: 20px;
  }

  .ss-card {
    flex-direction: column;
    gap: 20px;
    padding: 20px 16px;
  }

  .ss-card-body {
    width: 100%;
  }

  .ss-card-imgs {
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .ss-card-imgs img {
    flex: 1 1 0;
    min-width: 0;
  }

  .ss-card-ttl {
    font-size: 20px;
  }

  .ss-spec {
    font-size: 13px;
  }

  .ss-spec th,
  .ss-spec td {
    padding: 10px 12px;
  }

  .ss-spec th {
    width: 104px;
  }

  .ss-link {
    font-size: 14px;
  }

  .btn.ss-btn {
    width: 100%;
    padding: 14px 24px;
  }

  .ss-pdf {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .ss-h3 {
    font-size: 18px;
  }

  .ss-h3::before {
    height: 24px;
    margin-top: 0.15em;
  }

  .ss-method {
    padding: 20px 16px;
  }

  .ss-method > * + * {
    margin-top: 20px;
  }

  .ss-tag {
    padding: 6px 16px;
    font-size: 14px;
  }

  .ss-steps > li {
    gap: 12px;
    padding: 0;
  }

  .ss-steps > li + li {
    margin-top: 24px;
  }

  .ss-steps .step-ttl {
    font-size: 16px;
  }

  /* 表は表組みのまま横スクロール（.tbl-scroll） */
  .ss-tbl {
    width: auto;
    min-width: 100%;
    table-layout: auto;
    font-size: 14px;
  }

  .ss-tbl th,
  .ss-tbl td {
    padding: 10px 12px;
    white-space: nowrap;
  }

  .ss-contact {
    padding: 20px 16px;
  }

  .ss-contact-ttl {
    font-size: 16px;
  }

  .ss-contact-txt {
    font-size: 14px;
  }

  .ss-course-list > li + li {
    margin-top: 20px;
  }

  .ss-course {
    padding: 20px 16px;
  }

  .ss-sub {
    font-size: 15px;
  }

  .ss-course-imgs {
    gap: 8px;
  }

  .movie.ss-movie {
    border-radius: var(--rd-m);
  }

  .ss-subj-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ss-subj {
    min-height: 0;
    padding: 20px 16px 16px;
  }

  .ss-rel-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ss-rel {
    min-height: 0;
    padding: 24px 20px;
  }

  .ss-rel-ttl {
    font-size: 17px;
  }
}

/* ==========================================================================
   WIP：style.css へ統合予定（統合時はこのファイルの中身を style.css 末尾へ追記し、
   各ページの <link ... _wip_css/sk.css> を削除してください）
   url() は cms/ciec/css/ 内にある前提の相対パスで書いています。
   ========================================================================== */

/* ==========================================================================
   81. Study Abroad at KGU 共通（.sk-）
   study/ 配下の「Study Abroad at KGU」系11ページ（Exchange Program・
   Student Life・KGU Short Programs など）で共有するパーツ。
   ページ固有の差分は各ページ用の章（例：86章 .sl-）に書くこと。

   81-1. H1帯（アイブロウ付き）            .page-ttl.sk-hero
   81-2. 2カラムレイアウト                  .sk-layout > .sk-side / .sk-main
   81-3. PC サイドナビ                      .sk-back / .sk-navcard
   81-4. SP ページナビ（本文の先頭）         .sk-spnav
   81-5. SP 関連ページカード（本文の末尾）    .sk-related
   81-6. アンカーリンク（3列・番号付き）      .anchor-list.sk-anchor
   81-7. セクション見出し・本文              .sk-sec / .sk-sec-head / .sk-h3
   81-8. STEP ブロック                      .sk-step
   81-9. 枠（グレー／注意）・黄色ドットリスト .sk-box / .sk-dot-list
   81-10. 画像・ボタン並び                  .sk-img / .sk-btn-row
   81-11. 連絡先カード                      .sk-contact-list / .sk-contact
   81-12. EMERGENCY CONTACT（ボタン＋展開パネル） .sk-emg
   ========================================================================== */

/* --------------------------------------------------------------------------
   81-1. H1帯（アイブロウ付き）
   既存の .page-ttl に .sk-hero を足して使う。
   <p class="sk-hero-eyebrow"> … H1 の上の小さな青文字（無ければ省略可）
   <p class="sk-hero-sub">     … H1 の下の補足（KGU Short Programs 系で使用。無ければ省略可）
   -------------------------------------------------------------------------- */
.page-ttl.sk-hero .page-ttl-inner {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 40px;
}

.page-ttl.sk-hero h1 {
  font-size: 50px;
  line-height: 1.4;
}

.sk-hero-eyebrow {
  margin-bottom: 6px;
  color: var(--cl-link);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.sk-hero-sub {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

@media (max-width: 768px) {
  .page-ttl.sk-hero .page-ttl-inner {
    min-height: 0;
    padding: 30px 16px;
  }

  .page-ttl.sk-hero h1 {
    font-size: 28px;
    line-height: 1.5;
  }

  .sk-hero-eyebrow {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .sk-hero-sub {
    margin-top: 6px;
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   81-2. 2カラムレイアウト（左：サイドナビ 264px ／ 右：本文 886px @1440）
   .sk-main の直下に forcms_block を並べる。ブロック間は 96px（SP 28px）。
   flex の gap で空けているので、.pc-only / .sp-only で非表示にした
   ブロックがあっても余白が二重になりません。
   -------------------------------------------------------------------------- */
.sk-layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 72px;
}

.sk-main {
  display: flex;
  flex-direction: column;
  gap: 96px;
  min-width: 0;
}

/* 左カラム：スクロールに追従（ヘッダーが再表示されても隠れない位置で止める） */
.sk-side {
  position: sticky;
  top: calc(var(--hd-h) + 16px);
  max-height: calc(100vh - var(--hd-h) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .sk-layout {
    display: block;
    margin-top: 40px;
  }

  .sk-main {
    gap: 28px;
  }

  .sk-side {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   81-3. PC サイドナビ
   .sk-back      … 「← Study Abroad at KGU」の戻るリンク
   .sk-navcard   … 角丸カード。見出し（.sk-navcard-head）＋リスト（.sk-navcard-list）
     .is-other   … 「Other Programs」カード（見出し下の線がグレー1px）
   リスト項目 li の種類（修飾クラス）
     （なし）      … 通常リンク（.ttl ＋ 任意で .sub の灰色サブテキスト）
     .is-current  … 現在ページ（水色背景＋青文字）
     .is-heading  … リンクなしの見出し（例：Student Life & After KGU を展開表示するとき）
     .is-group    … グループラベル（Student Life / After KGU：青い短いバー付き）
     .is-child    … 子項目（字下げ・14px）
   -------------------------------------------------------------------------- */
/* .sk-sidenav … 戻るリンク＋カード群のラッパー（間隔 24px） */
.sk-sidenav > * + * {
  margin-top: 24px;
}

.sk-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-back::before {
  content: "←";
}

.sk-navcard {
  overflow: hidden;
  border: 1px solid var(--cl-bl);
  border-radius: var(--rd-l);
  background-color: var(--cl-wh);
}

.sk-navcard-head {
  padding: 24px 16px;
  border-bottom: 2px solid var(--cl-bl);
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
}

.sk-navcard-head .sub {
  display: block;
  margin-top: 2px;
  color: var(--cl-gy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.sk-navcard.is-other .sk-navcard-head {
  border-bottom: 1px solid var(--cl-bdr);
}

.sk-navcard-list > li + li {
  border-top: 1px solid var(--cl-bdr);
}

/* グループラベルの直後には線を引かない */
.sk-navcard-list > .is-group + li {
  border-top: none;
}

.sk-navcard-list a,
.sk-navcard-list .is-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #111;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-navcard-list a::after {
  content: "→";
  flex-shrink: 0;
  margin-left: auto;
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.sk-navcard-list a:hover {
  background-color: var(--cl-pop-lbl);
  opacity: 1;
}

.sk-navcard-list a:hover::after {
  transform: translateX(4px);
}

.sk-navcard-list .txt-area {
  flex: 1 1 auto;
  min-width: 0;
}

.sk-navcard-list .ttl {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.sk-navcard-list .sub {
  display: block;
  margin-top: 2px;
  color: var(--cl-gy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

/* 現在ページ */
.sk-navcard-list .is-current > a {
  background-color: var(--cl-pop-lbl);
}

.sk-navcard-list .is-current .ttl {
  color: var(--cl-bl);
}

/* グループラベル（Student Life / After KGU） */
.sk-navcard-list .is-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 6px 28px;
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.sk-navcard-list .is-group::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 14px;
  background-color: var(--cl-bl);
}

/* 子項目 */
.sk-navcard-list .is-child > a {
  padding: 10px 16px 10px 28px;
}

.sk-navcard-list .is-child > a::after {
  font-size: 13px;
}

.sk-navcard-list .is-child .ttl {
  font-size: 14px;
  font-weight: 500;
}

/* 現在ページの子項目は太字にせず色だけ変える（Figma どおり） */
.sk-navcard-list .is-child.is-current .ttl {
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   81-4. SP ページナビ（本文の先頭に置く・SPのみ）
   .sk-spnav-label … 小見出し（例：Exchange Program）
   .sk-spnav-pills … 横スクロールのピル（現在地は .is-current）
   .sk-spnav-seg   … 2分割のセグメントタブ（現在地は .is-current）
   .sk-spnav-hint  … 「Scroll sideways to see more →」
   -------------------------------------------------------------------------- */
.sk-spnav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background-color: #f5f7fb;
}

.sk-spnav-label {
  color: var(--cl-gy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.sk-spnav-pills {
  display: flex;
  gap: 8px;
  margin-inline: -14px;
  padding-inline: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sk-spnav-pills::-webkit-scrollbar {
  display: none;
}

.sk-spnav-pills > li {
  flex-shrink: 0;
}

.sk-spnav-pills a {
  display: block;
  padding: 10px 16px;
  border: 1px solid #d1d1d6;
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}

.sk-spnav-pills .is-current a {
  border-color: var(--cl-bl);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.sk-spnav-seg {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--cl-bl);
  border-radius: 8px;
}

.sk-spnav-seg > li {
  flex: 1 1 0;
}

.sk-spnav-seg a {
  display: block;
  padding: 10px 8px;
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
}

.sk-spnav-seg .is-current a {
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.sk-spnav-hint {
  color: var(--cl-gy);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: right;
}

/* 子ページの行（Student Life の7項目など）：上のピル・タブより控えめなテキストリンク型
   ul.sk-spnav-pills に .is-sub を付ける。現在ページは紺の太字＋下線 */
.sk-spnav-pills.is-sub {
  gap: 0;
  margin-top: -4px;
  border-bottom: 1px solid #dcdfe6;
}

.sk-spnav-pills.is-sub a {
  position: relative;
  padding: 10px 12px 11px;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: #555;
  font-size: 12px;
  font-weight: 500;
}

/* 項目間の区切り線 */
.sk-spnav-pills.is-sub > li + li a::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 12px;
  margin-top: -6px;
  background-color: #d1d1d6;
  content: "";
}

.sk-spnav-pills.is-sub .is-current a {
  border: 0;
  background-color: transparent;
  color: var(--cl-bl);
  font-weight: 700;
}

.sk-spnav-pills.is-sub .is-current a::after {
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 2px;
  background-color: var(--cl-bl);
  content: "";
}

/* --------------------------------------------------------------------------
   81-5. SP 関連ページカード（本文の末尾に置く・SPのみ）
   PC サイドナビと同じリンクを SP 向けの見た目で出す。
   リスト項目 li の種類は PC と同じ考え方：
     （なし）／.is-current／.is-heading／.is-group／.is-child
   -------------------------------------------------------------------------- */
.sk-related-label {
  margin-bottom: 12px;
  color: var(--cl-gy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-related-card {
  overflow: hidden;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  background-color: var(--cl-wh);
}

.sk-related-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: var(--cl-bl);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-related-back::before {
  content: "←";
  flex-shrink: 0;
  width: 12px;
}

.sk-related-prog {
  padding: 16px;
  border-top: 1px solid #e3e6ec;
  background-color: var(--cl-bg);
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-related-list > li {
  border-top: 1px solid #e3e6ec;
}

.sk-related-list a,
.sk-related-list .is-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  color: #111;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

/* 通常項目は右端に › */
.sk-related-list > li:not(.is-child) > a::after {
  content: "›";
  flex-shrink: 0;
  margin-left: auto;
  color: var(--cl-gy);
  font-size: 12px;
}

.sk-related-list .txt-area {
  flex: 1 1 auto;
  min-width: 0;
}

.sk-related-list .ttl {
  display: block;
}

.sk-related-list .sub {
  display: block;
  margin-top: 2px;
  color: var(--cl-gy);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.sk-related-list .is-heading .ttl {
  font-weight: 700;
}

.sk-related-list > .is-current:not(.is-child) > a {
  background-color: var(--cl-pop-lbl);
}

.sk-related-list > .is-current:not(.is-child) .ttl {
  color: var(--cl-bl);
  font-weight: 700;
}

/* グループラベル・子項目は薄いグレー地 */
.sk-related-list .is-group,
.sk-related-list .is-child {
  background-color: #fafafb;
}

.sk-related-list .is-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 6px 26px;
  color: var(--cl-bl);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.sk-related-list .is-group::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  height: 12px;
  background-color: var(--cl-bl);
}

/* 子項目は左に › */
.sk-related-list .is-child > a {
  align-items: flex-start;
  padding: 10px 16px 10px 26px;
  font-size: 12px;
}

.sk-related-list .is-child > a::before {
  content: "›";
  flex-shrink: 0;
  width: 5px;
  color: var(--cl-gy);
  font-size: 11px;
}

.sk-related-list .is-child .sub {
  font-size: 11px;
}

.sk-related-list .is-child.is-current .ttl {
  color: var(--cl-bl);
  font-weight: 700;
}

.sk-related-other {
  padding: 16px;
  border-top: 1px solid #e3e6ec;
}

.sk-related-other-ttl {
  color: var(--cl-gy);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-related-other ul {
  margin-top: 10px;
}

.sk-related-other li + li {
  margin-top: 10px;
}

.sk-related-other a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--cl-bl);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-related-other a::after {
  content: "→";
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   81-6. アンカーリンク（3列・番号付き）
   既存の .anchor-list（12章）に .sk-anchor を足す。番号は <span class="no">01</span>。
   -------------------------------------------------------------------------- */
.anchor-list.sk-anchor {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.anchor-list.sk-anchor .label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.anchor-list.sk-anchor .no {
  flex-shrink: 0;
  width: 20px;
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .anchor-list.sk-anchor {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .anchor-list.sk-anchor a {
    align-items: flex-start;
    gap: 6px;
    min-height: 63px;
    font-size: 13px;
  }

  .anchor-list.sk-anchor .label {
    align-items: flex-start;
    gap: 8px;
  }

  .anchor-list.sk-anchor .no {
    width: auto;
    font-size: 13px;
    line-height: 1.3;
  }
}

/* --------------------------------------------------------------------------
   81-7. セクション（1つの H2 ＝ 1 forcms_block）
   .sk-sec          … セクション本体（子要素の縦間隔 32px／SP 20px）
   .sk-sec-head     … 小さな英字アイブロウ（.sk-sec-en）＋ H2（.sk-sec-ttl）
   .sk-h3           … 小見出し（既存 .ttl-h3 と同じ青バー。.ttl-h3 をそのまま使ってもよい）
   本文は既存の .txt（SP は 15px に詰める）
   -------------------------------------------------------------------------- */
.sk-sec > * + * {
  margin-top: 32px;
}

.sk-sec-head > * + * {
  margin-top: 8px;
}

.sk-sec-en {
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.sk-sec-ttl {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-1);
}

.sk-main .txt a {
  color: var(--cl-link);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .sk-sec > * + * {
    margin-top: 20px;
  }

  .sk-sec-en {
    font-size: 12px;
  }

  .sk-sec-ttl {
    font-size: 24px;
    line-height: 1.5;
  }

  .sk-main .txt {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   81-8. STEP ブロック
   PC：左に黄色の STEP バッジ＋右に見出し（32px）と本文
   SP：バッジを隠し、見出しを青バー付き「Step 1 — 〇〇」に切り替える
       （.sk-step-sp の中身が SP だけ見出しの頭に出る）
   -------------------------------------------------------------------------- */
.sk-sec > * + .sk-step {
  margin-top: 40px;
}

.sk-step {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.sk-step-no {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 64px;
  height: 72px;
  border-radius: var(--rd-m);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.sk-step-no .label {
  font-size: 16px;
}

.sk-step-no .num {
  margin-top: 2px;
  font-size: 32px;
}

.sk-step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.sk-step-body > * + * {
  margin-top: 24px;
}

.sk-step-ttl {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-1);
}

.sk-step-sp {
  display: none;
}

@media (max-width: 768px) {
  .sk-sec > * + .sk-step {
    margin-top: 20px;
  }

  .sk-step {
    display: block;
  }

  .sk-step-no {
    display: none;
  }

  .sk-step-body > * + * {
    margin-top: 20px;
  }

  /* 見出しを .ttl-h3 と同じ青バー型に */
  .sk-step-ttl {
    display: flex;
    align-items: center;
    font-size: 22px;
  }

  .sk-step-ttl::before {
    content: "";
    display: block;
    flex-shrink: 0;
    align-self: stretch;
    width: 8px;
    min-height: 48px;
    margin-right: 16px;
    border-radius: var(--rd-m);
    background-color: var(--cl-bl);
  }

  .sk-step-sp {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   81-9. 枠・黄色ドットリスト
   .sk-box          … グレー地・角丸16px（リード文の要点／「Bring with you:」など）
     .is-lead       … ページ冒頭の要点まとめ（余白広め）
     .is-note       … 注意（薄い黄色地＋黄色の枠）
   .sk-box-ttl      … 枠内の小見出し（青・太字）
   .sk-dot-list     … 黄色い丸の箇条書き
   -------------------------------------------------------------------------- */
.sk-box {
  padding: 24px 32px;
  border-radius: 16px;
  background-color: var(--cl-bg);
}

.sk-box > * + * {
  margin-top: 12px;
}

.sk-box.is-lead {
  padding: 32px 40px;
}

.sk-box.is-note {
  border: 2px solid var(--cl-yl);
  background-color: #fffbe6;
}

.sk-box.is-note > * + * {
  margin-top: 8px;
}

.sk-box-ttl {
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-dot-list > li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.sk-dot-list > li + li {
  margin-top: 12px;
}

.sk-dot-list > li::before {
  content: "";
  position: absolute;
  top: calc((1.7em - 10px) / 2);
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--cl-yl);
}

@media (max-width: 768px) {
  .sk-box,
  .sk-box.is-lead {
    padding: 24px 20px;
  }

  .sk-box.is-lead {
    padding-block: 20px;
  }

  .sk-box-ttl {
    font-size: 14px;
  }

  .sk-dot-list > li {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   81-10. 画像・ボタン並び
   .sk-img      … 本文幅いっぱいの画像（角丸16px）。<img> に width/height を必ず入れる
   .sk-btn-row  … 既存 .btn（.btn-wt）を右寄せで並べる。SP は縦積み全幅
   -------------------------------------------------------------------------- */
.sk-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.sk-btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.sk-btn-row .btn {
  width: auto;
}

@media (max-width: 768px) {
  .sk-img img {
    aspect-ratio: 366 / 132;
  }

  .sk-btn-row {
    flex-direction: column;
  }

  .sk-btn-row .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   81-11. 連絡先カード（2列）
   .sk-contact-list > li.sk-contact
     .sk-contact-ttl … カード見出し（青）
     dl.sk-contact-row（dt 項目名 150px ＋ dd 内容）を行の数だけ並べる
   -------------------------------------------------------------------------- */
.sk-contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.sk-contact {
  padding: 32px;
  border: 1px solid #e3e6ec;
  border-radius: 16px;
  background-color: var(--cl-wh);
}

.sk-contact > * + * {
  margin-top: 16px;
}

.sk-contact-ttl {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-contact-row {
  display: flex;
  gap: 12px;
}

.sk-contact-row dt {
  flex-shrink: 0;
  width: 150px;
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
}

.sk-contact-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .sk-contact-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sk-contact {
    padding: 20px;
  }

  .sk-contact > * + * {
    margin-top: 12px;
  }

  .sk-contact-ttl {
    font-size: 16px;
  }

  .sk-contact-row {
    flex-direction: column;
  }

  .sk-contact-row dt {
    width: auto;
    font-size: 13px;
  }

  .sk-contact-row dd {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   81-12. EMERGENCY CONTACT（ボタン＋展開パネル）
   .sk-emg                … 外枠（position: relative。パネルはこの右下に開く）
   .sk-emg-status         … 赤い枠のステータス帯（●EMERGENCY CONTACT ＋ ボタン）
   .sk-emg-btn.js-emg-toggle … 開閉ボタン（aria-controls でパネルの id を指す）
   .sk-emg-panel          … 展開パネル（開くと .is-open）
     .sk-emg-head／.sk-emg-tabs（.js-emg-jump：パネル内の該当グループへスクロール）／.sk-emg-body
     .sk-emg-group        … 「During Business Hours」などの区切り
     .sk-emg-card         … 連絡先1件（.sk-emg-ic.is-info＝青 ⓘ／.is-tel＝オレンジ ☎）
   開閉の JS はページ末尾の <script>（SHARED_PARTS.md 参照）
   -------------------------------------------------------------------------- */
.sk-emg {
  position: relative;
}

.sk-emg-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 16px;
  border: 1px solid #e8c4c2;
  border-radius: 8px;
  background-color: #fdf2f2;
}

.sk-emg-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b32320;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}

.sk-emg-label::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #b32320;
}

.sk-emg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #b32320;
  background-color: var(--cl-wh);
  color: #b32320;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    background-color 0.25s ease-out,
    color 0.25s ease-out;
}

.sk-emg-btn .arw {
  font-size: 11px;
  font-weight: 500;
  transition: transform 0.25s ease-out;
}

.sk-emg-btn:hover,
.sk-emg-btn[aria-expanded="true"] {
  background-color: #b32320;
  color: var(--cl-wh);
}

.sk-emg-btn[aria-expanded="true"] .arw {
  transform: rotate(180deg);
}

/* 展開パネル */
.sk-emg-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  flex-direction: column;
  width: 520px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - var(--hd-h) - 120px);
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: 16px;
  background-color: var(--cl-wh);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.sk-emg-panel.is-open {
  display: flex;
  animation: sk-emg-in 0.25s ease-out;
}

@keyframes sk-emg-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.sk-emg-head {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid #e3e6ec;
}

.sk-emg-head-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: #fdecec;
  color: #c62828;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.sk-emg-head-ttl {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--cl-bl);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-emg-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: #555;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.sk-emg-close:hover {
  color: var(--cl-bl);
}

.sk-emg-tabs {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 8px;
  padding: 14px 24px;
  background-color: #f5f7fb;
}

.sk-emg-tabs button {
  padding: 6px 14px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  transition:
    background-color 0.25s ease-out,
    border-color 0.25s ease-out;
}

.sk-emg-tabs button:hover {
  border-color: var(--cl-bl);
  background-color: var(--cl-pop-lbl);
}

.sk-emg-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 24px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sk-emg-body > * + * {
  margin-top: 12px;
}

.sk-emg-group {
  color: #555;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-emg-card {
  padding: 16px 18px;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  background-color: var(--cl-wh);
}

.sk-emg-card-ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.sk-emg-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.sk-emg-ic.is-info {
  background-color: #eaf1ff;
  color: var(--cl-bl);
}

.sk-emg-ic.is-tel {
  background-color: #fff4e0;
  color: #e8590c;
}

.sk-emg-info > li {
  color: #333;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.sk-emg-info > li + li {
  margin-top: 8px;
}

.sk-emg-info > li::before {
  content: "・";
}

.sk-emg-info a {
  color: var(--cl-bl);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .sk-emg-panel {
    position: fixed;
    top: calc(var(--hd-h) + 8px);
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    max-height: calc(100vh - var(--hd-h) - 24px);
  }

  .sk-emg-head,
  .sk-emg-tabs {
    padding-inline: 16px;
  }

  .sk-emg-body {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-emg-panel.is-open {
    animation: none;
  }
}

/* ==========================================================================
   WIP：style.css へ統合予定（統合時はこのファイルの中身を style.css 末尾へ追記し、
   ページの <link ... _wip_css/ij.css> を削除してください）
   url() は cms/ciec/css/ 内にある前提の相対パスで書いています。
   ========================================================================== */

/* ==========================================================================
   82. Intensive Japanese Language & Culture（study/shortprograms）（.ij-）
   81章（.sk-）の2カラム・サイドナビ・セクションを土台に、このページ固有の
   パーツを定義する。

   82-1. ページ全体の調整（H1帯の補足・ブロック間隔・セクション）
   82-2. 共通の小パーツ（小見出し・本文・注記・横スクロール・PDFボタン・画像）
   82-3. 短期プログラム一覧（表）          .ij-proglist / .ij-ptbl / .ij-chip
   82-4. アンカーリンク（4列）             .anchor-list.sk-anchor.ij-anchor
   82-5. 01 About                          .ij-about / .ij-keychips
   82-6. 02 At a Glance（概要表）           .ij-glance
   82-7. 03 Program Highlights             .ij-hl
   82-8. 04 Curriculum & Levels            .ij-levels / .ij-courses
   82-9. 05 Courses & Syllabus             .ij-cgrid
   82-10. 06 Sample Schedule（時間割）      .ij-tt
   82-11. 07 Dates & Fees                  .ij-terms / .ij-fees
   82-12. 08 Housing & Expenses            .ij-acc / .ij-living
   82-13. 09 How to Apply                  .ij-steps
   82-14. 10 FAQ（既存 .qa-list の調整）     .qa-list.ij-faq
   82-15. 11 Download Brochure             .ij-brochure
   82-16. お問い合わせ CTA                 .ij-cta
   82-17. SP 関連ページ                    .ij-related
   ========================================================================== */

/* --------------------------------------------------------------------------
   82-1. ページ全体の調整
   -------------------------------------------------------------------------- */
/* H1 下の補足（Figma：18px／#333） */
.ij-hero .sk-hero-sub {
  color: #333;
  font-size: 18px;
}

/* ブロック間隔（Figma：PC 30px／SP 32px） */
.sk-main.ij-main {
  gap: 30px;
}

/* セクション：見出しと本文の間隔 40px（SP 24px） */
.sk-sec.ij-sec > * + * {
  margin-top: 40px;
}

/* H2 下の日本語サブ見出し */
.ij-sec-sub {
  color: #555;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .ij-hero .sk-hero-sub {
    font-size: 13px;
  }

  .sk-main.ij-main {
    gap: 32px;
  }

  .sk-sec.ij-sec > * + * {
    margin-top: 24px;
  }

  .ij-sec-sub {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   82-2. 共通の小パーツ
   .ij-subttl      … 青い小見出し（22px）。.is-line で下に青線
   .ij-group       … 小見出し＋本文のまとまり（子の間隔 16px）
   .ij-txt / .ij-txt-ja … 本文 16px／日本語の補足 14px グレー
   .ij-fnote       … 注記 13px グレー（.is-md で 14px）
   .ij-note        … 表下の注記 14px グレー
   .ij-scroll      … SP で横スクロールさせる表の外枠（.ij-scroll-hint ＋ .ij-scroll-body）
   .btn.ij-btn-pdf … 幅なりの小さめ PDF ボタン（既存 .btn ＋ .icon-doc）
   .ij-img         … 画像（角丸8px）
   -------------------------------------------------------------------------- */
.ij-subttl {
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ij-subttl.is-line {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cl-bl);
}

.ij-group > * + * {
  margin-top: 16px;
}

.ij-txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.ij-txt-ja {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.ij-fnote,
.ij-note {
  color: #555;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.ij-fnote.is-md,
.ij-note {
  font-size: 14px;
}

.ij-scroll-hint {
  margin-bottom: 8px;
  color: #555;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
  text-align: right;
}

.btn.ij-btn-pdf {
  gap: 6px;
  width: auto;
  min-height: 44px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.btn.ij-btn-pdf .icon {
  width: 20px;
  height: 20px;
}

.ij-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .ij-subttl {
    font-size: 18px;
  }

  .ij-txt {
    font-size: 15px;
  }

  .ij-fnote.is-md {
    font-size: 13px;
  }

  .ij-note {
    font-size: 12px;
  }

  /* 表は幅を保ったまま横スクロール */
  .ij-scroll-body {
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-color: #99999f #ececef;
    scrollbar-width: thin;
  }

  .ij-scroll-body::-webkit-scrollbar {
    height: 4px;
  }

  .ij-scroll-body::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: #ececef;
  }

  .ij-scroll-body::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background-color: #99999f;
  }

  .btn.ij-btn-pdf {
    width: auto;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 16px;
  }

  .ij-img.is-calendar img {
    aspect-ratio: 366 / 260;
    object-fit: cover;
  }
}

/* --------------------------------------------------------------------------
   82-3. 短期プログラム一覧（表）
   .ij-chip … Season のラベル（.is-both 緑／.is-winter 青／.is-summer 橙）
   -------------------------------------------------------------------------- */
.ij-proglist-ttl {
  margin-bottom: 16px;
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ij-ptbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: 8px;
  table-layout: fixed;
  letter-spacing: 0;
}

.ij-ptbl th,
.ij-ptbl td {
  text-align: left;
  vertical-align: middle;
}

.ij-ptbl thead th {
  padding: 16px 20px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.ij-ptbl tbody td {
  padding: 20px;
  background-color: var(--cl-wh);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.ij-ptbl tbody tr + tr td {
  border-top: 1px solid var(--cl-bdr);
}

.ij-ptbl .col-prog {
  width: 250px;
}

.ij-ptbl .col-season {
  width: 150px;
}

.ij-ptbl .col-dur,
.ij-ptbl .col-lang {
  width: 110px;
}

.ij-ptbl-link {
  color: var(--cl-bl);
  font-weight: 700;
  text-decoration: underline;
}

.ij-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--rd-pill);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.ij-chip.is-both {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.ij-chip.is-winter {
  background-color: #e3f0ff;
  color: var(--cl-bl);
}

.ij-chip.is-summer {
  background-color: #fff3e0;
  color: #b26a00;
}

@media (max-width: 768px) {
  .ij-proglist-ttl {
    margin-bottom: 12px;
    font-size: 17px;
  }

  .ij-ptbl {
    width: 760px;
  }

  .ij-ptbl thead th {
    padding: 16px 14px;
    font-size: 14px;
  }

  .ij-ptbl tbody td {
    padding: 20px 14px;
    font-size: 15px;
  }

  .ij-ptbl .col-prog {
    width: 220px;
  }

  .ij-ptbl .col-season {
    width: 140px;
  }

  .ij-ptbl .col-dur,
  .ij-ptbl .col-lang {
    width: 100px;
  }
}

/* --------------------------------------------------------------------------
   82-4. アンカーリンク（4列。SP は2列・高さを詰める）
   -------------------------------------------------------------------------- */
.anchor-list.sk-anchor.ij-anchor {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.anchor-list.sk-anchor.ij-anchor .no {
  width: 24px;
}

@media (max-width: 768px) {
  .anchor-list.sk-anchor.ij-anchor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .anchor-list.sk-anchor.ij-anchor a {
    min-height: 36px;
    padding-bottom: 9px;
  }

  .anchor-list.sk-anchor.ij-anchor .no {
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   82-5. 01 About
   -------------------------------------------------------------------------- */
.ij-about > * + * {
  margin-top: 32px;
}

.ij-keychips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ij-keychips > li {
  padding: 8px 20px;
  border: 1px solid #e3e6ec;
  border-radius: var(--rd-pill);
  background-color: #f5f7fb;
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}

.ij-about-ttl {
  padding: 20px 24px;
  border: 1px solid var(--cl-bdr);
  border-radius: 8px;
  background-color: var(--cl-wh);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
}

.ij-about-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.ij-about-txt {
  flex: 1 1 auto;
  min-width: 0;
}

.ij-about-txt > * + * {
  margin-top: 24px;
}

.ij-about-en,
.ij-about-ja {
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}

.ij-about-en {
  font-size: 16px;
}

.ij-about-ja {
  color: #555;
  font-size: 14px;
}

.ij-about-img {
  flex-shrink: 0;
  width: 260px;
}

.ij-about-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .ij-about > * + * {
    margin-top: 20px;
  }

  .ij-keychips {
    gap: 8px;
  }

  .ij-keychips > li {
    font-size: 13px;
  }

  .ij-about-ttl {
    padding: 20px 16px;
    font-size: 17px;
  }

  .ij-about-row {
    flex-direction: column;
    gap: 20px;
  }

  .ij-about-en {
    font-size: 15px;
  }

  .ij-about-img {
    width: 100%;
  }

  .ij-about-img img {
    height: 260px;
    object-fit: cover;
  }
}

/* --------------------------------------------------------------------------
   82-6. 02 At a Glance（概要表）
   1行目（tr.is-em）は水色地・中央揃え
   -------------------------------------------------------------------------- */
.ij-glance {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-top: 1px solid var(--cl-bdr);
  border-left: 1px solid var(--cl-bdr);
  border-radius: 8px;
  letter-spacing: 0;
}

.ij-glance th,
.ij-glance td {
  padding: 24px;
  border-right: 1px solid var(--cl-bdr);
  border-bottom: 1px solid var(--cl-bdr);
  background-color: var(--cl-wh);
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.ij-glance th {
  width: 241px;
  font-weight: 700;
}

.ij-glance td {
  font-weight: 500;
}

.ij-glance tr.is-em th,
.ij-glance tr.is-em td {
  background-color: var(--cl-pop-lbl);
  text-align: center;
}

@media (max-width: 768px) {
  .ij-glance th,
  .ij-glance td {
    padding: 14px 16px;
    font-size: 14px;
  }

  .ij-glance th {
    width: 118px;
  }
}

/* --------------------------------------------------------------------------
   82-7. 03 Program Highlights（2列カード。上に黄色の短いライン）
   -------------------------------------------------------------------------- */
.ij-hl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.ij-hl-card {
  padding: 32px;
  border-radius: 16px;
  background-color: var(--cl-bg);
}

.ij-hl-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-bottom: 8px;
  border-radius: 2px;
  background-color: var(--cl-yl);
}

.ij-hl-card > * + * {
  margin-top: 8px;
}

.ij-hl-en {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.ij-hl-ja {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ij-hl-txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .ij-hl {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ij-hl-card {
    padding: 20px;
  }

  .ij-hl-card::before {
    width: 100%;
  }

  .ij-hl-en {
    font-size: 16px;
  }

  .ij-hl-ja,
  .ij-hl-txt {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   82-8. 04 Curriculum & Levels
   .ij-levels  … レベル3列（青い見出し帯＋本文）
   .ij-courses … コース説明カード（タイトル＋説明＋PDFボタン）
   .ij-note-label … NOTE 枠（既存 .sk-box.is-note）の小見出し
   -------------------------------------------------------------------------- */
.ij-levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.ij-level {
  overflow: hidden;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  background-color: var(--cl-wh);
}

.ij-level-head {
  padding: 16px 24px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  letter-spacing: 0;
}

.ij-level-head .en {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.ij-level-head .ja {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.ij-level-body {
  padding: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.ij-courses > * + * {
  margin-top: 24px;
}

.ij-course {
  padding: 32px;
  border: 1px solid #e3e6ec;
  border-radius: 16px;
  background-color: var(--cl-wh);
}

.ij-course > * + * {
  margin-top: 16px;
}

.ij-course-ttl {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e3e6ec;
  color: var(--cl-bl);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ij-course-ttl .en {
  font-size: 22px;
}

.ij-course-ttl .ja {
  font-size: 15px;
}

.ij-course-en,
.ij-course-ja {
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.ij-course-en {
  font-size: 16px;
}

.ij-course-ja {
  color: #555;
  font-size: 14px;
}

.ij-course strong {
  font-weight: 700;
}

.ij-note-label {
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .ij-levels {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ij-level-head .en {
    font-size: 16px;
  }

  .ij-level-head .ja {
    font-size: 12px;
  }

  .ij-level-body {
    font-size: 14px;
  }

  .ij-courses > * + * {
    margin-top: 16px;
  }

  .ij-course {
    padding: 20px;
  }

  .ij-course-ttl .en {
    font-size: 18px;
  }

  .ij-course-ttl .ja {
    font-size: 14px;
  }

  .ij-course-en {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   82-9. 05 Courses & Syllabus（科目カード 2列）
   -------------------------------------------------------------------------- */
.ij-cgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ij-cgrid-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border: 1px solid #e3e6ec;
  border-radius: 16px;
  background-color: var(--cl-wh);
}

.ij-cgrid-ttl {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--cl-bdr);
  border-radius: 8px;
  background-color: #f5f7fb;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ij-cgrid-ttl .ttl {
  font-size: 18px;
}

.ij-cgrid-ttl .sub {
  margin-top: 4px;
  color: #555;
  font-size: 14px;
}

.ij-cgrid-txt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .ij-cgrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ij-cgrid-item {
    padding: 16px;
  }

  .ij-cgrid-ttl .ttl {
    font-size: 16px;
  }

  .ij-cgrid-txt {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   82-10. 06 Sample Schedule（時間割。SP は横スクロール）
   -------------------------------------------------------------------------- */
.ij-tt {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-top: 1px solid var(--cl-bdr);
  border-left: 1px solid var(--cl-bdr);
  border-radius: 8px;
  table-layout: fixed;
  letter-spacing: 0;
}

.ij-tt th,
.ij-tt td {
  height: 100px;
  padding: 16px 8px;
  border-right: 1px solid var(--cl-bdr);
  border-bottom: 1px solid var(--cl-bdr);
  background-color: var(--cl-wh);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  vertical-align: middle;
}

.ij-tt th {
  font-weight: 700;
}

.ij-tt td {
  font-weight: 500;
}

.ij-tt thead th {
  height: 74px;
  background-color: var(--cl-pop-lbl);
}

.ij-tt .col-time {
  width: 118px;
}

@media (max-width: 768px) {
  .ij-tt {
    width: 760px;
  }
}

/* --------------------------------------------------------------------------
   82-11. 07 Dates & Fees
   .ij-terms … 開講期カード（見出し帯＋項目 dl）
   .ij-fees  … プログラム費に含まれる／含まれないもの（.is-not でグレー）
   -------------------------------------------------------------------------- */
.ij-terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.ij-term {
  overflow: hidden;
  border: 1px solid #e3e6ec;
  border-radius: 16px;
  background-color: var(--cl-wh);
}

.ij-term-head {
  padding: 24px 32px;
  background-color: #f5f7fb;
  font-weight: 700;
  letter-spacing: 0;
}

.ij-term-head .ttl {
  color: var(--cl-bl);
  font-size: 22px;
  line-height: 1.4;
}

.ij-term-head .date {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.5;
}

.ij-term-body {
  padding: 24px 32px;
}

.ij-term-row + .ij-term-row {
  margin-top: 16px;
}

.ij-term-row dt {
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ij-term-row dd {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.ij-term-row .waiver {
  display: block;
  color: var(--cl-bl);
  font-size: 14px;
}

.ij-fees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ij-fee {
  overflow: hidden;
  border: 1px solid #e3e6ec;
  border-radius: 12px;
  background-color: var(--cl-wh);
}

.ij-fee-head {
  padding: 16px 24px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
}

.ij-fee.is-not .ij-fee-head {
  background-color: var(--cl-gy);
}

.ij-fee-head .en {
  font-size: 18px;
  font-weight: 700;
}

.ij-fee-head .ja {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
}

.ij-fee-list {
  padding: 24px;
}

.ij-fee-list > li {
  position: relative;
  padding-left: 22px;
  line-height: 1.6;
  letter-spacing: 0;
}

.ij-fee-list > li + li {
  margin-top: 16px;
}

.ij-fee-list > li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
}

.ij-fee.is-not .ij-fee-list > li::before {
  color: var(--cl-gy);
}

.ij-fee-list > li > * + * {
  margin-top: 2px;
}

.ij-fee-list .en {
  font-size: 15px;
  font-weight: 700;
}

.ij-fee-list .ja,
.ij-fee-list .note,
.ij-fee-list .note-ja {
  font-size: 13px;
  font-weight: 500;
}

.ij-fee-list .ja,
.ij-fee-list .note-ja {
  color: #555;
}

.ij-fee-list .note-ja {
  font-size: 12px;
}

@media (max-width: 768px) {
  .ij-terms,
  .ij-fees {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ij-term-head {
    padding: 24px 20px;
  }

  .ij-term-head .ttl {
    font-size: 17px;
  }

  .ij-term-head .date {
    font-size: 14px;
  }

  .ij-term-body {
    padding: 24px 20px;
  }

  .ij-term-row {
    display: flex;
    gap: 12px;
  }

  .ij-term-row + .ij-term-row {
    margin-top: 12px;
  }

  .ij-term-row dt {
    flex-shrink: 0;
    width: 118px;
    font-size: 12px;
    line-height: 1.9;
  }

  .ij-term-row dd {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
    font-size: 14px;
  }

  .ij-term-row .waiver {
    font-size: 13px;
  }

  .ij-fee-head {
    padding: 16px;
  }

  .ij-fee-head .en {
    font-size: 15px;
  }

  .ij-fee-head .ja {
    font-size: 13px;
  }

  .ij-fee-list {
    padding: 16px;
  }

  .ij-fee-list .en {
    font-size: 14px;
  }

  .ij-fee-list .ja,
  .ij-fee-list .note {
    font-size: 12px;
  }

  .ij-fee-list .note-ja {
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   82-12. 08 Housing & Expenses
   .ij-acc    … 宿泊タイプ 2列（見出し＋画像＋説明）
   .ij-living … 生活費の表（SP は項目・金額を縦積み）
   -------------------------------------------------------------------------- */
.ij-acc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ij-acc-item {
  padding: 28px;
  border-radius: 16px;
  background-color: var(--cl-bg);
}

.ij-acc-item > * + * {
  margin-top: 16px;
}

.ij-acc-ttl {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ij-acc-img img {
  display: block;
  width: 100%;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
}

.ij-acc-txt {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0;
}

.ij-living {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: 8px;
  letter-spacing: 0;
}

.ij-living th,
.ij-living td {
  padding: 20px 24px;
  line-height: 1.6;
  text-align: left;
  vertical-align: middle;
}

.ij-living tr + tr th,
.ij-living tr + tr td {
  border-top: 1px solid var(--cl-bdr);
}

.ij-living th {
  background-color: var(--cl-pop-lbl);
  vertical-align: top;
}

.ij-living th .en {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.ij-living th .ja {
  display: block;
  margin-top: 4px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
}

.ij-living td {
  width: 300px;
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .ij-acc {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ij-acc-item {
    padding: 16px;
  }

  .ij-acc-ttl {
    font-size: 17px;
  }

  .ij-living,
  .ij-living tbody,
  .ij-living tr,
  .ij-living th,
  .ij-living td {
    display: block;
    width: auto;
  }

  .ij-living th,
  .ij-living td {
    padding: 14px 16px;
  }

  .ij-living tr + tr th {
    border-top: 1px solid var(--cl-bdr);
  }

  .ij-living tr + tr td {
    border-top: none;
  }

  .ij-living th .en,
  .ij-living td {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   82-13. 09 How to Apply（グレー地のステップ。左に黄色の STEP バッジ）
   -------------------------------------------------------------------------- */
.ij-steps > li + li {
  margin-top: 16px;
}

.ij-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 32px;
  border-radius: 16px;
  background-color: var(--cl-bg);
}

.ij-step-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 8px;
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  line-height: 1.3;
  letter-spacing: 0;
}

.ij-step-badge .lbl {
  font-size: 10px;
  font-weight: 700;
}

.ij-step-badge .num {
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 400;
}

.ij-step-body {
  flex: 1 1 auto;
  min-width: 0;
}

.ij-step-ttl {
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.ij-step-txt {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .ij-steps > li + li {
    margin-top: 12px;
  }

  .ij-step {
    gap: 16px;
    padding: 24px 20px;
  }

  .ij-step-badge .num {
    font-size: 14px;
  }

  .ij-step-ttl {
    font-size: 17px;
  }

  .ij-step-txt {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   82-14. 10 FAQ（既存 .qa-list の SP 調整：Q を上揃え・余白 20px）
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .qa-list.ij-faq > li {
    padding: 20px;
  }

  .qa-list.ij-faq .qa-q,
  .qa-list.ij-faq .qa-a-inner {
    align-items: flex-start;
    gap: 16px;
  }

  .qa-list.ij-faq .qa-q .ttl {
    line-height: 1.7;
  }

  .qa-list.ij-faq .qa-q .toggle {
    width: 32px;
    height: 32px;
  }

  .sk-main .qa-list.ij-faq .qa-a-inner .txt {
    font-size: 16px;
  }
}

/* --------------------------------------------------------------------------
   82-15. 11 Download Brochure（説明文＋白抜きボタン）
   -------------------------------------------------------------------------- */
.ij-brochure {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: 16px;
  background-color: #f5f7fb;
}

.ij-brochure-txt {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.btn.ij-brochure-btn {
  flex-shrink: 0;
  width: auto;
}

@media (max-width: 768px) {
  .ij-brochure {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .ij-brochure-txt {
    font-size: 14px;
  }

  .btn.ij-brochure-btn {
    width: 100%;
    padding-inline: 20px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   82-16. お問い合わせ CTA
   -------------------------------------------------------------------------- */
.ij-cta {
  padding: 48px;
  border-radius: 16px;
  background-color: #f5f7fb;
  text-align: center;
}

.ij-cta > * + * {
  margin-top: 24px;
}

.ij-cta-ttl {
  color: var(--cl-bl);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.ij-cta-txt {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.ij-cta-txt > span {
  display: block;
}

.ij-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.ij-cta-btns .btn {
  width: auto;
}

@media (max-width: 768px) {
  .ij-cta {
    padding: 20px;
  }

  .ij-cta > * + * {
    margin-top: 16px;
  }

  .ij-cta-ttl {
    font-size: 18px;
  }

  .ij-cta-txt {
    font-size: 15px;
  }

  .ij-cta-txt > span {
    display: inline;
  }

  .ij-cta-btns .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   82-17. SP 関連ページ（PC サイドナビ .sk-sidenav をそのまま SP で表示）
   -------------------------------------------------------------------------- */
.ij-related .sk-related-label {
  margin-bottom: 12px;
}

/* ==========================================================================
   WIP：style.css へ統合予定（統合時はこのファイルの中身を style.css 末尾へ追記し、
   study/exchange/index.html の <link ... _wip_css/xo.css> を削除してください）
   url() は cms/ciec/css/ 内にある前提の相対パスで書いています。
   ========================================================================== */

/* ==========================================================================
   83. Exchange Program（study/exchange）（.xo-）
   ※ .xp- は 74章「交換留学ページ」で使用済みのため .xo- を使う。
   共通パーツ（81章 .sk-）に無いものだけをここに書く。

   83-1. 目次＋プログラム紹介画像        .xo-intro / .xo-anchor / .xo-mainimg
   83-2. 小さめのボタン（45px）          .sk-btn-row.xo-btn-row
   83-3. スタディトラック（コーディネーター付き） .xo-track-list / .xo-track
   83-4. 日程表（Fall / Spring Intake）   .xo-dates-list / .xo-dates
   83-5. 小さな注記                       .xo-note
   83-6. Student Voices（動画3本のバナー） .xo-voice
   ========================================================================== */

/* --------------------------------------------------------------------------
   83-1. 目次（4列／SP 2列。番号なし＝既存 .anchor-list のまま）＋紹介画像
   -------------------------------------------------------------------------- */
.xo-intro > * + * {
  margin-top: 40px;
}

.anchor-list.xo-anchor a {
  min-height: 0;
}

@media (max-width: 768px) {
  .xo-intro > * + * {
    margin-top: 24px;
  }

  .anchor-list.xo-anchor {
    gap: 12px;
  }

  .anchor-list.xo-anchor a {
    padding-bottom: 10px;
    font-size: 13px;
  }

  /* 共通 .sk-img の SP トリミング（366:132）をこのページの比率に変更 */
  .sk-img.xo-mainimg img {
    aspect-ratio: 366 / 220;
  }
}

/* --------------------------------------------------------------------------
   83-2. 小さめのボタン（高さ45px・16px）
   既存 .btn（.btn-wt）＋アイコン（.icon-doc / .icon-arw-r / .icon-ext / .icon-dl）
   SP は全幅で、左右のアイコンを端に寄せて文字を中央に置く
   -------------------------------------------------------------------------- */
.sk-btn-row.xo-btn-row .btn {
  gap: 6px;
  min-height: 45px;
  padding: 10px 24px;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
}

.sk-btn-row.xo-btn-row .btn .icon {
  width: 20px;
  height: 20px;
}

.sk-btn-row.xo-btn-row .btn:hover .icon-dl {
  background-image: url(../img/common/download-bl.svg);
}

@media (max-width: 768px) {
  .sk-btn-row.xo-btn-row .btn {
    position: relative;
    padding: 12px 52px;
  }

  .sk-btn-row.xo-btn-row .btn .icon {
    position: absolute;
    top: 50%;
    right: 24px;
    margin: -10px 0 0;
  }

  .sk-btn-row.xo-btn-row .btn .icon-doc {
    right: auto;
    left: 24px;
  }

  .sk-btn-row.xo-btn-row .btn:hover .icon-arw-r {
    transform: translateX(5px);
  }
}

/* --------------------------------------------------------------------------
   83-3. スタディトラック
   li.xo-track（グレー地）：左に本文（.xo-track-body）／右にコーディネーター（.xo-track-person）
   SP は縦積み（写真は全幅）
   -------------------------------------------------------------------------- */
.sk-sec > .xo-track-list {
  margin-top: 40px;
}

.xo-track + .xo-track {
  margin-top: 40px;
}

.xo-track {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 32px 40px;
  border-radius: 16px;
  background-color: var(--cl-bg);
}

.xo-track-body {
  flex: 1 1 auto;
  min-width: 0;
}

.xo-track-body > * + * {
  margin-top: 8px;
}

.xo-track-lead {
  color: #555;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.xo-track-ttl {
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.xo-track-txt {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.xo-track-person {
  flex-shrink: 0;
  width: 194px;
}

.xo-track-person > * + * {
  margin-top: 12px;
}

.xo-track-person img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.xo-track-pos,
.xo-track-role {
  color: #555;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.xo-track-name {
  color: var(--cl-bl);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .sk-sec > .xo-track-list {
    margin-top: 24px;
  }

  .xo-track + .xo-track {
    margin-top: 24px;
  }

  .xo-track {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px;
  }

  .xo-track-lead {
    font-size: 13px;
  }

  .xo-track-ttl {
    font-size: 18px;
  }

  .xo-track-txt {
    font-size: 15px;
  }

  .xo-track-person {
    width: auto;
  }

  .xo-track-person img {
    height: 196px;
  }

  .xo-track-pos,
  .xo-track-role {
    font-size: 11px;
  }

  .xo-track-name {
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   83-4. 日程表（Fall / Spring Intake）
   .xo-dates：ネイビーの見出し（.xo-dates-head）＋ dl.xo-dates-row（dt 320px ＋ dd）
   行は白／薄いグレーの交互。SP は dt の下に dd
   -------------------------------------------------------------------------- */
.xo-dates + .xo-dates {
  margin-top: 32px;
}

.xo-dates {
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: 12px;
  background-color: var(--cl-wh);
}

.xo-dates-head {
  padding: 16px 24px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.xo-dates-row {
  display: flex;
  gap: 24px;
  padding: 16px 24px;
  line-height: 1.6;
  letter-spacing: 0;
}

.xo-dates-row:nth-of-type(even) {
  background-color: #f9fafc;
}

.xo-dates-row dt {
  flex-shrink: 0;
  width: 320px;
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
}

.xo-dates-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .xo-dates + .xo-dates {
    margin-top: 24px;
  }

  .xo-dates-head {
    padding: 14px 16px;
    font-size: 16px;
  }

  .xo-dates-row {
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
  }

  .xo-dates-row dt {
    width: auto;
    font-size: 13px;
  }

  .xo-dates-row dd {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   83-5. 小さな注記（グレー）
   -------------------------------------------------------------------------- */
.xo-note {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .xo-note {
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   83-6. Student Voices（ネイビーのバナー＋YouTube 動画3本）
   動画はサムネイル画像（<img>）＋キャプションの YouTube へのリンク。
   SP は縦積み
   -------------------------------------------------------------------------- */
.sk-sec > .xo-voice {
  margin-top: 0;
}

.xo-voice {
  padding: 40px;
  border-radius: var(--rd-l);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.xo-voice-en {
  color: var(--cl-yl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.xo-voice-ttl {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.xo-voice-txt {
  color: #d9e5ff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .sk-sec > .xo-voice {
    margin-top: 16px;
  }

  .xo-voice {
    padding: 28px 20px;
  }

  .xo-voice-en {
    font-size: 12px;
  }

  .xo-voice-ttl {
    font-size: 24px;
  }

  .xo-voice-txt {
    font-size: 13px;
  }

  }

/* ==========================================================================
   WIP：style.css へ統合予定（統合時はこのファイルの中身を style.css 末尾へ追記し、
   各ページの <link ... _wip_css/ap.css> を削除してください）
   url() は cms/ciec/css/ 内にある前提の相対パスで書いています。
   ========================================================================== */

/* ==========================================================================
   84. Application（study/application）（.ap-）
   81章（.sk-）の共通パーツに、このページ固有の差分だけを足す。

   84-1. セクション見出し（SP ではアイブロウを出さない）  .ap-sec
   84-2. スケジュール表（見出し帯＋2列の行）            .ap-sched-list / .ap-sched
   84-3. 注記                                         .ap-note
   84-4. 本文＋Key dates の2カラム（PC）               .ap-2col
   84-5. STEP（PC：見出し 21px／SP：グレーのカード）    .sk-step.ap-step
   84-6. 遷移ボタン                                    .ap-btn-row / .ap-btn
   84-7. Key dates（PC：右カラム sticky／SP：目次の下）  .ap-keydates
   ========================================================================== */

/* --------------------------------------------------------------------------
   84-1. セクション見出し
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .ap-sec .sk-sec-en {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   84-2. スケジュール表
   .ap-sched > p.ap-sched-head（紺帯）＋ dl.ap-sched-row（dt 項目／dd 日付）を行の数だけ
   行は白／薄いグレーの交互
   -------------------------------------------------------------------------- */
.ap-sched-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ap-sched {
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: 12px;
  background-color: var(--cl-wh);
}

.ap-sched-head {
  padding: 16px 24px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

.ap-sched-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 24px;
  background-color: var(--cl-wh);
  line-height: 1.6;
  letter-spacing: 0;
}

.ap-sched-row:nth-child(odd) {
  background-color: #f9fafc;
}

.ap-sched-row dt {
  flex-shrink: 0;
  width: 320px;
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
}

.ap-sched-row dd {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .ap-sched-list {
    gap: 24px;
  }

  .ap-sched-head {
    padding: 14px 16px;
    font-size: 16px;
  }

  .ap-sched-row {
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
  }

  .ap-sched-row dt {
    width: 140px;
    font-size: 13px;
  }

  .ap-sched-row dd {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   84-3. 注記
   -------------------------------------------------------------------------- */
.ap-note {
  color: #555;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   84-4. 本文＋Key dates の2カラム（PC）
   右の Key dates はスクロールに追従（ヘッダーの下で止まる）
   -------------------------------------------------------------------------- */
.ap-2col {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.ap-2col-main {
  flex: 1 1 auto;
  min-width: 0;
}

.ap-2col-side {
  position: sticky;
  top: calc(var(--hd-h) + 16px);
  flex-shrink: 0;
  width: 240px;
}

@media (max-width: 768px) {
  .ap-2col {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   84-5. STEP
   PC：81-8 の .sk-step を詰めた版（バッジとの間 24px、見出し 21px）
   SP：81-8 の「青バー見出し」ではなく、グレーのカード＋小さな STEP バッジ
   -------------------------------------------------------------------------- */
.sk-step.ap-step {
  gap: 24px;
}

.ap-step .sk-step-body > * + * {
  margin-top: 16px;
}

.ap-step .sk-step-ttl {
  font-size: 21px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .sk-step.ap-step {
    display: flex;
    gap: 16px;
    padding: 24px 20px;
    border-radius: 16px;
    background-color: var(--cl-bg);
  }

  .sk-sec > .ap-step + .ap-step {
    margin-top: 12px;
  }

  .ap-step .sk-step-no {
    display: flex;
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: 8px;
    line-height: 1.3;
  }

  .ap-step .sk-step-no .label {
    font-family: var(--ff-base);
    font-size: 10px;
    font-weight: 700;
  }

  .ap-step .sk-step-no .num {
    margin-top: 0;
    font-size: 14px;
  }

  .ap-step .sk-step-body > * + * {
    margin-top: 8px;
  }

  .ap-step .sk-step-ttl {
    display: block;
    color: var(--cl-bl);
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .ap-step .sk-step-ttl::before {
    content: none;
  }
}

/* --------------------------------------------------------------------------
   84-6. 遷移ボタン（既存 .btn を文字幅・16px にしたもの。SP は全幅）
   -------------------------------------------------------------------------- */
.ap-btn-row {
  display: flex;
}

.btn.ap-btn {
  width: auto;
  min-height: 56px;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .btn.ap-btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   84-7. Key dates
   PC：右カラムの縦長ボックス（2つ目の募集の上に区切り線）
   SP：目次の下。募集ごとに白いカード
   -------------------------------------------------------------------------- */
.ap-keydates {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px;
  border-radius: 16px;
  background-color: #f5f7fb;
}

.ap-keydates-ttl {
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.ap-keydates-list > li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #d9dee8;
}

.ap-keydates-list > li > * + * {
  margin-top: 6px;
}

.ap-keydates-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.ap-keydates-hd .name {
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.ap-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  white-space: nowrap;
}

.ap-keydates-txt {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

.btn.ap-keydates-btn {
  width: 100%;
  min-height: 0;
  padding: 12px 20px;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
}

.ap-keydates-btn .icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .ap-keydates {
    gap: 16px;
    padding: 20px;
  }

  .ap-keydates-ttl {
    font-size: 17px;
  }

  .ap-keydates-list > li {
    padding: 24px;
    border-radius: 12px;
    background-color: var(--cl-wh);
  }

  .ap-keydates-list > li + li {
    padding-top: 24px;
    border-top: none;
  }

  .ap-keydates-list > li > * + * {
    margin-top: 12px;
  }

  .ap-keydates-hd {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .ap-keydates-hd .name {
    font-size: 16px;
  }

  .ap-badge {
    font-size: 11px;
  }

  .btn.ap-keydates-btn {
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.6;
  }

  .ap-keydates-btn .icon {
    width: 24px;
    height: 24px;
  }
}

/* ==========================================================================
   WIP：style.css へ統合予定（統合時はこのファイルの中身を style.css 末尾へ追記し、
   各ページの <link ... _wip_css/ba.css> を削除してください）
   url() は cms/ciec/css/ 内にある前提の相対パスで書いています。
   ========================================================================== */

/* ==========================================================================
   85. Before Arrival（study/before_arrival）（.ba-）
   81章（.sk-）の共通パーツに、このページ固有の差分だけを足す。

   85-1. STEP（SP：グレーのカード＋小さな STEP バッジ）  .sk-step.ba-step
   85-2. 空港リスト（PC 2列）                         .ba-airport
   85-3. 日付の見方の表（SP はカード型に縦積み）        .ba-date / .ba-date-tbl
   85-4. Costs セクション（間隔・本文サイズ・小見出し）  .ba-costs / .ba-sub
   85-5. 料金表（Fall／Spring を別表で。SP も横スクロールなし） .ba-fee / .ba-fee-tbl
   85-6. 注記                                         .ba-note
   85-7. Accommodation のボタン                        .ba-acc / .ba-btn-col
   ========================================================================== */

/* --------------------------------------------------------------------------
   85-1. STEP
   PC は 81-8 の .sk-step のまま。SP はバッジを残したグレーのカードにする。
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .sk-step.ba-step {
    display: flex;
    gap: 16px;
    padding: 24px 20px;
    border-radius: 16px;
    background-color: var(--cl-bg);
  }

  .sk-sec > .ba-step + .ba-step {
    margin-top: 12px;
  }

  .ba-step .sk-step-no {
    display: flex;
    width: auto;
    height: auto;
    padding: 6px 10px;
    border-radius: 8px;
    line-height: 1.3;
  }

  .ba-step .sk-step-no .label {
    font-family: var(--ff-base);
    font-size: 10px;
    font-weight: 700;
  }

  .ba-step .sk-step-no .num {
    margin-top: 0;
    font-size: 14px;
  }

  .ba-step .sk-step-body > * + * {
    margin-top: 8px;
  }

  .ba-step .sk-step-ttl {
    display: block;
    color: var(--cl-bl);
    font-size: 17px;
    line-height: 1.4;
    letter-spacing: 0;
  }

  .ba-step .sk-step-ttl::before {
    content: none;
  }
}

/* --------------------------------------------------------------------------
   85-2. 空港リスト（.sk-box の中。PC は2列・紺の小さな丸／SP は1列・黄色の丸）
   -------------------------------------------------------------------------- */
.sk-box.ba-airport {
  padding: 32px 40px;
}

.sk-box.ba-airport > * + * {
  margin-top: 16px;
}

.ba-airport-ttl {
  color: var(--cl-bl);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.ba-airport-list {
  column-count: 2;
  column-gap: 40px;
}

.ba-airport-list > li {
  position: relative;
  padding-left: 16px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
  break-inside: avoid;
}

.ba-airport-list > li + li {
  margin-top: 6px;
}

.ba-airport-list > li::before {
  content: "";
  position: absolute;
  top: calc((1.7em - 6px) / 2);
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cl-bl);
}

@media (max-width: 768px) {
  .sk-box.ba-airport {
    padding: 20px;
  }

  .sk-box.ba-airport > * + * {
    margin-top: 8px;
  }

  .ba-airport-ttl {
    font-size: 15px;
    line-height: 1.7;
  }

  .ba-airport-list {
    column-count: 1;
  }

  .ba-airport-list > li {
    padding-left: 22px;
    font-size: 15px;
  }

  .ba-airport-list > li + li {
    margin-top: 8px;
  }

  .ba-airport-list > li::before {
    top: calc((1.7em - 10px) / 2);
    width: 10px;
    height: 10px;
    background-color: var(--cl-yl);
  }
}

/* --------------------------------------------------------------------------
   85-3. 日付の見方の表
   PC：2列の表（左列は薄いグレー地）
   SP：行ごとに「水色の見出しセル＋内容セル」のカード型。
       内容セルの上に td の data-label（What the Date Means）を小さく出す
   -------------------------------------------------------------------------- */
.ba-date {
  overflow: hidden;
  border-radius: 8px;
}

.ba-date-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

.ba-date-tbl th,
.ba-date-tbl td {
  padding: 18px 24px;
  border: 1px solid #e3e6ec;
  text-align: left;
  vertical-align: top;
}

.ba-date-tbl thead th {
  border-color: var(--cl-bdr);
  background-color: var(--cl-pop-lbl);
  font-weight: 700;
  vertical-align: middle;
}

.ba-date-tbl thead th:first-child {
  width: 320px;
  padding-left: 60px;
}

.ba-date-tbl tbody th {
  background-color: #f5f7fb;
  font-weight: 700;
}

.ba-date-tbl td {
  background-color: var(--cl-wh);
  font-weight: 500;
}

@media (max-width: 768px) {
  .ba-date-tbl,
  .ba-date-tbl tbody,
  .ba-date-tbl tr,
  .ba-date-tbl th,
  .ba-date-tbl td {
    display: block;
    width: auto;
  }

  .ba-date-tbl thead {
    display: none;
  }

  .ba-date {
    border-radius: 0;
  }

  .ba-date-tbl {
    font-size: 14px;
  }

  .ba-date-tbl th,
  .ba-date-tbl td {
    padding: 14px 16px;
    border-color: var(--cl-bdr);
  }

  .ba-date-tbl tbody th {
    background-color: var(--cl-pop-lbl);
  }

  .ba-date-tbl td {
    border-top: none;
  }

  .ba-date-tbl tr + tr th {
    border-top: none;
  }

  .ba-date-tbl td::before {
    content: attr(data-label);
    display: block;
    color: #737a8c;
    font-size: 11px;
    line-height: 1.5;
  }
}

/* --------------------------------------------------------------------------
   85-4. Costs セクション（要素の間隔 20px・本文 15px・青の小見出し）
   -------------------------------------------------------------------------- */
.ba-costs > * + * {
  margin-top: 20px;
}

.ba-costs .txt {
  font-size: 15px;
}

.ba-sub {
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .ba-costs > * + * {
    margin-top: 16px;
  }

  .ba-sub {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
   85-5. 料金表
   1表＝1つの入学時期（Fall Intake／Spring Intake）。列は One Semester／Full-Year。
   左上の空セルは td.is-empty。.is-living は生活費の表（左列が広い・合計行 .is-total）
   SP も table-layout: fixed で 366px に収める（横スクロールなし・セル内で折り返す）
   -------------------------------------------------------------------------- */
.ba-fee {
  overflow: hidden;
  border: 1px solid var(--cl-bdr);
  border-radius: 8px;
}

.ba-fee-tbl {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-style: hidden; /* 外周の線は .ba-fee の枠に任せる */
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0;
}

.ba-fee-tbl th,
.ba-fee-tbl td {
  padding: 12px;
  border: 1px solid var(--cl-bdr);
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.ba-fee-tbl thead th,
.ba-fee-tbl thead td {
  background-color: var(--cl-pop-lbl);
  color: var(--cl-bl);
  font-weight: 700;
  text-align: center;
}

.ba-fee-tbl thead .is-empty {
  width: 198px;
}

.ba-fee-tbl th.is-term {
  font-size: 13px;
}

.ba-fee-tbl tbody th {
  background-color: var(--cl-wh);
  font-weight: 700;
  text-align: left;
}

.ba-fee-tbl tbody td {
  background-color: var(--cl-wh);
  font-weight: 500;
  text-align: center;
}

.ba-fee-tbl.is-living thead .is-empty {
  width: 300px;
}

.ba-fee-tbl tr.is-total th,
.ba-fee-tbl tr.is-total td {
  background-color: #fffbd9;
  font-weight: 700;
}

@media (max-width: 768px) {
  .ba-fee-tbl thead .is-empty,
  .ba-fee-tbl.is-living thead .is-empty {
    width: 118px;
  }
}

/* --------------------------------------------------------------------------
   85-6. 注記（＊〜／(Per month)）
   -------------------------------------------------------------------------- */
.ba-note > li {
  color: #545454;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
}

/* --------------------------------------------------------------------------
   85-7. Accommodation のボタン
   .ba-btn-col … 81-10 の .sk-btn-row を縦並び（右寄せ・幅 460px）にしたもの
   -------------------------------------------------------------------------- */
.sk-btn-row.ba-btn-col {
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.sk-btn-row.ba-btn-col .btn {
  width: 460px;
}

@media (max-width: 768px) {
  .sk-btn-row.ba-btn-col {
    align-items: stretch;
    gap: 12px;
  }

  .sk-btn-row.ba-btn-col .btn {
    width: 100%;
  }

  .ba-acc .btn {
    padding: 16px 20px;
    font-size: 14px;
  }
}

/* ==========================================================================
   WIP：style.css へ統合予定（81章 sk.css の後ろに追記してください）
   ========================================================================== */

/* ==========================================================================
   86. Student Life（study/exchange/studentlife）（.sl-）
   ④-1〜④-7（Residence Card and Re-entry ほか）で共通。
   レイアウト・見出し・枠などは 81章（.sk-）を使い、ここには
   Student Life 固有のタブ（Student Life / After KGU）とピル型メニューだけを書く。

   .sl-tabs         … PC のタブ一式（.pc-only の forcms_block に入れる）
     .sl-tabbar     … タブ（左）＋ EMERGENCY CONTACT（右・.sk-emg）
     .sl-tab        … タブ1つ（現在地は .is-current）。.en＝英字／.ja＝和文の小さな補足
     .sl-pills      … Student Life の7項目（現在ページは .is-current：矢印なし・黄味の地）
   .sl-note-bold    … 注意枠（.sk-box.is-note）の本文を太字に（④-2 Health Insurance／④-3 Trip Notification）
     .sl-note-ttl   … 注意枠の先頭行「⚠️ Important」
   ========================================================================== */
.sl-tabs {
  position: relative;
  z-index: 5; /* EMERGENCY CONTACT のパネルを下の本文より前に出す */
}

.sl-tabbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 2px solid #122444;
}

.sl-tab-list {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.sl-tab a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 34px;
  border-radius: 10px 10px 0 0;
  background-color: #eceef0;
  color: var(--cl-gy);
  white-space: nowrap;
}

.sl-tab a:hover {
  background-color: var(--cl-pop-lbl);
  color: var(--cl-bl);
  opacity: 1;
}

.sl-tab .en {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}

.sl-tab .ja {
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

/* 現在のタブ：白地＋紺の枠（下線とつながって見えるよう 2px 下に重ねる） */
.sl-tab.is-current a {
  margin-bottom: -2px;
  padding: 14px 34px 16px;
  border: 2px solid #122444;
  border-bottom: none;
  background-color: var(--cl-wh);
  color: #122444;
}

.sl-tab.is-current .ja {
  color: var(--cl-gy);
}

.sl-tabbar .sk-emg {
  padding-bottom: 6px;
}

/* ピル型メニュー */
.sl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
}

.sl-pills a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid #dcdfe4;
  border-radius: 999px;
  background-color: #f4f6f8;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    background-color 0.25s ease-out,
    border-color 0.25s ease-out;
}

.sl-pills a::after {
  content: "→";
  color: #c8a84b;
  font-size: 13px;
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.sl-pills a:hover {
  border-color: #e7d9ab;
  background-color: #fbf7ec;
  opacity: 1;
}

.sl-pills a:hover::after {
  transform: translateX(3px);
}

.sl-pills .is-current a {
  border-color: #e7d9ab;
  background-color: #fbf7ec;
  font-weight: 700;
}

.sl-pills .is-current a::after {
  content: none;
}

/* --------------------------------------------------------------------------
   86-2. 注意枠（太字タイプ）
   .sk-box.is-note に .sl-note-bold を足すと、先頭の「⚠️ Important」（.sl-note-ttl）と
   本文（.txt）が太字になる
   -------------------------------------------------------------------------- */
.sl-note-ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.sl-note-bold .txt {
  font-weight: 700;
}

@media (max-width: 768px) {
  .sl-note-ttl {
    font-size: 15px;
  }
}

/* ==========================================================================
   87. 定例報告（大学から探す）（report/index.html）（.ru-）
   ※ 66章 Fact Sheet（.fs-）の部品を流用し、差分だけをここに書く
   ========================================================================== */

/* ---- セクション間隔（Figmaの64px） ---- */
.parts.ru-sec {
  margin-top: 64px;
}

/* ---- キーワード検索（.fs-search の差分） ---- */
.ru-search {
  padding: 32px 40px;
  border-radius: 16px;
  background-color: #f5f7fb;
}

.ru-search .fs-search-ttl {
  font-size: 18px;
}

.ru-search .fs-input {
  height: 60px;
  padding: 0 24px;
  border-color: #e3e6ec;
}

.ru-search .fs-search-row .btn {
  min-height: 60px;
  font-size: 18px;
}

.ru-search .fs-search-note {
  margin-top: 12px;
  color: #555;
  font-size: 14px;
}

/* ---- 国ごとの表（.fs-list / .fs-country の差分） ---- */
.ru-list {
  margin-top: 24px;
  border: 1px solid #e3e6ec;
  border-radius: 8px;
  overflow: hidden;
}

.ru-country {
  grid-template-columns: 320px 1fr;
  border-bottom: 1px solid #e3e6ec;
}

.ru-country:last-child {
  border-bottom: 0;
}

.ru-country .fs-country-name {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border-right: 1px solid #e3e6ec;
  background-color: #f5f7fb;
  line-height: 1.7;
}

/* 大学ごとの「定例報告一覧へ」ボタン（Fact Sheet の .fs-univ .btn を流用）。文言が長いので折り返さない */
.ru-list .fs-univ {
  gap: 24px;
}

.ru-list .fs-univ .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .parts.ru-sec {
    margin-top: 48px;
  }

  .ru-search {
    padding: 20px 16px;
  }

  .ru-search .fs-input {
    height: 48px;
    padding: 0 20px;
  }

  .ru-search .fs-search-row .btn {
    min-height: 48px;
    font-size: 16px;
  }

  .ru-search .fs-search-note {
    font-size: 13px;
  }

  .ru-list {
    margin-top: 16px;
  }

  .ru-country {
    grid-template-columns: 1fr;
  }

  .ru-country .fs-country-name {
    padding: 12px 16px;
    border-right: 0;
    border-bottom: 1px solid #e3e6ec;
  }

  /* ---- SP：Figma「【新】定例報告_SP」2388:25092（Fact Sheet SPと同じ作り） ---- */
  /* 地域：横スクロールの丸ボタン（ul.anchor-list.is-3.ru-regions） */
  .anchor-list.ru-regions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .anchor-list.ru-regions::-webkit-scrollbar {
    display: none;
  }

  .anchor-list.ru-regions > li {
    flex: 0 0 auto;
  }

  .anchor-list.ru-regions a {
    min-height: 0;
    padding: 9px 18px;
    border: 1.5px solid var(--cl-bl);
    border-radius: var(--rd-pill);
    background-color: var(--cl-wh);
    color: var(--cl-bl);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
  }

  .anchor-list.ru-regions a::after {
    display: none;
  }

  /* 国ごとのまとまり：外枠なし、国名は左に紺のバー */
  .ru-list {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .ru-country {
    border-bottom: 0;
  }

  .ru-country + .ru-country {
    margin-top: 24px;
  }

  .ru-country .fs-country-name {
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 0;
    border-radius: 6px;
    color: var(--cl-bl);
    font-size: 16px;
    line-height: 1.5;
  }

  .ru-country .fs-country-name::before {
    flex-shrink: 0;
    width: 4px;
    height: 18px;
    background-color: var(--cl-bl);
    content: "";
  }

  /* 大学：大学名とボタンを同じ行に。行の下に区切り線 */
  .ru-list .fs-univs {
    gap: 0;
    padding: 0;
  }

  .ru-list .fs-univ {
    flex-wrap: nowrap;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e3e6ec;
  }
}

/* ==========================================================================
   2026-10-14 修正分（最新Figmaとの差分対応）
   後から読み込むことで既存ルールを上書きしています。各ルールのコメントに
   NEW／REPLACES（上書き対象のセレクタ）を記載。
   ・定例報告一覧・詳細（report）
   ・Study Abroad at KGU ④ Student Life：緊急連絡先セクション（86-3）
   ・Study Abroad at KGU ①②③：Students' Voices バナー／アンカー高さ ほか
   ========================================================================== */

/* ==========================================================================
   定例報告一覧・詳細（report）2026-10-14 修正分
   --------------------------------------------------------------------------
   対象：report/index.html（定例報告一覧）／report/detail/xx.html（定例報告詳細）
   Figma：PC 一覧 1060:10604 ／ 詳細 1060:10843
   ※ 統合時は style.css「55. 定例報告」の章末に追記してください。
     url() は cms/ciec/css/ に置いた前提の相対パスで書いています。
   ※ 詳細ページは文言変更（学年「学部3年」）のみで、追加CSSはありません。
   ========================================================================== */

/* ---- 絞り込み：項目名の列幅 ----
   [OVERRIDE] .vc-filter-row（grid-template-columns: 120px 1fr / gap: 16px）
   「大学名で探す（あいうえお順）」が2行で収まるよう、Figma どおり 140px＋間隔10px に。
   参加者の声ページの .vc-filter に影響しないよう .rp-vc-filter で限定。 */
.rp-vc-filter .vc-filter-row {
  grid-template-columns: 140px 1fr;
  gap: 10px;
}

@media (max-width: 768px) {
  /* [OVERRIDE] .vc-filter-row（SP：grid-template-columns: 1fr / gap: 10px）
     上の PC 用指定が SP にも効くため、既存の SP 値に戻す */
  .rp-vc-filter .vc-filter-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* [NEW] SPでは項目名を1行に（「大学名で探す（あいうえお順）」の改行を無効化） */
  .rp-vc-filter .vc-filter-ttl br {
    display: none;
  }
}

/* ---- 一覧表：列幅（学部・研究科＋学年を1列にまとめた版） ----
   [NEW] .rp-table.is-merged th:nth-child(n)
   Figma の列幅（112 / 88 / 112 / 110 / 230 / 364）を余白込みの比率にしたもの。
   タイトル列は残り幅（最も広い）。 */
.rp-table.is-merged th:nth-child(1) {
  width: 13%;
}

.rp-table.is-merged th:nth-child(2) {
  width: 10%;
}

.rp-table.is-merged th:nth-child(3) {
  width: 12%;
}

.rp-table.is-merged th:nth-child(4) {
  width: 11%;
}

.rp-table.is-merged th:nth-child(5) {
  width: 22%;
}

/* [NEW] 年月は折り返さない（SPの横スクロール表で「2025年10月」が2行になるのを防ぐ） */
.rp-table.is-merged td:nth-child(2) {
  white-space: nowrap;
}

/* [NEW] 学部・研究科（1行目）＋学年（2行目） */
.rp-faculty,
.rp-grade {
  display: block;
}

/* ---- PDFパターンの行（総括など、詳細ページなしでPDFのみ） ---- */

/* [OVERRIDE] .rp-table tbody tr（cursor: pointer）
   PDF行は行クリックでの遷移をしないため、通常のカーソルに戻す */
.rp-table tbody tr.is-pdf {
  cursor: auto;
}

/* [NEW] タイトル（左）＋「PDFをDL」ボタン（右端） */
.rp-ttl-pdf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* [OVERRIDE] .btn.is-sm（min-height: 44px / padding: 10px 20px / font-size: 15px）
   ＋ .rp-table a（color: var(--cl-bk)）／.rp-table a:hover（下線・ネイビー文字）
   Figma のPDFボタン：高さ36px・左右16px・14px。Fact Sheet の .fs-univ .btn と同じ考え方。 */
.rp-table .btn.is-sm {
  flex-shrink: 0;
  min-height: 36px;
  padding: 6px 16px;
  gap: 4px;
  color: var(--cl-wh);
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.rp-table .btn.is-sm:hover {
  color: var(--cl-bl);
  text-decoration: none;
}

/* [OVERRIDE] .btn.is-sm .icon（18px） → Figma 16px */
.rp-table .btn.is-sm .icon {
  width: 16px;
  height: 16px;
}

/* [NEW] ホバーでイエロー地になるため、アイコンもネイビーに差し替え */
.rp-table .btn.is-sm:hover .icon-dl {
  background-image: url(../img/common/download-bl.svg);
}

@media (max-width: 768px) {
  /* [OVERRIDE] .rp-table（SP：min-width: 760px）
     タイトル列にPDFボタンが入るため、横スクロール時の表の最小幅を広げる */
  .rp-table.is-merged {
    min-width: 860px;
  }
}

/* ==========================================================================
   Study Abroad at KGU ④ 2026-10-14 修正分
   対象：study/exchange/studentlife/*.html（④ Student Life 7ページ）
   統合先：style.css 86章（.sl-）の末尾に「86-3. 緊急連絡先セクション（赤い枠）」として追加。
   統合したら 7ページの <!-- WIP: 統合時に削除 --> の <link> を削除する。
   ========================================================================== */

/* --------------------------------------------------------------------------
   86-3. 緊急連絡先セクション（赤い枠）　※すべて NEW
   Figma 更新（2026-10-14 確認）で、各ページ末尾の「Emergency Contact Information」
   セクションが薄い赤の枠で囲まれ、アイブロウが赤の「⚠ EMERGENCY CONTACT」、
   H3 の縦バーが赤になった。
   マークアップ：<section class="sk-sec sl-emg-sec" id="emergency-contact">
   既存ルール（81-7 .sk-sec-en／既存 .ttl-h3::before）は置き換えず、
   .sl-emg-sec 配下だけ色を上書きする。
   -------------------------------------------------------------------------- */

/* NEW */
.sl-emg-sec {
  padding: 48px 40px;
  border: 1px solid #f2c4c4;
  border-radius: 24px;
  background-color: #fff4f4;
}

/* NEW（81-7 .sk-sec-en の color: var(--cl-bl) をこのセクション内だけ上書き） */
.sl-emg-sec .sk-sec-en {
  color: #c62828;
}

/* NEW（既存 .ttl-h3::before の background-color: var(--cl-bl) をこのセクション内だけ上書き） */
.sl-emg-sec .ttl-h3::before {
  background-color: #c62828;
}

@media (max-width: 768px) {
  /* NEW */
  .sl-emg-sec {
    padding: 24px 16px;
    border-radius: 16px;
  }
}

/* ==========================================================================
   Study Abroad at KGU ①②③⑤ 2026-10-14 修正分
   （2026-10-11 以降の Figma 更新の反映。統合時はこのファイルの中身を style.css の
     81〜85章の該当箇所へ移し、各ページの <link ... _wip_css/kgu-update.css> を削除）
   url() は cms/ciec/css/ 内にある前提の相対パスで書いています。

   対象ページ：① study/exchange/ ② study/application/ ③ study/before_arrival/
   （⑤ study/shortprograms/ は差分なし＝このファイルを読み込んでいない）

   1. SP 関連ページカード：現在ページを紺地・白文字に（①②③）   .sk-related.is-cur-fill
   2. アンカー：1行項目の高さを Figma（PC 41px／SP 46px）に（②③）  .ap-anchor / .ba-anchor
   3. ① Students' Voices：写真3枚＋テキスト＋矢印の1枚バナー（全体リンク）  .xo-voice
   4. ② Application Procedure のリード：PC は2段落・SP は1段落      .ap-lead
   5. ③ Self-Arranged Accommodation の PDF ボタン：PC で1行に収める  .ba-btn-col
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SP 関連ページカード：現在ページを紺地・白文字に
   NEW（81-5 .sk-related のモディファイア。④ には付けていない）
   旧（81-5）：
     .sk-related-list > .is-current:not(.is-child) > a { background-color: var(--cl-pop-lbl); }
     .sk-related-list > .is-current:not(.is-child) .ttl { color: var(--cl-bl); font-weight: 700; }
   -------------------------------------------------------------------------- */
.sk-related.is-cur-fill .sk-related-list > .is-current:not(.is-child) > a {
  background-color: var(--cl-bl);
}

.sk-related.is-cur-fill .sk-related-list > .is-current:not(.is-child) .ttl {
  color: var(--cl-wh);
  font-weight: 700;
}

.sk-related.is-cur-fill .sk-related-list > .is-current:not(.is-child) .sub {
  color: #d9e5ff;
}

.sk-related.is-cur-fill .sk-related-list > .is-current:not(.is-child) > a::after {
  color: var(--cl-wh);
}

/* --------------------------------------------------------------------------
   2. アンカー（②③：番号なし・1行の項目）
   NEW（81-6 .anchor-list.sk-anchor のページ別調整。① の .xo-anchor と同じ考え方）
   旧（12章 .anchor-list a）：min-height: 60px;
   旧（81-6 SP .anchor-list.sk-anchor a）：min-height: 63px;（padding-bottom は 12章 SP の 12px）
   -------------------------------------------------------------------------- */
.anchor-list.sk-anchor.ap-anchor a,
.anchor-list.sk-anchor.ba-anchor a {
  min-height: 0;
}

@media (max-width: 768px) {
  .anchor-list.sk-anchor.ap-anchor a,
  .anchor-list.sk-anchor.ba-anchor a {
    padding-bottom: 21px;
  }
}

/* --------------------------------------------------------------------------
   3. ① Students' Voices（紺のバナー：学生写真3枚＋テキスト＋矢印。全体が1つのリンク）
   REPLACES 83-6 .xo-voice 一式（動画3本のカード .xo-voice-head / -list / -card /
   -thumb / -cap は使わなくなった。統合時に 83-6 を下記で置き換える）
   旧（83-6 抜粋）：
     .xo-voice { padding: 40px; border-radius: var(--rd-l); background-color: var(--cl-bl); color: var(--cl-wh); }
     .xo-voice-head > * + * { margin-top: 6px; }
     .xo-voice-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
     @media (max-width: 768px) { .xo-voice { padding: 28px 20px; } .xo-voice-list { grid-template-columns: 1fr; } }
   ※ .xo-voice-en / .xo-voice-ttl / .xo-voice-txt の文字指定（83-6）はそのまま使う
     （span になったので display: block を足している）
   -------------------------------------------------------------------------- */
.xo-voice {
  display: grid;
  grid-template-columns: 328px minmax(0, 1fr) 52px;
  grid-template-areas:
    "ph en  arw"
    "ph ttl arw"
    "ph txt arw";
  align-content: center;
  align-items: center;
  column-gap: 32px;
  row-gap: 6px;
  padding: 28px 32px 28px 40px;
  border-radius: 20px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.xo-voice:hover {
  opacity: 1;
}

.xo-voice-photos {
  display: flex;
  grid-area: ph;
}

.xo-voice-photos img {
  display: block;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border: 4px solid var(--cl-wh);
  border-radius: 50%;
  object-fit: cover;
}

/* PC は 16px ずつ重ねる */
.xo-voice-photos img + img {
  margin-left: -16px;
}

.xo-voice-en {
  display: block;
  grid-area: en;
  align-self: end;
}

.xo-voice-ttl {
  display: block;
  grid-area: ttl;
}

.xo-voice-txt {
  display: block;
  grid-area: txt;
  align-self: start;
}

.xo-voice-arw {
  display: flex;
  grid-area: arw;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease-out;
}

.xo-voice-arw::before {
  content: "→";
}

.xo-voice:hover .xo-voice-arw {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .xo-voice {
    grid-template-columns: minmax(0, 1fr) 44px;
    grid-template-areas:
      "ph  ph"
      "en  en"
      "ttl arw"
      "txt txt";
    column-gap: 12px;
    padding: 24px 20px;
  }

  /* 写真の下は 20px（row-gap 6px ＋ 14px） */
  .xo-voice-photos {
    gap: 10px;
    margin-bottom: 14px;
  }

  .xo-voice-photos img {
    width: 100px;
    height: 100px;
  }

  .xo-voice-photos img + img {
    margin-left: 0;
  }

  .xo-voice-arw {
    width: 44px;
    height: 44px;
  }
}

/* --------------------------------------------------------------------------
   4. ② Application Procedure のリード（PC：2段落・間 12px／SP：続けて1段落）
   NEW（以前は <br /> で改行していた）
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
  .ap-lead > span {
    display: block;
  }

  .ap-lead > span + span {
    margin-top: 12px;
  }
}

/* --------------------------------------------------------------------------
   5. ③ Self-Arranged Accommodation の PDF ボタン（PC：460px 幅で1行に収める）
   NEW（85-7 .sk-btn-row.ba-btn-col .btn に追加。幅 460px はそのまま）
   旧：既存 .btn の padding（16px 32px）で文字が2行に折り返していた
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
  .sk-btn-row.ba-btn-col .btn {
    padding-right: 16px;
    padding-left: 16px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   2026-11-04 追加：テンプレート一覧（①②③⑥⑩）  template/selection.html
   Figma PC 2202:66950 ／ SP 2202:66413
   1. 表（03）の SP 縦積み：列ごと（4月／5月…）に「見出し帯＋行見出し・値」の表に組み替える
      .tbl.is-sp-col（PC 用の表）→ common.js が直後に .tbl.tbl-spcol（SP 用）を生成
      ※セル結合（rowspan/colspan）のない表で使用
   ========================================================================== */
.tbl.tbl-spcol {
  display: none;
}

@media (max-width: 768px) {
  .tbl.is-sp-col {
    display: none;
  }

  .tbl.tbl-spcol {
    display: table;
    table-layout: fixed;
    font-size: 14px;
  }

  /* 行見出しの列：幅 130px（Figma 366 中 130） */
  .tbl.tbl-spcol .col-th {
    width: 130px;
  }

  .tbl.tbl-spcol th,
  .tbl.tbl-spcol td {
    padding: 23px 12px;
    white-space: normal;
    border-bottom: 1px solid var(--cl-bdr);
  }

  /* 列見出し（4月 など）：紺の帯 */
  .tbl.tbl-spcol th.is-head {
    padding: 12px 32px;
    background-color: var(--cl-bl);
    color: var(--cl-wh);
    font-weight: 500;
  }

  .tbl.tbl-spcol tbody th.is-row {
    width: auto;
    min-width: 0;
  }

  /* 列のまとまりの区切り：上下の罫線を重ねて 2px に */
  .tbl.tbl-spcol tbody + tbody tr:first-child th {
    border-top: 1px solid var(--cl-bdr);
  }

  .tbl.tbl-spcol tbody tr:last-child th,
  .tbl.tbl-spcol tbody tr:last-child td {
    border-bottom: 1px solid var(--cl-bdr);
  }
}

.main-col > .forcms_block + .forcms_block {
  margin-top: 40px;
}

.free-area-img {
  display: flex;
  align-items: center;
  justify-content: center;

  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}

body:has(.breadcrumbremove) li.breadcrumb  {
  &> span:nth-last-child(2),
  &> span:nth-last-child(3) {
    display: none;
  }
}

/* ==========================================================================
   2026-11-05 TOPページ：Figma（デザイン案 PC - トップ 704:5705／SP- トップ 803:6617）に合わせる調整
   ・既存ルールの後ろに書いて上書きしている（後勝ち）。TOP 以外にも効くのは「共通」と書いたものだけ。
   ・PC の数値は Figma の実寸（1440px 幅）。
   ========================================================================== */

/* ---- 画面幅いっぱい（左右12px・最大1416px）に広げるリスト ---- */
.top-wide {
  margin-inline: calc((100% - min(1416px, var(--vw, 100vw) - 24px)) / 2);
}

/* ---- 右端の黄色い四角の矢印ボタン（Figma：40px・角丸10・矢印18px） ---- */
.top-arw-btn,
.art-list.is-top .art-arw {
  width: 40px;
  height: 40px;
  border-radius: var(--rd-m);
  background-size: 18px 18px;
}

/* ---- TOP の見出し（Figma pc_h2：45px／英字ラベル Lilita One 20px） ---- */
.top-sec .sec-head .label {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--rd-m);
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.top-sec .sec-head .lead {
  margin-top: 32px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

@media (min-width: 769px) {
  .top-sec .sec-head {
    margin-bottom: 48px;
  }

  .top-sec .sec-head .ttl {
    font-size: 45px;
    line-height: 1.4;
    letter-spacing: var(--ls-1);
  }

  /* 新着情報・イベントカレンダーは 36px */
  .top-panel .sec-head {
    margin-bottom: 24px;
  }

  .top-panel .sec-head .ttl {
    font-size: 36px;
  }

  .top-panel .sec-head .lead {
    margin-top: 24px;
  }
}

/* ---- CIEC NEWS（Figma：右端からはみ出す枠・下に黄色の影・タイトル Lilita One 40px） ---- */
.top-news {
  overflow-x: clip;
}

@media (min-width: 769px) {
  .top-news-box {
    width: calc(100% * 906 / 1416);
    max-width: none;
    /* Figma は画面の右端より 26px 外まで伸びている（.container の左右12pxを含めて -38px） */
    margin-right: -38px;
    padding: 32px 146px 32px 40px;
    border-radius: var(--rd-xl) 0 0 var(--rd-xl);
    box-shadow: 0 10px 0 0 var(--cl-yl);
  }

  .top-news-box:hover {
    box-shadow: 0 16px 0 0 var(--cl-yl);
  }

  .top-news-char {
    left: calc(100% * 382 / 906);
    width: 103px;
    margin-bottom: -64px;
  }

  .top-news-en {
    font-family: var(--ff-en);
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
  }

  .top-news-ttl {
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: var(--ls-2);
  }

  .top-news-txt {
    margin-top: 10px;
    color: var(--cl-bk);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .top-news-box .top-arw-btn {
    right: 66px;
  }
}

/* ---- どんな留学がしたいですか？（Figma：カード254×262・影10px・5枚で1416px） ---- */
.top-sec .find-card-ttl {
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.top-sec .find-card-ttl em {
  font-size: 22px;
  font-style: normal;
  line-height: 1.5;
}

.top-sec .find-card-ttl small {
  font-size: 15px;
  line-height: 1.7;
}

@media (min-width: 769px) {
  .top-sec .find-list {
    gap: 24px;
  }

  .top-sec .find-list > li {
    display: flex;
  }

  .top-sec .find-card {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 10px 10px 0;
    padding: 40px 24px 24px;
    box-shadow: 10px 10px 0 0 var(--cl-yl);
  }

  .top-sec .find-card:hover {
    box-shadow: 16px 16px 0 0 var(--cl-yl);
  }

  .top-sec .find-card-ttl {
    margin-top: 24px;
  }

  .top-sec .find-card-sub {
    margin-top: 8px;
    margin-bottom: 16px;
    color: var(--cl-bk);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  /* 矢印は右下（中身が短くても下端にそろえる） */
  .top-sec .find-card .top-arw-btn {
    position: static;
    align-self: flex-end;
    margin-top: auto;
  }
}

/* ---- 関西学院大学ならではの特徴的なプログラム（Figma：340px のカードを ±5° で交互に傾け、3px ずつ重ねる） ---- */
.pv-num {
  font-family: var(--ff-num);
}

@media (min-width: 769px) {
  .cards-wrap {
    max-width: 1398px;
  }

  .cards-row {
    margin-top: 0;
    padding: 27px 0 14px;
  }

  .cards-row > .pv-card + .pv-card {
    margin-left: -3px;
  }

  .pv-card:nth-child(1) { margin-top: 26px; transform: rotate(5deg); }
  .pv-card:nth-child(2) { margin-top: 26px; transform: rotate(-5deg); }
  .pv-card:nth-child(3) { margin-top: 26px; transform: rotate(5deg); }
  .pv-card:nth-child(4) { margin-top: 0;    transform: rotate(-5deg); }

  .pv-card-body {
    min-height: 261px;
    padding: 32px 24px 32px 32px;
  }
}

/* ---- グローバルチャレンジ（Figma：吹き出し22px紺・サブ28px・見出し45px・カード366×219＋緑の影10px） ---- */
.top-gc-balloon {
  padding: 10px 16px;
  color: var(--cl-bl);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

/* しっぽは「特徴的なプログラム」の吹き出しと同じ形 */
.top-gc-balloon::after {
  top: auto;
  bottom: -14px;
  left: 33px;
  width: 18px;
  height: 16px;
  border: 0;
  background: url(../img/top/bubble-tail.svg) no-repeat center / contain;
}

.gc-card-ttl small {
  font-size: 20px;
  letter-spacing: var(--ls-2);
}

@media (min-width: 769px) {
  .top-gc {
    padding: 100px 0 71px;
  }

  .top-gc-sub {
    margin-top: 30px;
    font-size: 28px;
    letter-spacing: var(--ls-1);
  }

  .top-gc-ttl {
    margin-top: 16px;
    font-size: 45px;
  }

  .top-gc .txt {
    margin-top: 40px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .top-gc .btn-area {
    margin-top: 40px;
  }

  .gc-list {
    gap: 14px;
    margin-top: 40px;
  }

  .gc-card {
    gap: 24px;
    min-height: 219px;
    margin: 0 10px 10px 0;
    padding: 40px;
    border-radius: var(--rd-l);
    box-shadow: 10px 10px 0 0 var(--cl-pop-gr);
  }

  .gc-card:hover {
    box-shadow: 16px 16px 0 0 var(--cl-pop-gr);
  }

  .gc-card-ttl {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: var(--ls-2);
  }

  .gc-card-ttl em {
    font-size: 32px;
    letter-spacing: var(--ls-1);
  }

  .gc-card-txt {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }
}

/* ---- 先輩たちのリアルな体験談（Figma：左370px・カード350px＋水色の影10px・右は画面の端まで） ---- */
/* 「全文を読む →」は1行（矢印が別の行に落ちないように） */
.vo-scroller .art-card-more {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

.vo-scroller .art-card-tags span {
  padding: 5px 10px 6px;
  font-size: 14px;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .top-voice-layout {
    grid-template-columns: 370px 1fr;
    gap: 128px;
  }

  .top-voice-layout > :first-child {
    padding-top: 46px;
  }

  .top-voice-layout .btn-area .btn {
    width: 370px;
  }

  /* 右側（カード）は画面の右端まで伸ばす */
  .top-voice-layout > :last-child {
    margin-right: min(0px, (1176px - var(--vw, 100vw)) / 2);
  }

  .vo-scroller {
    gap: 16px;
    padding-bottom: 10px;
  }

  .vo-scroller .art-card {
    flex: 0 0 350px;
    margin: 0 10px 0 0;
    overflow: visible;
    background-color: transparent;
    box-shadow: 10px 10px 0 0 var(--cl-pop-bl);
  }

  .vo-scroller .art-card:hover {
    box-shadow: 10px 10px 0 0 var(--cl-pop-bl);
  }

  .vo-scroller .art-card-thumb {
    border-radius: var(--rd-l) var(--rd-l) 0 0;
    aspect-ratio: 350 / 197;
  }

  .vo-scroller .art-card-body {
    min-height: 272px;
    padding: 32px;
    border-radius: 0 0 var(--rd-l) var(--rd-l);
    background-color: var(--cl-pop-lbl);
  }

  .vo-scroller .art-card-dest {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .vo-scroller .art-card-ttl {
    margin-top: 0;
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: var(--ls-2);
  }

  .vo-scroller .art-card-meta {
    margin-top: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .vo-scroller .art-card-more {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .vo-nav {
    gap: 16px;
    margin-top: 31px;
    padding-right: 40px;
  }

  .vo-nav button {
    width: 48px;
    height: 48px;
    background-size: 20px 20px;
  }
}

/* ---- 新着情報・イベントカレンダー（Figma：カード 角丸20・余白24/32、タイトル16px、タグ14px） ---- */
.top-panel .top-cats {
  position: relative;
  align-items: center;
  gap: 0;
}

/* 右端に「まだ続く」の ▶ を固定表示 */
.top-panel .top-cats::after {
  content: "";
  position: sticky;
  right: 0;
  flex: 0 0 20px;
  height: 20px;
  margin-left: auto;
  background: url(../img/top/arrow-right-s-fill.svg) no-repeat center / contain;
}

.top-panel .top-cats a {
  padding: 8px 16px;
  font-size: 15px;
  line-height: 1.2;
}

.top-panel .top-cats a.is-current {
  font-size: 16px;
  line-height: 1.3;
}

.art-list.is-top .art-date {
  font-family: var(--ff-num);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.art-list.is-top .art-cat,
.art-list.is-top .art-new,
.art-list.is-top .art-status {
  padding: 5px 10px 6px;
  border-radius: var(--rd-s);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.art-list.is-top .art-cat,
.art-list.is-top .art-new {
  color: var(--cl-bl);
}

@media (min-width: 769px) {
  .top-panel .top-cats {
    margin-top: 0;
  }

  .art-list.is-top {
    margin-top: 24px;
  }

  .art-list.is-top > li + li {
    margin-top: 16px;
  }

  .art-list.is-top .art-link {
    padding: 24px 96px 24px 32px;
    border-radius: var(--rd-l);
  }

  .art-list.is-top .art-meta {
    gap: 10px;
  }

  .art-list.is-top .art-ttl {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .art-list.is-top .art-place {
    margin-top: 4px;
    color: var(--cl-gy);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
  }

  .art-list.is-top .art-arw {
    right: 32px;
  }

  .top-panel .link-arw {
    margin-top: 24px;
    font-size: 16px;
  }
}

/* ---- Instagram（Figma：1416px 幅・写真216px・隙間24px・2ブロックの間100px） ---- */
@media (min-width: 769px) {
  .insta-block {
    gap: 24px;
  }

  .insta-block + .insta-block {
    margin-top: 100px;
  }

  .insta-photo,
  .insta-account {
    border-radius: var(--rd-l);
  }

  .insta-account {
    gap: 32px;
    font-size: 20px;
  }

  .insta-account img {
    width: 72px;
    height: 72px;
  }
}

/* ---- 動画でもっと知る（Figma：1416px 幅・カード446px＋水色の影10px） ---- */
.mv-card-badge {
  padding: 5px 10px 6px;
  font-family: var(--ff-base);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 769px) {
  .mv-list {
    gap: 14px;
  }

  .top-sec .mv-list + .btn-area {
    margin-top: 40px;
  }

  .mv-card {
    margin: 0 10px 10px 0;
    overflow: visible;
    background-color: transparent;
    box-shadow: 10px 10px 0 0 var(--cl-pop-bl);
  }

  .mv-card:hover {
    box-shadow: 10px 10px 0 0 var(--cl-pop-bl);
  }

  .mv-card-thumb {
    border-radius: var(--rd-l) var(--rd-l) 0 0;
    aspect-ratio: 446 / 251;
  }

  .mv-card-thumb::after {
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
  }

  .mv-card-body {
    min-height: 130px;
    padding: 32px 40px;
    border-radius: 0 0 var(--rd-l) var(--rd-l);
    background-color: var(--cl-pop-lbl);
  }

  .mv-card-cat {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .mv-card-ttl {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: var(--ls-2);
  }
}

/* ---- 【全ページ共通】フッター（Figma：左右12pxの余白・外部リンクは白いアイコン・規約リンクの間に縦線） ---- */
.footer-main {
  margin-inline: max(12px, (100% - 1416px) / 2);
}

/* 紺地に紺のアイコンで見えていなかったので白に */
.footer-nav-list a .ext {
  background-image: url(../img/common/ext-link-wh.svg);
}

.footer-util {
  align-items: center;
}

.footer-util .line {
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

/* ---- MV（Figma mv 704:6928：写真の位置・傾き・影の色・切り抜き） ---- */
@media (min-width: 769px) {
  .top-hero-copy {
    top: 13.72%;
    left: 50.12%;
    width: 61.63%;
  }

  /* Figma の影は右に10px・下に15px */
  .top-hero-photo::before {
    inset: 15px -10px -15px 10px;
  }

  .hp1 { top: 41.92%; left: 10.00%; width: 27.78%; aspect-ratio: 400 / 300; --rot: -15deg;    --sh: #9be86f; }
  .hp2 { top: 81.53%; left: 7.04%;  width: 27.78%; aspect-ratio: 400 / 300; --rot: 6.82deg;   --sh: var(--cl-yl); }
  .hp3 { top: 53.81%; left: 25.68%; width: 20.83%; aspect-ratio: 300 / 400; --rot: -8.13deg;  --sh: var(--cl-bl); }
  .hp4 { top: 68.40%; left: 46.51%; width: 27.78%; aspect-ratio: 400 / 300; --rot: 10.4deg;   --sh: #ff9b66; }
  .hp5 { top: 50.25%; left: 65.68%; width: 20.83%; aspect-ratio: 300 / 400; --rot: -4.06deg;  --sh: #ffcee1; }
  .hp6 { top: 69.71%; left: 88.27%; width: 27.78%; aspect-ratio: 400 / 300; --rot: -12.14deg; --sh: var(--cl-pop-bl); }
  .hp7 { top: 32.59%; left: 95.03%; width: 27.78%; aspect-ratio: 400 / 300; --rot: 6.82deg;   --sh: var(--cl-yl); }

  /* 写真の切り抜き（Figma の画像の拡大率と位置をそのまま % で指定） */
  .top-hero-img {
    display: block;
    position: relative;
    z-index: 1;
    height: 100%;
    overflow: hidden;
    border-radius: var(--rd-l);
  }

  .top-hero-img img {
    position: absolute;
    max-width: none;
    border-radius: 0;
    object-fit: fill;
  }

  .hp1 img { left: -26.45%; top: -19.53%; width: 140.76%; height: 128.56%; }
  .hp2 img { left: -18.87%; top: -4.79%;  width: 120.5%;  height: 110.06%; }
  .hp3 img { left: -40.21%; top: -7.25%;  width: 222.87%; height: 114.5%; }
  .hp4 img { left: -8.15%;  top: -2.56%;  width: 118.79%; height: 108.5%; }
  .hp5 img { left: -26.56%; top: -10.28%; width: 222.87%; height: 114.5%; }
  .hp6 img { left: -29.59%; top: -10.18%; width: 165.22%; height: 150.9%; }
  .hp7 img { left: -20.37%; top: -2.54%;  width: 122.12%; height: 111.54%; }
}

/* SP は従来どおり枠いっぱいに表示 */
@media (max-width: 768px) {
  .top-hero-img {
    display: block;
    position: relative;
    z-index: 1;
    height: 100%;
  }
}

/* ---- セクション間の余白（Figma の縦位置に合わせる。PCのみ） ----
   各セクションの padding は HTML の style 属性（幅に対する %）で指定しているため、ここでは !important で上書きする */
@media (min-width: 769px) {
}

@media (min-width: 769px) {
  /* CIEC NEWS は MV の下端から 104px 上に重なる（Figma：枠の上端 836／MV下端 940） */
  .top-news {
    margin-top: -7.22%;
  }


  /* 動画の「すべての動画を見る」→ SNS バナーまで 100px */
  .main:has(.top-hero) ~ .footer {
    margin-top: -49px;
  }
}

@media (min-width: 769px) {
  /* 「留学相談はこちら」→「特徴的なプログラム」の吹き出しまで 40px */
  .top-cards {
    padding-top: 37px;
  }
}

@media (min-width: 769px) {
  /* 「プログラムを探す」を1行に */
  .gc-card-ttl {
    white-space: nowrap;
  }


  /* 「もっと見る」は右寄せ */
  .top-panel .link-arw {
    display: flex;
  }
}

@media (min-width: 769px) {
  /* 動画の一覧を .mv-wrap で囲んだので、ボタンとの間隔をこちらで指定 */
  .top-sec .mv-wrap + .btn-area {
    margin-top: 40px;
  }

  /* グローバルチャレンジの吹き出し（PC は Figma の 22px 紺） */
  .top-gc-balloon {
    font-size: 22px;
  }
}

/* ==========================================================================
   2026-11-05 TOPページ SP（Figma SP- トップ 803:6617／390px 幅）
   ========================================================================== */
@media (max-width: 768px) {
  /* ---- 見出し（Figma sp_h2：26px／英字ラベル Lilita One 20px） ---- */
  .top-sec .sec-head {
    margin-bottom: 32px;
  }

  .top-sec .sec-head .ttl {
    font-size: 26px;
    line-height: 1.5;
    letter-spacing: var(--ls-2);
  }

  .top-sec .sec-head .label {
    margin-top: 16px;
    padding: 8px 12px;
    font-size: 20px;
  }

  .top-sec .sec-head .lead {
    margin-top: 32px;
  }

  /* 「どんな留学がしたいですか？」の英字は 16px・2行 */
  .top-sec:has(.find-list) .sec-head .label {
    font-size: 16px;
    line-height: 1.2;
  }

  .top-sec .btn-area .btn {
    width: 100%;
    height: 56px;
    font-size: 17px;
  }

  /* グローバルチャレンジの吹き出しは SP では従来の大きさ */
  .top-gc-balloon {
    padding: 8px 14px;
    font-size: 15px;
  }

  /* ---- MV（Figma mv 803:9456） ---- */
  .top-hero-canvas {
    aspect-ratio: 390 / 551;
  }

  .top-hero-copy {
    left: 5.64%;
    width: 86.71%;
    margin-top: -5.13%;
  }

  /* 黄色い帯：Figma の座標（1000×317 を -8.42° 回転）を 390px 基準の比率で置く */
  .top-hero-wave-sp {
    display: block;
    position: absolute;
    z-index: 0;
    top: calc(var(--vw, 100vw) * 36 / 390);
    left: calc(var(--vw, 100vw) * -357.61 / 390);
    width: calc(var(--vw, 100vw) * 1032.84 / 390);
    max-width: none;
    height: auto;
    transform: rotate(-8.42deg);
    transform-origin: 49.95% 49.76%;
    pointer-events: none;
  }

  /* Figma の影は右に5px・下に10px */
  .top-hero-photo::before {
    inset: 10px -5px -10px 5px;
  }

  .hp1 { left: -14.90%; margin-top: 75.70%;  width: 44.44%; aspect-ratio: 173 / 130; --rot: -15deg;    --sh: #9be86f; }
  .hp2 { left: 7.78%;   margin-top: 94.75%;  width: 44.44%; aspect-ratio: 173 / 130; --rot: -3.05deg;  --sh: var(--cl-yl); }
  .hp3 { left: 71.44%;  margin-top: 72.65%;  width: 33.33%; aspect-ratio: 130 / 173; --rot: -8.13deg;  --sh: var(--cl-bl); }
  .hp4 { left: 32.13%;  margin-top: 56.30%;  width: 44.44%; aspect-ratio: 173 / 130; --rot: 10.4deg;   --sh: #ff9b66; }
  .hp5 { left: 3.56%;   margin-top: 30.33%;  width: 33.33%; aspect-ratio: 130 / 173; --rot: -10.37deg; --sh: #ffcee1; }
  .hp6 { left: 46.34%;  margin-top: 109.17%; width: 44.44%; aspect-ratio: 173 / 130; --rot: -12.14deg; --sh: var(--cl-pop-bl); }
  .hp7 { left: 67.46%;  margin-top: 29.19%;  width: 44.44%; aspect-ratio: 173 / 130; --rot: 6.82deg;   --sh: var(--cl-yl); }

  /* 写真の切り抜きは PC と同じ比率 */
  .top-hero-img {
    overflow: hidden;
    border-radius: var(--rd-l);
  }

  .top-hero-img img {
    position: absolute;
    max-width: none;
    border-radius: 0;
    object-fit: fill;
  }

  .hp1 img { left: -26.45%; top: -19.53%; width: 140.76%; height: 128.56%; }
  .hp2 img { left: -18.87%; top: -4.79%;  width: 120.5%;  height: 110.06%; }
  .hp3 img { left: -40.21%; top: -7.25%;  width: 222.87%; height: 114.5%; }
  .hp4 img { left: -8.15%;  top: -2.56%;  width: 118.79%; height: 108.5%; }
  .hp5 img { left: -26.56%; top: -10.28%; width: 222.87%; height: 114.5%; }
  .hp6 img { left: -29.59%; top: -10.18%; width: 165.22%; height: 150.9%; }
  .hp7 img { left: -20.37%; top: -2.54%;  width: 122.12%; height: 111.54%; }

  /* ---- CIEC NEWS（Figma：右端から24px はみ出す・下に黄色の影・タイトル Lilita One 28px） ---- */
  .top-news {
    margin-top: 0;
  }

  .top-news-box {
    margin-right: -36px;
    padding: 24px 90px 24px 24px;
    border-radius: var(--rd-l) 0 0 var(--rd-l);
    box-shadow: 10px 10px 0 0 var(--cl-yl);
  }

  .top-news-char {
    right: auto;
    left: calc(100% * 177 / 402);
    width: 60px;
    margin-bottom: -52px;
  }

  .top-news-en {
    font-family: var(--ff-en);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .top-news-ttl {
    margin-top: 0;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .top-news-txt {
    margin-top: 3px;
    color: var(--cl-bk);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .top-news-box .top-arw-btn {
    right: 40px;
  }

  /* ---- どんな留学がしたいですか？（Figma：カード168×213＋影10px・2列） ---- */
  .top-sec .find-list {
    gap: 10px;
  }

  .top-sec .find-list > li {
    display: flex;
  }

  .top-sec .find-card {
    flex: 1 1 auto;
    min-height: 213px;
    margin: 0 10px 10px 0;
    padding: 30px 16px 16px;
    box-shadow: 10px 10px 0 0 var(--cl-yl);
  }

  .top-sec .find-card-icon {
    height: 40px;
  }

  .top-sec .find-card-ttl {
    margin-top: 10px;
  }

  .top-sec .find-card-ttl em {
    font-size: 20px;
  }

  .top-sec .find-card-ttl small {
    font-size: 14px;
  }

  .top-sec .find-card-sub {
    margin-top: 3px;
    margin-bottom: 10px;
    color: var(--cl-bk);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .top-sec .find-card .top-arw-btn {
    position: static;
    align-self: flex-end;
    width: 36px;
    height: 36px;
    margin-top: auto;
    background-size: 16px 16px;
  }

  .top-sec .find-list + .btn-area {
    margin-top: 32px;
  }

  /* ---- 先輩たちのリアルな体験談（Figma：見出し→説明→カード→前へ次へ→ボタンの順） ---- */
  .top-voice-layout {
    gap: 0;
  }

  .top-voice-layout > :first-child {
    display: contents;
  }

  .top-voice-layout .sec-head { order: 1; }
  .top-voice-layout > :last-child { order: 2; }
  .top-voice-layout .btn-area { order: 3; margin-top: 40px; }

  .top-voice-layout .sec-head {
    margin-bottom: 29px;
  }

  /* カードは画面の右端まで */
  .top-voice-layout > :last-child {
    margin-right: -12px;
  }

  .vo-scroller {
    gap: 16px;
    padding-bottom: 10px;
  }

  .vo-scroller .art-card {
    flex: 0 0 300px;
    margin: 0 10px 0 0;
    overflow: visible;
    background-color: transparent;
    box-shadow: 10px 10px 0 0 var(--cl-pop-bl);
  }

  .vo-scroller .art-card:hover {
    box-shadow: 10px 10px 0 0 var(--cl-pop-bl);
  }

  .vo-scroller .art-card-thumb {
    border-radius: var(--rd-l) var(--rd-l) 0 0;
    aspect-ratio: 300 / 169;
  }

  .vo-scroller .art-card-body {
    min-height: 233px;
    padding: 16px 16px 24px;
    border-radius: 0 0 var(--rd-l) var(--rd-l);
    background-color: var(--cl-pop-lbl);
  }

  .vo-scroller .art-card-dest {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .vo-scroller .art-card-ttl {
    margin-top: 0;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .vo-scroller .art-card-meta {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
  }

  .vo-scroller .art-card-more {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
  }

  /* 前へ／次へは右寄せ・48px */
  .vo-nav {
    justify-content: flex-end;
    gap: 16px;
    margin-top: 6px;
    padding-right: 12px;
  }

  .vo-nav button {
    width: 48px;
    height: 48px;
    background-size: 20px 20px;
  }

  /* ---- 新着情報・イベントカレンダー（Figma：背景を画面の左／右端まで伸ばし、上下40px重ねる） ---- */
  .top-panel {
    padding: 80px 24px;
  }

  .top-panel.is-topics {
    margin-left: -34px;
    padding-left: 58px;
    border-radius: 0 var(--rd-xl) var(--rd-xl) 0;
  }

  .top-panel.is-events {
    margin-right: -34px;
    padding-right: 58px;
    border-radius: var(--rd-xl) 0 0 var(--rd-xl);
  }

  .ne-row .top-sec:has(> .is-events) {
    position: relative;
    z-index: 1;
    margin-top: -40px;
    padding-top: 0;
  }

  .top-panel .sec-head {
    margin-bottom: 24px;
  }

  .top-panel .sec-head .lead {
    margin-top: 24px;
  }

  /* 日付だけで1行、タグは次の行 */
  .art-list.is-top .art-meta {
    flex-wrap: wrap;
    gap: 10px;
  }

  .art-list.is-top .art-date {
    flex-basis: 100%;
  }

  .art-list.is-top .art-link {
    padding: 16px 72px 16px 16px;
    border-radius: var(--rd-l);
  }

  .art-list.is-top .art-ttl {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .art-list.is-top .art-place {
    margin-top: 4px;
    color: var(--cl-gy);
    font-size: 14px;
    line-height: 1.7;
  }

  .art-list.is-top .art-arw {
    right: 16px;
  }

  .top-panel .link-arw {
    display: flex;
    margin-top: 24px;
    font-size: 16px;
  }

  /* ---- Instagram（Figma：写真116px×3列・アカウント枠は2×2マス・吹き出し付き・ブロックの間64px） ---- */
  .insta-block {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    gap: 9px;
  }

  .insta-block + .insta-block {
    margin-top: 64px;
  }

  .insta-block .insta-account,
  .insta-block.is-right .insta-account,
  .insta-block.is-left .insta-account {
    position: relative;
    grid-row: 1 / 3;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    border-radius: var(--rd-l);
    aspect-ratio: 1 / 1;
    font-family: var(--ff-en);
    font-size: 20px;
    font-weight: 400;
  }

  .insta-block.is-right .insta-account {
    grid-column: 2 / 4;
    background-color: #ffe9d2;
  }

  .insta-block.is-left .insta-account {
    grid-column: 1 / 3;
  }

  .insta-account img {
    width: 64px;
    height: 64px;
  }

  .insta-photo {
    border-radius: var(--rd-m);
  }

  /* 枠の右上の吹き出し */
  .insta-bubble {
    position: absolute;
    top: 11px;
    left: calc(100% * 117 / 241);
    width: 113px;
    height: 73px;
    padding-top: 26px;
    background: url(../img/top/insta-bubble.svg) no-repeat center / contain;
    color: var(--cl-bl);
    font-family: var(--ff-en);
    font-size: 18px;
    line-height: 1;
    text-align: center;
  }

  /* ---- 動画でもっと知る（Figma：カード300px の横スクロール＋前へ／次へ） ---- */
  .mv-wrap {
    margin-right: -12px;
  }

  .mv-list {
    display: flex;
    gap: 16px;
    margin-inline: 0;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mv-list::-webkit-scrollbar {
    display: none;
  }

  .mv-card {
    flex: 0 0 300px;
    margin-right: 10px;
    overflow: visible;
    background-color: transparent;
    box-shadow: 10px 10px 0 0 var(--cl-pop-bl);
    scroll-snap-align: start;
  }

  .mv-card-thumb {
    border-radius: var(--rd-l) var(--rd-l) 0 0;
    aspect-ratio: 300 / 169;
  }

  .mv-card-thumb::after {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
  }

  .mv-card-body {
    min-height: 126px;
    padding: 16px 16px 24px;
    border-radius: 0 0 var(--rd-l) var(--rd-l);
    background-color: var(--cl-pop-lbl);
  }

  .mv-card-cat {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .mv-card-ttl {
    margin-top: 0;
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: var(--ls-2);
  }

  .mv-wrap .vo-nav {
    margin-top: 6px;
  }

  .top-sec .mv-wrap + .btn-area {
    margin-top: 40px;
  }
}

/* 文字詰め（Figma の palt）：カードのタイトルが1行に収まるように */
.top-sec .find-card-ttl,
.gc-card-ttl,
.top-news-en,
.top-news-ttl {
  font-feature-settings: "palt" 1;
}

@media (max-width: 768px) {
  /* グローバルチャレンジ → 体験談の見出しまで 187px（イラストと見出しが重ならないように） */
  .top-sec:has(.top-voice-layout) {
    padding-top: 187px !important;
  }
}

/* Figma の枠線は幅に含まれない（内側に描かれる）ため、2px の枠線ぶん内側の余白を減らして文字の入る幅を合わせる */
@media (min-width: 769px) {
  .top-sec .find-card {
    padding: 38px 22px 22px;
  }

  .gc-card {
    padding: 38px;
  }

  .top-news-box {
    padding: 30px 144px 30px 38px;
  }
}

@media (max-width: 768px) {
  .top-sec .find-card {
    padding: 28px 14px 14px;
  }

  .top-news-box {
    padding: 22px 88px 22px 22px;
  }

  /* CIEC NEWS → 「どんな留学がしたいですか？」の見出しまで 180px */
  .top-sec:has(.find-list) {
    padding-top: 164px !important;
  }

  /* 【全ページ共通】SP フッター（Figma sp_footer：内側の余白 上56・左右24・下60） */
  .footer-main {
    padding: 56px 24px 60px;
  }
}

/* 体験談・動画のカード：高さをそろえたときに水色の背景が下まで届くように */
.vo-scroller .art-card,
.mv-card {
  display: flex;
  flex-direction: column;
}

.vo-scroller .art-card-body,
.mv-card-body {
  flex: 1 1 auto;
}

@media (max-width: 768px) {
  /* 【全ページ共通】言語ボタン4つを1行に（左右の余白を 24px にしたぶん、ボタン内の余白を詰める） */
  .footer-lang a {
    padding-inline: 9px;
  }
}

@media (max-width: 768px) {
  /* 【全ページ共通】フッターの左右余白は 390px 幅で Figma の 24px。狭い画面では 16px まで詰める */
  .footer-main {
    padding-inline: max(16px, (100vw - 342px) / 2);
  }
}

/* グローバルチャレンジのカード：中間の画面幅ではみ出さないように（1行固定は 1240px 以上のときだけ） */
@media (min-width: 769px) {
  .gc-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gc-card-ttl {
    white-space: normal;
  }
}

@media (min-width: 1240px) {
  .gc-card-ttl {
    white-space: nowrap;
  }
}

/* ---- 2026-11-05 修正：体験談の位置（道・イラストごと上へ寄せる。PCのみ） ----
   セクションの padding は道・イラストの配置の基準なので変えず、セクション全体を上へずらす。
   重なり順は Figma と同じ「道 → グローバルチャレンジの緑パネル → 校舎などのイラスト」。 */
@media (min-width: 769px) {
  /* 位置・余白は下の「修正指示（P1・P4）」で上書き */
}

/* ==========================================================================
   2026-11-05 修正指示（CIEC_TOP_Figma-ローカル_修正指示_20261105.xlsx）対応
   ========================================================================== */
@media (min-width: 769px) {
  /* P1・P4：体験談セクションの位置と高さ。
     道は同じ画像を上端基準・下端基準で2枚重ねているので、
     セクションの高さが約 1000px（1440幅）のとき2枚がぴったり重なり、1本の道に見える。
     Figma：校舎の上端 y3312／見出し y3683／新着情報の上端 y4380 */
  .top-sec:has(.top-voice-layout) {
    margin-top: max(-5.76%, -83px);
    padding-top: min(21.6%, 311px) !important;
    padding-bottom: min(7.64%, 110px) !important;
  }

  /* 新着情報・イベントのブロック上端の余白（88px → 69px）。体験談のボタンから新着情報まで 175px */
  .ne-row > .forcms_block > .top-sec {
    padding-top: 76px;
  }

  /* 重なり順：道 → グローバルチャレンジの緑パネル → 校舎・人 → 導線カード */
  .top-sec:has(.top-voice-layout) > .top-deco {
    z-index: auto;
  }
  .top-sec:has(.top-voice-layout) > .top-deco > .top-deco-inner {
    z-index: -1;
  }
  .top-sec:has(.top-voice-layout) > .top-deco > .top-deco-item {
    z-index: 2;
  }
  .top-gc .gc-card {
    position: relative;
    z-index: 3;
  }


  /* P3：体験談カードの引用文は3行で省略し、カードの高さを 469px にそろえる */
  .vo-scroller .art-card-ttl {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  /* P7：イベントカレンダーの下から右へ抜ける道と茂み（Figma の 道 Vector 6／茂み x921 y5481）。
     位置は新着情報パネルの上端（Figma y4380）からの距離 */
  .ne-row {
    position: relative;
    overflow: visible;
    overflow-x: clip;
  }
  .ne-deco {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
    --ref: min(100%, 1440px);
  }
  .ne-deco img {
    position: absolute;
    top: 0;
    max-width: none;
    height: auto;
  }
  .ne-deco-road {
    left: calc(50% + var(--ref) * -413 / 1440);
    width: calc(var(--ref) * 2005 / 1440);
    margin-top: calc(var(--ref) * 704 / 1440 + 83px);
  }
  .ne-deco-bush {
    left: calc(50% + var(--ref) * 201 / 1440);
    width: calc(var(--ref) * 68 / 1440);
    margin-top: calc(var(--ref) * 1101 / 1440 + 83px);
  }

  /* P8：Instagram のアカウント名 */
  .insta-account span {
    font-family: var(--ff-en);
    font-size: 24px;
    font-weight: 400;
  }

  /* P10：フッターメニューの間隔 40px（見出し→1項目目 60px） */
  .footer-nav-ttl {
    margin-bottom: 29px;
  }
  .footer-nav-list li + li {
    margin-top: 11px;
  }

  /* P11：外部リンクのアイコンは列の右端にそろえる */
  .footer-nav-list a:has(.ext) {
    display: inline-flex;
    width: 100%;
    justify-content: space-between;
  }
}

/* P2：導線カードの説明文の幅（改行位置を Figma に合わせる）。
   カードに幅の余裕がある 1240px 以上だけ。狭い画面で固定するとカードからはみ出す */
@media (min-width: 1240px) {
  .gc-card-txt {
    width: 222px;
  }
}

/* P5：イベントカレンダーの背景色（PC・SP共通） */
.top-panel.is-events {
  background-color: #fefdc8;
}

/* P6：「もっと見る」に下線（PC・SP共通） */
.top-panel .link-arw {
  text-decoration: underline;
}

@media (max-width: 768px) {
  /* S1〜S3：SP の背景イラスト。
     PC用の .top-deco を縮めると Figma の約半分の大きさになるため、SP は専用の配置（.sp-deco）に差し替える。
     座標は Figma SP（390幅）の値を var(--vw) で比率にしている（HTML の style 属性） */
  .main:has(.top-hero) .top-sec > .top-deco {
    display: none;
  }
  .sp-deco {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
    z-index: 0;
  }
  .sp-deco img,
  .ne-deco img {
    position: absolute;
    max-width: none;
    height: auto;
  }

  /* 体験談：グローバルチャレンジ下端→見出し 187px（Figma）。
     ボタン下端→新着情報 212px。イラストが上下にはみ出すので縦は隠さない */
  .top-sec:has(.top-voice-layout) {
    padding-top: 155px !important;
    padding-bottom: 156px !important;
    overflow: visible;
    overflow-x: clip;
  }
  /* 基準は見出しの上端（padding 155 ＋ 見出し上の余白 32） */
  .sp-deco.is-voice-top {
    top: 187px;
    z-index: auto;
  }
  /* 重なり順：道 → グローバルチャレンジの緑パネル → 校舎・人 */
  .sp-deco.is-voice-top img {
    z-index: 2;
  }
  .sp-deco.is-voice-top img:first-child {
    z-index: -1;
  }
  .sp-deco.is-voice-bottom {
    top: 100%;
  }

  /* 動画：Instagram の下端→見出し 222px（Figma）。道・イラストはこの余白に置く */
  .top-sec:has(.mv-wrap) {
    padding-top: 190px !important;
    overflow: visible;
    overflow-x: clip;
  }

  /* イベントカレンダーの下から右へ抜ける道と茂み（基準はイベントカレンダーの下端） */
  .ne-row {
    position: relative;
    overflow-x: clip;
  }
  .ne-deco {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
  }
}

@media (max-width: 768px) {
  /* S4：新着情報・イベントカレンダーの見出し 24px／リード文 16px（他セクションの見出しは 26px のまま） */
  .top-panel .sec-head .ttl {
    font-size: 24px;
  }
  .top-panel .sec-head .lead {
    font-size: 16px;
  }

  /* S5：イベントのタグ（説明会・オンライン・受付中）を1行に。タグの間隔 5px */
  .is-events .art-list.is-top .art-meta {
    column-gap: 5px;
  }

  /* S6：「すべての動画を見る」→ SNSリンクまで 266px（pagetop を置くスペース） */
  .top-sec:has(.mv-wrap) {
    padding-bottom: 186px;
  }

  /* S7：【全ページ共通】SNSリンク（枠の余白 24px・カード 85px・文字 17px／14px・アイコン 48px） */
  .sns {
    padding: 24px;
  }
  .sns-list {
    gap: 10px;
  }
  .sns-list a {
    min-height: 85px;
    padding: 16px;
  }
  .sns-list .icon {
    width: 48px;
    height: 48px;
  }
  .sns-list .icon img {
    width: 28px;
    height: 28px;
  }
  .sns-list .icon.is-line img {
    width: 48px;
    height: 48px;
  }
  .sns-list .name {
    font-size: 17px;
  }
  .sns-list .desc {
    font-size: 14px;
    letter-spacing: 0;
  }

  /* S8：【全ページ共通】フッター（メニュー見出し 16px・1行 60px、ロゴ幅 275px、
     説明文・規約リンク 14px 左揃え、コピーライト 12px 右揃え） */
  .footer-acc-btn {
    padding: 16px 8px;
    font-size: 16px;
  }
  .footer-info.sp-only .logo {
    width: 275px;
    max-width: 100%;
    margin-inline: auto;
  }
  .footer-info.sp-only .logo img {
    width: 100%;
    height: auto;
  }
  .footer-info.sp-only .desc {
    font-size: 14px;
    text-align: left;
  }
  .footer-util {
    justify-content: flex-start;
  }
  .footer-util {
    gap: 10px;
  }
  .footer-util a {
    font-size: 14px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .copyright {
    font-size: 12px;
    text-align: right;
  }
}

/* ==========================================================================
   2026-11-05 再確認（同Excel「再確認_1105」R1〜R5）
   ========================================================================== */
@media (min-width: 769px) {
  /* R1：体験談カード 469px。留学先は1行（はみ出しは…）、派遣情報の上の余白を削る。
     1枚でも行が増えると全カードがその高さに伸びるため */
  .vo-scroller .art-card-dest {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  /* R6：留学先が長くてもカードを押し広げないよう、幅を 350px に固定 */
  .vo-scroller .art-card {
    flex: 0 0 350px;
    min-width: 0;
  }
  .vo-scroller .art-card-dest {
    display: block;
    max-width: 100%;
  }
  .vo-scroller .art-card-meta {
    margin-top: 18px;
    padding-top: 0;
  }
  /* 写真の縦横比が違うと写真枠が伸びるので、枠の比率（350:197）で切り抜く */
  .vo-scroller .art-card-thumb {
    flex-shrink: 0;
    height: 197px;
  }
  .vo-scroller .art-card-thumb > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  /* R5：【全ページ共通】SPフッター。区切り線→ロゴ 48px、ロゴ→説明文 40px、説明文→言語ボタン 40px */
  .footer-info.sp-only {
    padding-top: 16px;
  }
  .footer-info.sp-only .desc {
    margin-top: 40px;
  }
  .footer-bottom {
    margin-top: 40px;
  }
}

/* ==========================================================================
   2026-11-05 再確認 R7〜R9（PC セクション間の余白）
   R7：GCカード下端→体験談見出し 353px … 体験談 section の margin-top（-108 → -83px）
   R8：体験談カード下端→新着背景 274px … 新着ブロックの上余白（69 → 76px）
   R9：イベント背景下端→Follow Us！ 100px … 新着・イベントのブロックの下に 12px。
       道・茂み（.ne-deco）は 新着の上余白 76px＋7px 下げ、イベント下端・Follow Us！との位置を Figma に合わせる
   ========================================================================== */
@media (min-width: 769px) {
  .ne-row {
    margin-bottom: 12px;
  }
}

/* ==========================================================================
   ブラウザ確認_1105（B3・B4・B5）
   B1 は画像（img/common/pagetop.svg）の白い背景 rect を削除して対応
   ========================================================================== */

/* B3：CIEC NEWS の枠は、画面の高さで MV が縮んでも右端を常に画面の外まで伸ばす。
   .top-news を画面いっぱいの幅にして、MV と同じ位置は左右の padding で保つ。
   枠の左端・高さ・中身の位置は今までどおり（伸ばした分 --nx は右の余白に足す） */
@media (min-width: 769px) {
  .top-news {
    --nx: max(0px, (var(--vw, 100vw) - var(--mv-w)) / 2);
    width: auto;
    margin-inline: 0;
    padding-inline: calc(var(--nx) + 12px);
  }

  .top-news-box {
    width: calc(100% * 906 / 1416 + var(--nx));
    margin-right: calc(-38px - var(--nx));
    padding-right: calc(146px + var(--nx));
  }

  .top-news-box .top-arw-btn {
    right: calc(66px + var(--nx));
  }

  .top-news-char {
    left: calc((100% - var(--nx)) * 382 / 906);
  }
}

/* B4：1440px より広い画面では、新着情報・イベントカレンダーの中身を中央 1440px の枠に置く。
   背景（ピンク・黄色）は画面の端まで伸ばしたまま。--ne-gx は 1440px の枠の外側の余白 */
@media (min-width: 1441px) {
  .ne-row {
    --ne-ref: min(var(--vw, 100vw), 1440px);
    --ne-gx: max(0px, (var(--vw, 100vw) - 1440px) / 2);
  }

  .ne-row .top-sec:has(> .is-topics) {
    width: calc(var(--ne-ref) * 0.6444 + var(--ne-gx));
    margin-left: calc(var(--ne-ref) * -0.0208);
  }

  .ne-row .top-sec:has(> .is-events) {
    width: calc(var(--ne-ref) * 0.4778 + var(--ne-gx));
    margin-left: calc(var(--ne-ref) * 0.5847 + var(--ne-gx));
  }

  /* パネルの内側の余白は 1440px のときの値（.top-sec の左右12pxを除いた幅に対する割合）＋ --ne-gx */
  .ne-row .is-topics {
    padding-right: calc((var(--ne-ref) * 0.6444 - 24px) * 0.1185);
    padding-left: calc((var(--ne-ref) * 0.6444 - 24px) * 0.0754 + var(--ne-gx));
  }

  .ne-row .is-events {
    padding-right: calc((var(--ne-ref) * 0.4778 - 24px) * 0.189 + var(--ne-gx));
    padding-left: calc((var(--ne-ref) * 0.4778 - 24px) * 0.0727);
  }
}

/* B5：カテゴリのタブの右端の ▶ に、パネルの背景色のグラデーションを敷いて文字を下に潜らせる */
.top-panel.is-topics {
  --cats-bg: var(--cl-pop-lpk);
}

.top-panel.is-events {
  --cats-bg: #fefdc8;
}

.top-panel .top-cats::after {
  flex: 0 0 48px;
  align-self: stretch;
  height: auto;
  background:
    url(../img/top/arrow-right-s-fill.svg) no-repeat right center / 20px 20px,
    linear-gradient(90deg, color-mix(in srgb, var(--cats-bg, #fff) 0%, transparent), var(--cats-bg, #fff) 55%);
}

/* ==========================================================================
   ブラウザ確認_1105（B7）：体験談セクションの下端で道が水平に切れる
   下端基準の道（.top-deco.is-bottom）だけ下方向の overflow を開き、
   新着情報・イベントカレンダーの背景の後ろへ続ける（左右は画面端で切る）。
   上端基準の道は今までどおりセクション内で切る（2本が重なって見えないように）。
   重なり順は既存の z-index:-1（道 → 新着・イベントの背景）のまま
   ========================================================================== */
@media (min-width: 769px) {
  .top-sec:has(.top-voice-layout) {
    overflow: visible;
    overflow-x: clip;
  }

  .top-sec:has(.top-voice-layout) > .top-deco:not(.is-bottom) {
    overflow: hidden;
  }

  /* 2本の道（上端基準・下端基準）は、セクションの高さが「内側の幅×0.7076」のときだけ重なる。
     体験談カードの高さ修正（R1・R6）でセクションが低くなり、1440px で 34px ずれて段差が出ていた。
     下端基準の箱を、セクションの上端からその高さで置き、画面幅に関係なく2本を重ねる。
     0.7076 ＝ 道の高さ 176.53%×1730/2542 − 下のはみ出し 36.81% − 上のはみ出し 12.57% */
  .top-sec:has(.top-voice-layout) > .top-deco.is-bottom {
    top: 0;
    bottom: auto;
    height: calc(min(var(--vw, 100vw), 1440px) * 0.70761);
    overflow: visible;
    overflow-x: clip;
  }
}

/* ==========================================================================
   2026-11-06 TOPへ戻るボタン：地球を画面の一番下にくっつける
   画像（pagetop.svg 103×220）の下 14px を画面の外に出し、地球の下側が
   ブラウザの下端で切れて見えるようにする（Figma の 206px で切れた見た目と同じ）。
   待機中の揺れ（4px）・ホバー時のジャンプ（12px）でも下端から浮かない量。
   ========================================================================== */
.pagetop {
  bottom: -14px;
}

@media (max-width: 768px) {
  .pagetop {
    bottom: -9px; /* 14px × 64/103 */
  }
}


/* サイトミライズ管理ページ用CSS */

body:has(.smzpreview-preview-header) {
  .header {
    position: relative;
  }
}

.cke_editable  {
  .top-news {
    margin-top: 0;
  }

  .qa-a {
    display: block;
  }
}

/* ==========================================================================
   2026-11-06 MV：テスト環境（サイトミライズ）の HTML に合わせた調整
   テスト環境では写真を囲む <span class="top-hero-img"> が無く、img が .top-hero-photo の
   直下にあるため、切り抜き（拡大・位置）が効かずに崩れていた。
   img を写真の枠に対して絶対配置で拡大し、clip-path で枠の形（角丸）に切り抜く。
   （<span class="top-hero-img"> がある HTML には影響しないよう「> img」で指定）
   ========================================================================== */
.top-hero-photo > img {
  position: absolute;
  z-index: 1;
  max-width: none;
  border-radius: 0;
  object-fit: fill;
}

.hp1 > img { left: -26.45%; top: -19.53%; width: 140.76%; height: 128.56%; clip-path: inset(15.19% 10.17% 7.02% 18.79% round var(--rd-l)); }
.hp2 > img { left: -18.87%; top: -4.79%; width: 120.5%; height: 110.06%; clip-path: inset(4.35% 1.35% 4.79% 15.66% round var(--rd-l)); }
.hp3 > img { left: -40.21%; top: -7.25%; width: 222.87%; height: 114.5%; clip-path: inset(6.33% 37.09% 6.33% 18.04% round var(--rd-l)); }
.hp4 > img { left: -8.15%; top: -2.56%; width: 118.79%; height: 108.5%; clip-path: inset(2.36% 8.96% 5.47% 6.86% round var(--rd-l)); }
.hp5 > img { left: -26.56%; top: -10.28%; width: 222.87%; height: 114.5%; clip-path: inset(8.98% 43.21% 3.69% 11.92% round var(--rd-l)); }
.hp6 > img { left: -29.59%; top: -10.18%; width: 165.22%; height: 150.9%; clip-path: inset(6.75% 21.57% 26.98% 17.91% round var(--rd-l)); }
.hp7 > img { left: -20.37%; top: -2.54%; width: 122.12%; height: 111.54%; clip-path: inset(2.28% 1.43% 8.07% 16.68% round var(--rd-l)); }

/* SP の黄色い帯：テスト環境の HTML には SP 用の帯（hero-wave-sp.svg）の img が無いので、
   PC 用の波を隠し、.top-hero の ::before に SP 用の帯を敷く（位置・角度はローカル版と同じ） */
@media (max-width: 768px) {
  .top-hero:not(:has(.top-hero-wave-sp)) .top-hero-wave {
    display: none;
  }

  .top-hero:not(:has(.top-hero-wave-sp))::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: calc(var(--vw, 100vw) * 36 / 390);
    left: calc(var(--vw, 100vw) * -357.61 / 390);
    width: calc(var(--vw, 100vw) * 1032.84 / 390);
    aspect-ratio: 1033 / 340;
    background: url(../img/top/hero-wave-sp.svg) no-repeat center / 100% 100%;
    transform: rotate(-8.42deg);
    transform-origin: 49.95% 49.76%;
    pointer-events: none;
  }
}

/* SP のキャッチコピー：テスト環境の HTML には SP 用の画像（hero-copy-sp.svg）の img が無いので、
   PC 用の img は読み上げ用に残したまま見えなくし、h1 の背景に SP 用のコピーを敷く */
@media (max-width: 768px) {
  .top-hero-copy:not(:has(.sp-only)) {
    aspect-ratio: 338 / 145;
    background: url(../img/top/hero-copy-sp.svg) no-repeat center / contain;
  }

  .top-hero-copy:not(:has(.sp-only)) img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
}


/* ==========================================================================
   2026-11-06 TOPへ戻るボタン（テスト環境の HTML は pagetop@2x.png＝下端で切れた 103×206 の画像）
   png は最初から地球の下が切れているので、画面の一番下（bottom: 0）にくっつける。
   ※ フッターで止める処理は common.js 側でやめている
   ========================================================================== */
.pagetop:has(img.is-default[src*="pagetop@2x.png"]) {
  bottom: 0;
}

/* ==========================================================================
   2026-11-06 フッター上の SNS バナー：テスト環境の HTML には <footer class="footer"> の囲みが無いので、
   .footer に付けていた余白（PC 40px／SP 32px、TOP の PC は -49px）を SNS バナーの .forcms_block に付ける
   ========================================================================== */
.main ~ .forcms_block:has(> .container > .sns) {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .main ~ .forcms_block:has(> .container > .sns) {
    margin-top: 32px;
  }
}

@media (min-width: 769px) {
  .main:has(.top-hero) ~ .forcms_block:has(> .container > .sns) {
    margin-top: -49px;
  }
}

/* ==========================================================================
   2026-11-09 PC：新着・イベント下の道・茂み（.ne-deco）の基準を下端に変更
   上端からの固定距離だと、記事の件数が減って欄が短くなったときに道の端が見えてしまうため、
   .ne-row の下端を基準にする（3件ずつ入った状態＝高さ 1155px のときの位置は今までと同じ）
   ========================================================================== */
@media (min-width: 769px) {
  .ne-deco {
    top: auto;
    bottom: 0;
  }
  .ne-deco-road {
    margin-top: calc(var(--ref) * 704 / 1440 + 83px - 1155px);
  }
  .ne-deco-bush {
    margin-top: calc(var(--ref) * 1101 / 1440 + 83px - 1155px);
  }
}

/* ==========================================================================
   2026-11-09 TOP：新着情報・イベントのタブ切り替え（common.js）の読み込み中の表示
   ========================================================================== */
.top-panel.is-loading > .art-list,
.top-panel.is-loading > .art-empty {
  opacity: 0.4;
  transition: opacity 0.2s;
}

/* ==========================================================================
   2026-11-09 TOP：テスト環境（CMS）のブロックの並び順に合わせた道・イラストの調整
   並び順：MV → NEWS → 特徴的なプログラム → どんな留学 → 体験談 → グローバルチャレンジ → 新着・イベント → 動画 → Follow Us
   ========================================================================== */

/* PC：新着・イベントの下の道（common.js で .ne-row に移したもの＝.is-moved）は、
   すぐ下が動画のセクションになり動画の道と二重になるので出さない（SP は動画の道につながるので出す） */
@media (min-width: 769px) {
  .ne-deco.is-moved {
    display: none;
  }
}

/* SP：体験談の上の校舎・人・茂みが、上の「留学相談はこちら」ボタンに重ならないよう間を空ける */
@media (max-width: 768px) {
  .top-sec:has(.top-voice-layout) {
    margin-top: 56px;
  }
}

/* ==========================================================================
   2026-11-09 TOP：新着情報・イベントカレンダーのカテゴリのタブの横スクロール（common.js と対）
   common.js がタブの帯（.top-cats）を .top-cats-wrap で囲み、右に「先輩たちのリアルな体験談」と同じ
   紺の ← → ボタン（.vo-nav の見た目）を置く。押すとタブ1つぶんずつ送る。今までの飾りの ▶（::after）は使わない。
   帯の端は続きがある側だけ薄くぼかす。全部収まっているとき（is-fit）はボタンを出さない。
   ========================================================================== */
.top-cats-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.top-cats-wrap > .top-cats {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
  --fade-l: 0px;
  --fade-r: 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
}

.top-cats-wrap:not(.is-start) > .top-cats {
  --fade-l: 24px;
}

.top-cats-wrap.is-end > .top-cats {
  --fade-r: 0px;
}

.top-cats-wrap > .top-cats::after {
  display: none;
}

/* ボタンは体験談（.vo-nav）と同じ見た目。タブの高さに合わせて少し小さく */
.top-cats-wrap > .top-cats-nav {
  flex: 0 0 auto;
  gap: 8px;
  margin-top: 0;
  padding-right: 0;
  padding-bottom: 4px; /* .top-cats の padding-bottom と揃える */
}

.top-cats-wrap > .top-cats-nav button {
  width: 36px;
  height: 36px;
  background-size: 18px 18px;
}

.top-cats-wrap.is-start .top-cats-btn.is-prev,
.top-cats-wrap.is-end .top-cats-btn.is-next {
  opacity: 0.3;
  pointer-events: none;
}

.top-cats-wrap.is-fit > .top-cats-nav {
  display: none;
}

@media (min-width: 769px) {
  .top-panel .top-cats-wrap {
    margin-top: 0;
  }
}

/* 「該当するデータがありません」がタブにくっついていたので、記事一覧と同じ 24px 空ける */
.top-panel > .art-empty,
.top-panel > p:not([class]) {
  margin-top: 24px;
}

/* マウスでつかんでスクロールできることが分かるカーソル（ドラッグは common.js） */
@media (hover: hover) and (pointer: fine) {
  .top-cats-wrap > .top-cats {
    cursor: grab;
    user-select: none;
  }

  .top-cats-wrap.is-dragging > .top-cats,
  .top-cats-wrap.is-dragging > .top-cats a {
    cursor: grabbing;
  }
}

/* ==========================================================================
   2026-11-09 プログラムのカード：期間・地域・実施時期を縦3列 → 「項目名｜内容」の横並び×3行に
   3列だと1列の幅が狭く、地域などが1〜2文字ずつ折り返して縦に長くなっていたため（PC のみ。SP は幅があるので従来の3列）
   ========================================================================== */
@media (min-width: 769px) {
  .prog-card-spec {
    display: block;
    padding: 12px 14px;
  }

  .prog-card-spec > span {
    display: flex;
    gap: 12px;
  }

  .prog-card-spec > span + span {
    margin-top: 8px;
    padding-top: 8px;
    padding-left: 0;
    border-top: 1px solid var(--cl-bdr);
    border-left: 0;
  }

  .prog-card-spec .dt {
    flex: 0 0 4.5em;
    line-height: 1.5;
  }

  .prog-card-spec .dd {
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
    line-height: 1.5;
  }
}

/* ==================================================================
   2026-11-10 TOP Instagram連携設定（.js-insta-setting）
   ユーザーID・アクセストークンの入力欄。公開画面には出さない
   （common.js が読み取ったあと要素ごと削除する）。
   ================================================================== */
.insta-setting {
  display: none !important;
}

/* ==========================================================================
   2026-11-11 ヘッダー・フッター（コンテンツリスト準拠に作り直し）
   お客様要望：受入れ留学生向け「Study Abroad at KGU」をわかりやすく目立たせる
   → PC ナビ右端に紺のピル型ボタン、メガメニューも紺地、
     タブレットはヘッダーにボタン、SP はドロワー先頭に黄色のカード、
     フッターにも黄色のボタンと専用列。
   ========================================================================== */

/* ---- PC ナビ：Study Abroad at KGU ---- */
.header-nav .header-nav-kgu {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 7px 16px 7px 20px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  transition:
    background-color 0.25s ease-out,
    color 0.25s ease-out,
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.header-nav .header-nav-kgu::before {
  display: none;
}

.header-nav .header-nav-kgu::after {
  border-color: var(--cl-yl);
}

.header-nav .header-nav-kgu:hover,
.header-nav .header-nav-kgu.is-open {
  background-color: var(--cl-ttl);
  color: var(--cl-yl);
}

/* ---- メガメニュー：見出しをリンクに、グループ分け ---- */
.header-submenu {
  max-height: calc(100vh - var(--hd-h));
  overflow-y: auto;
}

.header-submenu-ttl a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-submenu-ttl a::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url(../img/common/arrow-link.svg) no-repeat center / contain;
}

.header-submenu-ttl a:hover {
  opacity: 0.7;
}

.header-submenu-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
}

.header-submenu-gttl {
  margin-bottom: 4px;
  padding: 4px 12px;
  border-radius: var(--rd-s);
  background-color: var(--cl-pop-lbl);
  color: var(--cl-bl);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: var(--ls-2);
}

.header-submenu-group .header-submenu-list {
  grid-template-columns: 1fr;
  gap: 0;
}

.header-submenu-group .header-submenu-list a {
  padding-block: 11px;
  font-size: 15px;
}

.header-submenu-group .header-submenu-list + .header-submenu-gttl {
  margin-top: 24px;
}

/* 外部リンク：矢印の代わりに外部アイコン */
.header-submenu-list a:has(.ext)::after {
  display: none;
}

.header-submenu-list a .ext {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-left: auto;
  background: url(../img/common/ext-link.svg) no-repeat center / contain;
}

/* ---- メガメニュー：Study Abroad at KGU（紺地） ---- */
.header-submenu.header-submenu-kgu {
  border-top: 0;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
}

.header-kgu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.header-submenu-kgu .header-submenu-ttl {
  margin-bottom: 0;
  color: var(--cl-yl);
  font-family: var(--ff-en);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.header-submenu-kgu .header-submenu-ttl a::after,
.header-submenu-kgu .header-submenu-list a::after {
  filter: brightness(0) invert(1);
}

.header-kgu-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.header-kgu-lead span {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 12px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
}

.header-submenu-kgu .header-submenu-gttl {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--cl-yl);
}

.header-submenu-kgu .header-submenu-list a {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: var(--cl-wh);
}

.header-submenu-kgu .header-submenu-list a:hover {
  border-bottom-color: var(--cl-yl);
  color: var(--cl-yl);
}

.header-submenu-kgu .header-submenu-list a .ext {
  background-image: url(../img/common/ext-link-wh.svg);
}

/* ---- タブレット（ナビを畳んだ幅）：ヘッダーに Study Abroad at KGU ボタン ---- */
.header-kgu-tab {
  display: none;
}

@media (min-width: 561px) and (max-width: 1400px) {
  .header-kgu-tab {
    display: flex;
    align-items: center;
    height: 32px;
    padding: 0 14px;
    border-radius: var(--rd-pill);
    background-color: var(--cl-bl);
    color: var(--cl-wh);
    font-family: var(--ff-en);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition:
      transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
      color 0.25s ease-out;
  }

  .header-kgu-tab:hover {
    transform: translateY(-2px);
    color: var(--cl-yl);
    opacity: 1;
  }
}

/* ---- SP ドロワー：先頭の Study Abroad at KGU カード ---- */
.sp-menu-kgu {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: var(--rd-l);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
}

.sp-menu.is-open .sp-menu-kgu {
  opacity: 1;
  transform: none;
  transition-delay: 0.06s;
}

.sp-menu-kgu-main {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 44px;
}

.sp-menu-kgu-main .en {
  font-family: var(--ff-en);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.sp-menu-kgu-main .ja {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.sp-menu-kgu-main::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cl-bl) url(../img/common/arrow-right-wh.svg) no-repeat center / 16px 16px;
  transform: translateY(-50%);
}

.sp-menu-kgu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.sp-menu-kgu-list a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 10px 12px;
  border-radius: var(--rd-m);
  background-color: var(--cl-wh);
  color: var(--cl-bl);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

/* SP ドロワー：外部リンクのアイコン（白） */
.sp-menu a .ext {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  vertical-align: -1px;
  background: url(../img/common/ext-link-wh.svg) no-repeat center / contain;
}

/* ---- フッター：Study Abroad at KGU ボタン（サイト情報の下） ---- */
.footer-kgu {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: 32px;
  padding: 16px 60px 16px 20px;
  border-radius: var(--rd-l);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.footer-kgu:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.footer-kgu .en {
  font-family: var(--ff-en);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.footer-kgu .ja {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.footer-kgu::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cl-bl) url(../img/common/arrow-right-wh.svg) no-repeat center / 14px 14px;
  transform: translateY(-50%);
}

/* フッター：Study Abroad at KGU の列（見出しを英字フォントに） */
.footer-nav-col.is-kgu .footer-nav-ttl,
.footer-acc > li.is-kgu .footer-acc-btn {
  font-family: var(--ff-en);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.footer-nav-col.is-kgu .footer-nav-ttl {
  font-size: 19px;
  line-height: 1.43;
}

.footer-acc > li.is-kgu .footer-acc-btn {
  font-size: 18px;
}

/* フッター：4列になったので、PC（1401px〜）は列幅を伸縮させる */
@media (min-width: 1401px) {
  .footer-main {
    padding-inline: 88px;
  }

  .footer-info {
    width: 300px;
  }

  .footer-nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 32px;
  }

  .footer-nav-col {
    flex: 0 1 216px;
    width: auto;
    min-width: 0;
  }
}

/* フッター：769〜1400px は列を縮めて幅に収める
   （元の 769〜1400px の指定は、後ろにある基本の width:216px に負けて効いていなかった） */
@media (min-width: 769px) and (max-width: 1400px) {
  .footer-main {
    padding-inline: 40px;
  }

  .footer-nav {
    min-width: 0;
  }

  .footer-nav-col {
    width: auto;
  }
}

/* フッター・SP ドロワーのボタン：英字は1行に収める */
.footer-kgu .en,
.sp-menu-kgu-main .en {
  white-space: nowrap;
}

.footer-kgu .en {
  font-size: 21px;
}

@media (max-width: 768px) {
  .footer-kgu {
    align-items: flex-start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-nav .header-nav-kgu,
  .header-kgu-tab,
  .sp-menu-kgu,
  .footer-kgu {
    transition: none !important;
  }
}

/* 2026-11-11 修正：Study Abroad at KGU パネルの見出しはリンクにせず、
   右端に「Study Abroad at KGU TOP」の黄色いボタンを置く（見出しがリンクだと分かりにくいため） */
.header-kgu-head {
  align-items: center;
}

.header-kgu-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding: 8px 8px 8px 22px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.25s ease-out;
}

.header-kgu-top::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cl-bl) url(../img/common/arrow-right-wh.svg) no-repeat center / 14px 14px;
  transition: transform 0.25s ease-out;
}

.header-kgu-top:hover {
  transform: translateY(-2px);
  background-color: var(--cl-wh);
  opacity: 1;
}

.header-kgu-top:hover::after {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .header-kgu-top,
  .header-kgu-top::after {
    transition: none !important;
  }
}

/* ---- 2026-11-11 メガメニュー調整：項目を1行で表示（海外留学ガイドは3階層のみ・KGUはサイドナビの大項目のみ） ---- */
.header-submenu-list {
  grid-template-columns: repeat(4, minmax(max-content, 1fr));
}

.header-submenu-list a {
  white-space: nowrap;
}

/* ---- 2026-11-11 メガメニュー：左にセクションTOPボタン、右に項目（2カラム） ---- */
.header-submenu-ttl {
  margin-bottom: 20px;
}

.header-submenu-body {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0 40px;
  align-items: start;
}

.header-submenu-side {
  height: 100%;
  padding-right: 32px;
  border-right: 1px solid var(--cl-bdr);
}

.header-submenu-body .header-submenu-list {
  grid-template-columns: repeat(3, minmax(max-content, 1fr));
}

.header-submenu-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 20px;
  border-radius: var(--rd-pill);
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--ls-2);
  white-space: nowrap;
  box-shadow: 0 3px 0 rgba(30, 60, 145, 0.25);
  transition:
    transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1),
    box-shadow 0.25s ease-out;
}

.header-submenu-top::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--cl-wh) url(../img/common/arrow-right-bl.svg) no-repeat center / 14px 14px;
  transition: transform 0.25s ease-out;
}

.header-submenu-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(30, 60, 145, 0.25);
  color: var(--cl-wh);
  opacity: 1;
}

.header-submenu-top:hover::after {
  transform: translateX(3px);
}

/* Study Abroad at KGU（紺地）：黄色のボタン・区切り線は白の半透明 */
.header-submenu-kgu .header-submenu-side {
  border-right-color: rgba(255, 255, 255, 0.2);
}

.header-submenu-kgu .header-submenu-top {
  background-color: var(--cl-yl);
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 400;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

.header-submenu-kgu .header-submenu-top::after {
  background: var(--cl-bl) url(../img/common/arrow-right-wh.svg) no-repeat center / 14px 14px;
}

.header-submenu-kgu .header-submenu-top:hover {
  color: var(--cl-bl);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .header-submenu-top,
  .header-submenu-top::after {
    transition: none !important;
  }
}

/* ---- 2026-11-11 メガメニュー：見出しを左の列（ボタンの上）に入れる ---- */
.header-submenu-side .header-submenu-ttl {
  margin-bottom: 16px;
  font-size: 18px;
}

.header-submenu-side .header-kgu-head {
  display: block;
  margin-bottom: 18px;
}

.header-submenu-kgu .header-submenu-side .header-submenu-ttl {
  margin-bottom: 8px;
  font-size: 28px;
  white-space: nowrap;
}

.header-submenu-side .header-kgu-lead {
  font-size: 13px;
}

.header-submenu-side .header-kgu-lead span {
  display: table;
  margin: 8px 0 0;
}

/* ---- 2026-11-11 メガメニュー（海外留学ガイド）：「留学プログラムを探す」で探し方4種をまとめる ---- */
.header-submenu-search {
  margin-top: 24px;
  padding: 18px 24px 22px;
  border-radius: var(--rd-m);
  background-color: var(--cl-pop-lbl);
}

.header-submenu-search-ttl {
  margin-bottom: 14px;
  color: var(--cl-bl);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.header-submenu-search-ttl a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-submenu-search-ttl a::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: url(../img/common/arrow-link.svg) no-repeat center / contain;
  transition: transform 0.25s ease-out;
}

.header-submenu-search-ttl a:hover {
  opacity: 1;
}

.header-submenu-search-ttl a:hover::after {
  transform: translateX(3px);
}

.header-submenu-search-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(max-content, 1fr));
  gap: 12px;
}

.header-submenu-search-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px 11px 18px;
  border: 1px solid var(--cl-bdr);
  border-radius: var(--rd-pill);
  background-color: var(--cl-wh);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
  white-space: nowrap;
  transition:
    border-color 0.2s ease-out,
    color 0.2s ease-out;
}

.header-submenu-search-list a::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: auto;
  background: url(../img/common/arrow-link.svg) no-repeat center / contain;
}

.header-submenu-search-list a:hover {
  border-color: var(--cl-bl);
  color: var(--cl-bl);
  opacity: 1;
}

/* ---- 2026-11-11 SP ドロワー：PC のメガメニューと同じ構成（TOPボタン＋項目） ---- */
/* KGU カード：見出し（リンクなし）＋TOPボタン＋サイドナビの大項目 */
.sp-menu-kgu-head .en {
  font-family: var(--ff-en);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sp-menu-kgu-head .ja {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.sp-menu-kgu-top,
.sp-menu-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 18px;
  border-radius: var(--rd-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.sp-menu-kgu-top::after,
.sp-menu-top::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--cl-wh) url(../img/common/arrow-right-bl.svg) no-repeat center / 14px 14px;
}

.sp-menu-kgu-top {
  margin-top: 12px;
  background-color: var(--cl-bl);
  color: var(--cl-wh);
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 400;
}

.sp-menu-kgu-list {
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 12px;
}

.sp-menu-kgu-list a {
  gap: 10px;
  padding: 10px 12px 10px 14px;
}

.sp-menu-kgu-list a::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: auto;
  background: url(../img/common/arrow-link.svg) no-repeat center / contain;
}

.sp-menu-kgu-list a:has(.ext)::after {
  display: none;
}

.sp-menu .sp-menu-kgu-list a .ext {
  margin-left: auto;
  background-image: url(../img/common/ext-link.svg);
}

/* 開閉メニューの先頭：セクションTOPボタン（白） */
.sp-menu-top {
  margin: 4px 8px 8px 20px;
  background-color: var(--cl-wh);
  color: var(--cl-bl);
}

.sp-menu-top::after {
  background: var(--cl-bl) url(../img/common/arrow-right-wh.svg) no-repeat center / 14px 14px;
}

/* 海外留学ガイド：留学プログラムを探す（見出しもリンク）＋探し方4種 */
.sp-menu-list-2 > li > a.sp-menu-search-ttl {
  justify-content: flex-start;
  gap: 8px;
  font-weight: 700;
}

.sp-menu-search-ttl::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: url(../img/common/arrow-right-wh.svg) no-repeat center / contain;
}

/* ---- 2026-11-12 海外留学ガイド：「留学プログラムを探す」（小さめ）と「参加学生の声」ボタンを横並び ---- */
.header-submenu-pickup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
  align-items: stretch;
  margin-top: 24px;
}

.header-submenu-pickup .header-submenu-search {
  margin-top: 0;
  padding: 14px 20px 16px;
}

.header-submenu-pickup .header-submenu-search-ttl {
  margin-bottom: 10px;
  font-size: 15px;
}

.header-submenu-pickup .header-submenu-search-ttl a::after {
  width: 18px;
  height: 18px;
}

.header-submenu-pickup .header-submenu-search-list {
  gap: 8px;
}

.header-submenu-pickup .header-submenu-search-list a {
  gap: 8px;
  padding: 7px 12px 7px 14px;
  font-size: 14px;
}

.header-submenu-pickup .header-submenu-search-list a::after {
  width: 16px;
  height: 16px;
}

/* 2026-11-12 修正（9）：目立たせず「留学プログラムを探す」と同じ水色の枠・同じ文字の扱いに（優先度は他の項目と同じ） */
.header-submenu-voice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 16px;
  border-radius: var(--rd-m);
  background-color: var(--cl-pop-lbl);
  color: var(--cl-bl);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.header-submenu-voice::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: auto;
  background: url(../img/common/arrow-link.svg) no-repeat center / contain;
  transition: transform 0.25s ease-out;
}

.header-submenu-voice:hover {
  color: var(--cl-bl);
  opacity: 1;
}

.header-submenu-voice:hover::after {
  transform: translateX(3px);
}

/* SP：参加学生の声（他の項目と同じ見た目。黄色のボタンはやめた） */

@media (prefers-reduced-motion: reduce) {
  .header-submenu-voice::after {
    transition: none !important;
  }
}

/* ---- 2026-11-12 修正（10）：Study Abroad at KGU のメガメニュー／SPカードを「KGUへの留学」ページの内容どおりに（英語メイン＋日本語の2段） ---- */
.header-submenu-list.is-kgu-anchor {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.header-submenu-list.is-kgu-anchor a {
  height: 100%;
  white-space: normal;
}

.header-submenu-txt,
.sp-menu-kgu-txt {
  display: block;
  min-width: 0;
}

.header-submenu-txt-ja,
.sp-menu-kgu-txt-ja {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

/* ---- 2026-11-12 修正（11）：KGU メガメニュー＝リンク4つ＋見出し（水色・リンクなし）＋リンク2つ ---- */
.header-submenu-main {
  min-width: 0;
}

.header-submenu-kgu-group {
  margin-top: 24px;
}

.header-submenu-kgu-gttl {
  margin-bottom: 14px;
  color: var(--cl-pop-bl);
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.header-submenu-kgu-gttl span {
  display: block;
  margin-top: 2px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.header-submenu-kgu-gttl span:lang(ja) {
  font-family: var(--ff-base);
}

/* SP：黄色カード内の見出し（リンクなし） */
.sp-menu-kgu-gttl {
  margin-top: 16px;
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.sp-menu-kgu-gttl span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.sp-menu-kgu-gttl + .sp-menu-kgu-list {
  margin-top: 8px;
}

/* ---- 2026-11-12 修正（12）：KGU メガメニュー＝ページの 02〜04 と同じ3つのまとまり（見出し水色・リンクなし＋縦のリンク一覧） ---- */
.header-submenu-kgu-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}

.header-submenu-kgu-groups .header-submenu-kgu-group {
  display: flex;
  flex-direction: column;
  margin-top: 0;
  padding-top: 16px;
  border-top: 2px solid var(--cl-pop-bl);
}

.header-submenu-kgu-groups .header-submenu-kgu-gttl {
  min-height: 72px; /* 見出しが2行のまとまりとリンクの開始位置をそろえる */
  margin-bottom: 4px;
  font-size: 17px;
}

.header-submenu-kgu-links > li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cl-wh);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--ls-2);
}

.header-submenu-kgu-links > li > a::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: auto;
  background: url(../img/common/arrow-right-wh.svg) no-repeat center / contain;
  transition: transform 0.25s ease-out;
}

.header-submenu-kgu-links > li > a:hover {
  color: var(--cl-yl);
  opacity: 1;
}

.header-submenu-kgu-links > li > a:hover::after {
  transform: translateX(3px);
}

.header-submenu-kgu-links > li > a:has(.ext)::after {
  display: none;
}

.header-submenu-kgu-links > li > a .ext {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-left: auto;
  background: url(../img/common/ext-link-wh.svg) no-repeat center / contain;
}

/* SP：まとまりの見出しの間隔 */
.sp-menu-kgu-list + .sp-menu-kgu-gttl {
  margin-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .header-submenu-kgu-links > li > a::after {
    transition: none !important;
  }
}

/* ---- 2026-11-12 修正（13）：まとまりの見出しを水色→白＋黄色の短い線（/study の見出しと同じ表現） ---- */
.header-submenu-kgu-groups .header-submenu-kgu-group {
  padding-top: 0;
  border-top: 0;
}

.header-submenu-kgu-groups .header-submenu-kgu-gttl {
  position: relative;
  min-height: 86px; /* 見出しが2行のまとまりとリンクの開始位置をそろえる */
  margin-bottom: 0;
  padding-bottom: 16px;
  color: var(--cl-wh);
}

.header-submenu-kgu-groups .header-submenu-kgu-gttl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--cl-yl);
}

.header-submenu-kgu-groups .header-submenu-kgu-gttl span {
  opacity: 0.8;
}

/* フッター：Study Abroad at KGU の列（ヘッダーと同じ3つのまとまり。小見出しはリンクなし） */
.footer-nav-list.is-kgu-groups > li.footer-nav-label {
  margin-top: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--cl-wh);
  font-family: var(--ff-en);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.footer-nav-list.is-kgu-groups > li.footer-nav-label + li {
  margin-top: 12px;
}

.footer-nav-list.is-kgu-groups a .ext {
  background-image: url(../img/common/ext-link-wh.svg);
}

@media (max-width: 768px) {
  .footer-nav-list.is-kgu-groups > li.footer-nav-label {
    margin-top: 20px;
    font-size: 14px;
  }
}

/* 黄色の線は見出しの文字のすぐ下に（1行の見出しで線が離れないように） */
.header-submenu-kgu-groups .header-submenu-kgu-gttl {
  padding-bottom: 0;
}

.header-submenu-kgu-groups .header-submenu-kgu-gttl::after {
  position: static;
  display: block;
  margin-top: 12px;
}

/* ---- 2026-11-12 修正（14）：フッター＝ヘッダーと同じ4列（CIECとは／海外留学ガイド／学内国際交流／その他）＋ 下に Study Abroad at KGU の横長の段 ---- */
.footer-kgu-nav {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 0 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-kgu-nav-ttl {
  color: var(--cl-yl);
  font-family: var(--ff-en);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-kgu-nav-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: var(--ls-2);
}

.footer-kgu-nav-top::after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: url(../img/common/arrow-right-wh.svg) no-repeat center / contain;
}

.footer-kgu-nav-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}

.footer-kgu-nav-label {
  min-height: 46px; /* 2行の見出しとリンクの開始位置をそろえる */
  margin-bottom: 20px;
  color: var(--cl-wh);
  font-family: var(--ff-en);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.footer-kgu-nav-label::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background-color: var(--cl-yl);
}

@media (min-width: 769px) and (max-width: 1200px) {
  .footer-kgu-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---- 2026-11-12 修正（15）：PC は黄色ボタンを KGU の段の左へ移動（見出し＋TOPリンクを兼ねる） ---- */
.footer-kgu-nav-head .footer-kgu {
  margin-top: 0;
}

@media (min-width: 769px) and (max-width: 1200px) {
  .footer-kgu-nav-head .footer-kgu {
    max-width: 336px;
  }
}


/* ---- 2026-11-12 TOP はロゴを h1 に（見た目は下層の div と同じ） ---- */
h1.header-logo {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}


/* 2026-11-12 先輩留学生の声 詳細：タイトル上の英字（テスト環境の構造＝同じブロック内に .page-ttl と目次 .anchor-list） */
.page-ttl:has(~ .parts .anchor-list) .page-hero-eyebrow,
.forcms_block:has(~ .forcms_block .anchor-list) .page-ttl .page-hero-eyebrow {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  color: var(--cl-bl);
  font-family: var(--ff-en);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .page-ttl:has(~ .parts .anchor-list) .page-hero-eyebrow,
  .forcms_block:has(~ .forcms_block .anchor-list) .page-ttl .page-hero-eyebrow {
    font-size: 20px;
    line-height: 1;
  }
}


/* ---- 2026-11-12 特徴的なプログラム：ホバーで傾きが0°に戻りながら拡大する動きを復活（gethyped.nl と同じ動き）
        11/05 の調整で PC 用の傾き（.pv-card:nth-child(n)）をホバー指定より後ろに足したため、ホバーが効かなくなっていた ---- */
@media (min-width: 769px) {
  .cards-row > .pv-card:hover,
  .cards-row > .pv-card:focus-visible {
    z-index: 5;
    transform: rotate(0deg) scale(1.06);
  }
}


/* ==========================================================================
   2026-11-12 Coming Soon ページ（comingsoon/index.html）
   Figma：Coming Soon セクション「案E-1（CIECくん・頭上の大吹き出し／案Dテイスト）PC」2479:545
   SP は Figma 案E SP（2457:26769）の配置に合わせた
   ========================================================================== */
.main:has(.cs) {
  padding-bottom: 35px;
}

.cs {
  margin-top: 40px;
}

.cs-bg {
  position: relative;
  padding: 38px 24px 356px;
  border-radius: 80px;
  background-color: var(--cl-pop-lgr);
}

/* 吹き出し */
.cs-bubble {
  position: relative;
  z-index: 2;
  width: 945px;
  max-width: 100%;
  margin-inline: auto;
  padding: 47px 40px 40px;
  border: 5px solid var(--cl-bl);
  border-radius: 262px;
  background-color: var(--cl-wh);
  text-align: center;
}

.cs-bubble-tail {
  position: absolute;
  top: calc(100% - 5px);
  left: calc(50% - 50px);
  display: block;
  width: 100px;
  height: 85px;
  overflow: visible;
}

.cs-ttl {
  font-family: "Lilita One", sans-serif;
  font-size: 92px;
  font-weight: 400;
  line-height: 105px;
  letter-spacing: 0.03em;
  color: var(--cl-bl);
}

.cs-ttl-txt {
  position: relative;
  z-index: 0;
  display: inline-block;
}

/* 黄色のマーカー */
.cs-ttl-txt::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 65px;
  right: 4px;
  left: 4px;
  height: 22px;
  border-radius: 11px;
  background-color: var(--cl-yl);
}

.cs-lead {
  margin-top: 22px;
  font-size: 32px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 0.06em;
}

.cs-lead-en {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: 0.02em;
  color: var(--cl-bl);
}

.cs-txt {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.03em;
}

.cs-txt-en {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.01em;
  color: #545454;
}

.cs-bubble .btn-area {
  margin-top: 32px;
}

/* イラスト（位置は .cs-bg の下端・左右端・中央基準） */
.cs-deco > * {
  position: absolute;
  display: block;
}

.cs-dot {
  border-radius: 50%;
}

.cs-dot.is-dot1 { top: 96px; left: 138px; width: 18px; height: 18px; background-color: var(--cl-yl); }
.cs-dot.is-dot2 { top: 96px; right: 152px; width: 26px; height: 26px; background-color: var(--cl-wh); }
.cs-dot.is-dot3 { top: 831px; right: 114px; width: 14px; height: 14px; background-color: var(--cl-yl); }
.cs-dot.is-dot4 { top: 771px; left: 288px; width: 12px; height: 12px; background-color: var(--cl-wh); }

.cs-char {
  z-index: 3;
  bottom: 60px;
  left: calc(50% - 145px);
  width: 300px;
  height: auto;
}

.cs-person { bottom: 141px; height: auto; }
.cs-person.is-a { left: calc(50% - 420px); width: 49px; }
.cs-person.is-b { left: calc(50% + 360px); width: 50px; }

.cs-tree { bottom: -4px; width: 61px; height: auto; }
.cs-tree.is-l1 { left: 37px; }
.cs-tree.is-l2 { left: 187px; }
.cs-tree.is-r1 { right: 187px; }
.cs-tree.is-r2 { right: 37px; }

.cs-bush { bottom: -8px; width: 69px; height: auto; }
.cs-bush.is-l { left: 120px; }
.cs-bush.is-r { right: 120px; }

/* 1024〜1340px：人物が木に重なるので内側へ寄せる */
@media (min-width: 769px) and (max-width: 1340px) {
  .cs-person.is-a { left: max(270px, calc(50% - 420px)); }
  .cs-person.is-b { left: auto; right: max(270px, calc(50% - 410px)); }
}

/* 769〜1023px：人物と下段の点を外す */
@media (min-width: 769px) and (max-width: 1023px) {
  .cs-person,
  .cs-dot.is-dot4 {
    display: none;
  }

  .cs-ttl {
    font-size: 80px;
  }
}

@media (max-width: 768px) {
  .main:has(.cs) {
    padding-bottom: 24px;
  }

  .cs {
    margin-top: 16px;
  }

  .cs-bg {
    padding: 30px 8px 262px;
    border-radius: 40px;
  }

  .cs-bubble {
    padding: 36px 16px 32px;
    border-width: 4px;
    border-radius: 40px;
  }

  .cs-bubble-tail {
    top: calc(100% - 4px);
    left: calc(50% - 35px);
    width: 70px;
    height: 60px;
  }

  .cs-ttl {
    font-size: 44px;
    line-height: 50px;
  }

  .cs-ttl-txt::before {
    top: 31px;
    right: 2px;
    left: 2px;
    height: 11px;
    border-radius: 6px;
  }

  .cs-lead {
    margin-top: 16px;
    font-size: 22px;
    line-height: 32px;
  }

  .cs-lead-en {
    font-size: 15px;
    line-height: 22px;
  }

  .cs-txt {
    margin-top: 14px;
    font-size: 14px;
    line-height: 26px;
  }

  .cs-txt-en {
    margin-top: 8px;
    font-size: 12px;
    line-height: 20px;
  }

  .cs-bubble .btn-area {
    margin-top: 28px;
    justify-content: center;
  }

  .cs-bubble .btn {
    max-width: 286px;
  }

  .cs-char {
    bottom: 70px;
    left: calc(50% - 95px);
    width: 200px;
  }

  .cs-person,
  .cs-tree.is-l2,
  .cs-tree.is-r2,
  .cs-bush,
  .cs-dot.is-dot2,
  .cs-dot.is-dot4 {
    display: none;
  }

  .cs-tree { bottom: -2px; width: 40px; }
  .cs-tree.is-l1 { left: 12px; }
  .cs-tree.is-r1 { right: 12px; }

  .cs-dot.is-dot1 { top: 24px; left: 22px; width: 10px; height: 10px; }
  .cs-dot.is-dot3 { top: auto; bottom: 150px; right: 28px; }
}

/* トップページへ戻る（日本語＋英語の2段） */
.cs-btn {
  min-height: 72px;
  padding-block: 10px;
}

.cs-btn-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.4;
}

.cs-btn-en {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .cs-btn {
    min-height: 64px;
  }

  .cs-btn-en {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .cs-ttl {
    font-size: 40px;
    line-height: 46px;
    white-space: nowrap;
  }

  .cs-ttl-txt::before {
    top: 28px;
    height: 10px;
  }
}
