/*

 */

/* ── スクリーンリーダー専用 ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── ヘッダードロップダウン ── */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-dropdown-arrow {
  font-size: 10px;
  transition: transform 0.15s;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 200px;
  padding: 6px 0;
  z-index: 100;
}
.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-wrap:hover .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-item {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s;
}
.nav-dropdown-item:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

/* コラム本文スタイル */
.column-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a5f;
  border-left: 4px solid #2563eb;
  padding-left: 0.75rem;
  margin: 2rem 0 1rem;
}

.column-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #374151;
  margin: 1.5rem 0 0.75rem;
}

.column-body p {
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1rem;
}

.column-body ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #374151;
}

.column-body ol {
  list-style-type: decimal;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #374151;
}

.column-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.column-body table th,
.column-body table td {
  border: 1px solid #e5e7eb;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: 0.875rem;
}

.column-body table th {
  background-color: #f9fafb;
  font-weight: 600;
}

.column-body blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1rem;
  color: #6b7280;
  font-style: italic;
  margin: 1rem 0;
}

.column-body a {
  color: #2563eb;
  text-decoration: underline;
}

/* 管理画面 CKEditor スタイル調整 */
.ck-editor__editable {
  min-height: 300px !important;
}

/* ═══════════════════════════════════════════════════════
   家庭教師詳細ページ  .brand-detail  ／  口コミ一覧 .bd-reviews
   青メイン＋オレンジサブ。他ページには影響しない。
   ═══════════════════════════════════════════════════════ */
.brand-detail,
.bd-reviews {
  /* ── 青メイン（サイト既存 #0072d8 系に合わせる） ── */
  --bd-blue-50:  #eff6ff;
  --bd-blue-100: #dbeafe;
  --bd-blue-200: #bfdbfe;
  --bd-blue-500: #0072d8;
  --bd-blue-600: #005bb5;
  --bd-blue-700: #004d99;
  /* ── オレンジサブ（CTA / アクセント） ── */
  --bd-orange-50:  #fff7ed;
  --bd-orange-400: #ff9f43;
  --bd-orange-500: #ff8a00;
  --bd-orange-600: #e07900;
  /* ── ゴールド（星） ── */
  --bd-star:    #F5B400;
  --bd-star-bg: #E5C36C;
  /* ── インク ── */
  --bd-ink-900: #073a5a;
  --bd-ink-800: #1e3a5f;
  --bd-ink-700: #2d4a5a;
  --bd-ink-500: #6b7289;
  --bd-ink-400: #8A93A4;
  --bd-ink-200: #cfe8f7;
  --bd-ink-100: #e8f4fe;
  --bd-ink-50:  #f0f7fb;
  /* ── サーフェス ── */
  --bd-bg:      #f0f7fb;
  --bd-bg-card: #ffffff;
  --bd-bg-soft: #e8f4fe;
  --bd-line:    #cfe8f7;
  /* ── 共通 ── */
  --bd-r-sm: 6px; --bd-r-md: 10px; --bd-r-lg: 14px; --bd-r-pill: 999px;
  --bd-shadow-sm: 0 1px 3px rgba(0,80,120,.07), 0 1px 2px rgba(0,80,120,.04);
  --bd-shadow-md: 0 4px 14px rgba(0,80,120,.08), 0 2px 4px rgba(0,80,120,.04);

  background: var(--bd-bg);
  padding-bottom: 64px;
  overflow-x: hidden;
}
.brand-detail *, .brand-detail *::before, .brand-detail *::after,
.bd-reviews  *, .bd-reviews  *::before, .bd-reviews  *::after { box-sizing: border-box; }

/* ── コンテナ ── */
.bd-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── パンくず ── */
.bd-bc {
  padding: 12px 0 0; font-size: 12px; color: var(--bd-ink-500);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.bd-bc a { color: var(--bd-ink-500); text-decoration: none; }
.bd-bc a:hover { color: var(--bd-blue-500); }
.bd-bc-sep { color: var(--bd-ink-200); }
.bd-bc-current { color: var(--bd-ink-800); font-weight: 600; }

/* ── カード ── */
.bd-card {
  background: var(--bd-bg-card);
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-r-lg);
  box-shadow: var(--bd-shadow-sm);
}

/* ── ヒーローカード ── */
.bd-hero-card {
  background: var(--bd-bg-card);
  border: 1px solid var(--bd-line);
  border-top: 3px solid var(--bd-blue-500);
  border-radius: var(--bd-r-lg);
  box-shadow: var(--bd-shadow-sm);
  margin-top: 14px;
  padding: 22px;
}

/* ── FV 2カラムグリッド ── */
.bd-fv-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: start;
}
.bd-fv-left {
  display: flex;
  flex-direction: column;
}
.bd-fv-right-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bd-fv-cta-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

/* ── カード全幅CTA ── */
.bd-fv-cta-full {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--bd-line);
  flex-wrap: wrap;
}
.bd-fv-cta-btn {
  flex: 1;
  min-width: 140px;
  text-align: center !important;
  justify-content: center;
}

/* ── ロゴ（プレーン表示） ── */
.bd-fv-logo-plain {
  margin-bottom: 14px;
}
.bd-fv-logo-plain-img {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.bd-fv-logo-fallback {
  width: 72px;
  height: 72px;
  border-radius: var(--bd-r-md);
  background: var(--bd-blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  color: var(--bd-blue-500);
}

/* ── ヒーロー評価サマリーカード ── */
.bd-hero-rating-card {
  width: 100%;
  background: var(--bd-bg-soft);
  border: 1px solid var(--bd-blue-200);
  border-radius: var(--bd-r-md);
  overflow: hidden;
}
.bd-hero-rating-header {
  background: linear-gradient(90deg, var(--bd-blue-500), var(--bd-blue-600));
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bd-hero-rating-body { padding: 12px; }
.bd-hero-rating-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--bd-ink-900);
  line-height: 1;
  text-align: center;
}
.bd-hero-rating-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 6px 0 10px;
}
.bd-hero-rating-bars {
  border-top: 1px solid var(--bd-blue-200);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bd-hero-rating-bar-row {
  display: grid;
  grid-template-columns: 34px 1fr 28px;
  gap: 6px;
  align-items: center;
  font-size: 11px;
}
.bd-hero-rating-bar-lbl { color: var(--bd-ink-700); font-weight: 600; }
.bd-hero-rating-bar-track {
  height: 6px;
  background: var(--bd-blue-100);
  border-radius: 3px;
  overflow: hidden;
}
.bd-hero-rating-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bd-orange-400), var(--bd-orange-500));
  border-radius: 3px;
}
.bd-hero-rating-bar-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--bd-ink-900);
  text-align: right;
}
.bd-hero-rating-empty {
  padding: 16px 12px;
  font-size: 12px;
  color: var(--bd-ink-500);
  text-align: center;
}

/* ── 後方互換（既存クラス保持） ── */
.bd-hero-meta {
  display: grid; grid-template-columns: auto 1fr;
  gap: 6px 12px; margin-top: 12px; font-size: 13px; color: var(--bd-ink-700);
}
.bd-hero-meta dt { color: var(--bd-ink-500); font-weight: 600; white-space: nowrap; }
.bd-hero-meta dd { margin: 0; font-weight: 500; }
.bd-scores-label {
  font-size: 10px; font-weight: 800; color: var(--bd-blue-600);
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px;
}

/* ── スコアバー ── */
.bd-score-bar {
  display: grid; grid-template-columns: 56px 1fr 34px;
  gap: 8px; align-items: center; padding: 4px 0;
  font-size: 12px; color: var(--bd-ink-700);
}
.bd-score-bar-track { height: 6px; background: var(--bd-ink-100); border-radius: 3px; overflow: hidden; }
.bd-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bd-blue-200), var(--bd-blue-500));
  border-radius: 3px;
}
.bd-score-bar-num { font-weight: 700; color: var(--bd-ink-900); text-align: right; }

/* ── 星表示（CSS オーバーレイ） ── */
.bd-stars {
  position: relative; display: inline-block;
  font-size: 18px; line-height: 1; letter-spacing: 3px; vertical-align: middle;
}
.bd-stars-bg { color: var(--bd-star-bg); }
.bd-stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--bd-star); }
.bd-stars-num { font-size: 14px; font-weight: 800; color: var(--bd-ink-900); margin-left: 4px; vertical-align: middle; }
.bd-stars-count { font-size: 12px; color: var(--bd-ink-500); margin-left: 4px; vertical-align: middle; }

/* ── タグ ── */
.bd-tag {
  display: inline-flex; align-items: center; padding: 3px 9px;
  border-radius: var(--bd-r-pill); font-size: 11px; font-weight: 600;
  background: var(--bd-blue-50); color: var(--bd-blue-600);
  border: 1px solid var(--bd-blue-200); white-space: nowrap;
}
.bd-tag-orange { background: var(--bd-orange-50); color: var(--bd-orange-600); border-color: #ffedd5; }
.bd-tag-gray   { background: var(--bd-ink-50);    color: var(--bd-ink-700);    border-color: var(--bd-ink-200); }

/* ── ボタン ── */
.bd-btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: var(--bd-r-pill);
  font-weight: 700; font-size: 13px; padding: 11px 20px;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s;
  background: linear-gradient(180deg, var(--bd-orange-400), var(--bd-orange-500));
  color: #fff; box-shadow: 0 4px 12px rgba(255,138,0,.26);
}
.bd-btn-cta:hover { background: linear-gradient(180deg, var(--bd-orange-500), var(--bd-orange-600)); color: #fff; }
.bd-btn-sub {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid var(--bd-blue-200); border-radius: var(--bd-r-pill);
  font-weight: 700; font-size: 13px; padding: 10px 20px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  background: #fff; color: var(--bd-blue-600); transition: border-color .15s, background .15s;
}
.bd-btn-sub:hover { border-color: var(--bd-blue-500); background: var(--bd-blue-50); color: var(--bd-blue-600); }

/* ── セクションタイトル ── */
.bd-section-title {
  font-size: 17px; font-weight: 800; color: var(--bd-ink-900);
  display: flex; align-items: center; gap: 10px; margin: 0;
}
.bd-section-title::before {
  content: ''; width: 4px; height: 20px;
  background: var(--bd-blue-500); border-radius: 2px; flex-shrink: 0;
}

/* ── タブナビ ── */
.bd-tab-outer {
  background: #fff; border-bottom: 1px solid var(--bd-line);
  margin-top: 20px; position: sticky; top: 72px; z-index: 10;
  box-shadow: 0 2px 8px rgba(0,80,120,.06);
}
.bd-tab-nav {
  display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bd-tab-nav::-webkit-scrollbar { display: none; }
.bd-tab-btn {
  display: inline-flex; align-items: center;
  padding: 14px 18px; font-size: 13px; font-weight: 700;
  color: var(--bd-ink-500); background: transparent;
  border: none; border-bottom: 3px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: color .15s, border-color .15s;
  margin-bottom: -1px;
}
.bd-tab-btn:hover { color: var(--bd-blue-500); }
.bd-tab-btn.is-active { color: var(--bd-blue-500); border-bottom-color: var(--bd-orange-500); }

/* ── タブパネル ── */
.bd-tab-pane { display: none; }
.bd-tab-pane.is-active { display: block; }

/* ── 2カラムレイアウト ── */
.bd-layout {
  display: grid; grid-template-columns: 1fr 260px;
  gap: 24px; margin-top: 24px; align-items: start;
}
.bd-sidebar-sticky {
  position: sticky; top: 134px;
  display: flex; flex-direction: column; gap: 14px;
}

/* ── キーワードチップ ── */
.bd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--bd-r-pill);
  font-size: 12px; font-weight: 600;
  background: var(--bd-ink-50); color: var(--bd-ink-700);
  border: 1px solid var(--bd-ink-200);
}
.bd-chip b { color: var(--bd-blue-500); font-weight: 800; margin-left: 2px; }

