/* area.php — エリアページ（area.php）共用。ヘッダー・ラッパー */
:root {
  --tsu-primary: #00aea2;
  --tsu-primary-dark: #008f85;
  --tsu-cta: #f4a800;
  --tsu-cta-dark: #d4920a;
  --tsu-text: #1a1a1a;
  --tsu-muted: #666;
  --tsu-line: #e8e8e8;
}
/* エリア・全国ランキングの共通ラッパー */
.tsu-front.tsu-area-page,
.tsu-front.tsu-school-archive-page {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  line-height: 1.7;
  min-width: 0;
  max-width: 100%;
}
.tsu-front.tsu-area-page a,
.tsu-front.tsu-school-archive-page a {
  color: inherit;
  text-decoration: none;
}
.tsu-front .tsu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.tsu-front .site-header {
  width: 100%;
  background: #fff;
  border-bottom: 2px solid var(--tsu-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}
.tsu-front .site-header-top {
  display: flex;
  align-items: center;
  height: 56px;
  gap: 16px;
}
.tsu-front .site-logo {
  font-size: 16px;
  font-weight: 700;
  color: var(--tsu-primary);
  white-space: nowrap;
  flex: 1;
}
.tsu-front .site-logo small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #888;
}
.tsu-front .site-logo--img {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  line-height: 0;
}
.tsu-front .site-logo--img img {
  max-height: 44px;
  width: auto;
  height: auto;
  display: block;
}
.tsu-front .header-search {
  max-width: 360px;
  width: 100%;
  position: relative;
  flex: 0 1 360px;
}
.tsu-front .header-search input {
  width: 100%;
  padding: 8px 36px 8px 14px;
  border: 1px solid #ddd;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  border-radius: 0;
}
.tsu-front .header-search input:focus {
  border-color: var(--tsu-primary);
}
.tsu-front .header-search button {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  padding: 8px 10px;
}
.tsu-front .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--tsu-cta);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 2px solid rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  border-radius: 0;
}
.tsu-front .header-cta:hover {
  background: var(--tsu-cta-dark);
  color: #fff;
}

/* モック本体（flex子で min-width:auto により横に押し広げられないよう制限） */
#tsu-area-mock {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  min-width: 0;
  max-width: 100%;
}
#tsu-area-mock *, #tsu-area-mock *::before, #tsu-area-mock *::after { box-sizing: border-box; }
#tsu-area-mock a { color: inherit; text-decoration: none; }
#tsu-area-mock .inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

#tsu-area-mock .page-hero{
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 32px 0 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
#tsu-area-mock .page-hero-columns{ display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
#tsu-area-mock .page-hero-eyebrow{
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: #00AEA2; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
#tsu-area-mock .page-hero-eyebrow::after{ content: ''; flex: 0 0 32px; height: 2px; background: #00AEA2; }
#tsu-area-mock .page-hero-title{ font-size: 26px; font-weight: 800; color: #1a1a1a; line-height: 1.4; margin-bottom: 10px; }
#tsu-area-mock .page-hero-desc{ font-size: 13px; color: #666; line-height: 1.9; margin-bottom: 22px; }
#tsu-area-mock .page-hero-stats{
  display: inline-flex; align-items: stretch; gap: 0;
  border: 1px solid #e8e8e8; box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
