/* mousepad.me Excelカテゴリ分類 2026-11-01 */
.catalog-guide{margin:4px 0 12px;font-size:13px;color:#745d45}.category-nav{display:flex;flex-wrap:wrap;gap:7px;margin:6px 0 22px}.category-nav button{font:inherit;cursor:pointer;border:1px solid #e7ba83;background:#fff7e9;color:#8e4c1e;padding:7px 10px;border-radius:20px;line-height:1.35}.category-nav button.active,.category-nav button:hover{background:#e97811;color:#fff;border-color:#e97811}.category-nav .cat-count{font-size:11px;opacity:.8}.category-group{margin:16px 0 28px;scroll-margin-top:12px}.category-group>h3{font-size:19px;border-left:6px solid #ed8719;border-bottom:1px solid #f0d6b1;padding:8px 12px;background:#fff7e8;color:#77441f;margin:0 0 14px}.category-group>h3 small{font-size:13px;font-weight:normal;margin-left:8px;color:#9c6737}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.catalog-card{display:flex;flex-direction:column;gap:9px;background:#fff;border:1px solid #ead7bd;border-radius:10px;padding:12px;box-shadow:0 2px 5px #65431f0a;min-width:0}.catalog-picture{height:165px;display:flex;align-items:center;justify-content:center;background:#fffdfa;border-radius:7px;overflow:hidden}.catalog-picture img{max-width:100%;max-height:100%;object-fit:contain}.catalog-placeholder{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;background:#fff5e7;border:1px dashed #e1bb89;color:#a7753f;font-weight:bold;width:100%;height:100%}.catalog-placeholder span{font-size:30px;line-height:1.1}.catalog-card h4{font-size:14px;line-height:1.5;color:#5a412e;margin:0;min-height:43px}.catalog-card .catalog-code{font-size:11px;color:#827366}.catalog-card .catalog-description{font-size:12px;line-height:1.6;color:#705c49;margin:0;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:54px}.catalog-card .price{font-size:23px;margin-top:auto}.catalog-card .catalog-shipping{font-size:11px;color:#99642f}.catalog-card .catalog-actions{display:flex;flex-wrap:wrap;gap:7px}.catalog-card .catalog-actions .btn{flex:1 1 110px;font-size:13px}.catalog-card .btn.secondary{border:1px solid #ded2c5}.catalog-loading,.catalog-empty{padding:20px;text-align:center;background:#fff8ed;border-radius:8px}.product-dialog{border:0;border-radius:12px;box-shadow:0 16px 65px #30130055;width:min(760px,calc(100% - 24px));max-height:min(88vh,850px);padding:0;color:#514031}.product-dialog::backdrop{background:#23140baa}.product-dialog-inner{padding:24px;position:relative;overflow-y:auto;max-height:87vh}.dialog-close{position:absolute;right:11px;top:8px;cursor:pointer;background:#f9ead4;border:0;border-radius:50%;font-size:24px;width:37px;height:37px}.product-dialog h2{font-size:21px;color:#80420d;padding-right:34px;margin:0 0 8px}.product-dialog .dialog-meta{font-size:12px;color:#7d6852}.product-dialog .dialog-price{color:#d55a00;font-weight:bold;font-size:24px;margin:9px 0}.product-dialog .dialog-figure{width:min(280px,100%);height:190px;object-fit:contain;display:block;margin:8px auto}.product-dialog .dialog-description{font-size:13px;line-height:1.8;white-space:pre-wrap;border-top:1px solid #eee0c7;padding-top:14px;overflow-wrap:anywhere}.dialog-actions{display:flex;gap:10px;margin-top:22px}.dialog-actions .btn{flex:1}.catalog-shared{display:inline-block;background:#fff0d0;border-radius:4px;padding:3px 7px;font-size:11px;color:#9c5c19}.product-dialog .catalog-shared{margin:6px 0}
@media(max-width:700px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-picture{height:140px}.catalog-card{padding:10px}.catalog-card .price{font-size:19px}.catalog-card h4{font-size:13px}.category-group>h3{font-size:17px}.product-dialog-inner{padding:16px}}
@media(max-width:420px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.catalog-picture{height:110px}.catalog-card h4{min-height:unset;font-size:12px}.catalog-card .catalog-description{min-height:0;font-size:11px}.catalog-card{padding:8px}.catalog-card .catalog-actions{flex-direction:column}.catalog-card .catalog-actions .btn{flex:auto;padding:8px 4px;font-size:12px}.dialog-actions{flex-direction:column}}
