/* 手机版*/

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

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

.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 .b {
  display: none;
}
.wrapper {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}
@media (min-width: 1200px) {
  header {
    display: block;
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 0;
    background: none;
  }
  .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1vw 4vw;
    background: rgba(255, 255, 255, 0.6);
  }
  .head .logo {
    display: block;
  }
  .head .logo img {
    height: 4vw;
  }

  .nav ul {
    display: flex;
  }

  .nav ul li {
    padding: 0 2vw;
    background: url(../images/shu.png) no-repeat 0 center;
  }
  .nav ul li:nth-child(1) {
    background: none;
  }

  .nav ul a {
    display: block;
    position: relative;
    overflow: hidden;
    font: 400 0.8vw/1.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: #d8171f;
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* public */
.public {
  height: 34vw;
  padding: 5vw 0 0;
  background: #f4f4f4;
  border-bottom: 0.4vw solid #d8171f;
}
.public .wrap {
  align-items: center;
}
.public-main {
  display: flex;
  justify-content: space-between;
  width: 76vw;
  margin: 0 auto;
  padding: 0 0 2vw;
  border-bottom: 1px solid #cdcdcd;
}
.public-left {
  width: 43vw;
}
.public-line1 {
  display: flex;
  justify-content: space-between;
  padding: 0 0 4vw;
  border-bottom: 1px solid #cdcdcd;
}

.public-logo img {
  width: 12.8vw;
}

.public-details {
  display: flex;
  justify-content: space-between;
  width: 22vw;
}
.public-detail1,
.public-detail2 {
  width: 10vw;
  font-size: 0.8vw;
  line-height: 1.5vw;
  color: #333;
}

.public-line2 {
  display: flex;
  justify-content: space-between;
  padding: 1.5vw 0 0;
}
.public-line2-left {
  width: 22vw;
  padding: 0.5vw 0 0;
}
.public-tel-name {
  width: 7vw;
  font-size: 0.8vw;
  line-height: 2vw;
  color: #fff;
  text-align: center;
  background: #d8171f;
  border-radius: 1vw 1vw 1vw 0;
}

.public-tel-num {
  margin: 1.5vw 0;
  font-weight: bold;
  font-size: 1.8vw;
  line-height: 2vw;
  color: #000;
}
.public-adress {
  font-size: 0.8vw;
  line-height: 1.2vw;
  color: #000;
}

.public-line2-right {
  display: flex;
  width: 18vw;
}

.public-ewm {
  padding-left: 0.8vw;
}
.public-ewm-img {
  background: #fff;
}
.public-ewm-img img {
  width: 8.2vw;
}
.public-ewm-text {
  display: flex;
  align-items: center;
  margin: 0.5vw 0 0;
}
.public-ewm-text i {
  display: block;
}
.public-ewm-text img {
  width: 1.6vw;
}
.public-ewm-text p {
  margin-left: 0.8vw;
  font-size: 0.9vw;
  line-height: 1.2vw;
  color: #333;
}

.public-right {
  width: 30vw;
}

.public-ul {
  display: flex;
  justify-content: space-between;
  width: 28vw;
}

.public-li-name {
  padding: 0 0 1vw;
}
.public-li-name a {
  display: block;
  font-size: 0.9vw;
  line-height: 1.4vw;
  color: #000;
}
.public-li:nth-child(3) ul{
    display: none;
}
.public-li li {
  padding: 0 0 0.5vw;
}
.public-li li a {
  display: block;
  font-size: 0.8vw;
  line-height: 1vw;
  color: #666;
}
.public-li a:hover {
  color: #d8171f;
}

footer {
  display: flex;
  flex-wrap: wrap;
  padding: 4.5vw 0 0;
}
footer p,
footer a {
  padding-right: 5px;
  font-size: 14px;
  line-height: 20px;
  color: #999;
}

@media (max-width: 1200px) {
  .public {
    height: auto;
    padding-bottom: 10px;
    background: #f4f4f4;
    border-bottom: 2px solid #d8171f;
  }
  .public .wrap {
    align-items: center;
  }
  .public-main {
    display: block;
    width: 6.9rem;
    margin: 0 auto;
    padding: 0;
    border: 0;
  }
  .public-left {
    position: relative;
    width: 100%;
  }

  .public-line1 {
    padding: 0 0.1rem 0.1rem;
    border-bottom: 1px solid #cdcdcd;
  }
  .public-logo {
    display: none;
  }

  .public-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .public-detail1,
  .public-detail2 {
    font-size: 14px;
    line-height: 20px;
    color: #333;
  }
  .public-detail1 {
    width: 2.85rem;
  }
  .public-detail2 {
    width: 3.5rem;
  }

  .public-line2 {
    display: block;
    padding: 0.3rem 0 0;
  }
  .public-line2-left {
    width: 100%;
    padding: 0;
  }
  .public-tel-name {
    width: 120px;
    font-size: 14px;
    line-height: 24px;
    border-radius: 0.1rem 0.1rem 0.1rem 0;
  }

  .public-tel-num {
    margin: 0.3rem 0;
    font-size: 0.36rem;
    line-height: 0.4rem;
  }
  .public-adress {
    font-size: 14px;
    line-height: 20px;
  }

  .public-line2-right {
    display: flex;
    width: 100%;
    margin: 0.2rem 0 0;
  }

  .public-ewm {
    padding: 0 0.2rem 0 0;
  }
  .public-ewm-img {
    width: 2rem;
  }
  .public-ewm-img img {
    width: 100%;
  }
  .public-ewm-text {
    margin: 0.1rem 0 0;
  }
  .public-ewm-text img {
    width: 0.3rem;
  }
  .public-ewm-text p {
    margin-left: 6px;
    font-size: 12px;
    line-height: 24px;
  }

  .public-right {
    width: 100%;
  }

  .public-ul {
    display: none;
  }

  footer {
    padding: 0.2rem 0 0;
  }
  footer p,
  footer a {
    padding-right: 5px;
    font-size: 14px;
    line-height: 20px;
    color: #999;
  }
}
