/*
Theme Name: CEBRIDGE v2
Theme URI: https://cebridge.jp/
Description: セブリッジ本体サイト用オリジナルテーマ。トップページ(S1〜S13)と固定ページの新デザインを提供する。
Author: CEBRIDGE
Version: 0.1.0
Requires PHP: 7.4
Text Domain: cebridge-v2
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  --cb-blue: #2f6ac9;
  --cb-blue-deep: #2a5fb5;
  --cb-deep: #1d4e9e;
  --cb-navy: #163d7d;
  --cb-sky: #e0f0fb;
  --cb-soft: #eaf3fc;
  --cb-yellow: #ffd93b;
  --cb-red: #e84140;
  --cb-line: #06c755;
  --cb-line-dark: #06a94a;
  --cb-green: #2c9a58;
  --cb-green-deep: #1c7a43;
  --cb-green-pale: #dff7e6;
  --cb-ink: #333333;
  --cb-sub: #556;
  --cb-sub2: #555f6e;
  --cb-muted: #8894a6;
  --cb-faint: #8aa3cc;
  --cb-border: #e4eaf4;
  --cb-border-soft: #dbe4f0;
  --cb-fusen-bg: #fff9e3;
  --cb-fusen-border: #e8cf8a;
  --cb-fusen-ink: #8a6d00;
  --cb-font-body: "Zen Maru Latin Fit", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --cb-font-script: "Caveat", cursive;
  --cb-font-klee: "Klee One", cursive;
  --cb-font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --cb-shadow-card: 0 2px 4px rgba(26, 48, 87, 0.05), 0 6px 16px -6px rgba(26, 48, 87, 0.1);
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--cb-ink);
  font-family: var(--cb-font-body);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cb-blue); text-decoration: none; }
a:hover { color: var(--cb-deep); }
img { max-width: 100%; }

@keyframes cbFloat { 0%, 100% { transform: rotate(3.5deg) translateY(0); } 50% { transform: rotate(3.5deg) translateY(-6px); } }
@keyframes cbMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes cbSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes cbTyping { 0%, 60%, 100% { transform: translateY(0); opacity: 0.35; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ==========================================================================
   Utilities
   ========================================================================== */
.cb-page-wrap { padding-bottom: 78px; overflow-x: clip; }
@media (min-width: 920px) { .cb-page-wrap { padding-bottom: 0; } }
.cb-inner { max-width: 1120px; margin: 0 auto; }

.cb-script {
  font-family: var(--cb-font-script);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  transform: rotate(-2deg);
  display: inline-block;
  margin: 0;
}
.cb-klee { font-family: var(--cb-font-klee); font-weight: 600; }
.cb-mono { font-family: var(--cb-font-mono); }
.cb-marker { background: linear-gradient(transparent 58%, var(--cb-yellow) 58%); }