#tsu-area-mock .hero-stat{ padding: 12px 20px; display: flex; flex-direction: column; align-items: center; gap: 2px; border-right: 1px solid #e8e8e8; }
#tsu-area-mock .hero-stat:last-child{ border-right: none; }
#tsu-area-mock .hero-stat-label{ font-size: 10px; font-weight: 700; color: #aaa; letter-spacing: 1px; }
#tsu-area-mock .hero-stat-value{ font-size: 22px; font-weight: 800; color: #1a1a1a; line-height: 1; }
#tsu-area-mock .hero-stat-value span{ font-size: 13px; font-weight: 600; color: #666; }
#tsu-area-mock .hero-stat-sub{ font-size: 10px; color: #bbb; }
/* 右：ギャラリー */
#tsu-area-mock .page-hero-right{ display: flex; flex-direction: column; }
#tsu-area-mock .page-hero-pr{ text-align: right; font-size: 10px; color: #00AEA2; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 6px; }
#tsu-area-mock .area-gallery{ display: flex; flex-direction: column; gap: 8px; }
#tsu-area-mock .area-gallery-main{ width: 100%; height: 200px; background: linear-gradient(135deg, #b2e4df 0%, #7ecec6 100%); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: #3aada5; box-shadow: 0 1px 4px rgba(0,0,0,0.12); position: relative; overflow: hidden; }
#tsu-area-mock .area-gallery-main i{ font-size: 36px; }
#tsu-area-mock .area-gallery-main span{ font-size: 12px; font-weight: 500; }
#tsu-area-mock .area-gallery-main--img{ background-size: cover; background-position: center; background-repeat: no-repeat; }
#tsu-area-mock .area-gallery-main-label{ position: absolute; bottom: 0; left: 0; right: 0; padding: 6px 8px; background: rgba(0,0,0,0.45); color: #fff; font-size: 11px; font-weight: 500; text-align: center; }
#tsu-area-mock .area-gallery-thumbs{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
#tsu-area-mock .area-gallery-thumb{ height: 72px; background: #e8f7f6; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; color: #aaa; font-size: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.10); cursor: pointer; transition: opacity 0.2s; position: relative; overflow: hidden; }
#tsu-area-mock .area-gallery-thumb:hover{ opacity: 0.8; }
#tsu-area-mock .area-gallery-thumb i{ font-size: 18px; color: #9ed4cf; }
#tsu-area-mock .area-gallery-thumb--img{ background-size: cover; background-position: center; background-repeat: no-repeat; }
#tsu-area-mock .area-gallery-thumb-label{ position: absolute; bottom: 0; left: 0; right: 0; padding: 3px 4px; background: rgba(0,0,0,0.5); color: #fff; font-size: 9px; text-align: center; line-height: 1.3; }

/* エリアタブ（コンテンツ幅＝1200+余白内だけ横スクロール） */
#tsu-area-mock .area-tabs-wrap{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
#tsu-area-mock .area-tabs-scroll{
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
#tsu-area-mock .area-tabs-scroll::-webkit-scrollbar{ width: 0; height: 0; background: transparent; }
#tsu-area-mock .area-tabs-scroll::-webkit-scrollbar-thumb{ background: transparent; }
/* テーマの flex 継承で潰れるのを防ぐ */
body.tsu-area-body #tsu-area-mock .area-tabs-scroll{
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
body.tsu-area-body #tsu-area-mock .area-tabs{
  flex-wrap: nowrap !important;
  width: max-content !important;
}
body.tsu-area-body #tsu-area-mock .area-tab{
  flex-shrink: 0 !important;
}
#tsu-area-mock .area-tabs{
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  width: max-content;
  max-width: none;
  box-sizing: border-box;
}
#tsu-area-mock .area-tab{
  display: inline-flex; align-items: center; gap: 4px;
  flex-shrink: 0;
  padding: 9px 14px; font-size: 12px; font-weight: 600;
  color: #666; white-space: nowrap; cursor: pointer;
  border-bottom: 2px solid transparent; transition: all 0.2s;
}
#tsu-area-mock .area-tab:hover{ color: #00AEA2; background: #fafffe; }
#tsu-area-mock .area-tab.is-active{ color: #00AEA2; border-bottom-color: #00AEA2; }
#tsu-area-mock .area-tab .count{ font-size: 10px; color: #bbb; font-weight: 400; }
#tsu-area-mock .area-tab.is-active .count{ color: #00AEA2; }

/* ==========================================
   LAYOUT
========================================== */
#tsu-area-mock .content-area{ padding: 28px 0 96px; }
#tsu-area-mock .content-columns{ display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
#tsu-area-mock .content-main{ min-width: 0; padding-bottom: 8px; }
/* グリッド子の min-width:auto だと中の横スクロール列が列幅いっぱいに広がり、オーバーフローが出ず動かない */
#tsu-area-mock .content-sidebar{
  position: sticky; top: 104px; display: flex; flex-direction: column; gap: 20px; padding-bottom: 12px;
  min-width: 0; max-width: 100%;
}
#tsu-area-mock .content-sidebar > .card{ min-width: 0; max-width: 100%; }
#tsu-area-mock .content-sidebar .card-body{ min-width: 0; }

/* ==========================================
   ランキング見出し（絞り込みの直上）
========================================== */
#tsu-area-mock .area-ranking-section-heading{
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.45;
  margin: 0 0 12px;
  padding: 0;
}
#tsu-area-mock .area-ranking-section-heading-num{
  font-weight: 800;
}

