/* 4.32.51: paper-and-bookmark design from the supplied presentation. */
body.ysr-page{background:#aee1ec!important;color:#344a55!important;--ysr-paper-blue:#4262a1;--ysr-paper-yellow:#fff474}
body.ysr-page .ysr-site,body.ysr-page .ysr-brand-nav,body.ysr-page:has(.ysr-welcome) .ysr-brand-nav,body.ysr-page .ysr-information-links,body.ysr-page #footer{background:#fff!important;border:0!important;border-radius:4px!important;box-shadow:none!important}
body.ysr-page .ysr-brand-nav,body.ysr-page:has(.ysr-welcome) .ysr-brand-nav{position:relative;padding:24px 36px 20px 88px!important;overflow:visible!important}
body.ysr-page .ysr-brand-nav:before{content:"";position:absolute;left:24px;top:-12px;width:36px;height:69px;background:#4262a1;clip-path:polygon(0 0,100% 0,100% 100%,50% 82%,0 100%);pointer-events:none}
body.ysr-page .ysr-brand-nav:after{content:"";position:absolute;left:30px;top:-4px;width:24px;height:43px;border:1px dashed #fff9;border-bottom:0;box-sizing:border-box;pointer-events:none}
body.ysr-page:has(.ysr-welcome) .ysr-brand-nav{border-radius:4px 4px 0 0!important}
body.ysr-page .ysr-brand,body.ysr-page .ysr-nav-guide{color:#4262a1!important}
body.ysr-page .ysr-brand-symbol{background:#fff474!important;color:#4262a1!important;border-radius:4px!important}
body.ysr-page .ysr-welcome{background:#fff!important;border-radius:0 0 4px 4px!important;padding-top:28px;padding-bottom:36px}
body.ysr-page .ysr-welcome h1,body.ysr-page .ysr-page-title{color:#4262a1!important}
body.ysr-page .ysr-welcome h1 mark:after{background:#fff474!important}
body.ysr-page .ysr-welcome-copy{color:#344f7c}
body.ysr-page .ysr-welcome-photo{mix-blend-mode:normal}
body.ysr-page .ysr-welcome-bubble{border-color:#4262a1;border-radius:8px;box-shadow:none;color:#344f7c}
body.ysr-page .ysr-welcome-bubble:before{border-color:#4262a1}
body.ysr-page .ysr-site .ysr-bookmark{background:#4262a1!important;border-radius:0!important}
body.ysr-page .ysr-site .ysr-bookmark:after{display:block!important;content:"";position:absolute;inset:6px 5px 16px;border:1px dashed #fff9;border-bottom:0;background:none;transform:none;width:auto;height:auto}
body.ysr-page .ysr-site .ysr-title-line{background:#fff474!important;border-radius:2px!important}
body.ysr-page :is(.ysr-welcome-cta,.ysr-detail-button,.ysr-help-readmore,.ysr-purchase-button,.ysr-price-cta,.ysr-reset-button,.ysr-nav-search),body.ysr-page .ysr-quick-links a{background:#4262a1!important;color:#fff!important;border-radius:6px!important;border:0!important;box-shadow:none!important}
body.ysr-page :is(.ysr-welcome-cta,.ysr-detail-button,.ysr-help-readmore,.ysr-purchase-button,.ysr-price-cta,.ysr-reset-button):hover,body.ysr-page .ysr-quick-links a:hover{background:#31518e!important}
body.ysr-page .ysr-card,body.ysr-page .ysr-help-card,body.ysr-page .ysr-product-panel,body.ysr-page .ysr-related-box{border-radius:8px!important;border-color:#cbd9e9!important;box-shadow:none!important}
body.ysr-page .ysr-card-maker{background:#fff474!important;color:#304c82!important;border-radius:4px!important}
body.ysr-page .ysr-filter-form{background:#f2f8fc!important;border-radius:6px!important}
body.ysr-page .ysr-information-links a,body.ysr-page #footer .copyright{color:#4262a1!important}
@media(max-width:700px){body.ysr-page .ysr-brand-nav,body.ysr-page:has(.ysr-welcome) .ysr-brand-nav{padding:18px 12px 16px 42px!important}body.ysr-page .ysr-brand-nav:before{left:12px;top:-8px;width:19px;height:45px}body.ysr-page .ysr-brand-nav:after{left:15px;top:-2px;width:13px;height:26px}body.ysr-page .ysr-brand{font-size:13px!important;gap:7px}body.ysr-page .ysr-brand-symbol{width:26px;height:30px;font-size:20px}body.ysr-page .ysr-welcome{padding-top:20px;padding-bottom:26px}body.ysr-page .ysr-site{border-radius:4px!important}body.ysr-page .ysr-quick-links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}body.ysr-page .ysr-quick-links a{text-align:center;justify-content:center}}
@media(max-width:700px){body.ysr-page .ysr-quick-links>:not(a){grid-column:1/-1}body.ysr-page .ysr-quick-links a:last-child:nth-of-type(5){grid-column:1/-1}}
/* 4.32.53: softer paper panels with a continuous header surface. */
body.ysr-page .ysr-site,body.ysr-page .ysr-brand-nav,body.ysr-page .ysr-information-links,body.ysr-page #footer{border-radius:12px!important}
body.ysr-page:has(.ysr-welcome) .ysr-brand-nav{border-radius:12px 12px 0 0!important}
body.ysr-page .ysr-welcome{border-radius:0 0 12px 12px!important}
body.ysr-page .ysr-card,body.ysr-page .ysr-help-card,body.ysr-page .ysr-product-panel,body.ysr-page .ysr-related-box,body.ysr-page .ysr-welcome-bubble{border-radius:10px!important}

/* 4.32.54: a compact, single random product below the mobile search CTA. */
@media(max-width:700px){
 body.ysr-page .ysr-welcome-gallery{display:block;margin-top:18px}
 body.ysr-page .ysr-welcome-products{display:block;padding:0}
 body.ysr-page .ysr-welcome-product{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;align-items:center;padding:12px;background:#fff;border:1px solid #cbd9e9;border-radius:10px;box-sizing:border-box}
 body.ysr-page .ysr-welcome-product:nth-child(n+2){display:none}
 body.ysr-page .ysr-welcome-photo{height:88px;margin:0;align-items:center}
 body.ysr-page .ysr-welcome-photo img{width:100%!important;height:88px!important;max-height:88px!important;object-position:center;object-fit:contain}
 body.ysr-page .ysr-welcome-bubble{min-width:0;padding:0;border:0;background:transparent;box-shadow:none!important;text-align:left;gap:3px}
 body.ysr-page .ysr-welcome-bubble:before{display:none}
 body.ysr-page .ysr-welcome-maker{font-size:11px}
 body.ysr-page .ysr-welcome-name{font-size:12px;line-height:1.6}
 body.ysr-page .ysr-welcome-price{font-size:20px;margin-top:2px}
 body.ysr-page .ysr-welcome-price small{display:inline-block;font-size:9px}
 body.ysr-page .ysr-welcome-product:hover{border-color:#4262a1}
}

/* 4.32.55: readable product specifications and distinct sharing controls. */
body.ysr-page .ysr-site .ysr-spec-table{table-layout:fixed;width:100%}
body.ysr-page .ysr-site .ysr-spec-table th,body.ysr-page .ysr-site .ysr-spec-table td{font-size:16px!important;line-height:1.8!important;color:#24364b!important;padding:12px!important;overflow-wrap:anywhere}
body.ysr-page .ysr-site .ysr-spec-table th{font-weight:700!important}
body.ysr-page .ysr-site .ysr-spec-table td{font-weight:400!important}
body.ysr-page .ysr-product-panel :is(.ysr-ad-label,.ysr-purchase-note){font-size:13px!important;line-height:1.8!important;color:#435369!important}
body.ysr-page .ysr-product-panel .ysr-list-price{font-size:15px!important;color:#566176!important}
body.ysr-page .ysr-site .ysr-share-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
body.ysr-page .ysr-site .ysr-share-buttons :is(a,button){width:auto;min-width:44px;min-height:44px;height:auto;padding:8px 10px;box-sizing:border-box;font-size:13px!important;border-radius:8px;line-height:1.4}
body.ysr-page .ysr-site .ysr-share-buttons a[aria-label="Xで共有"]{background:#111!important;color:#fff!important}
body.ysr-page .ysr-site .ysr-share-buttons a[aria-label="Threadsで共有"]{background:#333!important;color:#fff!important}
body.ysr-page .ysr-site .ysr-share-buttons a[aria-label="Facebookで共有"]{background:#0866cc!important;color:#fff!important}
body.ysr-page .ysr-site .ysr-share-buttons a[aria-label="LINEで共有"]{background:#087f3e!important;color:#fff!important}
body.ysr-page .ysr-site .ysr-share-buttons .ysr-copy-url{background:#596579!important;color:#fff!important}
body.ysr-page .ysr-site .ysr-share-buttons :is(a,button):hover{filter:brightness(.88)}
@media(max-width:700px){
 body.ysr-page .ysr-site .ysr-product-info .ysr-product-price{font-size:28px!important}
 body.ysr-page .ysr-site .ysr-spec-table th{width:30%!important}
 body.ysr-page .ysr-site .ysr-spec-table th,body.ysr-page .ysr-site .ysr-spec-table td{padding:10px 8px!important}
}

body.ysr-page .ysr-site .ysr-product-image{border:0!important;box-shadow:none!important;border-radius:0!important;background:#fff!important}
body.ysr-page .ysr-site .ysr-product-image img{border:0!important;box-shadow:none!important;border-radius:0!important}

/* 4.32.56: soft pill-shaped sharing buttons. */
body.ysr-page .ysr-site .ysr-share-buttons :is(a,button){border-radius:999px!important}

/* 4.32.57: bookmarks tucked over the top edge of major paper panels. */
body.ysr-page .ysr-site:has(> .ysr-title-row){overflow:visible!important}
body.ysr-page .ysr-site > .ysr-title-row > .ysr-bookmark{margin-top:-38px!important;height:64px!important}
@media(max-width:480px){
 body.ysr-page .ysr-site > .ysr-title-row > .ysr-bookmark{margin-top:-24px!important;height:46px!important}
}

/* 4.32.59: consistent product cards in articles and rounded sidebar makers. */
body.ysr-page .ysr-editorial-product-card{border:1px solid #cbd9e9;border-radius:10px;background:#fff;box-shadow:none;min-width:0}
body.ysr-page .ysr-editorial-product-body{text-align:center}
body.ysr-page .ysr-editorial-product-maker{align-self:center;max-width:100%;padding:4px 12px;margin:0 0 10px;border-radius:4px;background:#fff474!important;color:#304c82!important;font-size:12px;line-height:1.5;font-weight:700}
body.ysr-page .ysr-editorial-product-name{font-size:16px!important;line-height:1.65!important;font-weight:700;text-align:center;word-break:normal;overflow-wrap:anywhere}
body.ysr-page .ysr-editorial-product-name a{color:#24364b!important}
body.ysr-page .ysr-editorial-product-prices{justify-content:center;align-items:center;gap:6px 8px;min-height:0;margin-bottom:10px}
body.ysr-page .ysr-editorial-product-list-price{flex-basis:100%;color:#566176;font-size:13px}
body.ysr-page .ysr-editorial-product-price{color:#ed2857;font-size:26px;line-height:1.4}
body.ysr-page .ysr-editorial-product-discount{background:#fff0f4;color:#b81443;border:1px solid #f2b7c6;border-radius:12px;padding:3px 9px;font-size:12px}
body.ysr-page .ysr-editorial-product-weight,body.ysr-page .ysr-editorial-product-colors{color:#435369}
body.ysr-page .ysr-editorial-product-button{background:#4262a1!important;color:#fff!important;border:0;border-radius:6px!important;font-size:15px;min-height:46px;box-sizing:border-box}
body.ysr-page .ysr-editorial-product-button:hover{background:#31518e!important}
body.ysr-page .ysr-editorial-product-button:focus-visible{outline:3px solid #304c82;outline-offset:3px}
body.single-post.ysr-page .ysr-popular-product-maker{display:table;width:auto;max-width:100%;box-sizing:border-box;padding:4px 8px;border-radius:4px;background:#fff474!important;color:#304c82!important;line-height:1.5}
@media(max-width:560px){body.ysr-page .ysr-editorial-product-price{font-size:24px}}

/* 4.32.62: wrap product names at series / model-year boundaries. */
body.ysr-page :is(.ysr-card-title,.ysr-editorial-product-name){word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important}
body.ysr-page :is(.ysr-card-title,.ysr-editorial-product-name) a{word-break:normal!important;overflow-wrap:normal!important;white-space:normal!important}
body.ysr-page .ysr-card-name-part{display:inline-block;max-width:100%;vertical-align:top;white-space:normal;word-break:normal;overflow-wrap:anywhere;line-break:strict}

/* 4.32.63: equal listing columns and shared manufacturer label geometry. */
body.ysr-page .ysr-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.ysr-page .ysr-card-grid > .ysr-card{min-width:0;width:100%;box-sizing:border-box}
body.ysr-page :is(.ysr-card-maker,.ysr-editorial-product-maker){display:block;width:75%!important;max-width:100%;box-sizing:border-box;align-self:center!important;margin:0 auto 8px!important;padding:4px 12px!important;border-radius:4px!important;background:#fff474!important;color:#304c82!important;font-size:11px!important;font-weight:700!important;line-height:1.35!important;text-align:center!important;overflow-wrap:anywhere}
@media(max-width:760px){body.ysr-page .ysr-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){body.ysr-page .ysr-card-grid{grid-template-columns:minmax(0,1fr)!important}}

/* 4.32.64: adjacent model filters share a grid only inside an explicit group. */
.ysr-editorial-products-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 38px;
}
.ysr-editorial-products-group > .ysr-editorial-products,
.ysr-editorial-products-group > .ysr-editorial-products > .ysr-editorial-products-grid {
  display: contents;
}
.ysr-editorial-products-group .ysr-editorial-product-card {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.ysr-editorial-products-group .ysr-editorial-products-count,
.ysr-editorial-products-group .ysr-editorial-products-empty {
  grid-column: 1 / -1;
}
@media (max-width: 900px) {
  .ysr-editorial-products-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ysr-editorial-products-group { grid-template-columns: minmax(0, 1fr); }
}

/* 4.32.65: wpautop line breaks must not occupy grid cells. */
.ysr-editorial-products-group > br,
.ysr-editorial-products-group > p:empty { display: none; }
