/* 手机版*/

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: 17px;
}

.m-logo img {
  height: 26px;
}

.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);
}
.top {
  display: none;
}

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 .b {
  display: none;
}
.wrapper {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
   overflow-x: hidden;
}

@media (min-width: 1200px) {
  header {
    display: block;
    position: relative;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 0;
    background: none;
  }
  .top {
    display: flex;
    justify-content: space-between;
    padding: 2.5vw 14vw;
    background: url(../images/top_bg.png) no-repeat center 0 / cover;
  }
  .logo {
    display: block;
    padding: 0;
  }
  .logo img {
    height: 3vw;
  }
  .tel {
    padding-left: 3vw;
    color: #7a5121;
    background: url(../images/tel.png) no-repeat 0 center/2.4vw;
  }
  .tel span {
    font-size: 0.8vw;
    line-height: 1;
  }
  .tel p {
    font-weight: bold;
    font-size: 1.8vw;
    line-height: 1;
  }

  .nav {
    background: #ededed;
  }
  .nav ul {
    display: flex;
    justify-content: center;
  }

  .nav ul li {
    padding: 0 1.8vw;
  }

  .nav ul a {
    display: block;
    position: relative;
    overflow: hidden;
    font: 400 0.9vw/2.5vw "微软雅黑";
    color: #333;
    text-align: center;
  }
  .nav ul a .t {
    display: block;
    position: relative;
    transition: 0.6s;
  }
  .nav ul a .b {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: 0.6s;
  }

  .nav ul a:hover .t {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  .nav ul a:hover .b {
    color: #7a5121;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* public */
.public {
  background: url(../images/public_bg.jpg) no-repeat center 0 / cover;
}
.public-ul {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
}

.public-li {
  width: 50%;
  order: 2;
  padding: 0.4rem 0;
  text-align: center;
  border-right: 1px solid #dcdcdc;
}
.public-li:nth-child(3) {
  border: 0;
}
.public-li:nth-child(2) {
  width: 100%;
  order: 1;
  padding: 0.6rem 0;
  text-align: center;
  border-bottom: 1px solid #dcdcdc;
  border-right: 0;
}
.public-li:nth-child(2) img {
  width: 6.4rem;
}
.public-li-icon {
  text-align: center;
}
.public-li-icon img {
  width: 0.6rem;
}
.public-li-name {
  margin: 0.1rem 0;
  font-size: 14px;
  line-height: 24px;
  color: #7a5121;
}
.public-li-p {
  font-weight: bold;
  font-size: 14px;
  line-height: 24px;
  color: #333;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.4rem 0;
  font-size: 12px;
  line-height: 20px;
}
footer p,
footer a {
  padding: 0 5px;
  color: #333;
}
@media (min-width: 1200px) {
  .public {
    padding: 4vw 0;
    background: url(../images/public_bg.jpg) no-repeat center 0 / cover;
  }
  .public-ul {
    display: flex;
    justify-content: center;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
  }

  .public-li {
    width: auto;
    padding: 2.5vw;
    text-align: center;
    border: 0;
  }
  .public-li:nth-child(3) {
    border: 0;
  }
  .public-li:nth-child(2) {
    display: flex;
    align-items: center;
    order: 2;
    width: auto;
    padding: 2.5vw;
    border-left: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    border-bottom: 0;
  }
  .public-li:nth-child(2) img {
    width: 24vw;
  }

  .public-li-icon img {
    width: 2.8vw;
  }
  .public-li-name {
    margin: 0.5vw 0;
    font-size: 14px;
    line-height: 24px;
    color: #7a5121;
  }
  .public-li-p {
    font-weight: bold;
    font-size: 1.5vw;
    line-height: 1.8vw;
    color: #333;
  }
  .public-li:nth-child(3) .public-li-p {
    font-size: 1.2vw;
  }

  footer {
    display: flex;
    justify-content: center;
    padding: 2.4vw 0 0;
    font-size: 14px;
    line-height: 20px;
  }
  footer p,
  footer a {
    padding: 0 5px;
    color: #333;
  }
}