/* ==========================================
   フィルターバー
========================================== */
#tsu-area-mock .filter-bar{
  background: #e8f7f5;
  border: 1px solid #c5ebe4;
  box-shadow: 0 1px 3px rgba(0, 174, 162, 0.12);
  padding: 14px 18px;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
#tsu-area-mock .filter-label{ font-size: 12px; font-weight: 700; color: #888; white-space: nowrap; }
#tsu-area-mock .filter-divider{ width: 1px; height: 18px; background: #b8ddd6; }
#tsu-area-mock .filter-btn{
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; font-size: 12px; font-weight: 600;
  background: #fff; color: #555; border: 1px solid #c8e8e2; cursor: pointer;
  font-family: inherit; transition: all 0.15s;
}
#tsu-area-mock .filter-btn:disabled{ cursor: not-allowed; opacity: 0.5; }
#tsu-area-mock .filter-btn:hover{ border-color: #00AEA2; color: #00AEA2; background: #f0fbfa; }
#tsu-area-mock .filter-btn.is-active{ background: #00AEA2; color: #fff; border-color: #00AEA2; }
#tsu-area-mock .filter-reset{ font-size: 12px; color: #bbb; cursor: pointer; margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
#tsu-area-mock .filter-reset:hover{ color: #00AEA2; }

/* 並び替えバー */
#tsu-area-mock .sort-bar{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
#tsu-area-mock .sort-bar-buttons{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
#tsu-area-mock .pr-label{ font-size: 10px; font-weight: 700; color: #bbb; border: 1px solid #ddd; padding: 2px 6px; letter-spacing: 0.5px; }
/* PC: カウントを左に（HTML順を逆転） */
#tsu-area-mock .sort-bar-count{ font-size: 13px; color: #888; order: -1; }
#tsu-area-mock .sort-bar-count strong{ font-size: 15px; font-weight: 800; color: #1a1a1a; }
#tsu-area-mock .sort-options{ display: flex; gap: 4px; }
#tsu-area-mock .sort-opt{ padding: 5px 12px; font-size: 12px; font-weight: 600; color: #888; background: #fff; border: 1px solid #ddd; cursor: pointer; font-family: inherit; }
#tsu-area-mock .sort-opt.is-active{ color: #00AEA2; border-color: #00AEA2; background: #f0fbfa; }

/* ==========================================
   ランキングカード
========================================== */
#tsu-area-mock .ranking-card{
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.45);
  margin-bottom: 16px;
  overflow: hidden;
}
#tsu-area-mock .ranking-card.is-premium{ box-shadow: 0 2px 6px rgba(0,0,0,0.45), 0 0 0 2px #f4a800; }

/* 上段：①順位 ③画像 ②概要（画像は全校同一サイズ） */
#tsu-area-mock .rank-top-row{
  display: grid;
  grid-template-columns: 44px 260px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #f5f5f5;
}
#tsu-area-mock .rank-num-wrap{
  display: flex; flex-direction: column; align-items: center;
  width: 44px; flex-shrink: 0; padding-top: 4px;
}
#tsu-area-mock .rank-num{ font-size: 30px; font-weight: 800; line-height: 1; color: #ddd; }
#tsu-area-mock .rank-num.r1{ color: #D4AF37; }
#tsu-area-mock .rank-num.r2{ color: #9E9E9E; }
#tsu-area-mock .rank-num.r3{ color: #A0714A; }
#tsu-area-mock .rank-num-label{ font-size: 9px; font-weight: 700; color: #ccc; letter-spacing: 1px; margin-top: 1px; }
/* 上位掲載枠以外で2位以降 */
#tsu-area-mock .rank-num-wrap--standard-teal .rank-num,
#tsu-area-mock .rank-num-wrap--standard-teal .rank-num-label{
  color: #00AEA2;
}
/* PR枠で4位以降は r1〜r3 が付かず #ddd のままになり見えないため、順位と RANK を明示色に */
#tsu-area-mock .ranking-card.is-premium .rank-num:not(.r1):not(.r2):not(.r3){
  color: #00AEA2;
}
#tsu-area-mock .ranking-card.is-premium .rank-num-label{
  color: #00AEA2;
}
#tsu-area-mock .ranking-card.is-premium .rank-num-wrap--medal .rank-num-label{
  color: #ccc;
}

