/* 株でおじゃる：ランキングページ・トップの3つのランキング */
.rk { max-width: 1100px; margin: 0 auto; padding: 16px 24px 8px; }
.rk-crumbs { font-size: 12px; color: #6b6b70; margin: 0 0 6px; }
.rk-crumbs a { color: #4b6bfb; text-decoration: none; }
.rk h1 { font-size: 24px; margin: 0 0 8px; line-height: 1.4; }
.rk-lead { margin: 0 0 12px; line-height: 1.8; font-size: 14px; }
.rk-filters { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; background: #fff; border: 1px solid #dfe2e6; border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; font-size: 14px; }
.rk-filters select { font-size: 14px; padding: 5px 6px; border: 1px solid #ccd; border-radius: 6px; }
.rk-chk { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: #c92a2a; }
.rk-count { margin-left: auto; color: #6b6b70; font-weight: 700; }
.rk-tbl { background: #fff; border: 1px solid #dfe2e6; border-radius: 10px; overflow-x: auto; }
.rk-tbl table { border-collapse: collapse; width: 100%; font-size: 14px; }
.rk-tbl th { background: #f6a821; color: #fff; padding: 8px 10px; white-space: nowrap; font-weight: 700; }
.rk-tbl td { border-bottom: 1px solid #eef0f3; padding: 8px 10px; white-space: nowrap; text-align: center; }
.rk-tbl td.num { text-align: right; }
.rk-tbl td small { display: block; font-size: 11px; color: #6b6b70; }
.rk-tbl td small a { color: #e8590c; }
.rk-n { font-weight: 800; color: #e67700; }
.rk-name { text-align: left !important; white-space: normal !important; min-width: 9em; }
.rk-name a { color: #4b6bfb; font-weight: 700; text-decoration: none; }
.rk-hl { font-weight: 800; color: #2b8a3e; font-size: 15px; }
.ol { display: inline-block; border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 800; color: #fff; white-space: nowrap; }
.ol-ok2 { background: #2b8a3e; } .ol-ok { background: #1098ad; } .ol-mid { background: #e67700; } .ol-ng { background: #c92a2a; } .ol-na { background: #868e96; }
.rk-more { text-align: center; }
.rk-more button { font: inherit; font-weight: 700; padding: 10px 24px; border-radius: 999px; border: 1px solid #4b6bfb; background: #fff; color: #4b6bfb; cursor: pointer; }
.rk-note { font-size: 12px; color: #6b6b70; line-height: 1.7; }
.rk-box { background: #fff; border: 1px solid #dfe2e6; border-radius: 10px; padding: 12px 16px; margin: 14px 0; }
.rk-box h2 { font-size: 16px; margin: 0 0 6px; }
.rk-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.rk-links a { color: #4b6bfb; font-weight: 700; }
/* トップの3つのランキング */
.top3 { max-width: 1400px; margin: 14px auto 6px; padding: 0 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; box-sizing: border-box; }
.t3-card { background: #fff; border: 2px solid #f6a821; border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; }
.t3-card h2 { font-size: 17px; margin: 0 0 6px; }
.t3-card ol { margin: 0; padding-left: 1.6em; flex: 1; }
.t3-card li { padding: 5px 0; border-bottom: 1px dashed #eee; font-size: 14px; }
.t3-card li::marker { font-weight: 800; color: #e67700; }
.t3-card li a { color: #33343a; font-weight: 700; text-decoration: none; }
.t3-card li b { float: right; color: #2b8a3e; }
.t3-more { margin-top: 8px; text-align: right; font-weight: 700; color: #4b6bfb; font-size: 14px; }
@media (max-width: 900px) { .top3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .rk { padding: 10px 10px 4px; }
  .rk h1 { font-size: 20px; }
  .rk-tbl td, .rk-tbl th { padding: 7px 6px; font-size: 13px; }
  .top3 { padding: 0 12px; }
}
.rk-up { color: #d6336c; } .rk-down { color: #1c7ed6; }
.rk-tbl td.rk-up small { color: #d6336c; } .rk-tbl td.rk-down small { color: #1c7ed6; }
.rk-crash { background: #e7f5ff; font-weight: 800; }
.rk-embed { max-width: none; padding: 0; margin: 10px 0 18px; }
.rk-q { flex: 1 1 280px; display: flex; align-items: center; gap: 6px; font-weight: 700; }
.rk-q input { flex: 1; min-width: 0; font-size: 15px; padding: 7px 10px; border: 2px solid #f6a821; border-radius: 8px; }
.rk-reset { font: inherit; font-size: 13px; padding: 5px 10px; border: 1px solid #ccd; border-radius: 6px; background: #fff; cursor: pointer; }
.rk-hit { background: #fff8e6; border: 1px solid #ffd8a8; border-radius: 8px; padding: 8px 12px; font-size: 13px; margin: 0 0 10px; }
.rk-hit a { color: #4b6bfb; font-weight: 700; }
@media (max-width: 640px) { .rk-filters label { flex: 1 1 45%; } .rk-filters select { width: 100%; } .rk-q { flex-basis: 100%; } }
.wl-count { font-size: 15px; color: #e8590c; }
.wl-star { color: #f59f00; }
.wl-add { position: relative; background: #fff; border: 2px solid #f6a821; border-radius: 10px; padding: 10px 14px; margin-bottom: 10px; }
.wl-add label { display: flex; gap: 8px; align-items: center; font-weight: 700; }
.wl-add input { flex: 1; min-width: 0; font-size: 15px; padding: 7px 10px; border: 1px solid #ccd; border-radius: 8px; }
.wl-suggest { list-style: none; margin: 6px 0 0; padding: 0; }
.wl-suggest li { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px dashed #eee; font-size: 14px; }
.wl-suggest small { color: #6b6b70; margin-left: auto; }
.wl-empty p { margin: 0; line-height: 1.8; font-size: 14px; }
.wl-sum { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.wl-sum b { color: #2b8a3e; }
.wl-share { display: flex; gap: 6px; }
.wl-share input { flex: 1; min-width: 0; font-size: 13px; padding: 6px 8px; border: 1px solid #ccd; border-radius: 6px; }
.wl-share button { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 6px; border: 1px solid #4b6bfb; background: #4b6bfb; color: #fff; cursor: pointer; }
.rk-name .wbtn { margin-right: 2px; }
.t3-card li .wbtn { font-size: 15px; padding: 0 3px 0 0; }
