/* Ranking-only visual compatibility layer. No price, H1 text, Q&A answers, or links changed.
 * Desktop title matches the original Rookosusere Core baseline.
 * Mobile title matches its approved v2.1.58 size WITHOUT forced line breaks. */
@media(min-width:681px){
 body .sankaisere-ranking-page > .sankaisere-public-head h1,
 body .sankaisere-ranking-page .sankaisere-public-head__seo-inner h1,
 body .hs-five-ranking-h1{
  font-size:clamp(27px,2.55vw,36px)!important;
  line-height:1.34!important; letter-spacing:-.025em!important;
 }
}
@media(max-width:680px){
 body .sankaisere-ranking-page > .sankaisere-public-head h1,
 body .sankaisere-ranking-page .sankaisere-public-head__seo-inner h1,
 body .hs-five-ranking-h1{
  font-size:clamp(22px,6.6vw,26px)!important;
  line-height:1.36!important; letter-spacing:-.025em!important;
  word-break:normal!important; overflow-wrap:break-word!important;
 }
}
/* Both AREA and Q&A are identified from the original direct-child label.
 * The AREA section on city pages is plain .sankaisere-pref-seo-section,
 * not a .rks-region-related container. Avoid changing other section titles. */
body .sankaisere-pref-seo-sections > .hs-five-footer-section{
 border-top:0!important;border-bottom:0!important;
 box-shadow:none!important;
}
body .sankaisere-pref-seo-sections > .hs-five-footer-section::before,
body .sankaisere-pref-seo-sections > .hs-five-footer-section::after{
 content:none!important; display:none!important;
}
body .hs-five-footer-section > .sankaisere-pref-seo-title,
body .hs-five-footer-section > .sankaisere-pref-seo-title > div{
 display:block!important;width:100%!important;max-width:100%!important;
 margin:0!important;padding:0!important;border:0!important;
 background:transparent!important;background-image:none!important;
 border-radius:0!important;box-shadow:none!important;text-align:left!important;
}
body .hs-five-footer-section > .sankaisere-pref-seo-title{margin-bottom:18px!important}
body .hs-five-footer-section > .sankaisere-pref-seo-title > span:first-child{
 display:none!important;visibility:hidden!important;
}
body .hs-five-footer-section > .sankaisere-pref-seo-title > div > h2{
 display:flex!important;align-items:flex-start!important;gap:9px!important;
 width:100%!important;max-width:100%!important;margin:0!important;
 padding:0!important;border:0!important;background:transparent!important;
 background-image:none!important;box-shadow:none!important;
 color:#644330!important;font-size:clamp(18px,1.75vw,23px)!important;
 font-weight:750!important;line-height:1.48!important;letter-spacing:-.018em!important;
 text-align:left!important;overflow-wrap:anywhere!important;
}
body .hs-five-footer-section > .sankaisere-pref-seo-title > div > h2::before,
body .hs-five-footer-section > .sankaisere-pref-seo-title > div > h2::after{
 content:none!important;display:none!important;
}
body .hs-five-footer-section .hs-five-footer-text,
body .hs-five-footer-section .rks-f251-heading-text{
 display:inline-block!important;flex:1 1 auto!important;min-width:0!important;
}
body .hs-five-footer-section .hs-five-footer-icon,
body .hs-five-footer-section .rks-f251-heading-icon{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:0 0 22px!important;width:22px!important;min-width:22px!important;height:24px!important;
 padding:0!important;margin:3px 0 0!important;background:transparent!important;
 background-image:none!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;color:#187b63!important;
}
body .hs-five-footer-section .hs-five-footer-icon svg,
body .hs-five-footer-section .rks-f251-heading-icon svg{
 display:block!important;width:20px!important;height:20px!important;
 stroke:currentColor!important;stroke-width:1.9!important;fill:none!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;
}
body .hs-five-footer-section > .sankaisere-pref-seo-title > div > p{
 display:block!important;max-width:100%!important;box-sizing:border-box!important;
 margin:5px 0 0!important;padding:0 0 0 31px!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 color:#687e73!important;font-size:12.5px!important;font-weight:400!important;
 line-height:1.65!important;text-align:left!important;
}
/* Keep existing FAQ cards and inner Q/A separators. Only remove the label chips. */
body .sankaisere-regional-faq-layout .rks-region-faq-entry .rks-region-faq-marker{
 background:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}
@media(max-width:680px){
 body .hs-five-footer-section > .sankaisere-pref-seo-title > div > h2{
  gap:8px!important;font-size:clamp(17px,4.5vw,20px)!important;line-height:1.47!important;
 }
 body .hs-five-footer-section .hs-five-footer-icon,
 body .hs-five-footer-section .rks-f251-heading-icon{
  flex-basis:20px!important;min-width:20px!important;width:20px!important;height:22px!important;
  margin-top:2px!important;
 }
 body .hs-five-footer-section .hs-five-footer-icon svg,
 body .hs-five-footer-section .rks-f251-heading-icon svg{width:18px!important;height:18px!important}
 body .hs-five-footer-section > .sankaisere-pref-seo-title > div > p{
  padding-left:28px!important;font-size:11.5px!important;line-height:1.72!important;
 }
}
