/* =========================================
   Bestrank1 - Mobile First CSS
   ========================================= */

:root {
  --primary: #f4a021;       /* Amazon風オレンジ */
  --primary-light: #fff8ec;
  --text: #1a1a1a;
  --text-sub: #666;
  --text-light: #999;
  --border: #e8e8e8;
  --bg: #f7f7f7;
  --white: #fff;
  --star: #f5a623;
  --rank-gold: #c9a227;
  --rank-silver: #9e9e9e;
  --rank-bronze: #a0522d;
  --shadow: 0 2px 8px rgba(0,0,0,.08);
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }

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

/* =========================================
   Header
   ========================================= */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 16px;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.site-logo span { color: var(--text); }

/* =========================================
   Breadcrumb
   ========================================= */
.breadcrumb {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--text-sub);
  max-width: 1100px;
  margin: 0 auto;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span + span::before { content: ' › '; }

/* =========================================
   Main layout
   ========================================= */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 12px 40px;
}

/* =========================================
   Ranking Hero (H1 + meta)
   ========================================= */
.ranking-hero {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  margin: 12px 0;
  box-shadow: var(--shadow);
}

.ranking-hero h1 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 10px;
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--text-sub);
}

.supervisor-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  color: #7a5000;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.algorithm-badge {
  font-size: 11px;
  color: var(--text-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
}

/* =========================================
   Algorithm Explanation
   ========================================= */
.algo-explain {
  background: #f8f9fa;
  border-left: 3px solid var(--primary);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 12px;
  color: var(--text-sub);
}

.algo-explain strong { color: var(--text); }

/* =========================================
   選び方ガイド
   ========================================= */
.buying-guide {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  margin: 12px 0;
  box-shadow: var(--shadow);
}

.buying-guide h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.guide-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.guide-point-num {
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-point-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.guide-point-text p {
  font-size: 13px;
  color: var(--text-sub);
}

/* =========================================
   Filter Bar
   ========================================= */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 12px 0;
  box-shadow: var(--shadow);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.filter-row:last-child { margin-bottom: 0; }

.filter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
  min-width: 36px;
}

.filter-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  font-size: 12px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  cursor: pointer;
  transition: all .15s;
  font-family: var(--font);
  color: var(--text);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* =========================================
   Ranking List
   ========================================= */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0;
}

/* =========================================
   Product Card
   ========================================= */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s;
}

.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }

.product-card[data-hidden="true"] { display: none; }

/* Rank header */
.card-rank-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 0;
}

.rank-num {
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  min-width: 44px;
}

.rank-1 .rank-num { color: var(--rank-gold); }
.rank-2 .rank-num { color: var(--rank-silver); }
.rank-3 .rank-num { color: var(--rank-bronze); }
.rank-num::before { content: '#'; font-size: 16px; font-weight: 700; }

.rank-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
}

/* Card body */
.card-body {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Product image + basic info */
.card-main {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: start;
}

.card-image {
  width: 110px;
  height: 110px;
  object-fit: contain;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.card-image-placeholder {
  width: 110px;
  height: 110px;
  background: #f0f0f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 11px;
  text-align: center;
}

.card-info { display: flex; flex-direction: column; gap: 6px; }

.card-brand { font-size: 11px; color: var(--text-sub); }

.card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.stars { color: var(--star); letter-spacing: 1px; }
.rating-num { font-weight: 700; font-size: 15px; }
.review-count { color: var(--text-sub); font-size: 12px; }

.card-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.card-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-sub);
}

/* Fit / Not fit */
.card-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fit-block {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
}

.fit-block.good {
  background: #f0faf5;
  border: 1px solid #b7e4c7;
}

.fit-block.bad {
  background: #fff8f0;
  border: 1px solid #ffd4a3;
}

.fit-title {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
}

.fit-block.good .fit-title { color: #2d9a5f; }
.fit-block.bad .fit-title { color: #e07800; }

.fit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--text-sub);
}

.fit-list li::before { content: '・'; }

/* Features */
.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-tag {
  font-size: 11px;
  background: #f0f0f0;
  color: var(--text-sub);
  border-radius: 4px;
  padding: 2px 8px;
}

/* Expert comment */
.expert-comment {
  background: var(--primary-light);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
  gap: 8px;
}

.expert-icon { font-size: 18px; flex-shrink: 0; }

.expert-comment-text strong {
  display: block;
  font-size: 11px;
  color: var(--primary);
  margin-bottom: 3px;
}

/* CTA button */
.card-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-amazon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #111;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s;
  font-family: var(--font);
}

.btn-amazon:hover { opacity: .88; }

.btn-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: transparent;
  color: var(--text-sub);
  font-size: 13px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font);
  transition: all .15s;
}

.btn-detail:hover { background: var(--bg); }

