* { box-sizing:border-box; }
body { margin:0; color:#191919; background:#fff; font-family:Arial,'Meiryo',sans-serif; }
.ranking-intro { margin:0 0 16px; color:#666; font-size:12px; text-align:center; }
.ranking-scroll { overflow-x:auto; overflow-y:hidden; padding:4px 0 16px; scrollbar-color:#75643c #eee; scrollbar-width:thin; scroll-snap-type:x proximity; }
.ranking-list { display:flex; gap:16px; list-style:none; margin:0; padding:0; }
.ranking-card { flex:0 0 200px; min-width:0; position:relative; scroll-snap-align:start; }
.ranking-card a { display:block; color:inherit; text-decoration:none; }
.ranking-card a:focus-visible,.ranking-scroll:focus-visible { outline:2px solid #75643c; outline-offset:-2px; }
.rank-number { display:block; width:32px; padding:7px 0; margin-bottom:8px; background:#222; color:white; text-align:center; font-weight:bold; font-size:14px; }
.ranking-card:nth-child(1) .rank-number { background:#a58a46; }
.ranking-card:nth-child(2) .rank-number { background:#888; }
.ranking-card:nth-child(3) .rank-number { background:#986d50; }
.rank-image { display:block; width:100%; height:200px; object-fit:contain; background:#f8f8f8; }
.rank-name { display:block; height:40px; margin:10px 0 6px; font-size:12px; line-height:20px; overflow:hidden; }
.rank-price { display:block; font-size:12px; font-weight:bold; }
.rank-placeholder { display:flex; align-items:center; justify-content:center; color:#888; font-size:12px; }
@media(max-width:600px) { .ranking-card { flex-basis:145px; } .rank-image { height:145px; } .ranking-list { gap:12px; } }
