/* ============================================================
   shn-sub-pages.css
   スクール比較ナビ 下層ページ共通スタイル
   トップページのデザイントンマナを下層に適用。
   グローバルリセットは含まない（親テーマとの競合回避）。
   ============================================================ */

/* --------------------------------------------------------
   Design Tokens
   -------------------------------------------------------- */
:root {
  --shn-primary:        #2E7BE0;
  --shn-primary-dark:   #1E5BB8;
  --shn-primary-light:  #60A5FA;
  --shn-accent-blue:    #BAE0FB;
  --shn-navy:           #1E3A5F;
  --shn-bg-light:       #EEF3FB;
  --shn-bg-faint:       #F8FAFE;
  --shn-white:          #FFFFFF;
  --shn-text:           #1A1A1A;
  --shn-text-sub:       #64748B;
  --shn-text-muted:     #4B5563;
  --shn-text-mute:      #94A3B8;
  --shn-border:         #E5E7EB;
  --shn-border-light:   #F3F4F6;
  --shn-border-blue:    #BFDBFE;
  --shn-gold:           #F59E0B;
  --shn-silver:         #9CA3AF;
  --shn-bronze:         #B45309;

  --shn-grad-blue:      linear-gradient(135deg, #1E5BB8 0%, #2E7BE0 100%);
  --shn-grad-title:     linear-gradient(90deg, #2E7BE0 0%, #60A5FA 100%);

  --shn-radius:         16px;
  --shn-radius-sm:      12px;
  --shn-radius-btn:     8px;

  --shn-shadow-sm:      0 2px 8px rgba(0,0,0,0.05);
  --shn-shadow-lg:      0 12px 28px rgba(37,99,235,0.12);
  --shn-shadow-flat:    0 2px 12px rgba(0,0,0,0.04);
  --shn-shadow-btn:     0 4px 12px rgba(59,130,246,0.35);
  --shn-shadow-btn-h:   0 6px 18px rgba(59,130,246,0.45);
  --shn-shadow-card:    0 4px 16px rgba(0,0,0,0.06),0 1px 3px rgba(0,0,0,0.04);
  --shn-shadow-card-h:  0 12px 28px rgba(37,99,235,0.12);

  --shn-transition:     all 0.25s ease;
}

/* --------------------------------------------------------
   Container
   -------------------------------------------------------- */
.shn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.shn-container--narrow {
  max-width: 900px;
}
.shn-container--medium {
  max-width: 1000px;
}
@media (min-width: 640px) {
  .shn-container { padding: 0 32px; }
}
@media (min-width: 1024px) {
  .shn-container { padding: 0 40px; }
}

/* --------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------- */
.shn-breadcrumb-bg {
  background-color: var(--shn-bg-faint);
  border-bottom: 1px solid var(--shn-border);
  padding: 12px 0;
}

.shn-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: var(--shn-text-sub);
  line-height: 1.4;
  list-style: none;
  margin: 0;
  padding: 0;
}

.shn-breadcrumb a {
  color: var(--shn-primary);
  text-decoration: none;
}
.shn-breadcrumb a:hover { text-decoration: underline; }

.shn-breadcrumb__sep {
  color: var(--shn-text-mute);
  margin: 0 2px;
  font-size: 11px;
}

.shn-breadcrumb__current {
  color: var(--shn-text);
  font-weight: 600;
}

/* --------------------------------------------------------
   Page wrapper
   -------------------------------------------------------- */
.shn-page-wrap {
  padding-top: 36px;
  padding-bottom: 80px;
}

/* --------------------------------------------------------
   Page Header
   -------------------------------------------------------- */
.shn-page-header {
  padding-bottom: 28px;
  margin-bottom: 24px;
}

.shn-page-header__title {
  font-size: 28px;
  font-weight: 900;
  color: var(--shn-navy);
  line-height: 1.4;
  margin: 0 0 8px;
}

.shn-page-header__lead {
  font-size: 14px;
  color: var(--shn-text-sub);
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .shn-page-header__title { font-size: 22px; }
}

/* --------------------------------------------------------
   Section Heading (H2)
   -------------------------------------------------------- */
.shn-h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 20px;
  padding-bottom: 10px;
  position: relative;
  border-bottom: 2px solid var(--shn-border);
}
.shn-h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--shn-grad-title);
}

/* --------------------------------------------------------
   Accordion
   -------------------------------------------------------- */
.shn-h2.shn-accordion__trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  margin-bottom: 0;
}
.shn-accordion__chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform 0.3s ease;
  margin-left: 10px;
}
.shn-accordion__chevron::before,
.shn-accordion__chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 2px;
  background: var(--shn-navy);
  border-radius: 1px;
  transition: transform 0.3s ease;
}
.shn-accordion__chevron::before {
  right: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: right center;
}
.shn-accordion__chevron::after {
  left: 50%;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
}
.shn-accordion.is-closed .shn-accordion__chevron::before {
  transform: translateY(-50%) rotate(45deg);
}
.shn-accordion.is-closed .shn-accordion__chevron::after {
  transform: translateY(-50%) rotate(-45deg);
}
.shn-accordion__body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease-out;
}
.shn-accordion.is-closed .shn-accordion__body {
  grid-template-rows: 0fr;
}
.shn-accordion__inner {
  overflow: hidden;
  padding-top: 20px;
}

/* --------------------------------------------------------
   Buttons
   -------------------------------------------------------- */
.shn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--shn-radius-btn);
  font-size: 13px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: var(--shn-transition);
  text-decoration: none !important;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}
.shn-btn--primary {
  background: var(--shn-grad-blue);
  color: #fff !important;
  box-shadow: var(--shn-shadow-btn);
}
.shn-btn--primary:hover {
  background: linear-gradient(135deg,#1A4FA0 0%,#2563EB 100%);
  transform: translateY(-2px);
  box-shadow: var(--shn-shadow-btn-h);
  color: #fff !important;
}
.shn-btn--outline {
  background-color: #fff;
  color: var(--shn-primary) !important;
  border-color: var(--shn-border-blue);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.shn-btn--outline:hover {
  background-color: var(--shn-bg-light);
  border-color: var(--shn-primary);
  transform: translateY(-1px);
}
.shn-btn--lg {
  padding: 14px 40px;
  font-size: 15px;
}
.shn-btn--block {
  display: flex;
  width: 100%;
  text-align: center;
}

/* --------------------------------------------------------
   Card base
   -------------------------------------------------------- */
.shn-card {
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
  box-shadow: var(--shn-shadow-flat);
  transition: var(--shn-transition);
}
.shn-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shn-shadow-lg);
  border-color: var(--shn-border-blue);
}

/* --------------------------------------------------------
   Badge / Pill
   -------------------------------------------------------- */
.shn-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--shn-primary);
  background: var(--shn-bg-light);
  padding: 4px 10px;
  border-radius: 50px;
}

/* --------------------------------------------------------
   CTA Banner
   -------------------------------------------------------- */
.shn-cta-banner {
  background: var(--shn-grad-blue);
  color: #fff !important;
  padding: 20px 24px;
  border-radius: var(--shn-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shn-shadow-lg);
  text-decoration: none !important;
  transition: var(--shn-transition);
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.shn-cta-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shn-shadow-btn-h);
}
.shn-cta-banner__text { font-size: 16px; font-weight: 700; }
.shn-cta-banner__arrow { font-size: 20px; flex-shrink: 0; }

/* --------------------------------------------------------
   Pagination
   -------------------------------------------------------- */
.shn-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.shn-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--shn-radius-btn);
  background: #fff;
  border: 1px solid var(--shn-border);
  color: var(--shn-text);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: var(--shn-transition);
  padding: 0 8px;
}
.shn-pagination .page-numbers:hover,
.shn-pagination .page-numbers.current {
  background: var(--shn-grad-blue);
  border-color: var(--shn-primary);
  color: #fff;
}
.shn-pagination .page-numbers.dots {
  border: none;
  background: none;
  box-shadow: none;
}

/* --------------------------------------------------------
   Archive Layout  (sidebar + main)
   -------------------------------------------------------- */
.shn-archive-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.shn-filter-sidebar {
  width: 240px;
  flex-shrink: 0;
}

.shn-archive-main { flex: 1; min-width: 0; }

.shn-filter-box {
  background-color: var(--shn-bg-faint);
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}
.shn-filter-box:last-child { margin-bottom: 0; }

