/* Original desktop layout; preserve the prior narrow-window corrections. */
@media(max-width:1199px){
/* Keep contact details readable independently of the page's rem scale. */
footer .foot-navbar{flex-wrap:wrap;gap:4px 12px;margin-bottom:28px}
footer .foot-navbar .nav-item{flex:1 0 auto;font-size:16px;line-height:1.5;padding:20px 8px;white-space:nowrap}
footer .foot-body{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(150px,.6fr) minmax(0,2.65fr);gap:clamp(24px,3vw,56px);align-items:center}
footer .foot-body .logo{width:100%;max-width:240px;margin:0;padding:12px 24px 12px 0}
footer .foot-body .logo img{display:block;width:100%;height:auto}
footer .foot-body .foot-qr{width:auto;min-width:0;padding:12px 24px 12px 0}
footer .foot-body .foot-qr p{font-size:18px;line-height:1.5;margin-bottom:16px}
footer .foot-body .foot-qr img{width:150px;max-width:100%;height:auto}
footer .foot-body .foot-contact{width:100%;min-width:0;padding:0}
footer .foot-body .foot-contact .content{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:28px 24px;align-items:start;padding:12px 0}
footer .foot-body .foot-item,footer .foot-body .foot-item:nth-child(2n){width:auto;min-width:0;margin:0;align-items:flex-start}
footer .foot-body .foot-item:nth-child(2)~.foot-item{margin-top:0}
footer .foot-body .foot-item .icon{width:28px;margin-right:16px;padding-top:4px}
footer .foot-body .foot-item .icon img{display:block;width:100%;height:auto}
footer .foot-body .foot-item .info{flex:1;min-width:0}
footer .foot-body .foot-item .info p,footer .foot-body .foot-item:nth-child(2) .info p{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
footer .foot-body .foot-item .info strong{display:block;font-size:clamp(22px,1.6vw,30px);line-height:1.35;white-space:nowrap;overflow-wrap:normal;word-break:normal}
footer .foot-body .footer-numbers strong+strong{margin-top:8px}
footer .foot-copyright{font-size:14px;overflow-wrap:anywhere}
}
@media(max-width:1199px){
  footer .foot-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
  footer .foot-body .logo{justify-self:center;padding-right:0;border-right:0;max-width:210px}
  footer .foot-body .foot-qr{border-right:0;padding:0}
  footer .foot-body .foot-contact{grid-column:1/-1}
  footer .foot-body .foot-contact .content{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 0}
}
@media(max-width:767px){
  /* Match the menu and scale breakpoint; the source used 749px. */
  .m-hide{display:none!important}.pc-hide{display:block!important}
  footer{padding-top:24px}
  footer .foot-navbar{gap:0;margin-bottom:24px;padding-bottom:12px}
  footer .foot-navbar .nav-item{flex:0 0 33.333%;width:auto;min-width:0;padding:9px 4px;font-size:14px}
  footer .foot-body{grid-template-columns:1fr;gap:20px}
  footer .foot-body .logo{width:180px;max-width:100%;margin:0;padding:0}
  footer .foot-body .foot-qr{display:none}
  footer .foot-body .foot-contact .content{grid-template-columns:1fr;gap:24px;padding:0}
  footer .foot-body .foot-item .icon{width:24px;margin-right:14px}
  footer .foot-body .foot-item .info p,footer .foot-body .foot-item:nth-child(2) .info p{font-size:14px}
  footer .foot-body .foot-item .info strong{font-size:22px}
  footer .foot-copyright{margin-top:24px;padding:20px 0;font-size:12px;line-height:1.8}
}
@media(min-width:768px){.pc-hide{display:none!important}}
@media(min-width:768px) and (max-width:1199px){footer>.mxw-box{padding-right:64px}}

@media(max-width:767px){
 .footer3 ul li a{display:flex;align-items:center;justify-content:center;gap:5px;min-height:50px}
 .footer3 ul li .iconfont{line-height:1;height:auto;margin-right:0}
}

@media(min-width:1200px){
 footer .foot-body .foot-item .info strong{white-space:nowrap}
 footer .foot-body .footer-numbers strong+strong{margin-top:1em}
}