/* ── 口コミカード ── */
.bd-review-card {
  background: #fff;
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-r-lg);
  padding: 20px 22px;
  box-shadow: var(--bd-shadow-sm);
}
/* ヘッダー */
.bd-rv-header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.bd-rv-header-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bd-rv-avatar-img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; display: block; flex-shrink: 0; }
.bd-rv-info { min-width: 0; }
.bd-rv-name { font-size: 14px; font-weight: 500; color: #1a1a2e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-rv-via  { font-size: 12px; color: #6b7280; margin-top: 2px; }
.bd-rv-date { font-size: 12px; color: #9ca3af; white-space: nowrap; flex-shrink: 0; padding-top: 2px; }
/* タグ */
.bd-rv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.bd-rv-tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: #e8f1ff; color: #0c447c; border: 1px solid #85b7eb; line-height: 1.4;
}
.bd-rv-tag.合格 { background: #faeeda; color: #633806; border-color: #ef9f27; }
/* 星評価 */
.bd-rv-stars { display: flex; align-items: center; gap: 3px; margin-bottom: 10px; }
.bd-rv-star  { flex-shrink: 0; }
.bd-rv-score { font-size: 15px; font-weight: 700; color: #1a1a2e; margin-left: 5px; }
/* タイトル・本文 */
.bd-rv-title { font-size: 14px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; line-height: 1.4; }
.bd-rv-body  { font-size: 13px; color: #374151; line-height: 1.75; }
.bd-rv-body p { margin: 0 0 2px; }
.bd-rv-body--clamped {
  display: -webkit-box; -webkit-line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}
/* 続きを読む */
.bd-rv-expand-wrap { text-align: center; margin-top: 12px; }
.bd-rv-expand-btn {
  display: inline-block; padding: 7px 24px;
  font-size: 12px; background: #f3f4f6;
  border: 1px solid #e5e7eb; border-radius: 999px;
  cursor: pointer; color: #4b5563;
  transition: background .15s;
}
.bd-rv-expand-btn:hover { background: #e5e7eb; }
@media (max-width: 767px) {
  .bd-review-card { padding: 16px; }
  .bd-rv-header { flex-wrap: wrap; }
  .bd-rv-name { font-size: 13px; }
}

/* ── 評価サマリー（サイドバー改善版） ── */
.bd-rating-card {
  background: var(--bd-bg-card);
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-r-lg);
  box-shadow: var(--bd-shadow-sm);
  overflow: hidden;
}
.bd-rating-card-hd {
  background: linear-gradient(90deg, var(--bd-blue-500), var(--bd-blue-600));
  padding: 10px 16px;
}
.bd-rating-card-title {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
}
.bd-rating-card-body { padding: 14px 16px 16px; }
.bd-rating-card-overall {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--bd-line);
}
.bd-rating-card-num {
  font-size: 54px;
  font-weight: 900;
  color: var(--bd-ink-900);
  line-height: 1;
  padding: 4px 0 2px;
}
.bd-rating-card-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 2px;
}
.bd-rating-card-count {
  font-size: 12px;
  color: var(--bd-ink-500);
  margin-top: 2px;
}
.bd-rating-card-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bd-rating-card-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr 32px;
  gap: 8px;
  align-items: center;
}
.bd-rating-card-bar-lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--bd-ink-700);
}
.bd-rating-card-bar-track {
  height: 7px;
  background: var(--bd-blue-100);
  border-radius: 4px;
  overflow: hidden;
}
.bd-rating-card-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bd-orange-400), var(--bd-orange-500));
  border-radius: 4px;
}
.bd-rating-card-bar-val {
  font-size: 12px;
  font-weight: 700;
  color: var(--bd-ink-900);
  text-align: right;
}
.bd-rating-card-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--bd-ink-500);
}

/* ── キャンペーン画像カード ── */
.bd-campaign-card {
  border-radius: var(--bd-r-lg);
  overflow: hidden;
  box-shadow: var(--bd-shadow-sm);
  border: 1px solid var(--bd-line);
}
.bd-campaign-card a {
  display: block;
  text-decoration: none;
  transition: opacity 0.15s;
}
.bd-campaign-card a:hover { opacity: 0.9; }
.bd-campaign-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 料金タブ：価格表示 ── */
.bd-price-highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--bd-blue-50);
  border: 1.5px solid var(--bd-blue-200);
  border-radius: var(--bd-r-md);
  margin-bottom: 18px;
}
.bd-price-highlight-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--bd-blue-600);
  letter-spacing: 0.04em;
}
.bd-price-highlight-value {
  font-size: 30px;
  font-weight: 900;
  color: var(--bd-blue-500);
  line-height: 1.2;
}
.bd-price-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bd-line);
  border-radius: var(--bd-r-md);
  overflow: hidden;
}
.bd-price-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 11px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--bd-line);
  align-items: center;
}
.bd-price-row:last-child { border-bottom: none; }
.bd-price-row:nth-child(even) { background: var(--bd-bg); }
.bd-price-row-label {
  font-weight: 700;
  color: var(--bd-ink-700);
  white-space: nowrap;
}
.bd-price-row-value {
  color: var(--bd-ink-900);
  font-weight: 500;
}
.bd-campaign-info-box {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bd-orange-50);
  border: 1.5px solid #ffbf7a;
  border-radius: var(--bd-r-md);
  margin-bottom: 4px;
  align-items: flex-start;
}
.bd-campaign-info-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}
.bd-price-table-free {
  font-size: 13px;
  color: var(--bd-ink-700);
  line-height: 1.8;
}
.bd-price-table-free table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--bd-r-md);
  overflow: hidden;
}
.bd-price-table-free th,
.bd-price-table-free td {
  border: 1px solid var(--bd-line);
  padding: 8px 12px;
  font-size: 13px;
}
.bd-price-table-free th {
  background: var(--bd-blue-50);
  font-weight: 700;
  color: var(--bd-ink-800);
}

/* ── 旧クラス互換 ── */
.bd-rating-big { font-size: 44px; font-weight: 900; color: var(--bd-ink-900); line-height: 1; text-align: center; padding: 6px 0 2px; }
.bd-rating-row { display: grid; grid-template-columns: 26px 1fr 24px; gap: 6px; align-items: center; font-size: 11px; color: var(--bd-ink-700); padding: 2px 0; }
.bd-rating-bar-track { height: 5px; background: var(--bd-ink-100); border-radius: 3px; overflow: hidden; }
.bd-rating-bar-fill  { height: 100%; background: var(--bd-star); border-radius: 3px; }

/* ── CTA サイドバー ── */
.bd-cta-sidebar {
  padding: 18px;
  background: linear-gradient(160deg, var(--bd-blue-500), var(--bd-blue-600));
  border: 1px solid transparent; border-radius: var(--bd-r-lg);
  box-shadow: var(--bd-shadow-sm);
}
.bd-cta-sidebar-btn {
  display: block; text-align: center; background: #fff;
  color: var(--bd-orange-500); font-weight: 800;
  padding: 12px 16px; border-radius: var(--bd-r-pill);
  font-size: 13px; text-decoration: none; transition: background .15s;
}
.bd-cta-sidebar-btn:hover { background: var(--bd-orange-50); color: var(--bd-orange-600); }

/* ── 空コンテンツ ── */
.bd-empty-state { padding: 40px 20px; text-align: center; color: var(--bd-ink-500); font-size: 13px; }

/* ── 口コミ投稿フォーム ── */
.bd-form-block { margin-bottom: 36px; }
.bd-form-block:last-of-type { margin-bottom: 0; }
.bd-form-label {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px; font-size: 14px; font-weight: 800; color: var(--bd-ink-900);
}
.bd-form-req {
  display: inline-block; margin-left: 8px; font-size: 10px; font-weight: 700;
  padding: 2px 6px; background: #ffe4e5; color: #e5484d; border-radius: 4px; vertical-align: middle;
}
.bd-form-hint { font-size: 11px; color: var(--bd-ink-500); font-weight: 400; }
.bd-input {
  width: 100%; height: 44px; border-radius: var(--bd-r-md);
  border: 1.5px solid var(--bd-ink-200); background: #fff;
  padding: 0 14px; font-size: 14px; font-family: inherit;
  color: var(--bd-ink-900); outline: none;
}
.bd-input:focus { border-color: var(--bd-blue-500); box-shadow: 0 0 0 3px rgba(0,114,216,.12); }
.bd-textarea {
  width: 100%; min-height: 120px; padding: 12px 16px;
  font-family: inherit; font-size: 13.5px;
  border: 1.5px solid var(--bd-ink-200); border-radius: var(--bd-r-md);
  resize: vertical; outline: none; color: var(--bd-ink-900); background: #fff; line-height: 1.65;
}
.bd-textarea:focus { border-color: var(--bd-blue-500); box-shadow: 0 0 0 3px rgba(0,114,216,.12); }
.bd-select {
  width: 100%; height: 44px; border: 1.5px solid var(--bd-ink-200); border-radius: var(--bd-r-md);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%236B7689' d='M0 0l5 6 5-6z'/></svg>") no-repeat right 12px center;
  padding: 0 34px 0 14px; font-size: 14px; font-family: inherit;
  color: var(--bd-ink-800); appearance: none; outline: none; cursor: pointer;
}
.bd-select:focus { border-color: var(--bd-blue-500); box-shadow: 0 0 0 3px rgba(0,114,216,.12); }