/* ─── フィルターフォーム: 全グループ横一列 ─── */
.shn-filter-rows {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.school-filter-form button[type="submit"] {
  width: auto !important;
  flex-shrink: 0;
}
.shn-filter-box .filter-group.shn-filter-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 0 !important;
  flex: 1;
  min-width: 120px;
}
.shn-filter-box .shn-filter-row__label {
  flex: 0 0 auto;
  width: 64px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  line-height: 1.4;
  flex-shrink: 0;
}
/* モバイル専用 UI 要素はデスクトップで非表示 */
.shn-filter-row__value,
.shn-filter-row__change { display: none; }
.shn-filter-box .shn-filter-row__right {
  flex: 1;
  min-width: 0;
  display: block;
}
.shn-filter-box .shn-filter-row__right .shn-filter-row__select {
  position: static !important;
  opacity: 1 !important;
  width: 100%;
  padding: 5px 6px;
  font-size: 12px;
  box-sizing: border-box;
}
/* チェックボックスグループ: ラベルの右でflex折り返し */
.shn-filter-box .shn-filter-row__checkboxes {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-width: 0;
}
.shn-filter-row__checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  cursor: pointer;
  margin: 0;
}

.shn-filter-box__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 16px;
}

.shn-filter-box__subtitle {
  font-size: 13px;
  font-weight: 700;
  color: var(--shn-text);
  margin: 0 0 10px;
}

.shn-genre-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shn-genre-list a {
  font-size: 13px;
  color: var(--shn-primary);
  text-decoration: none;
}
.shn-genre-list a:hover { text-decoration: underline; }
.shn-genre-list a.is-current { font-weight: 700; }

/* --------------------------------------------------------
   School Card Grid + Cards
   -------------------------------------------------------- */
.shn-school-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* =========================================================
   スクールカード
   名前 → 評価 → [チャート | スコアバー] → 説明文 → ボタン
   ========================================================= */
.shn-school-card {
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.2s, transform 0.2s;
}
.shn-school-card:hover {
  box-shadow: 0 8px 28px rgba(46, 123, 224, 0.14);
  transform: translateY(-2px);
}
.shn-school-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
}
.shn-school-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--shn-navy);
  line-height: 1.55;
  margin: 0 0 8px;
}
.shn-school-card__name a { color: inherit; text-decoration: none; }
.shn-school-card__name a:hover { color: var(--shn-primary); }
.shn-school-card__rating { margin-bottom: 10px; font-size: 13px; }

/* ---- チャート + スコアバー（2カラム） ---- */
.shn-school-card__main {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--shn-border);
  border-bottom: 1px solid var(--shn-border);
  margin-bottom: 12px;
}

/* チャート（左列） */
.shn-school-card__chart-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
.shn-card-chart { width: 140px; overflow: visible; }
.shn-card-chart canvas { width: 100% !important; height: auto !important; display: block; }
.shn-card-chart--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100px;
  height: 100px;
  background: #F0F6FF;
  border: 1px dashed #C5D9F7;
  border-radius: 50%;
}
.shn-card-chart--empty span {
  font-size: 10px;
  font-weight: 600;
  color: var(--shn-primary);
  text-align: center;
  line-height: 1.3;
}

/* スコアバー（右列） */
.shn-card-score-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.shn-card-score-bar {
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  gap: 5px;
  align-items: center;
}
.shn-card-score-bar__label {
  font-size: 10px;
  color: var(--shn-text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.shn-card-score-bar__track {
  height: 5px;
  background: #E8F0FB;
  border-radius: 3px;
  overflow: hidden;
}
.shn-card-score-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #5B9FE8 0%, #2E7BE0 100%);
  border-radius: 3px;
  transition: width 0.5s ease;
}
.shn-card-score-bar__value {
  font-size: 10px;
  color: var(--shn-primary);
  font-weight: 700;
  text-align: right;
  line-height: 1;
}

/* ---- 説明文 ---- */
.shn-school-card__desc {
  font-size: 13px;
  color: var(--shn-text-sub);
  line-height: 1.8;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- ボタン ---- */
.shn-school-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.shn-btn--block { width: 100%; text-align: center; justify-content: center; }

/* --------------------------------------------------------
   Sort Tabs
   -------------------------------------------------------- */
.shn-sort-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.shn-sort-tab {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 20px;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
  background-color: var(--shn-bg-light);
  color: var(--shn-primary) !important;
  transition: var(--shn-transition);
  border: 1px solid transparent;
}
.shn-sort-tab:hover,
.shn-sort-tab.is-active {
  background: var(--shn-grad-blue);
  color: #fff !important;
}

/* --------------------------------------------------------
   School Tabs (detail + review archive)
   -------------------------------------------------------- */
.shn-tabs-wrapper {
  background-color: #fff;
  border-bottom: 2px solid var(--shn-border);
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shn-tabs-wrapper::-webkit-scrollbar { display: none; }
.shn-tabs { display: flex; padding: 0; }
.shn-tab {
  flex-shrink: 0;
  padding: 0 24px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}
.shn-tab a {
  display: block;
  padding: 16px 0;
  color: var(--shn-text-sub);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--shn-transition);
}
.shn-tab a:hover { color: var(--shn-navy); }
.shn-tab--active { border-bottom-color: var(--shn-primary); }
.shn-tab--active a { color: var(--shn-primary); font-weight: 700; }
.shn-tab__badge {
  display: inline-block;
  background: var(--shn-grad-blue);
  color: #fff;
  border-radius: 12px;
  padding: 2px 8px;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 700;
}

/* --------------------------------------------------------
   School Hero (single-school)
   -------------------------------------------------------- */
.shn-school-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 32px;
}
.shn-school-hero__media {
  flex: 0 0 360px;
  max-width: 360px;
}
.shn-school-hero__media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--shn-radius-sm);
  overflow: hidden;
  background-color: var(--shn-bg-light);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shn-text-mute);
  font-size: 12px;
}
.shn-school-hero__info {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shn-school-hero__furigana { font-size: 12px; color: var(--shn-text-sub); margin: 0 0 4px; }
.shn-school-hero__name {
  font-size: 26px;
  font-weight: 900;
  color: var(--shn-navy);
  line-height: 1.4;
  margin: 0 0 10px;
}
.shn-school-hero__rating { font-size: 15px; margin-bottom: 14px; }

.shn-school-hero__meta {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0 0 20px;
}
.shn-school-hero__meta th {
  text-align: left;
  color: var(--shn-text-sub);
  font-weight: normal;
  padding: 6px 12px 6px 0;
  white-space: nowrap;
  vertical-align: top;
  width: 90px;
}
.shn-school-hero__meta td {
  color: var(--shn-text);
  padding: 6px 0;
  line-height: 1.6;
}

.shn-school-hero__cta {
  display: inline-block;
  width: 100%;
  background: var(--shn-grad-blue);
  color: #fff !important;
  text-align: center;
  padding: 16px 24px;
  border-radius: var(--shn-radius-btn);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 16px;
  transition: var(--shn-transition);
  box-shadow: var(--shn-shadow-btn);
}
.shn-school-hero__cta:hover {
  background: linear-gradient(135deg,#1A4FA0 0%,#2563EB 100%);
  transform: translateY(-2px);
  box-shadow: var(--shn-shadow-btn-h);
  color: #fff !important;
}

/* --------------------------------------------------------
   Genre Tags
   -------------------------------------------------------- */
.shn-genre-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.shn-genre-tag {
  background-color: var(--shn-bg-light);
  color: var(--shn-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

/* --------------------------------------------------------
   Info Table
   -------------------------------------------------------- */
.shn-info-wrap {
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  overflow: hidden;
}
.shn-info-table {
  width: 100%;
  border-collapse: collapse;
}
.shn-info-table th {
  background-color: var(--shn-bg-faint);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--shn-navy);
  text-align: left;
  vertical-align: top;
  width: 120px;
  border-bottom: 1px solid var(--shn-border);
}
.shn-info-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--shn-text-muted);
  border-bottom: 1px solid var(--shn-border);
  line-height: 1.7;
}
.shn-info-table tr:last-child th,
.shn-info-table tr:last-child td { border-bottom: none; }

/* --------------------------------------------------------
   Feature Cards
   -------------------------------------------------------- */
.shn-feature-grid { display: flex; flex-direction: column; gap: 20px; }

.shn-feature-card {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--shn-border);
}
.shn-feature-card:last-child { border-bottom: none; padding-bottom: 0; }
.shn-feature-card:nth-child(even) { flex-direction: row-reverse; }

