/* 手机版*/

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: 5px;
}

.m-logo img {
  height: 50px;
}

.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: #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);
}

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;
}
header li a .t {
  display: none;
}

.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;
    right: 0;
    top: 2vw;
    width: 100%;
    height: auto;
    padding: 0 3.5vw;
    overflow: visible;
    background: none;
  }
  .head {
    display: flex;
    justify-content: space-between;
    padding-left: 3vw;
    background: #fff;
  }
  .logo {
    display: block;
  }
  .logo img {
    width: 5.8vw;
    margin-top: -1vw;
  }

  .nav-slide {
    width: 18vw;
    height: 5vw;
    padding: 1vw 0 0 2vw;
    background: url(../images/tel-bg.png) no-repeat center 0 / cover;
  }

  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding: 1vw 1.2vw;
  }
  .nav ul a {
    position: relative;
    display: block;
    font-size: 0.9vw;
    line-height: 3vw;
    color: #333;
  }
  .nav ul a .t {
    display: block;
    overflow: hidden;
    transition: 0.3s;
  }
  .nav ul a .b {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    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: #4e952d;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .head-slide {
    width: 18vw;
    padding: 1vw 0 0 2vw;
    color: #fff;
    background: url(../images/tel-bg.png) no-repeat 0 center;
  }
  .head-tel {
    padding-left: 3vw;
    color: #fff;
    background: url(../images/tel-icon.png) no-repeat 0 center/2.4vw;
  }
  .head-tel span {
    font-size: 0.8vw;
    line-height: 1.2vw;
  }
  .head-tel p {
    font-size: 1.5vw;
    line-height: 1.6vw;
  }
}

/* public  */

.public-main {
  position: relative;
  display: block;
}

.public-name {
  font-size: 0.3rem;
  line-height: 0.36rem;
  color: #fff;
}
.public-info {
  width: 4rem;
  padding: 0.4rem 0 0;
}
.public-info p {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}
footer {
  display: flex;
  flex-wrap: wrap;
  margin: 0.4rem 0 0;
  padding: 0.2rem 0 0;
  font-size: 14px;
  line-height: 20px;
  border-top: 1px solid #fff;
}
footer a,
footer p {
  padding-right: 5px;
  color: #fff;
}

.public-right {
  position: absolute;
  right: 0;
  top: 0.8rem;
  width: 3rem;
}
.public-right ul {
  display: flex;
}
.public-right ul li {
  width: 50%;
  padding: 0 0.1rem;
  text-align: center;
}
.ewm-img img {
  width: 100%;
}
.ewm-p {
  margin-top: 5px;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}

@media (min-width: 1200px) {
  .public-main {
    display: flex;
    justify-content: space-between;
    width: 82vw;
    margin: 0 auto;
  }
  .public-left {
    width: 45vw;
  }

  .public-name {
    font-size: 1.5vw;
    line-height: 1.8vw;
    color: #fff;
  }
  .public-info {
    display: flex;
    flex-wrap: wrap;
    width: auto;
    padding: 2vw 8vw 2vw 0;
  }
  .public-info p {
    margin-right: 3vw;
    font-size: 0.9vw;
    line-height: 1.6vw;
    color: #fff;
  }
  footer {
    display: flex;
    margin: 0;
    padding: 1vw 0 0;
    font-size: 14px;
    line-height: 2vw;
    border-top: 1px solid #fff;
  }
  footer a,
  footer p {
    padding-right: 5px;
    color: #fff;
  }

  .public-right {
    width: 17vw;
    top: 0;
    position: relative;
  }
  .public-right ul {
    display: flex;
  }
  .public-right ul li {
    width: 50%;
    padding: 0 0.6vw;
    text-align: center;
  }
  .ewm-img img {
    width: 100%;
  }
  .ewm-p {
    margin: 0.5vw 0 0;
    font-size: 0.9vw;
    line-height: 1.4vw;
    color: #fff;
  }
}
