/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: absolute;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: url(../images/mtop-bg.jpg) no-repeat 0 0 / cover;
  border-bottom: 2px solid #e3d5ba;
}

.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: #deceb2;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #deceb2;
  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;
    top: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0;
    overflow: visible;
    background: url(../images/nav-bg.jpg) no-repeat center 0 / cover;
    border-bottom: 0.3vw solid #e8d8bd;
  }
  .head {
  }
  .logo {
    display: block;
    position: absolute;
    z-index: 20;
    left: 50%;
    top: 0.8vw;
    margin-left: -3.8vw;
  }
  .logo img {
    width: 7.6vw;
  }
  .nav {
    position: relative;
    z-index: 1;
  }
  .nav ul {
    display: flex;
    justify-content: center;
  }
  .nav li {
    padding: 1.6vw 1.2vw;
  }
  .nav li:nth-child(5) {
    margin-left: 18vw;
  }
  .nav a {
    display: block;
    padding: 0.5vw 0 0.5vw 1vw;
    font-size: 0.8vw;
    line-height: 1vw;
    color: #e3d5ba;
  }
  .nav a:hover {
    background: url(../images/nav-li-bg.png) no-repeat 0 1vw,
      url(../images/nav-li-en.png) no-repeat 1vw bottom/3.2vw;
  }
  .nav a:hover {
  }
}
