:root{--wine:#841e2f;--ink:#282126;--muted:#71666a;--line:#e9dfe1;--paper:#fbf8f7;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 system-ui,-apple-system,"Yu Gothic",Meiryo,sans-serif}a{color:var(--wine)}button,input,select{font:inherit}.shell{width:min(1440px,calc(100% - 40px));margin:auto}
.site-header{background:var(--white);border-bottom:1px solid var(--line)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-weight:800;font-size:20px;text-decoration:none;line-height:1.15}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.06em;font-weight:500;margin-top:5px}.brand-mark{background:var(--wine);color:white;padding:11px 8px;border-radius:7px;font-size:13px;letter-spacing:.08em}.site-header nav{display:flex;gap:4px;flex-wrap:wrap}.site-header nav a{text-decoration:none;color:var(--ink);font-size:14px;font-weight:700;padding:10px 15px;border-radius:6px}.site-header nav a:hover,.site-header nav a[aria-current]{background:#f5e8eb;color:var(--wine)}
main{min-height:75vh;padding-bottom:80px}.intro{padding:44px 0 28px}.intro h1{font-size:clamp(28px,3vw,40px);line-height:1.3;margin:4px 0 9px}.intro p{margin:0;color:var(--muted)}.intro .eyebrow,.eyebrow{color:var(--wine);font-size:11px;font-weight:800;letter-spacing:.18em}.intro a{text-decoration:none}.search-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:26px;align-items:start}.filter-panel,.product-card,.compare-picker,.detail-specs section{background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 2px 14px #46232909}.filter-panel{padding:22px;position:sticky;top:16px}.filter-panel form{display:grid;gap:20px}.panel-heading,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.panel-heading h2,.section-heading h2{margin:0;font-size:20px}.panel-heading a{font-size:12px}.filter-panel label{display:grid;gap:6px;font-size:13px;font-weight:700}.filter-panel input:not([type=checkbox]):not([type=range]),.filter-panel select{width:100%;border:1px solid #d8cace;border-radius:5px;background:#fff;padding:9px;color:var(--ink);min-width:0}.filter-panel fieldset{border:0;margin:0;padding:0}.filter-panel legend{font-size:13px;font-weight:700;margin-bottom:7px}.price-inputs,.field-pair{display:flex;align-items:end;gap:8px}.price-inputs label,.field-pair label{flex:1;min-width:0}.price-inputs label{font-size:11px}.price-sliders{position:relative;height:28px;margin-top:14px}.price-sliders input{position:absolute;left:0;top:0;width:100%;margin:0;accent-color:var(--wine);pointer-events:none}.price-sliders input::-webkit-slider-thumb{pointer-events:auto}.price-sliders input::-moz-range-thumb{pointer-events:auto}.filter-panel details{border-top:1px solid var(--line);padding-top:12px}.filter-panel summary{cursor:pointer;font-weight:700;font-size:13px}.features{max-height:220px;overflow:auto;display:grid;gap:6px;padding:12px 0}.features label{display:flex;align-items:center;font-weight:500}.features input{accent-color:var(--wine)}.primary-button{border:0;border-radius:6px;background:var(--wine);color:#fff;font-weight:700;padding:11px 18px;cursor:pointer}.primary-button:hover{background:#681627}.results{min-width:0}.section-heading{margin:0 0 18px}.section-heading .eyebrow{margin:0}.section-heading strong{color:var(--wine)}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-card{padding:20px;min-width:0}.card-top{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.compare-check{cursor:pointer}.compare-check input{accent-color:var(--wine)}.product-card h3{font-size:20px;margin:10px 0 16px;line-height:1.35}.product-card h3 a{text-decoration:none;color:var(--ink)}.product-card h3 a:hover{color:var(--wine)}.quick-specs{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0;border-top:1px solid var(--line)}.quick-specs div{padding:8px 4px;border-bottom:1px solid var(--line)}.quick-specs dt{color:var(--muted);font-size:11px}.quick-specs dd{margin:2px 0 0;font-weight:700;font-size:14px}.card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:16px}.review-link{display:inline-block;background:#f7e9ec;border:1px solid #d8aeb7;border-radius:5px;color:var(--wine);padding:5px 9px;text-decoration:none;font-weight:700;font-size:12px}.review-link:hover{background:#efd2d8}.text-link{font-size:13px;font-weight:700;text-decoration:none}.compare-bar{position:sticky;bottom:12px;margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 30px #1d0f1540;padding:12px 18px;display:flex;justify-content:space-between;align-items:center;gap:16px}.empty{background:white;border:1px solid var(--line);padding:22px;border-radius:8px}
.tabs{display:flex;gap:8px;margin-bottom:22px}.tabs a{border:1px solid var(--line);border-radius:6px;padding:9px 16px;text-decoration:none;background:white;font-weight:700}.tabs a.active{background:var(--wine);border-color:var(--wine);color:white}h2 small{font-size:13px;color:var(--muted);font-weight:500}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:9px;background:white;margin-top:14px}.matrix{border-collapse:separate;border-spacing:0;width:max-content;min-width:100%;font-size:13px}.matrix th,.matrix td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 13px;min-width:170px;max-width:260px;vertical-align:top}.matrix thead th{background:#f3e8eb;position:sticky;top:0;z-index:2}.matrix th:first-child{min-width:200px;position:sticky;left:0;background:#fff;z-index:1}.matrix thead th:first-child{z-index:3;background:#f3e8eb}.matrix .category th{background:#ede1e4;text-align:left;color:var(--wine);font-weight:800;position:static}.matrix a{text-decoration:none;font-weight:700}.shops{display:flex;gap:6px;flex-wrap:wrap}.shop-link{display:inline-block;text-decoration:none;background:#f1f1ef;color:#464343;border:1px solid #d8d4d2;border-radius:5px;padding:5px 8px;font-size:12px;font-weight:700}.shop-link:hover{background:#e6e2df}.matrix .review-link{margin:2px 4px 2px 0}
.compare-picker{padding:20px}.picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 18px;max-height:210px;overflow:auto;margin-bottom:15px}.picker-grid label{font-size:13px;cursor:pointer}.picker-grid input,.diff-toggle input{accent-color:var(--wine)}.diff-toggle{display:inline-flex;gap:6px;align-items:center;margin-right:20px;font-weight:700;font-size:14px}.result-count{color:var(--muted);font-size:13px;margin-top:24px}.detail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:white;border:1px solid var(--line);border-radius:8px;padding:16px;margin-bottom:15px}.source-link{font-size:13px}.detail-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.detail-specs section{padding:20px}.detail-specs h2{font-size:18px;margin:0 0 8px;color:var(--wine)}.detail-specs dl{margin:0}.detail-specs dl div{display:grid;grid-template-columns:45% 55%;border-top:1px solid var(--line);padding:8px 0;gap:8px;font-size:13px}.detail-specs dt{color:var(--muted)}.detail-specs dd{margin:0;font-weight:600}.site-footer{background:#37282d;color:#eee;padding:32px 0;font-size:12px}.site-footer p{margin:5px 0;color:#d2c7ca}
@media(max-width:1000px){.search-layout{grid-template-columns:240px minmax(0,1fr)}.cards{grid-template-columns:1fr}.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.shell{width:min(100% - 24px,1440px)}.header-inner{align-items:flex-start;flex-direction:column;gap:8px;padding:12px 0}.site-header nav{width:100%;overflow:auto;flex-wrap:nowrap}.site-header nav a{white-space:nowrap;padding:8px 10px}.intro{padding:27px 0 20px}.search-layout{display:block}.filter-panel{position:static;margin-bottom:24px}.cards{grid-template-columns:1fr}.picker-grid{grid-template-columns:1fr}.detail-specs{grid-template-columns:1fr}.matrix th,.matrix td{min-width:150px}.matrix th:first-child{min-width:155px}.compare-bar{bottom:0;margin-inline:-12px;border-radius:0}.compare-bar .primary-button{font-size:13px}.detail-specs dl div{grid-template-columns:42% 58%}}

/* Product directory layout */
:root{--line:#d8d0d2;--paper:#fff;--ink:#252225;--muted:#635b5d}
body{font-size:14px;line-height:1.45}
.shell{width:min(1280px,calc(100% - 32px))}
.site-header{border-top:4px solid var(--wine)}
.header-inner{min-height:58px}
.brand{font-size:18px}.brand small,.brand-mark,.eyebrow{display:none}
.site-header nav a{border-radius:0;padding:7px 11px}
main{padding-bottom:32px}.intro{padding:20px 0 13px;border-bottom:1px solid var(--line);margin-bottom:16px}
.intro h1{font-size:23px;margin:0 0 3px}.intro p{font-size:13px}
.search-layout{grid-template-columns:235px minmax(0,1fr);gap:20px}
.filter-panel,.product-card,.compare-picker,.detail-specs section{border-radius:0;box-shadow:none}
.filter-panel{padding:13px;top:8px}.filter-panel form{gap:13px}
.panel-heading h2,.section-heading h2{font-size:17px}
.filter-panel input:not([type=checkbox]):not([type=range]),.filter-panel select{border-radius:0;padding:5px 6px}
.primary-button{border-radius:2px;padding:7px 11px;font-size:13px}
.section-heading{margin-bottom:10px}
.cards{gap:0;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}
.product-card{padding:12px;border-top:0;border-left:0;min-width:0}
.product-card h3{font-size:16px;margin:5px 0 7px}
.card-product{display:flex;align-items:center;gap:10px;min-height:52px}
.quick-specs div{padding:5px 3px}.quick-specs dt{font-size:11px}.quick-specs dd{font-size:13px;margin:0}
.card-actions{margin-top:8px}.review-link{border-radius:0;background:transparent;border:0;border-left:3px solid var(--wine);padding:2px 6px}
.shop-link{background:transparent;border:0;border-radius:0;border-right:1px solid var(--line);color:var(--wine);padding:2px 7px;text-decoration:underline;font-size:12px}
.shop-link:first-child{padding-left:0}.shop-link:last-child{border-right:0}
.product-card>.shops{border-top:1px solid var(--line);margin-top:8px;padding-top:6px;flex-wrap:nowrap}
.compare-bar{border-radius:0;box-shadow:none;padding:7px 12px}
.tabs{margin-bottom:12px}.tabs a{border-radius:0;padding:5px 10px}
.table-scroll{border-radius:0}.matrix th,.matrix td{padding:6px 8px;min-width:155px;max-width:220px;font-size:12px}
.matrix th:first-child{min-width:175px}.matrix thead th,.matrix thead th:first-child{background:#eee9ea}
.matrix .category th{background:#f5f1f2}
.matrix .shops{display:block}.matrix .shop-link{display:inline-block}
.compare-picker{padding:12px}.picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));max-height:160px}
.detail-actions{border-radius:0;padding:10px}.detail-specs{gap:10px;margin-top:12px}.detail-specs section{padding:12px}.detail-specs h2{font-size:15px}
.site-footer{padding:18px 0;background:#f4f1f2;color:var(--ink);border-top:1px solid var(--line)}.site-footer p{color:var(--muted)}
.product-image{display:inline-flex;align-items:center;justify-content:center;flex:none;background:white}
.product-image img{display:block;object-fit:contain;width:auto;height:auto;max-width:100%;max-height:100%}
.product-image.thumbnail{width:52px;height:52px}
.matrix .product-image.thumbnail{display:flex;margin:0 auto 3px;width:42px;height:42px}
.product-image.detail-image{width:min(280px,100%);height:220px;margin-bottom:10px}
@media(max-width:1000px){.cards{grid-template-columns:1fr}.picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.shell{width:min(100% - 20px,1280px)}.header-inner{gap:3px;padding:8px 0}.site-header nav a{font-size:12px}.intro{padding:13px 0 9px}.intro h1{font-size:19px}.search-layout{display:block}.filter-panel{margin-bottom:14px}.filter-panel form{gap:10px}.cards{grid-template-columns:1fr}.picker-grid{grid-template-columns:1fr;max-height:190px}.detail-specs{grid-template-columns:1fr}.matrix th:first-child{min-width:125px}.matrix th,.matrix td{min-width:135px}.product-image.thumbnail{width:48px;height:48px}.compare-bar{bottom:0;margin-inline:-10px}}

/* 共通ヘッダーと製品見出し */
.site-header{background:var(--wine);border:0}
.header-inner{min-height:48px}
.brand,.brand:hover{color:#fff;font-size:17px}
.site-header nav a{color:#fff}
.site-header nav a:hover,.site-header nav a[aria-current]{background:#681627;color:#fff}
.site-header a:focus-visible,.card-title a:focus-visible,.matrix thead a:focus-visible{outline:2px solid #fff;outline-offset:2px}
.cards{gap:12px;border:0}
.product-card{padding:0;border:1px solid var(--line)}
.card-top{padding:6px 10px}
.product-card h3.card-title{margin:0;background:var(--wine);color:#fff;padding:5px 10px;font-size:16px;line-height:1.35}
.product-card h3.card-title a,.product-card h3.card-title a:hover{color:#fff;text-decoration:none}
.product-card h3.card-title a:hover{text-decoration:underline}
.product-card>.product-image.thumbnail{margin:8px 10px 4px}
.product-card .quick-specs,.product-card .card-actions,.product-card>.shops{margin-left:10px;margin-right:10px}
.product-card>.shops{margin-bottom:8px}
.matrix thead th,.matrix thead th:first-child{background:var(--wine);color:#fff}
.matrix thead th a,.matrix thead th a:hover{color:#fff}
.matrix thead th a:hover{text-decoration:underline}
.detail-intro h1{background:var(--wine);color:#fff;padding:6px 10px}
@media(max-width:700px){.header-inner{min-height:0}.site-header nav a{padding:6px 9px}.cards{gap:10px}}

/* 検索結果・詳細の情報配置 */
.site-header nav{gap:7px}
.site-header nav a{background:var(--wine);color:#fff;border:1px solid #fff;border-radius:0;padding:5px 10px}
.site-header nav a[aria-current]{background:#fff;color:var(--wine)}
.site-header nav a:hover,.site-header nav a:focus-visible{background:#fff;color:var(--wine);outline:2px solid #fff;outline-offset:2px}
.site-header .blog-back{margin-left:auto;color:#fff;font-size:13px;white-space:nowrap;text-underline-offset:2px}
.site-header .blog-back:hover,.site-header .blog-back:focus-visible{color:#fff;text-decoration-thickness:2px}
@media(max-width:700px){.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px}.site-header .brand{grid-column:1;grid-row:1;min-width:0}.site-header .blog-back{grid-column:2;grid-row:1;margin-left:0}.site-header nav{grid-column:1/-1;grid-row:2;min-width:0}}
.cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-card{display:flex;flex-direction:column;min-width:0}
.product-card h3.card-title{font-size:15px}
.card-top{padding:5px 10px}
.card-body{display:flex;align-items:center;gap:10px;min-height:126px;padding:0 10px;min-width:0}
.card-body .product-image.search-image{width:100px;height:116px;margin:0;flex:none}
.product-card .quick-specs{flex:1;min-width:0;margin:0;border-top:0;column-gap:6px}
.product-card .quick-specs div{min-width:0;padding:5px 2px}
.product-card .quick-specs dd{overflow-wrap:anywhere}
.product-card .card-actions{margin-top:auto;padding-top:7px}
.detail-overview{display:flex;align-items:stretch;gap:20px}
.detail-overview .product-image.detail-image{width:min(280px,32%);height:220px;margin:0}
.detail-summary{flex:1;min-width:0;background:#fff;border:1px solid var(--line);padding:12px}
.detail-basics{display:grid;grid-template-columns:1fr;gap:0;margin:0}
.detail-basics div{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;border-bottom:1px solid var(--line);padding:7px 0;min-width:0}
.detail-basics dt{font-size:11px;color:var(--muted)}
.detail-basics dd{margin:2px 0 0;font-weight:700}
.detail-summary .detail-actions{border:0;background:none;padding:8px 0;margin:8px 0 0}
.detail-summary .source-link{margin:8px 0 0}
@media(max-width:1199px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.search-layout{display:block}.filter-panel{position:static;margin-bottom:14px}}
@media(max-width:700px){.cards{grid-template-columns:1fr}.detail-overview{flex-direction:column;gap:10px}.detail-overview .product-image.detail-image{width:min(280px,100%)}.detail-basics div{grid-template-columns:105px minmax(0,1fr)}.site-header nav a{padding:6px 9px}}
@media(max-width:360px){.card-body .product-image.search-image{width:84px;height:105px}}

/* Search result views */
.search-view[hidden]{display:none!important}
.result-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.view-switch{display:inline-flex;gap:4px}
.view-switch button{background:#fff;color:var(--wine);border:1px solid var(--wine);padding:4px 9px;cursor:pointer;font-size:12px;font-weight:700}
.view-switch button[aria-pressed="true"]{background:var(--wine);color:#fff}
.view-switch button:hover,.view-switch button:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.card-body{align-items:stretch;min-height:145px}
.card-body .product-image.search-image{height:140px}
.quick-specs{align-content:start}
.product-card .quick-specs div{padding:3px 2px}
.product-card .quick-specs dt{line-height:1.2;text-align:left}
.product-card .quick-specs dd{line-height:1.25;text-align:right;white-space:normal;overflow-wrap:anywhere}
.product-card .quick-specs .operation-methods{grid-column:1/-1}
.quick-specs .numeric{text-align:right;font-variant-numeric:tabular-nums}
.search-table-wrap{max-width:100%;max-height:72vh;overflow:auto;border:1px solid var(--line);background:#fff}
.search-table{border-collapse:separate;border-spacing:0;min-width:100%;width:max-content;font-size:12px}
.search-table th,.search-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:5px 4px;vertical-align:middle;text-align:center;white-space:nowrap}
.search-table thead th{position:sticky;top:0;z-index:2;background:var(--wine);color:#fff}
.search-table thead a{color:#fff;text-decoration:none;display:block}
.search-table thead a:hover,.search-table thead a:focus-visible{text-decoration:underline;outline:2px solid #fff;outline-offset:1px}
.search-table tbody tr:nth-child(even){background:#f8f5f5}
.search-table tbody tr:hover{background:#f3e9eb}
.search-table .numeric{text-align:right;font-variant-numeric:tabular-nums}
.search-table .select-col{text-align:center}
.search-table .image-col{width:52px;text-align:center}
.search-table .product-image.thumbnail{display:flex;width:42px;height:42px;margin:auto}
.search-table .product-image.thumbnail:has(>img[src$="/no-image.svg"]){position:relative}
.search-table .product-image.thumbnail:has(>img[src$="/no-image.svg"]) img{opacity:0}
.search-table .product-image.thumbnail:has(>img[src$="/no-image.svg"])::after{content:"NO\A IMAGE";position:absolute;left:0;top:50%;transform:translateY(-50%);box-sizing:border-box;width:100%;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;border:1px solid #b7b7b7;background:#f3f3f3;color:#595959;font:700 11px/1.05 Arial,sans-serif;text-align:center;white-space:pre;pointer-events:none}
.search-table .product-name-col{position:sticky;left:0;z-index:1;min-width:135px;max-width:210px;white-space:normal;background:#fff}
.search-table tbody tr:nth-child(even) .product-name-col{background:#f8f5f5}
.search-table tbody tr:hover .product-name-col{background:#f3e9eb}
.search-table thead .product-name-col{z-index:3;background:var(--wine)}
.search-table .product-name-col>a{font-weight:700}
.product-card .card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:30px;gap:6px}
.product-card .card-actions .review-link{justify-self:start;white-space:nowrap;font-size:11px}
.product-card .card-actions .text-link{justify-self:end;white-space:nowrap}
.search-table .related-col{width:70px;min-width:70px;max-width:70px;padding-left:3px;padding-right:3px;text-align:center}
.search-table .related-col a{color:var(--wine);white-space:nowrap}
.matrix-review-links .review-link{display:block;width:max-content;max-width:100%;margin:1px auto}
.detail-reviews{margin-top:12px;background:#fff;border:1px solid var(--line);padding:10px 12px}
.detail-reviews h2{font-size:15px;color:var(--wine);margin:0 0 8px}.detail-reviews h3{font-size:13px;margin:10px 0 3px}.detail-reviews ul{margin:0;padding-left:1.3rem}.detail-reviews li{margin:2px 0}.detail-reviews .review-link{font-weight:500}
.search-table .shops{flex-direction:column;align-items:center;flex-wrap:nowrap;gap:0}
.search-table .shops-col{width:90px}
.search-table .shop-link{display:block;border:0;padding:0 1px;font-size:11px;line-height:1.25;white-space:nowrap}
@media(max-width:700px){.result-controls{gap:7px}.search-table-wrap{max-height:65vh}.search-table .product-name-col{min-width:125px}}

/* Keep the sticky table layers below the comparison action bar. */
.search-results-form{isolation:isolate}
.search-table-wrap{position:relative;z-index:0;isolation:isolate}
.search-results-form .compare-bar{z-index:1}

/* メーカー別一覧と製品比較に共通する比較表 */
.matrix{table-layout:fixed;min-width:0}
.matrix th,.matrix td{vertical-align:middle}
.matrix thead th:not(:first-child),.matrix tbody td{width:145px;min-width:145px;max-width:145px;text-align:center;overflow-wrap:anywhere}
.matrix th:first-child{width:170px;min-width:170px;max-width:170px}
.matrix thead th{text-align:center;line-height:1.3;white-space:normal}
.matrix .matrix-image-row th{background:#fff}
.matrix .product-image.matrix-image{display:flex;width:92px;height:92px;margin:auto}
.matrix .shops{display:flex;flex-direction:column;align-items:center;gap:0}
.matrix .shop-link{display:block;border:0;padding:1px 3px;line-height:1.25;white-space:nowrap}
.matrix .matrix-value-line{display:block}
.matrix .category th{text-align:left}
.matrix .category .category-label{position:sticky;left:0;z-index:2;background:#f5f1f2;border-right:0}
.matrix .category td{width:auto;min-width:0;max-width:none;background:#f5f1f2}

/* The selected price interval is drawn once, beneath two transparent range tracks. */
.price-sliders::before{content:"";position:absolute;left:8px;right:8px;top:11px;height:6px;background:linear-gradient(to right,#ded7d9 0 var(--range-start,0%),var(--wine) var(--range-start,0%) var(--range-end,100%),#ded7d9 var(--range-end,100%) 100%);border:1px solid #c8bfc2;border-radius:3px}
.price-sliders input[type="range"]{appearance:none;-webkit-appearance:none;height:28px;background:transparent;outline:none}
.price-sliders input[type="range"]::-webkit-slider-runnable-track{height:6px;background:transparent}
.price-sliders input[type="range"]::-moz-range-track{height:6px;background:transparent}
.price-sliders input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;margin-top:-5px;border:1px solid #681627;border-radius:50%;background:var(--wine);pointer-events:auto;cursor:pointer}
.price-sliders input[type="range"]::-moz-range-thumb{width:16px;height:16px;border:1px solid #681627;border-radius:50%;background:var(--wine);pointer-events:auto;cursor:pointer}
.price-sliders input[type="range"]:focus-visible{z-index:2;outline:2px solid var(--wine);outline-offset:2px}
.affiliate-impression{position:absolute;width:1px;height:1px}

/* 比較候補と狭い画面 */
.picker-group{min-width:0;margin:0;padding:5px 8px 8px;border:1px solid var(--line)}
.picker-group legend{padding:0 4px;color:var(--wine);font-weight:700;font-size:13px}
.picker-group label{display:block;padding:2px 0;overflow-wrap:anywhere}
@media(max-width:430px){.card-body{align-items:flex-start}.card-body .product-image.search-image{width:85px;height:105px}.product-card .quick-specs{column-gap:3px}.product-card .quick-specs div{padding:3px 1px}.product-card .quick-specs dt{font-size:10px}.product-card .quick-specs dd{font-size:12px}.compare-bar{gap:6px;padding:8px}.compare-bar .primary-button{padding:8px;font-size:12px}.detail-basics div{grid-template-columns:88px minmax(0,1fr)}}

/* 検索カードと詳細ページで購入ボタンを共用し、サイズだけを変える。 */
:is(.product-card>.shops,.detail-actions .shops){align-items:stretch;gap:6px}
:is(.product-card>.shops,.detail-actions .shops) .shop-link{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:25px;padding:3px 10px;border:1px solid transparent;border-radius:3px;font-size:12px;line-height:1.2;text-decoration:none;white-space:nowrap}
:is(.product-card>.shops,.detail-actions .shops) .shop-link[data-shop="amazon"]{background:#ff9900;color:#000}
:is(.product-card>.shops,.detail-actions .shops) .shop-link[data-shop="rakuten"]{background:#bf1238;color:#fff}
:is(.product-card>.shops,.detail-actions .shops) .shop-link[data-shop="yahoo"]{background:#25834a;color:#fff}
:is(.product-card>.shops,.detail-actions .shops) .shop-link:hover{filter:brightness(.85)}
:is(.product-card>.shops,.detail-actions .shops) .shop-link:focus-visible{outline:2px solid #222;outline-offset:2px}
.detail-actions .shops .shop-link{min-height:31px;padding:5px 14px}
.search-main{min-width:0}.coverage-note{border:1px solid var(--line);background:#fff;padding:8px 12px;margin-bottom:12px}.coverage-note h2{font-size:14px;color:var(--wine);margin:0 0 3px}.coverage-note p{font-size:12px;margin:0;line-height:1.5}
.detail-comment,.detail-gallery{margin-top:12px;background:#fff;border:1px solid var(--line);padding:10px 12px}.detail-comment h2,.detail-gallery h2{font-size:15px;color:var(--wine);margin:0 0 7px}.detail-comment p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.gallery-thumbnails{display:flex;gap:8px;flex-wrap:wrap}.gallery-thumbnails button{border:1px solid var(--line);background:#fff;padding:3px;cursor:pointer}.gallery-thumbnails button:focus-visible{outline:2px solid var(--wine);outline-offset:2px}.gallery-thumbnails img{display:block;width:120px;height:90px;object-fit:contain}
.gallery-lightbox{box-sizing:border-box;border:1px solid #777;background:#fff;width:min(96vw,1100px);max-width:none;max-height:90dvh;padding:30px 8px 8px;overflow:hidden;align-items:center;justify-content:center;gap:8px}.gallery-lightbox[open]{display:flex}.gallery-lightbox::backdrop{background:#000c}.gallery-lightbox img{display:block;min-width:0;min-height:0;max-width:calc(100% - 84px);max-height:82dvh;width:auto;height:auto;object-fit:contain;margin:auto}.gallery-lightbox button{background:#fff;border:1px solid #777;color:#222;cursor:pointer;font-size:25px;min-width:34px}.gallery-lightbox .gallery-close{position:absolute;right:8px;top:4px;font-size:20px}
@media(max-width:430px){.gallery-thumbnails img{width:90px;height:72px}.gallery-lightbox{gap:3px}.gallery-lightbox img{max-width:calc(100% - 74px)}}

/* Comparison choices grow with each manufacturer's products. */
.compare-picker .picker-grid{display:grid;grid-template-columns:minmax(0,1fr);max-height:none;overflow:visible;gap:9px}
.compare-picker .picker-group{min-width:0}
.compare-picker .picker-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px 12px}
.compare-picker .picker-products label{display:flex;align-items:flex-start;gap:5px;min-width:0}
.compare-picker .picker-products input{flex:none;margin-top:3px}
@media(max-width:1100px){.compare-picker .picker-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.compare-picker .picker-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.compare-picker .picker-products{grid-template-columns:minmax(0,1fr)}}

/* The floating copy sits outside the horizontal scroll container. */
.matrix-float[hidden]{display:none!important}
.matrix-float{position:fixed;top:0;z-index:8;overflow:hidden;background:#fff;border:1px solid var(--line);box-sizing:border-box;box-shadow:0 2px 4px #0002}
.matrix-float .matrix{min-width:0;margin:0}
.matrix-float>.matrix th{position:static}
.matrix-float .matrix-float-labels{position:absolute;left:0;top:0;z-index:2}
.matrix-float .matrix thead tr.matrix-image-row>*{background:#fff;color:var(--ink)}
.matrix-float .matrix-image-row th:first-child{z-index:1}
.matrix thead .matrix-maker-name{display:block;font-size:11px;font-weight:500;line-height:1.2}
.matrix thead .matrix-product-name{display:block;font-weight:700;line-height:1.3}

/* Search filters remain visible without JavaScript; mobile users can collapse them. */
.filter-panel>.panel-heading{margin-bottom:13px}
.filter-toggle{display:none;border:0;background:transparent;color:var(--ink);font:inherit;font-weight:700;padding:0;text-align:left;cursor:pointer}
.filter-active{margin-left:auto;color:var(--wine);font-size:11px;font-weight:700;white-space:nowrap}
@media(max-width:700px){
  .filter-panel.filter-js .filter-title{display:none}
  .filter-panel.filter-js .filter-toggle{display:inline-block}
  .filter-panel.filter-js .filter-toggle::after{content:'▾';margin-left:6px}
  .filter-panel.filter-js .filter-toggle[aria-expanded="true"]::after{content:'▴'}
  .filter-panel.filter-js .filter-toggle:focus-visible{outline:2px solid var(--wine);outline-offset:3px}
  .filter-panel.filter-js.is-collapsed{padding-block:9px}
  .filter-panel.filter-js.is-collapsed>.panel-heading{margin-bottom:0}
  .filter-panel.filter-js.is-collapsed form,.filter-panel.filter-js.is-collapsed>.panel-heading>a{display:none}
}

/* The first matrix column stays fixed while exposing more product columns. */
.matrix th:first-child{width:120px;min-width:120px;max-width:120px;white-space:normal;overflow-wrap:anywhere}