/* ── 選択式ラジオボタン（ピル型） ── */
.bd-option-group { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-option-group input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.bd-option-label {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border-radius: var(--bd-r-pill); border: 1.5px solid var(--bd-ink-200);
  background: #fff; color: var(--bd-ink-700); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .15s; user-select: none;
}
.bd-option-group input[type="radio"]:checked + .bd-option-label {
  border-color: var(--bd-blue-500); background: var(--bd-blue-100);
  color: var(--bd-blue-600); font-weight: 700;
}

/* ── 星入力（CSS-only・RTL トリック） ── */
.bd-star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.bd-star-radio  { position: absolute; opacity: 0; width: 0; height: 0; }
.bd-star-label  { font-size: 30px; color: var(--bd-star-bg); cursor: pointer; line-height: 1; transition: color .1s; }
.bd-star-label:hover,
.bd-star-label:hover ~ .bd-star-label,
.bd-star-radio:checked ~ .bd-star-label { color: var(--bd-star); }

/* ── レスポンシブ ── */
@media (max-width: 960px) {
  .bd-fv-grid { grid-template-columns: 1fr 220px; gap: 20px; }
}
@media (max-width: 768px) {
  .bd-layout { grid-template-columns: 1fr; }
  .bd-sidebar-sticky { position: static; }
  .bd-fv-grid { grid-template-columns: 1fr; gap: 16px; }
  .bd-fv-right-col { order: 2; }
  .bd-hero-rating-num { font-size: 36px; }
  .bd-hero-card { padding: 16px; }
  .bd-tab-btn { padding: 12px 14px; font-size: 12px; }
  .bd-price-row { grid-template-columns: 110px 1fr; }
}
@media (max-width: 480px) {
  .bd-container { padding-left: 12px; padding-right: 12px; }
  .bd-hero-card { padding: 14px; }
  .bd-score-bar { grid-template-columns: 48px 1fr 28px; font-size: 11px; }
  .bd-hero-meta { font-size: 12px; }
  .bd-option-label { padding: 7px 12px; font-size: 12px; }
  .bd-star-label { font-size: 26px; }
  .bd-price-row { grid-template-columns: 1fr; gap: 4px; padding: 10px 14px; }
  .bd-price-row-label { font-size: 11px; color: var(--bd-ink-500); }
  .bd-fv-cta-full { flex-direction: column; gap: 10px; }
  .bd-fv-cta-btn { min-width: unset; }
}

/* ── 口コミ一覧ページ固有 ── */
.bd-reviews { padding-bottom: 48px; }
.bd-reviews-header { padding: 20px 0 16px; border-bottom: 1px solid var(--bd-line); margin-bottom: 20px; }
.bd-reviews-header h1 { font-size: 20px; font-weight: 800; color: var(--bd-ink-900); margin: 0 0 4px; }
.bd-reviews-count { font-size: 13px; color: var(--bd-ink-500); margin: 0; }

/* ===== フッター背景色 ===== */
body > footer {
  background-color: #e8f5fb !important;
  color: #2d4a5a;
}
body > footer h4 {
  color: #073a5a !important;
}
body > footer a {
  color: #2d6e8a;
}
body > footer a:hover {
  color: #073a5a !important;
}
body > footer .border-t {
  border-color: #c0dce9 !important;
}
body > footer .text-gray-500 {
  color: #4a6e80 !important;
}

/* ===== TOP ページ ヒーローバナー（旧クラス・互換維持） ===== */
.top-hero-wrap {
  background: #f9fafb;
  display: flex;
  justify-content: center;
}
.top-hero-banner {
  display: block;
  width: 100%;
  max-width: 1030px;
  height: auto;
}

/* ===== ファーストビュー ===== */

/* ===== FV：画像フル幅＋コンテンツオーバーレイ ===== */
.fv-wrap {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: #eef7fc;
}

.fv-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  object-position: center center;
}

.fv-overlay {
  position: absolute;
  top: 62%;
  left: 7%;
  right: 49%;
  max-width: 680px;
  line-height: 1;
  z-index: 2;
}

