:root{--navy:#14263c;--navy-soft:#243d59;--red:#c94337;--red-deep:#ac3027;--ink:#26394d;--muted:#667488;--line:#e1e7ed;--paper:#fff;--bg:#f4f6f8;--green:#21724d;--radius:18px;--shadow:0 12px 36px #14263c08;font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,"Yu Gothic",YuGothic,system-ui,sans-serif;font-weight:400;color:var(--ink);background:var(--bg);font-synthesis:none;line-height:1.65;font-size:15px}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:var(--navy);text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4e87c6;outline-offset:3px}button:focus:not(:focus-visible){outline:none}h1,h2,h3,p{margin:0}h1{font-size:clamp(26px,3.6vw,38px);line-height:1.45;letter-spacing:.025em}h2{font-size:21px;line-height:1.5}h3{font-size:17px}small{font-size:12px}svg{width:22px;height:22px;flex-shrink:0}img{max-width:100%}[hidden]{display:none!important}.skip-link{position:fixed;left:12px;top:-80px;z-index:100;background:white;padding:12px}.skip-link:focus{top:12px}.startup{min-height:70vh;display:grid;place-content:center;justify-items:center;gap:16px}.spinner{display:inline-block;width:24px;height:24px;border:2px solid #dbe2ea;border-top-color:var(--red);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.topbar{background:var(--paper);border-bottom:1px solid var(--line)}.topbar-inner{max-width:1220px;margin:auto;padding:22px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;flex-direction:column;align-items:flex-start;gap:2px;border:0;padding:0;background:none;text-align:left;color:var(--navy)}.brand-logo{display:block;width:168px;height:auto;object-fit:contain;flex-shrink:0}.brand-caption{font-size:12px;letter-spacing:.04em;display:block;color:var(--muted);margin-top:0}.userbar{display:flex;align-items:center;gap:16px}.customer-name{font-size:13px;font-weight:600;max-width:300px;overflow-wrap:anywhere}.header-button{color:var(--muted);border:1px solid var(--line);border-radius:9px;background:white;padding:8px 12px;font-size:12px;white-space:nowrap}.main{max-width:1220px;margin:auto;padding:32px 32px 56px;min-height:calc(100vh - 180px)}.nav{display:flex;gap:8px;margin-bottom:32px;flex-wrap:wrap}.nav button{border:0;border-radius:9px;padding:8px 15px;color:var(--muted);background:transparent;font-size:13px}.nav .is-current{background:var(--navy);color:#fff}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:28px}.eyebrow{color:var(--red);font-size:12px;font-weight:700;letter-spacing:.08em;margin-bottom:8px}.subtitle{color:var(--muted);font-size:14px;margin-top:10px}.hero{padding:28px 0 40px;max-width:760px}.hero h1{font-size:clamp(29px,4vw,44px);font-weight:700}.hero .subtitle{margin-top:16px;font-size:15px}.home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.home-card{border:1px solid var(--line);background:var(--paper);border-radius:22px;padding:30px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;color:var(--ink);min-height:270px;box-shadow:var(--shadow);transition:transform .2s,border-color .2s}.home-card:hover{transform:translateY(-3px);border-color:#b8c8d9}.home-card:first-child{background:var(--navy);color:#fff;border-color:var(--navy)}.home-card .icon-block{background:#eef2f6;border-radius:14px;padding:13px;margin-bottom:24px;color:var(--navy)}.home-card:first-child .icon-block{background:#ffffff17;color:#fff}.home-card .icon-block svg{width:28px;height:28px}.home-card h2{font-size:25px}.home-card p{font-size:13px;color:var(--muted);margin-top:8px}.home-card:first-child p{color:#d3dee9}.card-action{margin-top:auto;padding-top:25px;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600}.info-strip{margin-top:26px;padding:17px 20px;border-radius:12px;border:1px solid var(--line);color:var(--muted);font-size:13px;background:#ffffff70}.footer{max-width:1220px;margin:auto;padding:20px 32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px}.section{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}.section+.section{margin-top:22px}.section-title{margin-bottom:20px}.section-title p{margin-top:5px;color:var(--muted);font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 22px;min-height:46px;border:1px solid transparent;border-radius:10px;font-weight:600;text-decoration:none;font-size:14px;white-space:normal;line-height:1.4}.button.primary{background:var(--red);color:#fff}.button.primary:hover:enabled{background:var(--red-deep)}.button.secondary{background:#fff;border-color:#d5dfe8;color:var(--navy)}.button.subtle{background:#edf2f7;color:var(--navy)}.button.danger{background:#fff4f1;color:#9f3028;border-color:#efc9c2}.button.small{font-size:12px;padding:9px 13px;min-height:38px}.button.full{width:100%}.button .spinner{width:17px;height:17px;border-top-color:currentColor}.actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:26px}.text-button{background:none;border:0;color:var(--muted);text-decoration:underline;text-underline-offset:4px;padding:7px 0;font-size:13px}.error{color:#9b3429;background:#fff3f0;border:1px solid #f2d4ce;border-radius:11px;padding:14px 16px;white-space:pre-line;margin-bottom:20px;font-size:14px;overflow-wrap:anywhere}.success{color:var(--green);background:#edf7f1;border:1px solid #cfe6d9;border-radius:11px;padding:14px 16px;margin-bottom:20px;font-size:14px}.hint{font-size:12px;color:var(--muted);margin-top:6px}.notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;border-radius:12px;padding:14px 24px;background:var(--navy);color:white;box-shadow:0 8px 24px #14263c30;font-size:14px;max-width:calc(100vw - 32px)}.auth{max-width:450px;margin:42px auto}.auth .section{padding:34px}.auth h1{font-size:25px}.auth .subtitle{margin-bottom:25px}.auth-mark{margin-bottom:26px;display:flex;justify-content:center}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:19px;min-width:0}.field label{font-size:13px;font-weight:600}.field input,.field select,.field textarea{width:100%;border:1px solid #ccd6df;background:#fff;color:var(--ink);border-radius:9px;min-height:47px;padding:10px 12px;font-size:16px;min-width:0}.field input:read-only{background:#f5f7f9;color:var(--muted)}.field textarea{resize:vertical;min-height:90px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.form-grid .wide{grid-column:1/-1}.required{color:var(--red);font-size:12px;font-weight:500;margin-left:7px}.optional{color:var(--muted);font-size:12px;font-weight:400;margin-left:7px}.check{display:flex;align-items:center;gap:10px;font-size:14px;margin:14px 0}.check input{width:19px;height:19px;accent-color:var(--navy);flex-shrink:0}.catalog-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.product{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}.product-media{height:170px;background:#fff;display:grid;place-items:center;border-bottom:1px solid #f0f2f5;padding:20px}.product-media img{height:100%;width:100%;object-fit:contain}.product-placeholder{color:#9aa9b8;display:grid;place-items:center;gap:9px;font-size:12px}.product-placeholder svg{width:40px;height:40px}.product-body{padding:21px;display:flex;flex-direction:column;flex:1}.product h2{font-size:17px;margin-bottom:5px;overflow-wrap:anywhere}.jan{font-size:12px;color:var(--muted);letter-spacing:.02em;margin-bottom:15px}.specs{font-size:12px;margin:0;display:grid;grid-template-columns:70px 1fr;gap:5px 8px;color:var(--muted)}.specs dt,.specs dd{margin:0;overflow-wrap:anywhere}.specs dd{color:#465b70}.price{font-size:22px;font-weight:700;color:var(--navy);margin-top:19px}.price small{font-size:12px;font-weight:400;color:var(--muted);margin-left:6px}.product-bottom{margin-top:auto;padding-top:17px}.quantity{display:flex;align-items:center;border:1px solid #d6dfe7;border-radius:9px;overflow:hidden;min-height:44px;background:#fff}.quantity button{border:0;background:#f5f7f9;color:var(--navy);width:42px;min-height:44px;font-size:22px;flex-shrink:0}.quantity output{flex:1;text-align:center;font-weight:600;font-size:14px;line-height:1.35}.quantity output small{font-size:12px;color:var(--muted);display:block;font-weight:400}.product-bottom .button{margin-top:10px}.cart{position:sticky;top:22px;padding:22px}.cart-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}.cart-title h2{font-size:18px}.count{background:#edf2f6;color:var(--navy);border-radius:30px;font-size:12px;min-width:24px;min-height:24px;display:grid;place-items:center}.cart-item{padding:14px 0;border-top:1px solid var(--line)}.cart-item-name{font-weight:600;font-size:13px;overflow-wrap:anywhere}.cart-item-detail{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin-top:6px;color:var(--muted)}.cart-item .text-button{font-size:12px;padding-bottom:0}.cart-total{border-top:1px solid var(--line);margin-top:12px;padding-top:16px;display:flex;justify-content:space-between;font-size:12px}.cart-total strong{font-size:19px;color:var(--navy)}.cart .button.full{margin-top:18px}.empty{padding:38px 20px;text-align:center;color:var(--muted);font-size:14px}.empty svg{display:block;margin:0 auto 15px;width:36px;height:36px;color:#99a9b8}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}.address-summary{background:#f5f7f9;border-radius:11px;padding:16px;margin-bottom:19px;font-size:13px;overflow-wrap:anywhere}.address-summary strong{display:block;margin-bottom:6px}.steps{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-bottom:26px;flex-wrap:wrap}.steps span{padding:5px 10px;border-radius:20px}.steps .active{background:var(--navy);color:white}.summary-row{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:14px}.summary-row.total{border-top:1px solid var(--line);margin-top:10px;padding-top:17px;font-weight:700;font-size:20px;color:var(--navy)}.summary-row.subtotal{border-top:1px solid var(--line);margin-top:8px;padding-top:13px}.table-wrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{background:#f5f7f9;color:var(--muted);font-weight:600;padding:12px 14px;font-size:12px;white-space:nowrap}td{border-bottom:1px solid var(--line);padding:16px 14px;vertical-align:top}td small{display:block;margin-top:4px;color:var(--muted)}.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.review-grid h3{font-size:13px;color:var(--muted);margin-bottom:8px}.review-grid p{font-size:14px;overflow-wrap:anywhere}.review-summary{max-width:370px;margin:20px 0 0 auto}.month-picker{min-width:170px;margin-bottom:0}.history-list{display:grid;gap:16px}.order-card{background:white;border:1px solid var(--line);border-radius:15px;padding:22px}.order-card-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.order-number{font-weight:700;font-size:15px;overflow-wrap:anywhere}.order-date{font-size:12px;color:var(--muted);margin-top:4px}.badge{display:inline-flex;padding:4px 10px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;background:#edf2f7;color:#506881}.badge.submitted{background:#fff3de;color:#856320}.badge.shipped,.badge.published{background:#eaf5ef;color:#28754d}.badge.cancelled{background:#f0f1f3;color:#77808b}.order-card-body{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:19px}.order-card-body p{font-size:13px;color:var(--muted)}.order-amount{font-size:22px;font-weight:700;white-space:nowrap;color:var(--navy)}.order-card .actions{margin-top:17px;border-top:1px solid var(--line);padding-top:17px}.tracking{margin-top:14px;background:#f5f7f9;padding:10px 13px;border-radius:8px;font-size:13px;overflow-wrap:anywhere}.invoice-section{margin-bottom:24px}.invoice-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0}.invoice-row+.invoice-row{border-top:1px solid var(--line)}.invoice-row strong{display:block;font-size:14px}.invoice-row span{font-size:13px;color:var(--muted)}.settings-layout{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.settings-layout .section+.section{margin-top:0}.complete{max-width:650px;margin:30px auto;text-align:center;padding:44px 32px}.complete-icon{display:inline-grid;place-items:center;background:#eaf5ef;color:var(--green);width:70px;height:70px;border-radius:50%;margin-bottom:24px}.complete-icon svg{width:34px;height:34px}.complete h1{font-size:27px}.complete p{margin-top:13px;color:var(--muted)}.complete .order-number{color:var(--navy);font-size:19px;margin-top:22px}.complete .actions{justify-content:center;margin-top:30px}.danger-zone{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.danger-zone p{font-size:13px;color:var(--muted);margin-bottom:12px}.loading-page{padding:80px 24px;display:flex;align-items:center;justify-content:center;gap:15px;color:var(--muted)}.edit-note{background:#fff5df;border:1px solid #ebdcba;padding:12px 16px;border-radius:11px;color:#755b21;font-size:13px;margin-bottom:22px}.privacy-note{font-size:12px;color:var(--muted);margin-top:20px;line-height:1.8}.password-help{font-size:12px;color:var(--muted);margin:-6px 0 19px}.search{margin-bottom:20px}.search input{max-width:420px}.document-link{display:inline-flex;align-items:center;gap:7px}.progress-message{font-size:13px;color:var(--muted);margin-top:12px}.display-none{display:none}
@media(min-width:1500px){.main{padding-top:42px}.hero{padding-top:40px}}
@media(max-width:1000px){.catalog-layout{grid-template-columns:minmax(0,1fr) 270px}.product-grid{grid-template-columns:1fr}.checkout-layout{grid-template-columns:minmax(0,1fr) 290px}.home-card{padding:24px}.settings-layout{gap:18px}.review-grid{grid-template-columns:1fr}}
.brand-caption{line-height:1.4}
@media(max-width:700px){.brand-logo{width:144px}.topbar-inner{padding:17px 20px;gap:12px}.brand-caption{font-size:12px}.brand{gap:2px}.customer-name{max-width:150px;font-size:12px}.userbar{gap:9px}.header-button{padding:8px;font-size:12px}.main{padding:22px 20px 40px}.nav{margin-bottom:23px;gap:4px}.nav button{padding:7px 11px;font-size:12px}.hero{padding:12px 0 25px}.hero .subtitle{font-size:13px}.home-grid{grid-template-columns:1fr;gap:15px}.home-card{min-height:0;padding:24px;display:grid;grid-template-columns:54px 1fr;gap:0 19px}.home-card .icon-block{grid-column:1;grid-row:1/4;margin:0;padding:13px;align-self:start}.home-card h2{grid-column:2;font-size:22px}.home-card p{grid-column:2;margin-top:4px;font-size:12px}.card-action{grid-column:2;padding-top:13px}.info-strip{margin-top:20px;font-size:12px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:23px;gap:14px}.subtitle{font-size:13px}.catalog-layout,.checkout-layout,.settings-layout{grid-template-columns:1fr;gap:20px}.product-grid{grid-template-columns:1fr;gap:14px}.product-body{padding:15px}.product-media{height:135px;padding:14px}.product h2{font-size:14px}.specs{display:block;font-size:12px}.specs dt{margin-top:6px}.specs dd{margin-top:1px}.price{font-size:19px}.price small{display:block;margin:0}.product-bottom .button{padding:10px 8px;font-size:12px}.quantity button{width:35px}.quantity output{font-size:12px}.quantity output small{font-size:12px}.cart{position:static}.section{padding:22px}.auth{margin:20px auto}.auth .section{padding:26px}.form-grid{grid-template-columns:1fr;gap:0}.review-grid{gap:16px}.footer{padding:17px 20px;font-size:12px;flex-wrap:wrap}.actions .button{flex:1}.month-picker{width:100%;max-width:260px}.order-card{padding:19px}.order-card-body{align-items:flex-start;flex-direction:column;gap:9px}.order-amount{font-size:21px}.order-card-top{gap:10px}.order-number{font-size:13px}.invoice-row{align-items:flex-start;flex-wrap:wrap}.complete{padding:32px 22px}.complete h1{font-size:24px}.notice{bottom:18px;font-size:13px;width:max-content;max-width:calc(100vw - 32px)}.table-wrap{margin:0 -6px}th,td{padding-left:9px;padding-right:9px}.review-summary{max-width:none}.steps{font-size:12px;gap:4px}.steps span{padding:4px 8px}}
@media(max-width:430px){.product-grid{grid-template-columns:1fr}.product-media{height:185px}.product-body{padding:20px}.product h2{font-size:17px}.specs{display:grid;grid-template-columns:72px 1fr;font-size:12px}.specs dt,.specs dd{margin:0}.price{font-size:22px}.price small{display:inline;margin-left:5px}.customer-name{max-width:105px}.userbar{align-items:flex-end;flex-direction:column;gap:3px}.header-button{border:0;padding:2px 0;min-height:25px}.product-bottom .button{font-size:14px}.quantity output{font-size:14px}.quantity output small{font-size:12px}.quantity button{width:46px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* CHG-20261007-005: 画像の固有寸法がGridの最小サイズを押し広げ、説明へ重ならないようにする。 */
.catalog-layout > *, .product-grid, .product, .product-body { min-width: 0; }
.product-media {
  height: 240px;
  padding: 20px;
  flex-shrink: 0;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
}
.product-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-body { padding: 22px; background: #fff; }
.product h2 { font-size: 17px; line-height: 1.55; margin-bottom: 8px; }
.product .jan { font-size: 12px; margin-bottom: 16px; overflow-wrap: anywhere; }
.product .specs {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px 10px;
  font-size: 13px;
  line-height: 1.6;
}
.product .specs dt, .product .specs dd { margin: 0; }
.product .specs dt { color: #586b7e; }
.product .specs dd { color: #24394e; }
.product .price { font-size: 24px; }
.product .price small { font-size: 12px; display: inline; margin-left: 6px; }
@media (max-width: 700px) {
  .product-media { height: 220px; padding: 16px; }
  .product-body { padding: 20px; }
}