#tsu-area-mock .rank-info{ flex: 1; min-width: 0; }
#tsu-area-mock .rank-premium-badge{ display: inline-flex; align-items: center; gap: 4px; background: #f4a800; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; letter-spacing: 0.5px; margin-bottom: 6px; }
#tsu-area-mock .rank-name{ font-size: 18px; font-weight: 800; color: #1a1a1a; margin: 0 0 3px; line-height: 1.3; }
#tsu-area-mock .rank-name a{ color: #1a1a1a; }
#tsu-area-mock .rank-type{ font-size: 12px; color: #999; margin-bottom: 8px; }
#tsu-area-mock .rank-rating{ display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
#tsu-area-mock .rank-stars{ color: #fbbc04; font-size: 15px; letter-spacing: 1px; }
#tsu-area-mock .rank-score{ font-size: 17px; font-weight: 800; color: #222; }
#tsu-area-mock .rank-review-count{ font-size: 12px; color: #aaa; }
#tsu-area-mock .rank-tags{ display: flex; flex-wrap: wrap; gap: 5px; }
#tsu-area-mock .rank-tag{ display: inline-block; padding: 3px 9px; font-size: 11px; font-weight: 600; }
#tsu-area-mock .rank-tag--type{ background: #e8f7f6; color: #00756e; }
#tsu-area-mock .rank-tag--school{ background: #fff3e0; color: #b85c00; }
#tsu-area-mock .rank-tag--feat{ background: #f0f0f0; color: #555; }

/* 下段：④詳細 ⑤サイドCTA */
#tsu-area-mock .rank-bottom-row{
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 0;
}
#tsu-area-mock .rank-top-row .rank-image{
  width: 260px;
  height: 168px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #f5f5f5;
  padding: 0;
  box-sizing: border-box;
  background: #eef8f7;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}
#tsu-area-mock .rank-image-inner{
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #c8ece9, #9ed4cf);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  color: #5db8b1;
  font-size: 12px;
}
#tsu-area-mock .rank-image-inner a{
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
#tsu-area-mock .rank-top-row .rank-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
#tsu-area-mock .rank-image-inner i{ font-size: 32px; }
#tsu-area-mock .rank-detail{ padding: 16px 18px; border-right: 1px solid #f5f5f5; }
#tsu-area-mock .rank-intro{ font-size: 13px; color: #444; line-height: 1.85; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#tsu-area-mock .rank-schooling{ display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
#tsu-area-mock .rank-schooling-tag{ display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; background: #f5f5f5; color: #555; font-size: 11px; font-weight: 600; }
#tsu-area-mock .rank-review-snippet{
  background: #f9fafb; padding: 10px 14px;
  font-size: 12px; color: #555; line-height: 1.8;
  position: relative;
}
#tsu-area-mock .rank-review-snippet-q{
  font-size: 24px; color: #00AEA2; opacity: 0.35;
  position: absolute; top: 2px; left: 8px; line-height: 1; font-family: Georgia, serif;
}
#tsu-area-mock .rank-review-snippet-text{ padding-left: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

#tsu-area-mock .rank-aside{ padding: 16px 16px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
#tsu-area-mock .rank-tuition-label{ font-size: 10px; color: #aaa; font-weight: 700; margin-bottom: 1px; }
#tsu-area-mock .rank-tuition-amount{ font-size: 22px; font-weight: 800; color: #d63384; line-height: 1.1; }
#tsu-area-mock .rank-tuition-unit{ font-size: 12px; color: #888; }
#tsu-area-mock .rank-tuition-note{ font-size: 10px; color: #bbb; margin-top: 2px; }
#tsu-area-mock .rank-cta-btn{
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 10px; background: #f4a800; color: #fff;
  font-size: 13px; font-weight: 700; border-bottom: 3px solid rgba(0,0,0,0.15);
  font-family: inherit; cursor: pointer; transition: background 0.2s;
}
#tsu-area-mock .rank-cta-btn:hover{ background: #d4920a; }
#tsu-area-mock .rank-detail-btn{
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; background: #fff; color: #00AEA2;
  border: 1.5px solid #00AEA2; font-size: 12px; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: all 0.2s;
}
#tsu-area-mock .rank-detail-btn:hover{ background: #e8f7f6; }