/* CTAボタン群 */
.fv-cta-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.fv-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  transition: background 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.fv-cta-primary  { background: #ff8a00; color: #fff; }
.fv-cta-primary:hover  { background: #e07900; color: #fff; }
.fv-cta-secondary { background: #fff; color: #0072d8; border: 2px solid #0072d8; }
.fv-cta-secondary:hover { background: #0072d8; color: #fff; }

/* PC検索フォーム（overlay内） */
.fv-overlay-search { display: block; }

/* 検索フォーム共通スタイル */
.fv-search-row {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}

.fv-search-select,
.fv-search-input {
  padding: 9px 10px;
  font-size: 13px;
  border: 1.5px solid #b0cfe0;
  border-radius: 6px;
  background: rgba(255,255,255,0.97);
  color: #333;
  box-sizing: border-box;
  appearance: auto;
}
.fv-search-select { width: 130px; flex-shrink: 0; }
.fv-search-input  { flex: 1; min-width: 0; }

.fv-search-submit {
  padding: 9px 14px;
  background: #0072d8;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.15s ease;
  line-height: 1;
}
.fv-search-submit:hover { background: #005bb5; }

/* SP用検索バー（FV直下・PC非表示） */
.fv-search-bar {
  display: none;
}
.fv-search-bar-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* ===== FV レスポンシブ（768px未満） ===== */
@media screen and (max-width: 767px) {
  .fv-img {
    max-height: none;
    object-fit: unset;
    object-position: unset;
  }

  /*
   * SP オーバーレイ: top:42% で文字ゾーク直下(≈86px from top at 205px height)。
   * 画像左側テキストエリア内に収まるよう right:45% で右半分を避ける。
   */
  .fv-overlay {
    top: 42%;
    left: 4%;
    right: 45%;
    max-width: none;
  }

  .fv-cta-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 0;
    margin-top: 40px;
  }

  .fv-cta-btn {
    font-size: 14px;
    padding: 8px 13px;
    width: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }

  /* PC検索フォームはSPで非表示 */
  .fv-overlay-search { display: none; }

  /* SP用検索バーをFV直下に表示 */
  .fv-search-bar {
    display: block;
    background: #eef7fc;
    border-bottom: 2px solid #cfe8f7;
    padding: 12px 14px;
    line-height: 1;
  }

  .fv-search-row {
    flex-direction: column;
    gap: 8px;
  }

  .fv-search-select,
  .fv-search-input {
    width: 100%;
    font-size: 15px;
    padding: 11px 12px;
  }

  .fv-search-submit {
    width: 100%;
    padding: 12px;
    font-size: 15px;
  }
}

/* ===== エリア選択（地域ブロック型） ===== */
.area-search-box {
  max-width: 1200px;
  margin: 20px auto;
  padding: 22px 28px 18px;
  background: #f7fcff;
  border: 1px solid #cfe8f7;
  box-shadow: 0 2px 10px rgba(0, 80, 120, 0.07);
  box-sizing: border-box;
  overflow: hidden;
}
.area-search-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #073a5a;
  margin: 0 0 14px;
}
.area-search-title span { color: #ff9f43; }

/* PC: 左カラム / 中央地図 / 右カラムの3列レイアウト（オーバーフロー対策済） */
.area-search-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 620px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}
.area-row2 { margin-top: 12px; }
.area-row2-spacer { display: none; }

.area-map {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.area-map-img-real {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
  object-fit: contain;
}

.area-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.area-block {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  min-width: 0;
}
.area-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #073a5a;
  margin: 0 0 6px;
  padding: 8px 10px 6px;
  border-bottom: 2px dotted #ffc98a;
}
.area-icon {
  width: 34px;
  height: 34px;
  border: 1px solid #ffc98a;
  border-radius: 50%;
  color: #ff9f43;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

/* 都道府県リンク: flexラップで行内に自然に並べる */
.area-links {
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #edf2f5;
  box-shadow: 0 1px 5px rgba(0, 80, 120, 0.04);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
}
.area-links a {
  display: inline-block;
  color: #0072d8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  line-height: 2.0;
  white-space: nowrap;
}
.area-links a::after {
  content: " |";
  color: #9ab0bc;
  font-weight: 400;
  margin-left: 1px;
  margin-right: 1px;
}
.area-links a:last-child::after {
  content: none;
}
.area-links a:hover {
  color: #ff8a00;
  text-decoration: underline;
}

/* オンライン家庭教師 */
.online-area {
  margin-top: 16px;
  padding: 13px 18px;
  background: #fff7ed;
  border: 1px solid #ffbf7a;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.online-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.online-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #ffbf7a;
  color: #ff8a00;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: #fff;
  flex-shrink: 0;
}
.online-title {
  font-size: 16px;
  font-weight: 700;
  color: #ff7a00;
  margin: 0 0 2px;
}
.online-text {
  font-size: 12px;
  color: #445566;
  margin: 0;
}
.online-btn {
  min-width: 148px;
  padding: 9px 16px;
  border: 1px solid #ff8a00;
  color: #ff8a00;
  background: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.online-btn:hover { background: #ff8a00; color: #fff; }

/* ===== レスポンシブ（640px未満 = スマートフォン） ===== */
@media screen and (max-width: 639px) {
  .area-map { display: none !important; }
  .area-search-inner {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .area-search-box {
    margin: 0;
    padding: 16px 14px 14px;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
  .area-search-title { font-size: 17px; margin: 0 0 10px; }
  .area-row2 { margin-top: 0; }
  .area-col { gap: 10px; }
  .area-heading { font-size: 13px; padding: 6px 8px 5px; }

  /* SP: 都道府県リンクを5列グリッドで表示（6つ以上は次の行へ折り返し） */
  .area-links {
    padding: 6px 8px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px 0;
  }
  .area-links a {
    font-size: 12px;
    line-height: 2.0;
    text-align: center;
    padding: 0 2px;
    white-space: nowrap;
  }
  .area-links a::after {
    display: none;
  }

  .online-area {
    margin-top: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }
  .online-left { align-items: flex-start; }
  .online-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 11px 16px;
  }
}

/* ===== 口コミから探すナビ ===== */
.review-nav-box {
  background: linear-gradient(135deg, #eaf5fb 0%, #f0f9ff 100%);
  border-top: 3px solid #0072d8;
  border-bottom: 1px solid #cfe8f7;
  padding: 24px 20px;
  box-sizing: border-box;
  overflow: hidden;
}

.review-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.review-nav-title {
  font-size: 20px;
  font-weight: 700;
  color: #073a5a;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-nav-icon { color: #ff9f43; }

.review-nav-lead {
  font-size: 14px;
  color: #445566;
  margin: 0 0 18px;
}

.review-nav-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.review-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px;
  background: #fff;
  border: 2px solid #cfe8f7;
  border-radius: 12px;
  text-decoration: none;
  color: #073a5a;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  transition: border-color 0.15s, box-shadow 0.15s, color 0.15s;
  box-shadow: 0 2px 8px rgba(0, 80, 120, 0.06);
}

.review-nav-card:hover {
  border-color: #ff8a00;
  box-shadow: 0 4px 16px rgba(255, 138, 0, 0.15);
  color: #ff8a00;
}

.review-nav-card-icon {
  font-size: 28px;
  line-height: 1;
}

.review-nav-card-label {
  line-height: 1.5;
}

@media screen and (max-width: 639px) {
  .review-nav-box {
    padding: 16px 14px;
    border-left: none;
    border-right: none;
  }
  .review-nav-title { font-size: 17px; }
  .review-nav-lead  { font-size: 13px; margin-bottom: 14px; }
  .review-nav-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .review-nav-card {
    padding: 14px 10px;
    font-size: 12px;
    gap: 6px;
  }
  .review-nav-card-icon { font-size: 24px; }
}

/* ===== TOPページ 口コミカード ===== */
.top-review-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.top-review-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 2px 10px rgba(0, 80, 120, 0.08);
  border: 1px solid #cfe8f7;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.top-review-brand-name {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #0072d8;
  border-left: 3px solid #ff8a00;
  padding-left: 8px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s;
}
.top-review-brand-name:hover { color: #ff8a00; }

.top-review-meta {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.top-review-meta span {
  font-size: 11px;
  background: #eff6ff;
  color: #0072d8;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
}

.top-review-score {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-review-stars {
  font-size: 14px;
  color: #F5B400;
  letter-spacing: 1px;
}

.top-review-stars-bg {
  color: #E5C36C;
}

.top-review-score-num {
  font-size: 14px;
  font-weight: 800;
  color: #073a5a;
}

.top-review-title {
  font-size: 14px;
  font-weight: 700;
  color: #073a5a;
  line-height: 1.4;
}

.top-review-body {
  font-size: 12px;
  color: #445566;
  line-height: 1.7;
  flex: 1;
}

.top-review-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0072d8;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid #bfdbfe;
  align-self: flex-start;
  margin-top: 2px;
  transition: color 0.15s, border-color 0.15s;
}

.top-review-link:hover {
  color: #ff8a00;
  border-color: #ff8a00;
}

@media screen and (max-width: 639px) {
  .top-review-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ===== 口コミ投稿フォームカード ===== */
.rv-form-card { padding: 40px; }
@media screen and (max-width: 767px) {
  .rv-form-card { padding: 20px; }
}

/* ===== エリア一覧ページ ===== */
.areas-page { background: #f5f8fb; min-height: 60vh; }

.areas-hero {
  background: linear-gradient(135deg, #e8f4fe 0%, #eef8ff 60%, #f5f1e8 100%);
  position: relative;
  overflow: hidden;
  padding: 52px 24px 52px;
}
.areas-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.areas-hero-badge {
  display: inline-block;
  background: #1A6DB5;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.areas-hero-title {
  font-size: 34px;
  font-weight: 900;
  color: #0f2035;
  line-height: 1.45;
  margin: 0 0 16px;
}
.areas-hero-accent { color: #1A6DB5; }
.areas-hero-sub {
  font-size: 14px;
  color: #556070;
  line-height: 1.85;
  margin: 0;
}
.areas-hero-deco {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,120,.28) 0%, rgba(255,235,190,.12) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* 検索ボックス */
.areas-search-wrap {
  max-width: 680px;
  margin: -24px auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.areas-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,80,160,.13);
  padding: 14px 20px;
}
.areas-search-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.areas-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: #222;
  background: transparent;
  font-family: inherit;
}
.areas-search-input::placeholder { color: #aabbc8; }

/* コンテンツ */
.areas-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

/* 地方ブロック */
.areas-region { margin-bottom: 44px; }
.areas-region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #deeaf4;
}
.areas-region-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f2035;
  border-left: 4px solid #1A6DB5;
  padding-left: 10px;
  margin: 0;
  line-height: 1;
}
.areas-region-count {
  font-size: 13px;
  color: #aabbc8;
  font-weight: 500;
}

/* カードグリッド */
.areas-pref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

/* カード */
.areas-pref-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 36px 12px 14px;
  background: #fff;
  border: 1.5px solid #dde8f2;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,60,120,.06);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
  position: relative;
  cursor: pointer;
}
.areas-pref-card:hover {
  border-color: #1A6DB5;
  box-shadow: 0 3px 14px rgba(26,109,181,.16);
}
.areas-pref-reading {
  font-size: 10px;
  color: #8a9ab5;
  font-weight: 500;
  line-height: 1;
  display: block;
}
.areas-pref-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f2035;
  line-height: 1.25;
  display: block;
}
.areas-pref-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #1A6DB5;
  font-size: 14px;
  font-weight: 700;
}

/* レスポンシブ */
@media screen and (max-width: 900px) {
  .areas-pref-grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 640px) {
  .areas-hero { padding: 32px 16px 44px; }
  .areas-hero-title { font-size: 22px; }
  .areas-hero-sub { font-size: 13px; }
  .areas-search-wrap { margin: -20px auto 28px; padding: 0 14px; }
  .areas-content { padding: 0 14px 40px; }
  .areas-pref-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .areas-region-title { font-size: 15px; }
  .areas-region { margin-bottom: 32px; }
}

/* ===== 都道府県詳細ページ (areas/pref) ===== */
.ap-page { background: #f5f8fb; min-height: 60vh; }

/* ヒーロー */
.ap-hero {
  background: linear-gradient(135deg, #e8f4fe 0%, #eef8ff 60%, #f5f1e8 100%);
  position: relative;
  overflow: hidden;
  padding: 36px 24px 44px;
}
.ap-hero-deco {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,120,.25) 0%, rgba(255,235,190,.1) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.ap-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* パンくず */
.ap-bc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7a8d;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.ap-bc a { color: #6b7a8d; text-decoration: none; }
.ap-bc a:hover { color: #1A6DB5; }
.ap-bc-sep { color: #aabbc8; }

/* ヒーローレイアウト */
.ap-hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.ap-area-badge {
  display: inline-block;
  background: rgba(26,109,181,.1);
  color: #1A6DB5;
  border: 1px solid rgba(26,109,181,.2);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.ap-hero-title {
  font-size: 30px;
  font-weight: 900;
  color: #0f2035;
  line-height: 1.45;
  margin: 0 0 14px;
}
.ap-hero-accent { color: #1A6DB5; }
.ap-hero-sub {
  font-size: 14px;
  color: #556070;
  line-height: 1.8;
  margin: 0;
}

/* 統計カード 2×2 */
.ap-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex-shrink: 0;
}
.ap-stat-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,60,120,.08);
  padding: 14px 18px;
  text-align: center;
  min-width: 96px;
}
.ap-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #1A6DB5;
  line-height: 1;
}
.ap-stat-unit {
  font-size: 12px;
  color: #1A6DB5;
  font-weight: 700;
  margin-top: 1px;
}
.ap-stat-label {
  font-size: 11px;
  color: #8a9ab5;
  font-weight: 600;
  margin-top: 6px;
}

/* メインコンテンツ */
.ap-main { padding: 32px 24px 64px; }
.ap-main-inner { max-width: 1080px; margin: 0 auto; }

/* 市区町村ナビ */
.ap-city-nav {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dde8f2;
  padding: 16px 20px;
  margin-bottom: 28px;
}
.ap-city-nav-title {
  font-size: 12px;
  font-weight: 700;
  color: #6b7a8d;
  margin: 0 0 10px;
}
.ap-city-links { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-city-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #dde8f2;
  background: #fff;
  color: #1A6DB5;
  text-decoration: none;
  transition: background .13s, border-color .13s, color .13s;
}
.ap-city-link:hover { background: #1A6DB5; border-color: #1A6DB5; color: #fff; }
.ap-city-link--active { background: #1A6DB5; border-color: #1A6DB5; color: #fff; }

/* ブランド一覧見出し */
.ap-brands-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #deeaf4;
}
.ap-brands-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f2035;
  border-left: 4px solid #1A6DB5;
  padding-left: 10px;
  margin: 0;
  line-height: 1;
}
.ap-brands-count { font-size: 13px; color: #aabbc8; }

/* ブランドカードグリッド */
.ap-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* ブランドカード */
.ap-brand-card {
  background: #fff;
  border: 1.5px solid #dde8f2;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,60,120,.07);
  padding: 18px;
  display: flex;
  gap: 14px;
  transition: box-shadow .15s, border-color .15s;
}
.ap-brand-card:hover {
  border-color: #1A6DB5;
  box-shadow: 0 4px 16px rgba(26,109,181,.14);
}
.ap-brand-icon-wrap { flex-shrink: 0; }
.ap-brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e0eaf4;
  display: block;
}
.ap-brand-icon-fallback {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #1A6DB5, #0055a0);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}
.ap-brand-body { flex: 1; min-width: 0; }
.ap-brand-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.ap-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.ap-badge--orange { background: #fff7ed; color: #e07900; border: 1px solid #ffbf7a; }
.ap-badge--blue   { background: #eff6ff; color: #1A6DB5; border: 1px solid #bfdbfe; }
.ap-brand-name-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.ap-brand-name {
  font-size: 15px;
  font-weight: 800;
  color: #0f2035;
  margin: 0;
  line-height: 1.3;
}
.ap-brand-score { font-size: 12px; font-weight: 700; color: #f59e0b; white-space: nowrap; }
.ap-brand-summary {
  font-size: 12px;
  color: #6b7a8d;
  line-height: 1.7;
  margin: 0 0 10px;
}
.ap-brand-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ap-brand-link {
  font-size: 12px;
  font-weight: 700;
  color: #1A6DB5;
  text-decoration: none;
  border-bottom: 1px solid #bfdbfe;
  padding-bottom: 1px;
  transition: color .13s, border-color .13s;
}
.ap-brand-link:hover { color: #ff8a00; border-color: #ff8a00; }
.ap-brand-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: #1A6DB5;
  color: #fff;
  text-decoration: none;
  transition: background .13s;
}
.ap-brand-cta:hover { background: #0055a0; color: #fff; }

/* ページネーション */
.ap-pagination { margin-top: 28px; display: flex; justify-content: center; }

/* 空状態 */
.ap-empty { text-align: center; padding: 48px 20px; color: #6b7a8d; font-size: 14px; }
.ap-empty-link {
  display: inline-block;
  margin-top: 12px;
  color: #1A6DB5;
  font-weight: 700;
  text-decoration: none;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .ap-hero-layout { grid-template-columns: 1fr; }
  .ap-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .ap-hero { padding: 24px 16px 32px; }
  .ap-hero-title { font-size: 22px; }
  .ap-hero-sub { font-size: 13px; }
  .ap-main { padding: 20px 14px 48px; }
  .ap-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ap-stat-card { padding: 10px 12px; }
  .ap-stat-num { font-size: 22px; }
  .ap-brand-grid { grid-template-columns: 1fr; }
  .ap-brands-title { font-size: 15px; }
  .ap-brand-card { padding: 14px; gap: 10px; }
  .ap-brand-icon-fallback, .ap-brand-logo { width: 44px; height: 44px; font-size: 13px; }
}

/* ===== ブランド詳細タブ 2カラムレイアウト ===== */
.bd-tab-1col { max-width: 760px; }
.bd-tab-2col {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 30fr);
  gap: 24px;
  align-items: start;
}
.bd-tab-2col-main {}
.bd-tab-2col-side {}
.bd-tab-campaign-sticky {
  position: sticky;
  top: 20px;
}

@media (max-width: 1023px) {
  .bd-tab-2col {
    grid-template-columns: 1fr;
  }
  .bd-tab-campaign-sticky {
    position: static;
  }
  .bd-tab-2col-side {
    order: 2;
  }
}

/* ═══════════════════════════════════════════════════════
   家庭教師会社一覧ページ .bl-*
   ═══════════════════════════════════════════════════════ */
.bl-page {
  --bl-blue:      #0072d8;
  --bl-blue-lt:   #e8f4fe;
  --bl-blue-200:  #bfdbfe;
  --bl-orange:    #ff8a00;
  --bl-orange-lt: #fff7ed;
  --bl-gold:      #F5B400;
  --bl-silver:    #9ca3af;
  --bl-bronze:    #cd7f32;
  --bl-bg:        #f0f7fb;
  --bl-line:      #cfe8f7;
  --bl-ink:       #073a5a;
  --bl-ink-2:     #2d4a5a;
  --bl-ink-3:     #6b7289;
  --bl-r:         16px;
  --bl-r-sm:      8px;
  --bl-sh-md:     0 4px 14px rgba(0,80,120,.08), 0 2px 4px rgba(0,80,120,.04);
  --bl-sh-lg:     0 10px 28px rgba(0,80,120,.14), 0 4px 8px rgba(0,80,120,.06);
  background: var(--bl-bg);
  min-height: calc(100vh - 80px);
}
.bl-page *, .bl-page *::before, .bl-page *::after { box-sizing: border-box; }

/* ── ヒーロー ── */
.bl-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4fe 0%, #d0e8fb 100%);
  padding: 52px 20px 44px;
  text-align: center;
}
.bl-hero-deco {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,138,0,.22) 0%, rgba(255,138,0,.06) 55%, transparent 100%);
  pointer-events: none;
}
.bl-hero-inner { position: relative; z-index: 1; }
.bl-hero-h1 {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  color: var(--bl-ink);
  margin: 0 0 14px;
  line-height: 1.3;
}
.bl-hero-accent { color: var(--bl-orange); }
.bl-hero-sub {
  font-size: clamp(13px, 2vw, 15px);
  color: var(--bl-ink-2);
  max-width: 560px;
  margin: 0 auto 22px;
  line-height: 1.75;
}
.bl-hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bl-hero-badge {
  background: #fff;
  border: 1.5px solid var(--bl-line);
  color: var(--bl-ink-2);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0,80,120,.08);
}

/* ── コンテナ ── */
.bl-container { max-width: 1080px; margin: 0 auto; padding: 0 20px 72px; }

/* ── パンくず ── */
.bl-breadcrumb {
  padding: 16px 0 0;
  font-size: 12px;
  color: var(--bl-ink-3);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.bl-breadcrumb a { color: var(--bl-ink-3); text-decoration: none; }
.bl-breadcrumb a:hover { color: var(--bl-blue); }

/* ── ランキングセクション ── */
.bl-ranking {
  background: #fff;
  border: 1px solid var(--bl-line);
  border-radius: var(--bl-r);
  box-shadow: var(--bl-sh-md);
  padding: 24px;
  margin-bottom: 32px;
}
.bl-ranking-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}
.bl-ranking-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--bl-ink);
  margin: 0;
}
.bl-ranking-icon {
  width: 36px;
  height: 36px;
  background: var(--bl-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.bl-ranking-more {
  font-size: 13px;
  color: var(--bl-blue);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.bl-ranking-more:hover { text-decoration: underline; }
.bl-ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ランクカード */
.bl-rank-card {
  border: 2px solid var(--bl-line);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bl-rank-card--1 { border-color: var(--bl-gold); background: #fffdf5; }
.bl-rank-card--2 { border-color: var(--bl-silver); }
.bl-rank-card--3 { border-color: var(--bl-bronze); }

.bl-rank-medal {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 40px;
  height: 40px;
  border-radius: 0 10px 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #fff;
}
.bl-rank-medal--1 { background: var(--bl-gold); }
.bl-rank-medal--2 { background: var(--bl-silver); }
.bl-rank-medal--3 { background: var(--bl-bronze); }

.bl-rank-head { display: flex; align-items: center; gap: 10px; }
.bl-rank-logo {
  width: 54px; height: 54px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.bl-rank-logo-fallback {
  width: 54px; height: 54px;
  border-radius: 8px;
  background: var(--bl-blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900;
  color: var(--bl-blue);
  flex-shrink: 0;
}
.bl-rank-name { font-size: 14px; font-weight: 800; color: var(--bl-ink); margin: 0 0 4px; line-height: 1.3; }
.bl-rank-rating { display: flex; align-items: center; gap: 5px; }

.bl-rank-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-top: 1px solid var(--bl-line);
  padding-top: 12px;
}
.bl-rank-stat {
  text-align: center;
  padding: 6px 4px;
  background: var(--bl-blue-lt);
  border-radius: 6px;
}
.bl-rank-stat-lbl { font-size: 10px; color: var(--bl-ink-3); display: block; margin-bottom: 2px; }
.bl-rank-stat-val { font-size: 13px; font-weight: 800; color: var(--bl-ink); }

.bl-rank-copy {
  font-size: 12px;
  color: var(--bl-ink-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.bl-rank-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--bl-orange);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s;
  margin-top: auto;
}
.bl-rank-btn:hover { background: #e07900; color: #fff; }

/* ── レイアウト（サイドバー＋メイン） ── */
.bl-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* ── サイドバー フィルター ── */
.bl-filter {
  background: #fff;
  border: 1px solid var(--bl-line);
  border-radius: var(--bl-r);
  box-shadow: var(--bl-sh-md);
  padding: 20px;
  position: sticky;
  top: 76px;
}
.bl-filter-hd {
  font-size: 14px;
  font-weight: 800;
  color: var(--bl-ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bl-line);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bl-filter-section { margin-bottom: 18px; }
.bl-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--bl-ink-2);
  margin-bottom: 8px;
  display: block;
}
.bl-grade-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.bl-grade-pill { cursor: pointer; user-select: none; }
.bl-grade-pill input { display: none; }
.bl-grade-pill span {
  display: inline-block;
  padding: 4px 12px;
  border: 1.5px solid var(--bl-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bl-ink-2);
  background: #fff;
  transition: all .15s;
}
.bl-grade-pill input:checked + span {
  background: var(--bl-blue);
  border-color: var(--bl-blue);
  color: #fff;
}
.bl-grade-pill:hover span { border-color: var(--bl-blue); }

.bl-checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.bl-checkbox-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--bl-ink-2);
  cursor: pointer;
}
.bl-checkbox-item input { accent-color: var(--bl-blue); width: 15px; height: 15px; cursor: pointer; }

.bl-filter-btn {
  display: block;
  width: 100%;
  padding: 11px;
  background: var(--bl-orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background .15s;
  margin-top: 4px;
}
.bl-filter-btn:hover { background: #e07900; }

/* ── ツールバー ── */
.bl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.bl-toolbar-count { font-size: 14px; font-weight: 600; color: var(--bl-ink-2); }
.bl-toolbar-count span { color: var(--bl-blue); font-size: 18px; font-weight: 800; }
.bl-sort-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.bl-sort-tab {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--bl-ink-3);
  border: 1.5px solid var(--bl-line);
  border-radius: 999px;
  text-decoration: none;
  transition: all .15s;
  background: #fff;
}
.bl-sort-tab:hover { border-color: var(--bl-blue); color: var(--bl-blue); }
.bl-sort-tab--active { background: var(--bl-blue); border-color: var(--bl-blue); color: #fff !important; }

/* ── カードグリッド ── */
.bl-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.bl-card {
  background: #fff;
  border: 1.5px solid var(--bl-line);
  border-radius: var(--bl-r);
  box-shadow: var(--bl-sh-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.bl-card:hover { box-shadow: var(--bl-sh-lg); transform: translateY(-3px); }

/* リボン */
.bl-card-ribbon {
  position: absolute;
  top: 14px;
  left: 0;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  padding: 3px 10px 3px 8px;
  border-radius: 0 4px 4px 0;
  z-index: 1;
  line-height: 1.4;
}
.bl-card-ribbon::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0; height: 0;
}
.bl-card-ribbon--1 { background: var(--bl-gold); }
.bl-card-ribbon--1::after { border-left: 5px solid #c49900; border-bottom: 5px solid transparent; }
.bl-card-ribbon--2 { background: var(--bl-silver); }
.bl-card-ribbon--2::after { border-left: 5px solid #6b7280; border-bottom: 5px solid transparent; }
.bl-card-ribbon--3 { background: var(--bl-bronze); }
.bl-card-ribbon--3::after { border-left: 5px solid #9a5d20; border-bottom: 5px solid transparent; }

.bl-card-inner { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bl-card-head { display: flex; gap: 12px; align-items: flex-start; }

.bl-card-logo {
  width: 58px; height: 58px;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.bl-card-logo-fallback {
  width: 58px; height: 58px;
  border-radius: 10px;
  background: var(--bl-blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900;
  color: var(--bl-blue);
  flex-shrink: 0;
}
.bl-card-meta { flex: 1; min-width: 0; }
.bl-card-name { font-size: 15px; font-weight: 800; color: var(--bl-ink); margin: 0 0 5px; line-height: 1.3; }
.bl-card-rating { display: flex; align-items: center; gap: 5px; font-size: 12px; margin-bottom: 7px; flex-wrap: wrap; }

.bl-card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.bl-card-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--bl-line);
  color: var(--bl-ink-2);
  background: var(--bl-blue-lt);
}
.bl-card-copy {
  font-size: 12px;
  color: var(--bl-ink-2);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.bl-card-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.bl-card-feature {
  background: var(--bl-blue-lt);
  border-radius: 6px;
  padding: 7px 9px;
}
.bl-card-feature-lbl { font-size: 10px; color: var(--bl-ink-3); margin-bottom: 2px; display: block; }
.bl-card-feature-val { font-size: 12px; font-weight: 700; color: var(--bl-ink); }

.bl-card-price {
  background: linear-gradient(135deg, var(--bl-orange-lt) 0%, #fff 100%);
  border: 1.5px dashed #ffcb8e;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.bl-card-price-lbl { font-size: 11px; color: var(--bl-ink-3); }
.bl-card-price-val { font-size: 19px; font-weight: 900; color: var(--bl-orange); }
.bl-card-price-note { font-size: 11px; color: var(--bl-ink-3); }

.bl-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
}
.bl-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all .15s;
}
.bl-card-btn--primary { background: var(--bl-orange); color: #fff; }
.bl-card-btn--primary:hover { background: #e07900; color: #fff; }
.bl-card-btn--outline { background: #fff; color: var(--bl-blue); border: 1.5px solid var(--bl-blue); }
.bl-card-btn--outline:hover { background: var(--bl-blue); color: #fff; }

/* ── ページネーション ── */
.bl-pagy { display: flex; justify-content: center; margin-top: 32px; }
.bl-pagy .pagy-nav,
.bl-pagy nav[aria-label] {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
}
.bl-pagy .page a,
.bl-pagy .page.gap,
.bl-pagy .page.active {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--bl-line);
  color: var(--bl-ink-2);
  background: #fff;
  transition: all .15s;
}
.bl-pagy .page.active { background: var(--bl-blue); border-color: var(--bl-blue); color: #fff; }
.bl-pagy .page a:hover { border-color: var(--bl-blue); color: var(--bl-blue); }
.bl-pagy .page.gap { border: none; background: none; color: var(--bl-ink-3); }

/* ── 星評価 ── */
.bl-stars {
  position: relative;
  display: inline-block;
  color: #d1d5db;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.bl-stars::before {
  content: '★★★★★';
  position: absolute;
  left: 0; top: 0;
  color: var(--bl-gold);
  overflow: hidden;
  width: var(--pct, 0%);
  white-space: nowrap;
}
.bl-score-val { font-size: 12px; font-weight: 700; color: var(--bl-ink); }
.bl-review-ct { font-size: 11px; color: var(--bl-silver); }
.bl-no-score  { font-size: 11px; color: var(--bl-silver); }

/* ── SP フィルターボタン ── */
.bl-sp-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #fff;
  border: 1.5px solid var(--bl-blue);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bl-blue);
  cursor: pointer;
  margin-bottom: 10px;
  grid-column: 1 / -1;
}

/* ── 横長カード ── */
.bl-hcards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bl-hcard {
  background: #fff;
  border: 1.5px solid var(--bl-line);
  border-radius: var(--bl-r);
  box-shadow: var(--bl-sh-md);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: box-shadow .2s, transform .2s;
}
.bl-hcard:hover { box-shadow: var(--bl-sh-lg); transform: translateY(-2px); }
.bl-hcard-left {
  flex: 65;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.bl-hcard-right {
  flex: 35;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--bl-line);
  overflow: hidden;
}
.bl-hcard-banner-link {
  display: block;
  flex: 1;
  overflow: hidden;
}
.bl-hcard-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bl-hcard-banner-text {
  font-size: 11px;
  color: var(--bl-ink-2);
  text-align: center;
  padding: 8px 10px;
  background: var(--bl-orange-lt);
  border-top: 1px solid #ffcb8e;
  margin: 0;
  line-height: 1.5;
}

/* ── レスポンシブ ── */
@media (max-width: 767px) {
  .bl-hero { padding: 32px 16px 28px; }
  .bl-hero-deco { width: 120px; height: 120px; top: -30px; right: -30px; }
  .bl-container { padding: 0 14px 48px; }
  .bl-ranking { padding: 18px 14px; }
  .bl-ranking-grid { grid-template-columns: 1fr; }
  .bl-layout { grid-template-columns: 1fr; }
  .bl-sp-filter-btn { display: flex; }
  .bl-filter { display: none; }
  .bl-filter.is-open { display: block; }
  .bl-cards-grid { grid-template-columns: 1fr; }
  .bl-toolbar { flex-direction: column; align-items: flex-start; }
  .bl-card-actions { grid-template-columns: 1fr 1fr; }
  .bl-hcard { flex-direction: column; }
  .bl-hcard-right { border-left: none; border-top: 1px solid var(--bl-line); min-height: 140px; }
}

/* ═══════════════════════════════════════════════════════
   コラム記事ページ .ca-*
   ═══════════════════════════════════════════════════════ */
.ca-page {
  --ca-primary: #2d92c4;
  --ca-accent:  #ff7314;
  --ca-text:    #1a2e4a;
  --ca-muted:   #5a7a8a;
  --ca-bg:      #f4f9fc;
  --ca-card:    #ffffff;
  --ca-line:    #d0e8f2;
  --ca-r:       16px;
  --ca-sh:      0 4px 12px rgba(28,82,116,.08);
  --ca-sh-lg:   0 8px 24px rgba(28,82,116,.12);
  background: var(--ca-bg);
  padding-bottom: 72px;
}
.ca-page *, .ca-page *::before, .ca-page *::after { box-sizing: border-box; }

/* ── コンテナ ── */
.ca-container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── パンくず ── */
.ca-breadcrumb {
  padding: 14px 0 0;
  font-size: 12px;
  color: var(--ca-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.ca-breadcrumb a { color: var(--ca-muted); text-decoration: none; }
.ca-breadcrumb a:hover { color: var(--ca-primary); }
.ca-breadcrumb span { color: var(--ca-muted); }

/* ── 2カラムレイアウト ── */
.ca-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}

/* ── メインカラム ── */
.ca-main { display: flex; flex-direction: column; gap: 20px; }

/* ── 記事ヘッダーカード ── */
.ca-header-card {
  background: var(--ca-card);
  border-radius: var(--ca-r);
  box-shadow: var(--ca-sh);
  padding: 28px;
}
.ca-tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.ca-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.ca-tag--cat  { background: #dbeafe; color: #1d4ed8; }
.ca-tag--year { background: #fff3e0; color: #d97706; }

.ca-title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 900;
  color: var(--ca-text);
  line-height: 1.45;
  margin: 0 0 16px;
}
.ca-meta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ca-line);
}
.ca-meta-item { font-size: 12px; color: var(--ca-muted); }

.ca-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ca-author-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ca-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ca-author-name { font-size: 13px; font-weight: 700; color: var(--ca-text); }
.ca-author-role { font-size: 11px; color: var(--ca-muted); margin-top: 2px; }

/* ── アイキャッチ画像 ── */
.ca-eyecatch {
  position: relative;
  border-radius: var(--ca-r);
  overflow: hidden;
  box-shadow: var(--ca-sh);
}
.ca-eyecatch-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.ca-eyecatch-credit {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 10px;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.3);
  padding: 2px 7px;
  border-radius: 4px;
  pointer-events: none;
}

/* ── 記事本文 ── */
.ca-body {
  background: var(--ca-card);
  border-radius: var(--ca-r);
  box-shadow: var(--ca-sh);
  padding: 32px 30px;
}
.ca-body-inner {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ca-text);
}

/* column-body 見出しスタイル（既存クラス拡張） */
.ca-body-inner h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ca-text);
  border-left: 4px solid var(--ca-primary);
  padding: 6px 0 6px 14px;
  margin: 2.4rem 0 1rem;
  background: linear-gradient(to right, rgba(45,146,196,.05) 0%, transparent 70%);
  border-radius: 0 6px 6px 0;
}
.ca-body-inner h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ca-text);
  padding-bottom: 4px;
  border-bottom: 2px solid #d0e8f2;
  margin: 2rem 0 0.8rem;
}
.ca-body-inner p { margin-bottom: 1.1rem; }
.ca-body-inner ul, .ca-body-inner ol {
  margin: 0.5rem 0 1.1rem 1.5rem;
  line-height: 1.85;
}
.ca-body-inner blockquote {
  border-left: 4px solid var(--ca-line);
  padding: 10px 16px;
  color: #6b7a8d;
  font-style: italic;
  margin: 1rem 0;
  background: #f8fbfd;
  border-radius: 0 8px 8px 0;
}
.ca-body-inner table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.ca-body-inner table th,
.ca-body-inner table td {
  border: 1px solid var(--ca-line);
  padding: 7px 10px;
  text-align: left;
}
.ca-body-inner table th { background: #eef7fc; font-weight: 700; }
.ca-body-inner a { color: var(--ca-primary); text-decoration: underline; }

/* ── SP サイドバー（記事下、PC非表示） ── */
.ca-sp-sidebar { display: none; }

/* ── サイドバー（右・sticky） ── */
.ca-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 80px;
}
.ca-sidebar-card {
  background: var(--ca-card);
  border-radius: var(--ca-r);
  box-shadow: var(--ca-sh);
  padding: 20px;
}
.ca-sidebar-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ca-text);
  border-left: 3px solid var(--ca-primary);
  padding-left: 10px;
  margin: 0 0 14px;
}

/* 人気記事ランキング */
.ca-ranking-list { display: flex; flex-direction: column; gap: 2px; }
.ca-ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 8px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s;
  color: var(--ca-text);
}
.ca-ranking-item:hover { background: var(--ca-bg); }
.ca-ranking-item--current { background: #eef7fc; }
.ca-ranking-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  background: #9ca3af;
}
.ca-ranking-num--1 { background: #F5B400; }
.ca-ranking-num--2 { background: #9ca3af; }
.ca-ranking-num--3 { background: #cd7f32; }
.ca-ranking-text {
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTAバナー */
.ca-cta-card {
  background: linear-gradient(135deg, #ff7314 0%, #ff9500 100%);
  border-radius: var(--ca-r);
  padding: 22px 20px;
  box-shadow: var(--ca-sh-lg);
}
.ca-cta-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.4;
}
.ca-cta-sub {
  font-size: 12px;
  color: rgba(255,255,255,.88);
  margin: 0 0 16px;
  line-height: 1.5;
}
.ca-cta-btn {
  display: block;
  width: 100%;
  padding: 12px 10px;
  background: #fff;
  color: #ff7314;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background .15s;
}
.ca-cta-btn:hover { background: #fff8f4; }

/* カテゴリピル */
.ca-cat-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ca-cat-pill {
  display: inline-block;
  padding: 4px 12px;
  border: 1.5px solid var(--ca-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ca-muted);
  background: #fff;
  text-decoration: none;
  transition: all .15s;
}
.ca-cat-pill:hover { border-color: var(--ca-primary); color: var(--ca-primary); }
.ca-cat-pill--active {
  background: var(--ca-primary);
  border-color: var(--ca-primary);
  color: #fff;
}

/* ── 目次 ── */
.ca-toc-wrap {
  background: #fff;
  border: 1.5px solid var(--ca-line);
  border-left: 4px solid var(--ca-primary);
  border-radius: var(--ca-r);
  box-shadow: var(--ca-sh);
  margin: 20px 0;
  overflow: hidden;
}
.ca-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fbfd;
  border-bottom: 1px solid var(--ca-line);
}
.ca-toc-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--ca-text);
}
.ca-toc-toggle {
  font-size: 12px;
  color: var(--ca-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 6px;
}
.ca-toc-toggle:hover { text-decoration: underline; }
.ca-toc-body {
  padding: 14px 18px;
}
.ca-toc-body.is-collapsed { display: none; }
.ca-toc-item {
  display: block;
  font-size: 13px;
  color: var(--ca-text);
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}
.ca-toc-item:hover { color: var(--ca-primary); }
.ca-toc-item--h2 { font-weight: 600; }
.ca-toc-item--h3 { padding-left: 16px; color: var(--ca-muted); }
.ca-toc-item--h4 { padding-left: 32px; color: var(--ca-muted); font-size: 12px; }

/* ── 関連記事 ── */
.ca-related {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--ca-line);
}
.ca-related-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ca-text);
  border-left: 4px solid var(--ca-primary);
  padding-left: 10px;
  margin-bottom: 16px;
}
.ca-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.ca-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid var(--ca-line);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .18s, transform .18s;
}
.ca-related-card:hover { box-shadow: var(--ca-sh-lg); transform: translateY(-2px); }
.ca-related-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e5eef5;
  flex-shrink: 0;
}
.ca-related-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ca-related-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}
.ca-related-body { padding: 10px 12px; }
.ca-related-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: var(--ca-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.ca-related-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--ca-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 6px;
}
.ca-related-date {
  font-size: 11px;
  color: var(--ca-muted);
}

/* ── レスポンシブ ── */
@media (max-width: 1023px) {
  .ca-layout {
    grid-template-columns: 1fr;
  }
  .ca-sidebar {
    display: none;  /* PC サイドバーを非表示 */
  }
  .ca-sp-sidebar { display: block; }
  .ca-body { padding: 22px 18px; }
  .ca-header-card { padding: 20px; }
}
@media (max-width: 767px) {
  .ca-container { padding: 0 14px; }
  .ca-meta-row { gap: 8px; }
  .ca-title { font-size: 19px; }
  .ca-related-grid { grid-template-columns: 1fr; }
}

/* ========================================
   Column Index (cl-) — コラム一覧ページ
   ======================================== */
:root {
  --cl-primary: #2d92c4;
  --cl-accent:  #ff7314;
  --cl-bg:      #f4f9fc;
  --cl-border:  #e1e8ee;
  --cl-radius:  12px;
  --cl-ink:     #1a2f45;
  --cl-muted:   #6b7c8d;
}

.cl-page {
  background: var(--cl-bg);
  min-height: 100vh;
  padding: 24px 0 56px;
}
.cl-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* パンくず */
.cl-breadcrumb {
  font-size: 13px;
  color: var(--cl-muted);
  margin-bottom: 14px;
}
.cl-breadcrumb a {
  color: var(--cl-muted);
  text-decoration: none;
}
.cl-breadcrumb a:hover { color: var(--cl-primary); }

/* ページタイトル */
.cl-h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--cl-ink);
  margin-bottom: 18px;
}

/* カテゴリフィルタータブ */
.cl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.cl-tab {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--cl-border);
  color: #4a6478;
  background: #fff;
  text-decoration: none;
  transition: all 0.15s;
}
.cl-tab:hover { border-color: var(--cl-primary); color: var(--cl-primary); }
.cl-tab--active {
  background: var(--cl-primary);
  border-color: var(--cl-primary);
  color: #fff;
}

/* 2カラムレイアウト */
.cl-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: start;
}
.cl-main { min-width: 0; }
.cl-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 記事グリッド */
.cl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* 記事カード */
.cl-card {
  background: #fff;
  border-radius: var(--cl-radius);
  border: 1px solid var(--cl-border);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  color: inherit;
}
.cl-card:hover {
  box-shadow: 0 6px 20px rgba(45, 146, 196, 0.16);
  transform: translateY(-2px);
}

/* サムネイル */
.cl-card-thumb {
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--cl-radius) var(--cl-radius) 0 0;
}
.cl-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cl-card-thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

/* カード本文 */
.cl-card-body {
  padding: 12px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cl-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  background: #dff0f9;
  color: var(--cl-primary);
  align-self: flex-start;
}
.cl-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--cl-ink);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.cl-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  color: #8a9bac;
  margin-top: auto;
}

/* ページネーション */
.cl-pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

/* ── サイドバー ── */

/* CTAバナー */
.cl-sb-cta {
  background: var(--cl-accent);
  border-radius: var(--cl-radius);
  padding: 20px 18px;
  color: #fff;
  text-align: center;
}
.cl-sb-cta-headline {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 8px;
}
.cl-sb-cta-sub {
  font-size: 11px;
  opacity: 0.92;
  line-height: 1.7;
  margin-bottom: 14px;
}
.cl-sb-cta-btn {
  display: block;
  background: #fff;
  color: var(--cl-accent);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.cl-sb-cta-btn:hover { opacity: 0.85; }

/* サイドバーセクション共通 */
.cl-sb-section {
  background: #fff;
  border-radius: var(--cl-radius);
  border: 1px solid var(--cl-border);
  padding: 18px;
}
.cl-sb-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--cl-ink);
  border-left: 3px solid var(--cl-primary);
  padding-left: 10px;
  margin-bottom: 14px;
}

/* 人気記事ランキング */
.cl-sb-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cl-sb-rank-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
}
.cl-sb-rank-item:hover .cl-sb-rank-title { color: var(--cl-primary); }
.cl-sb-rank-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.cl-sb-rank-badge--1 { background: #f5c842; color: #6b4c00; }
.cl-sb-rank-badge--2 { background: #c0c8cf; color: #3a4a57; }
.cl-sb-rank-badge--3 { background: #d4956a; color: #5a2d0c; }
.cl-sb-rank-badge--n { background: #e8eef3; color: #5a7080; }
.cl-sb-rank-title {
  font-size: 12px;
  color: var(--cl-ink);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

/* カテゴリタグ */
.cl-sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cl-sb-tag {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--cl-border);
  color: #4a6478;
  text-decoration: none;
  transition: all 0.15s;
}
.cl-sb-tag:hover {
  border-color: var(--cl-primary);
  color: var(--cl-primary);
  background: #f0f8fd;
}

/* レスポンシブ */
@media (max-width: 1023px) {
  .cl-layout {
    grid-template-columns: 1fr;
  }
  .cl-sidebar {
    position: static;
  }
}
@media (max-width: 767px) {
  .cl-container { padding: 0 14px; }
  .cl-grid { grid-template-columns: 1fr; }
  .cl-h1 { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════
   コラム記事 記事ヘッダー・サムネイル・目次 一体ラッパー
   ═══════════════════════════════════════════════════════ */
.ca-intro-wrap {
  background: var(--ca-card);
  border-radius: var(--ca-r);
  box-shadow: var(--ca-sh);
  overflow: hidden;
}
.ca-intro-wrap .ca-header-card {
  box-shadow: none;
  border-radius: 0;
  border-bottom: 1px solid var(--ca-line);
  padding-bottom: 20px;
}
.ca-intro-eyecatch {
  margin: 0 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  margin-top: 16px;
}
.ca-intro-toc {
  margin: 12px 24px 24px;
  border-left: 3px solid var(--ca-primary);
  border-radius: 8px;
  background: #f8fbfd;
  box-shadow: none;
}
.ca-intro-toc .ca-toc-header {
  background: transparent;
  border-bottom: 1px solid var(--ca-line);
}
.ca-intro-toc .ca-toc-label {
  font-size: 15px;
  font-weight: 800;
}
@media (max-width: 767px) {
  .ca-intro-eyecatch { margin: 0 14px; margin-top: 14px; }
  .ca-intro-toc { margin: 10px 14px 18px; }
}

/* ═══════════════════════════════════════════════════════
   TOPページ 口コミから探すセクション .review-search-*
   ═══════════════════════════════════════════════════════ */
.review-search-section {
  background: linear-gradient(180deg, #eef8ff 0%, #ffffff 100%);
  padding: 36px 20px;
  border-top: 4px solid #1e88e5;
}
.review-search-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.review-heading {
  text-align: center;
  margin-bottom: 20px;
}
.review-heading-badge {
  display: inline-block;
  padding: 7px 18px;
  margin-bottom: 14px;
  color: #1683e8;
  font-weight: 700;
  background: #fff;
  border: 1px solid #acd8ff;
  border-radius: 999px;
}
.review-heading h2 {
  margin: 0 0 12px;
  color: #07385f;
  font-size: 32px;
  font-weight: 800;
}
.review-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  background: #1e88e5;
  border-radius: 999px;
}
.review-heading p {
  margin: 0;
  color: #4b6478;
  font-size: 15px;
}
.review-card-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review-card {
  position: relative;
  background: #fff;
  border: 1px solid #c7e4fa;
  border-radius: 14px;
  padding: 16px 18px 16px;
  box-shadow: 0 8px 22px rgba(30, 136, 229, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.25s ease;
}
.review-card::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 4px;
  height: 42px;
  background: #ff9f1c;
  border-radius: 0 4px 4px 0;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 136, 229, 0.18);
}
.review-card-brand {
  display: block;
  margin: 0 0 2px;
  color: #0074d9;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.3;
}
.review-card-brand:hover { color: #ff9f1c; }
.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.review-tags span {
  display: inline-block;
  padding: 4px 10px;
  color: #0074d9;
  font-size: 12px;
  font-weight: 700;
  background: #eaf6ff;
  border: 1px solid #b8dcff;
  border-radius: 999px;
}
.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-rating .stars {
  color: #ffb800;
  letter-spacing: 1px;
  font-size: 17px;
}
.review-rating strong {
  color: #07385f;
  font-size: 18px;
}
.review-rating .count {
  color: #71879a;
  font-size: 13px;
}
.review-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #07385f;
  line-height: 1.4;
}
.review-text {
  min-height: auto;
  margin: 0;
  color: #28465c;
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
}
.review-link {
  display: block;
  padding: 10px;
  color: #0074d9;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background: #f1f8ff;
  border-radius: 8px;
  font-size: 13px;
  transition: 0.2s ease;
  margin-top: auto;
}
.review-link:hover { background: #0074d9; color: #fff; }
.review-more {
  text-align: center;
  margin-top: 26px;
}
.review-more a {
  display: inline-block;
  padding: 12px 34px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: #ff9f1c;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(255, 159, 28, 0.25);
}
.review-more a:hover { background: #e08a00; }
@media screen and (max-width: 768px) {
  .review-search-section { padding: 26px 14px; }
  .review-heading h2 { font-size: 25px; }
  .review-card-wrap { grid-template-columns: 1fr; }
  .review-card { padding: 14px 14px 14px; }
  .review-text { min-height: auto; }
}

/* ═══════════════════════════════════════════════════════
   TOPページ おすすめ家庭教師セクション .recommend-*
   ═══════════════════════════════════════════════════════ */
.recommend-tutor-section {
  background: linear-gradient(180deg, #f3faff 0%, #ffffff 100%);
  padding: 56px 20px 48px;
}
.recommend-tutor-inner { max-width: 1160px; margin: 0 auto; }
.recommend-head {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 20px; margin-bottom: 28px;
}
.recommend-head h2 { margin: 0 0 10px; color: #07385f; font-size: 30px; font-weight: 800; }
.recommend-head h2 span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-right: 10px;
  color: #fff; font-size: 20px; background: #1e88e5; border-radius: 50%;
}
.recommend-head p { margin: 0; color: #405a70; font-size: 15px; }
.recommend-all-link { color: #0074d9; font-weight: 700; text-decoration: none; white-space: nowrap; }
.recommend-card-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.recommend-card {
  background: #fff; border: 1px solid #cfe7fb; border-radius: 14px;
  padding: 22px; box-shadow: 0 8px 22px rgba(30,136,229,0.12);
}
.recommend-card-top {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  align-items: center; padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid #dbeefa;
}
.recommend-logo {
  width: 96px; height: 96px; display: flex; align-items: center;
  justify-content: center; background: #fff;
  border: 1px solid #e3edf5; border-radius: 10px;
}
.recommend-logo img { max-width: 78px; max-height: 58px; }
.recommend-card h3 { margin: 0 0 8px; color: #07385f; font-size: 20px; font-weight: 800; }
.recommend-card-top p { margin: 0; color: #28465c; font-size: 14px; line-height: 1.7; }
.recommend-rating { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.recommend-rating .stars { color: #ffb800; font-size: 20px; letter-spacing: 1px; }
.recommend-rating strong { color: #07385f; font-size: 24px; }
.recommend-rating span:last-child { color: #5f7284; font-size: 14px; }
.recommend-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.recommend-tags span {
  padding: 5px 13px; color: #0074d9; font-size: 13px; font-weight: 700;
  background: #eaf6ff; border-radius: 999px;
}
.recommend-points { padding: 16px 18px; margin-bottom: 18px; background: #f0f8ff; border-radius: 12px; }
.recommend-points dl { margin: 0; padding: 13px 0; border-bottom: 1px solid #d9eaf8; }
.recommend-points dl:first-child { padding-top: 0; }
.recommend-points dl:last-child { padding-bottom: 0; border-bottom: none; }
.recommend-points dt { color: #0074d9; font-size: 15px; font-weight: 800; }
.recommend-points dd { margin: 5px 0 0; color: #405a70; font-size: 13px; line-height: 1.6; }
.recommend-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.recommend-btns a {
  display: block; padding: 14px 10px; font-weight: 800;
  text-align: center; text-decoration: none; border-radius: 8px;
}
.btn-detail { color: #0074d9; background: #eef7ff; }
.btn-official { color: #fff; background: #1683e8; }
.recommend-note { margin: 24px 0 0; color: #6b7f90; font-size: 13px; text-align: center; }
@media screen and (max-width: 900px) {
  .recommend-card-list { grid-template-columns: 1fr; }
  .recommend-head { display: block; }
  .recommend-all-link { display: inline-block; margin-top: 14px; }
}
@media screen and (max-width: 480px) {
  .recommend-tutor-section { padding: 40px 14px; }
  .recommend-head h2 { font-size: 24px; }
  .recommend-card { padding: 18px; }
  .recommend-card-top { grid-template-columns: 76px 1fr; gap: 12px; }
  .recommend-logo { width: 76px; height: 76px; }
  .recommend-logo img { max-width: 62px; max-height: 46px; }
  .recommend-btns { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   TOPページ 最新コラムセクション .latest-column-*
   ═══════════════════════════════════════════════════════ */
.latest-column-section {
  background: linear-gradient(180deg, #f3faff 0%, #ffffff 100%);
  padding: 56px 20px;
}
.latest-column-inner { max-width: 1160px; margin: 0 auto; }
.latest-column-head {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 20px; margin-bottom: 34px;
}
.latest-column-head h2 { margin: 0 0 12px; color: #07385f; font-size: 32px; font-weight: 800; }
.latest-column-head h2 span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: 12px;
  color: #fff; font-size: 22px; background: #1e88e5; border-radius: 50%;
}
.latest-column-head p { margin: 0; color: #405a70; font-size: 15px; }
.column-all-link { color: #0074d9; font-weight: 700; text-decoration: none; white-space: nowrap; }
.column-card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.column-card {
  overflow: hidden; background: #fff; border: 1px solid #cfe7fb;
  border-radius: 16px; box-shadow: 0 8px 22px rgba(30,136,229,0.12);
  transition: 0.25s ease;
}
.column-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(30,136,229,0.18); }
.column-thumb { display: block; width: 100%; aspect-ratio: 16/8.2; overflow: hidden; background: #eef7ff; }
.column-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s ease; }
.column-card:hover .column-thumb img { transform: scale(1.03); }
.column-body { padding: 26px 28px 24px; }
.column-category {
  display: inline-block; padding: 7px 15px; margin-bottom: 18px;
  color: #e85c5c; font-size: 13px; font-weight: 800;
  background: #ffecec; border-radius: 999px;
}
.column-category.yellow { color: #d69400; background: #fff3cf; }
.column-body h3 { margin: 0 0 16px; font-size: 22px; font-weight: 800; line-height: 1.55; }
.column-body h3 a { color: #07385f; text-decoration: none; }
.column-body h3 a:hover { color: #0074d9; }
.column-body p { margin: 0 0 24px; color: #405a70; font-size: 15px; line-height: 1.8; }
.column-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.column-foot time { color: #61778b; font-size: 14px; }
.column-read-link { color: #0074d9; font-weight: 800; text-decoration: none; white-space: nowrap; }
@media screen and (max-width: 768px) {
  .latest-column-section { padding: 40px 14px; }
  .latest-column-head { display: block; margin-bottom: 24px; }
  .latest-column-head h2 { font-size: 25px; }
  .column-all-link { display: inline-block; margin-top: 14px; }
  .column-card-list { grid-template-columns: 1fr; gap: 20px; }
  .column-body { padding: 22px 18px; }
  .column-body h3 { font-size: 18px; }
  .column-foot { align-items: flex-start; flex-direction: column; }
}

/* ═══════════════════════════════════════════════════════
   recommend-card: flex column でボタンを常にカード下部に固定
   ═══════════════════════════════════════════════════════ */
.recommend-card {
  display: flex;
  flex-direction: column;
}
.recommend-btns {
  margin-top: auto;
}

/* ═══════════════════════════════════════════════════════
   SP エリア一覧 表示切替
   ═══════════════════════════════════════════════════════ */
.area-sp-only { display: none; }
.area-pc-only { display: grid !important; }
@media screen and (max-width: 639px) {
  .area-sp-only {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .area-pc-only { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   最新コラム 3列カード（シンプル版）
   ═══════════════════════════════════════════════════════ */
.column-card-list--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.column-card--simple {
  display: flex;
  flex-direction: column;
}
.column-thumb--sq {
  aspect-ratio: 16 / 9;
}
.column-body--simple {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.column-title-clamp {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
  flex: 1;
}
.column-title-clamp a { color: #07385f; text-decoration: none; }
.column-title-clamp a:hover { color: #0074d9; }
.column-read-link--bottom {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: #0074d9;
  text-decoration: none;
}
.column-more-wrap {
  text-align: center;
  margin-top: 28px;
}
.column-more-btn {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid #1e88e5;
  border-radius: 999px;
  color: #1e88e5;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.column-more-btn:hover {
  background: #1e88e5;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .column-card-list--3 { grid-template-columns: 1fr; }
}
