.shop-content{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",sans-serif;color:#243447;background:#fff;font-size:16px;line-height:1.7;--blue:#174b79;--line:#dce4ea}.shop-content *{box-sizing:border-box}.shop-content body{margin:0}.shop-content a{color:var(--blue);text-underline-offset:4px}.shop-content nav{display:flex;gap:28px;flex-wrap:wrap}.shop-content nav a{text-decoration:none}.shop-content .cart-link{margin-left:auto;font-weight:700}.shop-content #cart-count{display:inline-block;min-width:24px;text-align:center;border-radius:50%;background:#eaf1f7;font-size:13px}.shop-content h1{font-size:32px;line-height:1.5;margin:8px 0 20px}.shop-content h2{font-size:22px}.shop-content h3{font-size:18px;line-height:1.6}.shop-content .notice{padding:9px 14px;background:#fff7de;color:#76602b;font-size:13px;margin-top:0}.shop-content #message{white-space:pre-line;color:#9c3b19}.shop-content #message:empty{display:none}.shop-content .shop-heading{padding:25px 0 30px}.shop-content .eyebrow{letter-spacing:.14em;font-size:12px;font-weight:700;color:#55758f}.shop-content .categories{gap:10px;padding:0 0 25px;border-bottom:1px solid var(--line)}.shop-content .categories a{padding:10px 23px;background:#f1f5f8;border-radius:3px}.shop-content .categories .selected{background:var(--blue);color:#fff}.shop-content .catalog-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 10px}.shop-content .catalog-heading span,.shop-content .muted,.shop-content .tax-price{color:#627384;font-size:14px}.shop-content .product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}.shop-content .product-card{min-width:0;border:1px solid var(--line);background:#fff}.shop-content .product-image{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:#f0f4f6;overflow:hidden;text-decoration:none}.shop-content .product-image img{width:100%;height:100%;object-fit:contain}.shop-content .image-placeholder{text-align:center;color:#758b9c;display:grid;gap:10px;font-size:24px;letter-spacing:.08em}.shop-content .image-placeholder small{font-size:12px;letter-spacing:0}.shop-content .product-copy{padding:20px}.shop-content .category-label{font-size:12px;color:#59748a;margin:0 0 8px}.shop-content .product-copy h3{min-height:58px;margin:0 0 14px}.shop-content .product-copy h3 a{color:inherit;text-decoration:none}.shop-content .price{font-size:21px;font-weight:700;margin:8px 0}.shop-content .tax-price{margin:0 0 12px}.shop-content .text-link{display:inline-block;margin-top:14px;font-size:14px}.shop-content .purchase-guide{margin-top:50px;padding:25px 30px;background:#f2f6f8}.shop-content .breadcrumb{font-size:13px;gap:10px;margin:18px 0 26px}.shop-content .product-detail{display:grid;grid-template-columns:1fr 1fr;gap:45px}.shop-content .product-detail h1{font-size:28px}.shop-content .description{white-space:pre-line}.shop-content .gallery-thumbnails{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}.shop-content .gallery-thumbnails img{width:90px;height:90px;object-fit:contain;border:1px solid var(--line)}.shop-content label{display:block;margin:12px 0;font-size:14px;font-weight:600}.shop-content input,.shop-content select{display:block;width:100%;padding:12px;font:inherit;color:inherit;background:#fff;border:1px solid #93a5b4;border-radius:3px;margin-top:6px}.shop-content button,.shop-content .button{display:inline-block;background:var(--blue);color:#fff;padding:13px 22px;border:1px solid var(--blue);border-radius:3px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none;text-align:center;margin:8px 8px 8px 0}.shop-content .secondary{background:#fff;color:var(--blue)}.shop-content button:disabled{opacity:.5;cursor:not-allowed}.shop-content .quantity-label{max-width:110px}.shop-content .actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0}.shop-content .cart-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:22px 0}.shop-content .cart-row h3{margin:0}.shop-content .cart-row p{margin:4px 0}.shop-content .cart-row input{width:85px}.shop-content .cart-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.shop-content .cart-controls button{font-size:13px;padding:8px 12px}.shop-content .cart-summary{background:#f2f6f8;padding:22px;margin:20px 0}.shop-content #total{font-weight:700;font-size:19px;white-space:pre-line}.shop-content .checkout-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px}.shop-content .checkout-layout aside .cart-row{display:block}.shop-content .checkout-layout h2{border-bottom:1px solid var(--line);padding-bottom:12px;margin-top:30px}.shop-content .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.shop-content #card{background:white;padding:20px;border:1px solid #93a5b4;margin:20px 0}.shop-content #shipping button.selected{outline:3px solid #88aec9}.shop-content #order{max-width:800px;margin:30px auto}.shop-content .empty{text-align:center;padding:50px 20px;border:1px solid var(--line)}.shop-content footer{display:flex;justify-content:space-between;gap:30px;margin-top:55px;border-top:1px solid var(--line);font-size:13px;color:#627384}.shop-content footer a{display:block;margin:8px 0}.shop-content [hidden]{display:none!important}.shop-content :focus-visible{outline:3px solid #cf931e;outline-offset:-3px}@media(max-width:850px){.shop-content .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-content .product-detail,.shop-content .checkout-layout{grid-template-columns:1fr;gap:20px}}@media(max-width:540px){.shop-content h1{font-size:26px}.shop-content .product-grid{grid-template-columns:1fr}.shop-content .categories{gap:8px}.shop-content .categories a{padding:8px 15px}.shop-content .product-copy h3{min-height:0}.shop-content .cart-row,.shop-content .actions{display:block}.shop-content .cart-link{margin-left:0}.shop-content .cart-controls{margin-top:12px}.shop-content .button,.shop-content button{font-size:15px}.shop-content .product-info h1{font-size:25px}}

/* Corporate shell uses the existing website stylesheet; only its content is shop-specific. */
.shop-site .shop-layout{display:flex;align-items:flex-start;width:920px;max-width:calc(100% - 32px);gap:20px}
.shop-site .sub_menu{float:none;flex:0 0 240px;margin-right:0}
.shop-site .main_contents{float:none;min-width:0;flex:1;width:auto}
.shop-content{padding:0;margin:0;max-width:none;font-size:15px}
.shop-content h1,.shop-content h2,.shop-content h3{font-weight:700;border:0;text-indent:0;color:#243447}
.shop-content p{margin-bottom:12px}
.shop-content .order-thanks{margin-bottom:1lh}
.shop-content a:visited{color:var(--blue)}
.shop-content .button:visited{color:white}
.shop-content .secondary:visited{color:var(--blue)}
.shop-content .categories a.selected{color:white}
.shop-content .product-grid{gap:20px 14px}
.shop-content .product-copy{padding:12px}
.shop-content .product-copy h3{font-size:16px;min-height:52px}
.shop-content .price{font-size:18px}
.shop-content .categories a{padding:8px 12px}
.shop-content .product-detail{gap:22px}
.shop-content .product-detail h1{font-size:24px}
.shop-content .checkout-layout{grid-template-columns:1fr;gap:12px}
.shop-content .image-placeholder{font-size:20px}
.shop-site .shop-section-title{line-height:1.5}
@media(max-width:950px){
.shop-site .header,.shop-site .menu_wrap{width:calc(100% - 32px)}
.shop-site .header_msg{width:auto;float:none;text-align:left;font-size:12px}
.shop-site .header_top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.shop-site .contact{white-space:nowrap;font-size:13px}
.shop-site .menu_wrap{padding-left:0}
.shop-site .menu_wrap ul{display:flex;flex-wrap:wrap}
.shop-site .menu_wrap ul li{float:none}
.shop-site .menu_wrap ul li a{padding:7px 14px;font-size:15px}
.shop-site .menu_wrap .logo_spacer{width:85px}
.shop-site .sub_menu{flex-basis:190px}
.shop-content .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
.shop-site .shop-layout{display:block}
.shop-site .sub_menu{width:100%;margin:0 0 20px}
.shop-site .sub_menu ul{display:flex;flex-wrap:wrap}
.shop-site .sub_menu ul li{flex:1;min-width:100px}
.shop-site .title img{max-width:100%;height:auto}
.shop-site .header_msg{font-size:10px}
.shop-site .header .title{height:auto}
.shop-content .product-detail{grid-template-columns:1fr}
.shop-content .cart-row,.shop-content .actions{display:block}
}
@media(max-width:540px){.shop-content .product-grid{grid-template-columns:1fr}}

.shop-site .copyright{max-width:100%;box-sizing:border-box;padding:12px;overflow-wrap:anywhere}

.shop-site .footer{position:static}

.shop-site .sub_menu #cart-count{float:none;margin-left:6px}
.shop-content p{padding:0;text-indent:0}

.shop-content p{margin-left:0}

.shop-content .catalog-heading{justify-content:flex-end;margin-top:0}
.shop-content .cart-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:14px 20px}
.shop-content .cart-controls{grid-column:1 / -1;justify-content:flex-end}
.shop-content .cart-image{width:110px;min-height:100px;background:#f0f4f6;display:flex;align-items:center;justify-content:center}
.shop-content .cart-image img{width:110px;height:110px;object-fit:contain}
.shop-content .cart-image span{font-size:12px;color:#627384;text-align:center}
.shop-content #added{margin-top:16px}
.shop-content .actions{justify-content:flex-end}
@media(max-width:540px){.shop-content .cart-row{grid-template-columns:minmax(0,1fr) 85px}.shop-content .cart-image{width:85px}.shop-content .cart-image img{width:85px;height:85px}}

.shop-content .product-subtitle{color:#526778;font-size:14px;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px}
.shop-content .product-info,.shop-content .product-copy{min-width:0;overflow-wrap:anywhere}
.shop-content .description{line-height:1.9;overflow-wrap:anywhere}
.shop-content .manufacturer-link{font-size:14px;margin:4px 0 20px;width:100%}
.shop-content .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Product details use the full content width, with balanced margins below the photo. */
.shop-content .product-detail{grid-template-columns:minmax(0,1fr);gap:24px}
.shop-content .product-gallery,.shop-content .product-info{width:100%;min-width:0;margin:0}
.shop-content .product-gallery>.product-image{width:100%;aspect-ratio:4/3;max-height:480px}
.shop-content .gallery-thumbnails{justify-content:center}

.shop-content .gallery-stage{position:relative}
.shop-content .gallery-stage .product-image{width:100%;aspect-ratio:4/3;max-height:480px;touch-action:pan-y pinch-zoom}
.shop-content .gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;padding:0;margin:0;border-radius:50%;font-size:30px;line-height:1;background:#174b79e8}
.shop-content .gallery-prev{left:12px}.shop-content .gallery-next{right:12px}
.shop-content .gallery-status{text-align:center;font-size:13px;color:#627384;margin:8px 0}
.shop-content .gallery-thumb{padding:3px;margin:0;background:white;border:2px solid transparent;border-radius:3px}
.shop-content .gallery-thumb[aria-pressed="true"]{border-color:var(--blue)}
.shop-content .gallery-thumb img{display:block;width:72px;height:72px;border:0}

.account-form{max-width:640px}.account-form label{display:block;margin:12px 0}.account-form input:not([type=checkbox]),.account-form select{box-sizing:border-box;width:100%;padding:10px}.account-form .checkbox-label{display:flex;gap:10px;align-items:center}.saved-address-card{border:1px solid #ddd;padding:16px;margin:16px 0}.saved-address-card p{white-space:pre-line}.saved-address-card button{margin-right:10px}.shop-site .sub_menu #account-logout{appearance:none;display:block;box-sizing:border-box;border:0;border-radius:0;background:transparent;color:#555;width:100%;text-align:left;padding:15px 10px;margin:0;font:inherit;font-size:1.3em;cursor:pointer}.shop-site .sub_menu #account-logout:hover,.shop-site .sub_menu #account-logout:focus-visible{background:#6fb3ff;color:#fff}.shop-site .sub_menu #account-logout:focus-visible{outline:2px solid #174b79;outline-offset:-2px}#saved-addresses select{max-width:100%;width:100%}

.shop-site [hidden]{display:none!important}.shop-content .checkbox-label input[type=checkbox]{width:auto;margin:0}

/* Keep checkout in reading order and details within their owning order. */
.checkout-flow { display:block; }
.checkout-flow > section, .checkout-flow .checkout-block, .account-block { margin-bottom:2rem; padding-bottom:1.5rem; border-bottom:1px solid #ddd; }
.order-inline-detail { margin-top:1.5rem; padding-top:1rem; border-top:1px solid #ddd; }
.order-item { display:flex; align-items:center; gap:1rem; margin:1rem 0; }
.order-item img { width:100px; height:100px; object-fit:contain; flex-shrink:0; }

/* Use native required state so conditional corporate fields stay in sync. */
.shop-content label:has(:required)::before{content:"*";color:#c62828;font-weight:700;margin-right:.3em}
.shop-content .required-note{font-size:13px;color:#526778;margin:8px 0 16px}
.shop-content .required-mark{color:#c62828;font-weight:700}
.checkout-address-block{margin:24px 0;padding-top:16px;border-top:1px solid #d5dfe7}.address-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.address-heading h3{margin:0}.checkout-address-block fieldset{border:0;margin:0;padding:0;min-width:0}.checkout-address-block input:disabled{background:#eef2f5;color:#445566;opacity:1;cursor:default}.checkout-address-block select:disabled{background:#eef2f5;color:#445566;opacity:1}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.shop-content .checkout-address-block .checkbox-label{display:flex;align-items:center;gap:10px}.shop-content .checkout-address-block .checkbox-label span{display:inline}

.shop-content .field-note{display:inline;font-size:12px;font-weight:400;color:#526778}
.shop-content .password-field{position:relative;margin:12px 0}
.shop-content .password-field label{margin:0}
.shop-content .account-form .password-field input{min-height:48px;padding-right:52px}
.shop-content .account-form .password-field-validated input{padding-right:84px}
.shop-content .password-field .password-toggle{position:absolute;right:2px;bottom:2px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;padding:10px;border:0;background:transparent;color:#526778}
.shop-content .password-toggle:hover{background:#eef3f7}
.shop-content .password-toggle svg,.shop-content .password-check svg{display:block;width:22px;height:22px}
.shop-content .password-check{position:absolute;right:54px;bottom:13px;color:#21743a;pointer-events:none}
.shop-content .password-status{margin:-4px 0 14px;font-size:13px;font-weight:400;color:#526778}
.shop-content .password-status-valid{color:#21743a}
.shop-content .password-field input::-ms-reveal{display:none}

/* Page titles follow the corporate site's blue heading and left rule. */
.shop-content h1{color:#4a9fff;border-left:5px solid #6fb3ff;padding-left:15px;text-indent:0;font-size:24px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:540px){.shop-content h1,.shop-content .product-detail h1,.shop-content .product-info h1{font-size:22px}}


/* Order essentials stay visible before opening details. */
.shop-content .order-history-summary{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;margin:16px 0 20px;align-items:start}
.shop-content .order-history-photo{width:96px;height:96px;background:#f0f4f6;display:flex;align-items:center;justify-content:center;color:#627384;font-size:12px}
.shop-content .order-history-photo img{display:block;width:100%;height:100%;object-fit:contain}
.shop-content .order-history-copy{min-width:0;overflow-wrap:anywhere}
.shop-content .order-history-copy p{margin:0 0 7px}
.shop-content .order-history-title{font-size:17px}
.shop-content .order-history-title span{display:inline-block;font-size:14px;font-weight:400}
.shop-content .order-history-total{font-weight:600}
.shop-content .order-history-statuses{display:flex;flex-wrap:wrap;gap:0 20px;font-size:14px}
@media(max-width:540px){.shop-content .order-history-summary{grid-template-columns:72px minmax(0,1fr);gap:12px}.shop-content .order-history-photo{width:72px;height:72px}}
/* Keep both checkout actions visible in document order, including small screens. */
.shop-content .checkout-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
.shop-content .checkout-actions .button,.shop-content .checkout-actions button{margin:0}
@media(max-width:540px){.shop-content .checkout-actions>*{flex:1 1 100%;width:100%}}



.order-documents{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px;align-items:center}
.order-documents p{width:100%;margin:0}
.shop-content :is(#shipping-fee-dialog, #address-review-dialog) {
  width: min(28rem, calc(100% - 2rem));
  margin: auto;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: inherit;
}
:is(#shipping-fee-dialog, #address-review-dialog)::backdrop { background: rgb(0 0 0 / 40%); }
:is(#shipping-fee-dialog, #address-review-dialog) p { margin: 0 0 1rem; }
:is(#shipping-fee-dialog, #address-review-dialog) form { margin: 0; text-align: right; }
.shop-content .tracking-url{overflow-wrap:anywhere}

#cart-edit-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
#cart-edit-fields input:disabled, #checkout-link[inert], #address[inert] :is(input, select, button), #payment-method:disabled, #card[inert] { opacity: .55; cursor: not-allowed; }

body[data-order-pending] .shop-site :is(a[href], #account-logout) {
  interactivity: inert;
  cursor: wait;
  opacity: 0.55;
}
