/* ===========================
   ポケカオリパ比較ナビ
   Style v5.0 — Light Clean Theme (マイベスト風)
   信頼感のある白系メディアデザイン
=========================== */

/* ===== FONTS (system fonts — no external dependency) ===== */

:root {
  /* ── Base (Light) ── */
  --bg:          #ffffff;
  --bg-card:     #ffffff;
  --bg-elevated: #f7f7f7;
  --bg-surface:  #fafafa;

  /* ── Text ── */
  --text:           #313131;
  --text-secondary: #666666;
  --text-muted:     #999999;
  --white:          #ffffff;

  /* ── Primary: Gold / Amber (白背景用に調整) ── */
  --gold:        #d4a00a;
  --gold-dark:   #b8960f;
  --gold-light:  #fef3cd;
  --gold-glow:   rgba(212, 160, 10, .15);

  /* ── Accent: Red ── */
  --accent:      #d6001c;
  --red:         #ef4444;
  --red-hot:     #dc2626;
  --red-light:   #fef2f2;

  /* ── Secondary: Light Grey ── */
  --secondary:      #f0f0f5;
  --secondary-mid:  #e8e8ef;

  /* ── Action Red (CTA — ポケパ365公式と統一) ── */
  --cta:         #d6001c;
  --cta-dark:    #b50018;
  --cta-glow:    rgba(214, 0, 28, .15);

  /* ── Tag Colors (パステル系) ── */
  --tag-gold-bg:   #fef3cd; --tag-gold-text:   #8a6d00;
  --tag-pink-bg:   #fce4ec; --tag-pink-text:   #c2185b;
  --tag-blue-bg:   #e3f2fd; --tag-blue-text:   #1565c0;
  --tag-green-bg:  #e8f5e9; --tag-green-text:  #2e7d32;
  --tag-orange-bg: #fff3e0; --tag-orange-text: #e65100;
  --tag-purple-bg: #f3e5f5; --tag-purple-text: #7b1fa2;

  /* ── Status ── */
  --green:       #16a34a;
  --green-dark:  #f0fdf4;
  --blue:        #2563eb;
  --blue-dark:   #eff6ff;
  --orange:      #ea580c;
  --orange-dark: #fff7ed;

  /* ── Borders ── */
  --border:       #e5e5e5;
  --border-light: #efefef;
  --border-glow:  rgba(212, 160, 10, .12);

  /* ── Shadows ── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow:    0 2px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.1);

  /* ── Radius ── */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   12px;
  --radius-full: 9999px;

  --transition: 0.18s ease;
  --header-h: 56px;
  --max-w: 1100px;

  /* Number font */
  --font-num: -apple-system, 'Helvetica Neue', 'Arial', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: #2563eb; text-decoration: none; transition: color var(--transition); }
a:hover { color: #1d4ed8; }
img { max-width: 100%; height: auto; display: block; }

/* ===== ANIMATIONS ===== */
@keyframes gold-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--gold-glow), 0 0 16px rgba(212,160,10,.06); }
  50% { box-shadow: 0 0 12px var(--gold-glow), 0 0 28px rgba(212,160,10,.1); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes urgency-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .72; }
}
@keyframes rainbow-border {
  0%   { border-color: #ef4444; }
  20%  { border-color: #f59e0b; }
  40%  { border-color: #22c55e; }
  60%  { border-color: #3b82f6; }
  80%  { border-color: #a855f7; }
  100% { border-color: #ef4444; }
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--gold-light);
  color: #6b5300;
  text-align: center;
  padding: 6px 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-bottom: 1px solid #e8d88a;
}
.announcement-bar a { color: #6b5300; text-decoration: underline; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 14px;
}
.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.site-logo:hover { opacity: .85; }
.site-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.site-logo-main {
  font-size: .88rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: .02em;
}
.site-logo-sub {
  font-size: .52rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: .04em;
}

/* legacy fallback — kept for footer */
.logo-mark, .logo-icon {
  width: 28px;
  height: 28px;
  background: var(--cta);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}

.global-nav { margin-left: auto; }
.global-nav ul { list-style: none; display: flex; gap: 1px; }
.global-nav a {
  color: var(--text-secondary);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  display: block;
}
.global-nav a:hover, .global-nav a.active {
  background: #f0f0f5;
  color: var(--text);
  text-decoration: none;
}
.header-cta {
  flex-shrink: 0;
  display: inline-block;
  background: linear-gradient(180deg, var(--cta), var(--cta-dark));
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}
.header-cta:hover { filter: brightness(1.1); color: var(--white); text-decoration: none; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 9px;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.site-header.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.site-header.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.site-header.nav-open .mobile-nav { display: block; }
.mobile-nav ul { list-style: none; max-width: var(--max-w); margin: 0 auto; padding: 6px 16px 14px; }
.mobile-nav a {
  display: block;
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--cta); text-decoration: none; }
.mobile-nav li:last-child a { border-bottom: none; }

/* ===== HERO (TOP PAGE) ===== */
.hero {
  background: #f5f5fa;
  color: var(--text);
  padding: 52px 16px 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #f0f0f8 0%, #e8e8f2 50%, #f5f5fa 100%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(212,160,10,.15) 50%, transparent 50%),
    radial-gradient(1px 1px at 60% 15%, rgba(0,0,0,.04) 50%, transparent 50%),
    radial-gradient(1.5px 1.5px at 85% 65%, rgba(212,160,10,.1) 50%, transparent 50%);
  background-size: 180px 180px, 120px 120px, 200px 200px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--gold-light);
  border: 1px solid #e8d88a;
  color: #6b5300;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  letter-spacing: .06em;
}
.hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.02em;
  color: #313131;
}
.hero h1 em { font-style: normal; color: var(--cta); }
.hero-desc {
  font-size: clamp(.88rem, 2vw, 1rem);
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.btn-hero-primary {
  display: inline-block;
  background: linear-gradient(180deg, var(--cta), var(--cta-dark));
  color: var(--white);
  font-size: .95rem;
  font-weight: 900;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-hero-primary:hover { filter: brightness(1.1); transform: translateY(-1px); text-decoration: none; color: var(--white); }
.btn-hero-secondary {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}
.btn-hero-secondary:hover { border-color: var(--cta); color: var(--cta); text-decoration: none; }
.hero-stats { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-num);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cta);
  line-height: 1;
}
.hero-stat span { font-size: .72rem; color: var(--text-muted); margin-top: 2px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.trust-icon {
  width: 26px;
  height: 26px;
  background: var(--tag-gold-bg);
  color: var(--tag-gold-text);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  font-size: .74rem;
  color: var(--text-muted);
  align-items: center;
}
.breadcrumb li:first-child a::before { content: '\2302'; margin-right: 4px; font-size: 1rem; }
.breadcrumb li::after { content: '\203A'; margin: 0 8px; color: #ccc; font-size: 1.1rem; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: #2563eb; text-decoration: none; }
.breadcrumb li:last-child { color: var(--text); font-weight: 700; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 48px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-label {
  display: inline-block;
  background: var(--tag-gold-bg);
  color: var(--tag-gold-text);
  font-size: .68rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  border: 1px solid #e8d88a;
}
.section-title {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 900;
  line-height: 1.25;
  color: #313131;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.section-title em { font-style: normal; color: var(--cta); }
.section-subtitle { font-size: .86rem; color: var(--text-secondary); max-width: 520px; margin: 0 auto; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}

/* ===== RANKING CARDS ===== */
.ranking-list { display: flex; flex-direction: column; gap: 10px; }

.ranking-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.ranking-card:hover { border-color: #ccc; box-shadow: var(--shadow); }

/* 1位: ゴールドグロー */
.ranking-card.rank-highlight {
  border-color: #d4a00a;
  animation: gold-pulse 3s ease-in-out infinite;
}
.ranking-card.rank-highlight::before {
  content: '編集部イチオシ';
  position: absolute;
  top: 0; right: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-size: .6rem;
  font-weight: 900;
  padding: 3px 10px 3px 12px;
  letter-spacing: .06em;
  z-index: 1;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
}

.rank-num {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  min-width: 60px;
  flex-shrink: 0;
  line-height: 1;
}
.rank-num span {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 2rem;
}
.rank-1 .rank-num { background: linear-gradient(180deg, #fef3cd, #fde68a); }
.rank-1 .rank-num span { color: #92700c; }
.rank-2 .rank-num { background: linear-gradient(180deg, #f3f4f6, #e5e7eb); }
.rank-2 .rank-num span { color: #6b7280; }
.rank-3 .rank-num { background: linear-gradient(180deg, #fde8d8, #fcd6b8); }
.rank-3 .rank-num span { color: #9a5e2a; }
.rank-4 .rank-num, .rank-5 .rank-num { background: var(--bg-elevated); }
.rank-4 .rank-num span, .rank-5 .rank-num span { color: var(--text-muted); font-size: 1.6rem; }
.rank-num small { font-size: .55rem; font-weight: 700; letter-spacing: .06em; color: var(--text-muted); margin-top: 2px; }

.ranking-body { padding: 14px 14px 14px 12px; flex: 1; min-width: 0; }
.ranking-body h2, .ranking-body h3 {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 6px;
  color: #313131;
  line-height: 1.3;
}
.ranking-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.tag {
  display: inline-block;
  font-size: .64rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: .02em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.tag-pink   { background: var(--tag-pink-bg);   color: var(--tag-pink-text); }
.tag-blue   { background: var(--tag-blue-bg);   color: var(--tag-blue-text); }
.tag-green  { background: var(--tag-green-bg);  color: var(--tag-green-text); }
.tag-orange { background: var(--tag-orange-bg); color: var(--tag-orange-text); }
.tag-gold   { background: var(--tag-gold-bg);   color: var(--tag-gold-text); }
.tag-purple { background: var(--tag-purple-bg); color: var(--tag-purple-text); }

.stars { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; }
.stars-count { font-size: .72rem; color: var(--text-muted); margin-left: 3px; }
.ranking-body p { font-size: .875rem; color: var(--text-secondary); line-height: 1.7; margin-top: 6px; }

.ranking-aside {
  padding: 14px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 110px;
  flex-shrink: 0;
  gap: 8px;
}
.score-big {
  font-family: var(--font-num);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--cta);
  line-height: 1;
}
.score-label { font-size: .64rem; color: var(--text-muted); font-weight: 700; letter-spacing: .06em; margin-top: 1px; }
.btn-site {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
  width: 100%;
  min-height: 48px;
  text-align: center;
}
.btn-site-primary {
  background: linear-gradient(180deg, var(--cta), var(--cta-dark));
  color: var(--white);
}
.btn-site-primary:hover { filter: brightness(1.1); text-decoration: none; color: var(--white); }
.btn-site-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-site-outline:hover { border-color: var(--cta); color: var(--cta); text-decoration: none; }

/* ===== AUTHOR BOX ===== */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 14px;
  margin: 20px 0;
  border: 1px solid var(--border);
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--secondary-mid);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .76rem;
  font-weight: 900;
  color: var(--tag-gold-text);
  flex-shrink: 0;
}
.author-info p { font-size: .8rem; color: var(--text-muted); margin-bottom: 2px; }
.author-info h4 { font-size: .95rem; font-weight: 900; margin-bottom: 3px; color: #313131; }
.author-bio { font-size: .82rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }
.author-badge {
  display: inline-block;
  background: var(--tag-gold-bg);
  color: var(--tag-gold-text);
  font-size: .64rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  margin-top: 3px;
  border: 1px solid #e8d88a;
}

/* ===== UPDATE INFO ===== */
.update-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  color: var(--text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.update-info span { display: flex; align-items: center; gap: 4px; }

/* ===== INFO BOXES ===== */
.info-box {
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 16px 0;
  border: 1px solid;
}
.info-box.tip  { background: var(--blue-dark);   border-color: rgba(37,99,235,.2);  border-left: 3px solid var(--blue); }
.info-box.warn { background: var(--orange-dark); border-color: rgba(234,88,12,.2);  border-left: 3px solid var(--orange); }
.info-box.good { background: var(--green-dark);  border-color: rgba(22,163,74,.2);  border-left: 3px solid var(--green); }
.info-box.caution { background: var(--red-light); border-color: rgba(239,68,68,.2); border-left: 3px solid var(--red); }
.info-box-title { font-size: .84rem; font-weight: 900; margin-bottom: 4px; color: #313131; }
.info-box p { font-size: .82rem; margin: 0; line-height: 1.65; color: var(--text-secondary); }

/* ===== SCORE METER ===== */
.score-meter { display: flex; flex-direction: column; gap: 7px; }
.score-row { display: flex; align-items: center; gap: 8px; }
.score-name { font-size: .76rem; color: var(--text-secondary); min-width: 100px; flex-shrink: 0; }
.score-track {
  flex: 1;
  height: 5px;
  background: #e5e5e5;
  border-radius: var(--radius-full);
  overflow: hidden;
}
.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cta), #f59e0b);
  border-radius: var(--radius-full);
}
.score-val {
  font-family: var(--font-num);
  font-size: .8rem;
  font-weight: 700;
  color: var(--cta);
  min-width: 26px;
  text-align: right;
}

/* ===== COMPARISON TABLE ===== */
.compare-table-wrap { overflow-x: auto; margin: 22px 0; border-radius: var(--radius); border: 1px solid var(--border); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  background: var(--white);
  font-size: .82rem;
}
.compare-table thead tr { background: var(--secondary-mid); }
.compare-table th {
  padding: 10px 12px;
  font-weight: 700;
  text-align: left;
  letter-spacing: .02em;
  white-space: nowrap;
  color: #313131;
  border-bottom: 2px solid var(--border);
}
.compare-table th:not(:first-child) { text-align: center; }
.compare-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.compare-table tbody tr:hover { background: #fafafa; }
.compare-table tbody tr.highlighted { background: #fef3cd; }
.compare-table td { padding: 10px 12px; vertical-align: middle; color: var(--text); }
.compare-table td:not(:first-child) { text-align: center; }
.compare-table .site-name { font-weight: 700; color: #313131; }
.compare-table .badge-yes { color: var(--green); font-weight: 700; }
.compare-table .badge-no { color: var(--text-muted); }
.compare-table .score-num { font-family: var(--font-num); font-weight: 700; color: var(--cta); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: #f5f5fa;
  color: var(--text);
  padding: 40px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #f0f0f8 0%, #e8e8f2 50%, #f5f5fa 100%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 20% 30%, rgba(212,160,10,.12) 50%, transparent 50%),
    radial-gradient(1px 1px at 70% 60%, rgba(0,0,0,.03) 50%, transparent 50%);
  background-size: 160px 160px, 130px 130px;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero-inner { max-width: 780px; }
.page-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.page-hero h1 {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -.02em;
  color: #313131;
}
.page-hero .lead { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; max-width: 640px; }

/* ===== TABLE OF CONTENTS ===== */
.toc, .article-toc {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
}
.toc-title, .article-toc h4 {
  font-size: .82rem;
  font-weight: 900;
  color: #313131;
  margin-bottom: 10px;
}
.toc ol, .article-toc ol { padding-left: 18px; }
.toc li, .article-toc li { font-size: .875rem; margin-bottom: 8px; color: var(--text-secondary); line-height: 1.5; }
.toc a, .article-toc a { color: #2563eb; font-weight: 700; }
.toc a:hover, .article-toc a:hover { color: #1d4ed8; }

/* ===== ARTICLE HEADINGS ===== */
.article-body h2, .article-section h2 {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 36px 0 14px;
  padding: 10px 14px;
  background: var(--bg-elevated);
  border-left: 3px solid var(--cta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.35;
  color: #313131;
}
.article-body h3, .article-section h3 {
  font-size: 1rem;
  font-weight: 900;
  margin: 22px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  color: #313131;
}
.article-body p, .article-section p { margin-bottom: 16px; line-height: 1.8; font-size: 1rem; color: var(--text-secondary); }
.article-body ul, .article-body ol,
.article-section ul, .article-section ol { padding-left: 20px; margin-bottom: 16px; }
.article-body li, .article-section li { margin-bottom: 8px; line-height: 1.75; font-size: .95rem; color: var(--text-secondary); }
.article-body strong, .article-section strong { color: #313131; }

/* ===== ARTICLE GRID ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(232,25,125,.03) 0%, transparent 50%, rgba(212,160,10,.03) 100%);
}
.cta-banner h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 6px; line-height: 1.3; position: relative; color: #313131; }
.cta-banner p { color: var(--text-secondary); margin-bottom: 18px; font-size: .88rem; position: relative; }
.cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--cta), var(--cta-dark));
  color: var(--white);
  font-size: .95rem;
  font-weight: 900;
  padding: 11px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
}
.cta-btn:hover { filter: brightness(1.1); transform: translateY(-1px); text-decoration: none; color: var(--white); }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 12px; }
.widget, .sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.widget-head, .widget-title {
  background: var(--secondary-mid);
  color: #313131;
  font-size: .74rem;
  font-weight: 900;
  padding: 8px 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.widget-body { padding: 10px 14px; }
.nav-list, .sidebar-link-list { list-style: none; }
.nav-list li, .sidebar-link-list li { border-bottom: 1px solid var(--border-light); }
.nav-list li:last-child, .sidebar-link-list li:last-child { border-bottom: none; }
.nav-list a, .sidebar-link-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  font-size: .78rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-list a::before, .sidebar-link-list a::before { content: '›'; color: var(--cta); font-size: .9rem; line-height: 1; }
.nav-list a:hover, .sidebar-link-list a:hover { color: var(--cta); text-decoration: none; }

/* ===== TABLES (score-table / merit-table) ===== */
.score-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .84rem; }
.score-table th {
  padding: 9px 12px;
  font-weight: 900;
  text-align: left;
  background: var(--secondary-mid);
  color: #313131;
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--border);
}
.score-table td { padding: 8px 12px; border: 1px solid var(--border); vertical-align: middle; color: var(--text); }
.score-table tbody tr:nth-child(even) { background: var(--bg-elevated); }
.score-table tbody tr:hover { background: #fafafa; }

.merit-table { width: 100%; border-collapse: collapse; margin: 18px 0; border: 1px solid var(--border); }
.merit-table th { padding: 9px 12px; font-size: .82rem; font-weight: 900; text-align: center; }
.merit-table .col-merit  { background: var(--green-dark);  color: var(--green); }
.merit-table .col-demerit { background: var(--red-light); color: var(--red); }
.merit-table td { padding: 9px 12px; font-size: .8rem; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-secondary); }
.merit-table tr:last-child td { border-bottom: none; }
.merit-item::before { content: '+ '; color: var(--green); font-weight: 900; }
.demerit-item::before { content: '- '; color: var(--red); font-weight: 900; }

/* ===== REVIEW SUMMARY ===== */
.review-summary {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
}
.review-summary-inner { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.review-score-block { text-align: center; min-width: 88px; }
.review-score-big {
  font-family: var(--font-num);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--cta);
  line-height: 1;
}
.review-score-sub { font-size: .7rem; color: var(--text-muted); margin-top: 3px; }
.review-score-stars { font-size: .95rem; margin-top: 4px; color: #f59e0b; }

/* ===== OPINION CARDS ===== */
.opinion-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.opinion-header { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.opinion-avatar {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.opinion-good    { border-left: 3px solid var(--green); }
.opinion-neutral { border-left: 3px solid var(--blue); }
.opinion-meta { font-size: .76rem; font-weight: 700; color: var(--text); }
.opinion-meta span { display: block; font-size: .66rem; color: var(--text-muted); font-weight: 400; margin-top: 1px; }
.opinion-card p { font-size: .82rem; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* ===== AD DISCLOSURE ===== */
.ad-disclosure {
  background: #fff8f0;
  border: 1px solid rgba(234,88,12,.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: .7rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 0;
  line-height: 1.55;
}
.ad-disclosure::before {
  content: 'PR';
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: .58rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===== GLOSSARY ===== */
.glossary-list { margin: 0 0 24px; padding: 0; }
.glossary-list dt {
  font-weight: 800;
  font-size: .95rem;
  color: var(--text);
  padding: 12px 0 4px;
  border-bottom: 2px solid var(--cta);
  display: inline-block;
  margin-bottom: 4px;
}
.glossary-list dd {
  margin: 0 0 16px;
  padding: 0;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== RELATED SERVICES ===== */
.related-services {
  margin: 32px 0;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.related-services h3 {
  font-size: .95rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.related-services-grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text);
  transition: background .15s;
}
.related-services-grid a:hover { background: var(--bg-elevated); }
.related-services-grid .rs-score {
  font-family: var(--font-num);
  font-size: .75rem;
  color: var(--cta);
  font-weight: 700;
  margin-left: auto;
  white-space: nowrap;
}

/* ===== SHARE BUTTONS ===== */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
}
.share-buttons span {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .76rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity .15s;
}
.share-btn:hover { opacity: .85; color: #fff; }
.share-btn-x { background: #000; }
.share-btn-line { background: #06c755; }

/* ===== TOC ACCORDION ===== */
.article-toc { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 24px; }
.article-toc h4,
.article-toc summary {
  padding: 12px 16px;
  margin: 0;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
}
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc summary::after { content: "＋"; margin-left: auto; color: var(--text-muted); }
.article-toc[open] summary::after { content: "−"; }
.article-toc ol { padding: 0 16px 12px 36px; margin: 0; }
.article-toc ol li { font-size: .85rem; margin-bottom: 6px; }
.article-toc ol li a { color: var(--text-secondary); text-decoration: none; }
.article-toc ol li a:hover { color: var(--cta); }

@media (max-width: 768px) {
  .related-services-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq-section { margin-bottom: 32px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  background: var(--bg-card);
}
.faq-q {
  padding: 16px 16px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}
.faq-q::before { content: "Q."; color: var(--cta); font-weight: 900; font-size: 1rem; }
.faq-q::after { content: "＋"; margin-left: auto; color: var(--text-muted); font-size: 1.1rem; transition: transform .2s; }
.faq-item[open] .faq-q::after { content: "−"; }
.faq-q::-webkit-details-marker { display: none; }
.faq-a {
  padding: 0 16px 16px 40px;
  font-size: .925rem;
  line-height: 1.75;
  color: var(--text-secondary);
}
.faq-a p { margin: 0; }

/* ===== FOOTER (ダーク維持 — マイベスト同様) ===== */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,.55);
  margin-top: 56px;
  border-top: 1px solid var(--border);
}
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 16px 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-brand .footer-logo {
  font-size: .92rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-mark {
  width: 24px;
  height: 24px;
  background: var(--cta);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 900;
  color: var(--white);
  flex-shrink: 0;
}
.footer-logo-icon {
  height: 24px;
  width: auto;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
}
.footer-logo {
  font-size: .92rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand p { font-size: .76rem; line-height: 1.65; max-width: 220px; }
.footer-section h4 {
  font-size: .72rem;
  font-weight: 900;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 6px; }
.footer-section a { font-size: .76rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-section a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .72rem;
}
.footer-disclaimer-full {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 12px 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: .68rem;
  color: rgba(255,255,255,.25);
  line-height: 1.65;
}
/* Legacy footer compat */
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 16px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.footer-desc { font-size: .76rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer-col h4 { font-size: .72rem; font-weight: 900; color: rgba(255,255,255,.7); margin-bottom: 10px; letter-spacing: .06em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { font-size: .76rem; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-disclaimer { font-size: .7rem; color: rgba(255,255,255,.3); margin-top: 4px; }

/* ===== STATIC PAGES ===== */
.static-content { max-width: 720px; margin: 0 auto; }
.static-content h2 { font-size: 1.1rem; font-weight: 900; margin: 28px 0 8px; color: #313131; border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.static-content h3 { font-size: .96rem; font-weight: 900; margin: 18px 0 6px; color: #313131; }
.static-content p, .static-content li { font-size: .86rem; line-height: 1.8; color: var(--text-secondary); }
.static-content ul, .static-content ol { padding-left: 20px; margin-bottom: 12px; }
.static-content li { margin-bottom: 6px; }
.static-content table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .82rem; }
.static-content th { background: var(--secondary-mid); color: #313131; padding: 8px 12px; text-align: left; border-bottom: 2px solid var(--border); }
.static-content td { padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text-secondary); }
.static-content code { background: var(--bg-elevated); padding: 1px 5px; border-radius: 2px; font-size: .86em; color: var(--cta); }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .3s;
  transform: translateY(12px);
  z-index: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.scroll-top.visible {
  opacity: .7;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { opacity: 1; }

/* ===== UTILITIES ===== */
.badge {
  display: inline-block;
  font-size: .64rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: .04em;
}
.badge-new    { background: var(--red); color: var(--white); animation: urgency-pulse 1.5s ease-in-out infinite; }
.badge-update { background: var(--blue-dark); color: var(--blue); border: 1px solid rgba(37,99,235,.2); }
.badge-pr     { background: var(--orange-dark); color: var(--orange); border: 1px solid rgba(234,88,12,.2); }
.divider { border: none; border-top: 1px solid var(--border); margin: 22px 0; }
.text-primary { color: var(--cta); }
.text-muted { color: var(--text-muted); }
.fw-bold { font-weight: 700; }
.fw-black { font-weight: 900; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr 260px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

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

  .content-grid { grid-template-columns: 1fr; }
  .content-grid > * { min-width: 0; }

  .ranking-card { flex-direction: column; }
  .ranking-body { padding: 12px 12px 0; }
  .ranking-aside {
    border-left: none;
    border-top: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px 12px;
    gap: 6px;
  }
  .rank-num {
    padding: 10px 14px;
    min-width: auto;
    flex-direction: row;
    gap: 4px;
    align-items: baseline;
  }
  .rank-num span { font-size: 1.5rem; }

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

  .hero { padding: 36px 16px 44px; }
  .hero h1 { font-size: 1.45rem; }
  .hero-stats { gap: 16px; }

  .trust-bar-inner { gap: 12px; }
  .update-info { flex-wrap: wrap; gap: 6px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 18px; padding: 32px 16px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .review-summary-inner { flex-direction: column; }
  .section { padding: 36px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions a { text-align: center; }
  .hero-stats { gap: 14px; }
  .hero-stat strong { font-size: 1.5rem; }

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

  .compare-table-wrap { margin: 12px -16px; border-radius: 0; border-left: none; border-right: none; }

  .ranking-aside { flex-direction: column; align-items: flex-start; }
  .btn-site { width: 100%; }

  .section { padding: 28px 0; }
  .section-header { margin-bottom: 22px; }

  .score-name { min-width: 80px; }

  .page-hero h1 { font-size: 1.2rem; }
}
