/* 手机版*/
html {
  scroll-behavior: smooth;
}
body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: relative;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  border-bottom: 2px solid #146f40;
}

.m-logo {
  display: block;
  position: absolute;
  left: 5px;
  top: 12px;
}

.m-logo img {
  height: 36px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 22px 52px 0 10px;
  text-align: center;
}
.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #146f40;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #146f40;
  transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
  margin: 4px 0;
}

.cross span:nth-of-type(1) {
  transform: translateY(7px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
  opacity: 0;
}

.cross span:nth-of-type(3) {
  transform: translateY(-7px) rotate(45deg);
}

header {
  position: absolute;
  z-index: 99;
  right: -150px;
  top: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  padding-top: 86px;
  background: #444;
}
.logo {
  display: none;
}
header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}
header li a .b {
  display: none;
}
.wrapper {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff;
}

@media (min-width: 1200px) {
  .wrapper {
    padding: 0;
    background: #fff;
  }
  header {
    display: block;
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 0;
    background: #fff;
  }

  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8vw;
  }
  .head .logo {
    display: block;
  }
  .head .logo img {
    height: 4vw;
  }

  .nav ul {
    display: flex;
  }

  .nav ul li {
    padding: 0 1px;
  }

  .nav ul a {
    display: block;
    position: relative;
    padding: 0 2vw;
    overflow: hidden;
    font: 400 0.9vw/5vw "微软雅黑";
    color: #7a7a7a;
    text-align: center;
  }
  .nav ul a .t {
    position: relative;
    z-index: 1;
    transition: 0.3s;
  }
  .nav ul a .b {
    display: block;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: 0.3s;
  }
  .nav ul a:hover .t {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  .nav ul a:hover .b {
    color: #367796;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* public */
.public {
  padding: 30px 0;
  background: url(../images/public_bg.jpg) no-repeat center 0 / cover;
  border-bottom: 10px solid #367796;
}

.public-line {
  position: relative;
  padding: 0 10px 20px 100px;
  border-bottom: 1px solid #b8b8b8;
}
.public-logo {
  position: absolute;
  left: 20px;
  top: 0;
  width: 60px;
}
.public-logo img {
  width: 100%;
}
.public-tel {
  padding: 0 0 5px;
}
.public-tel-text {
  font-size: 12px;
  line-height: 20px;
  color: #999;
}
.public-tel-num {
  font-size: 18px;
  line-height: 24px;
  color: #c00029;
}
.public-info {
  font-size: 14px;
  line-height: 20px;
  color: #333;
}

.public-ewm {
  padding: 20px 0;
}
.public-ewm ul {
  display: flex;
  justify-content: space-between;
}
.public-ewm ul li {
  padding: 0 10px;
  text-align: center;
}
.public-ewm-img {
  width: 72px;
  margin: 0 auto;
  padding: 0 0 5px;
}
.public-ewm-img img {
  width: 100%;
}

.public-ewm-text {
  font-size: 14px;
  line-height: 24px;
  color: #333;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2vw 0;
  font-size: 14px;
  line-height: 24px;
}
footer p,
footer a {
  padding: 0 5px;
  color: #333;
}
@media (min-width: 1200px) {
  .public {
    background: url(../images/public_bg.jpg) no-repeat center 0 / cover;
    border-bottom: 0.6vw solid #367796;
  }

  .public-main {
    width: 72vw;
    margin: 0 auto;
  }
  .public-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3vw 0;
    border-bottom: 1px solid #b8b8b8;
  }
  .public-logo {
    position: relative;
    width: 10vw;
  }
  .public-logo img {
    width: 100%;
  }
  .public-tel {
    text-align: left;
  }
  .public-tel-text {
    font-size: 0.9vw;
    line-height: 1.4vw;
    color: #999;
  }
  .public-tel-num {
    font-size: 2vw;
    line-height: 2.4vw;
    color: #c00029;
  }
  .public-info {
    text-align: left;
    font-size: 1vw;
    line-height: 1.4vw;
    color: #333;
  }
  .public-info-address {
    padding: 0.2vw 0 0.2vw 2vw;
    background: url(../images/public_address.png) no-repeat 0 center / 1.4vw;
  }
  .public-info-tel {
    padding: 0.2vw 0 0.2vw 2vw;
    background: url(../images/public_tel.png) no-repeat 0 center / 1.4vw;
  }

  .public-ewm {
    padding: 2vw 0;
  }
  .public-ewm ul {
    display: flex;
    justify-content: center;
  }
  .public-ewm ul li {
    padding: 0 2vw;
    text-align: center;
  }
  .public-ewm-img {
    width: 7vw;
    padding: 0 0 0.5vw;
  }
  .public-ewm-img img {
    width: 100%;
  }

  .public-ewm-text {
    font-size: 16px;
    line-height: 30px;
    color: #333;
  }

  footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2vw 0;
    font-size: 14px;
    line-height: 24px;
  }
  footer p,
  footer a {
    padding: 0 5px;
    color: #333;
  }
}
