/* Construction-case pages. All new styles are scoped to case components. */
.sf-cases{color:#40536a;font-family:"Noto Sans JP",sans-serif;overflow:clip}
.sf-cases *{box-sizing:border-box}
.case-width{width:calc(100% - 40px);max-width:1087px;margin-left:auto;margin-right:auto}
.case-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;padding:14px 0;color:#6b7c88}
.case-hero{padding:28px 0 24px;background-image:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.84) 46%,rgba(255,255,255,.8) 62%,transparent),var(--case-hero);background-size:cover;background-position:center;min-height:256px}
.case-eyebrow{color:#02a995;font-size:14px;font-weight:700;line-height:1.6}
.case-hero h1{font-size:40px;line-height:1.3;margin:12px 0;font-weight:700}
.case-hero h1 span{color:#02a995}
.case-hero-description{font-size:16px;line-height:27px;max-width:720px}
.case-filters{display:grid;grid-template-columns:1fr 1fr 255px;gap:12px;align-items:end;padding:16px 0 20px}
.case-service-field,.case-region-field{font-size:12px;font-weight:700;min-width:0}
.case-filters select,.case-filter-trigger{display:block;width:100%;height:48px;margin-top:6px;border:1px solid #b4b4b4;border-radius:5px;background:white url(../images/case-pages/select-arrow.png) no-repeat right 17px center;background-size:14px 11px;color:#40536a;padding:0 40px 0 48px;font:700 16px "Noto Sans JP",sans-serif;appearance:none}
.case-service-field,.case-region-field{position:relative}
.case-service-field:after,.case-region-field:after{content:"";position:absolute;left:18px;bottom:14px;width:21px;height:20px;background:url(../images/case-pages/service-icon.png) no-repeat center/contain;pointer-events:none}
.case-region-field:after{width:14px;left:21px;background-image:url(../images/case-pages/location-icon.png)}
.case-button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 30px 10px 10px;border:0;border-radius:10px;background:#00afec;color:white!important;font-weight:700;font-size:14px;line-height:20px;text-align:center;text-decoration:none;position:relative;cursor:pointer}
.case-button:after{content:"";width:14px;height:16px;position:absolute;right:11px;top:calc(50% - 8px);background:url(../images/ranking/right-arrow-circle-white.svg) no-repeat center/contain}
.case-filters .case-button{height:48px;font-size:16px;padding:10px}
.case-filters .case-button:after{display:none}
.case-button-yellow{background:#fdbe2c}
.case-results{padding:28px 0 16px}
.case-count{font-size:14px;line-height:22px;margin-bottom:24px}
.case-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.case-card{border:1px solid #e0e0e0;border-radius:10px;background:#fff;overflow:hidden;min-width:0;position:relative;display:flex;flex-direction:column}
.case-card-photos{height:230px;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.case-card-photos::-webkit-scrollbar{display:none}
.case-card-photos>a{flex:0 0 100%;scroll-snap-align:start;min-width:0}
.case-card-photos img{width:100%;height:230px;object-fit:cover;display:block}
.case-no-photo{display:flex;align-items:center;justify-content:center;background:#f1faff;color:#6b7c88;width:100%;height:100%;min-height:150px}
.case-photo-dots{position:absolute;left:50%;top:200px;transform:translateX(-50%);display:flex;padding:5px 6px;gap:4px;background:white;border-radius:20px}
.case-photo-dots button{border:0;padding:0;width:6px;height:6px;border-radius:50%;background:#b8e8e2;cursor:pointer}
.case-photo-dots button[aria-current=true]{background:#02a995}
.case-card-content{padding:14px 16px 14px;text-align:center}
.case-card h2{font-size:18px;line-height:26px;font-weight:700;height:52px;display:flex;align-items:center;justify-content:center;margin:0 0 4px}
.case-card h2 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#40536a}
.case-meta{font-size:11px;line-height:18px;color:#6b7c88;min-height:18px}
.case-price{font-size:14px;line-height:22px;font-weight:700;min-height:22px;margin-top:4px;overflow-wrap:anywhere}
.case-vendor{font-size:14px;line-height:22px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px}
.case-rating{display:flex;justify-content:center;align-items:center;gap:6px;line-height:22px;margin-top:2px}
.case-rating strong{font-size:18px;color:#f76969}
.case-rating a{font-size:11px;text-decoration:none;color:#00afec}
.case-stars{display:block;width:86px;height:13.36px;background:#dedede;position:relative;}
.case-stars>span{display:block;height:100%;background:#fdbe2c}
.case-card-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 14px 16px;margin-top:auto}
.case-card-buttons .case-button{font-size:12.5px;white-space:nowrap;padding-left:9px}
.case-more-wrap{text-align:center;margin-top:24px;font-size:12px;color:#6b7c88}
.case-more{display:flex;align-items:center;justify-content:center;border:1px solid #00afec;color:#00afec;border-radius:30px;min-height:46px;max-width:320px;margin:12px auto 0;font-size:14px;font-weight:700;cursor:pointer}
.case-more[aria-disabled=true]{opacity:.6;cursor:wait}
.case-load-error{color:#b33;margin-top:8px}
.case-traders{text-align:center;padding:12px 0 16px}
.case-traders p{font-size:12px;line-height:22px;margin-bottom:8px}
.case-traders .case-button{width:400px;max-width:100%;margin:auto}
.case-empty{padding:30px 15px;background:#f1faff;line-height:1.8;border-radius:10px}
.case-section-title{font-size:32px;line-height:1.4;font-weight:700;text-align:center;margin:0 0 32px;padding-bottom:28px;background:url(../images/common/icon-title.svg) bottom center no-repeat}
.case-reviews{padding:24px 0 40px}
.case-review-track{display:flex;overflow-x:auto;gap:20px;scroll-snap-type:x mandatory;padding:2px}
.case-hub-categories,.case-hub-latest,.case-other-categories{padding:40px 0}
.case-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:20px 0}
.case-category-grid a{border-radius:10px;box-shadow:0 0 5px #0003;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-end;min-width:0;background:white}
.case-category-grid img{width:100%;height:80px;object-fit:cover}
.case-category-grid span{display:flex;justify-content:center;align-items:center;min-height:42px;padding:5px;font-size:14px;line-height:1.3;font-weight:700;text-align:center;color:#40536a}
.case-small-categories{grid-template-columns:repeat(5,minmax(0,1fr))}
.case-category-dialog,.case-lightbox{border:0;border-radius:12px;padding:32px;width:900px;max-width:calc(100% - 30px);max-height:85vh;overflow:auto;color:#40536a}
.case-category-dialog::backdrop,.case-lightbox::backdrop{background:#0009}
.case-category-dialog h2{font-size:24px;font-weight:700;text-align:center;padding:0 24px}
.case-dialog-close{position:absolute;top:8px;right:12px;border:0;background:white;color:#40536a;font-size:30px;cursor:pointer}
.case-category-dialog>.case-button{max-width:400px;margin:auto}
.case-detail-heading{padding:20px 0 28px}
.case-detail-heading h1{font-size:30px;font-weight:700;line-height:1.5;margin:8px 0}
.case-detail-heading>p:last-child{font-size:14px;color:#6b7c88}
.case-detail-top{display:grid;grid-template-columns:620fr 439fr;gap:28px;align-items:start}
.case-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;height:360px;background:#f1faff}
.case-gallery-track>a{flex:0 0 100%;min-width:0;scroll-snap-align:start}
.case-gallery-track img{width:100%;height:100%;object-fit:cover;display:block}
.case-gallery-thumbs{display:flex;gap:10px;align-items:flex-start;overflow-x:auto;margin:12px 0}
.case-gallery-thumbs button{padding:0;border:2px solid transparent;border-radius:4px;background:white;flex:0 0 96px;height:74px;overflow:hidden;cursor:pointer}
.case-gallery-thumbs button[aria-current=true]{border-color:#02a995}
.case-gallery-thumbs img{width:100%;height:100%;object-fit:cover}
.case-gallery-thumbs span{font-size:12px;color:#6b7c88;white-space:nowrap}
.case-enlarge{font-size:14px;font-weight:700;color:#02a995}
.case-summary{border:1px solid #e0e0e0;border-radius:10px;padding:20px}
.case-summary-price{font-size:32px;line-height:1.5;font-weight:700;margin:14px 0;overflow-wrap:anywhere}
.case-summary dl{display:grid;grid-template-columns:85px 1fr;gap:14px 4px;font-size:13px;margin:20px 0}
.case-summary dt{color:#6b7c88}
.case-summary dd{font-weight:700}
.case-contact{display:flex;gap:8px;margin-top:16px}
.case-contact a{flex:1}
.case-contact a:after{display:none}
.case-contact a{padding:10px;font-size:14px;min-height:48px}
.case-phone{background:#ff7a00}
.case-mail{background:#ec484b}
.case-phone:before,.case-mail:before{content:"";width:21px;height:21px;background:url(../images/case-pages/phone.svg) center/contain no-repeat;margin-right:5px}
.case-mail:before{background-image:url(../images/case-pages/mail.svg)}
.case-detail-body{display:grid;grid-template-columns:342fr 713fr;gap:32px;padding:36px 0}
.case-detail-body>aside>h2{font-size:18px;font-weight:700;margin-bottom:14px}
.case-info{border:1px solid #dedede;border-radius:6px;overflow:hidden;font-size:13px;line-height:1.8}
.case-info>div{display:grid;grid-template-columns:112px 1fr;border-bottom:1px solid #dedede;min-height:46px}
.case-info>div:last-child{border-bottom:0}
.case-info dt{background:#f1faff;font-weight:700;padding:12px}
.case-info dd{padding:12px;overflow-wrap:anywhere}
.case-story{font-size:16px;line-height:30px;min-width:0}
.case-story>h2{font-size:20px;font-weight:700;background:#f1f6f8;border-left:4px solid #00afec;padding:16px 20px;margin-bottom:18px}
.case-story-content p{margin:0 0 1em}
.case-story-content img{max-width:100%;height:auto}
.case-voice,.case-comment{padding:24px;border-radius:10px;border:1px solid #ffd153;background:#fffde1;margin-top:28px}
.case-comment{border-color:#c2e4f2;background:#f1faff}
.case-story h3{font-weight:700;margin-bottom:12px}
.case-story small{font-size:12px;font-weight:400;margin-left:8px}
.case-provider{padding:32px 0}
.case-provider-top{display:flex;gap:24px;align-items:center;margin-bottom:24px}
.case-provider-top img{width:240px;height:150px;object-fit:contain}
.case-provider h3{font-size:24px;font-weight:700}
.case-provider .case-info>div{grid-template-columns:200px 1fr}
.case-provider>.case-button{max-width:400px;margin:24px auto 0}
.case-provider>.case-contact{max-width:600px;margin:16px auto}
.case-related{padding:24px 0 50px}
.case-lightbox{background:#fff;padding:40px 15px 15px;text-align:center}
.case-lightbox img{max-width:100%;max-height:75vh;object-fit:contain}
.case-card[hidden],.case-more[hidden]{display:none!important}
.case-entry-link{max-width:400px;margin:24px auto;text-align:center}
.case-entry-link a{display:block;border:1px solid #00afec;color:#00afec;background:white;border-radius:10px;padding:14px;font-weight:700}
.rankingService .titleTab:has(.case-tab) li{width:33.333%;min-width:0;flex:1 1 0}
.rankingService .titleTab:has(.case-tab) .serviceTitle{font-size:20px}
.case-tab{font:inherit;border:0;background:transparent;color:inherit;width:100%;cursor:pointer}
.rankingService .serviceList.case-entry-list.active{display:block}
@media(max-width:767px){
.case-width{width:calc(100% - 30px)}
.case-breadcrumb{font-size:10px;padding:12px 0;gap:5px}
.case-hero{padding:20px;min-height:247px;background-position:60% center}
.case-hero .case-width{width:100%}
.case-hero h1{font-size:28px;line-height:1.3;margin:10px 0}
.case-eyebrow{font-size:12px}
.case-hero-description{font-size:14px;line-height:23px}
.case-hero-description br{display:none}
.case-filters{grid-template-columns:1fr;gap:12px;padding:16px 0 20px}
.case-filters .case-button{margin-top:4px}
.case-results{padding-top:20px}
.case-count{font-size:12px;margin-bottom:20px}
.case-grid{grid-template-columns:1fr;gap:20px}
.case-card-photos,.case-card-photos img{height:150px}
.case-photo-dots{top:120px}
.case-card h2{font-size:18px}
.case-more{max-width:280px}
.case-traders .case-button{width:100%;font-size:13px}
.case-section-title{font-size:22px;padding-bottom:22px;margin-bottom:24px}
.case-reviews{padding:24px 0 32px}
.case-category-grid,.case-small-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.case-category-grid img{height:74px}
.case-category-grid span{font-size:12px;min-height:36px}
.case-other-categories,.case-hub-categories,.case-hub-latest{padding:28px 0}
.case-category-dialog{padding:32px 15px 20px}
.case-category-dialog h2{font-size:20px;padding:0 20px}
.case-detail-heading{padding:16px 0 22px}
.case-detail-heading h1{font-size:22px;line-height:1.5}
.case-detail-top,.case-detail-body{grid-template-columns:1fr;gap:24px}
.case-gallery-track{height:240px}
.case-gallery-thumbs{gap:8px}
.case-gallery-thumbs button{flex-basis:70px;height:54px}
.case-summary{padding:16px}
.case-summary-price{font-size:28px}
.case-detail-body{padding:28px 0}
.case-story{font-size:14px;line-height:26px}
.case-story>h2{font-size:18px;padding:14px}
.case-voice,.case-comment{padding:18px}
.case-info{font-size:12px}
.case-info>div{grid-template-columns:112px 1fr}
.case-provider-top{gap:14px}
.case-provider-top img{width:120px;height:100px}
.case-provider h3{font-size:20px}
.case-provider .case-info>div{grid-template-columns:112px 1fr}
.case-provider .case-rating{flex-wrap:wrap;justify-content:flex-start}
.case-provider .case-contact a{font-size:13px}
.rankingService .titleTab .serviceTitle{font-size:12px!important;line-height:1.5}
}

.case-stars:after{content:"";position:absolute;inset:0;background:url(../images/common/icon-star.svg) center/100% 100% no-repeat}
.case-phone{background:#ff6e01}
.case-section-title{background-size:146px auto}
/* Existing review-item-new markup and common.css provide the card design. */
.case-reviews.areaReview{margin-bottom:0}
.case-reviews .reviewWrap{width:100%;margin:0}
.case-review-track{align-items:flex-start}
.case-reviews .case-review-track>.itemReviewNew{flex:0 0 calc((100% - 40px)/3);min-width:0;margin:0}
.case-reviews .itemReviewNew .boxInfoTop{flex-wrap:wrap;margin-bottom:10px}
.case-reviews .itemReviewNew .boxInfoTop .titleInfoTop{width:100%;margin-bottom:10px}
.case-reviews .itemReviewNew .reviewTxt{overflow-wrap:anywhere}
.case-reviews .reviewTxt.case-review-disclosed{white-space:pre-line}
.case-reviews .reviewTxt .reviewMore{color:#00afec;margin-left:10px;white-space:nowrap}
.case-reviews .itemReviewNew .boxFiveRating .boxRating{width:100%;min-width:0;margin:0 0 8px}
.case-reviews.areaReview .reviewCtn .reviewFrame{flex-direction:column}
.case-reviews.areaReview .itemReviewNew .reviewCtn .reviewFrame .reviewInfo{width:100%;min-width:0}
.case-reviews .itemReviewNew .mediaWrapper{width:100%;margin-top:12px}
.case-reviews .itemReviewNew .mediaSlider{max-width:100%}
.case-reviews .itemReviewNew .listInfoTop{flex-wrap:wrap}
.case-reviews .itemReviewNew .listInfoTop .infoCnt{max-width:100%}
/* Match the existing vendor favorite button; favorite-script.js owns its behavior. */
.case-favorite{display:flex;align-items:center;gap:10px;margin-top:14px}
.case-favorite-label{font-size:12px}
.case-favorite .concernBtn{display:flex;margin:0}
.case-favorite .concernBtn a{position:relative;display:flex;align-items:center;height:28px;width:auto;padding:6px 10px 5px;border:1px solid #f76969;border-radius:7px;color:#f76969;font-size:10px;text-decoration:none}
.case-favorite .favoriteButtonWrap{display:flex;width:34px;align-items:center}
.case-favorite .favoriteImage{display:flex;align-items:center}
.case-favorite .favoriteImage img{width:18px;height:18px}
.case-favorite .favoriteImage .white{display:none}
.case-favorite .favoriteCount{font-size:18px;margin-left:5px;padding-bottom:2px}
.case-favorite .active a{background:#f76969;color:#fff}
.case-favorite .active .pink{display:none}
.case-favorite .active .white{display:block}
.case-favorite a.loading:before{content:"";position:absolute;inset:0;background:white url(../images/trader-detail/loading.gif) center/contain no-repeat;border-radius:7px;z-index:1}
/* Shared vendor-contact-simple-cta in the fixed bottom position. */
body:has(.case-fixed-contact){padding-bottom:var(--case-contact-height,120px)}
.case-fixed-contact{position:fixed;bottom:0;left:0;right:0;z-index:90;background:#fff3ea;padding:29px 0 max(13px,env(safe-area-inset-bottom));color:#40536a}
.case-fixed-contact .case-width{max-width:1027px}
.case-fixed-contact .ctaNote{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);max-width:calc(100% - 6px);margin:0;border-radius:9px;background:#00afec;color:#fff;padding:4px 28px 9px;font-size:14px;font-weight:700;line-height:14px;letter-spacing:.36px;text-align:center;white-space:nowrap}
.case-fixed-contact .ctaNote:after{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%,-9px);border-left:10px solid transparent;border-right:10px solid transparent;border-top:18px solid #00afec}
.case-fixed-contact .contactCtaWrap{min-height:67px;display:flex;justify-content:center;align-items:stretch;gap:18px}
.case-fixed-contact .contactCtaWrap>p{flex:1;min-width:0;max-width:304px;margin:0}
.case-fixed-contact .contactCtaWrap>.contactPhone{max-width:349px;flex:1.15}
.case-fixed-contact .contactCtaWrap>.contactMailBtn{max-width:296px}
.case-fixed-contact .contactCtaWrap a{position:relative;display:flex;justify-content:center;align-items:center;gap:8px;min-height:67px;border-radius:10px;color:#fff;font-size:18px;font-weight:700;padding:12px 20px;text-align:center;text-decoration:none}
.case-fixed-contact .contactPhone a{min-height:60px;padding:0;color:#ff6e01;background:transparent;justify-content:flex-start;margin-top:-13px}
.case-fixed-contact .numberPhone.pc{font-size:41px;line-height:60px;letter-spacing:.7px;white-space:nowrap;padding-left:38px;background:url(../images/common/icon-phone-orange.svg) left 13.5px/33px 33px no-repeat}
.case-fixed-contact .openTime{display:block;white-space:normal;font-size:16px;line-height:24px;letter-spacing:0;margin-top:-6px}
.case-fixed-contact .contactMailBtn a{background:#ef4646;padding-left:48px;padding-right:32px;white-space:nowrap}
.case-fixed-contact .contactMailBtn a:before{content:"";position:absolute;left:18px;top:50%;transform:translateY(-50%);width:28px;height:22px;background:url(../images/common/icon-mail-new.svg) center/contain no-repeat}
.case-fixed-contact .contactMailBtn a:after{content:"";position:absolute;right:18px;top:50%;transform:translateY(-50%);width:11px;height:19px;background:url(../images/common/icon-arrow-white.png) center/contain no-repeat}
.case-fixed-contact .appBtn a{background:#20b9ee;padding:12px 34px 12px 18px;white-space:nowrap;font-size:18px}
.case-fixed-contact .case-cta-app-icon{width:31px;height:31px;flex:none}
.case-fixed-contact .appBtn a:after{content:"";position:absolute;right:12px;top:50%;transform:translateY(-50%);width:24px;height:27px;background:url(../images/common/external-link-icon.svg) center/contain no-repeat}
.case-fixed-contact .case-cta-app-banner{position:absolute;top:-16px;left:5%;width:90%;height:26px}
.case-fixed-contact .case-cta-app-banner img{width:100%;height:auto;display:block}
@media(min-width:769px){.case-fixed-contact .openTime{text-align:left}}
@media(min-width:1101px){.case-fixed-contact .contactCtaWrap{padding-left:36px;padding-right:13px}}
@media(min-width:769px) and (max-width:1100px){
.case-fixed-contact .numberPhone.pc{font-size:30px;letter-spacing:0}
.case-fixed-contact .contactCtaWrap{gap:12px}
.case-fixed-contact .contactMailBtn a{font-size:14px}
.case-fixed-contact .appBtn a{font-size:12px;padding-left:12px;padding-right:28px;gap:4px}
.case-fixed-contact .case-cta-app-icon{width:24px;height:24px}
.case-fixed-contact .appBtn a:after{width:18px;height:20px;right:8px}
}
@media(max-width:768px){
.case-fixed-contact{padding:7px 0 max(8px,env(safe-area-inset-bottom))}
.case-fixed-contact .case-width{width:calc(100% - 42px);max-width:550px}
.case-fixed-contact .ctaNote{width:calc(100% - 6px);max-width:369px;padding:4px 5px 9px;font-size:10px;line-height:15px;white-space:normal}
.case-fixed-contact .ctaNote:after{border-left-width:8px;border-right-width:8px;border-top-width:14px;transform:translate(-50%,-7px)}
.case-fixed-contact .contactCtaWrap{gap:11.5px}
.case-fixed-contact .contactCtaWrap>p,.case-fixed-contact .contactCtaWrap>.contactPhone{flex:1;max-width:none}
.case-fixed-contact .contactCtaWrap a{height:72px;min-height:72px;padding:5px;font-size:12px;line-height:18px;flex-direction:column;gap:3px;white-space:normal}
.case-fixed-contact .contactPhone a{background:#ff6e01;color:#fff;justify-content:center;margin-top:0;box-shadow:3px 3px 2px #0000001f}
.case-fixed-contact .case-cta-phone-icon{width:26px;height:26px}
.case-fixed-contact .case-cta-mail-icon{width:28px;height:21px;margin-bottom:8px}
.case-fixed-contact .case-cta-app-icon{width:31px;height:31px;margin-bottom:2px}
.case-fixed-contact .contactMailBtn a:before,.case-fixed-contact .contactMailBtn a:after,.case-fixed-contact .appBtn a:after{display:none}
}
/* Align tab content and underline regardless of button vs span markup. */
.rankingService .titleTab:has(.case-tab){align-items:stretch;margin-bottom:18px}
.rankingService .case-entry-list>.case-category-grid{margin-top:0}
.rankingService .titleTab:has(.case-tab) li{display:flex}
.rankingService .titleTab:has(.case-tab) .serviceTitle{display:flex;align-items:center;justify-content:center;width:100%;height:100%;box-sizing:border-box;line-height:1.5;margin:0}
.case-tab{display:block;line-height:inherit;padding:0}
@media(max-width:768px){.rankingService .titleTab:has(.case-tab){margin-bottom:22px}}
.case-button-yellow:after{background-image:url(../images/case-pages/right-arrow-circle-yellow.svg)}
@media(max-width:767px){
.case-reviews .case-review-track>.itemReviewNew{flex-basis:calc(100% - 35px)}
.case-favorite{flex-wrap:wrap}
}

/* Selection dialogs preserve native-select fallback. */
.case-filter-trigger{text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.case-filter-trigger[hidden],.case-filters select[hidden]{display:none}
.case-region-options{margin-top:20px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.case-region-options button{border:1px solid #dedede;border-radius:6px;background:#fff;color:#40536a;min-height:44px;padding:8px 4px;font:inherit;cursor:pointer}
.case-region-options button[aria-pressed=true]{border-color:#00afec;background:#e8f8fd;font-weight:700}
@media(max-width:767px){
.case-region-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
}

.case-service-options{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px}
@media(max-width:767px){.case-service-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Guide CTA leaves the case page for the current category’s trader listing. */
.sf-cases #areaGuide .case-guide-traders .txtBlockBtn:after{transform:translateY(-50%) rotate(90deg)}

/* Top page case tab on SP: same 3-column card size as the category / ranking tabs (index.css, max-width:768px). */
@media(max-width:768px){
.rankingService .case-entry-list>.case-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 7px}
.rankingService .case-entry-list>.case-category-grid img{height:14.5vw}
.rankingService .case-entry-list>.case-category-grid span{min-height:35px;padding:9px 5px;font-size:11px;line-height:1.2}
}