/* Price chart (expandable) */
.price-chart-wrap {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: none;
}

.price-chart-wrap.open { display: block; }

.price-chart-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-sub);
}

/* =========================================
   まとめセクション
   ========================================= */
.summary-section {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.summary-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.summary-section p {
  font-size: 14px;
  line-height: 1.95;
  color: #333;
}

/* =========================================
   監修者プロフィール (E-E-A-T)
   ========================================= */
.supervisor-profile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  margin: 12px 0;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary);
}

.supervisor-profile h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.supervisor-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.supervisor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg);
  border: 2px solid var(--border);
}

.supervisor-avatar-initial {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
}

.supervisor-info { flex: 1; }

.supervisor-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.supervisor-title {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.supervisor-bio {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.supervisor-note-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 4px;
  padding: 4px 10px;
}

/* =========================================
   Top page
   ========================================= */
.top-hero {
  background: linear-gradient(135deg, #fff8ec 0%, #fff 60%);
  border-radius: var(--radius);
  padding: 28px 20px 24px;
  margin: 12px 0;
  text-align: center;
  border: 1px solid #ffe4b0;
}

.top-hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #111;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.top-hero h1 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--text);
}

.top-hero p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: box-shadow .2s;
  text-decoration: none;
  color: inherit;
}

.category-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }

.category-icon { font-size: 28px; }

.category-name {
  font-size: 14px;
  font-weight: 700;
}

.category-count { font-size: 11px; color: var(--text-sub); }

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 20px 16px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
}

.site-footer a { color: var(--primary); }

/* =========================================
   About Page
   ========================================= */
.about-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 16px;
  margin: 16px 0;
}

.about-content h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

.about-content h2:first-child { margin-top: 0; }

.about-content p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* =========================================
   Desktop (768px+)
   ========================================= */
@media (min-width: 768px) {
  body { font-size: 16px; }

  .page-wrap { padding: 0 24px 60px; }

  .ranking-hero { padding: 28px 24px 20px; }
  .ranking-hero h1 { font-size: 26px; }

  .card-main {
    grid-template-columns: 140px 1fr;
    gap: 16px;
  }

  .card-image, .card-image-placeholder {
    width: 140px;
    height: 140px;
  }

  .card-title { font-size: 16px; }

  .card-fit { gap: 12px; }
  .fit-block { font-size: 13px; }

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

/* =========================================
   Large (1100px+)
   ========================================= */
@media (min-width: 1100px) {
  .card-cta {
    flex-direction: row;
    align-items: center;
  }

  .btn-amazon { flex: 1; }
  .btn-detail { white-space: nowrap; }
}

/* =========================================
   比較表
   ========================================= */
.comparison-section {
  margin: 40px 0;
}

.comparison-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.comparison-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  border: 1px solid #e0e4ea;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  min-width: 620px;
}

.comparison-table thead th {
  background: #f5f6f8;
  color: #444;
  padding: 12px 14px;
  text-align: center;
  white-space: nowrap;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid #d0d5dd;
}

.comparison-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #eaecf0;
  text-align: center;
  vertical-align: middle;
  background: #fff;
}

