
[data-sticky-head="1"] { overflow: visible !important; }
[data-sticky-head="1"] > table > thead > tr > th, [data-sticky-head="1"] > table > thead > tr > td { position: sticky; top: var(--sticky-head-top, 0px); z-index: 3; box-shadow: 0 1px 0 rgba(0,0,0,.18), 0 3px 4px rgba(0,0,0,.06); }


[data-table-fit="1"]::before, [data-table-fit="1"] > .codex-mobile-table-scroll-caption,
.codex-mobile-table-wrap:has(> table[data-mh5-fit])::before, .codex-mobile-table-wrap:has(> table[data-sp4-fit])::before,
.codex-mobile-table-wrap:has(> table[data-mh5-fit]) > .codex-mobile-table-scroll-caption,
.codex-mobile-table-wrap:has(> table[data-sp4-fit]) > .codex-mobile-table-scroll-caption { content: none !important; display: none !important; }
[data-table-scroll="1"]:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
[data-table-scroll="1"][data-table-more="1"] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), rgba(0,0,0,.25)); mask-image: linear-gradient(to right, #000 calc(100% - 28px), rgba(0,0,0,.25)); }


/* 表の数字は等幅にして、縦に並ぶ価格の桁をそろえる（2026-10-10 調査：OWID・Pudding。台帳 tabular-nums-price-cells） */
.post_content :is(td,th),.tm :is(.tm-vals,dd){font-variant-numeric:tabular-nums}
.tm,.tm-back{display:none}
@media (max-width:767px){
.tm{display:block;margin:0 0 1.6em;font-size:15px;line-height:1.6;color:inherit}
[data-tm-hidden="1"]{display:none!important}
.tm-cap{font-size:13px;color:#5b6675;margin:0 0 .5em}
.tm-cols{border:1px solid #d9e0e8;border-radius:10px;background:#fff}
.tm-cols{overflow:clip}
.tm-cols>.tm-cap,.tm-cols>.tm-diff{padding:8px 10px 0;margin:0}
.tm-head{display:grid;grid-template-columns:repeat(var(--k),minmax(0,1fr));gap:1px;background:#d9e0e8;position:sticky;top:var(--tm-top,0px);z-index:5;box-shadow:0 2px 4px rgba(20,40,70,.08)}
.tm-head>div{background:#f3f6fa;padding:8px 8px 6px;font-weight:700;font-size:14px;line-height:1.4;min-width:0}
.tm-head *{max-width:100%;box-sizing:border-box}
.tm-head img{display:block;max-width:100%;max-height:72px;width:auto;height:auto;margin:0 auto 4px;object-fit:contain}
.tm-name{overflow-wrap:anywhere}
.tm-name *,.tm-label *,.tm-card dt *,.tm-group *{color:inherit!important;background:none!important}
.tm-cols[data-k="3"] .tm-buy :is(a,a *){font-size:12.5px!important;letter-spacing:-.02em;word-break:keep-all;line-height:1.35!important}
.tm-chg{position:relative;display:block;margin-top:5px;font-size:12px;font-weight:700;color:#1d5fa8;border:1px solid #b9c9dc;border-radius:999px;background:#fff;padding:3px 8px;text-align:center;line-height:1.5}
.tm-chg span::after{content:" ▾"}
.tm-chg select{position:absolute;inset:0;width:100%;height:100%;opacity:0;font-size:16px;cursor:pointer}
.tm-sec{background:#e8eef5;color:#1b2f46;font-size:13.5px}
.tm-diff{display:flex;align-items:center;gap:6px;font-size:13px;margin:0 0 6px;color:#3d4a5a}
.tm-diff input{width:18px;height:18px;margin:0}
.tm-buy .tm-vals>div{display:grid;gap:6px}
.tm-card dl.tm-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.tm-card dl.tm-grid2>div{display:block;padding:6px 0}
.tm-card dl.tm-grid2>div:nth-child(2){border-top:0}
.tm-card dl.tm-grid2 dt{font-size:12px;font-weight:600}
.tm-card dl.tm-grid2 dd{font-weight:700;font-size:15.5px}
.tm-row{border-top:1px solid #e3e8ee}
.tm-label{background:#f7f9fb;color:#3d4a5a;font-size:12.5px;font-weight:700;padding:4px 10px;letter-spacing:.02em}
.tm-vals{display:grid;grid-template-columns:repeat(var(--k),minmax(0,1fr));gap:0}
.tm-vals>div{padding:7px 8px 8px;min-width:0;overflow-wrap:anywhere;word-break:normal}
.tm-vals>div+div{border-left:1px solid #eef1f5}
.tm-vals img{max-width:100%;height:auto}
.tm-vals a{overflow-wrap:anywhere}
.tm-buy .tm-vals>div>*{max-width:100%;box-sizing:border-box}
.tm-buy .tm-vals>div :is(a,.swell-block-button,.wp-block-button){min-width:0!important;width:100%!important;margin:0!important;padding-left:4px!important;padding-right:4px!important;font-size:14px!important}
.tm-rows{display:grid;gap:10px}
/* カードを入れた外枠は1列（2026-10-13：Monohikaku の .mh-section-price-links>div:nth-child(2)>div{2列grid!important} が
   表の外枠 .mh-price-table-scroll にも効き、カードが156px・価格ボタンが39pxに潰れて『Ama/zon』と重なっていた） */
html body div:has(> .tm.tm-rows){display:block!important}
.tm-card{border:1px solid #d9e0e8;border-radius:10px;background:#fff;overflow:hidden}
.tm-title{background:#f3f6fa;font-weight:700;padding:8px 12px;font-size:15.5px;line-height:1.45}
.tm-card dl{margin:0;padding:2px 12px 8px}
.tm-card dl>div{display:grid;grid-template-columns:minmax(5.5em,38%) 1fr;gap:10px;padding:7px 0;border-top:1px solid #eef1f5}
.tm-card dl>div:first-child{border-top:0}
.tm-card dt{font-size:13px;color:#5b6675;font-weight:700;margin:0;line-height:1.5}
.tm-card dd{margin:0;min-width:0;overflow-wrap:anywhere}
.tm-card dd img{max-width:100%;height:auto}
.tm-card .tm-btns{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr));gap:6px;padding:8px 12px 12px;border-top:1px solid #eef1f5}
.tm-card .tm-btns>div{min-width:0}
.tm-card .tm-btns :is(a,.swell-block-button,.wp-block-button){min-width:0!important;width:100%!important;margin:0!important;padding-left:4px!important;padding-right:4px!important;font-size:14px!important}
.tm-group{font-weight:700;font-size:14px;color:#3d4a5a;margin:6px 2px -2px}
.tm-switch{display:block;margin:10px 10px 10px auto;font-size:13px;padding:6px 12px;border:1px solid #b9c4d0;border-radius:999px;background:#fff;color:#1b2f46}
.tm-back{display:block;margin:0 0 6px auto;font-size:13px;padding:6px 12px;border:1px solid #b9c4d0;border-radius:999px;background:#fff;color:#1b2f46}
}


/* 改善の記録：
   - 2026-10-20 初版。抽出585記事（5サイト）のスマホ/PCの撮影で、数字が本文と同じ強さで埋もれる・項目名が12.5〜13pxで薄い・
     PCで2列の短い表が768px幅に伸びる（イヤシロ 掲載数の内訳）・金額が「1,100/円」と折れる（SP1）・「12か/月目」（招待コードナビ）を直す
   - 2026-10-20 table_review 初回（2,414ページ）：PCの間延び995件の大半が設計済みの比較表・基本情報カード（ms-cmp 660・sp1-cmp 151・ms-info 135）
     と、class だけでは縮まない時刻表（harimap jr-takarazuka）→ PCでは直接の幅指定で中身の幅に縮め、外枠も fit-content に。抽出585記事でPC 440表が縮み、横スクロール0
   - 2026-10-20 PCで元から横スクロールの42表（25ページ）を、列ガイド・最小幅を外して本文幅に収める。比較表の10〜16pxの端数スクロールは余白→セル余白→文字-12%で収める
   - 2026-10-20 後からJSで描かれる表を MutationObserver で拾う。ただし初回処理（load+900ms）より前は再処理しない（SP1で table_mobile より先に積み29表が広がった）
   - 2026-10-24 駐車場カード（.hm-parking .hm-head）で自動広告が入った時に横押し出し・切れを起こす ad_slot_risk を解消するため flex-wrap:wrap と自動広告の全幅化を追加 */
table.tl{border-collapse:separate!important;border-spacing:0!important;border:1px solid #d3dde7!important;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(16,40,70,.07)}
table.tl :is(th,td){border:0!important;border-bottom:1px solid #e3e9ef!important}
table.tl :is(th,td)+:is(th,td){border-left:1px solid #e9eef3!important}
table.tl tr:last-child>:is(th,td){border-bottom:0!important}
table.tl.tl-headfill thead :is(th,td),table.tl.tl-headfill>tbody:first-child>tr:first-child.tl-hrow>:is(th,td){background:var(--ms-head,#1f3a52)!important;color:#fff!important;font-weight:700!important;font-size:max(14px,.92em)!important;letter-spacing:.02em}
table.tl.tl-headfill thead :is(th,td) *,table.tl.tl-headfill tr.tl-hrow>:is(th,td) *{color:inherit!important}
table.tl tbody tr:not(.tl-hrow):nth-child(even)>td:not([style*="background"]){background-color:#f8fafc}
table.tl .tl-label{background:#eef3f8!important;color:#14283a!important;font-weight:700!important;font-size:max(14px,.95em)!important;word-break:keep-all;overflow-wrap:break-word}
table.tl .tl-label *{color:inherit}
.tl-num{font-weight:800;color:var(--ms-head,#1f3a52);font-size:1.08em;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:.01em}
a .tl-num{color:inherit}
@media (min-width:768px){
  table.tl.tl-fit{width:auto!important;min-width:min(100%,440px)!important;max-width:100%!important}
  table.tl.tl-kv .tl-label{width:min(30%,13em)}
  table.tl .tl-label.tl-short,table.tl .tl-first{white-space:nowrap!important}
}
@media (max-width:767px){
  table.tl.tl-stack,table.tl.tl-stack>tbody{display:block!important;width:100%!important;min-width:0!important;border:0!important;box-shadow:none;border-radius:0;overflow:visible!important}
  table.tl.tl-stack>thead{display:none!important}
  table.tl.tl-stack>caption{display:block!important;text-align:left;font-weight:700;margin:0 0 6px}
  table.tl.tl-stack tr{display:block!important;margin:0 0 10px!important;border:1px solid #d3dde7!important;border-radius:10px!important;overflow:hidden;background:#fff}
  table.tl.tl-stack tr.tl-hrow{display:none!important}
  table.tl.tl-stack tr>:is(th,td){display:block!important;width:auto!important;min-width:0!important;max-width:none!important;border:0!important;border-top:1px solid #e9eef3!important;padding:8px 12px!important;white-space:normal!important;text-align:left!important;background:#fff!important;position:static!important}
  table.tl.tl-stack tr>:is(th,td) :not(.tl-num){white-space:normal!important;min-width:0!important}
  :has(>table.tl.tl-stack){width:auto!important;min-width:0!important;max-width:100%!important;overflow-x:visible!important}
  table.tl.tl-stack tr>:first-child{border-top:0!important;border-left:4px solid var(--ms-head,#1f3a52)!important;background:#eef3f8!important;color:#14283a!important;font-weight:700!important;font-size:15.5px!important}
  table.tl.tl-stack tr>[data-tl-h]:not(:first-child)::before{content:attr(data-tl-h);display:block;font-size:14px;font-weight:700;color:#4a5b6b;margin:0 0 2px}
  /* 旧部品 codex-mobile-table のスマホの項目名（td::before、10.5px）を14pxへ（SP1 elem-ascii-campaign ほか） */
  .post_content td[data-codex-label]::before,.entry-content td[data-codex-label]::before{font-size:14px!important;font-weight:700!important;color:#3d4a5a!important;line-height:1.4!important}
  /* table_mobile のカード：小さい項目名（12〜13px）を14pxへ、名前の行にサイト色の印 */
  .tm-label{font-size:14px!important;color:#1b2f46!important}
  .tm-card dt,.tm-card dl.tm-grid2 dt{font-size:14px!important;color:#3d4a5a!important}
  .tm-cap,.tm-sec{font-size:14px!important}
  .tm-title{border-left:4px solid var(--ms-head,#1f3a52)}
  /* 駐車場カード（.hm-parking .hm-head）：自動広告が入った時の横押し出し・切れを防ぐため折り返しを許可 */
  .hm-parking .hm-head{flex-wrap:wrap!important}
  .hm-parking .hm-head>.google-auto-placed{flex:0 0 100%!important;width:100%!important}
}