.shn-feature-card__body { flex: 1 1 0; min-width: 0; box-sizing: border-box; }
.shn-feature-card__category {
  display: inline-block;
  background-color: var(--shn-bg-light);
  color: var(--shn-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}
.shn-feature-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 10px;
  line-height: 1.5;
}
.shn-feature-card__text {
  font-size: 14px;
  color: var(--shn-text-muted);
  line-height: 1.8;
  margin: 0;
}
.shn-feature-card__media {
  flex: 0 0 240px;
  max-width: 240px;
  width: 240px;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: var(--shn-radius-sm);
}
.shn-feature-card__media img {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  border-radius: var(--shn-radius-sm);
  display: block;
}

/* --------------------------------------------------------
   Mid CTA
   -------------------------------------------------------- */
.shn-mid-cta {
  background: linear-gradient(135deg, #F0F7FF 0%, #E8F3FF 100%);
  border: 1px solid var(--shn-border-blue);
  border-radius: var(--shn-radius);
  padding: 32px;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.shn-mid-cta__text {
  font-size: 16px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 20px;
  line-height: 1.6;
}
.shn-mid-cta__btn {
  font-size: 13px;
}
@media (max-width: 640px) {
  .shn-mid-cta { padding: 24px 20px; }
  .shn-mid-cta .shn-btn { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------
   Review Rating Summary (school detail)
   -------------------------------------------------------- */
.shn-rating-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
  padding: 28px;
  margin-bottom: 24px;
}
.shn-rating-summary__chart { flex: 0 0 400px; max-width: 400px; }
.shn-rating-summary__bars {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* ① 総合評価: 4軸カードと同じカードスタイル */
.shn-rating-bars__overall {
  flex: 0 0 auto;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--shn-border);
  border-radius: 6px;
  padding: 10px 12px;
  box-sizing: border-box;
}
.shn-rating-bars__axes {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

/* 4軸カードグリッド（2列固定）*/
.shn-axis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}
.shn-axis-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--shn-border);
  border-radius: 6px;
  padding: 10px 12px;
  box-sizing: border-box;
  min-width: 0;
}
.shn-axis-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.shn-axis-card__label {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  text-align: center;
  line-height: 1.3;
}
.shn-axis-card__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: nowrap;
}
.shn-axis-card__score span[style*="letter-spacing"] {
  font-size: 11px;
  line-height: 1;
}
.shn-axis-card__star {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.shn-axis-card__value {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}
/* 総合評価 シンプル表示（枠なし） */
.shn-overall-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 0 2px;
}
.shn-overall-score-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--shn-text-sub);
  line-height: 1.3;
  margin-bottom: 6px;
}
.shn-overall-score-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.shn-overall-score-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}
.shn-overall-score-star {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.shn-overall-score-star span[style*="letter-spacing"] {
  font-size: 20px;
  line-height: 1;
}
.shn-rating-summary__label {
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}
.shn-rating-summary__overall {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin: 0;
}
/* 星アイコン */
.shn-rating-summary__overall span[style*="letter-spacing"] {
  font-size: 13px;
  line-height: 1;
}
/* スコア数値 */
.shn-rating-summary__overall > span:last-child {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}
.shn-rating-summary__no-data {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background-color: var(--shn-bg-faint);
  border-radius: var(--shn-radius-sm);
  padding: 20px;
  text-align: center;
}
.shn-rating-summary__no-data p { font-size: 14px; color: var(--shn-text-sub); margin: 0; }

/* Score bar row */
.shn-score-bar {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
@media (max-width: 480px) {
  .shn-score-bar { grid-template-columns: 72px 1fr 32px; gap: 6px; font-size: 12px; }
}
.shn-score-bar__label { color: var(--shn-text); }
.shn-score-bar__track {
  background-color: var(--shn-bg-light);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.shn-score-bar__fill {
  background: var(--shn-grad-blue);
  height: 100%;
  border-radius: 4px;
}
.shn-score-bar__value {
  text-align: right;
  font-weight: 700;
  color: var(--shn-primary);
}

/* --------------------------------------------------------
   Review items (school detail)
   -------------------------------------------------------- */
.shn-review-list { display: flex; flex-direction: column; gap: 16px; }

.shn-review-item {
  background-color: var(--shn-bg-faint);
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  padding: 20px;
  transition: var(--shn-transition);
}
.shn-review-item:hover {
  box-shadow: var(--shn-shadow-card);
  border-color: var(--shn-border-blue);
}
.shn-review-item__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 8px;
  line-height: 1.5;
}
.shn-review-item__star {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--shn-gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.shn-review-item__excerpt {
  font-size: 13px;
  color: var(--shn-text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.shn-review-item__link {
  font-size: 12px;
  font-weight: 700;
  color: var(--shn-primary);
  text-decoration: none;
}
.shn-review-item__link:hover { text-decoration: underline; }

/* --------------------------------------------------------
   Review Archive items (archive-review.php)
   -------------------------------------------------------- */
.shn-review-archive-list { display: flex; flex-direction: column; gap: 20px; }

.shn-review-archive-item {
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  padding: 24px;
  transition: var(--shn-transition);
}
.shn-review-archive-item:hover {
  box-shadow: var(--shn-shadow-lg);
  border-color: var(--shn-border-blue);
}
.shn-review-archive-item__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 10px;
  line-height: 1.5;
}
.shn-review-archive-item__title a { color: inherit; text-decoration: none; }
.shn-review-archive-item__title a:hover { color: var(--shn-primary); }
.shn-review-archive-item__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--shn-text-sub);
  align-items: center;
}
.shn-review-archive-item__star { color: var(--shn-gold); font-weight: 700; }
.shn-review-archive-item__body {
  font-size: 14px;
  color: var(--shn-text-muted);
  line-height: 1.7;
  margin: 0 0 16px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.shn-review-archive-item__link {
  font-size: 13px;
  font-weight: 700;
  color: var(--shn-primary);
  text-decoration: none;
}
.shn-review-archive-item__link:hover { text-decoration: underline; }

/* --------------------------------------------------------
   CTA Section (full-width gradient)
   -------------------------------------------------------- */
.shn-cta-section {
  background: var(--shn-grad-blue);
  border-radius: var(--shn-radius);
  padding: 40px;
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}
.shn-cta-section__title {
  font-size: clamp(15px, 3vw, 22px);
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .shn-cta-section__title { white-space: normal; font-size: 16px; letter-spacing: -0.01em; }
  .shn-cta-section__lead { font-size: 13px; }
}
.u-ib { display: inline-block; }
.shn-cta-section__lead {
  font-size: 14px;
  margin: 0 0 24px;
  opacity: 0.95;
  color: #fff;
  line-height: 1.7;
}
.shn-cta-section__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.shn-cta-section__btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: var(--shn-primary) !important;
  padding: 16px 28px;
  width: auto;
  min-width: 320px;
  white-space: nowrap;
  border-radius: var(--shn-radius-btn);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 16px;
  transition: var(--shn-transition);
}
.shn-cta-section__btn-white:hover { transform: translateY(-2px); }
.shn-cta-section__btn-border {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,0.8);
  padding: 16px 28px;
  width: auto;
  min-width: 320px;
  white-space: nowrap;
  border-radius: var(--shn-radius-btn);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 16px;
  transition: var(--shn-transition);
}
.shn-cta-section__btn-border:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* --------------------------------------------------------
   Back link
   -------------------------------------------------------- */
.shn-back-link {
  text-align: center;
  margin-bottom: 40px;
}
.shn-back-link a {
  color: var(--shn-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.shn-back-link a:hover { text-decoration: underline; }

/* --------------------------------------------------------
   Related Articles
   -------------------------------------------------------- */
.shn-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.shn-article-card {
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
  overflow: hidden;
  transition: var(--shn-transition);
}
.shn-article-card:hover { box-shadow: var(--shn-shadow-lg); border-color: var(--shn-border-blue); }
.shn-article-card__image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: var(--shn-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shn-text-mute);
  font-size: 12px;
}
.shn-article-card__body { padding: 16px; }
.shn-article-card__date { font-size: 12px; color: var(--shn-text-sub); margin: 0 0 8px; }
.shn-article-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 10px;
  line-height: 1.5;
}
.shn-article-card__title a { color: inherit; text-decoration: none; }
.shn-article-card__title a:hover { color: var(--shn-primary); }
.shn-article-card__excerpt {
  font-size: 13px;
  color: var(--shn-text-muted);
  line-height: 1.6;
  margin: 0 0 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.shn-article-card__link { font-size: 12px; font-weight: 700; color: var(--shn-primary); text-decoration: none; }

/* --------------------------------------------------------
   Counseling CTA
   -------------------------------------------------------- */
.shn-counseling-cta {
  background: linear-gradient(135deg, #0C1B30 0%, #1E3A5F 100%);
  padding: 72px 20px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
/* 背景の放射状グロー */
.shn-counseling-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(46,123,224,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.shn-counseling-cta__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.shn-counseling-cta__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #60A5FA;
  border: 1px solid rgba(96,165,250,0.4);
  border-radius: 100px;
  padding: 4px 14px;
  margin: 0 0 20px;
}
.shn-counseling-cta__title {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.shn-counseling-cta__lead {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  margin: 0 0 36px;
  line-height: 1.85;
}
.shn-counseling-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--shn-primary-dark) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: var(--shn-radius-btn);
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shn-counseling-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  color: var(--shn-primary-dark) !important;
  text-decoration: none !important;
}
.shn-counseling-cta__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.shn-counseling-cta__badges li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

/* --------------------------------------------------------
   CTA Bar（横長2ブロック構成 / FV グラデーション統一・薄め）
   -------------------------------------------------------- */
.shn-cta-bar {
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF6FF 40%, #DBEAFE 80%, #BAE0FB 100%);
  padding: 48px 24px;
  margin-top: 60px;
}
.shn-cta-bar__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.shn-cta-bar__copy {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  align-items: center;
}
.shn-cta-bar__copy::before {
  display: none;
}
.shn-cta-bar__lead {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 6px;
}
/* リードコピー：カード装飾なし・シンプルテキスト */
.shn-cta-bar__lead-inner {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--shn-text-sub);
  letter-spacing: 0.02em;
}
.shn-cta-bar__logo {
  grid-column: 1;
  grid-row: 2;
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
}
.shn-cta-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--shn-primary);
  color: #fff !important;
  border-radius: var(--shn-radius-btn);
  padding: 20px 48px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none !important;
  box-shadow: var(--shn-shadow-btn);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.shn-cta-bar__btn:hover {
  transform: translateY(-3px);
  background: var(--shn-primary-dark);
  box-shadow: var(--shn-shadow-btn-h);
  color: #fff !important;
  text-decoration: none !important;
}

/* --------------------------------------------------------
   Recommended School Cards
   -------------------------------------------------------- */
.shn-recommended-list { display: flex; flex-direction: column; gap: 24px; }

.shn-recommended-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
  padding: 24px;
  transition: var(--shn-transition);
  position: relative;
}

