@charset "UTF-8";
:root{--paper:#f7f6f2;--ink:#232c27;--muted:#7b807b;--line:#dddfd6;--accent:#355b48;--white:#fff;--serif:Georgia,"Yu Mincho","Hiragino Mincho ProN",serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Helvetica Neue","Noto Sans JP","Yu Gothic",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:5px}[hidden]{display:none!important}
.site-header{height:108px;margin:0 5.5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:30px;font-weight:600;letter-spacing:.15em;line-height:1}.brand span{display:block;font-size:9px;font-weight:400;letter-spacing:.28em;margin-top:9px}.site-header nav{display:flex;align-items:center;gap:40px;font-size:12px}.text-button{border:0;padding:8px 0;color:inherit;background:none}.text-button span{margin-left:18px}.intro{max-width:1380px;margin:auto;padding:72px 5.5% 70px;display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:center}.eyebrow{font-size:10px;letter-spacing:.2em;font-weight:600}.intro h1{font-family:var(--serif);font-size:clamp(34px,3.7vw,60px);font-weight:400;line-height:1.5;letter-spacing:.04em;margin:24px 0}.intro h1 em{font-style:normal;color:var(--accent)}.intro-copy>p{color:var(--muted);font-size:13px;line-height:2.2}.intro-note{display:flex;align-items:center;gap:12px;font-size:10px;color:var(--muted);margin-top:30px}.line{height:1px;width:28px;background:#a1aaa0}.drop-zone{min-height:350px;padding:26px;background:#eeefe8;display:flex;align-items:center;flex-direction:column;justify-content:center;outline:1px dashed #bec7ba;outline-offset:-10px;transition:background .2s,transform .2s}.drop-zone.dragover{background:#dce7dc;transform:scale(1.015)}.upload-frame{width:142px;height:138px;display:grid;place-items:center;position:relative}.image-mark{width:110px;height:100px;border:1px solid #a9b6a8;transform:rotate(-9deg);position:relative;background:#f7f8f1;box-shadow:9px 9px 0 #dce1d4;overflow:hidden}.image-mark:after{content:"";position:absolute;width:68px;height:68px;background:#becbb6;transform:rotate(45deg);left:2px;top:63px}.image-mark span{position:absolute;width:44px;height:44px;background:#9caf97;transform:rotate(45deg);right:-2px;top:65px}.image-mark i{position:absolute;width:15px;height:15px;background:#c7d4c1;border-radius:50%;left:20px;top:22px}.upload-frame>img{position:absolute;width:100%;height:100%;object-fit:contain;background:#eeefe8}.upload-copy{text-align:center}.upload-copy h2{font-size:16px;font-weight:500;margin:16px 0 8px}.upload-copy p{font-size:10px;color:var(--muted);margin:0 0 20px}.primary{border:0;background:var(--accent);color:white;padding:15px 22px;min-width:180px;display:inline-flex;align-items:center;justify-content:space-between;gap:32px;font-size:12px;transition:background .2s,transform .2s}.primary:hover{background:#254533;transform:translateY(-2px)}.drop-zone small{font-size:9px;color:var(--muted);margin-top:14px}.recent-searches{margin:0 5.5%;display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);padding:20px 0}.recent-searches>span{white-space:nowrap;font-size:11px;color:var(--muted)}#search-history{display:flex;gap:10px;overflow:auto}.history-thumb{padding:0;background:white;border:1px solid var(--line);flex-shrink:0}.history-thumb img{display:block;width:54px;height:62px;object-fit:contain}.results-section{margin:0 5.5%;padding:38px 0 60px;border-top:1px solid var(--line);min-height:400px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.section-heading h2{font-family:var(--serif);font-weight:400;font-size:25px;margin:12px 0 0}.muted{font-size:11px;color:var(--muted)}.filter-row{display:flex;gap:27px;border-bottom:1px solid var(--line);margin-top:28px;overflow:auto}.filter-row button{border:0;background:none;white-space:nowrap;padding:14px 2px;font-size:12px;color:var(--muted);border-bottom:2px solid transparent}.filter-row button.active{color:var(--ink);border-color:var(--accent)}#status{font-size:12px;line-height:1.8;color:var(--accent);min-height:22px;margin:16px 0}.empty-state{text-align:center;padding:20px 0 45px;color:var(--muted)}.empty-symbol{font-size:54px;font-family:var(--serif);color:#9ba793}.empty-state h3{font-size:14px;font-weight:400;color:#5b665c;margin:6px 0 12px}.empty-state p{font-size:11px;line-height:2}.masonry{columns:4;column-gap:22px}.product{display:block;width:100%;padding:0;margin:0 0 24px;background:none;border:0;text-align:left;break-inside:avoid;color:inherit;animation:reveal .35s ease-out}.product-image{background:#eeeee8;overflow:hidden;position:relative;min-height:100px}.product img{width:100%;height:auto;min-height:150px;max-height:430px;object-fit:contain;display:block;transition:transform .35s}.product:hover img{transform:scale(1.025)}.product-meta{display:flex;justify-content:space-between;align-items:center;padding:12px 0;font-size:11px}.product-meta>span:last-child{color:var(--muted);font-size:10px}.product-failed .product-image{height:210px;display:grid;place-items:center;color:var(--muted);font-size:12px}.secondary{padding:12px 25px;border:1px solid #aeb8ac;background:transparent;color:var(--ink);font-size:12px}.more{display:block;margin:24px auto}.more span{margin-left:35px}footer{margin:0 5.5%;padding:32px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px;color:var(--muted)}.footer-brand{font-size:15px;letter-spacing:.12em;color:var(--ink)}footer p{font-size:10px;line-height:1.9}footer>span{font-size:8px;letter-spacing:.15em}dialog{border:0;background:var(--paper);color:var(--ink);padding:45px;max-height:92vh;width:min(1080px,94vw)}dialog::backdrop{background:#18281fd4;backdrop-filter:blur(4px)}dialog[open]{animation:reveal .22s ease-out}.close{position:sticky;float:right;top:0;margin:-26px -24px 8px 0;width:40px;height:40px;z-index:3;border:0;background:var(--paper);color:var(--ink);font-size:28px}.detail-layout{clear:both;display:grid;grid-template-columns:1.4fr 1fr;gap:42px}.detail-gallery{display:grid;gap:12px}.detail-gallery button{border:0;padding:0;background:white}.detail-gallery img{width:100%;height:auto;display:block;min-height:100px;object-fit:contain}.detail-layout aside{position:sticky;top:30px;align-self:start}.detail-layout h2{font-family:var(--serif);font-size:30px;font-weight:400;margin:18px 0}.detail-layout p{font-size:13px;line-height:2.1;white-space:pre-wrap;overflow-wrap:anywhere}.detail-note{font-size:10px;color:var(--muted);line-height:2;border-top:1px solid var(--line);padding-top:20px;margin-top:30px}.history-dialog h2{font-family:var(--serif);font-weight:400}.history-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;margin-top:24px}.lightbox{background:#202520;padding:32px;max-width:98vw;width:auto}.lightbox .close{background:#fff}.lightbox img{max-width:88vw;max-height:82vh;object-fit:contain;display:block}.loading-dot{animation:pulse 1s infinite}.intro-copy,.drop-zone{animation:reveal .6s ease-out}.drop-zone{animation-delay:.08s}@keyframes reveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{50%{opacity:.35}}
/* Internal workspace shares only neutral primitives with the customer gallery. */
.admin-main{max-width:1440px;margin:35px auto;padding:0 5%}.admin-bar{display:flex;gap:14px;align-items:center;margin-bottom:24px}.admin-bar h1{margin-right:auto;font-size:24px}.login-box{max-width:400px;margin:10vh auto}.login-box h1{font-size:25px}.field{display:block;margin:22px 0}.field span{display:block;margin-bottom:9px;font-size:12px}.field input,.field textarea{width:100%;padding:12px;border:1px solid var(--line);background:white;border-radius:0}.field textarea{height:115px;resize:vertical}.admin-columns{display:grid;grid-template-columns:1fr 1fr;gap:46px}.admin-column+ .admin-column{border-left:3px solid #ced7cd;padding-left:30px}.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.admin-product{min-width:0}.admin-product img{width:100%;height:190px;object-fit:contain;background:white}.admin-product .admin-title{font-size:11px;line-height:1.6;max-height:50px;overflow:hidden}.admin-product strong{display:block;margin:8px 0}.admin-product small{display:block;margin-bottom:8px;overflow-wrap:anywhere}.admin-product a{font-size:11px;color:var(--accent);margin-right:12px}.admin-product button{border:0;background:none;padding:0;color:var(--accent);font-size:11px}.admin-status{font-size:12px;color:var(--muted);line-height:1.8}.admin-history{display:flex;gap:12px;overflow:auto;margin:20px 0}.admin-history button{min-width:95px;border:1px solid var(--line);background:white;padding:10px;font-size:10px}.admin-history img{width:65px;height:65px;object-fit:contain;display:block;margin:auto}.settings-dialog{max-width:620px}.error{color:#a34234;font-size:12px}.success{color:var(--accent);font-size:12px}
@media(min-width:1600px){.masonry{columns:5}}@media(max-width:900px){.intro{gap:5%;padding-top:48px}.intro h1{font-size:35px}.masonry{columns:3}.admin-grid{grid-template-columns:repeat(2,1fr)}.admin-columns{gap:25px}footer>span{display:none}.history-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:600px){.site-header{height:85px}.brand{font-size:22px}.brand span{font-size:7px}.site-header nav{gap:14px;font-size:10px}.site-header nav>a{display:none}.intro{display:block;padding:36px 5.5%}.intro h1{font-size:36px;line-height:1.45;margin:15px 0}.intro-copy>p{font-size:12px}.intro-note{display:none}.drop-zone{min-height:300px;margin-top:28px;padding:18px}.upload-frame{height:105px;width:110px}.image-mark{width:80px;height:76px}.upload-copy h2{font-size:14px}.upload-copy p{font-size:9px}.recent-searches{gap:14px}.recent-searches>span{font-size:10px}.results-section{padding-top:26px}.section-heading{display:block}.section-heading h2{font-size:23px}.section-heading>.muted{display:block;margin-top:14px}.filter-row{gap:21px;margin-top:18px}.filter-row button{font-size:11px}.masonry{columns:2;column-gap:12px}.product{margin-bottom:12px}.product img{max-height:280px}.product-meta{font-size:10px;gap:5px}.product-meta>span:last-child{font-size:9px}footer{display:block}footer p{font-size:9px}dialog{padding:28px 18px;width:96vw}.close{margin:-18px -10px 6px 0}.detail-layout{display:flex;flex-direction:column-reverse;gap:20px}.detail-layout aside{position:static}.detail-layout h2{font-size:24px;margin:10px 0}.detail-note{display:none}.detail-layout p{font-size:12px}.history-grid{grid-template-columns:repeat(2,1fr);gap:12px}.admin-bar{flex-wrap:wrap}.admin-bar h1{width:100%;font-size:22px}.admin-columns{display:block}.admin-column+ .admin-column{border-left:0;border-top:3px solid #ced7cd;padding-left:0;margin-top:30px}.admin-grid{grid-template-columns:repeat(2,1fr)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Customer consultation layout: stronger type and controls on both screen sizes. */
.customer-page{--paper:#f6f5f1;--ink:#1b2923;--muted:#526158;--line:#cbd1c8;--accent:#214e3d;font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif;font-size:16px;font-weight:500;padding-bottom:92px}
.customer-page .site-header{border-bottom:2px solid var(--ink)}
.customer-page .brand{font-weight:850;font-size:34px;letter-spacing:.12em}.customer-page .brand span{font-size:11px;font-weight:700}
.customer-page .site-header nav{font-size:14px;font-weight:700}.customer-page .text-button{min-height:44px;font-weight:700}
.customer-page .eyebrow{font-size:13px;letter-spacing:.08em;font-weight:800}
.customer-page .intro{padding-top:50px;padding-bottom:50px;gap:6%}
.customer-page .intro h1{font-family:inherit;font-size:clamp(32px,3.35vw,50px);font-weight:850;line-height:1.5;letter-spacing:-.035em}
.customer-page .intro-copy>p{font-size:16px;font-weight:500;line-height:2}.customer-page .intro-note{font-size:13px;line-height:1.8}
.customer-page .drop-zone{outline:2px dashed #8d9e8a;outline-offset:-12px;border:2px solid #b6c2af;border-radius:10px;background:#e9eee3;min-height:370px}
.customer-page .upload-copy h2{font-size:21px;font-weight:800}.customer-page .upload-copy p{font-size:13px;line-height:1.8}.customer-page .drop-zone small{font-size:12px;font-weight:600}
.customer-page .primary{min-height:54px;min-width:235px;font-size:16px;font-weight:800;border:2px solid #173d2e;border-radius:6px;box-shadow:0 3px 0 #123326}
.customer-page .recent-searches{border-top:2px solid var(--line)}.customer-page .recent-searches>span{font-size:14px;font-weight:700}.customer-page .history-thumb{border:2px solid var(--line);border-radius:5px;overflow:hidden}.customer-page .history-thumb img{width:65px;height:70px}
.customer-page .results-section{border-top:3px solid var(--ink)}.customer-page .section-heading h2{font-family:inherit;font-size:28px;font-weight:800}.customer-page .muted{font-size:14px;font-weight:600}
.customer-page #status{font-size:15px;font-weight:600;margin:20px 0;min-height:28px}.customer-page .empty-state h3{font-size:18px;font-weight:700}.customer-page .empty-state p{font-size:15px;line-height:2}
.customer-page .masonry{columns:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:start}
.customer-page .product{margin:0;background:#fff;border:2px solid var(--line);border-radius:8px;overflow:hidden;min-width:0;box-shadow:0 3px 0 #e1e5dc}
.customer-page .product-open{display:block;width:100%;padding:0;background:none;border:0;color:inherit;text-align:left}
.customer-page .product-image{background:#fff;min-height:0}.customer-page .product img{aspect-ratio:1;height:auto;min-height:0;max-height:none;object-fit:contain;background:#fff}
.customer-page .product-meta{padding:13px 12px;font-size:15px;font-weight:800;border-top:1px solid #e3e6de;gap:6px;flex-wrap:wrap}.customer-page .product-meta>span:last-child{font-size:12px;font-weight:600}
.product-number{padding:12px;border-top:2px solid var(--line);background:#f2f5ef}.code-text{display:block;font-family:ui-monospace,Consolas,monospace;font-size:13px;font-weight:750;line-height:1.7;overflow-wrap:anywhere;user-select:all}
.copy-number{border:2px solid #365542;border-radius:5px;background:#fff;color:#24412f;font-size:13px;font-weight:750;min-height:42px;padding:8px 10px;width:100%;margin-top:7px;line-height:1.4}.copy-number:hover{background:#e4eddf}
.customer-page .secondary{border-width:2px;border-radius:5px;min-height:48px;font-weight:700;font-size:15px}.customer-page .empty-state{padding:30px 0}
.customer-page footer{border-top:2px solid var(--line);align-items:start}.customer-page .footer-brand{font-size:19px;font-weight:800}.customer-page footer p{font-size:12px;font-weight:500;line-height:2}.customer-page footer>span{display:none}
.customer-page dialog{border:2px solid #aab5a6;border-radius:12px}.customer-page .close{font-weight:700;width:44px;height:44px;border:2px solid #d3d9cd;border-radius:50%}
.customer-page .detail-layout h2,.customer-page .history-dialog h2{font-family:inherit;font-size:28px;font-weight:800}.customer-page .detail-layout p{font-size:15px;line-height:1.9}.customer-page .detail-layout aside{position:static}.customer-page .detail-note{font-size:13px;border-top-width:2px}
.detail-code{border:2px solid #bac7b4;border-radius:6px;background:#eef3e8;padding:14px;margin:16px 0}.detail-code>span{display:block;font-size:13px;font-weight:700;margin-bottom:5px}.detail-code strong{display:block;font-family:ui-monospace,Consolas,monospace;font-size:16px;line-height:1.7;overflow-wrap:anywhere;user-select:all}
.inquiry-box{padding:18px 0;border-bottom:2px solid var(--line);margin-bottom:24px}.inquiry-box h3{font-size:18px;margin:0 0 8px;font-weight:800}.customer-page .inquiry-box p{font-size:13px;margin:8px 0 14px}.inquiry-box small,#contact-panel small{display:block;font-size:12px;line-height:1.8;color:var(--muted);overflow-wrap:anywhere;margin-top:10px}
.line-contact,.email-contact{display:flex;align-items:center;justify-content:center;text-align:center;min-height:50px;border-radius:6px;border:2px solid #096b36;background:#078b42;color:white;font-size:15px;font-weight:800;padding:12px}.email-contact{background:#fff;border-color:#3a5142;color:#243e2e;margin-top:12px}
.line-id{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;font-weight:700;margin:9px 0}.copy-line{font-size:12px;font-weight:700;min-height:40px;padding:6px 10px;border:1px solid #a7b7a1;border-radius:4px;background:white;color:var(--ink)}
.floating-contact{position:fixed;right:24px;bottom:max(18px,env(safe-area-inset-bottom));z-index:20;display:flex;flex-direction:column;align-items:flex-end;gap:12px}.contact-toggle{background:#203f31;border:2px solid #122d20;border-radius:8px;box-shadow:0 4px 0 #122d20;color:#fff;font-size:16px;font-weight:800;min-height:54px;padding:12px 22px;display:flex;gap:25px;align-items:center}.contact-toggle span{font-size:22px}#contact-panel{width:330px;max-width:calc(100vw - 32px);padding:22px;background:#fff;border:2px solid #78906c;border-radius:10px;box-shadow:0 12px 40px #122d2030}#contact-panel h2{font-size:19px;font-weight:800;margin:0 0 10px}#contact-panel p{font-size:14px;line-height:1.8;margin:0 0 18px}.copy-toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:40;max-width:90vw;background:#1b3428;color:#fff;padding:14px 20px;border-radius:6px;font-size:14px;font-weight:700;pointer-events:none}
.lookup-form{display:flex;align-items:end;gap:12px;background:#e8eee2;border:2px solid #afbea5;padding:18px;margin-bottom:20px;border-radius:7px}.lookup-form label{flex:1;min-width:0;font-weight:700}.lookup-form label span{display:block;margin-bottom:8px}.lookup-form input{width:100%;height:48px;font-size:16px;padding:10px;border:2px solid #8d9e83;border-radius:4px}.lookup-form button{min-height:48px;font-size:15px;font-weight:700}.lookup-message{font-size:14px;line-height:1.8}.admin-code{font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere;user-select:all;font-size:12px;font-weight:700;padding:10px 0}.admin-detail-code{font-size:16px;line-height:1.8}
@media(min-width:1600px){.customer-page .masonry{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1000px){.customer-page .masonry{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.customer-page .intro{gap:4%}.customer-page .intro-copy>p{font-size:15px}.customer-page .intro-note{font-size:12px}}
@media(max-width:600px){.customer-page .site-header{height:90px;margin:0 5%}.customer-page .brand{font-size:25px}.customer-page .brand span{font-size:9px}.customer-page .site-header nav{font-size:12px}.customer-page .intro{padding:32px 5%}.customer-page .intro h1{font-size:31px;font-weight:850;letter-spacing:-.04em}.customer-page .intro-copy>p{font-size:15px;line-height:1.9}.customer-page .drop-zone{min-height:330px;margin-top:26px;padding:22px 16px}.customer-page .upload-copy h2{font-size:19px}.customer-page .upload-copy p{font-size:12px}.customer-page .primary{min-width:220px;font-size:16px}.customer-page .recent-searches>span{font-size:12px}.customer-page .section-heading h2{font-size:24px}.customer-page .muted{font-size:13px}.customer-page .masonry{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-page .product-meta{padding:10px 8px;font-size:14px;display:block}.customer-page .product-meta>span:last-child{display:block;font-size:12px;margin-top:5px}.product-number{padding:10px 8px}.code-text{font-size:12px;line-height:1.8}.copy-number{font-size:12px;padding:8px 4px;min-height:44px}.customer-page .history-grid{gap:10px}.customer-page .detail-layout{display:flex;flex-direction:column-reverse}.customer-page .detail-layout h2{font-size:25px}.customer-page .detail-code strong{font-size:15px}.customer-page .detail-note{display:block}.customer-page .detail-layout p{font-size:14px}.customer-page .inquiry-box p{font-size:13px}.floating-contact{right:16px;bottom:max(16px,env(safe-area-inset-bottom))}.contact-toggle{font-size:15px;min-height:50px;padding:10px 18px}.customer-page footer p{font-size:12px}.lookup-form{flex-wrap:wrap}.lookup-form label{flex-basis:100%}.lookup-form button{width:100%;justify-content:center}.admin-detail-code{font-size:14px}}
.admin-records{margin:22px 0 30px;padding:18px;background:#f4f6f1;border:1px solid var(--line)}.records-heading{display:flex;align-items:center;gap:14px}.records-heading h2{margin-right:auto;font-size:18px}.records-list{display:grid;gap:8px}.record{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line);font-size:12px}.record strong{font-family:ui-monospace,Consolas,monospace}.record a{color:var(--accent);margin-right:8px}.record .record-kind{min-width:52px;color:var(--muted)}