/* section shell */
.cb-sec { position: relative; overflow: hidden; padding: 76px 20px; }
.cb-sec--sky { background: var(--cb-sky); }
.cb-sec--white { background: #ffffff; }
.cb-sec--navy { background: var(--cb-deep); padding: 64px 20px 68px; }
.cb-sec--bluegrad { background: linear-gradient(180deg, #2f6ac9, #2a5fb5); padding: 82px 20px 86px; }

/* wave divider (fill = previous section bg) */
.cb-wave {
  position: absolute; left: 0; right: 0; top: -1px; height: 30px;
  background-repeat: repeat-x; background-size: 140px 30px; pointer-events: none;
}
.cb-wave--white { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='30' viewBox='0 0 140 30' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q 35 26 70 12 T 140 12 L 140 0 L 0 0 Z' fill='%23ffffff'/%3E%3C/svg%3E"); }
.cb-wave--sky { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='30' viewBox='0 0 140 30' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q 35 26 70 12 T 140 12 L 140 0 L 0 0 Z' fill='%23e0f0fb'/%3E%3C/svg%3E"); }
.cb-wave--navy { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='30' viewBox='0 0 140 30' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q 35 26 70 12 T 140 12 L 140 0 L 0 0 Z' fill='%231d4e9e'/%3E%3C/svg%3E"); }
.cb-wave--bluegrad { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='30' viewBox='0 0 140 30' preserveAspectRatio='none'%3E%3Cpath d='M0 12 Q 35 26 70 12 T 140 12 L 140 0 L 0 0 Z' fill='%232a5fb5'/%3E%3C/svg%3E"); }

/* decorations */
.cb-deco { position: absolute; pointer-events: none; }
.cb-deco--circle { border: 2px dashed rgba(47, 106, 201, 0.3); border-radius: 50%; }
.cb-deco--dot { border-radius: 50%; background: rgba(255, 191, 47, 0.8); }

/* buttons */
.cb-btn {
  display: block; text-align: center; font-weight: 700; border-radius: 999px;
  transition: opacity 0.2s, transform 0.2s;
}
.cb-btn:hover { opacity: 0.92; transform: translateY(-2px); }
.cb-btn--blue { background: var(--cb-blue); color: #ffffff; }
.cb-btn--blue:hover { color: #ffffff; }
.cb-btn--line { background: var(--cb-line); color: #ffffff; }
.cb-btn--line:hover { color: #ffffff; }
.cb-btn__sub { display: block; font-size: 10.5px; font-weight: 500; opacity: 0.9; letter-spacing: 0.08em; margin-top: 2px; }
.cb-line-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  background: #ffffff; color: var(--cb-line-dark); border-radius: 5px; padding: 2px 7px;
}

/* section heading pattern */
.cb-sec-head--center { text-align: center; }
.cb-h2 { margin: 12px 0 0; font-size: clamp(25px, 5vw, 36px); font-weight: 700; line-height: 1.5; color: var(--cb-deep); text-wrap: pretty; }
.cb-lead { font-size: 14px; line-height: 2; color: var(--cb-sub2); text-wrap: pretty; }
.cb-answer { margin: 14px 0 0; font-size: 16px; font-weight: 700; color: var(--cb-ink); line-height: 1.7; }
.cb-answer__badge {
  display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--cb-yellow);
  align-items: center; justify-content: center; font-family: var(--cb-font-script);
  font-size: 19px; font-weight: 700; color: var(--cb-deep); margin-right: 10px; vertical-align: -9px;
}

/* ==========================================================================
   S1 Header
   ========================================================================== */
.cb-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 253, 253, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(29, 78, 158, 0.12);
}
/* ヘッダーは全幅(留学ネットと同じ。他セクションの max-width:1120px は適用しない) */
.cb-header__bar {
  display: flex; align-items: center;
  gap: 12px; padding: 12px clamp(16px, 2vw, 32px); box-sizing: border-box;
}
/* ロゴは絶対に縮ませない。img{max-width:100%} を継承したままだと置換要素の
   min-content が 0 になり、幅が足りないとロゴだけが横に潰れる(2026-08-04 実測) */
.cb-header__logo { display: block; flex: 0 0 auto; }
.cb-header__logo img { display: block; height: 36px; width: auto; max-width: none; }
/* ナビは右寄せ。tools との間は margin で作る(留学ネット式) */
.cb-header__nav { display: none; align-items: center; gap: clamp(8px, 1vw, 14px); margin-left: auto; }
.cb-header__nav a {
  font-size: 12px; font-weight: 500; color: #445; letter-spacing: 0.04em;
  white-space: nowrap; transition: color 0.2s;
}
.cb-header__nav a:hover { color: var(--cb-blue); }
.cb-header__nav a.is-current { color: var(--cb-blue); font-weight: 700; }

/* --- gnav ドロップダウン(hover / focus-within 開閉・JS 不要) --- */
.cb-gnav__item { position: relative; }
.cb-gnav__caret {
  display: inline-block; margin-left: 4px; font-size: 8px; color: #9db1cf;
  transform: translateY(-1px); transition: transform 0.15s, color 0.15s;
}
.cb-gnav__item:hover .cb-gnav__caret,
.cb-gnav__item:focus-within .cb-gnav__caret { transform: translateY(1px); color: var(--cb-blue); }
.cb-gnav__panel {
  position: absolute; top: 100%; left: 0;
  padding-top: 14px; /* ヘッダーとの隙間を埋めるホバー橋 */
  display: none; z-index: 90;
}
/* 右端の項目はパネルを右揃えにする(画面外へ出さない) */
.cb-gnav__item:nth-last-child(-n+2) .cb-gnav__panel { left: auto; right: 0; }
.cb-gnav__item:hover .cb-gnav__panel,
.cb-gnav__item:focus-within .cb-gnav__panel { display: block; }
.cb-gnav__panel-inner {
  background: #ffffff; border: 1px solid #dbe5f2; border-radius: 14px;
  box-shadow: 0 22px 44px -18px rgba(22, 61, 125, 0.35);
  padding: 8px; min-width: 218px;
}
.cb-gnav__panel a {
  display: block; padding: 9px 13px; border-radius: 8px;
  font-size: 12.5px; font-weight: 500; white-space: nowrap; color: var(--cb-ink);
}
.cb-gnav__panel a:hover { background: var(--cb-soft); color: var(--cb-blue); }
.cb-gnav__panel a.is-current { color: var(--cb-blue); font-weight: 700; }
/* 先頭は一覧(ハブ)リンク — 破線で区切る */
.cb-gnav__panel a:first-child {
  border-bottom: 1px dashed #dbe5f2; border-radius: 8px 8px 0 0; margin-bottom: 4px;
}
/* 項目が多い下層(都市8)は 2 列 */
.cb-gnav__panel--wide .cb-gnav__panel-inner {
  display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 0 6px;
}
.cb-gnav__panel--wide .cb-gnav__panel-inner a:first-child { grid-column: 1 / -1; }
.cb-header__tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: auto; }
/* デスクトップではナビ側の margin-left:auto が効くので、tools 側の auto は解除する
   (両方に auto があると nav が中央へ押し出され、留学ネットの右寄せにならない) */
@media (min-width: 1080px) { .cb-header__tools { margin-left: 0; } }
/* 短縮ラベル: 既定はフル表示。中間幅のみ短縮に入れ替える(切替は最下部のメディアクエリ) */
.cb-lbl-short { display: none; }
.cb-header__search {
  appearance: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #d5deec; background: #ffffff; display: none;
  align-items: center; justify-content: center; transition: background 0.2s;
}
.cb-header__search:hover { background: var(--cb-sky); }
.cb-header__search-icon { position: relative; width: 11px; height: 11px; border: 1.5px solid var(--cb-deep); border-radius: 50%; display: block; }
.cb-header__search-icon::after {
  content: ""; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 1.5px;
  background: var(--cb-deep); transform: rotate(45deg); display: block;
}
.cb-header__line {
  display: none; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--cb-line); color: #ffffff; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; border-radius: 999px; padding: 10px 20px;
  transition: opacity 0.2s, transform 0.2s;
}
.cb-header__line:hover { opacity: 0.9; transform: translateY(-1px); color: #ffffff; }
.cb-header__line .cb-line-badge { font-size: 9px; letter-spacing: 0.06em; border-radius: 4px; padding: 1px 6px; }
.cb-header__book {
  display: none; align-items: center; white-space: nowrap; background: #ffffff;
  color: var(--cb-blue); border: 1.5px solid var(--cb-blue); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.04em; border-radius: 999px; padding: 8.5px 18px; transition: background 0.2s, transform 0.2s;
}
.cb-header__book:hover { background: var(--cb-soft); color: var(--cb-deep); transform: translateY(-1px); }

/* --- 2 段目: 実績バー(留学ネットの信頼バンドに対応) --- */
.cb-header__trust {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 4px 20px; padding: 6px clamp(16px, 2vw, 32px); background: var(--cb-soft);
  border-top: 1px solid rgba(29, 78, 158, 0.1);
  font-size: 10.5px; letter-spacing: 0.04em; color: var(--cb-sub2);
}
.cb-header__trust-item { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cb-header__trust-item i { font-style: normal; color: var(--cb-green); font-weight: 700; }
.cb-header__trust-item strong { color: var(--cb-deep); font-weight: 700; }
.cb-header__trust-sep { color: var(--cb-faint); }

/* ヘッダーの電話(デスクトップのみ。モバイルは電話 FAB が担う) */
.cb-header__trust-divider { display: none; width: 1px; height: 16px; background: var(--cb-border); }
.cb-header__tel { display: none; align-items: baseline; gap: 8px; white-space: nowrap; }
.cb-header__tel-num { font-family: var(--cb-font-mono); font-size: 14px; font-weight: 700; color: var(--cb-deep); letter-spacing: 0.02em; }
.cb-header__tel-sub { font-size: 10.5px; color: var(--cb-muted); }
.cb-header__tel:hover .cb-header__tel-num { color: var(--cb-blue); }
@media (min-width: 1020px) {
  .cb-header__trust-divider { display: inline-block; }
  .cb-header__tel { display: inline-flex; }
}

@media (max-width: 480px) { .cb-header__trust { gap: 2px 12px; font-size: 9.5px; padding: 5px 14px; } .cb-header__trust-sep { display: none; } }
.cb-header__burger {
  display: flex; appearance: none; border: none; background: none; align-items: center;
  gap: 8px; cursor: pointer; font-family: var(--cb-font-mono); font-size: 12px;
  font-weight: 700; letter-spacing: 0.24em; color: var(--cb-deep); padding: 12px 4px; min-height: 44px;
}
.cb-header__burger-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cb-red); display: block; }
/* --- ドロワー(モバイル — 右からスライド) --- */
.cb-drawer-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(22, 40, 70, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: none; cursor: pointer;
  animation: cbFadeIn 0.25s ease;
}
.cb-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(330px, 86vw); z-index: 121;
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(22, 61, 125, 0.28);
  display: none; flex-direction: column;
  padding: 18px 22px 28px;
  overflow-y: auto;
  animation: cbDrawerIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
body.cb-drawer-open .cb-drawer { display: flex; }
body.cb-drawer-open .cb-drawer-overlay { display: block; }
@keyframes cbFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cbDrawerIn { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.cb-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cb-drawer__close {
  appearance: none; background: none; border: 1px solid #d5deec; border-radius: 50%;
  width: 34px; height: 34px; color: var(--cb-deep); font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.cb-drawer__word { margin: 6px 0 2px; }
.cb-drawer__word .cb-script { font-size: 38px; line-height: 1.05; color: var(--cb-sky); }

.cb-drawer__search {
  display: flex; align-items: center; gap: 9px; margin: 8px 0 14px;
  padding: 4px 4px 4px 14px; border: 1px solid #d5deec; border-radius: 999px;
  background: #ffffff; color: #8ba3c7;
}
.cb-drawer__search:focus-within { border-color: var(--cb-blue); color: var(--cb-blue); }
.cb-drawer__search input {
  flex: 1; min-width: 0; border: none; background: transparent;
  font-size: 16px; /* モバイル拡大防止 */ color: var(--cb-ink); padding: 8px 0;
  font-family: inherit;
}
.cb-drawer__search input:focus { outline: none; }
.cb-drawer__search button {
  flex-shrink: 0; border: none; border-radius: 999px; background: var(--cb-blue);
  color: #ffffff; font-size: 11.5px; font-weight: 700; padding: 9px 16px;
  cursor: pointer; font-family: inherit;
}

.cb-drawer__nav { display: flex; flex-direction: column; margin-bottom: 18px; }
.cb-drawer__link {
  display: flex; align-items: center; gap: 12px; padding: 13px 2px;
  border-bottom: 1px solid #eef2f9; font-size: 13.5px; font-weight: 500;
  color: var(--cb-ink); transition: color 0.2s;
}
.cb-drawer__link:hover { color: var(--cb-blue); }
.cb-drawer__link.has-sub { border-bottom: none; padding-bottom: 8px; }
.cb-drawer__no { font-family: var(--cb-font-mono); color: var(--cb-blue); font-size: 12px; width: 24px; flex-shrink: 0; }
.cb-drawer__arrow { margin-left: auto; color: #c2cfe4; font-family: var(--cb-font-mono); }
.cb-drawer__sub {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 2px 14px 36px; /* 左は番号幅ぶんの字下げ */
  border-bottom: 1px solid #eef2f9;
}
.cb-drawer__sub a {
  display: inline-flex; padding: 5px 12px; border: 1px solid #d5deec; border-radius: 999px;
  background: var(--cb-soft); color: var(--cb-ink); font-size: 10.5px; font-weight: 500;
  white-space: nowrap; transition: color 0.15s, border-color 0.15s;
}
.cb-drawer__sub a:hover { border-color: var(--cb-blue); color: var(--cb-blue); }

.cb-drawer__cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.cb-drawer__line {
  display: block; text-align: center; background: var(--cb-line);
  color: #ffffff; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 14px;
}
.cb-drawer__line:hover { opacity: 0.92; color: #ffffff; }
.cb-drawer__book {
  display: block; text-align: center; background: var(--cb-blue);
  color: #ffffff; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 14px;
}
.cb-drawer__book:hover { opacity: 0.92; color: #ffffff; }
.cb-drawer__sns {
  display: flex; gap: 16px; margin-top: auto;
  font-family: var(--cb-font-mono); font-size: 10px; letter-spacing: 0.18em;
}
.cb-drawer__sns a { color: #8ba3c7; }
.cb-drawer__sns a:hover { color: var(--cb-blue); }

/* --- 検索モーダル(コマンドパレット風 — 上部センターのカード) --- */
.cb-search-modal { position: fixed; inset: 0; z-index: 210; display: none; }
.cb-search-modal.is-open { display: block; }
.cb-search-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(22, 40, 70, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cb-search-modal__panel {
  position: relative;
  width: min(620px, calc(100% - 32px));
  margin: 13vh auto 0;
  background: #ffffff; border: 1px solid #dbe5f2; border-radius: 22px;
  padding: 26px 28px 24px;
  box-shadow: 0 40px 90px rgba(22, 61, 125, 0.4);
  animation: cbSearchIn 0.22s ease both;
}
@keyframes cbSearchIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.cb-search-modal__close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border: 1px solid #d5deec; border-radius: 50%; background: none; color: #8ba3c7;
  font-size: 13px; cursor: pointer; transition: color 0.15s, border-color 0.15s;
}
.cb-search-modal__close:hover { color: var(--cb-blue); border-color: var(--cb-blue); }
.cb-search-modal__kicker { margin: 0 0 2px; }
.cb-search-modal__kicker .cb-script { font-size: 30px; color: var(--cb-blue); }
.cb-search-modal__title { margin: 0 0 16px; font-size: 19px; font-weight: 900; color: var(--cb-ink); }
.cb-search-modal__field {
  display: flex; align-items: center; gap: 12px;
  padding: 6px 6px 6px 16px;
  border: 2px solid var(--cb-deep); border-radius: 999px; background: #ffffff;
  color: #8ba3c7; transition: border-color 0.15s, box-shadow 0.15s;
}
.cb-search-modal__field:focus-within {
  border-color: var(--cb-blue); color: var(--cb-blue);
  box-shadow: 0 10px 26px rgba(47, 106, 201, 0.18);
}
.cb-search-modal__input {
  flex: 1; min-width: 0; border: none; background: transparent;
  font-size: 16px; color: var(--cb-ink); padding: 10px 0; font-family: inherit;
}
.cb-search-modal__input:focus { outline: none; }
.cb-search-modal__go {
  flex-shrink: 0; border: none; border-radius: 999px;
  background: var(--cb-blue); color: #ffffff;
  font-size: 12.5px; font-weight: 700; padding: 11px 20px; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
}
.cb-search-modal__go:hover { background: var(--cb-deep); }
.cb-search-modal__hints { margin-top: 18px; }
.cb-search-modal__hints-label {
  margin: 0 0 8px; font-family: var(--cb-font-mono); font-size: 9px;
  letter-spacing: 0.22em; color: #8ba3c7;
}
.cb-search-modal__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.cb-search-modal__chips a {
  border: 1px solid #d5deec; border-radius: 999px; background: #ffffff;
  color: var(--cb-ink); font-size: 11.5px; font-weight: 500; padding: 6px 14px;
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.cb-search-modal__chips a:hover { color: var(--cb-blue); border-color: var(--cb-blue); transform: translateY(-1px); }
.cb-search-modal__links {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed #dbe5f2;
}
.cb-search-modal__links a { font-size: 12px; font-weight: 700; color: var(--cb-deep); }
.cb-search-modal__links a:hover { color: var(--cb-blue); }

/* デスクトップナビの切替は 1080px。
   920px にしていた頃は 920〜1049px でバーの必要幅(約 1048px)が足りず、
   唯一縮めるロゴが 0 まで潰れていた(2026-08-04 実測)。
   1080〜1279px は短縮ラベル+LINE のみにして必要幅をさらに下げる(留学ネット式)。 */
@media (min-width: 1080px) {
  .cb-header__nav, .cb-header__line { display: flex; }
  .cb-header__search { display: flex; }
  .cb-header__burger { display: none; }
}
@media (min-width: 1080px) and (max-width: 1279px) {
  .cb-lbl-full { display: none; }
  .cb-lbl-short { display: inline; }
}
/* バーを全幅にしたことで 1280px でも必要幅(約 1180px)に収まるようになった */
@media (min-width: 1280px) {
  .cb-header__book { display: inline-flex; }
}
/* ドロワーを消す幅はナビが出る幅と一致させる。920px 起点のままだと
   920〜1079px でバーガーだけ出てドロワーが開かない(2026-08-04 修正) */
@media (min-width: 1080px) {
  .cb-drawer, .cb-drawer-overlay { display: none !important; }
  body.cb-drawer-open .cb-drawer, body.cb-drawer-open .cb-drawer-overlay { display: none !important; }
}

/* ==========================================================================
   S2 Hero
   ========================================================================== */
.cb-hero {
  position: relative;
  background-color: #ffffff;
  background-image:
    radial-gradient(52% 34% at 4% 62%, rgba(47, 106, 201, 0.2), rgba(47, 106, 201, 0) 72%),
    radial-gradient(46% 30% at 30% 74%, rgba(99, 146, 212, 0.18), rgba(99, 146, 212, 0) 70%),
    radial-gradient(50% 32% at 58% 60%, rgba(47, 106, 201, 0.16), rgba(47, 106, 201, 0) 72%),
    radial-gradient(48% 30% at 86% 72%, rgba(99, 146, 212, 0.2), rgba(99, 146, 212, 0) 70%),
    radial-gradient(56% 36% at 108% 52%, rgba(47, 106, 201, 0.15), rgba(47, 106, 201, 0) 72%),
    radial-gradient(60% 40% at 50% -12%, rgba(141, 180, 230, 0.3), rgba(141, 180, 230, 0) 72%),
    linear-gradient(180deg, #edf3fb 0%, #ffffff 82%);
  overflow: hidden;
}
.cb-hero__side {
  display: none; position: absolute; writing-mode: vertical-rl;
  font-family: var(--cb-font-mono); font-size: 9px; letter-spacing: 0.34em; color: #b6c5dd;
}
.cb-hero__side--l { left: 16px; top: 110px; }
.cb-hero__side--r { right: 16px; top: 140px; }
@media (min-width: 1300px) { .cb-hero__side { display: block; } }

.cb-hero__grid { max-width: 1200px; margin: 0 auto; padding: 52px 20px 0; display: flex; flex-direction: column; gap: 30px; }
.cb-hero__col { display: contents; }
.cb-hero__title { order: 1; text-align: center; }
.cb-hero__photo-wrap { order: 2; }
.cb-hero__copy { order: 4; text-align: center; }
.cb-hero__interview { order: 5; padding: 8px 4px 0; }
@media (min-width: 920px) {
  .cb-hero__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 44px 60px; align-items: center;
  }
  .cb-hero__col { display: block; }
  .cb-hero__title, .cb-hero__copy { text-align: left; }
}

.cb-hero__eyebrow { margin: 0; font-family: var(--cb-font-mono); font-size: 10px; letter-spacing: 0.32em; color: var(--cb-faint); }
.cb-hero__big {
  margin-top: 8px; font-size: clamp(44px, 12vw, 86px); font-weight: 900; line-height: 1.04;
  letter-spacing: 0.03em; color: var(--cb-deep); white-space: nowrap;
}
.cb-hero__big span { color: var(--cb-red); }
.cb-hero__tagline { margin: 16px 0 0; font-size: 15.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--cb-sub); }

.cb-hero__h1 {
  margin: 0; font-size: clamp(23px, 4.4vw, 33px); font-weight: 700; line-height: 1.6;
  letter-spacing: 0.05em; color: var(--cb-deep); text-wrap: pretty;
}
.cb-hero__h1 .cb-marker { display: inline-block; color: var(--cb-deep); background: linear-gradient(transparent 62%, var(--cb-yellow) 62%); padding-bottom: 2px; }
.cb-hero__lead { margin: 22px auto 0; font-size: 14.5px; line-height: 2; color: var(--cb-sub2); max-width: 460px; text-wrap: pretty; }
.cb-hero__ask {
  position: relative; display: inline-block; margin: 22px 0 0; padding: 14px 22px;
  background: #ffffff; border: 1.5px solid var(--cb-blue); border-radius: 20px;
  font-size: 14.5px; font-weight: 700; color: var(--cb-deep); line-height: 1.75;
  box-shadow: 0 8px 18px -10px rgba(47, 106, 201, 0.35); text-wrap: pretty;
}
@media (max-width: 919px) { .cb-hero__ask { box-sizing: border-box; max-width: min(90%, 320px); } }
.cb-hero__ask::before, .cb-hero__ask::after {
  content: ""; position: absolute; left: 36px; bottom: -8px; width: 14px; height: 14px;
  background: #ffffff; transform: rotate(45deg);
}
.cb-hero__ask::before { bottom: -9px; background: var(--cb-blue); }
.cb-hero__ask::after { background: #ffffff; }
@media (min-width: 920px) {
  .cb-hero__h1 { margin: 34px 0 0; }
  .cb-hero__lead { margin: 22px 0 0; }
}
.cb-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; justify-content: center; }
@media (min-width: 920px) { .cb-hero__chips { justify-content: flex-start; } }
.cb-hero__chip { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; border-radius: 999px; padding: 6px 14px; }
.cb-hero__chip--blue { background: var(--cb-blue); color: #ffffff; }
.cb-hero__chip--yellow { background: var(--cb-yellow); color: var(--cb-ink); }
.cb-hero__chip--red { background: var(--cb-red); color: #ffffff; }

.cb-hero__line-card {
  margin: 26px auto 0; max-width: 480px; background: #ffffff; border: 1.5px solid var(--cb-line);
  border-radius: 26px; padding: 18px 20px 20px; box-shadow: 0 14px 30px -14px rgba(6, 199, 85, 0.4);
  scroll-margin-top: 90px;
}
.cb-hero__line-card-title { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--cb-ink); line-height: 1.9; }
.cb-hero__line-card-title .cb-marker { color: var(--cb-ink); }
.cb-hero__line-card-note { margin: 6px 0 0; font-size: 11.5px; color: var(--cb-muted); letter-spacing: 0.04em; }
.cb-hero__line-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px;
  background: var(--cb-line); color: #ffffff; font-size: 14.5px; font-weight: 700;
  border-radius: 999px; padding: 15px 12px; transition: opacity 0.2s, transform 0.2s;
}
.cb-hero__line-btn:hover { opacity: 0.92; transform: translateY(-2px); color: #ffffff; }
.cb-hero__cv-btn {
  display: block; width: 80%; max-width: 384px; text-align: center; margin: 12px auto 0;
  background: var(--cb-blue); color: #ffffff; font-size: 13.5px; font-weight: 700;
  border-radius: 999px; padding: 13px 12px; box-shadow: 0 12px 26px -12px rgba(47, 106, 201, 0.5);
  transition: opacity 0.2s, transform 0.2s;
}
.cb-hero__cv-btn:hover { opacity: 0.92; transform: translateY(-2px); color: #ffffff; }

/* hero photo composition */
.cb-hero__photo { position: relative; min-height: 400px; margin-top: 6px; }
@media (min-width: 920px) { .cb-hero__photo { min-height: 580px; } }
.cb-hero__blob {
  position: absolute; inset: 8% 6% 10% 4%; background: rgba(47, 106, 201, 0.09);
  border-radius: 58% 42% 55% 45% / 52% 48% 42% 58%;
}
.cb-hero__polaroid {
  position: relative; width: min(86%, 380px); margin: 0 auto; background: #ffffff;
  padding: 12px 12px 44px; border-radius: 12px;
  box-shadow: 0 2px 4px rgba(26, 48, 87, 0.08), 0 22px 44px -18px rgba(26, 48, 87, 0.35);
  transform: rotate(-2.5deg);
}
@media (min-width: 920px) { .cb-hero__polaroid { width: min(96%, 460px); margin: 0; } }
.cb-hero__tape {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%) rotate(2deg);
  width: 88px; height: 24px; background: rgba(47, 106, 201, 0.16);
  border-left: 1px dashed rgba(47, 106, 201, 0.25); border-right: 1px dashed rgba(47, 106, 201, 0.25);
}
.cb-hero__slides { position: relative; width: 100%; height: 290px; overflow: hidden; background: #dde5f0; }
@media (min-width: 920px) { .cb-hero__slides { height: 400px; } }
.cb-hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.9s ease; }
.cb-hero__slide.is-active { opacity: 1; }
.cb-hero__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.cb-hero__dot {
  appearance: none; border: none; cursor: pointer; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.75); padding: 0; transition: background 0.3s;
}
.cb-hero__dot.is-active { background: var(--cb-yellow); }
.cb-hero__cap { margin: 12px 0 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 14px; color: var(--cb-sub); text-align: center; line-height: 1.4; }
.cb-hero__sub-polaroid {
  display: none; position: absolute; right: 0; bottom: 0; width: min(52%, 240px);
  background: #ffffff; padding: 8px 8px 28px; border-radius: 12px;
  box-shadow: 0 2px 4px rgba(26, 48, 87, 0.08), 0 16px 32px -14px rgba(26, 48, 87, 0.4);
  transform: rotate(3.5deg); animation: cbFloat 7s ease-in-out infinite;
}
@media (min-width: 920px) { .cb-hero__sub-polaroid { display: block; right: -14%; } }
.cb-hero__sub-polaroid img,
.cb-hero__sub-polaroid .cb-hero__sub-polaroid-media { display: block; width: 100%; height: 155px; object-fit: cover; background: #dde5f0; }
.cb-hero__sub-polaroid p { margin: 7px 0 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 12px; color: var(--cb-sub); text-align: center; }
.cb-hero__bubble {
  position: absolute; left: -4px; top: 5%; z-index: 5; background: #ffffff;
  border: 1.5px solid var(--cb-blue); border-radius: 22px; padding: 10px 16px;
  box-shadow: 0 8px 20px -8px rgba(26, 48, 87, 0.3); transform: rotate(-3deg);
}
.cb-hero__bubble p { margin: 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 14px; color: var(--cb-blue); line-height: 1.5; white-space: nowrap; }
.cb-hero__bubble-tail {
  position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; background: #ffffff;
  border-top: 1.5px solid var(--cb-blue); border-right: 1.5px solid var(--cb-blue);
  transform: translateY(-50%) rotate(45deg);
}
.cb-hero__stamp { position: absolute; right: -2%; top: 42%; z-index: 6; width: 96px; height: 96px; display: block; }
.cb-hero__stamp-bg { position: absolute; inset: 0; border-radius: 50%; background: #ffffff; box-shadow: 0 10px 24px -8px rgba(26, 48, 87, 0.35); }
.cb-hero__stamp svg { position: absolute; inset: 0; animation: cbSpin 28s linear infinite; }
.cb-hero__stamp svg text { font-family: var(--cb-font-mono); font-size: 10px; letter-spacing: 0.2em; fill: var(--cb-blue); }
.cb-hero__stamp-core {
  position: absolute; inset: 28px; border-radius: 50%; border: 1.5px dashed rgba(47, 106, 201, 0.5);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--cb-blue);
}
.cb-hero__int-label { margin: 0; font-family: var(--cb-font-mono); font-size: 9.5px; letter-spacing: 0.24em; color: var(--cb-faint); }
.cb-hero__int-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cb-hero__int-pill {
  display: inline-flex; align-items: center; gap: 9px; background: #ffffff;
  border: 1px solid var(--cb-border); border-radius: 999px; padding: 6px 18px 6px 7px;
  font-size: 12.5px; font-weight: 700; color: var(--cb-deep);
  box-shadow: 0 2px 6px rgba(26, 48, 87, 0.07); transition: transform 0.2s;
}
.cb-hero__int-pill:hover { transform: translateY(-2px); color: var(--cb-deep); }
.cb-hero__int-pill img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: block; }
.cb-hero__int-more {
  display: block; width: 80%; max-width: 384px; text-align: center; margin: 10px 0 0; background: #ffffff;
  border: 1px solid #d5deec; border-radius: 999px; padding: 12px; font-size: 13px;
  font-weight: 700; color: var(--cb-deep); box-shadow: 0 2px 6px rgba(26, 48, 87, 0.07); transition: transform 0.2s;
}
.cb-hero__int-more:hover { transform: translateY(-2px); color: var(--cb-blue); }

/* marquee */
.cb-marquee { overflow: hidden; margin-top: 44px; padding: 6px 0 18px; }
.cb-marquee__track { display: flex; width: max-content; animation: cbMarquee 40s linear infinite; }
.cb-marquee__group { display: flex; align-items: center; }
.cb-marquee__item {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: clamp(42px, 7vw, 78px); font-weight: 400; letter-spacing: 0.1em; color: #cfe3f7; line-height: 1.2;
}
.cb-marquee__item span:first-child { padding: 0 34px; }
.cb-marquee__star { font-size: 0.42em; }

/* ==========================================================================
   S3 A Day in Cebu
   ========================================================================== */
.cb-day__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; margin-top: 40px; }
.cb-day__tilt { transform: rotate(-1.8deg); }
.cb-day__tilt:nth-child(2) { transform: rotate(1.4deg); }
.cb-day__tilt:nth-child(3) { transform: rotate(-1.2deg); }
.cb-day__tilt:nth-child(4) { transform: rotate(1.8deg); }
.cb-day__card {
  background: #ffffff; border-radius: 18px; padding: 9px 9px 13px;
  box-shadow: 0 14px 28px -12px rgba(29, 78, 158, 0.35); transition: transform 0.25s;
}
.cb-day__card:hover { transform: translateY(-4px); }
.cb-day__imgwrap { position: relative; overflow: hidden; border-radius: 12px; }
.cb-day__imgwrap img { display: block; width: 100%; height: 210px; object-fit: cover; background: #e2e8f2; }
.cb-day__time {
  position: absolute; top: 9px; left: 9px; background: var(--cb-yellow); color: var(--cb-deep);
  font-family: var(--cb-font-mono); font-size: 10.5px; letter-spacing: 0.1em; font-weight: 700;
  border-radius: 999px; padding: 4px 13px;
}
.cb-day__time--red { background: var(--cb-red); color: #ffffff; }
.cb-day__time--navy { background: var(--cb-deep); color: #ffffff; }
.cb-day__cap { margin: 10px 2px 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 12.5px; color: var(--cb-sub); text-align: center; line-height: 1.5; }
.cb-day__stats { display: flex; flex-wrap: wrap; margin-top: 40px; background: #ffffff; border: 1px solid var(--cb-border); border-radius: 24px; overflow: hidden; }
.cb-day__stat { flex: 1 1 200px; box-sizing: border-box; padding: 24px 20px; border-right: 1px solid #eef2f8; text-align: center; }
.cb-day__stat:last-child { border-right: none; }
.cb-day__stat b { display: block; font-size: 22px; font-weight: 700; color: var(--cb-blue); letter-spacing: 0.03em; }
.cb-day__stat span { font-size: 12px; color: #667; line-height: 1.7; display: block; margin-top: 6px; }
.cb-day__cta-wrap { margin-top: 32px; text-align: center; }
.cb-day__cta {
  display: inline-block; background: var(--cb-blue); color: #ffffff; font-size: 13.5px; font-weight: 700;
  border-radius: 999px; padding: 14px 34px; box-shadow: 0 10px 24px -10px rgba(47, 106, 201, 0.55);
  transition: transform 0.2s, opacity 0.2s;
}
.cb-day__cta:hover { opacity: 0.93; transform: translateY(-2px); color: #ffffff; }

/* ==========================================================================
   S4 What's Cebridge (facts)
   ========================================================================== */
.cb-facts__script { font-size: 48px; color: var(--cb-yellow); }
.cb-facts__h2 { margin: 14px 0 0; font-size: clamp(23px, 4.6vw, 32px); font-weight: 700; line-height: 1.6; color: #ffffff; text-wrap: pretty; }
.cb-facts__lead { margin: 18px auto 0; font-size: 14px; line-height: 2.05; color: #c9d6ee; max-width: 720px; text-align: left; text-wrap: pretty; }
.cb-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 34px; }
.cb-facts__card { background: #ffffff; border-radius: 22px; padding: 20px 22px; box-shadow: 0 14px 30px -14px rgba(8, 20, 44, 0.55); }
.cb-facts__head { display: flex; align-items: center; gap: 12px; }
.cb-facts__no {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cb-yellow);
  display: flex; align-items: center; justify-content: center; font-family: var(--cb-font-script);
  font-size: 17px; font-weight: 700; color: var(--cb-deep); transform: rotate(-4deg);
}
.cb-facts__big { font-size: 17.5px; color: var(--cb-deep); letter-spacing: 0.04em; }
.cb-facts__small { margin: 8px 0 0; font-size: 12px; line-height: 1.8; color: var(--cb-sub); }

/* ==========================================================================
   S4.5 Reason
   ========================================================================== */
.cb-reason__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 68px 20px; margin-top: 80px; }
.cb-reason__card {
  position: relative; background: var(--cb-soft); border-radius: 28px; padding: 64px 24px 28px;
  text-align: center; transition: transform 0.25s;
}
.cb-reason__card:hover { transform: translateY(-4px); }
.cb-reason__icon {
  position: absolute; top: -46px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  width: 96px; height: 96px; border-radius: 50%; background: #ffffff; border: 3px solid var(--cb-blue);
  display: flex; align-items: center; justify-content: center; font-size: 48px; line-height: 1;
  box-shadow: 0 14px 28px -12px rgba(29, 78, 158, 0.35);
}
.cb-reason__card--red .cb-reason__icon { border-color: var(--cb-red); }
.cb-reason__card--green .cb-reason__icon { border-color: var(--cb-line-dark); }
.cb-reason__point { display: inline-block; font-family: var(--cb-font-script); font-size: 32px; font-weight: 700; color: var(--cb-red); line-height: 1; transform: rotate(-2deg); }
.cb-reason__title { display: block; margin-top: 10px; font-size: 17px; color: var(--cb-deep); line-height: 1.6; letter-spacing: 0.04em; text-wrap: pretty; }
.cb-reason__body { margin: 12px 0 0; font-size: 13px; line-height: 1.95; color: var(--cb-sub); text-align: left; text-wrap: pretty; }
.cb-reason__cta {
  display: block; max-width: 420px; margin: 32px auto 0; text-align: center; font-size: 14px;
  font-weight: 700; color: #ffffff; border-radius: 999px; padding: 16px 20px; background: var(--cb-blue);
  box-shadow: 0 12px 26px -10px rgba(47, 106, 201, 0.5); transition: transform 0.2s, opacity 0.2s;
}
.cb-reason__cta:hover { opacity: 0.93; transform: translateY(-2px); color: #ffffff; }

/* ==========================================================================
   S5 3 Questions
   ========================================================================== */
.cb-q3__h2 { margin: 14px 0 0; font-size: clamp(24px, 5vw, 36px); font-weight: 700; line-height: 1.6; color: #ffffff; text-wrap: pretty; }
.cb-q3__lead { margin: 12px 0 0; font-size: 14px; line-height: 2; color: rgba(255, 255, 255, 0.88); text-wrap: pretty; }
.cb-q3__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 56px; align-items: center; margin-top: 44px; }
.cb-q3__list { display: flex; flex-direction: column; gap: 14px; }
.cb-q3__item {
  display: flex; align-items: center; gap: 16px; background: #ffffff; border-radius: 22px;
  padding: 16px 18px; box-shadow: 0 12px 26px -12px rgba(10, 35, 80, 0.45); transition: transform 0.2s;
}
.cb-q3__item:hover { transform: translateY(-3px); }
.cb-q3__qno {
  flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--cb-yellow);
  display: flex; align-items: center; justify-content: center; font-family: var(--cb-font-script);
  font-size: 23px; font-weight: 700; color: var(--cb-deep); transform: rotate(-4deg);
}
.cb-q3__q { flex: 1; min-width: 0; }
.cb-q3__q b { display: block; font-size: 15px; color: var(--cb-deep); line-height: 1.5; }
.cb-q3__q span { display: block; font-size: 11.5px; color: var(--cb-muted); margin-top: 2px; }
.cb-q3__arrow {
  flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cb-sky);
  display: flex; align-items: center; justify-content: center; color: var(--cb-blue); font-weight: 700;
}
.cb-q3__note { margin: 4px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.78); text-align: center; letter-spacing: 0.04em; }
.cb-q3__chat {
  position: relative; background: #ffffff; border-radius: 28px; padding: 16px 16px 18px;
  box-shadow: 0 24px 48px -18px rgba(10, 35, 80, 0.55); transform: rotate(1.5deg); max-width: 430px; margin: 0 auto;
}
.cb-q3__chat-head { display: flex; align-items: center; gap: 10px; padding: 2px 6px 12px; }
.cb-q3__chat-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; background: var(--cb-sky); display: block; }
.cb-q3__chat-avatar img { display: block; height: 38px; width: auto; max-width: none; }
.cb-q3__chat-name { flex: 1; }
.cb-q3__chat-name b { display: block; font-size: 13px; color: var(--cb-deep); }
.cb-q3__chat-status { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--cb-green); }
.cb-q3__chat-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--cb-line); display: block; }
.cb-q3__chat-ask { font-family: var(--cb-font-script); font-size: 20px; font-weight: 700; color: var(--cb-faint); transform: rotate(-3deg); }
.cb-q3__chat-body { background: var(--cb-soft); border-radius: 20px; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.cb-q3__chat-day { align-self: center; font-size: 9.5px; color: var(--cb-muted); background: #ffffff; border-radius: 999px; padding: 3px 12px; }
.cb-q3__msg { max-width: 88%; padding: 10px 14px; }
.cb-q3__msg p { margin: 0; font-size: 12.5px; line-height: 1.7; }
.cb-q3__msg--user { align-self: flex-end; background: #b9ef9d; border-radius: 16px 4px 16px 16px; }
.cb-q3__msg--user p { color: #2c4a14; }
.cb-q3__msg--cb { align-self: flex-start; background: #ffffff; border-radius: 4px 16px 16px 16px; box-shadow: 0 2px 6px rgba(29, 78, 158, 0.08); }
.cb-q3__msg--cb p { color: var(--cb-ink); }
.cb-q3__typing {
  align-self: flex-start; background: #ffffff; border-radius: 4px 16px 16px 16px;
  padding: 12px 16px; box-shadow: 0 2px 6px rgba(29, 78, 158, 0.08); display: flex; gap: 5px; align-items: center;
}
.cb-q3__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cb-faint); animation: cbTyping 1.2s ease-in-out infinite; }
.cb-q3__typing i:nth-child(2) { animation-delay: 0.15s; }
.cb-q3__typing i:nth-child(3) { animation-delay: 0.3s; }
.cb-q3__sticker {
  position: absolute; top: -14px; right: -8px; font-family: var(--cb-font-script); font-size: 22px;
  font-weight: 700; color: var(--cb-yellow); background: var(--cb-deep); border-radius: 999px;
  padding: 4px 16px; transform: rotate(6deg); box-shadow: 0 8px 18px -8px rgba(10, 35, 80, 0.5);
}

/* ==========================================================================
   S6 How much (cost)
   ========================================================================== */
.cb-cost__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 34px; align-items: start; }
.cb-cost__estimate { background: #ffffff; border: 1px solid var(--cb-border); border-radius: 24px; padding: 22px 20px; box-shadow: var(--cb-shadow-card); }
.cb-cost__estimate-label { margin: 0; }
.cb-cost__estimate-label .cb-script { font-size: 26px; color: var(--cb-blue); }
.cb-cost__estimate-label span:last-child { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--cb-muted); }
.cb-cost__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; margin-top: 14px; }
.cb-cost__table th { padding: 10px; text-align: left; font-weight: 500; color: var(--cb-muted); font-size: 11px; letter-spacing: 0.1em; border-bottom: 1px solid rgba(29, 78, 158, 0.2); }
.cb-cost__table th.cb-cost__th-total { font-weight: 700; color: var(--cb-blue); border-bottom: 1px solid var(--cb-blue); background: var(--cb-fusen-bg); }
.cb-cost__table td { padding: 13px 10px; border-bottom: 1px solid #f0f3f9; color: var(--cb-sub); }
.cb-cost__table tr:last-child td { border-bottom: none; }
.cb-cost__table td:first-child { font-weight: 700; color: var(--cb-deep); }
.cb-cost__table td.cb-cost__td-total { font-weight: 700; color: var(--cb-deep); background: var(--cb-fusen-bg); }
.cb-cost__estimate-note {
  margin: 16px 0 0; display: flex; gap: 10px; font-size: 12.5px; color: var(--cb-sub); line-height: 1.8;
  border-top: 1px dashed var(--cb-border-soft); padding-top: 14px;
}
.cb-cost__estimate-note i { flex: none; font-style: normal; font-family: var(--cb-font-mono); color: var(--cb-blue); font-size: 11px; }
.cb-cost__receipt-wrap { max-width: 420px; margin: 0 auto; width: 100%; }
.cb-cost__receipt {
  position: relative; background: #ffffff; border-radius: 18px 10px 0 0; padding: 24px 24px 20px;
  box-shadow: 0 2px 4px rgba(26, 48, 87, 0.06), 0 18px 38px -16px rgba(26, 48, 87, 0.28);
  font-family: var(--cb-font-mono);
}
.cb-cost__sticker {
  position: absolute; top: -13px; right: 14px; font-family: var(--cb-font-body);
  background: var(--cb-red); color: #ffffff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em;
  border-radius: 999px; padding: 5px 16px; transform: rotate(5deg); box-shadow: 0 6px 14px -6px rgba(160, 30, 30, 0.5);
}
.cb-cost__receipt-label { margin: 0; font-size: 10px; letter-spacing: 0.34em; color: #99a3b2; }
.cb-cost__receipt-title { margin: 12px 0 0; font-family: var(--cb-font-body); font-size: 15px; font-weight: 700; color: var(--cb-deep); }
.cb-cost__receipt-title span { display: block; font-size: 10.5px; font-weight: 500; color: var(--cb-muted); letter-spacing: 0.06em; margin-top: 3px; }
.cb-cost__receipt-rows { border-top: 1px dashed #d5deec; margin-top: 16px; padding-top: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; color: #445; }
.cb-cost__receipt-row { display: flex; justify-content: space-between; gap: 10px; }
.cb-cost__receipt-row span { font-family: var(--cb-font-body); }
.cb-cost__receipt-row b { color: var(--cb-ink); letter-spacing: 0.02em; }
.cb-cost__receipt-total { border-top: 1px dashed #d5deec; margin-top: 14px; padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.cb-cost__receipt-total span { font-family: var(--cb-font-body); font-size: 12px; font-weight: 700; color: var(--cb-deep); letter-spacing: 0.06em; }
.cb-cost__receipt-total b { font-size: 23px; color: var(--cb-blue); letter-spacing: 0; }
.cb-cost__receipt-foot { margin: 14px 0 0; text-align: center; font-family: var(--cb-font-body); font-size: 10px; color: #99a3b2; letter-spacing: 0.1em; }
.cb-cost__zigzag {
  height: 12px;
  background:
    linear-gradient(45deg, transparent 33.333%, #ffffff 33.333%, #ffffff 66.667%, transparent 66.667%),
    linear-gradient(-45deg, transparent 33.333%, #ffffff 33.333%, #ffffff 66.667%, transparent 66.667%);
  background-size: 12px 24px; background-position: 0 -12px;
  filter: drop-shadow(0 5px 4px rgba(26, 48, 87, 0.1));
}
.cb-cost__minis { display: flex; gap: 10px; margin-top: 18px; }
.cb-cost__mini {
  flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 6px;
  font-size: 11.5px; background: #ffffff; border: 1px solid var(--cb-border); border-radius: 18px;
  padding: 11px 13px; cursor: pointer; transition: border-color 0.2s;
}
.cb-cost__mini:hover { border-color: var(--cb-blue); }
.cb-cost__mini b:first-child { color: var(--cb-deep); }
.cb-cost__mini span span { display: block; color: var(--cb-muted); font-size: 10px; }
.cb-cost__mini-amount { color: var(--cb-blue); white-space: nowrap; font-family: var(--cb-font-mono); font-size: 11px; }
.cb-cost__line-btn { margin-top: 12px; font-size: 14px; padding: 15px 12px; }

/* ==========================================================================
   S7 Can I (diagnosis + voices)
   ========================================================================== */
.cb-diag__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 34px; align-items: start; }
.cb-diag__card { background: #ffffff; border: 1px solid var(--cb-border); border-radius: 26px; padding: 24px 20px; box-shadow: var(--cb-shadow-card); }
.cb-diag__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cb-diag__title { margin: 0; font-size: 17px; font-weight: 700; color: var(--cb-deep); letter-spacing: 0.04em; }
.cb-diag__title .cb-script { margin-left: 10px; font-size: 21px; color: var(--cb-red); transform: rotate(-3deg); }
.cb-diag__bars { display: flex; gap: 5px; }
.cb-diag__bar { width: 24px; height: 4px; border-radius: 2px; background: #e2e8f2; transition: background 0.3s; }
.cb-diag__bar.is-on { background: var(--cb-green); }
.cb-diag__q { margin: 18px 0 0; font-size: 13.5px; font-weight: 700; color: var(--cb-ink); }
.cb-diag__qno {
  display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--cb-yellow);
  align-items: center; justify-content: center; font-family: var(--cb-font-script); font-size: 14px;
  font-weight: 700; color: var(--cb-deep); margin-right: 8px; vertical-align: -6px;
}
.cb-diag__opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cb-diag__opt {
  appearance: none; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; border: 1px solid var(--cb-soft); border-radius: 999px; padding: 10px 19px;
  min-height: 42px; background: var(--cb-soft); color: var(--cb-deep); transition: all 0.22s;
}
.cb-diag__opt:hover { border-color: var(--cb-blue); }
.cb-diag__opt.is-selected { background: var(--cb-blue); border-color: var(--cb-blue); color: #ffffff; font-weight: 700; }
.cb-diag__result {
  max-height: 0; opacity: 0; transform: translateY(10px); overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s, transform 0.4s;
}
.cb-diag__result.is-open { max-height: 680px; opacity: 1; transform: translateY(0); }
.cb-diag__result-card { margin-top: 20px; background: #f4faf6; border: 1px solid #bfe0cb; border-radius: 20px; padding: 18px; }
.cb-diag__result-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.cb-diag__result-btn { font-size: 13px; padding: 12px 16px; }
.cb-diag__result-btn--senpai { background: #ffffff; border: 1.5px solid var(--cb-green); color: #1c6b35; }
.cb-diag__result-btn--senpai:hover { color: #1c6b35; }
.cb-diag__result-label { margin: 0; }
.cb-diag__result-label .cb-script { font-size: 26px; color: var(--cb-green-deep); }
.cb-diag__result-label span:last-child { margin-left: 10px; font-size: 11.5px; font-weight: 700; color: var(--cb-green); }
.cb-diag__type { margin: 8px 0 0; font-size: 18px; font-weight: 700; color: #1c6b35; line-height: 1.5; }
.cb-diag__detail { margin: 12px 0 0; font-size: 13px; line-height: 1.85; color: #445; }
.cb-diag__detail + .cb-diag__detail { margin-top: 6px; }
.cb-diag__detail b { color: var(--cb-deep); }
.cb-diag__hint { margin: 18px 0 0; font-size: 12px; color: #99a3b2; text-align: center; letter-spacing: 0.08em; }
.cb-diag__hint.is-hidden { display: none; }
.cb-diag__line-btn { margin-top: 16px; font-size: 13.5px; padding: 15px 12px; }
.cb-voices { display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 80px; }
.cb-voice { background: #ffffff; border: 1px solid var(--cb-border); border-radius: 26px; padding: 22px 20px; box-shadow: var(--cb-shadow-card); }
.cb-voice__head { display: flex; align-items: center; gap: 12px; }
.cb-voice__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--cb-yellow); padding: 2px; box-sizing: border-box; background: #ffffff; }
.cb-voice__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.cb-voice__name { flex: 1; }
.cb-voice__name b { font-size: 13.5px; color: var(--cb-deep); }
.cb-voice__name b span { font-weight: 500; color: var(--cb-muted); font-size: 11.5px; }
.cb-voice__play {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; background: var(--cb-red);
  color: #ffffff; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; border-radius: 999px; padding: 2px 12px;
}
.cb-voice__timeline { margin-top: 16px; display: grid; grid-template-columns: 14px 1fr; gap: 0 14px; }
.cb-voice__rail { grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; }
.cb-voice__rail i:first-child { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #b7c3d6; margin-top: 5px; }
.cb-voice__rail i:nth-child(2) { flex: 1; width: 1px; background: rgba(29, 78, 158, 0.16); margin: 4px 0; }
.cb-voice__rail i:last-child { width: 8px; height: 8px; border-radius: 50%; background: var(--cb-green); }
.cb-voice__before { padding-bottom: 14px; }
.cb-voice__tag { display: inline-block; background: #eef1f6; color: #667; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 3px 14px; }
.cb-voice__tag--after { background: var(--cb-green-pale); color: var(--cb-green-deep); }
.cb-voice__text { margin: 4px 0 0; font-size: 13px; line-height: 1.85; color: var(--cb-sub); }
.cb-voice__text--after { color: var(--cb-ink); }
.cb-voices__more {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700;
  color: var(--cb-blue); letter-spacing: 0.04em; border-bottom: 1px solid rgba(47, 106, 201, 0.4);
  padding-bottom: 4px; align-self: flex-start; transition: color 0.2s;
}
.cb-voices__more:hover { color: var(--cb-deep); }
.cb-voices__more i { font-style: normal; font-family: var(--cb-font-mono); }
.cb-voice__source {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 14px;
  font-size: 12px; font-weight: 700; color: var(--cb-blue); letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(47, 106, 201, 0.35); padding-bottom: 2px; transition: color 0.2s;
}
.cb-voice__source:hover { color: var(--cb-deep); border-bottom-color: var(--cb-deep); }

/* ==========================================================================
   S8 Counselor
   ========================================================================== */
.cb-counselor__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 34px; }
.cb-counselor__card {
  background: #ffffff; border: 1px solid var(--cb-border); border-radius: 24px; padding: 26px 20px 22px;
  box-shadow: var(--cb-shadow-card); transition: transform 0.25s, box-shadow 0.25s;
}
.cb-counselor__card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(26, 48, 87, 0.05), 0 16px 30px -14px rgba(26, 48, 87, 0.25); }
.cb-counselor__head { display: flex; align-items: center; gap: 16px; }
.cb-counselor__avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--cb-yellow); padding: 3px; box-sizing: border-box; background: #ffffff; }
.cb-counselor__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.cb-counselor__tag { display: inline-block; background: var(--cb-sky); color: var(--cb-deep); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; border-radius: 999px; padding: 4px 13px; }
.cb-counselor__name { display: block; margin-top: 8px; font-size: 16.5px; color: var(--cb-deep); letter-spacing: 0.04em; }
.cb-counselor__bio { margin: 14px 0 0; font-size: 12.5px; color: #667; line-height: 1.8; border-top: 1px solid #f0f3f9; padding-top: 12px; }
.cb-counselor__note {
  margin: 10px 0 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 13px;
  color: var(--cb-deep); line-height: 1.7; background: var(--cb-soft);
  border-radius: 4px 14px 14px 14px; padding: 9px 15px; display: inline-block;
}
.cb-counselor__link {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px;
  font-size: 12.5px; font-weight: 700; color: var(--cb-blue); border: 1.5px solid var(--cb-blue);
  border-radius: 999px; padding: 10px 14px; background: #ffffff; transition: background 0.2s, transform 0.2s;
}
.cb-counselor__link:hover { background: var(--cb-soft); transform: translateY(-2px); color: var(--cb-deep); }
.cb-counselor__real-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.cb-counselor__real {
  background: #ffffff; border: 1px solid var(--cb-border); border-radius: 24px; padding: 24px 20px;
  box-shadow: var(--cb-shadow-card); display: flex; gap: 20px; align-items: flex-start;
}
.cb-a4 { flex: none; position: relative; width: 100px; height: 136px; }
.cb-a4__shadow { position: absolute; left: 7px; top: 7px; width: 100%; height: 100%; background: #e9edf5; border-radius: 12px; }
.cb-a4__sheet {
  position: relative; width: 100%; height: 100%; border-radius: 12px; background: #fbfcfe;
  border: 1px solid #d5deec; padding: 12px 10px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 6px;
}
.cb-a4__line { border-radius: 2px; background: #e2e8f2; height: 3.5px; }
.cb-a4__line--title { height: 5px; background: var(--cb-blue); opacity: 0.65; }
.cb-a4__line--amber { background: #f5e3c2; }
.cb-a4__box { width: 100%; height: 22px; border-radius: 4px; border: 1px dashed #c6d6f0; margin-top: 2px; }
.cb-a4__cols { display: flex; gap: 4px; }
.cb-a4__col { flex: 1; height: 28px; border-radius: 4px; background: #eef4fc; border: 1px solid #d9e4f4; }
.cb-a4__label { font-family: var(--cb-font-mono); font-size: 7px; letter-spacing: 0.08em; color: #96a3b8; text-align: center; margin-top: auto; }
.cb-counselor__real-sticker {
  display: inline-block; background: var(--cb-red); color: #ffffff; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; border-radius: 999px; padding: 4px 15px; transform: rotate(-2deg);
}
.cb-counselor__real-title { margin: 10px 0 0; font-size: 14.5px; font-weight: 700; color: var(--cb-deep); letter-spacing: 0.04em; }
.cb-counselor__real-body { margin: 8px 0 0; font-size: 13px; line-height: 1.9; color: var(--cb-sub); text-wrap: pretty; }
.cb-counselor__real-body b { color: var(--cb-ink); }
.cb-counselor__real-body .cb-zoom { color: var(--cb-faint); font-size: 12px; }
.cb-counselor__checks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.cb-counselor__check { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; border-radius: 999px; padding: 7px 16px; background: #fff5d1; color: var(--cb-fusen-ink); }
.cb-counselor__cta { max-width: 480px; margin-top: 18px; font-size: 15px; padding: 16px 12px; box-shadow: 0 12px 26px -10px rgba(47, 106, 201, 0.5); }

/* ==========================================================================
   S9 Checklist
   ========================================================================== */
.cb-check__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 34px; align-items: start; }
.cb-check__card { background: #ffffff; border: 1px solid var(--cb-border-soft); border-radius: 24px; padding: 24px 22px; box-shadow: var(--cb-shadow-card); }
.cb-check__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cb-check__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--cb-ink); letter-spacing: 0.04em; }
.cb-check__title span { font-weight: 500; color: var(--cb-muted); font-size: 12px; }
.cb-check__screenshot { font-family: var(--cb-font-script); font-size: 20px; font-weight: 700; color: var(--cb-blue); transform: rotate(-3deg); display: inline-block; }
.cb-check__list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.cb-check__item {
  font-size: 13px; line-height: 1.8; color: #445; display: flex; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid #f0f3f9;
}
.cb-check__item:last-child { border-bottom: none; }
.cb-check__tick {
  flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 7px; background: var(--cb-yellow);
  display: flex; align-items: center; justify-content: center; color: var(--cb-deep); font-size: 12px; font-weight: 700;
}
.cb-check__more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13.5px;
  font-weight: 700; color: var(--cb-blue); letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(47, 106, 201, 0.4); padding-bottom: 4px; transition: color 0.2s;
}
.cb-check__more:hover { color: var(--cb-deep); }
.cb-check__more i { font-style: normal; font-family: var(--cb-font-mono); }
.cb-check__process { background: var(--cb-sky); border: 1px solid var(--cb-border-soft); border-radius: 24px; padding: 24px 22px; }
.cb-check__process-label { margin: 0; }
.cb-check__process-label .cb-script { font-size: 26px; color: var(--cb-blue); }
.cb-check__process-label span:last-child { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--cb-sub); }
.cb-check__steps { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.cb-check__step { display: flex; gap: 14px; }
.cb-check__step-rail { display: flex; flex-direction: column; align-items: center; }
.cb-check__step-no {
  flex: none; font-family: var(--cb-font-script); font-size: 15px; font-weight: 700; color: var(--cb-deep);
  width: 28px; height: 28px; background: var(--cb-yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cb-check__step-line { flex: 1; width: 1px; background: rgba(29, 78, 158, 0.18); min-height: 14px; margin: 4px 0; }
.cb-check__step p { margin: 2px 0 14px; font-size: 13.5px; line-height: 1.8; color: #445; }
.cb-check__step:last-child p { margin-bottom: 0; }
.cb-check__step b { color: var(--cb-deep); }
.cb-check__process-note { margin: 16px 0 0; font-size: 12.5px; color: #667; line-height: 1.8; }
.cb-check__process-link {
  display: inline-block; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--cb-blue);
  border: 1.5px solid var(--cb-blue); border-radius: 999px; padding: 11px 22px; background: #ffffff; transition: background 0.2s;
}
.cb-check__process-link:hover { background: #eef4fc; }

/* ==========================================================================
   S10 School
   ========================================================================== */
.cb-school__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; margin-top: 34px; }
.cb-school__card {
  background: #ffffff; border: 1px solid var(--cb-border); border-radius: 24px; overflow: hidden;
  box-shadow: var(--cb-shadow-card); transition: transform 0.25s, box-shadow 0.25s;
}
.cb-school__card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(26, 48, 87, 0.05), 0 16px 30px -14px rgba(26, 48, 87, 0.25); }
.cb-school__imgwrap { height: 110px; position: relative; overflow: hidden; }
.cb-school__imgwrap img { display: block; width: 100%; height: 100%; object-fit: cover; background: #e2e8f2; }
.cb-school__badge {
  position: absolute; top: 10px; left: 12px; background: var(--cb-blue); color: #ffffff;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; border-radius: 999px; padding: 4px 13px;
}
.cb-school__body { padding: 18px 18px 20px; }
.cb-school__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cb-school__name { font-size: 15.5px; color: var(--cb-deep); letter-spacing: 0.04em; }
.cb-school__spec { font-size: 11.5px; color: #778; white-space: nowrap; }
.cb-school__price { margin: 4px 0 0; font-size: 12.5px; color: var(--cb-sub); }
.cb-fusen {
  position: relative; margin-top: 18px; background: var(--cb-fusen-bg); border: 1px dashed var(--cb-fusen-border);
  border-radius: 14px; padding: 14px 14px 12px; transform: rotate(-0.8deg);
}
.cb-fusen__tape {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: 58px; height: 14px; background: rgba(255, 217, 59, 0.55);
}
.cb-fusen__label { margin: 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 12.5px; color: var(--cb-fusen-ink); }
.cb-fusen__text { margin: 6px 0 0; font-size: 12.5px; line-height: 1.75; color: #6e5a08; }
.cb-school__note { margin: 18px 0 0; font-size: 12px; color: var(--cb-muted); text-align: center; letter-spacing: 0.04em; }
.cb-school__entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px auto 0; max-width: 640px; }
.cb-school__entry {
  display: block; text-align: center; background: #ffffff; border: 1px solid var(--cb-border-soft);
  border-radius: 18px; padding: 14px 8px; transition: border-color 0.2s;
}
.cb-school__entry:hover { border-color: var(--cb-blue); }
.cb-school__entry span { display: block; font-family: var(--cb-font-script); font-size: 19px; font-weight: 700; color: var(--cb-blue); line-height: 1.1; }
.cb-school__entry b { font-size: 13px; color: var(--cb-deep); }
.cb-school__cta { max-width: 480px; margin: 16px auto 0; font-size: 15px; padding: 16px 12px; box-shadow: 0 12px 26px -10px rgba(47, 106, 201, 0.5); }

/* ==========================================================================
   S11 Step
   ========================================================================== */
.cb-step__list { display: flex; flex-direction: column; margin: 34px 0 0; max-width: 680px; }
.cb-step__item { display: flex; gap: 20px; }
.cb-step__rail { display: flex; flex-direction: column; align-items: center; }
.cb-step__no {
  flex: none; font-family: var(--cb-font-script); font-size: 17px; font-weight: 700;
  color: var(--cb-blue); background: #ffffff; width: 38px; height: 38px; border: 2px solid var(--cb-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; letter-spacing: 0;
}
.cb-step__item:first-child .cb-step__no { color: #ffffff; background: var(--cb-blue); }
.cb-step__connector { flex: 1; width: 0; border-left: 1.5px dashed rgba(29, 78, 158, 0.3); min-height: 26px; margin: 6px 0; }
.cb-step__body { padding-bottom: 28px; flex: 1; }
.cb-step__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cb-step__title { font-size: 16px; color: var(--cb-deep); letter-spacing: 0.04em; }
.cb-step__exit { font-size: 10.5px; font-weight: 700; color: var(--cb-green-deep); background: var(--cb-green-pale); border-radius: 999px; padding: 4px 13px; }
.cb-step__text { margin: 8px 0 0; font-size: 13.5px; line-height: 1.9; color: var(--cb-sub); text-wrap: pretty; }
.cb-step__goal { display: flex; gap: 20px; align-items: center; }
.cb-step__pin { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cb-deep); display: flex; align-items: center; justify-content: center; }
.cb-step__pin i { width: 10px; height: 10px; border: 2px solid #ffffff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: block; }
.cb-step__goal p { margin: 0; }
.cb-step__goal .cb-script { font-size: 30px; color: var(--cb-blue); }
.cb-step__goal-label { margin-left: 12px; font-size: 12.5px; font-weight: 700; color: var(--cb-deep); }
.cb-step__note {
  margin: 30px 0 0; font-size: 13px; line-height: 1.9; color: var(--cb-sub); max-width: 680px;
  border: 1px dashed var(--cb-fusen-border); background: var(--cb-fusen-bg); border-radius: 20px; padding: 16px 20px;
}
.cb-step__note a { font-weight: 700; }

/* ==========================================================================
   S12 FAQ
   ========================================================================== */
.cb-faq__deco-q { font-family: var(--cb-font-klee); font-weight: 600; line-height: 1; }
.cb-faq__list { display: flex; flex-direction: column; gap: 10px; margin: 32px auto 0; max-width: 760px; }
.cb-faq__item { background: var(--cb-blue); border: 1px solid transparent; border-radius: 20px; overflow: hidden; }
.cb-faq__q {
  appearance: none; border: none; background: none; cursor: pointer; font-family: inherit;
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  text-align: left; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: #ffffff;
  padding: 17px 20px; min-height: 52px; line-height: 1.6;
}
.cb-faq__q-inner { display: flex; align-items: baseline; gap: 12px; }
.cb-faq__q-mark { flex: none; font-family: var(--cb-font-script); font-size: 21px; font-weight: 700; color: var(--cb-yellow); line-height: 1; }
.cb-faq__icon { flex: none; font-family: var(--cb-font-mono); font-size: 15px; color: #ffffff; transition: transform 0.3s; }
.cb-faq__item.is-open .cb-faq__icon { transform: rotate(45deg); }
.cb-faq__a { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s; }
.cb-faq__item.is-open .cb-faq__a { max-height: 400px; opacity: 1; }
.cb-faq__a-inner {
  margin: 0 20px 18px; font-size: 13.5px; line-height: 1.95; color: #eef5fd;
  border-top: 1px solid rgba(255, 255, 255, 0.28); padding-top: 14px; display: flex; gap: 12px;
}
.cb-faq__a-mark { flex: none; font-family: var(--cb-font-script); font-size: 21px; font-weight: 700; color: #b8f0cd; line-height: 1; }
.cb-faq__more-wrap { text-align: center; margin-top: 30px; }

/* ==========================================================================
   S13 Final CTA + Footer
   ========================================================================== */
.cb-final { position: relative; background: linear-gradient(135deg, #ffa04d, #ff8a00); padding: 32px 20px 44px; overflow: hidden; }
.cb-final__box {
  position: relative; max-width: 1120px; margin: 0 auto; border: 2px dashed rgba(255, 255, 255, 0.5);
  border-radius: 28px; padding: 64px 24px; text-align: center;
}
.cb-final__script { font-size: 50px; color: #ffffff; }
.cb-final__h2 { margin: 20px 0 0; font-size: clamp(26px, 5.6vw, 40px); font-weight: 700; line-height: 1.55; color: #ffffff; text-wrap: pretty; }
.cb-final__lead { margin: 16px 0 0; font-size: 14px; line-height: 2; color: #fff7ee; text-wrap: pretty; }
.cb-final__btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 30px auto 0; max-width: 520px; }
.cb-final__btn { display: block; text-align: center; font-size: 15px; font-weight: 700; border-radius: 18px; padding: 17px 12px; transition: opacity 0.2s, transform 0.2s; }
.cb-final__btn:hover { transform: translateY(-2px); }
.cb-final__btn--line { background: var(--cb-line); color: #ffffff; }
.cb-final__btn--line:hover { opacity: 0.92; color: #ffffff; }
.cb-final__btn--white { background: #ffffff; color: var(--cb-deep); }
.cb-final__btn--white:hover { opacity: 0.9; color: var(--cb-deep); }
.cb-final__btn--white .cb-btn__sub { color: var(--cb-faint); opacity: 1; }

.cb-footer { background: var(--cb-navy); color: #c9d6ee; padding: 28px 20px 46px; }
.cb-footer__brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cb-footer__name { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: 0.14em; color: #ffffff; }
.cb-footer__desc { margin: 0; font-size: 10.5px; color: #8fa9d6; letter-spacing: 0.04em; }
.cb-footer__links {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.cb-footer__links a { font-size: 12px; color: #c9d6ee; padding: 4px 0; letter-spacing: 0.04em; transition: color 0.2s; }
.cb-footer__links a:hover { color: #ffffff; }
.cb-footer__cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px 26px; margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cb-footer__col { display: flex; flex-direction: column; }
.cb-footer__col-title {
  margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  color: #8fa9d6;
}
.cb-footer__col a { font-size: 12px; color: #c9d6ee; padding: 4px 0; letter-spacing: 0.04em; transition: color 0.2s; }
.cb-footer__col a:hover { color: #ffffff; }
.cb-footer__links--legal {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cb-footer__seeyou { margin: 26px 0 0; }
.cb-footer__seeyou span { font-size: clamp(36px, 5vw, 54px); color: rgba(255, 255, 255, 0.4); line-height: 1.1; }
.cb-footer__ainote { margin: 18px auto 0; max-width: 640px; font-size: 11px; line-height: 1.7; color: #6e88ba; }
.cb-footer__ainote a { color: inherit; text-decoration: underline; }
.cb-footer__copy { margin: 14px 0 0; font-family: var(--cb-font-mono); font-size: 9.5px; letter-spacing: 0.2em; color: #6e88ba; }

/* ==========================================================================
   Fixed CTA (mobile bar / desktop pills / AI pill)
   ========================================================================== */
.cb-ai-pill {
  position: fixed; right: 14px; bottom: 70px; z-index: 71; display: inline-flex; align-items: center;
  gap: 9px; background: #ffffff; border: 1px solid var(--cb-border); border-radius: 999px;
  padding: 7px 20px 7px 8px; font-size: 12px; font-weight: 700; color: var(--cb-deep);
  box-shadow: 0 10px 26px -10px rgba(26, 48, 87, 0.35); opacity: 0; pointer-events: none;
  transition: transform 0.2s, opacity 0.3s ease, bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cb-ai-pill:hover { transform: translateY(-2px); color: var(--cb-deep); }
.cb-ai-pill__avatar { flex: none; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; display: block; background: var(--cb-sky); }
.cb-ai-pill__avatar img { display: block; height: 28px; width: auto; max-width: none; }
.cb-ai-pill__dot { position: absolute; top: 4px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--cb-line); }
body.cb-sticky-on .cb-ai-pill { bottom: 88px; opacity: 1; pointer-events: auto; }
@media (min-width: 920px) { .cb-ai-pill { display: none; } }

/* 電話 FAB(モバイルのみ・AI ピルの上に重ねる。留学ネットの tel-fab と同形状)。
   スクロールで追従 CTA と一緒にせり上がり、デスクトップはヘッダーの番号が担う */
.cb-tel-fab {
  position: fixed; right: 14px; bottom: 122px; z-index: 71; display: inline-flex; align-items: center;
  gap: 6px; background: #ffffff; border: 1px solid var(--cb-border); border-radius: 999px;
  padding: 9px 16px 9px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--cb-deep); box-shadow: 0 10px 26px -10px rgba(26, 48, 87, 0.35); opacity: 0; pointer-events: none;
  transition: transform 0.2s, opacity 0.3s ease, bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cb-tel-fab:hover { transform: translateY(-2px); color: var(--cb-deep); }
.cb-tel-fab__ico { font-size: 16px; line-height: 1; }
body.cb-sticky-on .cb-tel-fab { bottom: 140px; opacity: 1; pointer-events: auto; }
@media (min-width: 920px) { .cb-tel-fab { display: none; } }

.cb-desk-cta {
  position: fixed; right: 16px; bottom: 18px; z-index: 71; display: none; flex-direction: column; align-items: flex-end; gap: 10px;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 920px) {
  .cb-desk-cta { display: flex; }
  body.cb-sticky-on .cb-desk-cta { opacity: 1; transform: none; pointer-events: auto; }
}
.cb-desk-cta__ai {
  position: relative; display: inline-flex; align-items: center; gap: 9px; background: #ffffff;
  border: 1px solid var(--cb-border); border-radius: 999px; padding: 7px 22px 7px 8px;
  font-size: 12.5px; font-weight: 700; color: var(--cb-deep);
  box-shadow: 0 10px 26px -10px rgba(26, 48, 87, 0.35); transition: transform 0.2s;
}
.cb-desk-cta__ai:hover { transform: translateY(-2px); color: var(--cb-deep); }
.cb-desk-cta__ai .cb-ai-pill__avatar { width: 30px; height: 30px; }
.cb-desk-cta__ai .cb-ai-pill__avatar img { height: 30px; }
.cb-desk-cta__ai .cb-ai-pill__dot { width: 8px; height: 8px; }
.cb-desk-cta__line {
  display: inline-flex; align-items: center; gap: 10px; background: var(--cb-line); color: #ffffff;
  font-size: 14.5px; font-weight: 700; border-radius: 999px; padding: 17px 28px;
  box-shadow: 0 14px 30px -10px rgba(3, 90, 40, 0.5); transition: transform 0.2s, opacity 0.2s;
}
.cb-desk-cta__line:hover { opacity: 0.93; transform: translateY(-2px); color: #ffffff; }
.cb-desk-cta__line .cb-line-badge { font-size: 10px; letter-spacing: 0.06em; border-radius: 4px; padding: 2px 7px; }
.cb-desk-cta__counsel {
  display: inline-flex; align-items: center; background: #ffffff; color: var(--cb-deep);
  font-size: 13px; font-weight: 700; border: 1px solid var(--cb-border); border-radius: 999px;
  padding: 14px 26px; box-shadow: 0 10px 26px -10px rgba(26, 48, 87, 0.3); transition: transform 0.2s;
}
.cb-desk-cta__counsel:hover { transform: translateY(-2px); color: var(--cb-deep); }

.cb-sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: block;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--cb-border); box-shadow: 0 -8px 20px -10px rgba(26, 48, 87, 0.18);
  transform: translateY(110%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
body.cb-sticky-on .cb-sticky-bar { transform: translateY(0); }
@media (min-width: 920px) { .cb-sticky-bar { display: none; } }
.cb-sticky-bar__inner {
  max-width: 640px; margin: 0 auto; display: flex; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
}
.cb-sticky-bar__btn {
  display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center;
  font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 13px 6px; min-height: 44px;
  box-sizing: border-box; /* 無いと min-height に padding が加算されてボタンが 70px に膨らむ */
  line-height: 1.3; transition: opacity 0.2s;
}
.cb-sticky-bar__btn:hover { opacity: 0.92; }
.cb-sticky-bar__btn--line { background: var(--cb-line); color: #ffffff; }
.cb-sticky-bar__btn--line:hover { color: #ffffff; }
.cb-sticky-bar__btn--cv { background: var(--cb-blue); color: #ffffff; }
/* LINE 側をわずかに広く取る(留学ネットの 1.2 : 1 と同じ比率) */
.cb-sticky-bar__btn--line { flex: 1.2; }
.cb-sticky-bar__btn--cv { flex: 1; font-size: 11.5px; }
.cb-sticky-bar__btn--cv:hover { color: #ffffff; }
.cb-sticky-bar__btn .cb-line-badge { font-size: 9.5px; letter-spacing: 0.06em; border-radius: 4px; padding: 1px 6px; }

/* ==========================================================================
   Landing subpages (page-*.php) — 下層 7 ページ共通
   ========================================================================== */
/* hero */
.cb-lp-hero {
  position: relative; overflow: hidden;
  background-color: #ffffff;
  background-image:
    radial-gradient(52% 34% at 4% 70%, rgba(47, 106, 201, 0.16), rgba(47, 106, 201, 0) 72%),
    radial-gradient(48% 30% at 86% 78%, rgba(99, 146, 212, 0.16), rgba(99, 146, 212, 0) 70%),
    radial-gradient(60% 40% at 50% -12%, rgba(141, 180, 230, 0.3), rgba(141, 180, 230, 0) 72%),
    linear-gradient(180deg, #edf3fb 0%, #ffffff 82%);
  padding: 64px 20px 72px;
}
.cb-lp-hero__inner { max-width: 1120px; margin: 0 auto; text-align: center; }
.cb-lp-hero__eyebrow { margin: 0; font-family: var(--cb-font-mono); font-size: 10px; letter-spacing: 0.32em; color: var(--cb-faint); }
.cb-lp-hero__script { margin: 10px 0 0; font-size: clamp(40px, 7vw, 56px); color: var(--cb-blue); }
.cb-lp-hero__title { margin: 14px 0 0; font-size: clamp(26px, 5.4vw, 40px); font-weight: 700; line-height: 1.55; letter-spacing: 0.05em; color: var(--cb-deep); text-wrap: pretty; }
.cb-lp-hero__lead { margin: 16px auto 0; font-size: 14.5px; line-height: 2; color: var(--cb-sub2); max-width: 600px; text-wrap: pretty; }

/* section heading set */
.cb-sechead { text-align: center; }
.cb-sechead .cb-script { font-size: 44px; color: var(--cb-blue); }
.cb-sechead--yellow .cb-script { font-size: 46px; color: var(--cb-yellow); }
.cb-sechead__h2 { margin: 12px 0 0; font-size: clamp(24px, 5vw, 34px); font-weight: 700; line-height: 1.6; color: var(--cb-deep); text-wrap: pretty; }
.cb-sechead--white .cb-sechead__h2 { color: #ffffff; }
.cb-sechead__lead { margin: 12px auto 0; font-size: 13.5px; line-height: 2; color: var(--cb-sub2); max-width: 560px; text-wrap: pretty; }
.cb-sechead--white .cb-sechead__lead { color: #c9d6ee; }

/* photo/video placeholder (striped) */
.cb-ph {
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, #e9edf5, #e9edf5 6px, #dfe5f0 6px, #dfe5f0 12px);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cb-font-mono); font-size: 10px; color: #96a3b8; text-align: center; padding: 0 20px;
}
.cb-ph-card {
  background: #ffffff; border-radius: 18px; padding: 9px 9px 13px;
  box-shadow: 0 14px 28px -12px rgba(29, 78, 158, 0.35);
}
.cb-ph-card__cap { margin: 10px 2px 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 12.5px; color: var(--cb-sub); text-align: center; }

/* ダミー写真(差し替え前提の仮素材)。cb-ph-card 内でポラロイド風に使う */
.cb-dummy-photo { display: block; width: 100%; object-fit: cover; border-radius: 12px; background: #dde5f0; }

/* ダミー動画カード(サムネ+▶︎。実動画の確定後に iframe / lightbox へ差し替える) */
.cb-dummy-video { position: relative; border-radius: 12px; overflow: hidden; background: var(--cb-navy); }
.cb-dummy-video img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.cb-dummy-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22, 61, 125, 0) 45%, rgba(22, 61, 125, 0.5));
}
.cb-dummy-video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.94);
  display: flex; align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 10px 24px rgba(8, 20, 44, 0.35);
}
.cb-dummy-video__play::after {
  content: ""; display: block; margin-left: 4px;
  border-style: solid; border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--cb-blue);
}
.cb-dummy-video__play--sm { width: 38px; height: 38px; }
.cb-dummy-video__play--sm::after { border-width: 6px 0 6px 10px; }
.cb-dummy-video__tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-family: var(--cb-font-mono); font-size: 8.5px; letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.92); color: var(--cb-deep);
  border-radius: 6px; padding: 3px 8px;
}

/* floating navy badge (Us! / Popular! / Save me! / Main! / Promise) */
.cb-float-badge {
  position: absolute; top: -14px; right: 16px; font-family: var(--cb-font-script);
  font-size: 20px; font-weight: 700; color: var(--cb-yellow); background: var(--cb-deep);
  border-radius: 999px; padding: 3px 15px; transform: rotate(4deg);
}
.cb-float-badge--left { right: auto; left: 20px; transform: rotate(-4deg); }

/* white card & soft panel */
.cb-card { background: #ffffff; border: 1px solid var(--cb-border); border-radius: 24px; box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.1); }
.cb-panel-soft { background: var(--cb-soft); border-radius: 22px; padding: 22px 24px; }
.cb-panel-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--cb-muted); }
.cb-panel-script { margin: 0; }
.cb-panel-script .cb-script { font-size: 22px; color: var(--cb-blue); }
.cb-panel-script span:last-child { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--cb-deep); }

/* chips */
.cb-chip { display: inline-block; font-size: 12px; font-weight: 700; background: var(--cb-sky); color: var(--cb-deep); border-radius: 999px; padding: 6px 15px; }
.cb-chip--white { background: #ffffff; box-shadow: 0 2px 6px rgba(26, 48, 87, 0.08); }
.cb-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-chip-row--center { justify-content: center; gap: 10px; }
.cb-pill-link {
  display: inline-block; font-size: 12.5px; font-weight: 700; background: #ffffff; color: var(--cb-deep);
  border-radius: 999px; padding: 10px 20px; box-shadow: 0 4px 12px -4px rgba(26, 48, 87, 0.15); transition: transform 0.2s;
}
.cb-pill-link:hover { transform: translateY(-2px); color: var(--cb-blue); }

/* blue Q&A bar (static) */
.cb-qa { background: var(--cb-blue); border-radius: 20px; padding: 18px 22px; }
.cb-qa__q { margin: 0; font-size: 14px; font-weight: 700; color: #ffffff; }
.cb-qa__q .cb-script { font-size: 20px; color: var(--cb-yellow); margin-right: 10px; }
.cb-qa__a { margin: 10px 0 0; font-size: 13px; line-height: 2; color: #eef5fd; border-top: 1px solid rgba(255, 255, 255, 0.28); padding-top: 10px; }
.cb-qa__a .cb-script { font-size: 20px; color: #b8f0cd; margin-right: 10px; }

/* CTA button grid (2 buttons) */
.cb-cta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 28px auto 0; max-width: 560px; }
.cb-cta-grid .cb-btn { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 14px; padding: 16px 12px; }
.cb-btn--blue.cb-btn--shadow { box-shadow: 0 12px 26px -10px rgba(47, 106, 201, 0.5); }
.cb-btn--line.cb-btn--shadow { box-shadow: 0 12px 26px -10px rgba(3, 90, 40, 0.5); }
.cb-btn--outline { background: #ffffff; color: var(--cb-blue); border: 1.5px solid var(--cb-blue); }
.cb-btn--outline:hover { background: var(--cb-soft); color: var(--cb-deep); opacity: 1; }

/* timeline (navy history / 90min breakdown) */
.cb-tl { display: flex; flex-direction: column; }
.cb-tl__item { display: flex; gap: 18px; }
.cb-tl__rail { display: flex; flex-direction: column; align-items: center; }
.cb-tl__dot { flex: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.5); box-sizing: border-box; margin-top: 6px; }
.cb-tl__dot--filled { background: var(--cb-yellow); border: none; }
.cb-tl__line { flex: 1; width: 2px; background: rgba(255, 255, 255, 0.25); margin: 6px 0; }
.cb-tl__body { padding-bottom: 22px; }
.cb-tl__year { font-size: 15px; color: var(--cb-yellow); font-family: var(--cb-font-mono); }
.cb-tl__text { margin: 4px 0 0; font-size: 13.5px; line-height: 1.8; color: #ffffff; }
.cb-tl__time {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--cb-yellow);
  display: flex; align-items: center; justify-content: center; font-family: var(--cb-font-script);
  font-size: 12px; font-weight: 700; color: var(--cb-deep); text-align: center; line-height: 1.1;
}
.cb-tl__dashline { flex: 1; width: 2px; border-left: 2px dashed rgba(29, 78, 158, 0.3); margin: 6px 0; }

/* Reasons: proof cards */
.cb-proof { position: relative; background: #ffffff; border: 1px solid var(--cb-border); border-radius: 26px; padding: 28px 24px 24px; box-shadow: 0 2px 4px rgba(26, 48, 87, 0.05), 0 14px 30px -14px rgba(26, 48, 87, 0.18); }
.cb-proof__head { display: flex; align-items: center; gap: 14px; }
.cb-proof__no {
  flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--cb-yellow);
  display: flex; align-items: center; justify-content: center; font-family: var(--cb-font-script);
  font-size: 22px; font-weight: 700; color: var(--cb-deep); transform: rotate(-4deg);
}
.cb-proof__title { margin: 0; font-size: clamp(17px, 3.4vw, 21px); font-weight: 700; line-height: 1.5; color: var(--cb-deep); text-wrap: pretty; }
.cb-proof__fact { margin: 14px 0 0; font-size: 13.5px; line-height: 2; color: var(--cb-sub); text-wrap: pretty; }
.cb-proof__check { margin-top: 14px; background: var(--cb-soft); border-radius: 16px; padding: 13px 16px; }
.cb-proof__check-label { margin: 0; }
.cb-proof__check-label .cb-script { font-size: 19px; color: var(--cb-blue); }
.cb-proof__check-label span:last-child { margin-left: 10px; font-size: 11px; font-weight: 700; color: var(--cb-deep); }
.cb-proof__check-text { margin: 5px 0 0; font-size: 13px; line-height: 1.9; color: var(--cb-deep); }
.cb-proof__trade { margin-top: 10px; background: var(--cb-fusen-bg); border: 1px dashed var(--cb-fusen-border); border-radius: 14px; padding: 12px 16px; }
.cb-proof__trade-label { margin: 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 12px; color: var(--cb-fusen-ink); }
.cb-proof__trade-text { margin: 4px 0 0; font-size: 12.5px; line-height: 1.9; color: #6e5a08; }
.cb-proof__ask { margin-top: 10px; border: 1.5px solid var(--cb-border); border-radius: 14px; padding: 12px 16px; }
.cb-proof__ask-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--cb-muted); }
.cb-proof__ask-text { margin: 4px 0 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 13.5px; line-height: 1.8; color: var(--cb-ink); }

/* Reasons: not-do / not-fit rows */
.cb-notdo { display: flex; align-items: center; gap: 14px; background: #ffffff; border-radius: 18px; padding: 16px 20px; box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.12); }
.cb-notdo__x { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fdeceb; color: var(--cb-red); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.cb-notdo__text { margin: 0; font-size: 14px; font-weight: 700; color: var(--cb-ink); line-height: 1.7; }
.cb-notdo__text span { display: block; font-size: 12px; font-weight: 500; color: var(--cb-muted); margin-top: 2px; }
.cb-notfit { position: relative; background: var(--cb-fusen-bg); border: 1px dashed var(--cb-fusen-border); border-radius: 18px; padding: 16px 20px; }
.cb-notfit p { margin: 0; font-size: 13.5px; font-weight: 700; color: #6e5a08; line-height: 1.8; }
.cb-notfit p span { display: block; font-size: 12px; font-weight: 500; color: var(--cb-fusen-ink); margin-top: 2px; }

/* Reasons: compare table */
.cb-compare-wrap { background: #ffffff; border: 1px solid var(--cb-border); border-radius: 24px; padding: 10px 14px 16px; box-shadow: 0 14px 30px -14px rgba(26, 48, 87, 0.18); overflow-x: auto; }
.cb-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; min-width: 520px; }
.cb-compare th { padding: 14px 10px; text-align: left; font-weight: 700; color: var(--cb-muted); font-size: 11.5px; border-bottom: 2px solid #eef1f6; }
.cb-compare th.cb-compare__other { color: #667; font-size: 12.5px; }
.cb-compare th.cb-compare__us { padding: 14px 12px; color: var(--cb-deep); font-size: 12.5px; border-bottom: 2px solid var(--cb-blue); background: var(--cb-soft); border-radius: 12px 12px 0 0; }
.cb-compare td { padding: 13px 10px; border-bottom: 1px solid #f0f3f9; color: var(--cb-muted); }
.cb-compare td:first-child { font-weight: 700; color: var(--cb-ink); white-space: nowrap; }
.cb-compare td.cb-compare__us-td { padding: 13px 12px; border-bottom: 1px solid #dbeafc; background: var(--cb-soft); font-weight: 700; color: var(--cb-deep); }

/* Reasons: 10 questions card */
.cb-q10 { position: relative; background: #ffffff; border-radius: 26px; padding: 26px 24px; box-shadow: 0 24px 48px -18px rgba(10, 35, 80, 0.55); transform: rotate(-0.6deg); }
.cb-q10__list { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.cb-q10__item { display: flex; gap: 12px; align-items: baseline; padding: 10px 2px; border-bottom: 1px dashed var(--cb-border); font-size: 13.5px; line-height: 1.8; color: var(--cb-ink); }
.cb-q10__no { flex: none; font-family: var(--cb-font-script); font-size: 17px; font-weight: 700; color: var(--cb-blue); width: 26px; }
.cb-q10__save {
  display: block; max-width: 420px; margin: 22px auto 0; text-align: center; background: var(--cb-yellow);
  color: var(--cb-deep); font-size: 14px; font-weight: 700; border-radius: 999px; padding: 16px 20px;
  box-shadow: 0 12px 26px -10px rgba(10, 35, 80, 0.5); transition: transform 0.2s, opacity 0.2s;
}
.cb-q10__save:hover { opacity: 0.93; transform: translateY(-2px); color: var(--cb-deep); }

/* Counselors: match cards */
/* カウンセラー一覧。担当が 2 名になってカードが横に伸びたため、
   3 名並びのときと同じ幅(コンテナを 3 分割した 1 枚分)に揃えて中央へ寄せる。
   2 列に収まらない幅ではグリッド側の auto-fit に任せる */
@media (min-width: 760px) {
  .cb-cslr-grid { max-width: calc((100% - 40px) / 3 * 2 + 20px); margin-inline: auto; }
}
.cb-cslr { position: relative; background: #ffffff; border: 1px solid var(--cb-border); border-radius: 26px; padding: 26px 22px; box-shadow: 0 14px 30px -14px rgba(26, 48, 87, 0.2); }
.cb-cslr--featured { border: 2px solid var(--cb-blue); }
.cb-cslr__head { display: flex; align-items: center; gap: 16px; }
.cb-cslr__head img { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cb-yellow); }
.cb-cslr__name { display: block; font-size: 17px; color: var(--cb-deep); }
.cb-cslr__bio { display: block; font-size: 12px; color: var(--cb-muted); margin-top: 2px; }
.cb-cslr__match { margin-top: 14px; background: var(--cb-soft); border-radius: 16px; padding: 13px 16px; }
.cb-cslr__match-label { margin: 0; font-size: 11px; font-weight: 700; color: var(--cb-deep); }
.cb-cslr__match-text { margin: 5px 0 0; font-size: 12.5px; line-height: 1.9; color: #445; }
.cb-cslr__btns { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cb-cslr__btns .cb-btn { font-size: 13px; padding: 12px 8px; white-space: nowrap; }
.cb-cslr__btns .cb-btn--outline { font-size: 12.5px; padding: 11px 8px; }

/* Klee speech bubble (よく受ける相談) */
.cb-klee-bubble {
  margin: 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 13px; color: var(--cb-deep);
  background: var(--cb-soft); border-radius: 4px 14px 14px 14px; padding: 9px 15px; align-self: flex-start;
}

/* Voice: fear tags & cards */
.cb-fear-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cb-voice-card { display: block; background: #ffffff; border-radius: 20px; padding: 14px; box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.12); transition: transform 0.2s; }
.cb-voice-card:hover { transform: translateY(-3px); }
.cb-voice-card img { display: block; width: 100%; height: 110px; object-fit: cover; border-radius: 12px; }
.cb-voice-card b { display: block; margin-top: 10px; font-size: 13px; color: var(--cb-deep); }
.cb-voice-card span { display: block; font-size: 10.5px; color: var(--cb-muted); }
.cb-receipt-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; font-family: var(--cb-font-mono); font-size: 12.5px; color: #445; }
.cb-receipt-rows > div { display: flex; justify-content: space-between; border-bottom: 1px dashed #c9dbf2; padding-bottom: 6px; }
.cb-receipt-rows > div:last-child { border-bottom: none; padding-bottom: 0; }
.cb-receipt-rows span { font-family: var(--cb-font-body); }
.cb-receipt-rows b { color: var(--cb-ink); }

/* Safety: check list rows */
.cb-safecheck { margin: 0; display: flex; gap: 12px; font-size: 13.5px; line-height: 1.9; color: var(--cb-ink); }
.cb-safecheck i {
  flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 8px; background: var(--cb-yellow);
  display: flex; align-items: center; justify-content: center; color: var(--cb-deep);
  font-size: 12px; font-weight: 700; font-style: normal;
}

/* final CTA band (shared template part) */
.cb-final--sub .cb-final__box { padding: 56px 24px; }
.cb-final--sub .cb-final__h2 { font-size: clamp(24px, 5.2vw, 36px); }

/* ==========================================================================
   都市情報 CPT (archive-area / single-area)
   ========================================================================== */

/* エリアマップ。イラストに焼き込まれていない都市(あとから主要エリア入りした
   バコロド・ボラカイ)を、画像の上に % 指定で重ねる。ピンのサイズも % なので
   画像が縮んでも位置と比率が保たれる。ラベルは焼き込みラベルと同じ丸ゴシック */
.cb-map { position: relative; max-width: 480px; margin: 0 auto; }
.cb-map > img { display: block; width: 100%; height: auto; }
.cb-map__pin { position: absolute; width: 5.3%; transform: translate(-50%, -100%); pointer-events: none; }
.cb-map__pin svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgba(8, 20, 44, 0.25)); }
.cb-map__pin b {
  position: absolute; top: 8%; white-space: nowrap; background: #2f6ac9; color: #ffffff;
  font-family: var(--cb-font-body); font-weight: 700;
  font-size: 13.5px; letter-spacing: 0.04em; line-height: 1; padding: 7px 12px 8px;
  border-radius: 999px; box-shadow: 0 2px 4px rgba(8, 20, 44, 0.2);
}
.cb-map__pin--right b { left: 150%; }
.cb-map__pin--left b { right: 150%; }
/* 左右どちらに出しても焼き込みラベルとぶつかる位置(ネグロス島)はピンの真下に出す */
.cb-map__pin--bottom b { left: 50%; top: 104%; transform: translateX(-50%); }
@media (max-width: 560px) {
  .cb-map__pin b { font-size: 11px; padding: 5px 9px 6px; }
}

.cb-area-link {
  display: flex; align-items: center; gap: 9px; background: #ffffff; border-radius: 16px;
  padding: 12px 14px; box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.15);
  transition: transform 0.2s; color: var(--cb-ink);
}
.cb-area-link:hover { transform: translateY(-3px); color: var(--cb-ink); }
.cb-area-link i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--cb-blue); }
.cb-area-link b { flex: 1; font-size: 12.5px; font-weight: 700; color: var(--cb-deep); text-align: left; }
.cb-area-link span { flex: none; color: var(--cb-faint); font-weight: 700; }
.cb-area-link--yellow { background: var(--cb-yellow); color: var(--cb-deep); box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.2); }
.cb-area-link--yellow:hover { color: var(--cb-deep); }
.cb-area-link--yellow b { color: var(--cb-deep); }
.cb-area-link--yellow span { color: var(--cb-deep); }

.cb-area-polaroid {
  position: relative; max-width: 460px; background: #ffffff; border-radius: 18px;
  padding: 9px 9px 13px; box-shadow: 0 16px 32px -14px rgba(29, 78, 158, 0.35);
}
.cb-area-polaroid img { display: block; width: 100%; height: 200px; object-fit: cover; border-radius: 11px; background: #dde5f0; }
.cb-area-polaroid figcaption { margin: 9px 2px 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 12px; color: var(--cb-sub); text-align: center; }
.cb-area-sticker {
  position: absolute; top: -16px; left: 16px; font-family: var(--cb-font-script);
  font-size: 30px; font-weight: 700; color: #ffffff; background: var(--cb-blue);
  border-radius: 999px; padding: 3px 20px; transform: rotate(-3deg);
  box-shadow: 0 8px 18px -8px rgba(29, 78, 158, 0.5);
}
.cb-area-desc { margin: 12px 0 0; font-size: 13.5px; line-height: 2.05; color: var(--cb-sub2); text-wrap: pretty; }

.cb-rank-card { position: relative; background: #ffffff; border-radius: 22px; padding: 20px 20px 22px; box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.12); transition: transform 0.25s; }
.cb-rank-card:hover { transform: translateY(-4px); }
.cb-rank-no {
  position: absolute; top: -16px; left: 16px; width: 42px; height: 42px; border-radius: 50%;
  background: var(--cb-yellow); border: 3px solid #ffffff; display: flex; align-items: center;
  justify-content: center; font-family: var(--cb-font-script); font-size: 16px; font-weight: 700;
  color: var(--cb-deep); transform: rotate(-4deg); box-shadow: 0 6px 14px -6px rgba(29, 78, 158, 0.4);
}
.cb-tag-mini { font-size: 10px; font-weight: 700; background: var(--cb-soft); color: var(--cb-deep); border-radius: 999px; padding: 3px 10px; }

.cb-area-hero-polaroid {
  position: relative; max-width: 480px; margin: 0 auto; background: #ffffff; border-radius: 18px;
  padding: 10px 10px 36px; box-shadow: 0 22px 44px -18px rgba(26, 48, 87, 0.35); transform: rotate(-1.4deg);
}
.cb-area-hero-polaroid img { display: block; width: 100%; height: 250px; object-fit: cover; border-radius: 10px; background: #dde5f0; }
.cb-area-hero-polaroid figcaption { margin: 10px 2px 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 12.5px; color: var(--cb-sub); text-align: center; }
.cb-area-fact { background: #ffffff; border-radius: 20px; padding: 18px 14px; text-align: center; box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.12); }
.cb-area-fact b { display: block; font-size: 17px; color: var(--cb-blue); line-height: 1.4; }
.cb-area-fact span { display: block; margin-top: 4px; font-size: 11px; line-height: 1.6; color: #667; }

.cb-area-honest {
  position: relative; margin-top: 30px; background: var(--cb-fusen-bg);
  border: 1px dashed var(--cb-fusen-border); border-radius: 24px; padding: 26px 26px 24px; transform: rotate(-0.5deg);
}
.cb-area-honest__tape { position: absolute; top: -11px; left: 50%; transform: translateX(-50%) rotate(-2deg); width: 70px; height: 16px; background: rgba(255, 217, 59, 0.55); }
.cb-area-honest__body { margin: 0; font-size: 13.5px; line-height: 2.15; color: #6e5a08; }
.cb-area-honest__body b { color: #6e5a08; }
.cb-area-honest__close { margin: 14px 0 0; font-size: 11px; color: var(--cb-fusen-ink); text-align: right; }

.cb-area-school { display: block; background: #ffffff; border-radius: 22px; padding: 20px; box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.12); transition: transform 0.25s; color: var(--cb-ink); }
.cb-area-school:hover { transform: translateY(-4px); color: var(--cb-ink); }
.cb-area-school b { font-size: 15px; color: var(--cb-deep); }
.cb-area-school p { margin: 6px 0 0; font-size: 12px; line-height: 1.85; color: var(--cb-sub); }
.cb-area-school .cb-area-school__price { margin: 8px 0 0; font-size: 11.5px; font-weight: 700; color: var(--cb-deep); }

/* ==========================================================================
   Subpages (page.php)
   ========================================================================== */
.cb-page-hero { position: relative; background: var(--cb-sky); padding: 56px 20px 46px; overflow: hidden; }
.cb-page-hero__title { margin: 0; font-size: clamp(26px, 5vw, 38px); font-weight: 700; line-height: 1.5; color: var(--cb-deep); text-wrap: pretty; }
.cb-page-body { position: relative; background: #ffffff; padding: 56px 20px 90px; }
.cb-page-body__inner { max-width: 860px; margin: 0 auto; }
.cb-content { font-size: 15px; line-height: 2; color: var(--cb-ink); }
.cb-content h2 { margin: 2.2em 0 0.8em; font-size: clamp(21px, 3.6vw, 27px); font-weight: 700; line-height: 1.6; color: var(--cb-deep); }
.cb-content h3 { margin: 2em 0 0.7em; font-size: clamp(17px, 3vw, 21px); font-weight: 700; line-height: 1.6; color: var(--cb-deep); }
.cb-content p { margin: 0 0 1.4em; }
.cb-content ul, .cb-content ol { margin: 0 0 1.4em; padding-left: 1.5em; }
.cb-content img { height: auto; border-radius: 14px; }
.cb-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 14px; }
.cb-content th, .cb-content td { border: 1px solid var(--cb-border); padding: 10px 14px; text-align: left; }
.cb-content th { background: var(--cb-soft); color: var(--cb-deep); font-weight: 700; }
.cb-content a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cb-content blockquote {
  margin: 0 0 1.6em; border: 1px dashed var(--cb-fusen-border); background: var(--cb-fusen-bg);
  border-radius: 20px; padding: 16px 20px; color: var(--cb-sub);
}

/* ===== 3タップ診断 専用ページ(page-diagnosis) ===== */
.cb-diag__reset-wrap { display: flex; justify-content: center; margin-top: 10px; }
.cb-diag__reset { appearance: none; border: none; background: none; cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 700; color: #8aa3cc; padding: 8px 12px; }
.cb-diag__reset:hover { color: var(--cb-blue); }
.cb-diag__note { margin: 16px auto 0; max-width: 640px; font-size: 11.5px; color: #8894a6; text-align: center; letter-spacing: 0.04em; line-height: 1.9; }
.cb-diag-next__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 28px; }
.cb-diag-next__card { display: flex; flex-direction: column; background: #ffffff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.12); transition: transform 0.25s; color: var(--cb-ink); }
.cb-diag-next__card:hover { transform: translateY(-3px); color: var(--cb-ink); }
.cb-diag-next__no { font-family: var(--cb-font-script); font-size: 18px; font-weight: 700; color: #8aa3cc; }
.cb-diag-next__card b { margin-top: 4px; font-size: 15.5px; color: var(--cb-deep); }
.cb-diag-next__card p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.9; color: var(--cb-sub); }
.cb-diag-next__arrow { margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 700; color: var(--cb-blue); align-self: flex-end; }

/* ===== SNS(page-sns / front-page S12.5) ===== */
.cb-sns-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.cb-sns-hero__chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--cb-deep); background: #ffffff; border-radius: 999px; padding: 11px 22px; min-height: 44px; box-sizing: border-box; box-shadow: 0 4px 12px -4px rgba(26,48,87,0.15); transition: transform 0.2s; }
.cb-sns-hero__chip:hover { transform: translateY(-2px); color: var(--cb-deep); }
.cb-sns-hero__chip > span { width: 8px; height: 8px; border-radius: 50%; display: block; }
.cb-sns__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cb-sns__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.cb-sns__label { margin: 0; font-family: var(--cb-font-mono); font-size: 10px; letter-spacing: 0.24em; color: #8894a6; }
.cb-sns__h2 { margin: 2px 0 0; font-size: clamp(22px, 4.6vw, 30px); font-weight: 700; line-height: 1.5; color: var(--cb-deep); }
.cb-sns__follow { margin-left: auto; display: inline-flex; align-items: center; color: #ffffff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 12px 24px; min-height: 44px; box-sizing: border-box; transition: transform 0.2s, opacity 0.2s; }
.cb-sns__follow:hover { opacity: 0.92; transform: translateY(-2px); color: #ffffff; }
.cb-sns__desc { margin: 16px 0 0; font-size: 13.5px; line-height: 2; color: var(--cb-sub2); max-width: 680px; }
.cb-sns__videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 26px; }
.cb-sns__video { display: flex; flex-direction: column; background: #ffffff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); transition: transform 0.25s, box-shadow 0.25s; color: var(--cb-ink); }
.cb-sns__video:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(26,48,87,0.3); color: var(--cb-ink); }
.cb-sns__video-thumb { position: relative; height: 150px; overflow: hidden; display: block; }
.cb-sns__video-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; background: #e2e8f2; }
.cb-sns__video-play { position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; background: rgba(232,65,64,0.92); color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 15px; padding-left: 3px; box-sizing: border-box; }
.cb-sns__video b { padding: 14px 16px 16px; font-size: 13.5px; color: var(--cb-deep); line-height: 1.65; }
.cb-sns__note { margin: 18px 0 0; font-size: 12px; color: #8894a6; text-align: center; letter-spacing: 0.04em; }
.cb-sns__ig-glyph { width: 22px; height: 22px; border: 2.5px solid #ffffff; border-radius: 8px; display: block; position: relative; }
.cb-sns__ig-glyph > span { position: absolute; inset: 4px; border: 2.5px solid #ffffff; border-radius: 50%; }
.cb-sns__ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 26px; }
.cb-sns__ig-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4/5; border-radius: 16px; padding: 16px 15px; overflow: hidden; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.15); transition: transform 0.25s; }
.cb-sns__ig-tile:hover { transform: translateY(-4px) rotate(-1deg); }
.cb-sns__ig-tag { font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; background: rgba(255,255,255,0.75); border-radius: 999px; padding: 3px 10px; align-self: flex-start; }
.cb-sns__ig-title { font-size: 15.5px; font-weight: 900; line-height: 1.5; }
.cb-sns__ig-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; opacity: 0.75; }
.cb-sns__posts { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.cb-sns__post { background: #ffffff; border-radius: 20px; padding: 18px 22px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
.cb-sns__post-head { display: flex; align-items: center; gap: 10px; }
.cb-sns__post-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--cb-sky); display: block; }
.cb-sns__post-avatar img { display: block; height: 34px; width: auto; max-width: none; }
.cb-sns__post-head b { display: block; font-size: 13px; color: var(--cb-deep); }
.cb-sns__post-id { font-family: var(--cb-font-mono); font-size: 10px; color: #8894a6; }
.cb-sns__post p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.9; color: var(--cb-ink); }
.cb-sns-top__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 30px; }
.cb-sns-top__card { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #e4eaf4; border-radius: 24px; padding: 22px 24px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); transition: transform 0.25s, box-shadow 0.25s; color: var(--cb-ink); }
.cb-sns-top__card:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -14px rgba(26,48,87,0.3); color: var(--cb-ink); }
.cb-sns-top__card-head { display: flex; align-items: center; gap: 10px; }
.cb-sns-top__badge { flex: none; width: 38px; height: 38px; border-radius: 12px; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.cb-sns-top__card-head b { display: block; font-size: 15px; color: var(--cb-deep); }
.cb-sns-top__meta { font-family: var(--cb-font-mono); font-size: 10px; letter-spacing: 0.08em; color: #8894a6; }
.cb-sns-top__card p { margin: 12px 0 0; font-size: 12.5px; line-height: 1.9; color: var(--cb-sub); }
.cb-sns-top__arrow { margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 700; color: var(--cb-blue); align-self: flex-end; }

/* ===== 採用情報(page-recruit-staff) ===== */
.cb-recruit__banner { max-width: 560px; margin: 20px auto 0; background: #fff9e3; border: 1px dashed #e8cf8a; border-radius: 16px; padding: 12px 20px; }
.cb-recruit__banner p { margin: 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 13px; color: #8a6d00; }
.cb-recruit__specs { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.cb-recruit__spec { display: grid; grid-template-columns: 180px 1fr; gap: 2px; background: #ffffff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
@media (max-width: 639px) { .cb-recruit__spec { grid-template-columns: 1fr; } }
.cb-recruit__spec-th { background: #eaf3fc; padding: 18px 20px; }
.cb-recruit__spec-th b { font-size: 13.5px; color: var(--cb-deep); }
.cb-recruit__spec-td { padding: 18px 22px; font-size: 13.5px; line-height: 2; color: var(--cb-ink); }
.cb-recruit__spec-note { margin: 8px 0 0; font-size: 12px; line-height: 1.9; color: #556; }
.cb-recruit__badge { font-size: 11px; font-weight: 700; background: var(--cb-yellow); color: var(--cb-deep); border-radius: 999px; padding: 2px 12px; display: inline-block; margin-top: 4px; }
.cb-recruit__benefits { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-recruit__benefits span { font-size: 12px; font-weight: 700; background: #eaf3fc; color: var(--cb-deep); border-radius: 999px; padding: 6px 14px; }
.cb-recruit__works { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; margin-top: 28px; }
.cb-recruit__work { display: flex; align-items: center; gap: 12px; background: #ffffff; border: 1px solid #e4eaf4; border-radius: 16px; padding: 13px 18px; box-shadow: 0 4px 12px -4px rgba(26,48,87,0.08); }
.cb-recruit__work-no { flex: none; width: 26px; height: 26px; border-radius: 9px; background: var(--cb-blue); color: var(--cb-yellow); display: flex; align-items: center; justify-content: center; font-family: var(--cb-font-script); font-size: 14px; font-weight: 700; }
.cb-recruit__work span:last-child { font-size: 13.5px; font-weight: 500; color: var(--cb-ink); line-height: 1.7; }

/* ===== 診断結果コピーボタン ===== */
.cb-diag__result-btn--copy { background: #ffffff; border: 1.5px dashed var(--cb-blue); color: var(--cb-blue-deep, #284d8f); cursor: pointer; font-family: inherit; }
.cb-diag__result-btn--copy:hover { color: var(--cb-blue-deep, #284d8f); }
.cb-diag__result-btn--copy.is-copied { background: var(--cb-green, #0d7a43); border-style: solid; border-color: transparent; color: #ffffff; }
.cb-diag__copy-hint { margin: 10px 0 0; font-size: 11.5px; line-height: 1.8; color: #5a7a5f; }

/* ===== 費用シミュレーター(page-quote) ===== */
.cb-quote__card { background: #ffffff; border-radius: 28px; padding: 28px 24px 26px; box-shadow: 0 18px 44px -18px rgba(26,48,87,0.28); }
.cb-quote__loading, .cb-quote__error { text-align: center; font-size: 13.5px; color: var(--cb-sub); padding: 30px 10px; }
.cb-quote__field { margin-top: 22px; }
.cb-quote__field:first-child { margin-top: 0; }
.cb-quote__label { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 700; color: var(--cb-ink); }
.cb-quote__step { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cb-yellow); color: var(--cb-deep); display: flex; align-items: center; justify-content: center; font-family: var(--cb-font-script); font-size: 15px; font-weight: 700; transform: rotate(-6deg); }
.cb-quote__select { display: block; width: 100%; margin-top: 10px; font-family: inherit; font-size: 14px; font-weight: 500; color: var(--cb-ink); background: #f7fafd; border: 1.5px solid #d5deec; border-radius: 14px; padding: 13px 14px; appearance: auto; }
.cb-quote__select:focus { outline: 2px solid var(--cb-blue); border-color: var(--cb-blue); }
.cb-quote__field-note { margin: 8px 0 0; font-size: 11.5px; line-height: 1.8; color: var(--cb-muted, #8b93a5); }
.cb-quote__field-note a { font-weight: 700; }
.cb-quote__weeks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.cb-quote__week { appearance: none; cursor: pointer; font-family: inherit; border: none; border-radius: 999px; padding: 12px 22px; min-height: 46px; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; background: #eaf3fc; color: var(--cb-deep); transition: all 0.2s; }
.cb-quote__week:hover:not(:disabled) { transform: translateY(-2px); }
.cb-quote__week.is-selected { background: var(--cb-blue); color: #ffffff; }
.cb-quote__week:disabled { opacity: 0.35; cursor: not-allowed; }
.cb-quote__result { margin-top: 26px; }
.cb-quote__receipt { background: #fffdf6; border: 1.5px dashed #e6c34c; border-radius: 20px; padding: 20px 22px; }
.cb-quote__receipt-label { margin: 0; font-family: var(--cb-font-mono); font-size: 10px; letter-spacing: 0.24em; color: #b09134; }
.cb-quote__rows { margin-top: 10px; }
.cb-quote__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed #eadfb8; }
.cb-quote__row b { white-space: nowrap; }
.cb-quote__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--cb-deep); }
.cb-quote__total b { font-size: clamp(24px, 5vw, 30px); color: var(--cb-red, #e84140); letter-spacing: 0.02em; }
.cb-quote__rate-note { margin: 8px 0 0; font-size: 11px; line-height: 1.8; color: #8a7a3a; }
.cb-quote__extra { margin-top: 14px; font-size: 12px; line-height: 1.9; color: var(--cb-sub2, #445); }
.cb-quote__extra p { margin: 2px 0 0; }
.cb-quote__includes { margin-top: 14px; background: var(--cb-soft, #f2f6fb); border-radius: 16px; padding: 14px 18px; font-size: 12px; line-height: 1.9; color: var(--cb-sub2, #445); }
.cb-quote__includes p { margin: 4px 0 0; }
.cb-quote__includes p:first-child { margin-top: 0; }
.cb-quote__ctas { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin-top: 16px; }
.cb-quote__ctas .cb-btn { font-size: 14px; padding: 15px 14px; }
.cb-quote__hint { margin: 18px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: #8aa3cc; background: #f4f7fc; border: 1px dashed #c6d4ea; border-radius: 16px; padding: 16px; }
.cb-quote__hint[hidden] { display: none; }

/* ===== 費用ページ(page-cost) ===== */
.cb-cost-bd__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 28px; }
.cb-cost-bd__card { background: #ffffff; border-radius: 22px; padding: 22px 24px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
.cb-cost-bd__tag { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--cb-deep); }
.cb-cost-bd__tag .cb-script { font-size: 22px; color: var(--cb-blue); }
.cb-cost-bd__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 9px 0; border-bottom: 1px dashed #e8edf5; }
.cb-cost-bd__row:last-child { border-bottom: none; }
.cb-cost-bd__row b { white-space: nowrap; color: var(--cb-deep); }

/* ===== 流れページ(page-flow) ===== */
.cb-flow__start { text-align: center; }
.cb-flow__start .cb-script { font-size: 30px; color: var(--cb-blue); }
.cb-flow__list { margin-top: 14px; }
.cb-flow__item { display: flex; gap: 16px; }
.cb-flow__rail { display: flex; flex-direction: column; align-items: center; flex: none; }
.cb-flow__no { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--cb-blue); color: var(--cb-yellow); display: flex; align-items: center; justify-content: center; font-family: var(--cb-font-script); font-size: 19px; font-weight: 700; }
.cb-flow__line { flex: 1; width: 3px; background: #c9d9ef; border-radius: 2px; margin: 6px 0; min-height: 30px; }
.cb-flow__body { flex: 1; background: #ffffff; border-radius: 20px; padding: 18px 20px; margin-bottom: 16px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
.cb-flow__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cb-flow__title { font-size: 16px; color: var(--cb-deep); }
.cb-flow__when { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; background: var(--cb-yellow); color: var(--cb-deep); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.cb-flow__desc { margin: 8px 0 0; font-size: 13px; line-height: 1.95; color: var(--cb-sub2, #445); }
.cb-flow__duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-top: 12px; }
.cb-flow__you, .cb-flow__us { border-radius: 14px; padding: 12px 15px; font-size: 12px; line-height: 1.85; }
.cb-flow__you { background: #f4f7fc; }
.cb-flow__us { background: #f3faf4; }
.cb-flow__you > span, .cb-flow__us > span { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 4px; }
.cb-flow__you > span { color: var(--cb-blue-deep, #284d8f); }
.cb-flow__us > span { color: #0a7a3c; }
.cb-flow__you p, .cb-flow__us p { margin: 0; color: var(--cb-sub2, #445); }

/* ===== 自前フォーム(inc/forms.php) ===== */
.cb-form__card { background: #ffffff; border-radius: 28px; padding: 28px 24px; box-shadow: 0 18px 44px -18px rgba(26,48,87,0.28); }
.cb-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cb-form__field { margin-top: 20px; }
.cb-form__field:first-of-type { margin-top: 0; }
.cb-form__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--cb-ink); }
.cb-form__req, .cb-form__opt { font-size: 10px; font-weight: 700; border-radius: 999px; padding: 2px 10px; }
.cb-form__req { background: var(--cb-red, #e84140); color: #fff; }
.cb-form__opt { background: #eef1f6; color: #667; }
.cb-form__input { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; font-family: inherit; font-size: 14px; color: var(--cb-ink); background: #f7fafd; border: 1.5px solid #d5deec; border-radius: 14px; padding: 13px 14px; }
.cb-form__input:focus { outline: 2px solid var(--cb-blue); border-color: var(--cb-blue); }
.cb-form__field.has-error .cb-form__input { border-color: var(--cb-red, #e84140); background: #fff7f6; }
.cb-form__error { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--cb-red, #e84140); }
.cb-form__error-banner { background: #fdeeec; border: 1px solid #f2c1bd; color: #a33; border-radius: 12px; padding: 12px 16px; font-size: 13px; }
.cb-form__choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cb-form__choice { display: inline-flex; align-items: center; gap: 7px; background: #f7fafd; border: 1.5px solid #d5deec; border-radius: 999px; padding: 9px 16px; font-size: 13px; cursor: pointer; }
.cb-form__choice:has(input:checked) { background: var(--cb-blue); border-color: var(--cb-blue); color: #fff; }
.cb-form__choice input { accent-color: var(--cb-blue); }
.cb-form__choice:has(input:checked) input { accent-color: #ffffff; }
.cb-form__btns { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.cb-form__submit { flex: 1; font-size: 15px; padding: 16px 18px; cursor: pointer; border: none; font-family: inherit; }
.cb-form__back { background: #eef1f6; color: #556; border: none; font-family: inherit; cursor: pointer; padding: 16px 22px; font-size: 13px; }
.cb-form__privacy { margin: 16px 0 0; font-size: 11.5px; line-height: 1.8; color: var(--cb-muted, #8b93a5); }
.cb-form__confirm-lead { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--cb-deep); }
.cb-form__confirm { margin: 0; }
.cb-form__confirm-row { display: grid; grid-template-columns: 160px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px dashed #e8edf5; }
@media (max-width: 639px) { .cb-form__confirm-row { grid-template-columns: 1fr; gap: 2px; } }
.cb-form__confirm-row dt { font-size: 12.5px; font-weight: 700; color: var(--cb-sub); }
.cb-form__confirm-row dd { margin: 0; font-size: 14px; color: var(--cb-ink); }
.cb-form__none { color: #aab; font-size: 12px; }
.cb-form__line-alt { margin-top: 14px; font-size: 12.5px; color: var(--cb-sub); }
.cb-form__line-alt a { font-weight: 700; }

/* フォームページの「書く以外の選択肢」。2026-08-20 追加。
   文中のテキストリンクだと押されていなかった(直近 14 日で 0 件)ため、
   フォームと同じ高さでボタンとして並べる。 */
.cb-form__alt { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
/* .cb-btn は padding を持たない(cb-cost__line-btn などの修飾クラス側で与える設計)。
   ここでも同じ値を明示しないと文字だけのリンクに見えてしまう。 */
.cb-form__alt .cb-btn { min-width: 268px; padding: 15px 18px; font-size: 14px; }
.cb-form__alt-note { margin: 2px 0 0; font-size: 12px; line-height: 1.8; color: var(--cb-sub); }
@media (min-width: 600px) {
  .cb-form__alt { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .cb-form__alt-note { flex-basis: 100%; margin-top: 4px; }
}
.cb-soudan__methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.cb-soudan__method { background: #ffffff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
.cb-soudan__method b { display: block; margin-top: 4px; font-size: 15px; color: var(--cb-deep); }
.cb-soudan__method p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.9; color: var(--cb-sub); }
.cb-deposit__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cb-deposit__step { background: #ffffff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
.cb-deposit__step b { color: var(--cb-deep); }
.cb-deposit__step p { margin: 6px 0 0; font-size: 13px; line-height: 1.9; color: var(--cb-sub2, #445); }
.cb-deposit__step strong { color: var(--cb-red, #e84140); }
.cb-deposit__frame { margin-top: 20px; background: #ffffff; border-radius: 20px; padding: 10px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
.cb-deposit__frame iframe { display: block; width: 100%; height: 900px; border: none; border-radius: 12px; }

/* ===== 費用ページ v2(モック忠実版) — 内訳カード・Next パネル ===== */
.cb-cost-bd__card { background: #eaf3fc; border-radius: 24px; padding: 24px 26px; box-shadow: none; }
.cb-cost-bd__tag .cb-script { transform: rotate(-2deg); display: inline-block; }
.cb-cost-bd__tag b { margin-left: 10px; font-size: 16px; color: var(--cb-deep); }
.cb-cost-bd__rows { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.cb-cost-bd__row { background: #ffffff; border-radius: 14px; padding: 12px 16px; border-bottom: none; font-size: 13.5px; }
.cb-cost-bd__fusen { max-width: 720px; margin: 26px auto 0; background: #fff9e3; border: 1px dashed #e8cf8a; border-radius: 18px; padding: 16px 22px; }
.cb-cost-bd__fusen-label { margin: 0; font-family: var(--cb-font-klee); font-weight: 600; font-size: 12.5px; color: #8a6d00; }
.cb-cost-bd__fusen-text { margin: 4px 0 0; font-size: 12.5px; line-height: 1.9; color: #6e5a08; }
.cb-cost-next__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 28px; }
.cb-cost-next__panel { background: #eaf3fc; border-radius: 20px; padding: 18px 20px; }
.cb-cost-next__panel .cb-script { display: block; font-size: 19px; color: var(--cb-blue); }
.cb-cost-next__panel p { margin: 6px 0 0; font-size: 12.5px; line-height: 2; color: #445; }

/* ===== Jicoo 予約ウィジェット(soudankai)— 内部スクロールを避ける高さ確保 ===== */
.cb-jicoo { margin-top: 26px; background: #ffffff; border-radius: 20px; padding: 16px 12px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
.cb-jicoo__label { margin: 0 0 8px; text-align: center; font-size: 13px; font-weight: 700; color: var(--cb-deep); }
.cb-jicoo .jicoo-widget { height: 1050px; }
@media (max-width: 639px) { .cb-jicoo .jicoo-widget { height: 1250px; } }
.cb-jicoo iframe { border: none !important; }
/* JotForm 自動リサイズ版(deposit) */
.cb-deposit__frame--auto iframe { height: auto; min-height: 539px; }

/* ===== カウンセラー個別ページ(counselor-solo) ===== */
.cb-counselor-solo__quote { position: relative; max-width: 560px; margin: 24px auto 0; background: #ffffff; border: 1.5px solid var(--cb-blue); border-radius: 22px; padding: 16px 20px; font-family: var(--cb-font-klee); font-weight: 600; font-size: 14px; line-height: 1.9; color: var(--cb-deep); }
.cb-counselor-solo__story { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.cb-counselor-solo__block { background: #ffffff; border-radius: 20px; padding: 20px 22px; box-shadow: 0 6px 16px -6px rgba(26,48,87,0.12); }
.cb-counselor-solo__block b { display: block; font-size: 15.5px; color: var(--cb-deep); }
.cb-counselor-solo__block p { margin: 8px 0 0; font-size: 13.5px; line-height: 2; color: var(--cb-sub2, #445); }
.cb-counselor-solo__fit { margin-top: 22px; background: #f3faf4; border: 1px solid #bfe3c6; border-radius: 20px; padding: 18px 22px; }
.cb-counselor-solo__fit-label { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: #0a7a3c; }

/* ---------- skip link(キーボード操作時のみ表示) ---------- */
.cb-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: #ffffff;
  color: var(--cb-blue);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  box-shadow: 0 6px 16px -6px rgba(26, 48, 87, 0.3);
}
.cb-skip-link:focus {
  left: 0;
}

/* ---------- footer SNS リンク(アイコン+一言) ---------- */
.cb-footer__sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin: 26px 0 6px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cb-footer__sns-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.2s;
}
.cb-footer__sns-item:hover { background: rgba(255, 255, 255, 0.08); }
.cb-footer__sns-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex: none;
}
.cb-footer__sns-icon svg { width: 17px; height: 17px; display: block; }
.cb-footer__sns-text { display: flex; flex-direction: column; line-height: 1.35; text-align: left; }
.cb-footer__sns-text b { font-size: 12.5px; color: #ffffff; letter-spacing: 0.04em; }
.cb-footer__sns-text small { font-size: 10px; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   AI 相談入口ページ(/ai/ — page-ai.php)。接頭辞 cb-aip-。
   ryugakunet-v3 /ai-counselor/ の情報設計を POP トーンに翻案した本実装
   (2026-08-04)。演出 JS は js/main.js の cbAip* が対応する
   ============================================================ */
.cb-aip-hero {
  position: relative; overflow: hidden; padding: 64px 20px 56px;
  background-color: #ffffff;
  background-image:
    radial-gradient(52% 34% at 4% 70%, rgba(47, 106, 201, 0.14), rgba(47, 106, 201, 0) 72%),
    radial-gradient(48% 30% at 88% 76%, rgba(255, 217, 59, 0.2), rgba(255, 217, 59, 0) 70%),
    linear-gradient(180deg, #edf3fb 0%, #ffffff 82%);
}
.cb-aip-hero__bigword {
  position: absolute; right: -2%; top: 6px; font-size: clamp(90px, 16vw, 200px);
  color: rgba(47, 106, 201, 0.07); pointer-events: none; user-select: none; white-space: nowrap;
}
.cb-aip-hero__grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; position: relative; }
.cb-aip-hero__title { margin: 12px 0 0; font-size: clamp(32px, 6.4vw, 48px); font-weight: 900; line-height: 1.45; letter-spacing: 0.04em; color: var(--cb-deep); text-wrap: pretty; }
.cb-aip-sweep { position: relative; white-space: nowrap; }
.cb-aip-sweep::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 4px; height: 38%;
  background: var(--cb-yellow); z-index: -1; border-radius: 4px;
  transform-origin: left center; animation: cbAipSweep 0.7s 0.45s cubic-bezier(0.3, 0, 0.2, 1) both;
}
@keyframes cbAipSweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cb-aip-hero__sub { display: inline-block; margin: 10px 0 0; font-size: clamp(24px, 4vw, 32px); color: var(--cb-blue); }
.cb-aip-hero__lead { margin: 16px 0 0; font-size: 14px; line-height: 2.1; color: var(--cb-sub2); max-width: 480px; text-wrap: pretty; }
.cb-aip-hero__cta { display: inline-block; margin-top: 22px; font-size: 14.5px; padding: 16px 30px; }
.cb-aip-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cb-aip-chip {
  border: 1.5px solid rgba(47, 106, 201, 0.4); background: #ffffff; color: var(--cb-deep);
  border-radius: 999px; padding: 9px 16px; font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
}
.cb-aip-chip:hover { background: var(--cb-soft); border-color: var(--cb-blue); transform: translateY(-1px); }
.cb-aip-chip.is-active { background: var(--cb-deep); border-color: var(--cb-deep); color: #ffffff; }

/* --- ヒーロー右: デモカード+ステッカー+回転バッジ --- */
.cb-aip-hero__demo { position: relative; max-width: 440px; margin: 0 auto; width: 100%; padding-top: 34px; }
.cb-aip-sticker {
  position: absolute; z-index: 3; font-size: 12px; font-weight: 700; border-radius: 999px;
  padding: 7px 14px; box-shadow: 0 6px 14px -6px rgba(26, 48, 87, 0.3); border: 1.5px solid rgba(255, 255, 255, 0.7);
  transform: rotate(var(--cb-aip-tilt, 0deg)); animation: cbAipWiggle 5s ease-in-out infinite;
}
@keyframes cbAipWiggle {
  0%, 100% { transform: rotate(var(--cb-aip-tilt, 0deg)); }
  50% { transform: rotate(calc(var(--cb-aip-tilt, 0deg) + 3deg)) translateY(-2px); }
}
.cb-aip-badge { position: absolute; z-index: 3; right: -14px; top: -42px; width: 104px; height: 104px; }
/* 中央の下地。回転する外周テキストより内側に置き、文字が背景に溶けないようにする */
.cb-aip-badge::before {
  content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #ffffff;
  border: 1.5px solid var(--cb-blue); box-shadow: 0 8px 18px -10px rgba(26, 48, 87, 0.4);
}
.cb-aip-badge svg { width: 100%; height: 100%; animation: cbAipSpin 14s linear infinite; }
.cb-aip-badge svg text { font-family: var(--cb-font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; fill: var(--cb-blue); }
@keyframes cbAipSpin { to { transform: rotate(360deg); } }
.cb-aip-badge b {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: var(--cb-deep); text-align: center; line-height: 1.3;
}
.cb-aip-badge b small { font-family: var(--cb-font-mono); font-size: 12px; color: #e88a00; }
.cb-aip-democard {
  position: relative; z-index: 2; background: #ffffff; border: 1px solid var(--cb-border);
  border-radius: 24px; box-shadow: 0 24px 48px -20px rgba(26, 48, 87, 0.35); overflow: hidden;
}
.cb-aip-democard__head { display: flex; align-items: center; gap: 10px; background: var(--cb-deep); padding: 12px 16px; }
.cb-aip-democard__avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cb-sky); overflow: hidden; display: block; }
.cb-aip-democard__avatar img { display: block; height: 34px; width: auto; max-width: none; }
.cb-aip-democard__who { flex: 1; display: flex; flex-direction: column; line-height: 1.4; }
.cb-aip-democard__who b { font-size: 13px; color: #ffffff; }
.cb-aip-democard__who small { font-size: 9px; font-family: var(--cb-font-mono); letter-spacing: 0.08em; color: #9fe3b9; }
.cb-aip-democard__live { font-family: var(--cb-font-mono); font-size: 9px; letter-spacing: 0.14em; color: var(--cb-yellow); border: 1px solid rgba(255, 217, 59, 0.5); border-radius: 4px; padding: 2px 7px; }
.cb-aip-democard__body { min-height: 190px; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #f6faff, #ffffff); }
.cb-aip-democard__q {
  margin: 0; align-self: flex-end; max-width: 85%; background: var(--cb-line); color: #ffffff;
  font-size: 13px; line-height: 1.8; border-radius: 16px 16px 4px 16px; padding: 10px 14px;
}
.cb-aip-democard__q:empty, .cb-aip-democard__a:empty { display: none; }
.cb-aip-democard__a {
  margin: 0; align-self: flex-start; max-width: 90%; background: #ffffff; border: 1px solid var(--cb-border);
  color: var(--cb-ink); font-size: 13px; line-height: 1.9; border-radius: 16px 16px 16px 4px; padding: 10px 14px;
  box-shadow: 0 4px 10px -6px rgba(26, 48, 87, 0.15);
}
.cb-aip-democard__a.is-typing::after { content: "|"; margin-left: 1px; color: var(--cb-blue); animation: cbAipBlink 0.8s step-end infinite; }
@keyframes cbAipBlink { 50% { opacity: 0; } }
.cb-aip-democard__foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid #f0f3f9; padding: 12px 16px; }
.cb-aip-democard__foot span { flex: 1; font-size: 11.5px; color: var(--cb-muted); }
.cb-aip-democard__send {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cb-blue); color: #ffffff;
  font-style: normal; display: flex; align-items: center; justify-content: center; font-weight: 700;
  animation: cbAipPulse 2s ease-out infinite;
}
@keyframes cbAipPulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 106, 201, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(47, 106, 201, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 106, 201, 0); }
}
.cb-aip-demonote { margin: 18px 4px 0; font-size: 11px; line-height: 1.8; color: var(--cb-muted); }

.cb-aip-stats { max-width: 1040px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; position: relative; }
.cb-aip-stat { background: #ffffff; border: 1px solid var(--cb-border); border-radius: 16px; padding: 16px 12px; text-align: center; }
.cb-aip-stat b { display: block; font-family: var(--cb-font-mono); font-size: 24px; color: var(--cb-aip-stat, var(--cb-blue)); }
.cb-aip-stat span { display: block; margin-top: 2px; font-size: 11px; color: var(--cb-sub); }

/* --- 質問マーキー --- */
.cb-aip-marquee { overflow: hidden; }
.cb-aip-marquee__band { padding: 10px 0; transform: rotate(-1.2deg) scale(1.02); }
.cb-aip-marquee__band--blue { background: var(--cb-blue); }
.cb-aip-marquee__band--navy { background: var(--cb-navy); transform: rotate(1deg) scale(1.02); margin-top: -4px; }
.cb-aip-marquee__track { display: flex; gap: 34px; width: max-content; animation: cbAipMarquee 38s linear infinite; }
.cb-aip-marquee__track--rev { animation: cbAipMarqueeRev 44s linear infinite; }
.cb-aip-marquee__track span { font-size: 13px; font-weight: 700; color: #ffffff; white-space: nowrap; }
@keyframes cbAipMarquee { to { transform: translateX(-50%); } }
@keyframes cbAipMarqueeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* --- 3 ルート --- */
.cb-aip-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 30px; }
.cb-aip-route {
  position: relative; display: flex; flex-direction: column; gap: 6px; background: #ffffff;
  border: 1px solid var(--cb-border); border-radius: 20px; padding: 22px 20px; color: var(--cb-ink);
  box-shadow: var(--cb-shadow-card); transition: box-shadow 0.2s, transform 0.2s;
}
.cb-aip-route:hover { box-shadow: 0 16px 30px -12px rgba(26, 48, 87, 0.25); transform: translateY(-3px); color: var(--cb-ink); }
.cb-aip-route__no { position: absolute; right: 16px; top: 10px; font-family: var(--cb-font-script); font-size: 34px; color: rgba(47, 106, 201, 0.18); }
.cb-aip-route__glyph { width: 40px; height: 40px; border-radius: 14px; background: var(--cb-soft); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; color: var(--cb-blue); }
.cb-aip-route__title { font-size: 16.5px; color: var(--cb-deep); margin-top: 4px; }
.cb-aip-route__lead { font-size: 12.5px; color: var(--cb-sub); line-height: 1.8; }
.cb-aip-route__dest { margin-top: auto; padding-top: 8px; font-size: 12px; font-weight: 700; color: var(--cb-blue); }

/* --- 質問テンプレ --- */
.cb-aip-roulette {
  margin-top: 18px; border: none; background: var(--cb-navy); color: var(--cb-yellow);
  border-radius: 999px; padding: 11px 22px; font-size: 12.5px; font-weight: 700; cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(8, 20, 44, 0.5); transition: transform 0.15s, opacity 0.2s;
}
.cb-aip-roulette:hover { transform: translateY(-1px); opacity: 0.94; }
.cb-aip-tplgroup { margin-top: 30px; }
.cb-aip-tplgroup__head { display: flex; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 700; color: var(--cb-deep); margin: 0 0 10px; }
.cb-aip-tplgroup__head span { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; background: var(--cb-yellow); color: var(--cb-deep); border-radius: 50%; font-family: var(--cb-font-script); font-size: 15px; transform: rotate(-6deg); }
.cb-aip-tplgroup__head em { font-style: normal; font-family: var(--cb-font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--cb-faint); }
.cb-aip-tplgroup__list { display: grid; gap: 10px; }
.cb-aip-tpl {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px;
  width: 100%; text-align: left; background: #ffffff; border: 1px solid var(--cb-border);
  border-radius: 16px; padding: 15px 18px; font-size: 14px; line-height: 1.9; cursor: pointer;
  font-family: var(--cb-font-body); color: var(--cb-ink);
  box-shadow: 0 4px 12px -6px rgba(26, 48, 87, 0.1); transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.cb-aip-tpl:hover { border-color: var(--cb-blue); box-shadow: 0 10px 22px -10px rgba(29, 78, 158, 0.25); transform: translateY(-1px); }
.cb-aip-tpl.is-picked { border-color: var(--cb-blue); background: var(--cb-soft); }
.cb-aip-hl { background: rgba(255, 217, 59, 0.55); color: inherit; padding: 0 3px; border-radius: 4px; font-weight: 700; }
.cb-aip-tpl__go { font-size: 12px; font-weight: 700; color: var(--cb-blue); white-space: nowrap; }
.cb-aip-note { margin-top: 20px; font-size: 12px; color: var(--cb-muted); text-align: center; }

/* --- READY TO SEND バー --- */
.cb-aip-ready[hidden] { display: none; }
.cb-aip-ready {
  position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 72;
  display: flex; align-items: center; gap: 12px; width: min(92vw, 560px);
  background: var(--cb-deep); border-radius: 999px; padding: 10px 12px 10px 10px;
  box-shadow: 0 18px 40px -12px rgba(8, 20, 44, 0.6); animation: cbAipPopIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
@keyframes cbAipPopIn { from { opacity: 0; transform: translateX(-50%) translateY(14px) scale(0.96); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
.cb-aip-ready__avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--cb-sky); overflow: hidden; display: block; }
.cb-aip-ready__avatar img { display: block; height: 38px; width: auto; max-width: none; }
.cb-aip-ready__body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.cb-aip-ready__body small { font-family: var(--cb-font-mono); font-size: 8.5px; letter-spacing: 0.16em; color: var(--cb-yellow); }
.cb-aip-ready__body b { font-size: 12px; color: #ffffff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-aip-ready__send { flex: none; border: none; background: var(--cb-yellow); color: var(--cb-deep); border-radius: 999px; padding: 11px 18px; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: transform 0.15s, opacity 0.2s; }
.cb-aip-ready__send:hover { transform: translateY(-1px); opacity: 0.94; }
.cb-aip-confetti { position: fixed; z-index: 73; width: 8px; height: 12px; border-radius: 2px; pointer-events: none; animation: cbAipConfetti 0.9s ease-out forwards; }
@keyframes cbAipConfetti { to { transform: translate(var(--cb-aip-cx, 0), var(--cb-aip-cy, -80px)) rotate(var(--cb-aip-cr, 240deg)); opacity: 0; } }

/* --- 答えられない領域 / 最終 CTA --- */
.cb-aip-limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 28px; }
.cb-aip-limit { display: flex; gap: 12px; background: #ffffff; border: 1.5px dashed rgba(232, 65, 64, 0.4); border-radius: 16px; padding: 18px; }
.cb-aip-limit__x { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(232, 65, 64, 0.1); color: var(--cb-red); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cb-aip-limit b { font-size: 14px; color: var(--cb-deep); }
.cb-aip-limit p { margin: 4px 0 0; font-size: 12.5px; color: var(--cb-sub); line-height: 1.8; }
.cb-aip-human { font-size: clamp(44px, 8vw, 68px); color: var(--cb-blue); }

@media (min-width: 920px) {
  .cb-aip-hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .cb-aip-stats { grid-template-columns: repeat(4, 1fr); }
  .cb-aip-ready { bottom: 32px; }
}
@media (max-width: 640px) {
  .cb-aip-badge { right: -8px; top: -26px; width: 88px; height: 88px; }
  .cb-aip-badge::before { inset: 12px; }
  .cb-aip-badge svg text { font-size: 11px; letter-spacing: 0.18em; }
  .cb-aip-tpl__go { width: 100%; text-align: right; }
}

/* ============================================================
   欧文の字面調整(2026-08-04)
   Zen Maru Gothic は欧文 cap-height が漢字字面高の 86.3% しかなく、
   和欧が並ぶと英数字が沈んで見える。latin サブセットのみセルフホストし
   size-adjust:106% で 91.5% に引き上げる(完全一致の 116% は欧文が
   大きく見えすぎるため採らない)。unicode-range で半角英数記号に
   限定しているので和文には影響しない。
   ライセンス: SIL Open Font License 1.1(埋め込み・再配布可)
   ============================================================ */
@font-face {
  font-family: "Zen Maru Latin Fit";
  src: url("assets/fonts/zen-maru-gothic-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  size-adjust: 106%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zen Maru Latin Fit";
  src: url("assets/fonts/zen-maru-gothic-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  size-adjust: 106%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zen Maru Latin Fit";
  src: url("assets/fonts/zen-maru-gothic-latin-700.woff2") format("woff2");
  font-weight: 600 700; font-style: normal; font-display: swap;
  size-adjust: 106%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zen Maru Latin Fit";
  src: url("assets/fonts/zen-maru-gothic-latin-900.woff2") format("woff2");
  font-weight: 800 900; font-style: normal; font-display: swap;
  size-adjust: 106%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
