/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: absolute;
  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-group {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate3d(-50%, -50%, 0);
}
.m-group img {
  width: 2.2rem;
}
.m-group a {
  display: block;
  padding-left: 20px;
  font-size: 12px;
  line-height: 20px;
  color: #000;
  background: url(../images/tel.png) no-repeat 0 center/14px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 22px 52px 0 10px;
  text-align: center;
  background: #fde63b;
}
.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #000;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #000;
  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);
}

.nav {
  position: absolute;
  z-index: 99;
  right: -150px;
  top: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  padding-top: 86px;
  background: #333;
}
.nav ul {
  display: none;
}
.nav 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;
}

header {
  display: none;
}

@media (min-width: 1200px) {
  header {
    display: block;
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    padding-right: 2vw;
    background: rgba(255, 255, 255, 1);
  }
  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-btn {
    display: flex;
    position: relative;
    padding: 2vw;
    background: #fde00a;
    cursor: pointer;
  }

  .nav-span span {
    display: block;
    width: 30px;
    height: 4px;
    background: #333;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }

  .nav-span span:nth-child(2) {
    margin: 5px 0;
  }

  .nav-btn.active .nav-span span:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
  }

  .nav-btn.active .nav-span span:nth-of-type(2) {
    opacity: 0;
  }

  .nav-btn.active .nav-span span:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
  }

  .nav-btn-font {
    padding-left: 0.4vw;
    font-size: 0.9vw;
    line-height: 1.2vw;
    color: #000;
  }

  .logo img {
    width: 5.4vw;
  }

  .group {
    padding: 0;
  }
  .group img {
    width: 8vw;
  }
  .group p {
    padding-left: 1.2vw;
    font-size: 1.1vw;
    line-height: 1.4vw;
    background: url(../images/tel.png) no-repeat 0 center/1vw;
  }
  .nav {
    display: block;
    position: fixed;
    z-index: 80;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 1s;
  }
  .nav.active {
    left: 0;
    background: url(../images/nav_bg.jpg) no-repeat center 0 / cover;
  }
  .nav.active .nav-li {
    opacity: 1;
    transform: rotateY(0);
  }

  .nav-li {
    opacity: 0;
    transform: rotateY(60deg);
  }

  .nav-li:nth-child(2n) {
    transform: rotateY(-60deg);
  }
  .nav {
    width: 100%;
    height: 100%;
  }

  .nav-ul {
    perspective: 1000px;
    display: flex;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
  }

  .nav-li {
    flex-grow: 0;
    flex-shrink: 0;
    height: 100%;
    padding-top: 180px;
    background: url(../images/white.jpg) no-repeat center bottom/100% 100%;
    border-left: 1px solid #f5f5f5;
    transition: 0.6s;
  }
  .nav-li:nth-child(1) {
    flex-grow: 1;
    flex-shrink: 1;
  }

  .nav-li-name a {
    display: block;
    padding: 120px 0 0;
    font: 400 30px/36px "微软雅黑";
    text-align: center;
    color: #333;
    background: no-repeat center 0;
    transition: 0.6s;
  }

  .nav-li ul {
    display: block;
    padding: 10px 0;
  }

  .nav-li li a {
    display: block;
    padding: 5px 0;
    font: 400 18px/30px "微软雅黑";
    color: #000;
    text-align: center;
    transition: 0.6s;
  }

  .nav-li:hover {
    background-size: 100% 0;
  }

  .nav-li:hover .nav-li-name a {
    margin-top: 60px;
    color: #fff;
    /* background: url(../images/nav_logo.png) no-repeat center 0; */
  }

  .nav-li:hover li a {
    color: #fff;
  }

  .nav-li li a:hover {
    transform: translate3d(-10px, 0, 0);
  }
}

.foot-nav {
  position: fixed;
  z-index: 50;
  left: 0;
  bottom: 0;
  width: 100%;
}

.foot-nav ul {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 1.4rem;
  padding: 0.3rem 0.1rem 0;
  background: #e36c10;
}

.foot-nav ul li {
  width: 25%;
}

.foot-nav ul a {
  display: block;
  text-align: center;
}

.foot-nav ul i {
  display: block;
}

.foot-nav i img {
  width: 0.5rem;
}

.foot-nav a p {
  padding-top: 0.1rem;
  font: 400 0.3rem/0.3rem "微软雅黑";
  color: #fff;
}

@media (min-width: 1200px) {
  .foot-nav {
    display: none;
  }
}