/* ==========================================
   カード共通
========================================== */
#tsu-area-mock .card{ background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.28); margin-bottom: 16px; overflow: hidden; }
#tsu-area-mock .card-header{ display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid #f0f0f0; }
#tsu-area-mock .card-header h2{ font-size: 14px; font-weight: 700; color: #1a1a1a; }
#tsu-area-mock .card-header i{ color: #00AEA2; font-size: 14px; width: 16px; text-align: center; }
#tsu-area-mock .card-body{ padding: 18px 20px; }

/* フラットセクション（ボックスなし） */
#tsu-area-mock .flat-section{ padding: 36px 0 28px; }
#tsu-area-mock .flat-section-title{
  font-size: 16px; font-weight: 700; color: #1a1a1a;
  display: flex; align-items: center; gap: 8px;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00AEA2;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
}
#tsu-area-mock .flat-section-title::before,
#tsu-area-mock .flat-section-title::after{
  display: none !important;
  content: none !important;
}
#tsu-area-mock .flat-section-title i{ color: #00AEA2; font-size: 15px; }
#tsu-area-mock .flat-section-body{ font-size: 13px; color: #444; line-height: 1.9; }
#tsu-area-mock .flat-section-body p + p{ margin-top: 12px; }

/* FAQ */
#tsu-area-mock .faq-list{ display: flex; flex-direction: column; gap: 18px; }
#tsu-area-mock .faq-item{ background: #fff; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.28); }
#tsu-area-mock .faq-q{ padding: 16px 18px; font-size: 13px; font-weight: 700; color: #333; display: flex; align-items: flex-start; gap: 10px; }
#tsu-area-mock .faq-badge-q{ width: 20px; height: 20px; background: #00AEA2; color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
#tsu-area-mock .faq-a{ padding: 14px 18px 18px; font-size: 13px; color: #444; line-height: 1.85; display: flex; gap: 10px; border-top: 1px solid #eee; }
#tsu-area-mock .faq-badge-a{ width: 20px; height: 20px; background: #fff3e0; color: #f4a800; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }

/* ==========================================
   サイドバー
========================================== */
#tsu-area-mock .sb-cta{
  background: linear-gradient(160deg, #1a1a2e 0%, #0e3460 100%);
  padding: 22px 20px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.30);
}
#tsu-area-mock .sb-cta::before{ content: ''; position: absolute; top: -30%; right: -20%; width: 150px; height: 150px; background: radial-gradient(circle, rgba(0,174,162,0.22) 0%, transparent 70%); border-radius: 50%; }
#tsu-area-mock .sb-cta-inner{ position: relative; z-index: 1; }
#tsu-area-mock .sb-cta-label{ font-size: 10px; font-weight: 700; letter-spacing: 2px; opacity: 0.5; margin-bottom: 8px; }
#tsu-area-mock .sb-cta-title{ font-size: 16px; font-weight: 800; line-height: 1.5; margin-bottom: 6px; }
#tsu-area-mock .sb-cta-sub{ font-size: 11px; opacity: 0.65; margin-bottom: 16px; }
#tsu-area-mock .sb-cta-btn{ display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 16px; background: #f4a800; color: #fff; font-size: 14px; font-weight: 700; border-bottom: 3px solid rgba(0,0,0,0.15); margin-bottom: 8px; font-family: inherit; }
#tsu-area-mock .sb-cta-btn:hover{ background: #d4920a; }
#tsu-area-mock .sb-cta-note{ font-size: 10px; opacity: 0.4; }

/* 学費ランキング */
#tsu-area-mock .tuition-rank-list{ display: flex; flex-direction: column; gap: 6px; }
#tsu-area-mock .tuition-rank-item{ display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #f8f9fa; }
#tsu-area-mock .tuition-rank-num{ width: 22px; height: 22px; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#tsu-area-mock .tuition-rank-num.n1{ background: #FFF3E0; color: #E65100; }
#tsu-area-mock .tuition-rank-num.n2{ background: #F3E5F5; color: #7B1FA2; }
#tsu-area-mock .tuition-rank-num.n3{ background: #E8F5E9; color: #2E7D32; }
#tsu-area-mock .tuition-rank-num.nx{ background: #f0f0f0; color: #999; }
#tsu-area-mock .tuition-rank-school{ flex: 1; font-size: 12px; font-weight: 700; color: #333; min-width: 0; }
#tsu-area-mock .tuition-rank-school-link{
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}
#tsu-area-mock .tuition-rank-school-link:hover{
  color: #00aea2;
  text-decoration: underline;
}
#tsu-area-mock .tuition-rank-price{ font-size: 13px; font-weight: 800; color: #d63384; white-space: nowrap; }

