:root {
  --rate_height: 560 / 937;
  --rate_width: 937 / 560;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "STHeiti", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  margin: 0 auto;
  min-height: 100vh;
  background: #06080c;
}

#container {
  margin: 0 auto;
  height: 100%;
  max-height: 100vh;
  width: 100%;
  max-width: 59.7vh;
  aspect-ratio: 560 / 937;
}

img {
  vertical-align: top;
  width: 100%;
}

.header {
  height: 10vh;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  /* box-shadow: 0 0.05rem 0.1rem rgba(65,71,85,0.09); */
  background: #151d29;
}

.header .logo {
  margin: 0 auto;
  height: 90%;
  display: flex;
  justify-content: center;
  width: 100%;
}

.header .logo a {
  display: flex;
  justify-content: center;
}

.header .logo img {
  display: block;
  width: auto;
  height: 8vh;
  margin: auto;
  text-align: center;
}

#main {
  height: 85%;
}

#main .photo {
  position: relative;
  /* height: 73%; */
}

#main .photo img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#main .photo a {
  display: block;
  position: absolute;
  left: 50%;
  top: 0.98rem;
}

#main .navi {
  position: relative;
  /* height: 31.5%; */
  height: 22vh;
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
}

#main .navi > li {
  width: 50%;
  height: 50%;
  float: left;
  box-sizing: border-box;
  border-right: 1px solid #596479;
  border-bottom: 1px solid #596479;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0e131b;
}

#main .navi > li:nth-child(2n) {
  border-right: none;
}

#main .navi > li > a {
  height: auto;
  width: 100%;
  overflow: hidden;
  zoom: 1;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  background: #0e131b;
}

#main .navi > li.on > a {
  background: #3575e7;
}

#main .navi > li > a .img {
  margin: 0.1rem 0.25rem 0 0;
  display: block;
  float: left;
}

#main .navi > li > a .img img {
  width: auto;
  height: 0.63rem;
}

#main .navi > li.on > a .img {
  background: url(../images/img02_on.png) no-repeat center top;
  background-size: auto 100%;
}

#main .navi > li.on > a .img img {
  visibility: hidden;
}

#main .navi > li > a .txt {
  display: block;
  width: auto;
  float: left;
  color: #a1a1a1;
  font-size: 0.22rem;
  white-space: nowrap;
}

#main .navi > li > a .txt span {
  margin-bottom: 0.08rem;
  display: block;
  color: #fff;
  font-size: 0.32rem;
  font-weight: bold;
}

#main .navi > li.on > a .txt,
#main .navi > li.on > a .txt span {
  color: #fff;
}

#main .navi > li .jsBox {
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: none;
  box-sizing: border-box;
  border: 1px solid #3575e7;
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-100%);
  -webkit-transform: translateY(-100%);
}

#main .navi > li.on .jsBox {
  display: block;
}

#main .navi > li .jsBox ul {
  padding: 0.43rem 0.6rem 0.13rem;
}

#main .navi > li .jsBox li {
  margin-bottom: 0.25rem;
  overflow: hidden;
  zoom: 1;
}

#main .navi > li .jsBox li span {
  display: block;
  float: left;
  color: #414755;
  font-size: 0.3rem;
  line-height: 0.7rem;
  text-align: center;
  /* border: 1px solid #CED3DC; */
  background: #d9dde4;
  box-sizing: border-box;
  width:50%;
}

#main .navi > li .jsBox li .ms {
  /* width: 1.2rem; */
  width: 15%;
      display: flex;
    justify-content: center;
}

#main .navi > li .jsBox li img {
  margin: 0.25rem 0.28rem 0 0.38rem;
  /* width: 0.45rem; */
  width: 7%;
  display: block;
  float: left;
}

#main .navi > li .jsBox li .url {
  /* width: 4.14rem; */
  width: 40%;
}

#main .navi > li .jsBox li a {
  /* width: 2.15rem; */
  width: 20%;
  display: block;
  float: right;
  color: #fff;
  font-size: 0.3rem;
  font-weight: bold;
  line-height: 0.7rem;
  text-align: center;
  /* border: 1px solid #414755; */
  background: #3575e7;
  box-sizing: border-box;
}

#main .navi > li .jsBox .arrow {
  margin-left: -0.12rem;
  width: 0.25rem;
  position: absolute;
  left: 25%;
  bottom: -0.13rem;
}
.hint {
  display: flex;
  justify-content: center;
  height: 2rem;
  overflow: hidden;
  text-align: center;
  margin-bottom: 0.5rem;
}

.hint p {
  color: #999;
  font-size: 0.2rem;
  line-height: 0.76rem;
  text-align: center;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 59.7vh;
  height: 6vh;
  overflow: hidden;
  background: #151d29;
  text-align: center;
  position: fixed;
  bottom: 0;
}

.footer p {
  color: #fff;
  font-size: 0.25rem;
  line-height: 0.76rem;
  text-align: center;
}
.jsBox {
  z-index: 10;
}
@media screen and (max-width: 767px) {
  .header {
    padding: 2%;
  }

  #container {
    width: auto;
    height: auto;
    aspect-ratio: auto;
  }

  #main .navi > li {
    padding: 7.5% 0;
  }
}
