/* 2026-11-17 全站移动端与可读性修复（Codex） */
@media (max-width:640px){
  .topbar .wrap{font-size:11px;letter-spacing:0}
  .topbar .wrap > span:last-child{display:none !important}
  .topbar .wrap > span:first-child > span:nth-child(n+2){display:none !important}
  .hero-phone{padding:12px 14px;gap:10px}
  .hero-phone .ico{width:42px;height:42px;font-size:20px;flex-shrink:0}
  .hero-phone .txt b{font-size:19px;letter-spacing:0;line-height:1.3;word-break:break-word}
  .call-bar{padding:6px 10px calc(6px + env(safe-area-inset-bottom))}
  .call-bar a{font-size:15px;padding:11px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;letter-spacing:0}
  body:has(.call-bar){padding-bottom:80px}
}
@media (max-width:600px){
  .product-grid{grid-template-columns:1fr !important;gap:16px}
  .product-img{height:170px}
  .p-it .p-img{height:130px}
}
@media (max-width:420px){
  .prod-grid,.svc-grid{grid-template-columns:1fr !important}
  .hero h1{font-size:29px}
}
.article-body table,.article-content table,.post-content table,.content table,.two-col table{display:block;overflow-x:auto;max-width:100%}
img{max-width:100%}
.hero-phone .txt .tel2{display:block;font-style:normal;font-size:13px;font-weight:600;opacity:.92;margin-top:2px;letter-spacing:.3px}

@media (max-width:960px){
  nav.menu{display:none !important}
  .nav-in{gap:10px}
}
@media (max-width:640px){
  .topbar .r{display:none !important}
  .topbar .l{gap:8px;font-size:11px;flex-wrap:nowrap;overflow:hidden;white-space:nowrap}
  .topbar .l span:nth-child(n+2){display:none !important}
  .brand-hero{padding:40px 0 32px}
  .hero-stat{gap:12px}
  .hero-stat div{min-width:0;padding:10px 14px;flex:1}
}

@media (max-width:640px){
  .logo .txt i{display:none !important}
  .logo{font-size:19px;padding:5px 10px;gap:8px}
  .logo .txt b{font-size:18px}
  .logo .mark{width:30px;height:30px;font-size:17px}
  .nav-tel{padding:9px 12px;font-size:13px}
  .nav-in{height:62px;gap:10px}
}

@media (max-width:760px){
  .grid2,.grid3,.grid4{grid-template-columns:1fr 1fr !important}
}
@media (max-width:480px){
  .grid2,.grid3,.grid4{grid-template-columns:1fr !important}
}

.ri:empty{background:linear-gradient(135deg,#0a4bb0,#3f8cff) !important}
.ri:empty::before{content:"📄";font-size:42px;line-height:1}