/* エリアリンク（サイドバー：縦並び・横スクロールなし） */
#tsu-area-mock .area-link-scroll{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
}
#tsu-area-mock .area-link-scroll .area-link-grid{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
  min-width: 0;
}
#tsu-area-mock .area-link-scroll .area-link-item{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  background: #f8f9fa;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  transition: all 0.2s;
  white-space: normal;
  line-height: 1.4;
  word-break: break-word;
  text-align: left;
}
#tsu-area-mock .area-link-scroll .area-link-count{
  flex-shrink: 0;
  margin-top: 0;
  margin-left: auto;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  white-space: nowrap;
}
#tsu-area-mock .area-link-scroll .area-link-item:hover{ background: #e8f7f6; color: #00AEA2; }
#tsu-area-mock .area-link-scroll .area-link-item.is-current{ background: #00AEA2; color: #fff; }
#tsu-area-mock .area-link-scroll .area-link-item.is-current .area-link-count{ opacity: 0.95; color: inherit; }

/* CTA SECTION */
#tsu-area-mock .cta-section{ width: 100%; background: linear-gradient(135deg, #1a1a2e 0%, #0e3460 100%); padding: 56px 0 60px; margin-top: 0; position: relative; overflow: hidden; }
#tsu-area-mock .cta-section::before{ content: ''; position: absolute; top: -30%; right: 5%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,174,162,0.18) 0%, transparent 70%); border-radius: 50%; }
#tsu-area-mock .cta-inner{ position: relative; z-index: 1; text-align: center; color: #fff; }
#tsu-area-mock .cta-label{ font-size: 11px; font-weight: 700; letter-spacing: 2px; opacity: 0.5; margin-bottom: 12px; }
#tsu-area-mock .cta-title{ font-size: 24px; font-weight: 800; line-height: 1.5; margin-bottom: 10px; }
#tsu-area-mock .cta-sub{ font-size: 14px; opacity: 0.72; margin-bottom: 28px; }
#tsu-area-mock .cta-btn{ display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 52px; background: #f4a800; color: #fff; font-size: 16px; font-weight: 700; border-bottom: 3px solid rgba(0,0,0,0.15); transition: all 0.2s; }
#tsu-area-mock .cta-btn:hover{ background: #d4920a; transform: translateY(-2px); }
#tsu-area-mock .cta-note{ margin-top: 14px; font-size: 12px; opacity: 0.4; }


