/* misclog の比較表（TablePress）の見た目。2026-11-15 作成。
   効くのは TablePress の「追加の CSS クラス」に mc-table を付けた表だけ（DataTables の横スクロールとぶつかるので、付けた表は DataTables を切る）。
   順位バッジは rank も付けた表だけ。× の色付けは functions.php の小さな JS。 */
.tablepress.mc-table{
  display:block; width:100%; max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch;
  border-collapse:separate; border-spacing:0; margin:0 0 1.5em; font-size:12px; line-height:1.5; color:#2d2d2d;
  border:1px solid #e3e3e3; border-radius:10px; -webkit-text-size-adjust:100%; text-size-adjust:100%;
  background:
    linear-gradient(90deg,#fff 30%,rgba(255,255,255,0)) 0 0/40px 100% no-repeat local,
    linear-gradient(270deg,#fff 30%,rgba(255,255,255,0)) 100% 0/40px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%,rgba(0,0,0,.18),transparent) 100% 0/14px 100% no-repeat scroll,
    #fff;
}
.tablepress.mc-table th,.tablepress.mc-table td{
  padding:8px 9px; border:0; border-bottom:1px solid #ececec; text-align:center; vertical-align:middle;
  white-space:nowrap; font-size:12px; background:transparent;
}
.tablepress.mc-table thead th{
  background:#f5f5f4; color:#2d2d2d; font-weight:700; font-size:11px; letter-spacing:.02em;
  border-bottom:2px solid #2d2d2d; padding:8px 9px;
}
.tablepress.mc-table tbody tr:nth-child(even) td{background:rgba(45,45,45,.028)}
.tablepress.mc-table tbody tr:last-child td{border-bottom:0}
/* 1列目（製品名）を固定 */
.tablepress.mc-table th.column-1,.tablepress.mc-table td.column-1{
  position:sticky; left:0; z-index:2; text-align:left; white-space:normal; word-break:normal; overflow-wrap:break-word; box-sizing:border-box; width:120px; min-width:120px; max-width:120px;
  background:#fff; box-shadow:1px 0 0 #e3e3e3, 6px 0 8px -6px rgba(0,0,0,.18);
}
.tablepress.mc-table thead th.column-1{background:#f5f5f4; z-index:3}
.tablepress.mc-table tbody tr:nth-child(even) td.column-1{background:#fafafa}
.tablepress.mc-table td.column-1 p{margin:0}
.tablepress.mc-table td.column-1 a{color:#2d2d2d; font-weight:600; text-decoration:underline; text-decoration-color:rgba(45,45,45,.35); text-underline-offset:3px}
.tablepress.mc-table td.column-1 .item{
  font-size:11.5px; line-height:1.5;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2; overflow:hidden;
}
.tablepress.mc-table td.column-1 br{display:none}
/* Amazon のリンクをボタンに（Pochipp の Amazon ボタンと同じ色） */
.tablepress.mc-table td a[href*="amazon.co.jp"],.tablepress.mc-table td a[href*="amzn.to"]{
  display:inline-block; padding:6px 10px; border-radius:6px; background:#f99a0c; color:#fff!important;
  font-weight:700; font-size:11px; text-decoration:none; box-shadow:0 2px 0 #c97a05; letter-spacing:.03em;
}
/* 画像 */
.tablepress.mc-table td img{width:40px!important; height:40px!important; object-fit:contain; max-width:none}
/* ✓ / × */
.tablepress.mc-table .mc-no{color:#b9b9b9; font-weight:700}
.tablepress.mc-table .mc-yes{color:#1a9b6c; font-weight:700}
/* 順位バッジ（class "rank" の表だけ） */
.tablepress.mc-table.rank tbody{counter-reset:mcrank}
.tablepress.mc-table.rank tbody tr{counter-increment:mcrank}
.tablepress.mc-table.rank th.column-1{width:132px; min-width:132px; max-width:132px}
.tablepress.mc-table.rank td.column-1{padding-left:32px; width:132px; min-width:132px; max-width:132px}
.tablepress.mc-table.rank td.column-1::before{
  content:counter(mcrank); position:absolute; left:7px; top:50%; transform:translateY(-50%);
  width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700; color:#2d2d2d; background:#efefef;
}
.tablepress.mc-table.rank tbody tr:nth-child(1) td.column-1::before{background:#c9a227; color:#fff}
.tablepress.mc-table.rank tbody tr:nth-child(2) td.column-1::before{background:#9aa3ab; color:#fff}
.tablepress.mc-table.rank tbody tr:nth-child(3) td.column-1::before{background:#b07a4f; color:#fff}
/* 特徴の列は折り返す */
.tablepress.mc-table td.column-16{white-space:normal; min-width:13em; text-align:left; font-size:11.5px}
