/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: absolute;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 90px;
  background: url(../images/mnav-bg.png) no-repeat right 0/90px;
}

.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 20px 0 10px;
  text-align: center;
}
/* .m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #fff;
} */

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #fff;
  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 .t {
  display: none;
}
.head-fix {
  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;
    z-index: 99;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0;
    overflow: visible;
    background: none;
  }

  .head {
    position: relative;
    display: flex;
    padding: 2vw 2vw 0;
  }

  .logo {
    display: block;
  }
  .logo img {
    width: 11vw;
  }

  .nav {
    margin-left: 4vw;
    padding: 1vw 0 0 1.2vw;
    background: url(../images/shu.png) no-repeat 0 1.3vw;
  }
  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding: 0 1.2vw;
  }
  .nav ul a {
    display: block;
    position: relative;
    font-size: 0.9vw;
    line-height: 1.2vw;
    color: #000;
    overflow: hidden;
  }
  .nav ul a .t {
    display: block;
    transition: 0.3s;
  }
  .nav ul a .b {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(100%, 0, 0);
    transition: 0.3s;
  }
  .nav ul a:hover {
    color: #ae0827;
  }
  .nav ul a:hover .t {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  .nav ul a:hover .b {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .head-fix {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
  }
  .head-fix {
    display: flex;
    width: 26vw;
    height: 21vw;
    padding: 2.6vw 0 0 6vw;
    background: url(../images/nav-bg.png) no-repeat right 0 / auto 100%;
  }
  .head-ewm {
    display: flex;
    position: relative;
  }

  .head-ewm i img {
    width: 1vw;
    margin: 0 0.5vw;
    cursor: pointer;
  }
  .head-ewm p {
    position: absolute;
    left: 50%;
    top: 1.4vw;
    margin-left: -3vw;
    transform: scale(0);
    transform-origin: center 0;
    transition: 0.3s;
  }
  .head-ewm p img {
    width: 6vw;
  }
  .head-ewm:hover p {
    transform: scale(1);
  }

  .head-tel {
    display: flex;
  }
  .head-tel i img {
    width: 2vw;
    padding: 0 0.5vw;
    border-left: 1px solid #fff;
  }
  .head-tel p {
    font-size: 0.9vw;
    line-height: 1.2vw;
    color: #fff;
  }
}

/* public */
.public {
  background: #af0c28;
  border-top: 5px solid #a07138;
}
.public-main {
  padding: 0;
}
.public-nav {
  display: none;
}

.public-info {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem;
  border-top: 1px solid #b03f52;
  border-bottom: 1px solid #b03f52;
}

.public-info-ul {
  width: 4.5rem;
}
.public-info-li {
  padding: 0.3rem 0;
}
.public-info-li:nth-child(2) {
  border-top: 1px dashed #d36c7d;
}

.public-info-name {
  font-size: 14px;
  line-height: 20px;
  color: #d36c7d;
}
.public-info-big {
  padding: 0.1rem 0;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}
.public-info-small {
  font-size: 14px;
  line-height: 20px;
  color: #fff;
}
.public-info-ewm {
  width: 1.8rem;
  padding: 0.8rem 0 0;
}
.public-info-ewm img {
  width: 100%;
}
footer {
  display: flex;
  flex-wrap: wrap;
  padding: 0.2rem 0.4rem;
  font-size: 14px;
  line-height: 20px;
  color: #d36c7d;
}
footer p {
  padding: 0 2px 0 0;
}
footer a {
  padding: 0 2px 0 0;
  color: #d36c7d;
}
@media (min-width: 1200px) {
  .public {
    padding: 0;
    background: #af0c28;
    border-top: 10px solid #a07138;
  }
  .public-main {
    width: 62.4vw;
    margin: 0 auto;
  }
  .public-nav {
    display: flex;
    padding: 3vw 0;
  }
  .public-li {
    width: 14.2%;
  }
  .public-li-name {
    display: block;
    font-size: 0.9vw;
    line-height: 1.4vw;
    color: #fff;
    transition: 0.3s;
  }
  .public-li-name:hover {
    color: #fff;
    transform: translate3d(-0.5vw, 0, 0);
  }

  .public-li ul {
    padding: 1vw 0 0;
  }
  .public-li ul li {
    padding: 0 0 0.1vw;
  }
  .public-li ul a {
    display: block;
    font-size: 0.8vw;
    line-height: 1.4vw;
    color: #d36c7d;
    transition: 0.3s;
  }
  .public-li ul a:hover {
    transform: translate3d(-0.5vw, 0, 0);
  }

  .public-info {
    display: flex;
    justify-content: space-between;
    padding: 2.4vw 0;
    border-top: 1px solid #b03f52;
    border-bottom: 1px solid #b03f52;
  }

  .public-info-ul {
    display: flex;
    width: 33vw;
  }
  .public-info-li {
    width: 15vw;
    padding: 0;
  }
  .public-info-li:nth-child(2) {
    width: 18vw;
    padding-left: 3vw;
    border-top: 0;
    border-left: 1px dashed #fff;
  }
  .public-info-name {
    font-size: 0.9vw;
    line-height: 1.4vw;
    color: #d36c7d;
  }
  .public-info-big {
    padding: 1vw 0;
    font-size: 1.8vw;
    line-height: 2vw;
    color: #fff;
  }
  .public-info-small {
    font-size: 14px;
    line-height: 20px;
    color: #fff;
  }
  .public-info-ewm {
    width: auto;
    padding: 0;
  }
  .public-info-ewm img {
    width: 6vw;
  }
  footer {
    display: flex;
    width: 62.4vw;
    margin: 0 auto;
    padding: 2vw 0;
    font-size: 0.8vw;
    line-height: 1.2vw;
    color: #d36c7d;
  }
  footer p {
    padding: 0 5px 0 0;
  }
  footer a {
    padding: 0 5px 0 0;
    color: #d36c7d;
  }
}
