:root{color-scheme:light;--ink:#2c342e;--muted:#617066;--green:#365744;--line:#dfe5df;--soft:#f3f6f2;--selected:#edf3eb}
*{box-sizing:border-box}[hidden]{display:none!important}
body{margin:0;color:var(--ink);background:#fff;font:15px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans CJK JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;overflow-wrap:anywhere}
a{color:var(--green);text-underline-offset:3px}button,select{font:inherit;color:inherit}button{touch-action:manipulation;cursor:pointer}select{max-width:100%}
a:focus-visible,button:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.wrap{width:min(1100px,calc(100% - 48px));margin-inline:auto;min-width:0}
.skip{position:absolute;top:-100px;left:16px;background:#fff;padding:8px;z-index:20}.skip:focus{top:8px}
.header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;border-bottom:1px solid var(--line)}
.brand{font:32px/1.2 Georgia,serif;color:var(--ink);text-decoration:none;letter-spacing:-.8px;min-height:44px;display:flex;align-items:center}
.about{font-size:11px;color:var(--muted);text-decoration:none;min-height:44px;display:flex;align-items:center}
.intro{padding:21px 0 14px;display:flex;justify-content:space-between;align-items:baseline;gap:16px}.intro h1{font-size:22px;font-weight:650;line-height:1.4;letter-spacing:.03em;margin:0}
.disclosure{font-size:11px;line-height:1.6;color:var(--muted);margin:0}
.view-tabs{display:flex;gap:4px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.view-tabs button{border:0;border-bottom:2px solid transparent;background:#fff;padding:7px 14px;min-height:44px;font-size:13px;color:var(--muted)}
.view-tabs button[aria-pressed=true]{border-bottom-color:var(--green);color:var(--green);font-weight:600}
.controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 7px;min-height:44px}
.filters{display:flex;flex-wrap:wrap;gap:6px}.filters button{font-size:12px;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:4px;background:#fff}
.filters button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}
.mobile-filter{display:none}.count{white-space:nowrap;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;margin-left:auto}
.helper{font-size:11px;color:var(--muted);margin:0 0 11px}
.layout{min-width:0}.catalog-content{min-width:0}
table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;text-align:left}
.category-col{width:118px}.note-col{width:156px}.shop-col{width:66px}
thead th{position:sticky;top:0;z-index:3;background:#f4f6f3;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px 12px;font-size:11px;font-weight:500;height:34px}
tbody td,tbody th{border-bottom:1px solid var(--line);padding:0 12px;height:48px;vertical-align:middle}
.category-cell{font-size:11px;color:var(--muted)}.name-cell{font-weight:550;overflow-wrap:anywhere}
.product-name{display:block;width:100%;min-height:44px;padding:10px 0;border:0;background:none;color:var(--ink);text-align:left;line-height:1.5;font-size:14px;font-weight:550;overflow-wrap:anywhere}
button.product-name:hover .name-text{text-decoration:underline;text-decoration-color:#b8cab8;text-underline-offset:4px}
.category-inline{display:none}.name-text{display:block}
.note{white-space:nowrap}.note-cell{font-size:13px;color:#58665b}.shop-cell{text-align:right;padding-inline:6px}
.shop{display:inline-flex;align-items:center;justify-content:center;gap:2px;min-width:44px;min-height:44px;font-size:12px;text-decoration:none;white-space:nowrap}
a.shop:hover{text-decoration:underline}.sample-shop{color:var(--muted)}
tr.is-active>*{background:var(--selected)}tr.is-active .name-cell{box-shadow:inset 2px 0 var(--green)}
tr:target .name-cell{background:var(--selected)}
.preview{display:none}.preview-sticky{position:sticky;top:20px}.preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;font-size:11px;color:var(--muted);margin-top:-10px}
.preview-heading button{background:none;border:0;min-height:44px;padding:0 0 0 8px;font-size:11px;color:var(--muted)}
.preview-blank{background:var(--soft);border:1px dashed var(--line);border-radius:5px;aspect-ratio:1;display:grid;place-content:center;text-align:center;color:var(--muted);font-size:12px}
.photo{aspect-ratio:1;background:var(--soft);border-radius:5px;display:grid;place-items:center;overflow:hidden}.photo img{display:block;width:100%;height:100%;object-fit:contain}.photo p{font-size:12px;color:var(--muted);text-align:center;padding:12px;margin:0}
.preview-category{font-size:11px;color:var(--muted);margin:14px 0 4px}.preview-name{font-size:17px;line-height:1.5;font-weight:550;overflow-wrap:anywhere;margin:0}.preview-note{font-size:13px;color:var(--muted);margin:8px 0}.detail .shop{justify-content:flex-start}
.empty{padding:32px 18px;text-align:center;background:var(--soft);border:1px solid var(--line);border-radius:5px;margin-top:10px}.empty p{margin:0 0 7px}.empty span{font-size:12px;color:var(--muted)}
.conditions{font-size:11px;color:var(--muted);margin:18px 0 0}
.footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:30px;border-top:1px solid var(--line);padding:18px 0 24px;font-size:11px;color:var(--muted)}.footer nav{display:flex;gap:16px}.footer a{color:var(--muted);text-decoration:none}
.prose{max-width:670px;padding:28px 0 8px}.prose h1{font-size:24px;margin:20px 0}.prose h2{font-size:17px;margin:26px 0 9px}.prose p{font-size:14px;line-height:1.95}.back{font-size:13px}
.sample-notice{padding:6px 10px;background:#fff5dc;color:#695e43;font-size:11px;line-height:1.6;margin:12px 0 0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sheet-open{overflow:hidden}
dialog{border:1px solid var(--line);border-radius:16px 16px 0 0;padding:0;margin:auto auto 0;width:min(100%,480px);max-width:100%;max-height:88dvh;overflow:auto;background:#fff;color:var(--ink);box-shadow:0 -12px 48px #15251b24}
dialog::backdrop{background:#17271d61}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 16px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.dialog-header button{background:none;border:0;min-height:44px;padding:0 3px;font-size:13px;color:var(--green)}
.dialog-body{padding:16px 22px max(20px,env(safe-area-inset-bottom));text-align:center}.dialog-body .photo{width:min(100%,250px);margin:auto}.dialog-body .shop{justify-content:center}
.graph-viewport{max-width:100%;height:560px;overflow:auto;overscroll-behavior:auto;border:1px solid var(--line);border-radius:5px;background:#fbfcfa}
#category-graph{display:block;max-width:none;font-family:inherit}
.graph-edge{fill:none;stroke:#c7d3c8;stroke-width:1;pointer-events:none}.graph-node circle{fill:#789080}.root-node circle{fill:var(--green)}
.node-label{font-size:12px;fill:var(--ink);paint-order:stroke;stroke:#fbfcfa;stroke-width:5px;stroke-linejoin:round}.root-label{font:20px Georgia,serif;fill:var(--green);paint-order:stroke;stroke:#fbfcfa;stroke-width:6px}
.category-node .node-label{font-weight:600}.node-hit{fill:transparent;stroke:transparent;stroke-width:1}.graph-node[role=button]{cursor:pointer;outline:none}
.graph-node:focus-visible .node-hit{stroke:var(--green);stroke-width:2}.graph-node.is-active .node-hit{fill:#e5eee3}.graph-node.is-active circle,.graph-node.is-emphasized circle{fill:var(--green)}
.graph-edge.is-emphasized{stroke:var(--green);stroke-width:1.6}.graph-node.is-emphasized .node-label{fill:var(--green)}.graph-node.is-muted,.graph-edge.is-muted{opacity:.35}
@media(min-width:960px){.can-preview .layout:has(.preview:not([hidden])){display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px}.can-preview .preview:not([hidden]){display:block}}
@media(max-width:959px) and (min-width:641px){.category-col{width:108px}.filters button{padding-inline:9px;font-size:11px}}
@media(max-width:640px){
 .wrap{width:calc(100% - 28px)}.header{min-height:55px}.brand{font-size:28px}.about{font-size:10px}
 .intro{padding:15px 0 10px;display:block}.intro h1{font-size:20px}.disclosure{font-size:10px;margin-top:6px}
 .view-tabs{margin-bottom:10px}.view-tabs button{font-size:12px;padding-inline:12px}.filters{display:none}
 .mobile-filter{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}
 select{background:#fff;border:1px solid #cbd6c9;border-radius:4px;color:var(--ink);min-height:44px;min-width:145px;padding:5px 22px 5px 10px;font-size:12px}
 .controls{margin-bottom:6px;gap:8px}.count{font-size:11px}.helper{font-size:10px;margin-bottom:9px}
 .category-col,.category-cell,.category-head{display:none}.note-col{width:132px}.shop-col{width:52px}
 thead th{padding:5px 6px;font-size:10px;height:31px}tbody td,tbody th{padding:0 6px;height:55px}
 .product-name{font-size:13px;line-height:1.45;min-height:54px;padding:7px 0}.category-inline{display:block;font-size:9px;line-height:1.5;font-weight:400;color:var(--muted);margin-bottom:3px}
 .note-cell{font-size:12px}.shop-cell{padding-inline:4px}.shop{font-size:11px;gap:2px}.conditions{font-size:10px}
 .empty{padding:28px 12px}.footer{margin-top:22px;font-size:10px}.sample-notice{font-size:10px}
 .graph-viewport{height:auto;overflow-x:auto;overflow-y:visible}.node-label{font-size:13px}
}
@media(max-width:359px){.wrap{width:calc(100% - 24px)}.product-name{font-size:12px}.about{font-size:9px}.helper{font-size:9.5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