/* ランクバッジ（1位〜3位は金・銀・銅、それ以降はグレー） */
.shn-recommended-card__rank {
  position: absolute;
  top: -1px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  padding: 8px 0 6px;
  background: var(--shn-text-mute);
  border-radius: 0 0 8px 8px;
  line-height: 1;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.shn-recommended-card__rank--1 { background: var(--shn-gold); }
.shn-recommended-card__rank--2 { background: var(--shn-silver); }
.shn-recommended-card__rank--3 { background: var(--shn-bronze); }
.shn-recommended-card__rank-num {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  display: block;
}
.shn-recommended-card__rank-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  display: block;
  margin-top: 1px;
}
.shn-recommended-card:hover { box-shadow: var(--shn-shadow-lg); border-color: var(--shn-border-blue); }
/* ランクバッジ分の上部余白 */
.shn-recommended-card { padding-top: 40px; }
.shn-recommended-card__media { flex: 0 0 280px; max-width: 280px; }
.shn-recommended-card__media-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--shn-radius-sm);
  background-size: cover;
  background-position: center;
  background-color: var(--shn-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shn-text-mute);
  font-size: 12px;
}
.shn-recommended-card__body { flex: 1 1 0; min-width: 0; }
.shn-recommended-card__furigana { font-size: 12px; color: var(--shn-text-sub); margin: 0 0 4px; }
.shn-recommended-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 10px;
  line-height: 1.4;
}
.shn-recommended-card__name a { color: inherit; text-decoration: none; }
.shn-recommended-card__name a:hover { color: var(--shn-primary); }
.shn-recommended-card__rating { margin-bottom: 12px; font-size: 14px; }
.shn-recommended-card__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.shn-editor-comment {
  background-color: var(--shn-bg-faint);
  border-left: 4px solid var(--shn-primary);
  border-radius: 0 var(--shn-radius-btn) var(--shn-radius-btn) 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--shn-text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.shn-editor-comment strong { color: var(--shn-primary); }

/* --------------------------------------------------------
   Review Detail (single-review.php)
   -------------------------------------------------------- */
.shn-review-header {
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shn-shadow-flat);
}
.shn-review-header__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--shn-navy);
  margin: 0 0 16px;
  line-height: 1.5;
}
.shn-review-header__title .u-ib { display: block; }
.shn-review-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--shn-text-sub);
}
.shn-review-header__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin-bottom: 24px;
}
.shn-review-header__rating-stars { font-size: 15px; }
.shn-review-header__rating-num { font-size: 18px; font-weight: 900; color: var(--shn-navy); }
.shn-review-header__rating-denom { font-size: 12px; color: var(--shn-text-sub); align-self: flex-end; padding-bottom: 1px; }

/* 評価サマリーをヘッダーと同じボックス内にまとめる際の仕切り */
.shn-review-axis-section__inner {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--shn-border);
}