@media (max-width: 960px) {
  #tsu-area-mock .rank-top-row{ grid-template-columns: 44px minmax(0, 1fr); }
  #tsu-area-mock .rank-top-row .rank-image{ display: none; }
  #tsu-area-mock .rank-bottom-row{ grid-template-columns: 1fr 180px; }
}@media (max-width: 860px) {
  #tsu-area-mock .page-hero-columns{ grid-template-columns: 1fr; }
  #tsu-area-mock .page-hero-right{ display: none; }
  #tsu-area-mock .content-columns{ grid-template-columns: 1fr; }
  #tsu-area-mock .content-sidebar{ position: static; }
  #tsu-area-mock .rank-bottom-row{ grid-template-columns: 1fr; }
  #tsu-area-mock .rank-aside{ flex-direction: row; flex-wrap: wrap; gap: 10px; border-top: 1px solid #f5f5f5; }
  #tsu-area-mock .rank-cta-btn, #tsu-area-mock .rank-detail-btn{ flex: 1; }
  /* SP ソートバー: ボタン上・カウント下 */
  #tsu-area-mock .sort-bar { flex-wrap: wrap; gap: 4px 0; }
  #tsu-area-mock .sort-bar-count { order: 0; width: 100%; }
}@media (max-width: 640px) {
  #tsu-area-mock .area-ranking-section-heading{ font-size: 16px; }
  #tsu-area-mock .page-hero-title{ font-size: 20px; }
  #tsu-area-mock .page-hero-stats{ flex-direction: row; }
  #tsu-area-mock .hero-stat{ padding: 10px 14px; border-bottom: none; border-right: 1px solid #e8e8e8; }
  #tsu-area-mock .hero-stat:last-child{ border-right: none; }
  .tsu-front .header-search { display: none; }
  /* SP: ロゴ左・資料請求右（エリア／ランキング／学校詳細で共通） */
  .tsu-front .site-header-top {
    justify-content: flex-start;
    gap: 10px;
  }
  .tsu-front .site-logo,
  .tsu-front .site-logo--img {
    flex: 0 1 auto;
    min-width: 0;
  }
  .tsu-front .header-cta {
    margin-left: auto;
    flex-shrink: 0;
  }
  #tsu-area-mock .tuition-table thead { display: none; }
  #tsu-area-mock .tuition-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 14px;
    align-items: center;
    gap: 4px;
  }
  #tsu-area-mock .tuition-table td { padding: 0 !important; border: none; }
  #tsu-area-mock .tuition-table td:first-child { flex: 1; min-width: 0; }
  #tsu-area-mock .tuition-table td:last-child { text-align: right; flex-shrink: 0; }
  #tsu-area-mock .tuition-rank { width: 24px; height: 24px; font-size: 11px; margin-right: 8px; }
  #tsu-area-mock .tuition-school-name { font-size: 13px; }
  #tsu-area-mock .tuition-amount { font-size: 16px; }
  #tsu-area-mock .tuition-label { display: none; }

  /* SP カードレイアウト: 画像(上・全幅) → 順位＋情報(下・横並び) */
  #tsu-area-mock .rank-top-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 0 0 12px;
  }
  #tsu-area-mock .rank-top-row .rank-image {
    display: block;
    order: -1;
    flex: 0 0 100%;
    width: 100%;
    height: 180px;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: none;
  }
  #tsu-area-mock .rank-top-row .rank-image .rank-image-inner {
    width: 100%;
    height: 180px;
    border-radius: 0;
  }
  #tsu-area-mock .rank-top-row .rank-num-wrap {
    flex: 0 0 44px;
    padding: 10px 0 0 12px;
  }
  #tsu-area-mock .rank-top-row .rank-info {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px 0 8px;
  }

  /* SP カード下部: 学費(上・全幅) ／ ボタン×2(下・横並び) */
  #tsu-area-mock .rank-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #f5f5f5;
  }
  #tsu-area-mock .rank-aside > div:first-child {
    grid-column: 1 / -1;
    text-align: right;
  }
  #tsu-area-mock .rank-cta-btn,
  #tsu-area-mock .rank-detail-btn {
    flex: unset;
  }
}

/* パンくずはヘッダー内（.site-header-bottom）。.tsu-front 共通 */
.tsu-front .site-header-bottom {
  border-top: 2px solid #00aea2;
  padding: 7px 0;
  background: #fff;
}
.tsu-front .site-header-bottom .tsu-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.tsu-front .site-header-bottom .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 12px;
  color: #999;
}
.tsu-front .site-header-bottom .breadcrumb a {
  color: #00aea2;
}
.tsu-front .site-header-bottom .breadcrumb a:hover {
  text-decoration: underline;
}
.tsu-front .site-header-bottom .breadcrumb i {
  font-size: 9px;
  color: #ccc;
}
.tsu-front .site-header-bottom .breadcrumb span {
  color: #999;
}

