/* Scope: HUB Japanese homepage, below the original hero. No hero overrides. */
body.hub-native-home.home{
 --rhhp-content-width:none;
 --rhhp-gutter:clamp(24px,3vw,64px);
 --rhhp-section-space:80px;
}
body.hub-native-home.home .scroll-container>.section-conts>.section-conts-inner{
 box-sizing:border-box;width:100%;max-width:var(--rhhp-content-width);
 margin-left:auto;margin-right:auto;padding:var(--rhhp-section-space) var(--rhhp-gutter);
}
/* The estate stage keeps its full-width background; its content uses the common edges. */
body.hub-native-home.home #res-home-estates{box-sizing:border-box;width:100%;max-width:none;padding:var(--rhhp-section-space) 0!important}
body.hub-native-home.home #res-home-estates>.res-home-content{
 box-sizing:border-box;width:100%;max-width:var(--rhhp-content-width);margin-left:auto;margin-right:auto;padding:0 var(--rhhp-gutter);min-width:0;
}
/* Native vertical layout: stop the old fixed-width ranking panel wrapping on its own. */
body.hub-native-home.home #agent.section-conts>.section-conts-inner{
 display:grid;grid-template-columns:minmax(230px,.9fr) minmax(0,1.2fr) minmax(300px,1fr);
 column-gap:32px;row-gap:32px;align-items:start;justify-content:normal;
}
body.hub-native-home.home #agent.section-conts>.section-conts-inner>.section-conts-block{
 box-sizing:border-box;min-width:0;max-width:100%;width:100%;height:auto;padding:0;flex:initial;
}
body.hub-native-home.home #agent.section-conts>.section-conts-inner>.remar-hub-ranking-block{
 box-sizing:border-box;min-width:0;max-width:100%;width:100%;height:auto;padding:0;flex:initial;
}
body.hub-native-home.home #agent .remar-hub-ranking-block>.remar{
 width:100%;max-width:none;max-height:none;margin:0;overflow:visible;
}
body.hub-native-home.home #agent .section-conts-block>.member-list-slider{width:100%;min-width:0;max-width:100%}
@media(min-width:768px) and (max-width:1199px){
 body.hub-native-home.home #agent.section-conts>.section-conts-inner{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.hub-native-home.home #agent.section-conts>.section-conts-inner>.section-conts-block:first-child{grid-column:1/-1}
}
@media(max-width:767px){
 body.hub-native-home.home{--rhhp-gutter:20px;--rhhp-section-space:54px}
 body.hub-native-home.home #agent.section-conts>.section-conts-inner{grid-template-columns:minmax(0,1fr);gap:30px}
 body.hub-native-home.home #agent.section-conts>.section-conts-inner>.section-conts-block:first-child{grid-column:auto}
 body.hub-native-home.home #agent .remar-hub-ranking-block>.remar{width:100%;margin:0}
}

/* The original desktop mosaic used width:calc(150vh - 210px), exceeding its column.
   Keep its five links, SVG backdrop and original 4x3 tile placement inside the parent. */
body.hub-native-home.home #service .service-list-wrap{
 box-sizing:border-box;position:relative;width:100%;max-width:100%;min-width:0;
 height:auto;min-height:0;aspect-ratio:3/2;padding:0;margin:0;
}
body.hub-native-home.home #service .service-list{
 box-sizing:border-box;position:absolute;inset:0;width:100%;max-width:100%;height:100%;min-width:0;
 padding:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));
}
body.hub-native-home.home #service .service-list>li{box-sizing:border-box;min-width:0;min-height:0}
body.hub-native-home.home #service .service-list>li>a{box-sizing:border-box;min-width:0;min-height:0}
body.hub-native-home.home #service .service-list>li>a .text{font-size:clamp(16px,1.3vw,24px);max-width:calc(100% - 20px)}
@media(max-width:767px){
 body.hub-native-home.home #service .service-list>li>a .text{font-size:clamp(12px,3.6vw,18px);max-width:calc(100% - 10px)}
}