/* Status badges */
.shn-status-badge {
  display: inline-block;
  padding: 3px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
}
.shn-status-badge--graduate { background-color: #d4edda; color: #155724; }
.shn-status-badge--student  { background-color: var(--shn-bg-light); color: var(--shn-primary); }
.shn-status-badge--trial    { background-color: #fff3cd; color: #856404; }
.shn-status-badge--default  { background-color: var(--shn-bg-light); color: var(--shn-primary); }

/* Axis section */
.shn-review-axis-section {
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: var(--shn-shadow-flat);
}
.shn-review-axis-section__title { font-size: 16px; font-weight: 700; color: var(--shn-primary); margin: 0 0 16px; }
.shn-review-axis-section__overall {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.shn-review-axis-section__overall-num { font-size: 20px; font-weight: 700; color: var(--shn-navy); }
.shn-review-axis-bars { display: flex; flex-direction: column; gap: 10px; }
.shn-review-axis-bar {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.shn-review-axis-bar__track {
  background-color: var(--shn-bg-light);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
}
.shn-review-axis-bar__fill { background: var(--shn-grad-blue); height: 100%; }
.shn-review-axis-bar__value { text-align: right; font-weight: 700; color: var(--shn-text); }

/* Overall comment */
.shn-review-overall-comment {
  background-color: #fff;
  border: 1px solid var(--shn-border);
  border-left: 4px solid var(--shn-primary);
  border-radius: 0 var(--shn-radius-sm) var(--shn-radius-sm) 0;
  padding: 24px 28px;
  margin-bottom: 24px;
  line-height: 1.9;
  color: var(--shn-text);
  font-size: 15px;
  box-shadow: var(--shn-shadow-flat);
}

/* Detailed review items */
.shn-review-detailed { margin-bottom: 28px; }
.shn-review-detailed__heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--shn-border-blue);
}
.shn-review-items {
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  overflow: hidden;
  box-shadow: var(--shn-shadow-flat);
}
.shn-review-item-row {
  background-color: #fff;
  padding: 20px 24px;
  border-bottom: 1px solid var(--shn-border-light);
}
.shn-review-item-row:last-child { border-bottom: none; }
.shn-review-item-row__header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.shn-review-item-row__header:has(+ p) { margin-bottom: 10px; }
.shn-review-item-row__label { font-size: 15px; font-weight: 700; color: var(--shn-navy); flex: 1 1 120px; }
.shn-review-item-row__stars { display: flex; align-items: center; gap: 4px; font-size: 16px; }
.shn-review-item-row__num { font-size: 16px; font-weight: 700; color: var(--shn-navy); }
.shn-review-item-row__comment {
  font-size: 14px;
  color: var(--shn-text-muted);
  line-height: 1.75;
  padding-left: 34px;
  margin: 10px 0 0;
}

/* School link button */
.shn-school-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--shn-bg-light);
  color: var(--shn-primary) !important;
  padding: 12px 32px;
  border-radius: var(--shn-radius-btn);
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--shn-border-blue);
  transition: var(--shn-transition);
}
.shn-school-link-btn:hover { background-color: #D0E3FF; }

/* Disclaimer */
.shn-disclaimer {
  font-size: 12px;
  color: var(--shn-text-mute);
  line-height: 1.8;
  text-align: center;
  margin: 0 0 36px;
  padding: 0 10px;
}

/* --------------------------------------------------------
   Empty state
   -------------------------------------------------------- */
.shn-empty {
  background-color: var(--shn-bg-faint);
  border-radius: var(--shn-radius);
  padding: 60px 20px;
  text-align: center;
}
.shn-empty__title { font-size: 20px; font-weight: 700; color: var(--shn-text-sub); margin: 0 0 10px; }
.shn-empty__text { font-size: 14px; color: var(--shn-text-sub); margin: 0; }

/* --------------------------------------------------------
   Responsive
   -------------------------------------------------------- */
@media (max-width: 768px) {
  .shn-archive-layout { flex-direction: column; }
  .shn-filter-sidebar { width: 100%; }
  .shn-school-grid { grid-template-columns: 1fr; }

  /* ── フィルター: PC・SP ともに横並びを維持 ── */
  .shn-filter-box .filter-group.shn-filter-row {
    display: flex !important;
    align-items: center !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 0 !important;
    border-bottom: none;
  }
  .shn-filter-box .shn-filter-row__label {
    flex: 0 0 35% !important;
    width: auto !important;
    background: transparent;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    display: block;
    border-right: none;
    margin: 0;
    line-height: 1.4;
  }
  .shn-filter-box .shn-filter-row__right {
    flex: 1;
    position: static !important;
    display: block !important;
    padding: 0;
    background: transparent;
    min-height: auto;
  }
  .shn-filter-box .shn-filter-row__right .shn-filter-row__select {
    position: static !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto;
    padding: 6px 8px !important;
    font-size: 12px;
    box-sizing: border-box;
  }
  .shn-filter-row__value,
  .shn-filter-row__change { display: none; }
  .shn-filter-row__checkboxes {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-width: 0;
  }
  .shn-filter-row__checkbox-label,
  .shn-filter-row__checkboxes label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin: 0;
  }

  .shn-school-hero__media { flex: 0 0 100%; max-width: 100%; }

  .shn-feature-card,
  .shn-feature-card:nth-child(even) { flex-direction: column; }
  .shn-feature-card__media { flex: 0 0 100%; max-width: 100%; width: 100%; }

  /* 評価サマリー: モバイルは縦積み（flex-wrap:nowrapでflexが縦方向に正しく積まれる） */
  .shn-rating-summary {
    flex-direction: column;
    flex-wrap: nowrap;   /* base の wrap をリセット → 縦に確実に積む */
    gap: 16px;
    padding: 16px;
    align-items: stretch;
  }
  .shn-rating-summary__chart { flex: 0 0 auto; max-width: 240px; align-self: center; }
  /* 評価バー（総合 + 4軸）: フル幅で縦積みを保証 */
  .shn-rating-summary__bars {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    box-sizing: border-box;
  }
  .shn-rating-bars__overall {
    flex: 0 0 auto;
    min-width: 0;
  }
  .shn-rating-bars__axes {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
  }
  .shn-axis-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .shn-axis-card { padding: 8px 10px; }
  .shn-axis-card__label { font-size: 10px; }
  .shn-axis-card__value { font-size: 14px; }

  .shn-recommended-card { flex-direction: column; }
  .shn-recommended-card__media { flex: 0 0 100%; max-width: 100%; }

  .shn-counseling-cta__title { font-size: 22px; }
  .shn-counseling-cta { padding: 52px 20px; }
  .shn-counseling-cta__btn { width: 100%; justify-content: center; }
  .shn-counseling-cta__badges { gap: 8px 16px; }

  /* CTA Bar SP */
  .shn-cta-bar { padding: 36px 16px; }
  .shn-cta-bar__inner { flex-direction: column; gap: 24px; }
  .shn-cta-bar__copy { grid-template-columns: 1fr; text-align: center; }
  .shn-cta-bar__lead { grid-column: 1; grid-row: 1; }
  .shn-cta-bar__logo { grid-column: 1; grid-row: 2; margin: 0 auto; }
  .shn-cta-bar__btn { max-width: 320px; width: 100%; padding: 16px 24px; }
  .shn-cta-section { padding: 28px 20px; }
  .shn-review-header__title { font-size: 18px; }

  .shn-score-bar { grid-template-columns: 90px 1fr 36px; gap: 8px; }
  .shn-review-axis-bar { grid-template-columns: 120px 1fr 36px; gap: 8px; }

  .shn-articles-grid { grid-template-columns: 1fr; }
  .shn-school-hero__name { font-size: 22px; }
  .shn-school-card__main { grid-template-columns: 120px 1fr; gap: 8px; }
  .shn-card-chart { width: 120px; }
  .shn-card-score-bar { grid-template-columns: 44px 1fr 22px; gap: 4px; }
  .shn-card-score-bar__label { font-size: 9px; }
}
.shn-school-card__actions .shn-btn--outline {
  background-color: var(--shn-primary);
  color: #fff !important;
  border-color: var(--shn-primary);
}

/* --------------------------------------------------------
   Site Header
   -------------------------------------------------------- */
.shn-site-header {
  background-color: #fff;
  border-bottom: 1px solid var(--shn-border);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.admin-bar .shn-site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .shn-site-header { top: 46px; }
}
.shn-site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 0;
  min-height: 60px;
}
.shn-site-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--shn-navy);
  text-decoration: none;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.shn-site-header__logo:hover { color: var(--shn-primary); text-decoration: none; }
.shn-site-header__logo img { display: block; height: 34px; width: auto; }
.shn-site-header__cta {
  flex-shrink: 0;
  padding: 10px 20px !important;
  font-size: 13px !important;
  min-width: 0 !important;
}
@media (max-width: 768px) {
  .shn-site-header__logo { font-size: 15px; }
  .shn-site-header__cta { display: none !important; }
}
.shn-site-header__logo-icon { flex-shrink: 0; }
.shn-site-header__logo-text {
  font-size: 17px;
  font-weight: 800;
  color: var(--shn-navy);
  letter-spacing: -0.2px;
  line-height: 1;
}
.shn-site-header__logo-accent { color: var(--shn-primary); }

/* --------------------------------------------------------
   Global Nav（グローバルナビ: PC横並び / SPハンバーガー）
   -------------------------------------------------------- */
.shn-site-header__nav { flex: 1; min-width: 0; }
.shn-site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.shn-site-header__nav-list a {
  color: var(--shn-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.shn-site-header__nav-list a:hover { color: var(--shn-primary); }
/* PCでは既に専用CTAボタンがあるため、ナビ内には出さない */
.shn-site-header__nav-cta-item { display: none; }
/* SPハンバーガー限定の項目（PCでは非表示） */
.shn-site-header__nav-reserve-item { display: none; }

.shn-site-header__hamburger {
  display: none;
  position: relative;
  z-index: 10;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  pointer-events: auto;
}
.shn-site-header__hamburger span {
  pointer-events: none;
  display: block;
  width: 22px;
  height: 2px;
  background: var(--shn-navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.shn-site-header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.shn-site-header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.shn-site-header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .shn-site-header__hamburger { display: inline-flex; order: 3; margin-left: auto; }
  .shn-site-header__nav {
    flex: none;
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--shn-border);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .shn-site-header__nav.is-open { max-height: 300px; }
  .shn-site-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 20px 16px;
  }
  .shn-site-header__nav-list li { border-bottom: 1px solid var(--shn-border-light); }
  .shn-site-header__nav-list li:last-child { border-bottom: none; }
  .shn-site-header__nav-list a {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
  }
  /* SPのハンバーガー内には、他のナビ項目と同様の見た目で無料カウンセリングも表示 */
  .shn-site-header__nav-cta-item { display: block; }
  .shn-site-header__nav-reserve-item { display: block; }
}

/* --------------------------------------------------------
   CTA Button Variant
   -------------------------------------------------------- */
.shn-btn--cta {
  background: var(--shn-grad-blue);
  color: #fff !important;
  box-shadow: var(--shn-shadow-btn);
}
.shn-btn--cta:hover {
  background: linear-gradient(135deg,#1A4FA0 0%,#2563EB 100%);
  transform: translateY(-2px);
  box-shadow: var(--shn-shadow-btn-h);
  color: #fff !important;
}

/* --------------------------------------------------------
   Front Page — Utilities
   -------------------------------------------------------- */
.shn-fp-section { padding: 72px 0; }
.shn-fp-section--light { background-color: var(--shn-bg-light); }
.shn-fp-section--gray  { background-color: var(--shn-bg-faint); }
.shn-fp-more { display: flex; justify-content: center; margin-top: 40px; }
.shn-pc-only { display: inline; }
.shn-sp-only { display: none; }
@media (max-width: 640px) {
  .shn-fp-section { padding: 52px 0; }
  .shn-pc-only { display: none; }
  .shn-sp-only { display: inline; }
}

/* Section title pattern */
.shn-section-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--shn-navy);
  text-align: center;
  margin: 0 0 10px;
}
.shn-section-title__deco {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--shn-primary);
  border-radius: 2px;
  margin: 0 auto 44px;
}
.shn-section-subtitle {
  display: block;
  text-align: center;
  font-size: 14px;
  color: var(--shn-text-sub);
  margin: -4px 0 6px;
}
.shn-section-lead {
  text-align: center;
  font-size: 15px;
  color: var(--shn-text-sub);
  margin: -28px 0 40px;
}
@media (max-width: 640px) {
  .shn-section-title { font-size: 22px; }
}