.comparison-table .row-gold  td { background: #fffae8 !important; }
.comparison-table .row-gold  td:first-child { border-left: 4px solid #f0c000; }
.comparison-table .row-silver td { background: #f4f5f7 !important; }
.comparison-table .row-silver td:first-child { border-left: 4px solid #a0a8b4; }
.comparison-table .row-bronze td { background: #fff4f0 !important; }
.comparison-table .row-bronze td:first-child { border-left: 4px solid #cd7f32; }

.comparison-table tbody tr:hover td { background: #e8f2ff !important; }

.comparison-table .col-rank { font-size: 15px; font-weight: 800; width: 48px; padding: 11px 8px; }
.comparison-table tbody td.col-rank { color: #555; }

.comparison-table .col-img { width: 64px; padding: 6px 4px; text-align: center; }
.comparison-table .table-thumb { width: 56px; height: 56px; object-fit: contain; border-radius: 4px; display: block; margin: 0 auto; }
.comparison-table .no-img { color: #bbb; font-size: 11px; }

.comparison-table .col-name {
  text-align: left;
  min-width: 160px;
  max-width: 260px;
  padding-left: 14px;
}

.comparison-table .col-name a {
  color: #1a2a3a;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.45;
  display: block;
}
.comparison-table .col-name a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.comparison-table .col-rating { font-weight: 700; font-size: 13px; white-space: nowrap; }
.comparison-table tbody td.col-rating { color: #d4820a; }

.comparison-table .col-reviews { font-size: 12px; white-space: nowrap; }
.comparison-table tbody td.col-reviews { color: #666; }

.comparison-table .col-price { font-weight: 700; font-size: 13px; white-space: nowrap; }
.comparison-table tbody td.col-price { color: #c0392b; }

.btn-compare {
  display: inline-block;
  padding: 6px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(255,107,0,0.35);
  transition: box-shadow 0.15s, transform 0.1s;
}
.btn-compare:hover {
  background: linear-gradient(135deg, #e08000 0%, #c85200 100%);
  box-shadow: 0 3px 8px rgba(255,107,0,0.45);
  transform: translateY(-1px);
  color: #fff;
}

/* =========================================
   星別評価グラフ（アドブロック対策: review/dist/bar を含まないクラス名）
   ========================================= */
.sk-stat {
  margin: 14px 0;
  padding: 14px 16px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}

.sk-stat-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.sk-stat-ttl {
  font-size: 13px;
  font-weight: 600;
  color: #444;
}

.sk-badge, .pattern-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.sk-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.sk-lbl {
  font-size: 12px;
  color: #f4a535;
  width: 28px;
  flex-shrink: 0;
  text-align: right;
}

.sk-track {
  flex: 1;
  height: 10px;
  background: #e9e9e9;
  border-radius: 5px;
  overflow: hidden;
}

.sk-filled {
  height: 10px;
  border-radius: 5px;
  min-width: 2px;
}

.sk-pct {
  font-size: 11px;
  color: #666;
  width: 32px;
  flex-shrink: 0;
}

/* 比較表の信頼度列 */
.col-pattern { min-width: 90px; }

/* =========================================
   FAQ セクション（アコーディオン型）
   ========================================= */
.faq-section {
  margin: 40px 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden;
}

.faq-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  padding: 16px 20px;
  border-left: 4px solid var(--primary);
  border-bottom: 1px solid #f0f0f0;
}

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child { border-bottom: none; }

/* ▶ マーカーを完全に非表示 */
.faq-q {
  list-style: none;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  background: #fff;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::marker { display: none; }

.faq-q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  display: inline-block;
}

.faq-q::after {
  content: '▼';
  margin-left: auto;
  font-size: 10px;
  color: #bbb;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item[open] > .faq-q::after { transform: rotate(180deg); }
.faq-item[open] > .faq-q { border-bottom: 1px solid #f0f0f0; }

.faq-a {
  padding: 12px 16px 14px 50px;
  font-size: 13px;
  color: #444;
  line-height: 1.8;
  background: #fafafa;
}

.faq-a::before {
  content: 'A';
  display: inline-block;
  width: 22px;
  height: 22px;
  background: #2c3e50;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* =========================================
   関連カテゴリ（カラーピル型）
   ========================================= */
.cat-nav-section { margin: 40px 0; }

.cat-nav-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
}

.cat-nav-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.cat-nav-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.cat-nav-pill:hover { opacity: 0.72; }
.cat-nav-pill i { margin-right: 5px; font-size: 11px; }

.cat-c0 { background: #e3f2fd; color: #1565c0; border-color: #90caf9; }
.cat-c1 { background: #f3e5f5; color: #6a1b9a; border-color: #ce93d8; }
.cat-c2 { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.cat-c3 { background: #fff8e1; color: #e65100; border-color: #ffe082; }
.cat-c4 { background: #fce4ec; color: #c62828; border-color: #f48fb1; }
.cat-c5 { background: #e0f2f1; color: #00695c; border-color: #80cbc4; }

/* =========================================
   監修者プロフィール リンク
   ========================================= */
.supervisor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.supervisor-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  text-decoration: none;
  background: #fff;
  transition: opacity 0.15s;
}
.supervisor-platform-link:hover { opacity: 0.75; }

/* note */
.pl-note { border-color: #3ea88b; color: #1a6b58; }
.pl-note::before {
  content: 'n';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px;
  background: #3ea88b; color: #fff;
  font-size: 13px; font-weight: 900; font-style: italic;
  font-family: Georgia, serif; flex-shrink: 0;
}

/* YouTube */
.pl-youtube { border-color: #ff0000; color: #cc0000; }
.pl-youtube::before {
  content: '▶';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px;
  background: #ff0000; color: #fff; font-size: 9px; flex-shrink: 0;
}

/* X / Twitter */
.pl-twitter, .pl-x_twitter { border-color: #111; color: #111; }
.pl-twitter::before, .pl-x_twitter::before {
  content: '𝕏';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px;
  background: #111; color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0;
}

/* Instagram */
.pl-instagram { border-color: #e1306c; color: #8a003c; }
.pl-instagram::before {
  content: 'ig';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff; font-size: 10px; font-weight: 700; flex-shrink: 0;
}

/* 公式サイト */
.pl-website { border-color: #888; color: #444; }
.pl-website::before {
  content: 'W';
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 4px;
  background: #666; color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0;
}
