/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: relative;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 65px;
  background: rgba(255, 255, 255, 0.6);
}

.m-logo {
  display: block;
  position: absolute;
  left: 10px;
  top: 12px;
}

.m-logo img {
  height: 40px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 24px 52px 0 10px;
  text-align: center;
}
.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 22px;
  font-size: 18px;
  line-height: 20px;
  color: #333;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #054891;
  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: #444;
}
.logo {
  display: none;
}
header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}
header li a .b {
  display: none;
}
.head-tel {
  display: none;
}
.wrapper {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff;
}
@media (min-width: 1200px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 0 3vw 0 4.5vw;
    background: rgba(255, 255, 255, 0.6);
  }
  .logo {
    display: flex;
    align-items: center;
    height: 3.5vw;
    padding: 0;
  }
  .logo img {
    height: 3.5vw;
  }
  .nav {
    margin-right: 3.2vw;
    padding: 0 2vw 0 8vw;
  }
  .nav ul {
    display: flex;
    align-items: center;
  }
  .nav ul li {
    padding: 0 2px;
  }
  .nav ul a {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0 1vw;
    font-weight: bold;
    font-size: 1vw;
    line-height: 5vw;
    text-align: center;
    color: #000;
  }
  .nav ul a .t {
    display: block;
    position: relative;
    z-index: 1;
    transition: 0.5s;
  }
  .nav ul a .b {
    display: block;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translate3d(0, 100%, 0);
    transition: 0.5s;
  }

  .nav ul a:hover {
    color: #054891;
  }
  .nav ul a:hover .t {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  .nav ul a:hover .b {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .head-tel {
    display: block;
    padding: 1.3vw 0 1.3vw 3.6vw;
    background: url(../images/tel.png) no-repeat 1vw center/2.4vw;
    border-left: 1px solid #fff;
  }
  .head-tel-text {
    width: 100%;
    font-size: 0.7vw;
    line-height: 1.2vw;
    color: #000;
  }
  .head-tel-num {
    font-weight: bold;
    font-size: 1.4vw;
    line-height: 1.4vw;
    color: #000;
  }
}

/* public */
.public {
  padding: 10px 0;
  background: url(../images/public_bg.png) no-repeat center 0 / cover;
}
.public-main {
  padding: 0.6rem 0;
}
.public-logo {
  position: relative;
  text-align: center;
  padding: 0 0 0.6rem;
}
.public-logo img {
  width: 4.2rem;
}
.public-address {
  position: relative;
  padding: 0 0.2rem;
}
.public-address-attr {
  position: relative;
  padding: 0 0 0.1rem;
  color: #fff;
}
.public-address-attr .ch {
  font-size: 14px;
  line-height: 24px;
}
.public-address-attr .en {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 12px;
  line-height: 12px;
  opacity: 0.07;
}

.public-address-val {
  font-size: 14px;
  line-height: 24px;
  color: #fff;
}

.public-nav {
  display: none;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-main {
  padding: 0.2rem 5px;
}
.foot-left,
.foot-right {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
}
.foot-left a,
.foot-left p,
.foot-right a,
.foot-right p {
  padding: 0 5px;
  color: #3a6b9c;
}

@media (min-width: 1200px) {
  .public {
    padding: 0;
  }
  .public-main {
    display: flex;
    justify-content: space-between;
    width: 80vw;
    margin: 0 auto;
    padding: 4.5vw 0;
  }
  .public-left {
    width: 50%;
  }
  .public-logo {
    position: relative;
    padding: 0 0 3.5vw;
    text-align: left;
  }
  .public-logo img {
    width: 21vw;
  }
  .public-address {
    padding: 0;
  }
  .public-address-attr {
    padding: 0 0 1.2vw;
  }
  .public-address-attr .ch {
    font-size: 0.8vw;
    line-height: 1vw;
  }
  .public-address-attr .en {
    position: absolute;
    left: 0;
    top: 0.6vw;
    font-size: 0.7vw;
    line-height: 1vw;
    opacity: 0.07;
  }

  .public-address-val {
    font-size: 0.9vw;
    line-height: 1.2vw;
    color: #fff;
  }

  .public-right {
    width: 50%;
  }
  .public-nav {
    display: flex;
    justify-content: flex-end;
  }
  .public-nav-item {
    width: 8vw;
  }
  .public-nav-item:last-child {
    width: auto;
  }

  .public-nav-name {
    font-size: 0.9vw;
    line-height: 1.5vw;
    color: #fff;
  }
  .public-nav-item ul {
    padding: 1vw 0 0;
  }
  .public-nav-item a {
    display: block;
    font-size: 0.9vw;
    line-height: 1.8vw;
    color: #fff;
    transition: 0.3s;
  }
  .public-nav-item a:hover {
    opacity: 0.25;
  }

  footer {
    width: 80vw;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .footer-main {
    display: flex;
    justify-content: space-between;
    padding: 1.6vw 0;
  }
  .foot-left,
  .foot-right {
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 20px;
  }
  .foot-left a,
  .foot-left p,
  .foot-right a,
  .foot-right p {
    padding: 0 5px;
    color: #3a6b9c;
  }
}
