/* eroranking-poster 記事部品CSS v1.0.5 (C)たろう */

/* PR行 */
.erk-pr { font-size: 12px; color: #888; margin: 0 0 1.2em; }

/* 手書き枠(公開前に置き換える目印) */
.erk-tegaki { border-left: 3px solid #c62f2f; padding: 2px 0 2px 14px; margin: 1em 0; }
.erk-tegaki p { margin: 0; }

/* 共通 */
.erk-star { color: #c62f2f; }
.erk-c { text-align: center; }

/* 選定基準 */
.erk-criteria { background: #fdf3f3; border: 1px solid #f0d5d5; border-radius: 10px; padding: 14px 16px; margin: 1.2em 0; }
.erk-criteria-title { font-weight: 700; color: #c62f2f; margin: 0 0 6px; }
.erk-criteria ul { margin: 0 0 8px 1.2em; }
.erk-criteria li { margin: 2px 0; }
.erk-criteria-note { font-size: 12px; color: #777; margin: 0; }

/* 比較表 */
.erk-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.2em; }
table.erk-hikaku { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 15px; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; }
.erk-hikaku th, .erk-hikaku td { border: 0; border-bottom: 1px solid #eceff3; padding: 8px 10px; white-space: nowrap; }
.erk-hikaku thead th { background: #c62f2f; color: #fff; font-weight: 700; text-align: center; }
.erk-hikaku thead th:nth-child(2) { text-align: left; }
.erk-hikaku tbody tr:nth-child(even) { background: #fafafa; }
.erk-hikaku tbody tr:last-child td { border-bottom: 0; }
.erk-hikaku td a { color: #c62f2f; font-weight: 700; text-decoration: none; }
.erk-rank { text-align: center; font-weight: 800; color: #64748b; }
.erk-rank1 { background: #fff8e1 !important; color: #b45309; }

/* TOP5 */
.erk-top5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0.6em 0 0.8em; }
.erk-top5-card { position: relative; border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px 6px 10px; text-decoration: none; text-align: center; display: block; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.erk-top5-rank { position: absolute; top: -9px; left: -6px; background: linear-gradient(180deg, #ff6c6c, #cc2f2f); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.erk-top5-card img { width: 100%; height: auto; border-radius: 8px; display: block; margin-bottom: 6px; }
.erk-top5-name { display: block; font-size: 14px; font-weight: 700; color: #1f2937; line-height: 1.3; }
.erk-top5-cup { display: inline-block; margin-top: 3px; background: #fdecec; color: #c62f2f; font-size: 13px; font-weight: 800; padding: 1px 9px; border-radius: 999px; }

/* プロフィール */
.erk-prof-wrap { display: flex; gap: 14px; align-items: flex-start; margin: 0.6em 0; }
.erk-prof-img { flex: 0 0 110px; }
.erk-prof-img img { width: 110px; height: auto; border-radius: 8px; display: block; }
table.erk-prof { border-collapse: collapse; flex: 1; font-size: 15px; margin: 0; }
.erk-prof th { width: 6.5em; background: #f6f6f6; font-weight: 600; text-align: left; }
.erk-prof th, .erk-prof td { border: 1px solid #e5e7eb; padding: 6px 10px; }

/* 順位の根拠 */
.erk-konkyo { background: #eef7ef; border-radius: 8px; padding: 9px 14px; font-size: 15px; color: #14601f; margin: 0.8em 0; }
.erk-konkyo b { color: #0a4a14; }
.erk-konkyo b.erk-star { color: #c62f2f; }

/* メイン作品 */
.erk-main { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; margin: 0.6em 0 1em; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.erk-main-band { background: #c62f2f; color: #fff; font-size: 15px; font-weight: 800; padding: 7px 14px; }
.erk-main-body { padding: 12px; }
.erk-main-head { display: flex; gap: 12px; align-items: flex-start; }
.erk-main-pkg { flex: 0 0 45%; max-width: 340px; }
.erk-main-pkg img { width: 100%; height: auto; border-radius: 8px; display: block; }
.erk-main-info { flex: 1; min-width: 0; }
.erk-main-title { font-weight: 700; font-size: 17px; margin: 0 0 4px; line-height: 1.5; color: #1f2937; }
.erk-main-rev { font-size: 16px; margin: 0 0 2px; color: #6b7280; }
.erk-main-rev b { font-weight: 800; }
.erk-main-date { font-size: 13.5px; color: #6b7280; margin: 0; }
.erk-sample-label { font-size: 16px; color: #444; font-weight: 700; margin: 16px 0 6px; border-top: 1px dashed #e5e7eb; padding-top: 10px; }
.erk-sample { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 0; }
.erk-sample-item img { width: 100%; height: auto; border-radius: 6px; display: block; }

/* サブ作品 */
.erk-sub-label { font-weight: 700; font-size: 17px; margin: 0.8em 0 0.4em; color: #1f2937; }
.erk-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 0.8em; }
.erk-sub-card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px; text-decoration: none; display: block; }
.erk-sub-card img { width: 100%; height: auto; border-radius: 6px; display: block; margin-bottom: 6px; }
.erk-sub-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15.5px; font-weight: 700; color: #1f2937; line-height: 1.5; margin-bottom: 3px; }
.erk-sub-meta { font-size: 15px; color: #6b7280; display: block; }
.erk-sub-meta b { font-weight: 700; }

/* ボタン(AV女優作品ナビと同一様式) */
.erk-btnwrap { margin: 0.9em auto; }
.erk-btnwrap-work { max-width: 380px; margin: 22px auto 6px; }
.erk-btnwrap-all { max-width: 480px; margin: 20px auto; }
a.erk-btn {
  display: block;
  text-align: center;
  color: #fff !important;
  font-weight: bold;
  font-size: 17px;
  padding: 14px 10px;
  border-radius: 8px;
  text-decoration: none !important;
  background: linear-gradient(180deg, #ff6c6c 0%, #ff3b3b 55%, #cc2f2f 100%);
  box-shadow: 0 4px 0 #992323;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .35);
  transition: transform .08s ease, box-shadow .08s ease;
}
a.erk-btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 #992323; color: #fff; }

/* スマホ */
@media (max-width: 600px) {
  .erk-top5 { grid-template-columns: repeat(3, 1fr); }
  .erk-prof-wrap { flex-direction: row; }
  .erk-prof-img { flex-basis: 92px; }
  .erk-main-head { flex-direction: column; }
  .erk-main-pkg { flex-basis: auto; max-width: 100%; }
}
