@charset "utf-8";

/* ========== 移动端适配 (≤768px) ========== */
@media screen and (max-width: 768px) {

  body {
    overflow-x: hidden;
    font-size: 14px;
  }

  /* --- Banner --- */
  .index-banner {
    width: 100%;
    height: 46vw;
    max-height: 280px;
    overflow: hidden;
  }

  .index_banner_cont {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .index_banner_scroll {
    width: 100%;
    height: 100%;
  }

  .index_banner_scroll div {
    position: absolute;
    left: 0;
    margin-left: 0;
    width: 100%;
  }

  .index_banner_scroll div img {
    width: 100%;
    height: auto;
    display: block;
  }

  .banner_btn {
    width: 100%;
    right: 0;
    margin-right: 0;
    top: auto;
    bottom: 8px;
    text-align: center;
  }

  .banner_list {
    display: flex;
    justify-content: center;
    width: 100%;
    position: static;
  }

  .banner_list span {
    width: 24px;
    height: 3px;
    margin: 0 3px;
    border-radius: 2px;
  }

  .banner_span {
    display: none !important;
  }

  /* --- Header --- */
  #header {
    width: 100%;
    height: auto;
    padding: 10px 12px;
    box-sizing: border-box;
  }

  #header h1 {
    float: none;
    text-align: center;
    margin: 0 auto 6px auto;
  }

  #header h1 img {
    max-width: 180px;
    height: auto;
  }

  .toplink {
    float: none;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .tel {
    text-align: center;
    font-size: 14px;
    clear: both;
  }

  .search {
    width: 160px;
    float: none;
    margin: 4px auto;
  }

  /* --- 导航 --- */
  #nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    height: auto;
    min-height: 40px;
  }

  #pnav {
    overflow-x: auto;
  }

  /* --- #hang2 分类区块 --- */
  #hang2 {
    width: 100%;
    height: auto;
    padding: 16px 0 16px 0;
    background-size: cover;
  }

  #hang2 ul {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #hang2 li {
    width: calc(50% - 6px);
    height: auto;
    min-height: 0;
    margin: 6px 0;
    padding: 8px;
    box-sizing: border-box;
    float: none;
  }

  #hang2 li img {
    width: 100%;
    height: auto;
    border-width: 1px;
  }

  #hang2 li a {
    display: block;
  }

  #hang2 li a h3 {
    font-size: 13px;
    line-height: 22px;
    height: auto;
    margin: 4px 0;
  }

  /* --- 内页主体 --- */
  #hang1 {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 16px auto;
  }

  #hang1 ul {
    width: 100%;
    float: none;
  }

  #hang1 li {
    width: calc(33.3% - 20px);
    float: left;
    margin: 6px 10px;
  }

  #hang3 {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 16px auto;
  }

  #hang4 {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 12px auto;
  }

  #hang5 {
    width: 100%;
    height: auto;
    min-height: 200px;
    background-size: cover;
    background-position: center;
  }

  .div1200 {
    width: 100%;
    padding: 20px 12px 0 12px;
    box-sizing: border-box;
  }

  .contact {
    float: none;
    width: 100%;
  }

  .contact ul {
    float: none;
    width: 100%;
  }

  .message {
    float: none;
    width: 100%;
    margin-top: 16px;
  }

  .blog,
  .post {
    width: 100%;
    box-sizing: border-box;
  }

  /* --- 内页双栏 --- */
  #main {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin: 16px auto;
  }

  #left {
    float: none;
    width: 100%;
    margin-bottom: 16px;
  }

  #right {
    float: none;
    width: 100%;
    background-image: none;
    min-height: 0;
  }

  /* --- 产品表格横向滚动 --- */
  .table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap .FindAreaTable1 {
    width: auto;
    min-width: 100%;
    table-layout: auto;
  }

  .table-wrap .FindAreaTable1 td {
    white-space: nowrap;
    font-size: 13px;
  }

  /* --- 产品分页器 --- */
  #right .am-pagination {
    width: 100%;
    float: none;
    font-size: 14px;
    text-align: center;
  }

  #right .am-fr {
    float: none;
  }

  .left01 ul,
  .left01 li {
    width: 100%;
  }

  /* --- 产品列表 --- */
  .proli a {
    width: calc(50% - 30px);
    height: auto;
    margin: 8px 10px;
  }

  .proli img {
    width: 100%;
    height: auto;
  }

  .prolist {
    width: calc(50% - 10px);
    margin: 5px;
  }

  /* --- 底部 --- */
  #foot {
    height: auto;
    padding: 16px 0;
  }

  .zzb07tail {
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 12px;
  }

  .erweima {
    float: none;
    margin: 12px auto;
    text-align: center;
  }

  /* --- 分页 --- */
  .newspage {
    width: 100%;
    padding: 12px 0;
    box-sizing: border-box;
  }

  /* --- container 宽度约束 --- */
  .container {
    width: 100%;
    overflow-x: hidden;
  }
}

/* ========== 小屏手机 (≤480px) ========== */
@media screen and (max-width: 480px) {

  .index-banner {
    height: 52vw;
    max-height: 220px;
  }

  #hang2 li {
    width: 100%;
    margin: 5px 0;
  }

  #hang1 li {
    width: calc(50% - 20px);
  }

  .proli a {
    width: calc(100% - 30px);
    max-width: 280px;
  }

  .prolist {
    width: calc(100% - 10px);
  }

  #header h1 img {
    max-width: 140px;
  }

  .tel b {
    font-size: 16px;
  }
}
