/* 设置根字体大小（会被JS覆盖） */
html {
  font-size: 100px;
  /* 1rem = 100px */
}
#mobile-nav {
  position: fixed;
  top: 0;
  height: 100%;
  right: -100%;
  width: 100%;
  z-index: 999;
  transition: 0.3s;
  box-sizing: border-box;
  background-color: #fff;
  padding: 10px 15px;
}
#mobile-nav .top {
  display: flex;
  align-items: center;
  padding: 0;
  justify-content: space-between;
}
#mobile-nav .top .logo {
  width: 2rem;
}
#mobile-nav .top .cha {
  width: 20px;
}
#mobile-nav ul {
  margin-top: 0.3rem;
}
#mobile-nav ul li {
  width: 100%;
  line-height: 46px;
  border-bottom: 1px solid #e3e3e3;
}
#mobile-nav ul li > a {
  display: flex;
  align-items: center;
  height: 1rem;
  width: 100%;
  height: 100%;
  padding-left: 0.2rem;
  box-sizing: border-box;
  justify-content: space-between;
}
#mobile-nav ul li > a span {
  font-size: 16px;
}
#mobile-nav ul li > a img {
  width: 0.34rem;
}
#mobile-nav ul li .parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1rem;
  width: 100%;
  height: 100%;
  padding-left: 0.2rem;
  box-sizing: border-box;
}
#mobile-nav ul li .parent span {
  font-size: 0.2rem;
}
#mobile-nav ul li .parent img {
  width: 16px;
  transition: 0.3s;
}
#mobile-nav ul li .second {
  display: none;
}
#mobile-nav ul li .second a {
  color: #666;
  display: block;
  font-size: 0.18rem;
  padding-left: 0.2rem;
}
#mobile-nav ul li:nth-of-type(1) {
  border-top: 1px solid #e3e3e3;
}
.rotateY {
  transform: rotate(180deg);
}
.left-o {
  left: -100% !important;
}
.right-o {
  right: 0 !important;
}
.head-blank {
  height: 1.18rem;
}
.header-shadow {
  box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.7);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  background-color: #fff;
}
header .wd1700 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .wd1700 .head-logo img {
  height: 0.81rem;
}
header .wd1700 .nav {
  display: flex;
  align-items: center;
}
header .wd1700 .nav .f-li {
  margin: 0 0.25rem;
  position: relative;
  overflow: hidden;
}
header .wd1700 .nav .f-li .f-a {
  display: block;
  font-size: 0.18rem;
  color: #562e91;
  transition: 0.2s;
  font-weight: bold;
  height: 1.18rem;
  line-height: 1.18rem;
  position: relative;
}
header .wd1700 .nav .f-li .t-ul {
  position: absolute;
  width: 1.84rem;
  top: 1.18rem;
  left: -0.2rem;
  transition: 0.5s;
  background-color: #ffffff;
  box-shadow: 0rem 0.31rem 0.2rem 0rem rgba(4, 0, 0, 0.4);
  padding-top: 0.35rem;
  padding-left: 0.42rem;
  box-sizing: border-box;
  z-index: -1;
  opacity: 0;
}
header .wd1700 .nav .f-li .t-ul .t-li {
  margin-bottom: 0.2rem;
  height: auto;
  display: flex;
}
header .wd1700 .nav .f-li .t-ul .t-li .t-a {
  height: 0.21rem;
  color: #333;
  font-size: 0.16rem;
  transition: 0.3s;
  overflow: hidden;
}
header .wd1700 .nav .f-li .t-ul .t-li .t-a img {
  width: 0.34rem;
  margin-top: 0.1rem;
}
header .wd1700 .nav .f-li::after {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  left: 0;
  width: 100%;
  height: 0.03rem;
  opacity: 0;
  transition: 0.3s;
  background-color: #562e91;
}
header .wd1700 .head-right {
  display: flex;
  align-items: center;
}
header .wd1700 .head-right .icon {
  height: 0.23rem;
}
header .wd1700 .head-right .phone {
  font-size: 0.2rem;
  color: #562e91;
  margin: 0 0.24rem 0 0.22rem;
}
header .wd1700 .head-right .laug {
  position: relative;
}
header .wd1700 .head-right .laug .icon {
  cursor: pointer;
}
header .wd1700 .head-right .laug .xiala {
  display: none;
  position: absolute;
  right: 0;
  top: 0.23rem;
  width: 100px;
  z-index: 2;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0rem 0.1rem 0.2rem 0.01rem rgba(4, 0, 0, 0.4);
}
header .wd1700 .head-right .laug .xiala a {
  display: block;
  text-align: center;
  height: 40px;
  color: #08275a;
  line-height: 40px;
  transition: 0.3s;
  font-size: 14px;
}
header .wd1700 .head-right .laug .xiala a:hover {
  color: #562e91;
  font-weight: bold;
  background: #dbdbdb;
}
header .wd1700 .head-right .laug:hover .xiala {
  display: block;
}
header .wd1700 .head-right .m-En {
  display: none;
  font-size: 18px;
}
header .wd1700 .head-right .m-head-r {
  display: none;
}
header .wd1700 .nei-head-right {
  display: flex;
  align-items: center;
}
header .wd1700 .nei-head-right .nei-icon {
  height: 0.23rem;
}
header .wd1700 .nei-head-right .phone {
  font-size: 0.2rem;
  color: #08275a;
  margin: 0 0.24rem 0 0.22rem;
}
header .wd1700 .nei-head-right .m-head-r {
  display: none;
}
footer {
  background-color: #562e91;
}
footer .wd1700 .foot {
  padding: 0.86rem 0;
  display: flex;
  justify-content: space-between;
}
footer .wd1700 .foot .f-logo img {
  height: 0.68rem;
}
footer .wd1700 .foot .midd {
  display: flex;
  margin-bottom: 0.15rem;
}
footer .wd1700 .foot .midd .nav {
  margin-right: 0.5rem;
}
footer .wd1700 .foot .midd .nav .title {
  display: block;
  color: #fff;
  font-size: 0.17rem;
}
footer .wd1700 .foot .midd .nav ul {
  margin-top: 0.23rem;
}
footer .wd1700 .foot .midd .nav ul li {
  margin-bottom: 0.1rem;
}
footer .wd1700 .foot .midd .nav ul li a {
  display: block;
  opacity: 0.8;
  color: #fff;
  font-size: 0.14rem;
}
footer .wd1700 .foot .foot-r p {
  text-align: right;
  color: #fff;
  font-size: 0.14rem;
  margin-bottom: 0.08rem;
}
footer .wd1700 .foot .foot-r .phone {
  color: #fff;
  font-weight: bold;
  font-size: 0.36rem;
}

