/* Keep the original theme while making CMS content fit on phones. */
#maximg img { max-width: 100%; height: auto; }
#maximg { overflow-wrap: anywhere; }
#maximg p, #maximg span { white-space: normal !important; text-wrap: wrap !important; }
#maximg table { max-width: 100%; }
.banner_pc .swiper-slide img, .banner_phone .swiper-slide img { display: block; width: 100%; height: auto; }
.foot .lianxi_liuyan .left { box-sizing: border-box; width: 100%; padding-right: 0; margin-right: 0; }
.shouji_top { background: #fff; }
.news_list .text:empty { display: none; }
.pagess .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.pagess .pagination li a, .pagess .pagination li span { display: block; padding: 8px 12px; border: 1px solid #ddd; }
.pagess .pagination li.active span { background: #015baa; color: #fff; border-color: #015baa; }
@media (max-width: 640px) {
  body { padding-bottom: 45px; }
  .shouji_top .logo { position: absolute; left: 52px; top: 50%; transform: translateY(-50%); width: calc(100% - 62px); height: auto; max-height: 48px; object-fit: contain; }
  .dibu { left: 0; right: 0; }
  #maximg { overflow-x: auto; }
  .single_html .center { width: 100%; }
}
