/* ===========================
   レンタルサーバー比較サイト
   共通スタイルシート
   =========================== */

/* === リセット & ベース === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0a2540;
  --navy-light: #0d3060;
  --navy-dark: #061a2e;
  --teal: #00c2a8;
  --teal-light: #00dfc4;
  --teal-dark: #009e88;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #adb5bd;
  --gray-700: #495057;
  --gray-900: #212529;
  --gold: #f59e0b;
  --silver: #94a3b8;
  --bronze: #cd7c4c;
  --red: #ef4444;
  --green: #10b981;
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  background: var(--gray-100);
  color: var(--gray-900);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal);
}

ul { list-style: none; }

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

/* === ヘッダー === */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--teal);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.05em;
}

/* === グローバルナビ === */
.global-nav { display: flex; align-items: center; gap: 4px; }

.global-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.global-nav a:hover,
.global-nav a.active {
  background: rgba(0,194,168,0.15);
  color: var(--teal);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.mobile-menu {
  display: none;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.mobile-menu a:hover {
  background: rgba(0,194,168,0.1);
  color: var(--teal);
}

/* === フッター === */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.footer-brand .logo-text { color: var(--white); }

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  margin-top: 12px;
  color: rgba(255,255,255,0.55);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.affiliate-notice {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* === ボタン === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-base);
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 4px 16px rgba(0,194,168,0.35);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,194,168,0.5);
  color: var(--navy);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  padding: 12px 24px;
  font-size: 14px;
}

.btn-secondary:hover {
  background: var(--teal);
  color: var(--navy);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 17px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* CTAボタン（アフィリエイト申し込み）*/
.cta-btn {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white) !important;
  padding: 18px 36px;
  font-size: 17px;
  font-weight: 800;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 24px rgba(0,194,168,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,194,168,0.55);
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  color: var(--white) !important;
}

.cta-btn .arrow { font-size: 20px; }

/* === セクション共通 === */
.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  background: rgba(0,194,168,0.12);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,194,168,0.25);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto;
}

/* === ヒーローセクション === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #0d4060 100%);
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,194,168,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,194,168,0.15);
  border: 1px solid rgba(0,194,168,0.3);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(26px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-title .accent {
  color: var(--teal);
  display: block;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--teal);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* === ランキングカード === */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ranking-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.ranking-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.ranking-card.rank-1 { border-color: var(--gold); }
.ranking-card.rank-2 { border-color: var(--silver); }
.ranking-card.rank-3 { border-color: var(--bronze); }

.rank-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 900;
  flex-shrink: 0;
}

.rank-1 .rank-badge { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #7c3c00; }
.rank-2 .rank-badge { background: linear-gradient(135deg, #d1d5db, #94a3b8); color: #374151; }
.rank-3 .rank-badge { background: linear-gradient(135deg, #d97706, #cd7c4c); color: #fff; }
.rank-badge.other { background: var(--gray-200); color: var(--gray-700); font-size: 18px; }

.rank-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}

.rank-info h3 a { color: var(--navy); }
.rank-info h3 a:hover { color: var(--teal-dark); }

.rank-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.rank-meta .price { font-weight: 700; color: var(--teal-dark); font-size: 14px; }

.rank-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(0,194,168,0.1);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 20px;
  border: 1px solid rgba(0,194,168,0.2);
}

.tag.navy {
  background: rgba(10,37,64,0.07);
  color: var(--navy);
  border-color: rgba(10,37,64,0.15);
}

.rank-cta { text-align: right; min-width: 150px; }

.rank-score {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  justify-content: flex-end;
}

.stars { color: var(--gold); font-size: 16px; letter-spacing: -1px; }

.score-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

/* === 比較テーブル === */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.compare-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 13.5px;
}

.compare-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.compare-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.compare-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}

.compare-table th.sortable:hover { background: var(--navy-light); }

.sort-icon { font-size: 10px; color: var(--teal); margin-left: 4px; }

.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tr:nth-child(even) td { background: var(--gray-100); }

.compare-table tr:hover td { background: rgba(0,194,168,0.04); }

.server-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.server-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  color: var(--white);
}

.server-link { font-weight: 700; color: var(--navy); }
.server-link:hover { color: var(--teal-dark); }

.cell-price { font-weight: 700; color: var(--teal-dark); }

.cell-score { display: flex; align-items: center; gap: 4px; }
.cell-score .stars { font-size: 13px; }
.cell-score .score { font-weight: 700; font-size: 14px; color: var(--navy); }

.check { color: var(--teal); font-size: 16px; font-weight: 700; }
.cross { color: var(--gray-500); font-size: 14px; }

.btn-table {
  background: var(--teal);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: inline-block;
  transition: all var(--transition);
}

.btn-table:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  color: var(--navy);
}

/* === カテゴリカード === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}

.category-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.category-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.category-card p {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* === ページヒーロー（個別ページ） === */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 56px 0 48px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { font-size: 10px; }
.breadcrumb .current { color: rgba(255,255,255,0.85); }

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.server-title-wrap { }

.server-tag {
  display: inline-block;
  background: rgba(0,194,168,0.18);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0,194,168,0.3);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.server-h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
}

.server-copy {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 560px;
}

