@font-face {
  font-family: SourceHanSansCN;
  src: url("/css/fonts/SourceHanSansCN-Normal.ttf");
}

@font-face {
  font-family: SourceHanSansCN-Heavy;
  src: url("/css/fonts/SourceHanSansCN-Heavy.ttf");
}

@font-face {
  font-family: SourceHanSansCN-Light;
  src: url("/css/fonts/SourceHanSansCN-Light.ttf");
}

@font-face {
  font-family: SourceHanSansCN-Medium;
  src: url("/css/fonts/SourceHanSansCN-Medium.ttf");
}

@font-face {
  font-family: SourceHanSansCN-Regular;
  src: url("/css/fonts/SourceHanSansCN-Regular.ttf");
}

@font-face {
  font-family: SourceHanSansCN-Bold;
  src: url("/css/fonts/SourceHanSansCN-Bold.ttf");
}

@font-face {
  font-family: Poppins-Light;
  src: url("/css/fonts/Poppins-Light.ttf");
}

:root {
  --header-height: 13.33vw;
  --footer-height: 16vw;
}

*,
::after,
::before {
  box-sizing: border-box;
}

body {
  font-family: SourceHanSansCN;
  font-weight: 400;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a,
button {
  cursor: pointer;
}

a,
a:hover,
a:visited {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

input {
  font-size: 3.7333vw;
}

.header-box {
  position: fixed;
  height: var(--header-height);
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  background-color: #3271e2;
}

.header-box .layout {
  height: 100%;
  padding: 0 5.3333vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-box .left,
.header-box .right {
  width: 6vw;
}

.header-box .back>img {
  width: 2.1333vw;
  height: 4vw;
}

.header-box .logo>img {
  width: 20.2667vw;
  aspect-ratio: 152 / 40;
}

.header-box .nav-home>img {
  width: 5.8667vw;
  height: 5.8667vw;
}

.header-box .nav-back>img {
  width: 2.1333vw;
  height: 4vw;
}

.header-box .nav-menu>img {
  width: 4.8vw;
  height: 4.2667vw;
}

.header-placeholder {
  height: var(--header-height);
}

.footer .footer-box {
  position: fixed;
  height: var(--footer-height);
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #3271e2;
  border-radius: 6.6667vw 6.6667vw 0 0;
  padding-top: 2.6667vw;
}

.tabbar {
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.tabbar .tab {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  flex: 1;
}

.tabbar .tab>img {
  width: 5.8667vw;
  height: 5.8667vw;
}

.tabbar .tab .logo {
  width: 14.6667vw;
  height: 4.2667vw;
  opacity: 0.7;
  position: relative;
  top: -1.2vw;
}

.tabbar .tab>div {
  font-family: PingFang SC;
  font-weight: 400;
  font-size: 3.7333vw;
  color: rgba(255, 255, 255, 0.7);
  padding-bottom: 3vw;
  border-bottom: 2px solid transparent;
}

.tabbar .tab.active>div {
  color: rgba(255, 255, 255, 1);
  border-bottom-color: #fff;
  font-weight: bold;
}

.tabbar .tab.active .logo {
  opacity: 1;
}

.footer-placeholder {
  height: var(--header-height);
}

.drawer .drawer-mask {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.drawer.active .drawer-mask {
  display: block;
}

.drawer .drawer-body {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  z-index: 9999;
  background-color: #3271e2;
  transform: translateX(100%);
  transition: all 0.5s;
}

.drawer.active .drawer-body {
  transform: translateX(0) translateZ(100px);
}

.drawer .drawer-body .drawer-header {
  padding: 4.6667vw 5.3333vw;
  display: flex;
  justify-content: flex-end;
}

.drawer .drawer-body .drawer-header .drawer-close {
  width: 4vw;
  height: 4vw;
}

.drawer .drawer-body .drawer-main {
  height: 100%;
  overflow-y: auto;
  padding-bottom: 100px;
}

.drawer .drawer-body .drawer-main .nav {
  padding: 0 0 0 0;
}

.drawer .drawer-body .drawer-main .nav>ul li {
  text-indent: 5.3333vw;
}

.drawer .drawer-body .drawer-main .nav .droptitle {
  padding: 8vw 5.3333vw 5.3333vw 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
}

.drawer .drawer-body .drawer-main .nav .droptitle::after {
  content: "";
  width: 2.6667vw;
  height: 2.6667vw;
  background-image: url(/img/menu-group.png);
  background-size: cover;
}

.drawer .drawer-body .drawer-main .nav .droptitle a {
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 4.2667vw;
  color: #ffffff;
}

.drawer .drawer-body .drawer-main .nav>ul>li .dropmenu {
  max-height: 0;
  overflow: hidden;
  border-bottom: 1px solid #fff;
  transition: all 0.5s;
}

.drawer .drawer-body .drawer-main .nav .droptitle.active~.dropmenu {
  max-height: 100vh;
}

.drawer .drawer-body .drawer-main .nav>ul>li .dropmenu>ul {
  padding: 4vw 0;
}

.drawer .drawer-body .drawer-main .nav>ul>li .dropmenu>ul li.active {
  background: rgba(0, 0, 0, .5);
}

.drawer .drawer-body .drawer-main .nav>ul>li .dropmenu a {
  padding: 4vw 5.3333vw 4vw 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Microsoft YaHei;
  font-weight: 400;
  font-size: 3.7333vw;
  color: #ffffff;
}

.drawer .drawer-body .drawer-main .nav>ul>li .dropmenu a::after {
  content: "";
  width: 2.1333vw;
  height: 4vw;
  background-image: url(/img/menu-link.png);
  background-size: cover;
}