/* 手机版*/

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;
}

.m-logo {
  display: block;
  position: absolute;
  left: 10px;
  top: 10px;
}

.m-logo img {
  height: 40px;
}

.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: #008b4f;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #008b4f;
  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: #333;
}
.logo {
  display: none;
}
header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}

.wrapper {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #fff;
}

@media (min-width: 1200px) {
  header {
    display: block;
    position: absolute;
    z-index: 99;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0;
    background: #fff;
  }
  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 64vw;
    margin: 0 auto;
    padding: 0.5vw 0;
  }
  .logo {
    display: block;
  }
  .logo img {
    width: 12vw;
  }

  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding-left: 2.4vw;
  }
  .nav ul a {
    display: block;
  }
  .nav ul a span {
    display: block;
    font-size: 0.9vw;
    line-height: 1.6vw;
    color: #000;
    background: url(../images/nav_li_line.png) no-repeat 0 bottom/0 0.2vw;
    transition: 0.6s;
  }
  .nav ul a:hover span {
    background-size: 100% 0.2vw;
  }
}

/* public */
.public {
  position: relative;
  padding: 0.2rem 0.2rem 0;
  background: #fff;
}

.public-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0.4rem 0.2rem;
  background: url(../images/mpublic_bg.png) no-repeat center 0 / cover;
}
.public-tel {
  width: 3.4rem;
  text-align: left;
}
.public-tel-name {
  font-size: 12px;
  line-height: 20px;
  color: #000;
}
.public-tel-num {
  margin: 0.2rem 0 0;
  font-size: 0.48rem;
  line-height: 0.6rem;
  color: #006439;
}
.public-tel-sc {
  font-size: 12px;
  line-height: 20px;
  color: #006439;
}
.public-info {
  width: 100%;
  order: 3;
}
.public-info ul {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0 0;
}
.public-info ul li {
  display: flex;
}
.public-info-icon {
  width: 0.5rem;
}
.public-info-icon img {
  width: 0.3rem;
}
.public-info-font {
  font-size: 0.3rem;
  line-height: 0.36rem;
}

.public-ewm {
  width: 3.2rem;
}
.public-ewm ul {
  display: flex;
}
.public-ewm ul li {
  width: 50%;
  padding-left: 5px;
}
.ewm-li-img img {
  width: 100%;
  border: 2px solid #f9f9f9;
}
.ewm-li-font {
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

footer {
  padding: 0.3rem 0;
}
.foot-info {
  display: flex;
  flex-wrap: wrap;

  font-size: 12px;
  line-height: 20px;
}
.foot-info p {
  padding-right: 5px;
  color: #000;
}
.foot-info a {
  padding-right: 5px;
  color: #000;
}
.foot-nav {
  display: none;
}
@media (min-width: 1200px) {
  .public {
    position: relative;
    padding: 3.6vw 6.4vw 0;
  }
  .public::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 15vw;
    background: #f8f8f8;
  }
  .public-main {
    position: relative;
    z-index: 20;
    padding: 4.2vw;
    background: url(../images/public_bg.png) no-repeat center 0 / cover;
  }
  .public-tel {
    width: auto;
  }
  .public-tel-name {
    font-size: 0.9vw;
    line-height: 1.2vw;
  }
  .public-tel-num {
    margin: 1.4vw 0 0;
    font-size: 2.4vw;
    line-height: 3vw;
  }
  .public-tel-sc {
    font-size: 0.9vw;
    line-height: 1.2vw;
  }
  .public-info {
    width: auto;
    order: 0;
  }
  .public-info ul {
    display: block;
    padding: 0;
  }
  .public-info ul li {
    align-items: center;
    padding: 0 0 1.5vw;
  }
  .public-info-icon {
    width: 2.5vw;
  }
  .public-info-icon img {
    width: 1.5vw;
  }
  .public-info-font {
    font-size: 0.9vw;
    line-height: 1.2vw;
  }

  .public-ewm {
    width: 13vw;
  }
  .public-ewm ul li {
    padding-left: 0.8vw;
  }
  .ewm-li-img img {
    border: 3px solid #f9f9f9;
  }
  .ewm-li-font {
    font-size: 14px;
    line-height: 24px;
  }

  footer {
    position: relative;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    padding: 3.5vw 0;
  }
  .foot-info {
    width: 30vw;
    font-size: 0.8vw;
    line-height: 1.2vw;
  }

  .foot-nav {
    display: block;
    width: 24vw;
  }
  .foot-nav ul {
    display: flex;
    flex-wrap: wrap;
  }
  .foot-nav ul li {
    width: 25%;
    padding-left: 2vw;
  }
  .foot-nav ul a {
    display: block;
    font-size: 0.8vw;
    line-height: 1.8vw;
    color: #000;
  }
  .foot-nav ul a:hover {
    color: #008b4f;
  }
}

.fix-nav {
  position: fixed;
  z-index: 50;
  left: 0;
  bottom: 0;
  width: 100%;
}
.fix-nav ul {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 1.4rem;
  padding: 0.3rem 0.1rem 0;
  background: #008b4f;
}

.fix-nav ul li {
  width: 25%;
}

.fix-nav ul a {
  display: block;
  text-align: center;
}

.fix-nav ul i {
  display: block;
}

.fix-nav i img {
  width: 0.5rem;
}

.fix-nav a p {
  padding-top: 0.1rem;
  font: 400 0.3rem/0.3rem "微软雅黑";
  color: #fff;
}

@media (min-width: 1200px) {
  .fix-nav {
    display: none;
  }
}