/* --------------------------------------------------------
   FV / ヒーロー
   -------------------------------------------------------- */
.shn-fv {
  background: linear-gradient(135deg, #2563EB 0%, #1E4BB8 100%);
  color: #fff;
  padding: 72px 0 80px;
  overflow: hidden;
}
.shn-fv__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.shn-fv__content {
  flex: 1 1 500px;
  min-width: 0;
}
.shn-fv__sub {
  font-size: 14px;
  opacity: 0.9;
  margin: 0 0 14px;
}
.shn-fv__accent {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  padding: 2px 12px;
  font-weight: 700;
}
.shn-fv__title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
}
.shn-fv__title-line { display: block; }
.shn-fv__kw { border-bottom: 3px solid rgba(255, 255, 255, 0.55); }
.shn-fv__kw--lg { font-size: 48px; }
.shn-fv__lead {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
  margin: 0 0 28px;
}
.shn-fv__cta-btn { margin-bottom: 32px; }
.shn-fv__stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.shn-fv__stat { display: flex; flex-direction: column; }
.shn-fv__stat-label { font-size: 11px; opacity: 0.75; margin-bottom: 3px; }
.shn-fv__stat-num { font-size: 22px; font-weight: 800; line-height: 1.1; }
.shn-fv__stat-unit { font-size: 13px; font-weight: 600; }
.shn-fv__stat-sep { width: 1px; height: 36px; background: rgba(255, 255, 255, 0.28); flex-shrink: 0; }
.shn-fv__visual {
  flex: 0 1 380px;
  min-height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.shn-fv__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 40%, rgba(255, 255, 255, 0.14), transparent 65%);
}
@media (max-width: 900px) {
  .shn-fv { padding: 52px 0 64px; }
  .shn-fv__visual { display: none; }
  .shn-fv__title { font-size: 30px; }
  .shn-fv__kw--lg { font-size: 38px; }
}
/* ── FV スマホ確定レイアウト（FV調整パネル反映値） ── */
@media (max-width: 768px) {
  /* FVセクション */
  .shn-fv {
    padding: 24px 0 30px;
  }
  /* FVコンテンツ: 左余白 16px */
  .shn-fv__content {
    padding-left: 16px;
    padding-right: 0;
  }
  /* タイトル: サブ文字 20px, メイン左位置 -3px */
  .shn-fv__title {
    font-size: 20px;       /* サブ文字（通常行） */
    margin-left: -3px;     /* メイン左位置 */
    margin-bottom: 12px;
  }
  /* タイトル: メイン文字 32px */
  .shn-fv__kw--lg {
    font-size: 32px;
  }
  /* リード文: 13.5px, 左右位置 0 */
  .shn-fv__lead {
    font-size: 13.5px;
    margin-left: 0;
    margin-right: 0;
  }
  /* 実績ブロック */
  .shn-fv__stats {
    margin-top: 25px;       /* 上下位置 */
    margin-left: 0;         /* 左右位置 */
    margin-right: 0;
    width: 100%;            /* ボックス幅 */
    gap: 0;
    flex-wrap: nowrap;
  }
  .shn-fv__stat {
    padding: 12px 6px;      /* 内側縦余白 12px / 横余白 6px */
    flex: 1;
    align-items: center;
  }
  .shn-fv__stat-num  { font-size: 22px; }   /* 数字サイズ */
  .shn-fv__stat-label { font-size: 13px; }  /* ラベルサイズ */
  .shn-fv__stat-sep { display: none; }
}
/* 超小型画面（320〜480px）追加縮小 */
@media (max-width: 480px) {
  .shn-fv__title  { font-size: 18px; }
  .shn-fv__kw--lg { font-size: 26px; }
  .shn-fv__stat-num { font-size: 19px; }
}

/* --------------------------------------------------------
   掲載スクール例 マーキー
   -------------------------------------------------------- */
.shn-fp-logos { padding: 48px 0; }
.shn-fp-logos__note {
  text-align: center;
  font-size: 12px;
  color: var(--shn-text-mute);
  margin: 16px 0 0;
}
.shn-marquee {
  overflow: hidden;
  margin-top: 24px;
}
.shn-marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: shn-marquee 30s linear infinite;
}
.shn-marquee:hover .shn-marquee__track { animation-play-state: paused; }
@keyframes shn-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.shn-marquee__item {
  flex-shrink: 0;
  width: 160px;
  height: 70px;
  background: #fff;
  border: 1px solid var(--shn-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.shn-marquee__item img {
  max-width: 100%;
  max-height: 46px;
  object-fit: contain;
}
.shn-marquee__item--ph {
  color: #bbb;
  font-size: 11px;
  font-weight: 700;
  border-style: dashed;
}

/* --------------------------------------------------------
   ジャンルカード
   -------------------------------------------------------- */
.shn-fp-genres__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.shn-fp-genre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
  min-width: 180px;
  transition: var(--shn-transition);
}
.shn-fp-genre-card:hover {
  border-color: var(--shn-primary);
  box-shadow: var(--shn-shadow-card-h);
  transform: translateY(-2px);
}
.shn-fp-genre-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--shn-bg-light), #DBEAFE);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shn-primary);
}
.shn-fp-genre-card__icon svg { width: 28px; height: 28px; }
.shn-fp-genre-card__btn {
  font-size: 14px;
  font-weight: 700;
  color: var(--shn-navy);
  text-decoration: none;
  text-align: center;
  line-height: 1.4;
}
.shn-fp-genre-card__btn:hover { color: var(--shn-primary); text-decoration: none; }

/* --------------------------------------------------------
   ピックアップ口コミ
   -------------------------------------------------------- */
