/* V13: products and actions replace promotional headings. */
.home-categories{padding-top:48px;padding-bottom:4px}
.category-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.category-photo-grid>a{min-width:0;display:block}
.category-photo-grid .product-photo{aspect-ratio:1/1;overflow:hidden}
.category-photo-grid>a>span{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:16px 0;border-bottom:1px solid #ccc}
.category-photo-grid b{font:600 27px/1 var(--display);letter-spacing:.025em}
.category-photo-grid small{font-size:13px;line-height:1.6}
.home-selection{padding-top:0;padding-bottom:64px}
.home-selection .section-head>span{font-size:14px}
.selection-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:6%;align-items:stretch}
.selection-image{width:100%;height:100%;min-height:450px;object-fit:cover}
.selection-note{font-size:16px;margin-bottom:12px}
.selection-product{display:grid;grid-template-columns:92px minmax(0,1fr);gap:18px;align-items:center;padding:16px 0;border-bottom:1px solid #ccc}
.selection-product .product-photo{aspect-ratio:1;margin:0}
.selection-product>span{display:grid;gap:8px;min-width:0}
.selection-product strong{font-size:15px;line-height:1.7;font-weight:700;overflow-wrap:anywhere}
.selection-product small{font-size:13px;line-height:1.6;color:#555}
.selection-product b{font:600 25px/1.2 var(--display)}
.selection-product b small{font:13px var(--body);font-weight:400}
.selection-products>.text-link{margin-top:18px;display:inline-block}
.member-favorite-preview{margin:12px 0 20px}
.member-favorite-preview .selection-product{grid-template-columns:68px minmax(0,1fr);gap:14px}
.member-heading h1{font-size:40px;line-height:1.45}
.member-benefit h2{font-size:24px;line-height:1.6}
.member-section>.button+.text-link{display:block;width:fit-content;margin:16px 0 0}
.buyback-copy h2{font-size:38px;line-height:1.4}
.sell-instant-intro h1{font-size:44px;line-height:1.35;margin-top:14px;font-weight:700}
.sell-instant-intro .sell-lead{font-size:15px;line-height:1.9}
.sell-instant-route li{font-size:14px}
.sell-instant-route span{font-size:13px;color:#555}
.instant-heading h2{font-weight:700}
.estimate-demo,.instant-disclosure,.estimate-privacy,.estimate-help{font-size:13px;color:#555;line-height:1.8}
.estimate-progress li,.estimate-progress span{font-size:14px}
.estimate-step-title{font-size:21px;font-weight:700;line-height:1.55}
.estimate-categories span,.estimate-select>span,.estimate-conditions legend,.estimate-conditions label{font-size:15px}
.estimate-select select{font-size:16px;height:50px}
.estimate-selected-item span{font-size:13px;color:#555}
.estimate-selected-item strong{font-size:16px;font-weight:700}
.estimate-detail-fields{padding:20px;background:#f5f5f2;margin:24px 0}
.estimate-detail-fields h4{font-size:16px}
.estimate-detail-fields>p{font-size:14px;color:#555;line-height:1.8;margin:6px 0 18px}
.estimate-detail-fields .estimate-select:last-child{margin-bottom:0}
.estimate-examples{border-top:1px solid #ccc;margin-top:24px;padding-top:12px;font-size:14px}
.estimate-examples summary{cursor:pointer;min-height:44px;display:list-item;padding-top:10px}
.estimate-examples p{font-size:14px;line-height:1.8;color:#555;margin:8px 0 12px}
.estimate-examples>div{display:grid;gap:8px}
.estimate-examples button{border:1px solid #ccc;text-align:left;padding:12px;min-height:46px;font:14px/1.6 var(--body)}
.estimate-examples button:hover{background:#f3f3ef}
.estimate-result-item{font-size:15px;color:#444}
.estimate-range{font-size:44px;gap:10px;font-weight:600;letter-spacing:-.015em}
.estimate-price-note,.estimate-basis{font-size:13px;color:#555;line-height:1.8}
.estimate-information{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;margin:24px 0;padding:18px;background:#f3f3ef}
.estimate-information>span{font-size:14px}
.estimate-information strong{font:600 28px/1 var(--display)}
.estimate-information small{font:14px var(--body)}
.estimate-information-track{grid-column:1/-1;display:flex;gap:4px;height:4px}
.estimate-information-track i{background:#d6d6d0;flex:1}.estimate-information-track i.filled{background:#222}
.estimate-information p{grid-column:1/-1;font-size:14px;line-height:1.8;color:#555}
.estimate-review-copy{font-size:15px;padding:18px;line-height:1.9}
.estimate-review-reasons{margin:20px 0}.estimate-review-reasons h4{font-size:15px;margin-bottom:10px}
.estimate-review-reasons ul{padding-left:20px;font-size:14px;color:#444;line-height:1.9}
.estimate-checks summary{font-size:15px;min-height:32px;padding:4px 0}
.estimate-factors dl{margin-top:16px}
.estimate-factors dl>div{padding:13px 0;border-top:1px solid #ddd}
.estimate-factors dt{display:flex;justify-content:space-between;gap:10px;font-size:14px;font-weight:700;line-height:1.7}
.estimate-factors dt span{font-size:13px;color:#555;font-weight:400;text-align:right}
.estimate-factors dd{margin:6px 0 0;font-size:14px;color:#444;line-height:1.85}
.estimate-checks ul{font-size:14px;color:#444;line-height:1.9}
.estimate-back,.estimate-result-actions .text-link,.estimate-direct .text-link{font-size:14px;min-height:44px}
.estimate-direct>span{font-size:14px;color:#555}
.estimate-attached details{border-top:1px solid #ccc;margin-top:12px;padding-top:8px}
.estimate-attached summary{font-size:14px;min-height:40px;padding:8px 0;cursor:pointer}
.estimate-attached pre{font-size:14px;line-height:1.8;margin-top:8px}
@media(min-width:768px){.home-products{padding-top:64px}.member-top-signup{display:none}}
@media(max-width:767px){
 .home-categories{padding-top:30px;padding-bottom:0}.home-categories .section-head{margin-bottom:18px}
 .category-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
 .category-photo-grid>a>span{display:block;padding:12px 0}
 .category-photo-grid b{display:block;font-size:27px}.category-photo-grid small{display:block;margin-top:6px;font-size:14px}
 .home-selection{padding-bottom:40px}.home-selection .section-head{align-items:start;gap:8px;flex-direction:column}
 .selection-layout{grid-template-columns:1fr;gap:24px}.selection-image{height:auto;min-height:0;aspect-ratio:4/3;object-fit:cover}
 .selection-product{grid-template-columns:84px minmax(0,1fr);gap:14px}
 .selection-product strong{font-size:16px}.selection-product small{font-size:14px}
 .member-heading h1{font-size:30px}.member-benefit h2{font-size:22px}.buyback-copy h2{font-size:30px}
 .sell-instant-hero{padding-top:20px;gap:22px}.sell-instant-intro h1{font-size:30px;margin-top:5px}
 .sell-instant-intro .sell-lead{font-size:15px;margin-top:12px}.sell-instant-intro .sell-lead br{display:none}
 .sell-instant-route{margin-top:18px;gap:10px}.sell-instant-route li{font-size:13px}.sell-instant-route span{font-size:12px;margin-bottom:4px}
 .instant-card{padding:20px;scroll-margin-top:12px}.instant-heading h2{font-size:23px}.instant-heading .section-index{font-size:12px}
 .estimate-demo,.instant-disclosure,.estimate-privacy,.estimate-help,.estimate-price-note,.estimate-basis{font-size:14px}
 .estimate-progress{gap:10px;margin:22px 0}.estimate-progress li,.estimate-progress span{font-size:14px}
 .estimate-step-title{font-size:20px}.estimate-range{font-size:40px;gap:8px;line-height:1.2}
 .estimate-range b{font-size:16px}.estimate-detail-fields{padding:16px;margin:22px 0}
 .estimate-examples button{font-size:15px}.estimate-factors dt span{font-size:14px}
 .estimate-information{padding:16px}.estimate-review-copy{font-size:16px}
}
@media(max-width:359px){.instant-card{padding:16px}.estimate-range{font-size:34px;gap:6px}.instant-heading{gap:8px}.instant-heading h2{font-size:21px}.estimate-demo{font-size:13px;padding:5px}.estimate-categories span{font-size:14px}.estimate-factors dt{flex-wrap:wrap}.category-photo-grid small{font-size:14px}}
.hero .hero-button{background:#111;color:#fff;border-color:#111}

/* V15: shorter buyback input and a direct consultation handoff. */
.instant-heading .section-index{display:none}
.instant-disclosure{margin:14px 0 0;padding:10px 12px;line-height:1.7}
.estimate-progress{margin:18px 0}.estimate-progress li{display:flex;flex-direction:row;gap:7px;align-items:center;padding-bottom:10px}.estimate-progress span{margin:0}
.estimate-item-buttons{display:grid;gap:10px;margin-top:18px}
.estimate-item-buttons button{min-height:58px;border:1px solid #b6b6b1;padding:14px 16px;background:#fff;text-align:left;font:700 16px/1.6 var(--body);cursor:pointer;overflow-wrap:anywhere}
.estimate-item-buttons button:hover,.estimate-item-buttons button:focus-visible{background:#111;color:#fff}
.estimate-unknown{display:block;width:100%;min-height:64px;padding:14px 16px;margin-top:18px;border:1px solid #b6b6b1;background:#f4f4f0;text-align:left;font:700 15px/1.6 var(--body);cursor:pointer}
.estimate-unknown span{display:block;font-size:14px;font-weight:400;margin-top:4px;color:#555}
.estimate-item-buttons button:focus-visible,.estimate-unknown:focus-visible,.estimate-skip:focus-visible{outline:2px solid #111;outline-offset:3px}
.estimate-optionals{border-top:1px solid #ccc;border-bottom:1px solid #ccc;margin:18px 0 22px}
.estimate-optionals summary,.sell-flow-details>summary,.consult-text-details>summary,.consult-photo-start details>summary{min-height:48px;padding:12px 0;font-size:15px;line-height:1.7;cursor:pointer}
.estimate-optionals>div{padding:10px 0 0}.estimate-optionals .estimate-select{margin-bottom:18px}
.estimate-skip{display:block;min-height:48px;width:100%;font:15px/1.7 var(--body);text-decoration:underline;text-underline-offset:4px;margin-top:10px}
.estimate-result>.button{margin-top:16px}.estimate-review-copy{margin:14px 0 8px;padding:14px}
.estimate-factors{margin-top:18px}.estimate-information{margin:12px 0}
.sell-simple-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:20px 0 28px}
.sell-simple-flow li{border-top:1px solid #aaa;padding:18px 0;min-width:0}.sell-simple-flow span{font:600 24px/1 var(--display)}
.sell-simple-flow h3{font-size:18px;margin:12px 0 7px}.sell-simple-flow p{font-size:15px;line-height:1.8;color:#555}
.sell-flow-details{border-top:1px solid #ccc;border-bottom:1px solid #ccc}.sell-flow-details[open]>summary{margin-bottom:18px}
.consult-ready-title{font-size:20px;line-height:1.6;margin:16px 0 8px}.consult-text-details{border-bottom:1px solid #ccc;margin:12px 0 24px}
.consult-photo-start>h3{font-size:18px}.consult-photo-start>ol{padding:0;list-style:none;margin:16px 0}
.consult-photo-start>ol>li{display:flex;gap:16px;margin-bottom:18px}.consult-photo-start>ol>li>span{font:600 24px/1.3 var(--display)}
.consult-photo-start strong{font-size:16px}.consult-photo-start p{font-size:14px;color:#555;line-height:1.8;margin:5px 0}
.consult-photo-start details{border-top:1px solid #ccc;margin-top:16px}
@media(max-width:767px){
 .sell-instant-hero{padding-top:16px;gap:18px}.sell-instant-intro h1{font-size:28px;margin:0}.sell-instant-intro .sell-lead{font-size:14px;line-height:1.7;margin:8px 0 0}
 .instant-card{padding:16px}.instant-heading{margin-bottom:0}.instant-heading h2{font-size:21px}
 .instant-disclosure{font-size:14px}.estimate-step-title{font-size:20px}.estimate-progress li,.estimate-progress span{font-size:14px}
 .estimate-categories{gap:8px}.estimate-item-buttons{margin-top:14px}.estimate-conditions{margin-top:18px}
 .estimate-conditions label{min-height:50px}.estimate-detail-fields{margin:16px 0;padding:14px}
 .estimate-unknown{font-size:15px}.estimate-optionals summary{font-size:14px}.estimate-select select{font-size:16px}
 .sell-simple-flow{grid-template-columns:1fr;gap:0;margin-bottom:16px}.sell-simple-flow li{position:relative;padding:16px 0 16px 38px}.sell-simple-flow span{position:absolute;left:0;top:18px}.sell-simple-flow h3{margin:0 0 4px;font-size:17px}
 .sell-subnav{margin-bottom:0}.sell-dock>span{font-size:14px;line-height:1.6}
 #main .sell-dock .button{font-size:15px;min-height:50px;padding:10px 12px}
 #panel .consult-ready-title{font-size:20px}#panel .consult-photo-start>h3{font-size:18px}
}
@media(max-width:359px){.estimate-categories span{font-size:14px}.estimate-progress{gap:7px}.estimate-progress li{gap:4px}.estimate-progress span{display:none}}

.consult-optionals{margin:16px 0 24px;border-top:1px solid #ccc;border-bottom:1px solid #ccc}.consult-optionals>summary{font-size:15px;line-height:1.7;min-height:48px;padding:12px 0;cursor:pointer}.consult-optionals>.dialog-field{margin-top:14px}

/* V16: 商品名入力と比較しやすい商品候補 */
.estimate-search-label{display:block;font-size:15px;font-weight:700;margin:22px 0 8px}
#estimate-item-search{display:block;width:100%;min-width:0;min-height:54px;padding:12px 14px;border:1px solid #9b9b95;background:#fff;border-radius:0;font:16px/1.5 var(--body);color:#111;appearance:none}
#estimate-item-search:focus-visible{outline:2px solid #111;outline-offset:3px}
#estimate-item-search::placeholder{color:#6b6b65;opacity:1}
.estimate-custom-submit{margin:14px 0 4px}
.estimate-custom-submit[hidden]{display:none}
.estimate-match-count{font-size:14px;color:#555;margin:20px 0 10px}
.estimate-item-buttons{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0;gap:8px}
.estimate-item-buttons button{font-size:14px;min-height:72px;padding:11px 12px;line-height:1.65}
.estimate-search-edit{font:16px/1.6 var(--body);padding:12px;border:1px solid #999;min-width:0;width:100%}
@media(max-width:359px){.estimate-item-buttons{grid-template-columns:1fr}.estimate-item-buttons button{min-height:48px}.estimate-search-label{font-size:15px}}

/* V17: 小さい画面でもヘッダーの操作領域を確保 */
@media(max-width:767px){.header .icon-button,.header [data-action="cart"]{width:44px;height:44px}.header [data-action="search"]{right:52px}}
@media(max-width:359px){.header>.wordmark{left:46%}}
