/* ============================================
   留学口コミAIラボ — Design System v2
   "Review Intelligence" : 明るく知的な分析ダッシュボード
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Manrope:wght@500;700;800&display=swap');

:root {
  --navy: #0b2239;
  --navy-2: #16344f;
  --ink: #21374b;
  --ink-weak: #5d7386;
  --teal: #0d9494;
  --teal-2: #14b8c4;
  --teal-deep: #0a7373;
  --teal-bg: #e4f5f5;
  --cyan: #22a7d8;
  --coral: #f0604d;
  --coral-deep: #cf4634;
  --coral-bg: #feefec;
  --amber: #f0a231;
  --amber-deep: #b3782a;
  --amber-bg: #fdf4e3;
  --green: #17a56f;
  --green-bg: #e7f7f0;
  --bg: #f5f8fa;
  --bg-2: #e9f0f5;
  --card: #ffffff;
  --line: #dfe9f0;
  --line-2: #cfdde7;
  --radius: 18px;
  --radius-s: 12px;
  --shadow-s: 0 1px 2px rgba(11,34,57,.05), 0 2px 8px rgba(11,34,57,.05);
  --shadow: 0 1px 2px rgba(11,34,57,.04), 0 6px 20px rgba(11,34,57,.07);
  --shadow-lg: 0 4px 10px rgba(11,34,57,.06), 0 18px 44px rgba(11,34,57,.14);
  --grad-teal: linear-gradient(135deg, #0d9494 0%, #14b8c4 60%, #22a7d8 100%);
  --grad-amber: linear-gradient(135deg, #f0a231, #f27e4a);
  --grad-hero: radial-gradient(1100px 500px at 85% -10%, rgba(20,184,196,.16), transparent 60%),
               radial-gradient(700px 420px at -5% 15%, rgba(34,167,216,.13), transparent 55%),
               radial-gradient(560px 380px at 55% 110%, rgba(240,162,49,.10), transparent 60%),
               linear-gradient(175deg, #ffffff 0%, #f2f8fa 60%, #e9f4f6 100%);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  --font-num: "Manrope", "Noto Sans JP", sans-serif;
  /* v1互換エイリアス */
  --text: var(--ink);
  --text-weak: var(--ink-weak);
  --teal-strong: var(--teal-deep);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.75; font-size: 15px;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal-deep); text-decoration: none; transition: color .15s; }