.shn-fp-pickup-genre { margin-bottom: 48px; }
.shn-fp-pickup-genre__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--shn-primary);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--shn-primary);
}
.shn-fp-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.shn-fp-review-card {
  background: #fff;
  border-radius: var(--shn-radius);
  padding: 22px;
  box-shadow: var(--shn-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shn-fp-review-card__badge {
  display: inline-block;
  background: #DBEAFE;
  color: var(--shn-primary-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
  align-self: flex-start;
}
.shn-fp-review-card__school { font-size: 13px; color: var(--shn-text-sub); }
.shn-fp-review-card__school a { color: var(--shn-text-sub); text-decoration: none; }
.shn-fp-review-card__school a:hover { color: var(--shn-primary); }
.shn-fp-review-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0;
  line-height: 1.5;
}
.shn-fp-review-card__stars { display: flex; align-items: center; gap: 6px; }
.shn-fp-review-card__score { font-size: 14px; font-weight: 700; color: var(--shn-primary); }
.shn-fp-review-card__body {
  font-size: 13px;
  color: var(--shn-text-sub);
  line-height: 1.75;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shn-fp-review-card__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--shn-primary);
  text-decoration: none;
  margin-top: auto;
}
.shn-fp-review-card__more:hover { text-decoration: underline; }

/* --------------------------------------------------------
   お悩みセクション
   -------------------------------------------------------- */
.shn-fp-worries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shn-fp-worry {
  background: #fff;
  border-radius: var(--shn-radius);
  padding: 32px 24px;
  box-shadow: var(--shn-shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shn-fp-worry__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  background: var(--shn-bg-light);
  border-radius: 16px;
}
.shn-fp-worry__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0;
  line-height: 1.5;
}
.shn-fp-worry__text { font-size: 14px; color: var(--shn-text-muted); line-height: 1.8; margin: 0; }
@media (max-width: 768px) {
  .shn-fp-worries__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------
   VALUEセクション
   -------------------------------------------------------- */
.shn-fp-value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.shn-fp-value-card {
  background: #fff;
  border-radius: var(--shn-radius);
  padding: 32px 24px;
  box-shadow: var(--shn-shadow-card);
}
.shn-fp-value-card__num {
  font-size: 12px;
  font-weight: 800;
  color: var(--shn-primary);
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.shn-fp-value-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 12px;
  line-height: 1.5;
}
.shn-fp-value-card__text { font-size: 14px; color: var(--shn-text-muted); line-height: 1.85; margin: 0; }
@media (max-width: 768px) {
  .shn-fp-value__grid { grid-template-columns: 1fr; }
}

/* カウンセリングプロンプト */
.shn-counseling-prompt {
  background: linear-gradient(135deg, #1E3A5F 0%, #2E7BE0 100%);
  border-radius: var(--shn-radius);
  padding: 48px 40px;
  color: #fff;
  margin-bottom: 24px;
}
.shn-counseling-prompt__title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 28px;
  line-height: 1.5;
}
.shn-counseling-prompt__hl { border-bottom: 2px solid rgba(255, 255, 255, 0.65); }
.shn-counseling-prompt__bottom {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.shn-counseling-prompt__merits {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.shn-counseling-prompt__merits li {
  font-size: 14px;
  opacity: 0.9;
  padding-left: 18px;
  position: relative;
}
.shn-counseling-prompt__merits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #86EFAC;
}
@media (max-width: 640px) {
  .shn-counseling-prompt { padding: 32px 24px; }
  .shn-counseling-prompt__title { font-size: 20px; }
  .shn-counseling-prompt__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* なぜ無料か */
.shn-why-free {
  background: var(--shn-bg-faint);
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
  padding: 32px 36px;
}
.shn-why-free__title { font-size: 20px; font-weight: 800; color: var(--shn-navy); margin: 0 0 14px; }
.shn-why-free__mark { color: var(--shn-primary); margin-left: 2px; }
.shn-why-free__text { font-size: 14px; color: var(--shn-text-muted); line-height: 1.85; margin: 0; }

/* --------------------------------------------------------
   プロセスステップ
   -------------------------------------------------------- */
.shn-fp-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.shn-fp-process__step {
  background: #fff;
  border-radius: var(--shn-radius);
  padding: 32px 24px;
  box-shadow: var(--shn-shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.shn-fp-process__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--shn-grad-blue);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--shn-shadow-btn);
}
.shn-fp-process__title { font-size: 16px; font-weight: 700; color: var(--shn-navy); margin: 0; }
.shn-fp-process__text { font-size: 13px; color: var(--shn-text-sub); line-height: 1.75; margin: 0; }
.shn-fp-process__note { text-align: center; font-size: 14px; font-weight: 700; color: var(--shn-text-sub); margin: 0; }
@media (max-width: 768px) {
  .shn-fp-process__grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* --------------------------------------------------------
   お声カード
   -------------------------------------------------------- */
.shn-fp-voices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shn-voice-card {
  background: #fff;
  border-radius: var(--shn-radius);
  box-shadow: var(--shn-shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shn-voice-card__header {
  background: #00BCD4;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
  padding: 16px 20px;
}
.shn-voice-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.shn-voice-card__text { font-size: 13px; color: var(--shn-text-muted); line-height: 1.9; flex: 1; margin: 0 0 16px; }
.shn-voice-card__footer { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.shn-voice-card__age { font-size: 13px; font-weight: 700; color: #00BCD4; }
.shn-voice-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.shn-voice-card__avatar-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E8F1FF;
}
@media (max-width: 900px) {
  .shn-fp-voices__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------
   コラムカード（フロントページ版）
   -------------------------------------------------------- */
.shn-fp-articles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.shn-fp-article-card {
  background: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  overflow: hidden;
  transition: var(--shn-transition);
}
.shn-fp-article-card:hover { box-shadow: var(--shn-shadow-card-h); transform: translateY(-2px); }
.shn-fp-article-card__image { aspect-ratio: 16 / 9; overflow: hidden; }
.shn-fp-article-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shn-fp-article-card__image-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E0E7FF 0%, #F0F5FF 100%);
}
.shn-fp-article-card__body { padding: 14px; }
.shn-fp-article-card__meta { margin-bottom: 8px; }
.shn-fp-article-card__cat {
  display: inline-block;
  background: var(--shn-bg-light);
  color: var(--shn-primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 8px;
}
.shn-fp-article-card__title { font-size: 14px; font-weight: 700; color: var(--shn-navy); margin: 0 0 8px; line-height: 1.5; }
.shn-fp-article-card__title a { color: inherit; text-decoration: none; }
.shn-fp-article-card__title a:hover { color: var(--shn-primary); }
.shn-fp-article-card__date { font-size: 12px; color: var(--shn-text-mute); margin: 0; }
@media (max-width: 900px) {
  .shn-fp-articles__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .shn-fp-articles__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------
   FAQ アコーディオン
   -------------------------------------------------------- */
.shn-fp-faq__list { display: flex; flex-direction: column; gap: 12px; }
.shn-fp-faq-item {
  background: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  overflow: hidden;
}
.shn-fp-faq-item[open] { border-color: var(--shn-border-blue); }
.shn-fp-faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--shn-text);
  list-style: none;
  user-select: none;
}
.shn-fp-faq-item__q::-webkit-details-marker { display: none; }
.shn-fp-faq-item__q-icon { flex-shrink: 0; font-weight: 800; color: var(--shn-primary); font-size: 16px; line-height: 1.4; }
.shn-fp-faq-item__q-text { flex: 1; line-height: 1.6; }
.shn-fp-faq-item__toggle {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--shn-text-sub);
  line-height: 1;
  transition: transform 0.2s;
}
.shn-fp-faq-item[open] .shn-fp-faq-item__toggle { transform: rotate(45deg); }
.shn-fp-faq-item__a {
  display: flex;
  gap: 12px;
  padding: 4px 20px 20px;
  border-top: 1px solid var(--shn-border-light);
}
.shn-fp-faq-item__a-icon { flex-shrink: 0; font-weight: 800; color: #F97316; font-size: 16px; line-height: 1.6; }
.shn-fp-faq-item__a p { margin: 0; font-size: 14px; color: var(--shn-text-muted); line-height: 1.85; }


/* --------------------------------------------------------
   編集部おすすめリボン（スクール一覧カード）
   -------------------------------------------------------- */
.shn-school-card--recommended {
  position: relative;
  border: 2px solid var(--shn-primary);
}
.shn-recommended-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.shn-recommended-ribbon a {
  display: inline-block;
  padding: 3px 10px;
  background: var(--shn-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.shn-recommended-ribbon a:hover {
  background: var(--shn-primary-dark);
}

/* --------------------------------------------------------
   口コミアーカイブ（archive-review.php）
   -------------------------------------------------------- */
.shn-review-archive-summary {
  background: var(--shn-bg-faint);
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  padding: 24px 28px;
  margin-bottom: 32px;
}
.shn-review-archive-summary__score-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.shn-review-archive-summary__score-main {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shn-review-archive-summary__score-num {
  font-size: 32px;
  font-weight: 900;
  color: var(--shn-text);
  line-height: 1;
}
.shn-review-archive-summary__score-max {
  font-size: 14px;
  color: var(--shn-text-sub);
}
.shn-review-archive-summary__count {
  font-size: 13px;
  color: var(--shn-text-sub);
  margin: 0;
}
.shn-review-archive-summary__axes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 口コミ一覧アイテム */
.shn-review-archive-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.shn-review-archive-item {
  background: #fff;
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  padding: 24px;
}
.shn-review-archive-item__head {
  margin-bottom: 16px;
}
.shn-review-archive-item__title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.shn-review-archive-item__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--shn-text);
  margin: 0;
  flex: 1;
}
.shn-review-verified {
  display: inline-block;
  padding: 2px 8px;
  background: #EFF6FF;
  color: var(--shn-primary);
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.shn-review-archive-item__stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.shn-review-archive-item__score {
  font-size: 18px;
  color: var(--shn-text);
}
.shn-review-archive-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.shn-review-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--shn-bg-light);
  color: var(--shn-text-muted);
  font-size: 12px;
  border-radius: 4px;
}
.shn-review-archive-item__axes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.shn-review-archive-item__comment {
  font-size: 14px;
  line-height: 1.8;
  color: var(--shn-text-muted);
  border-left: 3px solid var(--shn-border-blue);
  padding-left: 14px;
  margin-bottom: 12px;
}
.shn-review-archive-item__comment p { margin: 0; }
.shn-review-archive-item__footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shn-review-archive-item__date {
  font-size: 12px;
  color: var(--shn-text-mute);
}

/* 並び替えタブ */
.shn-review-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.shn-review-sort-bar__label {
  font-size: 13px;
  color: var(--shn-text-sub);
}
.shn-review-sort-bar__item {
  padding: 4px 12px;
  font-size: 13px;
  color: var(--shn-text-sub);
  border: 1px solid var(--shn-border);
  border-radius: 20px;
  text-decoration: none;
  transition: var(--shn-transition);
}
.shn-review-sort-bar__item.is-active,
.shn-review-sort-bar__item:hover {
  background: var(--shn-primary);
  color: #fff;
  border-color: var(--shn-primary);
}

/* ページヘッダー back リンク */
.shn-page-header__back {
  margin-top: 8px;
}
.shn-text-link {
  color: var(--shn-primary);
  text-decoration: none;
  font-size: 14px;
}
.shn-text-link:hover { text-decoration: underline; }

/* ============================================================
   修正1: ページヘッダー上段（見出し + 編集部おすすめボタン横並び）
   ============================================================ */
.shn-page-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.shn-page-header__top .shn-page-header__title { margin: 0; }

.shn-btn--recommended-link {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: var(--shn-primary) !important;
  background: #fff;
  border: 2px solid var(--shn-primary);
  border-radius: var(--shn-radius-btn);
  padding: 8px 18px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--shn-transition);
}
.shn-btn--recommended-link:hover {
  background: var(--shn-bg-light);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .shn-page-header__top { flex-direction: column; align-items: stretch; }
  .shn-btn--recommended-link { width: 100%; text-align: center; }
}

/* ============================================================
   修正5: 共通CTAボタン「このスクールについてもっと知る →」
   ============================================================ */
.shn-btn--school-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--shn-primary);
  color: #fff !important;
  border-radius: var(--shn-radius-btn);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--shn-primary);
  text-decoration: none !important;
  cursor: pointer;
  transition: var(--shn-transition);
}
.shn-btn--school-detail:hover {
  background-color: var(--shn-primary-dark);
  border-color: var(--shn-primary-dark);
  transform: translateY(-2px);
  color: #fff !important;
}
.shn-btn--school-detail.shn-btn--block { width: 100%; }

/* ============================================================
   修正4: 口コミ一覧ページ スクール簡易ヘッダー
   ============================================================ */
.shn-school-review-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--shn-white);
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  box-shadow: var(--shn-shadow-flat);
  margin-bottom: 0;
}
.shn-school-review-header__logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border: 1px solid var(--shn-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shn-school-review-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.shn-school-review-header__furigana {
  font-size: 11px;
  color: var(--shn-text-sub);
  margin: 0 0 2px;
}
.shn-school-review-header__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 6px;
  line-height: 1.4;
}
.shn-school-review-header__name a { color: inherit; text-decoration: none; }
.shn-school-review-header__name a:hover { color: var(--shn-primary); }
.shn-school-review-header__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.shn-school-review-header__score {
  font-size: 20px;
  font-weight: 900;
  color: var(--shn-primary);
}
.shn-school-review-header__count {
  font-size: 12px;
  color: var(--shn-text-sub);
}

/* 評価サマリー（3カラム: スコア | レーダー | バー） */
.shn-review-archive-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  background: var(--shn-white);
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  box-shadow: var(--shn-shadow-flat);
  padding: 28px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .shn-review-archive-summary { grid-template-columns: 160px 1fr 1fr; align-items: start; }
}

