/* =========================
   ランキング1行（最終確定版）
========================= */
.ranking-item {
  display: grid;
  grid-template-columns: 60px 200px 1fr auto; /* ★200px対応 */
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform .15s, box-shadow .15s;
}

.ranking-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* =========================
   順位
========================= */
.rank {
  font-weight: bold;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  padding-top: 6px;
}

.ranking-item:nth-child(1) .rank { color: #d4af37; }
.ranking-item:nth-child(2) .rank { color: #adb5bd; }
.ranking-item:nth-child(3) .rank { color: #cd7f32; }

/* =========================
   サムネイル
========================= */
.thumb {
  width: 200px;
  flex-shrink: 0;
}

.thumb-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* =========================
   情報ブロック
========================= */
.info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* =========================
   文字サイズ調整（最終）
========================= */
.number {
  font-size: 1.25rem;   /* ← 少し大きく */
  font-weight: 800;
  letter-spacing: 0.06em;
}

.number-link {
  color: #1a0dab;            /* Google標準リンク色 */
  text-decoration: underline;
  font-weight: bold;
}

.number-link::after {
  font-size: 12px;
}

.number-link:hover {
  color: #d93025;
}

.number-link:hover {
  text-decoration: underline;
}

.points {
  font-size: 1rem;      /* ← ptを見やすく */
  font-weight: 600;
  color: #555;
}

.review {
  font-size: 0.95rem;  /* ← 読みやすさ重視 */
  line-height: 1.7;
}


/* =========================
   投票ボタン
========================= */
.voteBtn {
  background: #86CFCF;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  align understanding: center;
  height: fit-content;
  transition: background .15s, transform .1s;
}

.voteBtn:hover {
  background: #6fbaba;
  transform: scale(1.05);
}

.voteBtn:active {
  transform: scale(0.95);
}

/* =========================
   レスポンシブ（最終）
========================= */
@media (max-width: 600px) {
  .ranking-item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .thumb {
    width: 100%;
  }

  .thumb-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .voteBtn {
    margin: 12px auto 0;
  }
}

/* =========================
   ranking 独自レイアウト
   ※ WordPressでは無効化
========================= */
.ranking-layout {
  max-width: 100%;
}

/* ===============================
   ジャンル別「もっと見る」ボタン
=============================== */

.moreBtn {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 10px 0;

  font-size: 14px;
  font-weight: bold;
  color: #555;

  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 6px;

  cursor: pointer;
  transition: all 0.2s ease;
}

.moreBtn:hover {
  background: #eee;
  border-color: #ccc;
}

/* 下位ランキングの区切り */
.moreList {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #ddd;
}

/* ===============================
   総合ランキング「もっと見る」
=============================== */

#moreBtn {
  display: block;
  width: 100%;
  margin: 14px 0 0;
  padding: 12px 0;

  font-size: 15px;
  font-weight: bold;
  color: #444;

  background: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 6px;

  cursor: pointer;
  transition: all 0.2s ease;
}

#moreBtn:hover {
  background: #e6e6e6;
  border-color: #bbb;
}

/* 11位以下の区切り */
#moreRanking {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #eee;
}

.genre-more-link {
  margin-top: 14px;
  margin-bottom: 24px; /* ← ここを追加（下の余白） */
  padding-top: 10px;
  border-top: 1px dashed #ddd;
}

.genre-more-link a {
  font-size: 14px;
  font-weight: bold;
  color: #0073aa;
  text-decoration: none;
}

.genre-more-link a:hover {
  text-decoration: underline;
}

/* ===============================
   CSS（ブログカード風）
=============================== */
.genre-blog-card {
  margin: 20px 0 30px;
}

.genre-blog-card a {
  display: flex;
  gap: 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: #333;
}

.genre-blog-card a:hover {
  background: #f5f5f5;
}

.genre-blog-card .card-thumb {
  width: 120px;
  flex-shrink: 0;
}

.genre-blog-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.genre-blog-card .card-body {
  padding: 12px 10px;
}

.genre-blog-card .card-title {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.4;
}