ul { list-style: none; }
b, strong { font-weight: 700; color: var(--navy); }
.nowrap { white-space: nowrap; }
.mobile-only-br { display: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.num, .score-big, .trend-score, .score-line b { font-family: var(--font-num); font-feature-settings: "tnum"; }

::selection { background: rgba(20,184,196,.25); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 90;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(11,34,57,.07); }
.site-header .container { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand svg { flex-shrink: 0; filter: drop-shadow(0 2px 4px rgba(13,148,148,.3)); }
.brand-name { font-weight: 900; font-size: 19px; letter-spacing: .02em; line-height: 1.2; }
.brand-sub { display: block; font-size: 9px; color: var(--teal); font-weight: 800; letter-spacing: .18em; font-family: var(--font-num); }
.global-nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.global-nav a { color: var(--navy-2); font-weight: 700; font-size: 13.5px; padding: 9px 13px; border-radius: 99px; transition: all .15s; }
.global-nav a:hover { background: var(--teal-bg); color: var(--teal-deep); }
.global-nav a.active { color: #fff; background: var(--grad-teal); box-shadow: 0 4px 12px rgba(13,148,148,.35); }
.nav-cta { margin-left: 8px; background: var(--navy) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(11,34,57,.28); }
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(160deg, #0b2239 0%, #10314e 100%); color: #c3d6e4; margin-top: 84px; padding: 52px 0 30px; font-size: 13px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(20,184,196,.18), transparent 60%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 30px; position: relative; }
.site-footer h4 { color: #fff; font-size: 13.5px; margin-bottom: 12px; letter-spacing: .04em; }
.site-footer a { color: #8fc3d8; display: inline-block; padding: 3.5px 0; }
.site-footer a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; font-size: 12px; color: #7fa0b8; position: relative; }

/* ---------- セクション共通 ---------- */
.section { padding: 60px 0 0; }
.section-title { font-size: 26px; font-weight: 900; color: var(--navy); text-align: center; margin-bottom: 10px; letter-spacing: .01em; }
.section-title-bar { width: 44px; height: 4px; background: var(--grad-teal); margin: 0 auto 34px; border-radius: 3px; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-head-row h2 { font-size: 21px; font-weight: 900; color: var(--navy); letter-spacing: .01em; }
.section-kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--teal); font-family: var(--font-num); text-transform: uppercase; margin-bottom: 4px; }
.link-more { font-size: 13px; font-weight: 800; color: var(--teal-deep); }
.link-more:hover { color: var(--teal-2); }

/* ---------- カード ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em; }
.badge-teal { background: var(--teal-bg); color: var(--teal-deep); }
.badge-amber { background: var(--amber-bg); color: var(--amber-deep); }
.badge-coral { background: var(--coral-bg); color: var(--coral-deep); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-gray { background: var(--bg-2); color: var(--ink-weak); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--teal-deep); background: var(--teal-bg); padding: 3.5px 10px; border-radius: 7px; margin: 2px 4px 2px 0; }
.tag-warn { color: var(--coral-deep); background: var(--coral-bg); }

.feature-card { text-align: center; padding: 22px 16px; }
.feature-illust { width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(145deg,#e9fbfb,#fff); color: var(--teal-deep); box-shadow: inset 0 0 0 1px rgba(13,148,148,.16), var(--shadow-s); }
.feature-illust svg { width: 38px; height: 38px; display: block; }
.feature-illust--warn { color: var(--coral-deep); background: linear-gradient(145deg,#fff0eb,#fff); box-shadow: inset 0 0 0 1px rgba(240,96,77,.18), var(--shadow-s); }
.feature-illust--fit { color: var(--navy); background: linear-gradient(145deg,#eef6fb,#fff); box-shadow: inset 0 0 0 1px rgba(11,34,57,.12), var(--shadow-s); }
.feature-illust--source { color: var(--amber-deep); background: linear-gradient(145deg,#fff5df,#fff); box-shadow: inset 0 0 0 1px rgba(240,162,49,.2), var(--shadow-s); }
.feature-card h3 { font-size: 14px; margin: 8px 0 6px; }
.feature-card p { font-size: 12.5px; color: var(--text-weak); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800; font-size: 14px; border-radius: 12px; padding: 12px 24px; cursor: pointer; border: none; font-family: var(--font); letter-spacing: .01em; transition: transform .15s, box-shadow .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad-teal); color: #fff; box-shadow: 0 6px 16px rgba(13,148,148,.35); }
.btn-amber { background: var(--grad-amber); color: #fff; box-shadow: 0 6px 16px rgba(240,162,49,.35); }
.btn-outline { background: #fff; color: var(--teal-deep); border: 1.5px solid var(--teal); box-shadow: var(--shadow-s); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(11,34,57,.3); }

.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-weak); }

/* ---------- スコア表現 ---------- */
.score-big { font-size: 46px; font-weight: 800; color: var(--navy); line-height: 1; }
.score-big small { font-size: 16px; color: var(--ink-weak); font-weight: 700; }
.stars { color: #f5b731; letter-spacing: 1.5px; font-size: 15px; text-shadow: 0 1px 2px rgba(245,183,49,.3); }
.stars .off { color: #d5e0e9; text-shadow: none; }

.score-bar-row { display: grid; grid-template-columns: 122px 1fr 42px; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 13px; }
.score-bar-row .label { color: var(--ink); font-weight: 700; }
.score-bar-track { height: 9px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 99px; background: var(--grad-teal); box-shadow: 0 1px 3px rgba(13,148,148,.4); transform-origin: left; }
.score-bar-fill.warn { background: linear-gradient(90deg, #f0a231, #f0604d); box-shadow: 0 1px 3px rgba(240,96,77,.35); }
.score-bar-row .val { font-weight: 800; color: var(--navy); text-align: right; font-family: var(--font-num); }
.js-anim .score-bar-fill { animation: growBar .9s cubic-bezier(.22,.8,.3,1) both; }
@keyframes growBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.gauge-wrap { position: relative; width: 150px; height: 150px; }
.gauge-wrap .gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* ---------- グリッド ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }

/* ---------- 学校一覧: 統計ダッシュボード ---------- */
.school-intel-section { padding-top: 34px; }
.intel-board {
  background: linear-gradient(135deg, #ffffff 0%, #f6fbfb 48%, #fff9ef 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
  overflow: hidden;
  position: relative;
}
.intel-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11,34,57,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,34,57,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.intel-board > * { position: relative; }
.intel-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 18px; }
.intel-head h2 { font-size: 23px; line-height: 1.35; color: var(--navy); font-weight: 900; }
.intel-head p { color: var(--ink-weak); font-size: 13px; margin-top: 5px; }
.source-stack { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 380px; }
.source-stack span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 800; color: var(--navy); box-shadow: var(--shadow-s); }
.intel-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 12px; margin-bottom: 18px; }
.intel-stat { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; min-height: 118px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 8px; }
.intel-stat--target { border-color: rgba(240,162,49,.38); background: linear-gradient(145deg,#fff,#fff8ea); }
.intel-stat span { display: block; font-size: 11px; font-weight: 800; color: var(--ink-weak); }
.intel-stat b { display: block; font-family: var(--font-num); font-size: 26px; line-height: 1.1; color: var(--navy); }
.intel-stat small { display: block; color: var(--ink-weak); font-size: 10.7px; line-height: 1.45; }
.intel-stat-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; min-height: 32px; }
.intel-stat-icon { width: 32px; height: 32px; border-radius: 10px; object-fit: contain; background: #fff; padding: 5px; box-shadow: inset 0 0 0 1px rgba(11,34,57,.08), var(--shadow-s); flex-shrink: 0; }
.intel-stat-logos { display: flex; align-items: center; gap: 0; min-height: 32px; }
.intel-stat-logos img { width: 28px; height: 28px; border-radius: 9px; object-fit: contain; background: #fff; padding: 4px; box-shadow: inset 0 0 0 1px rgba(11,34,57,.08), var(--shadow-s); margin-left: -6px; }
.intel-stat-logos img:first-child { margin-left: 0; }
.intel-stat-main { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.intel-stat-main .unit { font-size: 12px; color: var(--ink-weak); font-weight: 900; }
.intel-main-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.intel-main-grid > * { min-width: 0; }
.intel-school-rail { min-width: 0; }
.cebu-summary-panel { margin-top: 16px; }
.intel-subhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.intel-subhead h3 { color: var(--navy); font-size: 14px; font-weight: 900; }
.intel-subhead span { color: var(--ink-weak); font-size: 11.5px; font-weight: 800; }
.photo-ledger {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 154px);
  grid-auto-columns: minmax(166px, 188px);
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  max-width: 100%;
  padding: 2px 4px 12px 2px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(13,148,148,.42) rgba(223,233,240,.62);
  scrollbar-width: thin;
}
.photo-ledger::-webkit-scrollbar { height: 9px; }
.photo-ledger::-webkit-scrollbar-track { background: rgba(223,233,240,.7); border-radius: 999px; }
.photo-ledger::-webkit-scrollbar-thumb { background: rgba(13,148,148,.5); border-radius: 999px; }
.photo-tile { min-height: 154px; border-radius: 14px; overflow: hidden; position: relative; color: #fff; background: var(--navy); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.65); scroll-snap-align: start; }
.photo-tile img:first-child { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; filter: saturate(1.05) contrast(1.02); }
.photo-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,57,.06) 0%, rgba(11,34,57,.78) 100%); }
.photo-tile .photo-name { position: absolute; left: 10px; right: 10px; bottom: 11px; z-index: 1; display: block; font-size: 13px; font-weight: 900; line-height: 1.25; letter-spacing: .01em; text-shadow: 0 2px 10px rgba(0,0,0,.32); }
.photo-source-mini { position: absolute; left: 9px; top: 9px; z-index: 1; color: #fff; background: rgba(11,34,57,.72); border: 1px solid rgba(255,255,255,.34); border-radius: 999px; padding: 4px 7px; font-size: 10px; font-weight: 900; box-shadow: 0 6px 14px rgba(11,34,57,.16); backdrop-filter: blur(6px); }
.photo-tile .brand-logo { width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; }
.photo-tile b { position: absolute; top: 9px; right: 9px; z-index: 1; font-family: var(--font-num); color: var(--navy); background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 8px; font-size: 12px; box-shadow: var(--shadow-s); }
.photo-tile { transition: transform .22s, box-shadow .22s; }
.photo-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.signal-board { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.signal-column { background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 12px; padding: 13px; box-shadow: var(--shadow-s); }
.signal-column h4 { font-size: 12px; color: var(--navy); margin-bottom: 9px; font-weight: 900; }
.signal-row { display: grid; grid-template-columns: 1fr 28px; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 11.5px; color: var(--ink); }
.signal-row:first-of-type { border-top: none; }
.signal-row span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.signal-row b { font-family: var(--font-num); color: var(--teal-deep); text-align: right; }
.signal-row.warn b { color: var(--coral-deep); }
.cebu-summary-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cebu-summary-card {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
  box-shadow: var(--shadow-s);
  min-width: 0;
}
.cebu-summary-card.warn { border-color: rgba(240,96,77,.22); background: linear-gradient(145deg,#fff,#fff7f5); }
.cebu-summary-card.target { border-color: rgba(240,162,49,.3); background: linear-gradient(145deg,#fff,#fff8ea); }
.cebu-summary-card h4 { color: var(--navy); font-size: 13px; font-weight: 900; margin-bottom: 7px; }
.cebu-summary-card p { color: var(--ink-weak); font-size: 11.8px; line-height: 1.65; margin-bottom: 10px; }
.cebu-summary-card small { display: block; color: var(--ink-weak); font-size: 10.8px; line-height: 1.5; font-weight: 800; }
.summary-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--teal-bg);
  color: var(--teal-deep);
  font-size: 10.7px;
  font-weight: 900;
}
.summary-chip.warn { background: var(--coral-bg); color: var(--coral-deep); }
.summary-chip.instagram { background: #f7e9f4; color: #7b2c75; }
.summary-chip b { color: inherit; font-family: var(--font-num); font-size: 10px; }
.progress-mini { height: 8px; background: rgba(223,233,240,.9); border-radius: 999px; overflow: hidden; margin: 2px 0 8px; }
.progress-mini span { display: block; height: 100%; background: var(--grad-amber); border-radius: inherit; }

.finder-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 20px; }
.school-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

/* ---------- トレンドカード ---------- */
.trend-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: relative; overflow: hidden; transition: box-shadow .25s, transform .25s; }
.trend-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.trend-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.trend-card.positive::before { background: var(--grad-teal); }
.trend-card.negative::before { background: linear-gradient(90deg, #f0a231, #f0604d); }
.trend-card h4 { font-size: 14px; color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; gap: 7px; font-weight: 800; }
.trend-score { font-size: 28px; font-weight: 800; color: var(--navy); }
.trend-score small { font-size: 12px; color: var(--ink-weak); }
.trend-card p { font-size: 12.5px; color: var(--ink-weak); margin: 8px 0; }
.trend-src { font-size: 11px; color: var(--ink-weak); border-top: 1px dashed var(--line); padding-top: 9px; margin-top: 5px; }

/* ---------- 実際の声カード ---------- */
.voice-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); position: relative; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.voice-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.voice-card .v-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.voice-card .v-avatar { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; letter-spacing: .02em; flex-shrink: 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); position: relative; overflow: hidden; color: var(--navy); }
.voice-card .v-avatar img.avatar-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.voice-card .v-avatar img.avatar-brand { position: absolute; right: -1px; bottom: -1px; width: 18px; height: 18px; border-radius: 6px; object-fit: contain; background: #fff; padding: 2px; box-shadow: 0 1px 4px rgba(11,34,57,.18); }
.voice-card.neg .v-avatar { background: var(--amber-bg); }
.voice-card .v-rate { font-family: var(--font-num); font-weight: 800; color: var(--navy); font-size: 15px; }
.voice-card .v-quote { font-size: 13.5px; color: var(--navy-2); font-weight: 500; position: relative; padding-left: 14px; margin-bottom: 9px; }
.voice-card .v-quote::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3.5px; border-radius: 3px; background: var(--grad-teal); }
.voice-card.neg .v-quote::before { background: linear-gradient(180deg, #f0a231, #f0604d); }
.voice-card .v-sum { font-size: 12.5px; color: var(--ink-weak); margin-bottom: 10px; }
.voice-card .v-attr { font-size: 11px; color: var(--ink-weak); border-top: 1px dashed var(--line); padding-top: 9px; margin-top: auto; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.voice-card .v-attr b { font-size: 11px; color: var(--teal-deep); font-weight: 700; }

/* ---------- 向き不向き ---------- */
.fit-panel { border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-s); }
.fit-panel.good { background: linear-gradient(160deg, #eafaf3, #ddf3ea); border: 1px solid #c4e9d8; }
.fit-panel.bad { background: linear-gradient(160deg, #fef1ee, #fde7e2); border: 1px solid #f6d2ca; }
.fit-panel h4 { font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-weight: 800; }
.fit-panel.good h4 { color: var(--green); }
.fit-panel.bad h4 { color: var(--coral-deep); }
.fit-panel li { font-size: 13.5px; padding: 5.5px 0 5.5px 26px; position: relative; }
.fit-panel.good li::before, .fit-panel.bad li::before { position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; font-size: 10px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.fit-panel.good li::before { content: "✓"; background: #fff; color: var(--green); box-shadow: 0 1px 3px rgba(23,165,111,.3); }
.fit-panel.bad li::before { content: "✕"; background: #fff; color: var(--coral); box-shadow: 0 1px 3px rgba(240,96,77,.3); }

.persona-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.persona-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.persona-card h4 { font-size: 13.5px; color: var(--navy); margin-bottom: 9px; min-height: 44px; font-weight: 800; }
.persona-card .reasons { font-size: 12px; color: var(--ink-weak); margin-top: 9px; }
.persona-card .reasons li { padding: 3px 0 3px 16px; position: relative; }
.persona-card .reasons li::before { content: "・"; position: absolute; left: 0; color: var(--teal); }

/* ---------- テーブル ---------- */
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius-s); overflow: hidden; box-shadow: var(--shadow); font-size: 13.5px; border: 1px solid var(--line); }
.data-table th { background: linear-gradient(150deg, #0b2239, #16344f); color: #fff; font-size: 12.5px; font-weight: 800; padding: 12px 15px; text-align: left; white-space: nowrap; letter-spacing: .02em; }
.data-table td { padding: 13px 15px; border-bottom: 1px solid var(--line); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background .15s; }
.data-table tbody tr:hover { background: #f6fafc; }
.data-table .num { font-weight: 800; color: var(--navy); font-size: 14.5px; }
.data-table .best { background: var(--teal-bg); box-shadow: inset 3px 0 0 var(--teal); }

/* ---------- CTA ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cta-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.cta-box:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.cta-box .cta-icon { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 25px; background: var(--teal-bg); box-shadow: inset 0 0 0 1px rgba(13,148,148,.15); }
.cta-box h4 { color: var(--navy); font-size: 15.5px; margin-bottom: 6px; font-weight: 800; }
.cta-box p { font-size: 12.5px; color: var(--ink-weak); margin-bottom: 16px; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); margin-bottom: 10px; box-shadow: var(--shadow-s); overflow: hidden; transition: box-shadow .2s; }
.faq-item:hover { box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; font-weight: 800; font-size: 14px; color: var(--navy); padding: 16px 19px; list-style: none; display: flex; gap: 12px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 9px; background: var(--grad-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 900; font-family: var(--font-num); box-shadow: 0 3px 8px rgba(13,148,148,.3); }
.faq-item summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--teal); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 19px 17px 57px; font-size: 13.5px; color: var(--ink-weak); }

/* ---------- ヒーロー(トップ) ---------- */
.hero { background: var(--grad-hero); border-bottom: 1px solid var(--line); padding: 64px 0 58px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(11,34,57,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,34,57,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(700px 420px at 75% 30%, #000, transparent 75%);
          mask-image: radial-gradient(700px 420px at 75% 30%, #000, transparent 75%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero h1 { font-size: 38px; line-height: 1.35; color: var(--navy); font-weight: 900; margin-bottom: 16px; letter-spacing: .01em; }
.hero h1 .accent { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 15px; color: var(--ink-weak); margin-bottom: 22px; max-width: 540px; }
.hero-art { filter: drop-shadow(0 24px 40px rgba(11,34,57,.16)); animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.trust-row { display: flex; gap: 10px; margin: 20px 0 24px; flex-wrap: wrap; }
.trust-item { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 800; color: var(--navy); background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px 7px 8px; box-shadow: var(--shadow-s); }
.trust-item--strong {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal-deep));
  border-color: rgba(255,255,255,.5);
  padding-left: 12px;
}
.trust-item--strong b {
  color: #fff;
  font-family: var(--font-num);
  font-size: 17px;
  line-height: 1;
}
.trust-item .brand-mark { width: 30px; height: 30px; border-radius: 9px; object-fit: contain; background: #fff; padding: 4px; box-shadow: inset 0 0 0 1px rgba(11,34,57,.08); }

/* ---------- Hero eyecatch: real source x Cebu travel ---------- */
.hero-eyecatch {
  position: relative;
  width: min(520px, 100%);
  height: 410px;
  justify-self: end;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(11,34,57,.24);
  border: 1px solid rgba(255,255,255,.82);
  isolation: isolate;
  background: #dff7ff;
  animation: floatY 7s ease-in-out infinite;
}
.page-head .hero-eyecatch { width: 384px; height: 288px; border-radius: 28px; }
.eyecatch-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: -3;
}
.hero-eyecatch--airport .eyecatch-bg {
  background-image:
    linear-gradient(110deg, rgba(6,26,44,.08), rgba(255,255,255,.05) 44%, rgba(0,167,197,.18)),
    url("../img/eyecatch-airport-person.png");
}
.hero-eyecatch--cebu .eyecatch-bg {
  background-image:
    linear-gradient(120deg, rgba(8,27,44,.05), rgba(255,255,255,.08) 55%, rgba(0,154,184,.18)),
    url("../img/eyecatch-cebu-person.png");
}
.hero-eyecatch--poster {
  --poster-bg: url("../img/eyecatch-cebu-person.png");
  --poster-panel: url("../img/hero-home.svg");
  --poster-pos: center;
  --poster-strip: linear-gradient(92deg, rgba(255,226,0,.95), rgba(255,162,0,.78));
  --poster-accent: #00a7c5;
  --poster-accent-2: #ffe100;
  --poster-accent-3: #7ad22b;
  background: #dff7ff;
}
.hero-eyecatch--poster .eyecatch-bg {
  background-image:
    linear-gradient(118deg, rgba(4,22,38,.14), rgba(255,255,255,.06) 43%, rgba(0,167,197,.2)),
    var(--poster-bg);
  background-position: var(--poster-pos);
}
.hero-eyecatch--poster::before {
  width: 92%;
  height: 26%;
  left: -14%;
  top: 18%;
  border-radius: 8px;
  background: var(--poster-strip);
  transform: rotate(-9deg);
  mix-blend-mode: screen;
}
.hero-eyecatch--poster::after {
  right: -22%;
  top: -8%;
  width: 54%;
  height: 54%;
  border: 5px solid rgba(255,225,0,.78);
  background:
    radial-gradient(circle at 42% 42%, rgba(255,255,255,.92), rgba(255,255,255,.34) 52%, rgba(0,167,197,.16) 74%),
    linear-gradient(135deg, rgba(255,255,255,.5), rgba(255,255,255,.1));
}
.eyecatch-panel {
  position: absolute;
  right: 24px;
  top: 126px;
  width: 196px;
  height: 146px;
  border-radius: 22px;
  background-color: rgba(255,255,255,.9);
  background-image: var(--poster-panel);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: 0 18px 42px rgba(11,34,57,.22);
  transform: rotate(-6deg);
  overflow: hidden;
}
.eyecatch-panel::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 58px;
  height: 7px;
  border-radius: 999px;
  background: var(--poster-accent);
  box-shadow: 68px 0 0 var(--poster-accent-2), 136px 0 0 var(--poster-accent-3);
}
.eyecatch-panel::after {
  content: attr(data-label);
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(11,34,57,.78);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.hero-eyecatch--poster .eyecatch-ticket {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 5px solid var(--poster-accent);
  box-shadow: 0 0 0 4px rgba(255,225,0,.72), 0 18px 40px rgba(11,34,57,.22);
}
.hero-eyecatch--poster .eyecatch-ticket b { font-size: 18px; }
.hero-eyecatch--poster .eyecatch-ticket small { font-size: 8px; }
.hero-eyecatch--poster .eyecatch-phone { display: none; }
.hero-eyecatch--home {
  --poster-bg: url("../img/eyecatch-airport-person.png");
  --poster-panel: url("../img/hero-home.svg");
  --poster-pos: 45% center;
  --poster-strip: linear-gradient(96deg, rgba(255,226,0,.96), rgba(24,183,215,.72));
  --poster-accent: #00a7c5;
  --poster-accent-2: #ffe100;
  --poster-accent-3: #7ad22b;
}
.hero-eyecatch--finder {
  --poster-bg: url("../img/eyecatch-cebu-cafe-woman.png");
  --poster-panel: url("../img/hero-schools.svg");
  --poster-pos: center 46%;
  --poster-strip: linear-gradient(94deg, rgba(255,226,0,.96), rgba(114,210,43,.72));
  --poster-accent: #00a7c5;
  --poster-accent-2: #ffe100;
  --poster-accent-3: #72d22b;
}
.hero-eyecatch--ranking {
  --poster-bg: url("../img/eyecatch-cebu-journey.jpg");
  --poster-panel: url("../img/hero-rankings.svg");
  --poster-pos: 48% 50%;
  --poster-strip: linear-gradient(94deg, rgba(255,194,58,.94), rgba(240,96,77,.78));
  --poster-accent: #f0a231;
  --poster-accent-2: #00a7c5;
  --poster-accent-3: #f0604d;
}
.hero-eyecatch--compare {
  --poster-bg: url("../img/eyecatch-cebu-cafe-man.png");
  --poster-panel: url("../img/hero-compare.svg");
  --poster-pos: 50% 46%;
  --poster-strip: linear-gradient(94deg, rgba(255,226,0,.95), rgba(0,167,197,.72));
  --poster-accent: #0d9494;
  --poster-accent-2: #ffe100;
  --poster-accent-3: #22a7d8;
}
.hero-eyecatch--cost {
  --poster-bg: url("../img/eyecatch-cebu-person.png");
  --poster-panel: url("../img/hero-cost.svg");
  --poster-pos: 48% 46%;
  --poster-strip: linear-gradient(94deg, rgba(255,226,0,.94), rgba(240,96,77,.74));
  --poster-accent: #f0a231;
  --poster-accent-2: #ffe100;
  --poster-accent-3: #f0604d;
}
.hero-eyecatch--guide {
  --poster-bg: url("../img/eyecatch-cebu-male.jpg");
  --poster-panel: url("../img/hero-how.svg");
  --poster-pos: 47% 49%;
  --poster-strip: linear-gradient(94deg, rgba(0,167,197,.82), rgba(255,255,255,.5));
  --poster-accent: #22a7d8;
  --poster-accent-2: #fff3b0;
  --poster-accent-3: #0d9494;
}
.hero-eyecatch--review {
  --poster-bg: url("../img/eyecatch-cebu-cafe-woman.png");
  --poster-panel: url("../img/hero-reviews.svg");
  --poster-pos: 44% 52%;
  --poster-strip: linear-gradient(94deg, rgba(255,226,0,.95), rgba(20,184,196,.72));
  --poster-accent: #0d9494;
  --poster-accent-2: #ffe100;
  --poster-accent-3: #7ad22b;
}
.hero-eyecatch--bad {
  --poster-bg: url("../img/eyecatch-cebu-journey.jpg");
  --poster-panel: url("../img/hero-bad.svg");
  --poster-pos: 42% 48%;
  --poster-strip: linear-gradient(94deg, rgba(240,96,77,.88), rgba(255,194,58,.76));
  --poster-accent: #f0604d;
  --poster-accent-2: #ffe100;
  --poster-accent-3: #0d9494;
}
.hero-eyecatch--data {
  --poster-bg: url("../img/eyecatch-cebu-cafe-man.png");
  --poster-panel: url("../img/hero-data.svg");
  --poster-pos: 58% 52%;
  --poster-strip: linear-gradient(94deg, rgba(0,167,197,.84), rgba(255,226,0,.76));
  --poster-accent: #00a7c5;
  --poster-accent-2: #ffe100;
  --poster-accent-3: #f0a231;
}
/* 同一写真を使うページ間の見た目の重複を減らすための差別化処理
   (finder⇄review / ranking⇄bad / compare⇄data は写真素材を共有しているため反転+色調補正) */
.hero-eyecatch--review .eyecatch-bg {
  transform: scale(1.02) scaleX(-1);
  filter: saturate(1.12) contrast(1.05) hue-rotate(-6deg);
}
.hero-eyecatch--bad .eyecatch-bg {
  transform: scale(1.02) scaleX(-1);
  filter: saturate(.82) contrast(1.1) sepia(.1);
}
.hero-eyecatch--data .eyecatch-bg {
  transform: scale(1.02) scaleX(-1);
  filter: saturate(1.1) hue-rotate(8deg);
}
.hero-eyecatch::before {
  content: "";
  position: absolute;
  width: 78%;
  height: 34%;
  left: -16%;
  top: 8%;
  background: linear-gradient(90deg, rgba(255,226,0,.94), rgba(255,168,0,.84));
  transform: rotate(-10deg);
  border-radius: 999px;
  mix-blend-mode: screen;
  z-index: -1;
}
.hero-eyecatch::after {
  content: "";
  position: absolute;
  width: 82%;
  height: 82%;
  right: -34%;
  top: -22%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(255,255,255,.84), rgba(255,255,255,.26) 46%, rgba(0,181,216,.15) 72%);
  z-index: -2;
}
.eyecatch-curve {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 118px;
  height: 72px;
  border-top: 2px dashed rgba(255,255,255,.88);
  border-right: 2px dashed rgba(255,255,255,.72);
  border-radius: 50%;
  transform: rotate(18deg);
}
.eyecatch-plane {
  position: absolute;
  right: 30px;
  top: 76px;
  color: #fff;
  font-size: 30px;
  transform: rotate(18deg);
  text-shadow: 0 6px 18px rgba(0,73,94,.28);
}
.eyecatch-proof {
  position: absolute;
  left: 22px;
  bottom: 24px;
  width: 250px;
  padding: 15px 17px;
  border-radius: 22px;
  background: rgba(255,255,255,.84);
  box-shadow: 0 18px 42px rgba(11,34,57,.2);
  backdrop-filter: blur(10px);
}
.eyecatch-proof b {
  display: block;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: .01em;
  margin-bottom: 7px;
}
.eyecatch-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-deep);
  font-size: 11.5px;
  font-weight: 900;
}
.eyecatch-proof span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 16px 0 0 var(--amber), 32px 0 0 var(--coral);
  margin-right: 34px;
}
.eyecatch-phone {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 128px;
  height: 198px;
  border-radius: 24px;
  background: linear-gradient(180deg,#fafdff,#dff8ff);
  border: 5px solid #122a43;
  box-shadow: 0 20px 36px rgba(11,34,57,.26);
  padding: 22px 10px 10px;
  transform: rotate(-7deg);
}
.eyecatch-phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 42px;
  height: 8px;
  border-radius: 999px;
  background: #122a43;
  transform: translateX(-50%);
}
.eyecatch-phone b {
  display: block;
  color: var(--navy);
  font-family: var(--font-num);
  font-size: 20px;
  line-height: 1;
  margin-bottom: 8px;
}
.eyecatch-phone span {
  display: block;
  height: 26px;
  border-radius: 9px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(20,80,105,.1);
  margin: 7px 0;
}
.eyecatch-phone span:nth-child(3) { width: 72%; background: #e5f8f8; }
.eyecatch-phone span:nth-child(4) { width: 86%; background: #fff4d1; }
.eyecatch-source-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 38px rgba(11,34,57,.22);
  backdrop-filter: blur(10px);
  transform: rotate(-4deg);
}
.eyecatch-source-card img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  object-fit: contain;
  padding: 5px;
  box-shadow: var(--shadow-s);
}
.hero-eyecatch--home .eyecatch-ticket { width: 176px; }
.hero-eyecatch--home .eyecatch-source-card {
  top: 128px;
  right: 18px;
  bottom: auto;
  transform: rotate(-2deg);
}
.eyecatch-badge {
  position: absolute;
  left: 24px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(11,34,57,.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(11,34,57,.22);
}
.eyecatch-badge::before { content: "●"; color: var(--amber); font-size: 9px; }
.eyecatch-ticket {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 142px;
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  box-shadow: 0 14px 34px rgba(11,34,57,.18);
  transform: rotate(5deg);
}
.eyecatch-ticket small {
  display: block;
  font-size: 9px;
  font-weight: 900;
  color: var(--teal-deep);
  letter-spacing: .1em;
}
.eyecatch-ticket b {
  display: block;
  font-size: 16px;
  line-height: 1.1;
  margin-top: 4px;
}
.page-head .hero-eyecatch .eyecatch-proof {
  left: 16px;
  bottom: 16px;
  width: 212px;
  padding: 14px 15px;
  border-radius: 18px;
}
.page-head .hero-eyecatch .eyecatch-proof b { font-size: 16px; margin-bottom: 4px; }
.page-head .hero-eyecatch .eyecatch-proof span { font-size: 10.2px; }
.page-head .hero-eyecatch .eyecatch-phone {
  width: 76px;
  height: 118px;
  right: 14px;
  bottom: 13px;
  border-width: 4px;
  border-radius: 17px;
  padding: 18px 7px 7px;
}
.page-head .hero-eyecatch .eyecatch-phone b { font-size: 14px; }
.page-head .hero-eyecatch .eyecatch-phone span { height: 15px; border-radius: 6px; margin: 5px 0; }
.page-head .hero-eyecatch .eyecatch-phone::before { width: 28px; height: 6px; top: 7px; }
.page-head .hero-eyecatch .eyecatch-badge {
  left: 16px;
  top: 16px;
  padding: 7px 10px;
  font-size: 9.5px;
}
.page-head .hero-eyecatch .eyecatch-ticket {
  right: 12px;
  top: 12px;
  width: 102px;
  padding: 9px 9px 8px;
  border-radius: 11px;
}
.page-head .hero-eyecatch--poster .eyecatch-panel {
  right: 16px;
  top: 100px;
  width: 158px;
  height: 118px;
  border-radius: 18px;
}
.page-head .hero-eyecatch--poster .eyecatch-panel::before {
  left: 11px;
  top: 10px;
  width: 36px;
  height: 5px;
  box-shadow: 46px 0 0 var(--poster-accent-2), 92px 0 0 var(--poster-accent-3);
}
.page-head .hero-eyecatch--poster .eyecatch-panel::after {
  left: 10px;
  bottom: 10px;
  font-size: 7px;
  padding: 4px 7px;
}
.page-head .hero-eyecatch--poster .eyecatch-ticket {
  right: 15px;
  top: 14px;
  width: 86px;
  height: 86px;
  padding: 9px;
  border-radius: 50%;
  border-width: 4px;
}
.page-head .hero-eyecatch .eyecatch-ticket small { font-size: 7.5px; }
.page-head .hero-eyecatch .eyecatch-ticket b { font-size: 12px; }
.page-head .hero-eyecatch--poster .eyecatch-ticket small { font-size: 6.4px; line-height: 1.05; }
.page-head .hero-eyecatch--poster .eyecatch-ticket b { font-size: 11.5px; }
.page-head .hero-eyecatch .eyecatch-plane { right: 22px; top: 78px; font-size: 23px; }

/* ---------- 検索UI ---------- */
.search-box { display: flex; gap: 10px; max-width: 560px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 7px; box-shadow: var(--shadow); transition: box-shadow .2s, border-color .2s; }
.search-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,196,.15), var(--shadow); }
.search-box input { flex: 1; border: none; padding: 9px 14px; font-size: 14px; font-family: var(--font); background: transparent; }
.search-box input:focus { outline: none; }
.popular-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: 12.5px; font-weight: 700; color: var(--navy); cursor: pointer; box-shadow: var(--shadow-s); transition: all .15s; }
.chip:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.chip--brand { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 7px; }
.chip-logo { width: 24px; height: 24px; object-fit: contain; border-radius: 7px; background: #fff; padding: 3px; box-shadow: inset 0 0 0 1px rgba(11,34,57,.08); flex-shrink: 0; }

/* ---------- 学校カード ---------- */
.school-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.school-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.school-card.no1 { border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad-teal) border-box; }
.no1-ribbon { position: absolute; top: -12px; left: 14px; background: var(--grad-teal); color: #fff; font-size: 10.5px; font-weight: 900; padding: 4px 12px; border-radius: 99px; box-shadow: 0 4px 10px rgba(13,148,148,.4); letter-spacing: .04em; }
.school-card h3 { font-size: 16.5px; color: var(--navy); margin: 6px 0 2px; font-weight: 800; }
.school-card .loc { font-size: 11.5px; color: var(--ink-weak); margin-bottom: 9px; }
.school-card .score-line { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; }
.school-card .score-line b { font-size: 28px; color: var(--navy); font-weight: 800; }
.school-card .score-unit { font-size: 11.5px; color: var(--ink-weak); font-weight: 800; }
.school-card .cnt { font-size: 11px; color: var(--ink-weak); margin-bottom: 9px; }
.school-card .detail-link { margin-top: auto; font-size: 13px; font-weight: 800; padding-top: 12px; }
.micro-fit { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 6px; }
.micro-fit span { font-size: 10.8px; line-height: 1.35; color: #36536a; background: #f1f6f8; border: 1px solid var(--line); border-radius: 7px; padding: 4px 7px; font-weight: 700; }
.review-drawer { border: 1px solid var(--line); border-radius: 12px; background: #fbfdfe; margin-top: 12px; overflow: hidden; }
.review-drawer > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; color: var(--navy); font-size: 12px; font-weight: 900; }
.review-drawer > summary::-webkit-details-marker { display: none; }
.review-drawer > summary b { color: var(--coral-deep); font-size: 11px; font-weight: 900; background: var(--coral-bg); border-radius: 999px; padding: 3px 7px; white-space: nowrap; }
.mini-review-list { display: flex; flex-direction: column; gap: 6px; padding: 0 10px 10px; }
.mini-review { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mini-review summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 58px 92px 1fr; gap: 8px; align-items: center; padding: 9px 10px; font-size: 12px; }
.mini-review summary::-webkit-details-marker { display: none; }
.mini-review .r-stars { color: #f5b731; font-size: 10.5px; letter-spacing: 0; white-space: nowrap; }
.mini-review .r-name { font-weight: 900; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-review .r-peek { color: var(--ink-weak); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-review-body { padding: 0 10px 10px 10px; }
.mini-review-body p { font-size: 12.2px; line-height: 1.65; color: var(--navy-2); margin-bottom: 6px; border-left: 3px solid var(--teal); padding-left: 9px; }
.mini-review-body span:not(.tag) { display: block; color: var(--ink-weak); font-size: 10.8px; margin-top: 5px; }
.review-evidence-link { display: inline-flex; align-items: center; width: fit-content; margin-top: 7px; color: var(--teal-deep); font-size: 11px; font-weight: 900; }
.review-empty { background: #fbfdfe; border: 1px dashed var(--line); border-radius: 12px; padding: 12px; color: var(--ink-weak); font-size: 12px; margin-top: 12px; }

.source-ledger { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg,#fff,#f7fbfc); margin-top: 10px; overflow: hidden; }
.source-ledger.research-ledger { background: linear-gradient(135deg,#fffdf2,#f7fbfc); border-color: rgba(240,162,49,.34); }
.source-ledger > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 7px; padding: 9px 10px; }
.source-ledger > summary::-webkit-details-marker { display: none; }
.source-pill { display: inline-flex; align-items: center; gap: 5px; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 7px; font-size: 10.8px; font-weight: 900; box-shadow: var(--shadow-s); }
.source-pill b { color: var(--teal-deep); font-size: 10.5px; }
.source-pill.is-empty { color: var(--ink-weak); background: #f6f9fb; }
.source-pill.is-empty b { color: var(--ink-weak); }
.source-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px 10px 8px; }
.source-tab { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 9px; min-width: 0; padding: 7px 6px; display: grid; grid-template-columns: 16px 1fr; grid-template-areas: "ico label" "ico count"; gap: 1px 5px; align-items: center; text-align: left; color: var(--navy); cursor: pointer; box-shadow: var(--shadow-s); transition: border-color .2s, background .2s, color .2s, box-shadow .2s; }
.source-tab .src-ico { grid-area: ico; }
.source-tab span { grid-area: label; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.2px; font-weight: 900; }
.source-tab b { grid-area: count; font-size: 10px; color: var(--ink-weak); font-weight: 900; }
.source-tab.is-active { border-color: rgba(14,139,139,.42); background: #eaf8f8; box-shadow: inset 0 0 0 1px rgba(14,139,139,.18); }
.source-tab.is-active b { color: var(--teal-deep); }
.source-ledger-body { padding: 0 10px 10px; display: grid; gap: 7px; }
.source-panel { display: none; }
.source-panel.is-active { display: grid; gap: 7px; }
.source-google-head { display: grid; gap: 6px; }
.source-basis { display: flex; align-items: center; gap: 5px; font-size: 11.2px; color: var(--ink-weak); font-weight: 800; flex-wrap: wrap; }
.source-basis a { color: var(--teal-deep); font-weight: 900; }
.source-all-link { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 6px; padding: 8px 9px; background: #fff; border: 1px solid rgba(14,139,139,.24); border-radius: 9px; color: var(--navy); box-shadow: var(--shadow-s); }
.source-all-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.8px; font-weight: 900; }
.source-all-link small { color: var(--teal-deep); font-size: 10px; font-weight: 900; white-space: nowrap; }
.source-sample-note { margin: -1px 0 0; color: var(--ink-weak); font-size: 10.8px; font-weight: 800; }
.source-review-list { padding: 0; }
.source-link-mini { display: grid; gap: 5px; }
.source-link-mini a { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 6px; padding: 7px 8px; background: #fff; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); }
.source-link-mini span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.6px; font-weight: 800; }
.source-link-mini small { color: var(--ink-weak); font-size: 10px; font-weight: 800; white-space: nowrap; max-width: 126px; overflow: hidden; text-overflow: ellipsis; }
.source-more { border: 1px dashed rgba(14,139,139,.28); border-radius: 9px; background: rgba(255,255,255,.78); overflow: hidden; }
.source-more > summary { list-style: none; cursor: pointer; padding: 7px 9px; color: var(--teal-deep); font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 5px; }
.source-more > summary::-webkit-details-marker { display: none; }
.source-more > summary::after { content: "+"; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #eaf8f8; color: var(--teal-deep); font-size: 11px; line-height: 1; }
.source-more[open] > summary::after { content: "-"; }
.source-more .source-link-mini, .source-more .source-review-list { padding: 0 7px 7px; }
.source-more .mini-review-list { gap: 5px; }
.source-empty { font-size: 11.3px; color: var(--ink-weak); background: #fff; border: 1px dashed var(--line); border-radius: 9px; padding: 7px 8px; }
.source-empty a { color: var(--teal-deep); font-weight: 900; }

.source-compare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.source-compare-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.source-compare-head h4 {
  color: var(--navy);
  font-size: 14px;
  margin: 0;
  font-weight: 900;
}
.source-compare-head p {
  color: var(--ink-weak);
  font-size: 11.5px;
  margin: 1px 0 0;
  font-weight: 800;
}
.source-compare-block {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(135deg,#fff,#f9fcfd);
  overflow: hidden;
  margin-top: 10px;
}
.source-compare-block.google { border-color: #d8e5f4; }
.source-compare-block.note { border-color: #dfe6ef; }
.source-compare-block.x { border-color: #d6dde6; }
.source-compare-block.instagram { border-color: #ead7e8; }
.source-compare-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  background: rgba(247,251,252,.88);
  border-bottom: 1px solid var(--line);
}
.source-compare-title span {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
}
.source-compare-title small {
  color: var(--ink-weak);
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
}
.source-compare-list {
  display: grid;
  gap: 7px;
  padding: 9px;
}
.source-pick-item {
  box-shadow: none;
  border-radius: 10px;
}
.source-pick-item summary {
  gap: 7px;
  padding: 9px 10px;
  font-size: 12px;
}
.source-pick-item .r-body {
  padding: 0 11px 11px 34px;
}
.source-pick-link {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  color: var(--navy);
}
.source-pick-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.8px;
  font-weight: 900;
}
.source-pick-link small {
  color: var(--ink-weak);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
  max-width: 132px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 学校別データラボ ---------- */
.school-data-visual { background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow); }
.school-data-visual > img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: 13px; display: block; background: var(--bg-2); }
.school-data-visual > div { display: flex; align-items: center; gap: 9px; padding: 10px 4px 2px; font-size: 12px; font-weight: 800; color: var(--navy); }
.kpi-card { min-height: 128px; }
.kpi-card p { font-size: 12px; font-weight: 900; color: var(--ink-weak); margin-bottom: 8px; }
.kpi-card b { display: block; font-family: var(--font-num); color: var(--navy); font-size: 32px; line-height: 1.05; margin-bottom: 8px; }
.kpi-card span { color: var(--ink-weak); font-size: 11.5px; font-weight: 700; }
.review-control-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: linear-gradient(135deg,#f7fbfc,#fff9ef); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px 14px; margin-bottom: 12px; box-shadow: var(--shadow-s); }
.review-control-bar b { display: block; color: var(--navy); font-size: 13px; margin-bottom: 2px; }
.review-control-bar span { color: var(--ink-weak); font-size: 11.5px; }
.review-control-bar label { color: var(--navy); font-size: 11.5px; font-weight: 900; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.review-control-bar select { width: auto; min-width: 142px; padding: 8px 32px 8px 11px; font-size: 12.5px; border-radius: 9px; }
.source-review-list { gap: 9px; }
details.source-review-item.has-warn { border-color: #f2c6bb; box-shadow: 0 8px 20px rgba(240,96,77,.08); }
details.source-review-item.has-warn summary { background: linear-gradient(90deg,#fff8f5,#fff); }
.source-link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.source-link-card { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 16px; box-shadow: var(--shadow); color: var(--ink); min-height: 146px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.source-link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(13,148,148,.35); }
.source-link-card img { width: 34px; height: 34px; border-radius: 9px; object-fit: contain; box-shadow: var(--shadow-s); background: #fff; padding: 4px; }
.source-link-card b { color: var(--navy); font-size: 13.5px; }
.source-link-card span { color: var(--ink-weak); font-size: 11.5px; line-height: 1.55; }
.data-lab-bridge { display: flex; align-items: center; justify-content: space-between; gap: 22px; background: linear-gradient(135deg,#ffffff 0%,#eefafa 52%,#fff7e7 100%); border-color: rgba(13,148,148,.22); }
.data-lab-bridge h2 { color: var(--navy); font-size: 20px; margin: 3px 0 6px; }
.data-lab-bridge p { color: var(--ink-weak); font-size: 13px; max-width: 700px; }

/* ---------- 下層ページヘッダ ---------- */
.page-head { background: var(--grad-hero); border-bottom: 1px solid var(--line); padding: 40px 0 36px; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: linear-gradient(rgba(11,34,57,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,34,57,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(640px 320px at 82% 40%, #000, transparent 75%);
          mask-image: radial-gradient(640px 320px at 82% 40%, #000, transparent 75%); }
.page-head .container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 40px; align-items: center; }
.page-head .page-art { justify-self: end; filter: drop-shadow(0 16px 30px rgba(11,34,57,.15)); animation: floatY 7s ease-in-out infinite; }
.breadcrumbs { font-size: 12px; color: var(--ink-weak); margin-bottom: 12px; }
.breadcrumbs a { color: var(--ink-weak); }
.breadcrumbs a:hover { color: var(--teal-deep); }
.page-head h1 { font-size: 29px; color: var(--navy); font-weight: 900; margin: 8px 0 10px; letter-spacing: .01em; }
.page-head .desc { font-size: 14px; color: var(--ink-weak); max-width: 640px; }

/* ---------- 2カラム ---------- */
.layout-side { display: grid; grid-template-columns: 1fr 304px; gap: 26px; align-items: start; }
.sidebar .card { margin-bottom: 16px; }
.sidebar h4 { font-size: 14px; color: var(--navy); margin-bottom: 10px; font-weight: 800; }

/* ---------- 出典 ---------- */
.source-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.source-list li:last-child { border-bottom: none; }
.source-list .s-name { font-weight: 700; color: var(--navy); }
.source-list .s-meta { font-size: 11.5px; color: var(--ink-weak); white-space: nowrap; }

.quote-excerpt { border-left: 3.5px solid var(--teal); background: var(--teal-bg); border-radius: 0 10px 10px 0; padding: 11px 15px; font-size: 13px; color: var(--navy-2); margin: 9px 0; }
.quote-excerpt .q-src { display: block; font-size: 11px; color: var(--ink-weak); margin-top: 5px; }

/* ---------- ボックス ---------- */
.note-box { background: var(--amber-bg); border: 1px solid #f2dcb2; border-radius: var(--radius-s); padding: 15px 19px; font-size: 13px; color: #7a5a1e; box-shadow: var(--shadow-s); }
.info-box { background: #e9f2fb; border: 1px solid #cbdff2; border-radius: var(--radius-s); padding: 15px 19px; font-size: 13px; color: #2a4a7a; }
.info-strip { display: flex; flex-wrap: wrap; gap: 18px; background: linear-gradient(150deg,#f7fbfc,#eef6f8); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px 19px; font-size: 12.5px; color: var(--ink-weak); }
.info-strip b { color: var(--navy); }

/* ---------- フォーム ---------- */
select, input[type="number"], input[type="search"] { font-family: var(--font); font-size: 14px; border: 1.5px solid var(--line); border-radius: 11px; padding: 11px 13px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
select:focus, input[type="number"]:focus, input[type="search"]:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,196,.14); }
.field label { display: block; font-size: 12.5px; font-weight: 800; color: var(--navy); margin-bottom: 7px; }

/* ---------- 学校比較ジャッジ: 比較対象選択 ---------- */
.compare-picker-section { padding-top: 34px; }
.compare-picker-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13,148,148,.28);
  border-radius: 24px;
  padding: 26px;
  background:
    radial-gradient(680px 260px at 92% 0%, rgba(20,184,196,.24), transparent 62%),
    radial-gradient(520px 220px at 0% 105%, rgba(240,162,49,.18), transparent 64%),
    linear-gradient(135deg, #ffffff 0%, #f0fbfb 56%, #fff8eb 100%);
  box-shadow: var(--shadow-lg);
}
.compare-picker-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11,34,57,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(11,34,57,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.compare-picker-card > * { position: relative; }
.compare-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.compare-picker-head h2 {
  color: var(--navy);
  font-size: 27px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .01em;
}
.compare-picker-head p {
  color: var(--ink-weak);
  font-size: 13.5px;
  max-width: 690px;
  margin-top: 6px;
}
.compare-source-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 260px;
}
.compare-source-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-s);
}
.compare-source-pills img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: contain;
}
.compare-picker-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.compare-select-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(2, minmax(220px, 1fr));
  gap: 14px;
}
.compare-select-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,.94);
  border: 1.5px solid rgba(13,148,148,.22);
  border-radius: 18px;
  padding: 15px;
  box-shadow: var(--shadow);
}
.compare-select-card.is-base {
  grid-template-columns: 50px minmax(0, 1fr);
  border-color: rgba(13,148,148,.58);
  background:
    linear-gradient(135deg, rgba(228,250,248,.98), rgba(255,255,255,.98) 58%),
    #fff;
  box-shadow: 0 18px 42px rgba(13,148,148,.16);
}
.compare-select-card.is-base::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: var(--grad-teal);
}
.compare-select-card.is-base .select-step {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b2239, #0e8b8b);
  font-size: 12px;
  letter-spacing: .04em;
}
.compare-select-card.is-base select {
  border-color: rgba(13,148,148,.42);
  box-shadow: inset 0 0 0 1px rgba(13,148,148,.04);
}
.compare-base-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  border: 1px solid rgba(13,148,148,.24);
  border-radius: 999px;
  padding: 2px 7px;
  background: rgba(13,148,148,.09);
  color: var(--teal-deep);
  font-size: 10.5px;
  font-weight: 900;
  vertical-align: 1px;
}
.compare-select-card.optional {
  border-color: rgba(11,34,57,.14);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-s);
}
.select-step {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--grad-teal);
  font-family: var(--font-num);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(13,148,148,.25);
}
.compare-select-card.optional .select-step {
  background: #edf4f6;
  color: var(--navy);
  border: 1px solid rgba(11,34,57,.08);
  box-shadow: none;
}
.compare-select-card select {
  border-color: rgba(13,148,148,.28);
  font-weight: 800;
  color: var(--navy);
  background-color: #fff;
}

/* ---------- 実データUI: ソースアイコン・学校写真・口コミアコーディオン ---------- */
.src-ico { width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: 5px; display: inline-block; }
.src-ico.lg { width: 20px; height: 20px; border-radius: 5px; }

.school-photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 10px; background: var(--bg-2); }
.school-photo.sm { aspect-ratio: 16/8; }
.school-photo-frame { position: relative; margin-bottom: 10px; }
.school-photo-frame .school-photo { display: block; margin-bottom: 0; }
.photo-source-badge { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; max-width: calc(100% - 20px); min-height: 24px; color: var(--navy); background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.82); border-radius: 999px; padding: 4px 8px; font-size: 10.5px; font-weight: 900; box-shadow: 0 8px 18px rgba(11,34,57,.14); backdrop-filter: blur(8px); }
a.photo-source-badge:hover { color: var(--teal-deep); transform: translateY(-1px); }
.photo-credit { font-size: 10px; color: var(--ink-weak); margin-top: -6px; margin-bottom: 8px; text-align: right; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-s); object-fit: contain; padding: 3px; }

.rev-list { display: flex; flex-direction: column; gap: 8px; }
details.rev-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow-s); overflow: hidden; transition: box-shadow .2s; }
details.rev-item:hover { box-shadow: var(--shadow); }
details.rev-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 13px; }
details.rev-item summary::-webkit-details-marker { display: none; }
details.rev-item summary .r-name { font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
details.rev-item summary .r-stars { color: #f5b731; font-size: 12px; letter-spacing: 1px; white-space: nowrap; }
details.rev-item summary .r-meta { color: var(--ink-weak); font-size: 11.5px; white-space: nowrap; }
details.rev-item summary .r-peek { color: var(--ink-weak); font-size: 12px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
details.rev-item summary .r-arrow { margin-left: auto; color: var(--teal); font-size: 15px; transition: transform .2s; flex-shrink: 0; }
details.rev-item[open] summary .r-arrow { transform: rotate(180deg); }
details.rev-item .r-body { padding: 0 16px 14px 40px; }
details.rev-item .r-body .v-quote { font-size: 13px; }
details.rev-item .r-body .r-tags { margin: 6px 0 8px; }
details.rev-item .r-body .r-foot { font-size: 11px; color: var(--ink-weak); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 8px; }

.mini-stat-row { display: flex; gap: 14px; flex-wrap: wrap; }
.mini-stat { flex: 1; min-width: 120px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow-s); padding: 12px 14px; text-align: center; }
.mini-stat .ms-v { font-family: var(--font-num); font-weight: 800; font-size: 24px; color: var(--navy); line-height: 1.2; }
.mini-stat .ms-l { font-size: 11px; font-weight: 700; color: var(--ink-weak); }

/* ---------- Estimate ---------- */
.estimate-school-note {
  border: 1px solid rgba(13,148,148,.16);
  border-radius: 15px;
  padding: 12px;
  margin: -4px 0 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,251,252,.86));
  box-shadow: var(--shadow-s);
}
.estimate-school-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.estimate-school-line img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  box-shadow: inset 0 0 0 1px rgba(11,34,57,.08), var(--shadow-s);
  flex-shrink: 0;
}
.estimate-average-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #fff;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: var(--shadow-s);
  flex-shrink: 0;
}
.estimate-school-line b { display: block; color: var(--navy); font-size: 13.5px; line-height: 1.2; }
.estimate-school-line span { display: block; color: var(--ink-weak); font-size: 11px; line-height: 1.25; margin-top: 2px; }
.estimate-school-note p { color: var(--ink-weak); font-size: 11.5px; line-height: 1.55; margin-bottom: 8px; }
.estimate-benchmark {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.estimate-benchmark span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(179,120,42,.18);
  color: var(--ink-weak);
  font-size: 11.5px;
  font-weight: 800;
}
.estimate-benchmark span.up { color: var(--coral-deep); background: var(--coral-bg); border-color: rgba(240,96,77,.22); }
.estimate-benchmark span.down { color: var(--green); background: var(--green-bg); border-color: rgba(23,165,111,.2); }
.source-list small { display: inline-block; color: var(--ink-weak); font-size: 10.5px; font-weight: 700; margin-left: 4px; }

/* ---------- Rankings ---------- */
.ranking-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13,148,148,.18);
  border-radius: 24px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(241,251,252,.9)),
    linear-gradient(90deg, rgba(20,184,196,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20,184,196,.08) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  box-shadow: var(--shadow-lg);
}
.ranking-board::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,226,0,.34), rgba(20,184,196,.08) 58%, transparent 70%);
  pointer-events: none;
}
.ranking-board-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}
.ranking-board-head h2 { color: var(--navy); font-size: 25px; margin: 4px 0 6px; }
.ranking-board-head p { color: var(--ink-weak); font-size: 13.5px; max-width: 680px; }
.ranking-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-s);
}
.ranking-source-badge img { width: 22px; height: 22px; border-radius: 7px; padding: 3px; background: #fff; object-fit: contain; }
.ranking-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 3px 0 14px;
}
.ranking-tab {
  border: 1px solid rgba(13,148,148,.18);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255,255,255,.9);
  color: var(--navy);
  font: inherit;
  font-size: 12.5px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: var(--shadow-s);
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.ranking-tab span { margin-right: 6px; }
.ranking-tab:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.ranking-tab.active { color: #fff; background: var(--grad-teal); border-color: transparent; box-shadow: 0 10px 24px rgba(13,148,148,.24); }
.ranking-summary-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.ranking-summary-card {
  border: 1px solid rgba(13,148,148,.15);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  padding: 13px 14px;
  box-shadow: var(--shadow-s);
}
.ranking-summary-card span { display: block; color: var(--ink-weak); font-size: 10.5px; font-weight: 900; letter-spacing: .06em; }
.ranking-summary-card b { display: block; color: var(--navy); font-size: 18px; line-height: 1.35; margin-top: 3px; }
.ranking-summary-card small { display: block; color: var(--ink-weak); font-size: 11px; line-height: 1.45; margin-top: 3px; }
.ranking-main-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}
.ranking-hero-card {
  display: grid;
  grid-template-columns: 86px 190px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  border: 2px solid rgba(13,148,148,.28);
  border-radius: 22px;
  padding: 15px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.ranking-hero-rank {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(160deg, #0b2239, #0d9494);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.ranking-hero-rank span { font-size: 30px; line-height: 1; }
.ranking-hero-rank b { color: #fff; font-family: var(--font-num); font-size: 20px; }
.ranking-hero-rank small { font-size: 10px; font-weight: 900; letter-spacing: .08em; opacity: .82; }
.ranking-hero-photo {
  width: 100%;
  height: 100%;
  min-height: 178px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-s);
}
.ranking-hero-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ranking-school-line { display: flex; gap: 10px; align-items: center; min-width: 0; }
.ranking-school-line img { width: 38px; height: 38px; border-radius: 11px; object-fit: contain; background: #fff; padding: 5px; box-shadow: inset 0 0 0 1px rgba(11,34,57,.08), var(--shadow-s); }
.ranking-school-line h3 { color: var(--navy); font-size: 20px; line-height: 1.25; }
.ranking-school-line p { color: var(--ink-weak); font-size: 12px; line-height: 1.35; }
.ranking-score-xl { display: flex; align-items: baseline; gap: 7px; }
.ranking-score-xl b { color: var(--navy); font-family: var(--font-num); font-size: 38px; line-height: 1; }
.ranking-score-xl span { color: var(--ink-weak); font-size: 12px; font-weight: 900; }
.ranking-hero-body > p { color: var(--ink-weak); font-size: 12.5px; line-height: 1.55; }
.ranking-hero-body .btn { align-self: flex-start; margin-top: auto; padding: 8px 14px; font-size: 12.5px; }
.ranking-list { display: grid; gap: 9px; }
.ranking-row-card {
  display: grid;
  grid-template-columns: 42px 38px minmax(0, 1fr) 78px;
  gap: 11px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 12px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-s);
}
.ranking-row-rank {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--teal-bg);
  color: var(--teal-deep);
  font-weight: 900;
  font-family: var(--font-num);
}
.ranking-row-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; box-shadow: inset 0 0 0 1px rgba(11,34,57,.08); }
.ranking-row-main { min-width: 0; }
.ranking-row-title { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ranking-row-title h3 { color: var(--navy); font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking-row-title span { color: var(--ink-weak); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ranking-row-main p { color: var(--ink-weak); font-size: 11.5px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 2px 0 7px; }
.ranking-bar { height: 7px; border-radius: 999px; background: #edf4f7; overflow: hidden; }
.ranking-bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad-teal); }
.ranking-row-score { text-align: right; }
.ranking-row-score b { display: block; color: var(--navy); font-family: var(--font-num); font-size: 20px; line-height: 1; }
.ranking-row-score small { color: var(--ink-weak); font-size: 10px; font-weight: 900; }
.ranking-more-drawer,
.ranking-table-more-drawer {
  border: 1px solid rgba(13,148,148,.2);
  border-radius: 14px;
  background: linear-gradient(180deg,#f7fcfd,#fff);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.ranking-more-drawer > summary,
.ranking-table-more-drawer > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--teal-deep);
  font-size: 13px;
  font-weight: 900;
}
.ranking-more-drawer > summary::-webkit-details-marker,
.ranking-table-more-drawer > summary::-webkit-details-marker { display: none; }
.ranking-more-drawer > summary::after,
.ranking-table-more-drawer > summary::after {
  content: "v";
  font-family: var(--font-num);
  font-size: 15px;
  line-height: 1;
  transition: transform .2s;
}
.ranking-more-drawer[open] > summary::after,
.ranking-table-more-drawer[open] > summary::after { transform: rotate(180deg); }
.ranking-more-drawer > summary b,
.ranking-table-more-drawer > summary b {
  color: var(--navy);
  font-size: 11px;
  background: #fff;
  border: 1px solid rgba(13,148,148,.18);
  border-radius: 999px;
  padding: 4px 8px;
  white-space: nowrap;
}
.ranking-more-list { display: grid; gap: 9px; padding: 0 10px 10px; }
.ranking-insight {
  position: sticky;
  top: 84px;
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(160deg, #0b2239, #143c58);
  color: #d6edf5;
  box-shadow: var(--shadow-lg);
}
.ranking-insight .section-kicker { color: #75dfe0; }
.ranking-insight h3 { color: #fff; font-size: 18px; margin: 4px 0 10px; }
.ranking-insight p { font-size: 12.5px; line-height: 1.65; color: #d6edf5; }
.ranking-insight p b { color: #fff; }
.ranking-insight-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.13);
  margin-top: 12px;
  padding-top: 12px;
  font-size: 12px;
}
.ranking-insight-line span { color: #9bc5d5; }
.ranking-insight-line b { color: #fff; font-family: var(--font-num); }
.ranking-small-note { color: #a9cede !important; font-size: 11.5px !important; margin-top: 12px; }
.ranking-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: var(--shadow-s); }
.ranking-table-more-drawer { margin-top: 10px; }
.ranking-table-wrap-nested { border-radius: 0; box-shadow: none; border-top: 1px solid rgba(13,148,148,.14); }
.ranking-data-table { min-width: 840px; }
.ranking-footnote { color: var(--ink-weak); font-size: 11.5px; margin-top: 8px; }
.ranking-metric-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.ranking-metric-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow-s);
  font: inherit;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ranking-metric-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(13,148,148,.34); }
.ranking-metric-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--teal-bg);
  color: var(--teal-deep);
  font-weight: 900;
  margin-bottom: 9px;
}
.ranking-metric-card b { display: block; color: var(--navy); font-size: 14px; margin-bottom: 4px; }
.ranking-metric-card small { display: block; color: var(--ink-weak); font-size: 11px; line-height: 1.45; min-height: 46px; }
.ranking-metric-card strong { display: block; color: var(--teal-deep); font-size: 11.5px; line-height: 1.4; margin-top: 9px; }

/* ---------- 口コミ記事メディア ---------- */
.hero-eyecatch--media {
  background:
    linear-gradient(135deg, #fbfefe 0%, #eef8f7 58%, #fff8ec 100%);
  border-color: rgba(8,44,68,.12);
}
.hero-eyecatch--media .eyecatch-bg {
  background-image:
    linear-gradient(90deg, rgba(8,44,68,.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(8,44,68,.045) 1px, transparent 1px),
    radial-gradient(circle at 75% 18%, rgba(20,184,196,.12), transparent 27%),
    radial-gradient(circle at 18% 78%, rgba(255,191,71,.16), transparent 30%);
  background-size: 28px 28px, 28px 28px, cover, cover;
  background-position: center;
}
.hero-eyecatch--media .eyecatch-panel {
  right: 20px;
  top: 104px;
  width: 168px;
  height: 120px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(245,251,250,.78));
  border-color: rgba(8,44,68,.12);
  box-shadow: 0 18px 38px rgba(8,44,68,.12);
}
.hero-eyecatch--media .eyecatch-ticket {
  background: rgba(255,255,255,.94);
  border-color: rgba(20,184,196,.34);
  box-shadow: 0 0 0 4px rgba(20,184,196,.08), 0 18px 40px rgba(8,44,68,.12);
  color: var(--navy);
}
.hero-eyecatch--media .eyecatch-ticket small,
.hero-eyecatch--media .eyecatch-ticket b { color: var(--navy); }
.hero-eyecatch--media .eyecatch-ticket small { color: var(--teal-deep); }
.hero-eyecatch--media .eyecatch-badge {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(8,44,68,.12);
  color: var(--teal-deep);
}
.hero-eyecatch--media .eyecatch-proof {
  width: 268px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(8,44,68,.12);
  box-shadow: 0 18px 42px rgba(8,44,68,.13);
}
.hero-eyecatch--media .eyecatch-proof b {
  color: var(--navy);
  font-size: 22px;
}
.hero-eyecatch--media .eyecatch-proof span {
  color: var(--ink-weak);
}
.eyecatch-note-stack {
  position: absolute;
  right: 16px;
  bottom: 18px;
  display: grid;
  gap: 7px;
  width: 138px;
  z-index: 3;
}
.eyecatch-note-stack span {
  display: block;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.86);
  border-left: 4px solid var(--amber);
  border-radius: 11px;
  box-shadow: 0 10px 22px rgba(11,34,57,.15);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.2;
  padding: 8px 9px;
  transform: rotate(-2deg);
}
.eyecatch-note-stack span:nth-child(2) {
  border-left-color: var(--teal);
  transform: translateX(-14px) rotate(1.5deg);
}
.eyecatch-note-stack span:nth-child(3) {
  border-left-color: var(--coral);
  transform: translateX(-4px) rotate(-1deg);
}
.media-head .desc { max-width: 680px; }
.media-source-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.media-source-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-s);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 11px;
}
.media-source-strip b { font-family: var(--font-num); font-size: 14px; }
.media-section { padding-top: 36px; }
.media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.media-featured {
  background: linear-gradient(135deg, #fff 0%, #f4fbfb 62%, #fff6e7 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(238px, 38%) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  overflow: hidden;
  padding: 20px;
  position: relative;
}
.media-featured::after {
  content: "";
  position: absolute;
  inset: auto -80px -110px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 42px solid rgba(20,184,196,.12);
  pointer-events: none;
}
.media-featured > * {
  position: relative;
  z-index: 1;
}
.media-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 142px;
  border-radius: 14px;
  border: 1px solid rgba(8,44,68,.12);
  background:
    linear-gradient(135deg, #ffffff 0%, #f5fbfb 58%, #fff9ee 100%);
  box-shadow: var(--shadow-s);
  isolation: isolate;
}
.media-thumb:hover { transform: translateY(-2px); }
.media-thumb::after {
  content: "REVIEW";
  position: absolute;
  right: -18px;
  bottom: 4px;
  color: rgba(8,44,68,.055);
  font-family: var(--font-num);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  transform: rotate(-8deg);
  z-index: 0;
}
.media-thumb::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 7px;
  border-radius: 999px;
  background: rgba(20,184,196,.2);
  pointer-events: none;
  z-index: 0;
}
.media-thumb span {
  position: absolute;
  inset: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--navy);
}
.media-thumb small {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(8,44,68,.12);
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 10px;
  padding: 4px 8px;
}
.media-thumb b {
  display: block;
  color: var(--navy);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  text-shadow: none;
}
.media-thumb em {
  display: block;
  max-width: 180px;
  color: var(--ink-weak);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.55;
  margin-top: 10px;
}
.media-featured .media-thumb {
  width: 100%;
  height: 174px;
  min-height: 0;
  aspect-ratio: auto;
}
.media-thumb--life { background: linear-gradient(135deg, #fff 0%, #f7fbfb 58%, #fff6ee 100%); }
.media-thumb--qq { background: linear-gradient(135deg, #fff 0%, #f5fbfc 60%, #eef8fb 100%); }
.media-thumb--compare { background: linear-gradient(135deg, #fff 0%, #fff8ec 58%, #f8fbfb 100%); }
.media-thumb--source { background: linear-gradient(135deg, #fff 0%, #f5fbf7 58%, #f5f8fb 100%); }
.media-thumb--life::before { background: rgba(228,81,69,.2); }
.media-thumb--qq::before { background: rgba(20,184,196,.2); }
.media-thumb--compare::before { background: rgba(255,191,71,.28); }
.media-thumb--source::before { background: rgba(114,194,111,.22); }
.media-thumb--life small { color: #a9443b; }
.media-thumb--qq small { color: var(--teal-deep); }
.media-thumb--compare small { color: #8a5a0c; }
.media-thumb--source small { color: #35783d; }
.media-thumb--life b { color: var(--navy); }
.media-thumb--qq b { color: #075f67; }
.media-thumb--compare b { color: #7b4b06; }
.media-thumb--source b { color: #235f37; }
.media-thumb--qq span,
.media-thumb--source span {
  text-align: right;
  align-items: flex-end;
}
.media-label-row,
.media-card-meta,
.article-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-weak);
  font-size: 12px;
  font-weight: 800;
}
.media-category {
  color: var(--teal-deep);
  background: var(--teal-bg);
  border-radius: 999px;
  padding: 4px 10px;
}
.media-featured h2 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 12px 0 10px;
  max-width: 760px;
}
.media-featured h2 a { color: inherit; }
.media-featured p {
  color: var(--ink-weak);
  font-size: 14px;
  max-width: 760px;
}
.media-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.media-proof-row span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}
.media-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.media-list--home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.media-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-s);
  padding: 19px 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.media-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.media-card .media-thumb {
  margin: -3px -4px 14px;
  height: 178px;
  min-height: 0;
  aspect-ratio: auto;
}
.media-card-meta {
  justify-content: space-between;
  margin-bottom: 8px;
}
.media-card-meta span {
  color: var(--teal-deep);
  background: var(--teal-bg);
  border-radius: 999px;
  padding: 3px 9px;
}
.media-card h3 {
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 6px;
}
.media-card h3 a { color: inherit; }
.media-card p { color: var(--ink-weak); font-size: 13px; }
.media-card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.media-card-links a,
.article-next-box a,
.media-topic {
  display: inline-flex;
  align-items: center;
  color: var(--teal-deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  padding: 8px 10px;
}
.media-card-links a:hover,
.article-next-box a:hover,
.media-topic:hover {
  border-color: rgba(13,148,148,.42);
  background: var(--teal-bg);
}
.media-side {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 88px;
}
.media-side-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-s);
  padding: 18px;
}
.media-side-box h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 8px;
}
.media-side-box p { color: var(--ink-weak); font-size: 12.5px; }
.media-total {
  color: var(--navy) !important;
  line-height: 1.1;
  margin: 8px 0;
}
.media-total b {
  font-family: var(--font-num);
  font-size: 46px;
  font-weight: 900;
}
.media-total span {
  color: var(--ink-weak);
  font-size: 13px;
  font-weight: 800;
  margin-left: 4px;
}
.media-topic {
  justify-content: space-between;
  width: 100%;
  margin-top: 7px;
}
.media-topic::after {
  content: ">";
  color: var(--teal-deep);
  font-family: var(--font-num);
}
.media-policy { background: linear-gradient(145deg, #fff, #f6fbfb); }
.article-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 38px 24px 0;
}
.article-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px;
}
.article-body h1 {
  color: var(--navy);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 12px 0 14px;
}
.article-hero-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  margin: 18px 0 20px;
  background: #dff7ff;
  isolation: isolate;
}
.article-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}
.article-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,23,39,.02) 28%, rgba(5,23,39,.74) 100%),
    linear-gradient(110deg, rgba(0,167,197,.28), rgba(255,225,0,.12) 46%, rgba(255,255,255,0) 72%);
  z-index: 1;
}
.article-hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 17px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.34);
}
.article-hero-media .article-hero-copy--right {
  left: auto;
  right: 18px;
  max-width: 430px;
  text-align: right;
}
.article-hero-media .article-hero-copy--center {
  left: 20px;
  right: 20px;
  bottom: 50%;
  width: auto;
  text-align: center;
  transform: translateY(50%);
}
.article-hero-label {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 7px;
  padding: 5px 9px;
  text-shadow: none;
}
.article-hero-media figcaption b {
  display: inline-block;
  max-width: 430px;
  background: rgba(5,23,39,.28);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
  padding: 6px 9px;
}
.article-hero-copy--right b,
.article-hero-copy--center b {
  max-width: none;
}
.article-hero-word {
  display: inline-block;
  color: #fff7b0;
  font-size: 32px;
  line-height: 1.08;
  margin: 0 4px;
  padding: 0 4px 3px;
  position: relative;
  z-index: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.4);
}
.article-hero-word::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,191,71,.64);
  z-index: -1;
}
.article-hero-line {
  display: inline;
  color: #fff;
}
.article-hero-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  background: rgba(255,255,255,.88);
  border-radius: 999px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 6px 10px;
  text-shadow: none;
}
.article-hero-copy--right .article-hero-note { margin-left: auto; }
.article-hero-copy--center .article-hero-note { margin-inline: auto; }
.article-hero-media--qq img { object-position: 48% 42%; }
.article-hero-media--compare img { object-position: 50% 44%; }
.article-hero-media--source img { object-position: 46% 42%; }
.article-title-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(8,44,68,.14);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin: 18px 0 20px;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f4fbfb 58%, #fff8ec 100%);
  isolation: isolate;
}
.article-title-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(8,44,68,.12);
  border-radius: 14px;
  z-index: -1;
}
.article-title-card::after {
  content: attr(aria-label);
  position: absolute;
  right: -28px;
  bottom: -8px;
  color: rgba(8,44,68,.055);
  font-family: var(--font-num);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: .9;
  max-width: 360px;
  text-align: right;
  transform: rotate(-7deg);
  z-index: -1;
}
.title-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(8,44,68,.12);
  border-radius: 999px;
  color: var(--teal-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  padding: 6px 10px;
}
.article-title-card b {
  display: block;
  color: var(--navy);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
  margin-top: 14px;
  max-width: 460px;
}
.article-title-card b span,
.article-title-card b strong {
  display: block;
}
.article-title-card b strong {
  width: fit-content;
  color: var(--navy);
  font-size: 54px;
  line-height: .98;
  margin: 4px 0;
  padding: 0 8px 8px;
  position: relative;
  z-index: 0;
}
.article-title-card b strong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 14px;
  border-radius: 999px;
  background: rgba(20,184,196,.18);
  z-index: -1;
}
.article-title-card small {
  display: inline-flex;
  max-width: 420px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(8,44,68,.12);
  border-radius: 999px;
  color: var(--ink-weak);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  margin-top: 14px;
  padding: 8px 12px;
}
.article-title-card i {
  position: absolute;
  right: 26px;
  top: 26px;
  color: rgba(8,44,68,.3);
  font-family: var(--font-num);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
}
.article-title-card--life { background: linear-gradient(135deg, #fff 0%, #f7fbfb 58%, #fff5ee 100%); }
.article-title-card--qq { background: linear-gradient(135deg, #fff 0%, #f4fbfc 58%, #eef8fb 100%); }
.article-title-card--compare { background: linear-gradient(135deg, #fff 0%, #fff8ec 58%, #f8fbfb 100%); }
.article-title-card--source { background: linear-gradient(135deg, #fff 0%, #f5fbf7 58%, #f5f8fb 100%); }
.article-title-card--life b strong { color: #a9443b; }
.article-title-card--qq b strong { color: #075f67; }
.article-title-card--compare b strong { color: #7b4b06; }
.article-title-card--source b strong { color: #235f37; }
.article-title-card--life b strong::after { background: rgba(228,81,69,.16); }
.article-title-card--qq b strong::after { background: rgba(20,184,196,.18); }
.article-title-card--compare b strong::after { background: rgba(255,191,71,.28); }
.article-title-card--source b strong::after { background: rgba(114,194,111,.2); }
.article-lead {
  color: var(--navy-2);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  border-left: 4px solid var(--teal);
  padding-left: 16px;
}
.article-body section {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 24px;
}
.article-body h2 {
  color: var(--navy);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 10px;
}
.article-body p {
  color: var(--ink);
  font-size: 14.5px;
  margin-top: 10px;
}
.article-data-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}
.article-data-strip span {
  background: var(--teal-bg);
  border: 1px solid rgba(13,148,148,.2);
  border-radius: 12px;
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 900;
  padding: 11px 12px;
}
.article-data-strip b {
  font-family: var(--font-num);
  font-size: 18px;
}
.article-point-grid,
.article-school-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.article-point-grid div,
.article-school-grid a {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.article-point-grid b,
.article-school-grid b {
  display: block;
  color: var(--navy);
  font-size: 14px;
  margin-bottom: 5px;
}
.article-point-grid span,
.article-school-grid span {
  display: block;
  color: var(--ink-weak);
  font-size: 12.5px;
}
.article-list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.article-list li {
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 12px;
}
.article-list li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 8px;
  vertical-align: 1px;
}
.article-next-box {
  background: linear-gradient(135deg, #f6fbfb, #fff8eb);
  border: 1px solid var(--line) !important;
  border-radius: 14px;
  padding: 20px !important;
}
.article-next-box a { margin: 5px 6px 0 0; }
.article-related-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.article-related-grid a {
  display: block;
  margin: 0;
  padding: 13px 14px;
}
.article-related-grid b {
  display: block;
  color: var(--navy);
  font-size: 13.5px;
  line-height: 1.45;
}
.article-related-grid span {
  display: block;
  color: var(--ink-weak);
  font-size: 12px;
  line-height: 1.55;
  margin-top: 4px;
}
.tweet-stack {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.tweet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}
.tweet-comment {
  background: linear-gradient(145deg, #f6fbfb, #fff);
  border: 1px solid rgba(13,148,148,.18);
  border-left: 5px solid var(--teal);
  border-radius: 13px;
  box-shadow: var(--shadow-s);
  padding: 14px 16px;
}
.tweet-comment span {
  display: inline-flex;
  color: var(--teal-deep);
  background: var(--teal-bg);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 7px;
  padding: 3px 9px;
}
.tweet-comment b {
  display: block;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.55;
}
.tweet-comment p {
  color: var(--ink-weak);
  font-size: 12.5px;
  margin-top: 6px;
}
.tweet-comment--blue {
  border-left-color: var(--cyan);
  background: linear-gradient(145deg, #f1f9fd, #fff);
}
.tweet-comment--blue span { background: #e5f5fb; color: #187da0; }
.tweet-comment--amber {
  border-left-color: var(--amber);
  background: linear-gradient(145deg, #fff8eb, #fff);
}
.tweet-comment--amber span { background: var(--amber-bg); color: var(--amber-deep); }
.tweet-comment--danger {
  border-left-color: var(--coral);
  background: linear-gradient(145deg, #fff2ef, #fff);
}
.tweet-comment--danger span { background: var(--coral-bg); color: var(--coral-deep); }
.article-body blockquote.twitter-tweet {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 84px;
  margin: 0 auto !important;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-s);
}
.article-body iframe[id^="twitter-widget-"] {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
}
.article-body blockquote.twitter-tweet a {
  color: var(--teal-deep);
  font-weight: 900;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.article-body blockquote.twitter-tweet a::before {
  content: "X ";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-num);
  font-size: 10px;
  font-weight: 900;
  vertical-align: 1px;
}
.source-reading-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 12px;
  padding: 12px 14px;
}
.source-reading-card b {
  color: var(--navy);
  font-size: 13px;
}
.source-reading-card span {
  color: var(--ink-weak);
  font-size: 12.5px;
}

/* ---------- スクロールアニメーション ---------- */
.pre { opacity: 0; transform: translateY(22px); }
.in-view { opacity: 1; transform: translateY(0); transition: opacity .7s cubic-bezier(.22,.8,.3,1), transform .7s cubic-bezier(.22,.8,.3,1); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .hero .container, .page-head .container { grid-template-columns: 1fr; }
  .hero .container > *, .page-head .container > * { min-width: 0; }
  .hero-art, .page-head .page-art { display: none; }
  .hero-eyecatch { justify-self: start; width: min(100%, 440px); height: 326px; margin-top: 10px; }
  .page-head .hero-eyecatch { justify-self: start; width: min(100%, 420px); height: 266px; }
  .grid-3, .grid-4, .grid-5, .cta-grid, .source-link-grid { grid-template-columns: 1fr 1fr; }
  .grid-2, .layout-side, .footer-grid { grid-template-columns: 1fr; }
  .compare-picker-head, .compare-picker-body { grid-template-columns: 1fr; display: grid; }
  .compare-source-pills { justify-content: flex-start; min-width: 0; }
  .compare-select-grid { grid-template-columns: 1fr; }
  .ranking-board-head, .ranking-main-layout { grid-template-columns: 1fr; }
  .ranking-source-badge { justify-self: start; }
  .ranking-summary-grid { grid-template-columns: 1fr; }
  .ranking-hero-card { grid-template-columns: 78px 150px minmax(0, 1fr); }
  .ranking-insight { position: static; }
  .ranking-metric-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-layout { grid-template-columns: 1fr; }
  .media-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-policy { grid-column: 1 / -1; }
  .media-featured h2 { font-size: 23px; }
  .media-list--home { grid-template-columns: 1fr; }
  .tweet-grid { grid-template-columns: 1fr; }
  .article-body h1 { font-size: 27px; }
  .intel-head, .intel-main-grid { grid-template-columns: 1fr; display: grid; }
  .source-stack { justify-content: flex-start; max-width: none; }
  .intel-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-ledger { grid-template-rows: repeat(2, 146px); grid-auto-columns: minmax(156px, 176px); }
  .cebu-summary-board { grid-template-columns: 1fr; }
  .school-results { grid-template-columns: 1fr; }
  .source-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .global-nav { display: none; }
  .hero h1 { font-size: 28px; }
  .page-head h1 { font-size: 24px; }
}
@media (max-width: 560px) {
  html, body { overflow-x: hidden; }
  .container { padding: 0 20px; }
  .mobile-only-br { display: block; }
  .hero .container, .page-head .container { width: 100%; max-width: 100%; overflow: hidden; }
  .hero .container > *, .page-head .container > * { width: 100%; max-width: calc(100vw - 40px); }
  .hero { padding: 52px 0 44px; }
  .hero h1 { font-size: 27px; line-height: 1.42; word-break: break-all; overflow-wrap: anywhere; }
  .hero .lead, .page-head .desc { width: 100%; max-width: calc(100vw - 40px); font-size: 13.5px; word-break: break-all; overflow-wrap: anywhere; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 20px; }
  .trust-item { font-size: 12px; gap: 7px; }
  .trust-item .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
  .search-box { display: grid; grid-template-columns: 1fr; width: calc(100vw - 40px); max-width: calc(100vw - 40px); gap: 8px; }
  .search-box .btn { width: 100%; }
  .popular-chips { gap: 7px; }
  .grid-3, .grid-4, .grid-5, .cta-grid, .source-link-grid { grid-template-columns: 1fr; }
  .compare-picker-card { padding: 18px; border-radius: 20px; }
  .compare-picker-head h2 { font-size: 22px; }
  .compare-picker-head p { font-size: 13px; }
  .compare-source-pills { gap: 6px; }
  .compare-source-pills span { font-size: 11px; padding: 6px 9px; }
  .page-head h1, .compare-picker-head h2 { word-break: break-all; overflow-wrap: anywhere; }
  .compare-picker-head, .compare-picker-body, .compare-select-grid, .compare-select-card, .compare-select-card .field { min-width: 0; }
  .compare-select-card { grid-template-columns: 34px minmax(0, 1fr); padding: 12px; border-radius: 15px; }
  .compare-select-card.is-base { grid-template-columns: 34px minmax(0, 1fr); }
  .compare-select-card select { min-width: 0; font-size: 13.5px; }
  .select-step { width: 34px; height: 34px; border-radius: 11px; font-size: 15px; }
  .compare-select-card.is-base .select-step { width: 34px; height: 34px; border-radius: 11px; font-size: 10px; }
  .compare-base-tag { margin-left: 4px; padding: 1px 6px; font-size: 10px; }
  .ranking-board { padding: 18px; border-radius: 20px; }
  .ranking-board-head h2 { font-size: 22px; }
  .ranking-source-badge { width: 100%; align-items: flex-start; border-radius: 16px; }
  .ranking-tabs { margin-right: 0; padding-right: 0; }
  .ranking-tab { font-size: 12px; padding: 7px 10px; }
  .ranking-hero-card { grid-template-columns: 1fr; gap: 12px; }
  .ranking-hero-rank { min-height: 72px; flex-direction: row; }
  .ranking-hero-photo { min-height: 156px; aspect-ratio: 16 / 8; }
  .ranking-score-xl b { font-size: 34px; }
  .ranking-row-card { grid-template-columns: 34px 32px minmax(0, 1fr); }
  .ranking-row-score { grid-column: 3; text-align: left; display: flex; align-items: baseline; gap: 4px; }
  .ranking-row-title { display: block; }
  .ranking-row-title h3, .ranking-row-title span, .ranking-row-main p { white-space: normal; }
  .ranking-metric-cards { grid-template-columns: 1fr; }
  .ranking-metric-card small { min-height: 0; }
  .media-side { grid-template-columns: 1fr; }
  .media-featured {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .media-thumb {
    min-height: 132px;
    border-radius: 12px;
  }
  .media-featured .media-thumb,
  .media-card .media-thumb { height: 160px; }
  .media-thumb span { inset: 16px; }
  .media-thumb b { font-size: 27px; }
  .media-thumb em {
    max-width: 220px;
    font-size: 10.5px;
    margin-top: 8px;
  }
  .media-featured h2,
  .media-card h3,
  .article-body h1 { word-break: break-all; overflow-wrap: anywhere; }
  .media-featured h2 { font-size: 20px; }
  .media-card h3 { font-size: 16px; }
  .article-shell { padding: 26px 18px 0; }
  .article-body { padding: 23px 20px; }
  .article-body h1 { font-size: 23px; }
  .article-lead { font-size: 14px; }
  .article-hero-media {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    margin: 16px 0 18px;
  }
  .article-hero-media figcaption {
    left: 14px;
    right: 14px;
    bottom: 13px;
  }
  .article-hero-media .article-hero-copy--right {
    left: 14px;
    right: 14px;
    max-width: none;
  }
  .article-hero-media .article-hero-copy--center {
    left: 14px;
    right: 14px;
    bottom: 50%;
    width: auto;
  }
  .article-hero-label { font-size: 9px; padding: 4px 8px; }
  .article-hero-media figcaption b { font-size: 15px; max-width: 96%; }
  .article-hero-word { font-size: 24px; }
  .article-hero-note { font-size: 10px; padding: 5px 8px; }
  .article-title-card {
    aspect-ratio: auto;
    min-height: 228px;
    border-radius: 16px;
    margin: 16px 0 18px;
    padding: 21px 19px;
  }
  .article-title-card::before { inset: 11px; border-radius: 12px; }
  .article-title-card::after {
    right: -18px;
    bottom: 4px;
    font-size: 38px;
    max-width: 230px;
  }
  .title-card-kicker {
    font-size: 9px;
    letter-spacing: .08em;
    padding: 5px 8px;
  }
  .article-title-card b {
    font-size: 20px;
    margin-top: 12px;
    max-width: 100%;
  }
  .article-title-card b strong {
    font-size: 39px;
    padding: 0 6px 7px;
  }
  .article-title-card small {
    border-radius: 14px;
    font-size: 10.5px;
    margin-top: 11px;
    max-width: 100%;
    padding: 7px 9px;
  }
  .article-title-card i {
    right: 16px;
    top: 18px;
    font-size: 9px;
  }
  .article-data-strip,
  .article-point-grid,
  .article-school-grid { grid-template-columns: 1fr; }
  .source-reading-card { grid-template-columns: 1fr; gap: 4px; }
  .tweet-comment { padding: 13px; }
  .article-body blockquote.twitter-tweet { padding: 14px; }
  .media-source-strip span { width: 100%; justify-content: space-between; }
  .hero-eyecatch { width: calc(100vw - 40px); max-width: calc(100vw - 40px); height: 286px; border-radius: 26px; }
  .page-head .hero-eyecatch { height: 238px; }
  .eyecatch-badge { left: 14px; top: 14px; padding: 7px 10px; font-size: 10px; }
  .eyecatch-ticket,
  .hero-eyecatch--poster .eyecatch-ticket,
  .page-head .hero-eyecatch--poster .eyecatch-ticket { display: none; }
  .eyecatch-note-stack { display: none; }
  .eyecatch-proof { left: 14px; right: 14px; bottom: 14px; width: auto; padding: 13px 14px; border-radius: 18px; }
  .eyecatch-proof b { font-size: 16px; }
  .eyecatch-phone { display: none; }
  .hero-eyecatch--poster .eyecatch-panel {
    top: 58px;
    right: 14px;
    width: 118px;
    height: 86px;
    border-radius: 14px;
    transform: rotate(-4deg);
  }
  .hero-eyecatch--poster .eyecatch-panel::before {
    left: 10px;
    top: 9px;
    width: 30px;
    height: 5px;
    box-shadow: 38px 0 0 var(--poster-accent-2), 76px 0 0 var(--poster-accent-3);
  }
  .hero-eyecatch--poster .eyecatch-panel::after {
    left: 10px;
    bottom: 9px;
    font-size: 6.8px;
    padding: 4px 6px;
  }
  .page-head .hero-eyecatch--poster .eyecatch-panel {
    top: 52px;
    right: 14px;
    width: 122px;
    height: 72px;
    border-radius: 13px;
  }
  .page-head .hero-eyecatch--poster .eyecatch-panel::before {
    left: 8px;
    top: 8px;
    width: 26px;
    height: 4px;
    box-shadow: 34px 0 0 var(--poster-accent-2), 68px 0 0 var(--poster-accent-3);
  }
  .page-head .hero-eyecatch--poster .eyecatch-panel::after {
    left: 8px;
    bottom: 8px;
    font-size: 6.2px;
    padding: 3px 6px;
  }
  .hero-eyecatch--poster .eyecatch-source-card { top: 58px; right: 14px; bottom: auto; }
  .eyecatch-source-card { right: 14px; bottom: 14px; gap: 6px; padding: 8px 9px; border-radius: 14px; }
  .eyecatch-source-card img { width: 26px; height: 26px; border-radius: 8px; padding: 4px; }
  .eyecatch-plane { right: 24px; top: 68px; font-size: 26px; }
  .intel-board { padding: 18px; }
  .intel-stat-grid, .signal-board, .cebu-summary-board { grid-template-columns: 1fr; }
  .photo-ledger { grid-template-columns: none; grid-template-rows: repeat(2, 132px); grid-auto-columns: minmax(142px, 68vw); gap: 9px; padding-bottom: 10px; }
  .photo-tile { min-height: 132px; }
  .mini-review summary { grid-template-columns: 54px 82px 1fr; gap: 6px; }
  .review-control-bar { display: block; }
  .review-control-bar label { margin-top: 10px; }
  .review-control-bar select { width: 100%; }
  .data-lab-bridge { display: block; }
  .data-lab-bridge .btn { margin-top: 14px; }
  details.rev-item summary { display: grid; grid-template-columns: 20px 1fr auto; }
  details.rev-item summary .r-stars,
  details.rev-item summary .r-meta,
  details.rev-item summary .r-peek { grid-column: 2 / 4; }
details.rev-item .r-body { padding-left: 16px; }
}

/* ---------- 口コミ記事メディア: editorial refresh ---------- */
.media-head--editorial {
  background: #fff;
  border-bottom: 1px solid rgba(11,34,57,.1);
  padding: 68px 0 48px;
}
.media-head--editorial .media-editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 72px;
  align-items: end;
}
.media-head--editorial h1 {
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 16px 0 20px;
}
.media-head--editorial .desc {
  max-width: 760px;
  color: var(--navy-2);
  font-size: 16px;
  line-height: 2;
}
.media-head--editorial .breadcrumbs {
  margin-bottom: 32px;
}
.media-head--editorial .section-kicker {
  color: var(--navy);
  letter-spacing: .22em;
}
.media-hero-tags {
  border-top: 2px solid var(--navy);
  padding-top: 16px;
}
.media-hero-tags .section-kicker {
  color: var(--ink-weak);
  margin-bottom: 12px;
}
.media-hero-tags a {
  display: grid;
  grid-template-columns: minmax(86px, .72fr) minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  border-bottom: 1px solid rgba(11,34,57,.12);
  color: var(--navy);
  padding: 16px 0;
}
.media-hero-tags a:hover b {
  color: var(--teal-deep);
}
.media-hero-tags b {
  display: block;
  color: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}
.media-hero-tags small {
  color: var(--ink-weak);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
.media-head--editorial .media-source-strip {
  gap: 10px;
  margin-top: 26px;
}
.media-head--editorial .media-source-strip span {
  border-radius: 0;
  box-shadow: none;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(11,34,57,.12);
  background: transparent;
}
.media-editorial-shell {
  max-width: 1120px;
}
.media-section--editorial {
  padding-top: 56px;
}
.media-layout--editorial {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 56px;
}
.media-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 24px;
  padding-bottom: 13px;
}
.media-section-title span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}
.media-section-title h2 {
  color: rgba(11,34,57,.34);
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.media-featured--editorial,
.media-list--editorial .media-card {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(11,34,57,.12);
  border-radius: 0;
  box-shadow: none;
  padding: 0 0 28px;
}
.media-featured--editorial {
  margin-bottom: 0;
}
.media-featured--editorial::after,
.media-card::after {
  display: none;
}
.media-list--editorial {
  gap: 0;
  margin-top: 0;
}
.media-list--editorial .media-card {
  padding: 28px 0;
  transition: none;
}
.media-list--editorial .media-card:hover {
  border-color: rgba(11,34,57,.18);
  box-shadow: none;
  transform: none;
}
.media-featured--editorial .media-thumb,
.media-list--editorial .media-card .media-thumb {
  width: 100%;
  height: 174px;
  min-height: 174px;
  aspect-ratio: auto;
  margin: 0;
}
.media-thumb {
  border-color: rgba(11,34,57,.14);
  border-radius: 0;
  box-shadow: none;
  background: #f8faf9;
}
.media-thumb:hover {
  transform: none;
}
.media-thumb::before {
  left: 0;
  right: auto;
  top: 0;
  bottom: 0;
  width: 6px;
  height: auto;
  border-radius: 0;
  background: var(--teal);
}
.media-thumb::after {
  right: 10px;
  bottom: 8px;
  color: rgba(11,34,57,.07);
  font-size: 44px;
  transform: none;
}
.media-thumb span {
  inset: 20px 16px 18px 22px;
  align-items: flex-start;
  text-align: left;
}
.media-thumb small {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink-weak);
  font-size: 9px;
  letter-spacing: .14em;
  margin-bottom: 18px;
  max-width: 100%;
  padding: 0;
}
.media-thumb b {
  color: var(--navy) !important;
  font-size: 34px;
  line-height: 1.05;
  white-space: nowrap;
  word-break: keep-all;
}
.media-thumb em {
  max-width: 100%;
  color: var(--navy-2);
  font-size: 11px;
  line-height: 1.7;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.media-thumb--life { background: #fbf7f3; }
.media-thumb--qq { background: #f4fafb; }
.media-thumb--compare { background: #fbf8ef; }
.media-thumb--source { background: #f4faf5; }
.media-thumb--life::before { background: #c95f55; }
.media-thumb--qq::before { background: #0e8b8b; }
.media-thumb--compare::before { background: #d99b2b; }
.media-thumb--source::before { background: #5ca464; }
.media-label-row,
.media-card-meta,
.article-meta-top {
  color: var(--ink-weak);
  font-size: 12px;
  gap: 10px;
}
.media-category,
.media-card-meta span {
  background: transparent;
  border-radius: 0;
  color: var(--teal-deep);
  padding: 0;
}
.media-featured h2 {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.48;
  margin: 10px 0 12px;
}
.media-featured p,
.media-card p {
  color: var(--navy-2);
  line-height: 1.85;
}
.media-card h3 {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 8px;
}
.media-proof-row span,
.media-card-links a,
.article-next-box a,
.media-topic {
  border-radius: 0;
  box-shadow: none;
}
.media-proof-row {
  margin: 18px 0 20px;
}
.media-featured--editorial .btn {
  border-radius: 0;
  padding-inline: 18px;
}
.media-side {
  gap: 28px;
  top: 92px;
}
.media-side-box {
  border: 0;
  border-top: 2px solid var(--navy);
  border-radius: 0;
  box-shadow: none;
  padding: 16px 0 0;
}
.media-side-box h3 {
  font-size: 18px;
  margin: 8px 0 10px;
}
.media-side-box p {
  color: var(--navy-2);
  font-size: 13px;
  line-height: 1.9;
}
.media-topic {
  border: 0;
  border-bottom: 1px solid rgba(11,34,57,.12);
  background: transparent;
  color: var(--navy);
  display: block;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 0;
  padding: 13px 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: keep-all;
}
.media-topic:hover {
  background: transparent;
  border-color: rgba(11,34,57,.22);
  color: var(--teal-deep);
}
.media-topic::after {
  content: none;
}
.media-policy {
  background: transparent;
}
.article-shell {
  max-width: 760px;
  padding-top: 48px;
}
.article-body {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 34px 34px;
}
.article-body h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.36;
  margin: 18px 0 22px;
}
.article-title-card {
  aspect-ratio: auto;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(11,34,57,.16);
  border-radius: 0;
  box-shadow: none;
  margin: 28px 0 28px;
  padding: 42px 46px;
  background: #fbfaf6;
}
.article-title-card::before {
  inset: 18px;
  border: 0;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid rgba(11,34,57,.16);
  border-radius: 0;
}
.article-title-card::after {
  right: 24px;
  bottom: 20px;
  color: rgba(11,34,57,.06);
  font-size: 42px;
  max-width: 300px;
  transform: none;
}
.title-card-kicker {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--ink-weak);
  font-size: 11px;
  letter-spacing: .2em;
  padding: 0;
}
.article-title-card b {
  color: var(--navy);
  font-size: clamp(30px, 5.5vw, 56px);
  line-height: 1.08;
  margin-top: 20px;
  max-width: 560px;
}
.article-title-card b strong {
  color: var(--navy) !important;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
}
.article-title-card b strong::after {
  left: 0;
  right: 0;
  bottom: .08em;
  height: .23em;
  border-radius: 0;
  background: rgba(14,139,139,.16) !important;
}
.article-title-card small {
  width: fit-content;
  max-width: 480px;
  background: transparent;
  border: 0;
  border-left: 4px solid var(--teal);
  border-radius: 0;
  color: var(--navy-2);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 22px;
  padding: 0 0 0 12px;
}
.article-title-card i {
  right: 26px;
  top: 34px;
  color: rgba(11,34,57,.35);
  font-size: 10px;
  letter-spacing: .22em;
}
.article-title-card--life { background: #fbf7f3; }
.article-title-card--qq { background: #f4fafb; }
.article-title-card--compare { background: #fbf8ef; }
.article-title-card--source { background: #f4faf5; }
.article-title-card--life b strong::after { background: rgba(201,95,85,.18) !important; }
.article-title-card--qq b strong::after { background: rgba(14,139,139,.16) !important; }
.article-title-card--compare b strong::after { background: rgba(217,155,43,.22) !important; }
.article-title-card--source b strong::after { background: rgba(92,164,100,.18) !important; }

@media (max-width: 760px) {
  .media-head--editorial {
    padding: 42px 0 34px;
  }
  .media-head--editorial .media-editorial-hero,
  .media-layout--editorial,
  .media-featured--editorial,
  .media-list--editorial .media-card {
    grid-template-columns: 1fr;
  }
  .media-head--editorial .media-editorial-hero {
    gap: 34px;
  }
  .media-head--editorial h1 {
    font-size: 39px;
    line-height: 1.16;
  }
  .media-head--editorial .desc {
    font-size: 14px;
    line-height: 1.9;
  }
  .media-hero-tags a {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .media-section--editorial {
    padding-top: 34px;
  }
  .media-section-title {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }
  .media-featured--editorial,
  .media-list--editorial .media-card {
    gap: 16px;
    padding-bottom: 26px;
  }
  .media-list--editorial .media-card {
    padding-top: 26px;
  }
  .media-featured--editorial .media-thumb,
  .media-list--editorial .media-card .media-thumb {
    height: auto;
    min-height: 176px;
    aspect-ratio: 16 / 9;
  }
  .media-thumb b {
    font-size: 30px;
  }
  .media-featured h2,
  .media-card h3 {
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .media-featured h2 {
    font-size: 24px;
  }
  .media-card h3 {
    font-size: 19px;
  }
  .media-side {
    position: static;
  }
  .article-shell {
    padding: 34px 18px 0;
  }
  .article-body {
    padding: 0 0 28px;
  }
  .article-title-card {
    min-height: 282px;
    margin: 24px 0;
    padding: 34px 26px;
  }
  .article-title-card::before {
    inset: 13px;
  }
  .article-title-card::after {
    right: 14px;
    bottom: 14px;
    font-size: 28px;
    max-width: 170px;
  }
  .article-title-card b {
    font-size: 35px;
    line-height: 1.12;
  }
  .article-title-card small {
    font-size: 12px;
    margin-top: 18px;
  }
  .article-title-card i {
    right: 18px;
    top: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art, .page-head .page-art, .hero-eyecatch { animation: none; }
  .pre { opacity: 1; transform: none; }
}