/* SP: パンくずは1行・横スクロール */
@media (max-width: 640px) {
  .tsu-front .site-header-bottom .tsu-inner {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .tsu-front .site-header-bottom .tsu-inner::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
  }
  .tsu-front .site-header-bottom .breadcrumb {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    padding-bottom: 2px;
  }
  .tsu-front .site-header-bottom .breadcrumb a,
  .tsu-front .site-header-bottom .breadcrumb span {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .tsu-front .site-header-bottom .breadcrumb i {
    flex-shrink: 0;
  }
}

/* メイン内：学費表・口コミカード */
#tsu-area-mock .tuition-table-wrap {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
#tsu-area-mock .tuition-table {
  width: 100%;
  border-collapse: collapse;
}
#tsu-area-mock .tuition-table thead th {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-align: left;
  background: #fafafa;
  border-bottom: 2px solid #e0e0e0;
}
#tsu-area-mock .tuition-table tbody tr {
  border-bottom: 1px solid #eee;
}
#tsu-area-mock .tuition-table td {
  padding: 12px 16px;
  vertical-align: middle;
}
#tsu-area-mock .tuition-table thead th:last-child {
  text-align: right;
  padding-right: 20px;
}
#tsu-area-mock .tuition-table thead th:first-child {
  padding-left: 20px;
}
#tsu-area-mock .tuition-table tbody tr:hover {
  background: #fafbfc;
}
/* メイン学費表：行内の学校名・順位バッジ・金額（旧インラインCSSから移行） */
#tsu-area-mock .tuition-school {
  display: flex;
  align-items: center;
}
#tsu-area-mock .tuition-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}
#tsu-area-mock .tuition-rank.rank-1 {
  background: #fff3e0;
  color: #e65100;
}
#tsu-area-mock .tuition-rank.rank-2 {
  background: #f3e5f5;
  color: #7b1fa2;
}
#tsu-area-mock .tuition-rank.rank-3 {
  background: #e8f5e9;
  color: #2e7d32;
}
#tsu-area-mock .tuition-rank.rank-other {
  background: #f5f5f5;
  color: #999;
}
#tsu-area-mock .tuition-school-info {
  flex: 1;
  min-width: 0;
}
#tsu-area-mock .tuition-school-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 4px;
}
#tsu-area-mock a.tuition-school-name {
  color: #1a1a1a;
  text-decoration: none;
}
#tsu-area-mock a.tuition-school-name:hover {
  color: #00aea2;
  text-decoration: underline;
}
#tsu-area-mock .tuition-school-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#tsu-area-mock .tuition-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 500;
}
#tsu-area-mock .tuition-tag--feature {
  background: #f5f5f5;
  color: #666;
}
#tsu-area-mock .tuition-price {
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}
#tsu-area-mock .tuition-amount {
  font-size: 18px;
  color: #d63384;
}
#tsu-area-mock .tuition-label {
  font-size: 10px;
  color: #999;
  display: block;
  margin-bottom: 2px;
  text-align: right;
}
#tsu-area-mock .tuition-note {
  padding: 10px 16px;
  background: #fffde7;
  border-top: 1px solid #fff9c4;
  font-size: 12px;
  color: #8d6e00;
}
#tsu-area-mock .reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Google 口コミ風 */
#tsu-area-mock .reviews-list--google {
  gap: 16px;
}
#tsu-area-mock .g-review-card {
  background: #fff;
  border: none;
  border-radius: 0;
  padding: 16px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22), 0 1px 2px rgba(0, 0, 0, 0.12);
}
#tsu-area-mock .g-review-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
#tsu-area-mock .g-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
#tsu-area-mock .g-review-head-main {
  flex: 1;
  min-width: 0;
}
#tsu-area-mock .g-review-author-name {
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  line-height: 1.3;
}
#tsu-area-mock .g-review-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: #5f6368;
}
#tsu-area-mock .g-review-stars-fa {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #fbbc04;
  font-size: 13px;
}
#tsu-area-mock .g-review-stars-fa .fa-star.empty {
  color: #dadce0;
  font-weight: 400;
}
#tsu-area-mock .g-review-stars-text {
  color: #fbbc04;
  letter-spacing: 1px;
}
#tsu-area-mock .g-review-sep {
  color: #70757a;
  user-select: none;
}
#tsu-area-mock .g-review-school-link {
  color: #1a73e8;
  text-decoration: none;
}
#tsu-area-mock .g-review-school-link:hover {
  text-decoration: underline;
}
#tsu-area-mock .g-review-school-name {
  color: #70757a;
}
#tsu-area-mock .g-review-body {
  margin-top: 12px;
  padding: 0;
}
#tsu-area-mock .g-review-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #3c4043;
}
#tsu-area-mock .section-subtext {
  margin: -8px 0 16px;
  font-size: 13px;
  color: #666;
}

/* 管理者のみ：学校編集リンク */
#tsu-area-mock .rank-admin-edit {
  text-align: right;
  padding: 4px 8px 6px;
}
#tsu-area-mock .rank-admin-edit a {
  font-size: 11px;
  color: #999;
  text-decoration: none;
  padding: 3px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  transition: all 0.2s;
}
#tsu-area-mock .rank-admin-edit a:hover {
  background: #eee;
  color: #333;
}
#tsu-area-mock .rank-admin-edit a i {
  margin-right: 3px;
  font-size: 10px;
}