footer .wd1700 .foot .foot-r .wechat {
  width: 100px;
}

footer .wd1700 .banquan {
  text-align: center;
  padding: 0.48rem 0;
  font-size: 0.2rem;
  color: #fff;
  opacity: 0.5;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
/*侧边栏*/
.customer-service {
  position: fixed;
  bottom: 15%;
  right: 0;
  z-index: 9;
}
.customer-service ul li {
  width: 60px;
  height: 60px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 6px;
  text-align: center;
  line-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 5px;
}
.customer-service ul li img {
  width: 30px;
  display: block;
}
.customer-service ul li p {
  position: absolute;
  height: 60px;
  font-size: 16px;
  right: 0;
  top: 0;
  padding: 0 80px 0 20px;
  color: #fff;
  transition: 0.3s;
  border-radius: 6px 0 0 6px;
  transform: translateX(150%);
  background-color: rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

.customer-service .wechat-wrapper {
  height: auto;
  padding: 10px 70px 10px 10px;
}

.customer-service .wechat {
  display: block;
  width: 100px;
  height: 100px;
}

.customer-service .wechat img {
  width: auto;
}
/*侧边栏*/
.wd1700 {
  max-width: 17rem;
  margin: 0 auto;
}
@media (min-width: 1366px) and (max-width: 1400px) {
  header .wd1700 .nav .f-li .f-a {
    font-size: 18px;
  }
  header .wd1700 .nav .f-li .t-ul .t-li .t-a {
    font-size: 16px;
    height: 30px;
  }
  header .wd1700 .nav .f-li .t-ul .t-li .t-a:hover {
    height: 60px !important;
  }
}
@media (min-width: 1440px) and (max-width: 1600px) {
  header .wd1700 .nav .f-li .f-a {
    font-size: 18px;
  }
  header .wd1700 .nav .f-li .t-ul .t-li .t-a {
    font-size: 16px;
    height: 30px;
  }
  header .wd1700 .nav .f-li .t-ul .t-li .t-a:hover {
    height: 60px !important;
  }
  header .wd1700 .head-right .phone {
    font-size: 16px;
  }
  footer .wd1700 .foot .midd .nav ul li {
    font-size: 16px;
  }
  .wd1700 .banquan {
    font-size: 16px !important;
  }
}
@media (min-width: 1024px) {
  header .wd1700 .nav .f-li:hover {
    overflow: initial;
  }
  header .wd1700 .nav .f-li:hover .t-ul {
    opacity: 1;
    z-index: 3;
  }
  footer .wd1700 .foot .midd .nav ul li:hover a {
    opacity: 1;
  }
  header .wd1700 .nav .f-li:hover::after {
    opacity: 1;
  }
  header .wd1700 .nav .f-li .t-ul .t-li .t-a:hover {
    color: #562e91;
    height: 0.45rem;
  }
  .customer-service ul li:hover p {
    transform: translateX(0);
  }
}
@media (max-width: 1250px) {
  .out-container {
    padding: 0 0.2rem;
  }
  header .wd1700 .nav li {
    margin: 0 0.1rem;
  }
  header .wd1700 .nav .f-li {
    margin: 0 0.1rem;
  }
  footer .wd1700 .foot .midd .nav {
    margin-right: 0.2rem;
  }
  header .wd1700 .nav .f-li .f-a {
    font-size: 17px;
  }
  header .wd1700 .head-logo img {
    height: 0.7rem;
  }
}
@media (max-width: 1050px) {
  html {
    font-size: calc(100vw / 7.5);
    /* 移动端基准值 */
  }
  header {
    padding: 0.15rem 0;
  }
  header .wd1700 .nav {
    display: none;
  }
  header .wd1700 .head-logo img {
    height: 0.6rem;
  }
  header .wd1700 .head-right .m-head-r {
    display: block;
    margin-left: 0.2rem;
  }
  header .wd1700 .nei-head-right .m-head-r {
    display: block;
  }
  header .wd1700 .head-right .m-head-r img {
    height: 0.3rem;
  }
  header .wd1700 .nei-head-right .m-head-r img {
    height: 0.3rem;
  }
  footer .wd1700 .foot {
    padding: 0.4rem 0;
    display: block;
  }
  footer {
    padding: 0 0.2rem;
  }
  footer .wd1700 .foot .midd {
    justify-content: space-between;
    margin-top: 0.15rem;
  }
  footer .wd1700 .foot .midd .nav {
    margin-right: 0;
  }
  footer .wd1700 .foot .foot-r {
    display: flex;
    align-items: center;
  }
  footer .wd1700 .foot .foot-r p {
    text-align: left;
    font-size: 0.2rem;
    margin-bottom: 0;
    margin-right: 0.1rem;
  }
  footer .wd1700 .banquan {
    padding: 0.25rem 0;
  }
  footer .wd1700 .foot .foot-r .phone {
    font-size: 0.3rem;
  }
  header .wd1700 .head-right .m-En {
    display: block;
  }
  header .wd1700 .head-right .phone {
    display: none;
  }
  header .wd1700 .head-right .icon {
    display: none;
  }
  header .wd1700 .nei-head-right .phone {
    display: none;
  }
  header .wd1700 .nei-head-right .nei-icon {
    display: none;
  }
  .customer-service ul li {
    width: 40px;
    height: 40px;
  }
  .customer-service ul .pc-show {
    display: none;
  }
  .customer-service ul li img {
    width: 20px;
    height: 20px;
  }
  .customer-service {
    bottom: 10%;
  }
  .head-blank {
    display: none;
  }
  header {
    position: relative;
    left: auto;
    top: auto;
  }
}
@media (max-width: 640px) {
  footer .wd1700 .foot .midd .nav:first-of-type {
    display: none;
  }
  footer .wd1700 .foot .midd {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  footer .wd1700 .foot .midd .nav {
    margin-right: 0.2rem;
    margin-bottom: 0.2rem;
  }
  footer .wd1700 .foot .midd .nav .title {
    font-size: 0.22rem;
  }
  footer .wd1700 .foot .midd .nav ul li a {
    font-size: 0.18rem;
  }
  footer .wd1700 .banquan {
    font-size: 0.15rem;
  }
  footer .wd1700 .foot .f-logo img {
    height: 0.7rem;
  }
  #mobile-nav ul li .parent img {
    width: 13px;
  }
}