.hero-score-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  text-align: center;
  flex-shrink: 0;
}

.score-big {
  font-size: 52px;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  display: block;
}

.score-stars { color: var(--gold); font-size: 22px; letter-spacing: 2px; margin: 6px 0; }

.score-label { font-size: 12px; color: rgba(255,255,255,0.55); }

/* === レビューコンテンツ === */
.review-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}

.review-main { }

.review-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  border-top: 4px solid var(--teal);
}

.sidebar-box h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-plan {
  font-size: 13px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-plan:last-child { border-bottom: none; margin-bottom: 0; }

.plan-name { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.plan-price { color: var(--teal-dark); font-size: 16px; font-weight: 800; }
.plan-price span { font-size: 12px; font-weight: 400; color: var(--gray-700); }

/* === スコアバー === */
.score-bars { }

.score-bar-item {
  margin-bottom: 14px;
}

.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.score-bar-label .val { color: var(--teal-dark); }

.score-bar-track {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 4px;
  transition: width 1s ease;
}

/* === メリット・デメリット === */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.pros-box, .cons-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pros-box { border-top: 4px solid var(--green); }
.cons-box { border-top: 4px solid var(--red); }

.pros-box h3, .cons-box h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pros-box h3 { color: var(--green); }
.cons-box h3 { color: var(--red); }

.pros-box li, .cons-box li {
  font-size: 14px;
  color: var(--gray-900);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  gap: 8px;
  line-height: 1.5;
}

.pros-box li:last-child, .cons-box li:last-child { border-bottom: none; }

.pros-box li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.cons-box li::before { content: '×'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* === こんな人におすすめ === */
.recommend-box {
  background: linear-gradient(135deg, rgba(10,37,64,0.04), rgba(0,194,168,0.05));
  border: 1px solid rgba(0,194,168,0.2);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 28px 0;
}

.recommend-box h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.recommend-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,194,168,0.12);
  line-height: 1.5;
}

.recommend-list li:last-child { border-bottom: none; }

.recommend-list li::before { content: '👍'; flex-shrink: 0; }

/* === CTA バナー === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,194,168,0.1), transparent 70%);
}

.cta-banner h2 {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
  font-size: 14px;
}

.cta-note {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 14px;
}

/* === インフォカード === */
.info-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 24px;
}

.info-card h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--teal);
  border-radius: 2px;
}

.info-card p { font-size: 14px; line-height: 1.85; color: var(--gray-700); }

/* === 料金プランテーブル === */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.plan-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
}

.plan-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
}

.plan-table tr:nth-child(even) td { background: var(--gray-100); }
.plan-table tr:hover td { background: rgba(0,194,168,0.04); }

.plan-table .highlight td {
  background: rgba(0,194,168,0.08) !important;
  font-weight: 700;
}

/* === 特徴グリッド === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.feature-item .fi { font-size: 20px; flex-shrink: 0; }

.feature-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.feature-item span { color: var(--gray-700); font-size: 12px; line-height: 1.5; }

/* === TOC（目次） === */
.toc-box {
  background: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.toc-box h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.toc-list li { padding: 3px 0; }

.toc-list a {
  font-size: 13px;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc-list a::before { content: '›'; font-weight: 700; }
.toc-list a:hover { color: var(--teal); }

/* === FAQセクション === */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-base);
  transition: background var(--transition);
}

.faq-question:hover { background: var(--gray-100); }

.faq-question .q-icon {
  width: 26px;
  height: 26px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.faq-toggle {
  margin-left: auto;
  font-size: 20px;
  color: var(--teal);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-toggle { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 20px 18px 56px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray-700);
}

.faq-item.open .faq-answer { display: block; }

/* === ページネーション（パンくず） === */
.page-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.page-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}

.page-nav a:hover {
  background: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === アラートボックス === */
.alert {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  line-height: 1.7;
  margin: 16px 0;
}

.alert-info {
  background: rgba(0,194,168,0.08);
  border-left: 3px solid var(--teal);
  color: var(--gray-900);
}

.alert-warn {
  background: rgba(245,158,11,0.08);
  border-left: 3px solid var(--gold);
  color: var(--gray-900);
}

/* === ユーティリティ === */
.text-teal { color: var(--teal-dark); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--gray-700); }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

.bg-white { background: var(--white); }
.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }
.p-24 { padding: 24px; }

/* 区切り線 */
.divider { height: 1px; background: var(--gray-200); margin: 28px 0; }

/* === レスポンシブ === */
@media (max-width: 1024px) {
  .review-body {
    grid-template-columns: 1fr;
  }

  .review-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .global-nav { display: none; }
  .hamburger { display: flex; }

  .ranking-card {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }

  .rank-cta {
    grid-column: 1 / -1;
    text-align: left;
    min-width: 0;
  }

  .rank-cta .cta-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-score-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    text-align: left;
    padding: 16px 20px;
  }

  .score-big { font-size: 40px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section { padding: 48px 0; }

  .cta-banner { padding: 32px 20px; }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .compare-table { font-size: 12.5px; }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero { padding: 48px 0 40px; }

  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* === スクロールバー === */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--gray-200); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* === アニメーション === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.5s ease forwards; }