.shn-review-archive-summary__score-wrap { text-align: center; }
.shn-review-archive-summary__score-main { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 4px; }
.shn-review-archive-summary__score-num { font-size: 40px; font-weight: 900; color: var(--shn-primary); line-height: 1; }
.shn-review-archive-summary__score-max { font-size: 14px; color: var(--shn-text-sub); }
.shn-review-archive-summary__count { font-size: 12px; color: var(--shn-text-sub); margin-top: 4px; }

.shn-review-archive-summary__chart { display: flex; flex-direction: column; align-items: center; }
.shn-review-archive-summary__chart-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--shn-navy);
  text-align: center;
  margin: 0 0 12px;
}
.shn-review-archive-summary__chart canvas { max-width: 220px; width: 100%; }

.shn-review-archive-summary__axes { display: flex; flex-direction: column; gap: 8px; }
.shn-review-archive-summary__axes-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 10px;
}

@media (max-width: 600px) {
  .shn-school-review-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   軸別スコア: 星アイコン行（archive-review.php の rating summary 内）
   ============================================================ */
.shn-axis-star-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  font-size: 13px;
}
.shn-axis-star-row__label {
  min-width: 88px;
  font-weight: 600;
  color: var(--shn-text);
  flex-shrink: 0;
  font-size: 12px;
}
.shn-axis-star-row__stars {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1;
}
.shn-axis-star-row__value {
  font-weight: 700;
  font-size: 13px;
  color: var(--shn-navy);
  min-width: 28px;
  text-align: right;
  flex-shrink: 0;
}

/* mobile: 左揃え固定 */
@media (max-width: 768px) {
  .shn-rating-summary__bars { align-items: flex-start; text-align: left; }
  .shn-axis-star-row { width: 100%; }
}

/* ============================================================
   スクール一覧ページ: 編集部おすすめのスクール（一覧下部ブロック）
   ============================================================ */
.shn-archive-recommend {
  margin-bottom: 40px;
  padding: 28px;
  background: var(--shn-bg-faint);
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius);
}
.shn-archive-recommend__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--shn-navy);
  margin: 0 0 18px;
  text-align: center;
}
.shn-archive-recommend__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.shn-archive-recommend__card {
  display: flex;
  flex-direction: column;
  background: var(--shn-white);
  border: 1px solid var(--shn-border);
  border-radius: var(--shn-radius-sm);
  overflow: hidden;
  text-decoration: none !important;
  transition: var(--shn-transition);
}
.shn-archive-recommend__card:hover {
  box-shadow: var(--shn-shadow-card-h);
  transform: translateY(-2px);
}
.shn-archive-recommend__card-media {
  height: 120px;
  background: var(--shn-bg-light) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--shn-text-mute);
  font-size: 12px;
}
.shn-archive-recommend__card-body {
  padding: 14px 16px;
}
.shn-archive-recommend__card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--shn-text);
  margin: 0 0 8px;
  line-height: 1.5;
}
.shn-archive-recommend__card-rating {
  font-size: 12px;
}
.shn-archive-recommend__more {
  text-align: center;
}
@media (max-width: 768px) {
  .shn-archive-recommend__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   スクール詳細ページ: 下部CTA内の補助リンク（公式サイト）
   ============================================================ */
.shn-cta-section__sublink {
  margin: 16px 0 0;
  text-align: center;
}
.shn-cta-section__sublink a {
  color: #fff;
  font-size: 13px;
  text-decoration: underline;
  opacity: 0.9;
}
.shn-cta-section__sublink a:hover { opacity: 1; }

/* ============================================================
   スクール一覧（archive-school.php）SP版: カード幅崩れの暫定強制パッチ
   ============================================================ */
@media (max-width: 768px) {
  /* archive layout を確実に縦積みに（詳細度を上げた二重セレクタ） */
  .shn-container .shn-archive-layout,
  .shn-archive-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .shn-container .shn-archive-layout > .shn-filter-sidebar,
  .shn-filter-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    flex-shrink: 0 !important;
  }
  .shn-container .shn-archive-layout > .shn-archive-main,
  main.shn-archive-main,
  .shn-archive-main {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    min-width: 0 !important;
  }
  /* grid を強制的に 1 カラムに */
  .shn-archive-main .shn-school-grid,
  .shn-school-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }
  /* カード自体も念のため */
  .shn-card.shn-school-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}
