/* 記事の足し物（CEO 10-25）：店の色ボタン、商品ページ直行だけ、流行の棚、下の固定ボタン */
:root{--am:#ff9900;--rk:#bf0000;--yh:#ff0033}
.eq3 a[href*="amazon.co.jp"],a.buy[href*="amazon.co.jp"],#mShops a[href*="amazon.co.jp"],.wk-b[href*="amazon.co.jp"]{background:var(--am)!important;color:#111!important;border-color:var(--am)!important;font-weight:700}
.eq3 a[href*="p_id=54&"],#mShops a[href*="p_id=54&"]{background:var(--rk)!important;color:#fff!important;border-color:var(--rk)!important;font-weight:700}
.eq3 a[href*="p_id=1225&"],#mShops a[href*="p_id=1225&"]{background:var(--yh)!important;color:#fff!important;border-color:var(--yh)!important;font-weight:700}
.eq3 a{border-radius:10px}
/* 検索結果へのリンクはボタンにしない */
#mShops a[href*="search"]{display:none!important}
/* 流行の棚 */
.tshelf{max-width:1240px;margin:40px auto 10px;padding:0 16px}
.tshelf .sh{display:flex;align-items:baseline;gap:10px;margin:0 0 12px}.tshelf .sh h2{font-family:var(--mincho);font-weight:500;font-size:1.3rem}.tshelf .sh .en{color:var(--rose);font-size:.75rem;letter-spacing:.1em}
.tshelf .shelf{display:grid;grid-auto-flow:column;grid-auto-columns:70%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:14px}
@media(min-width:700px){.tshelf .shelf{grid-auto-columns:32%}}@media(min-width:1100px){.tshelf .shelf{grid-auto-columns:19%}}
.tshelf .tc{scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.tshelf .tc .ph{position:relative;aspect-ratio:1/1;background:#fff;display:block}.tshelf .tc .ph img{width:100%;height:100%;object-fit:contain}
.tshelf .num{position:absolute;left:8px;bottom:6px;font:600 40px/1 "Oswald",sans-serif;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.35)}
.tshelf .bd{padding:10px 12px 12px;display:flex;flex-direction:column;flex:1}
.tshelf .rnk{font-size:11px;color:#b0645a}.tshelf .pr{display:inline-block;border:1px solid #999;color:#777;font-size:10px;line-height:1;padding:3px 5px;border-radius:4px;margin-right:4px}
.tshelf .mv{font-size:10px;color:var(--rose);border:1px solid var(--rose);border-radius:99px;padding:1px 6px}
.tshelf h3{font-size:13px;font-weight:500;line-height:1.5;margin:4px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shops{display:flex;gap:6px;margin-top:auto;padding-top:8px}
.shops a{flex:1;text-align:center;font-weight:700;font-size:12px;padding:9px 2px;border-radius:8px;color:#fff;text-decoration:none}
.shops a.b-am{background:var(--am);color:#111}.shops a.b-rk{background:var(--rk)}.shops a.b-yh{background:var(--yh)}.shops a.b-ms{background:#16223e}
/* 下の固定ボタン（スマホ） */
.sticky{position:fixed;left:0;right:0;bottom:0;background:rgba(255,255,255,.96);border-top:1px solid var(--line);padding:8px 16px calc(8px + env(safe-area-inset-bottom));z-index:60}
.sticky[hidden]{display:none}.sticky .shops{margin:0 auto;max-width:600px;padding:0}.sticky .shops a{font-size:13px;padding:11px 2px}
@media(min-width:900px){.sticky{display:none!important}}
.tshelf h3,.tshelf h3 a{letter-spacing:0;text-transform:none;font-family:inherit;color:#222}
.tshelf .shops a,.sticky .shops a{border:0;letter-spacing:0;text-transform:none;min-height:0;margin:0}
.fbuy{display:flex;align-items:center;gap:8px;margin:10px 16px 14px}
.fbuy .shops{flex:1;margin:0;padding:0}.fbuy .shops a{font-size:13px;padding:12px 2px}
.prl2{flex:none;border:1px solid #999;color:#666;font-size:10px;line-height:1;padding:4px 5px;border-radius:4px}
.off-hero img{max-height:52vh;width:100%;object-fit:contain;background:#fff}
.wk-hero img{max-height:52vh;width:100%;object-fit:contain}
.fbuy .shops a{border:0!important;letter-spacing:.02em;text-transform:none;min-height:0}

.slide1 img[src^="/img/card/"],.off-hero img[src^="/img/card/"]{aspect-ratio:1/1;object-fit:contain;padding:0;background:#16223e}
.slide1:has(> img[src^="/img/card/"]){background:#16223e;display:flex;flex-direction:column;justify-content:center}.slide1:has(> img[src^="/img/card/"]) figcaption{margin-top:auto}

/* 楽天の商品リンクの部品（もしも・ソースは変えない）を店ボタンの下の行に置く（patch_1104c） */
.eq3.eq2{grid-template-columns:repeat(2,1fr)}
.rkpart{margin-top:10px;padding:12px 14px;border:1px solid var(--rk);border-radius:10px;text-align:center;font-size:.8rem;line-height:1.6}
.rkpart a{color:var(--ink);text-decoration:none;display:block}
.rkpart .rkh{margin:0 0 6px;color:var(--rk);font-weight:700;letter-spacing:.08em}
.rkpart a img{display:block;margin:0 auto 6px}

/* 記事93 の本の行の楽天の部品が 390 で横にはみ出さない（patch_1105f） */
.books li{min-width:0;max-width:100%}.books li>*{min-width:0}
.rkpart{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word}.rkpart img{max-width:100%;height:auto}
.books li>.rkpart{grid-column:1/-1}
.books li .mlk,.books li .rkpart{max-width:100%;overflow:hidden}
body{overflow-x:clip}
.badge2 .up{display:inline-block;white-space:nowrap;margin-left:6px;font-weight:700;color:#c8102e}
