:root {
  --mainColor: #b12028;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
ul,
li,
dl,
dt {
  list-style: none;
}
ul,
li,
dl,
dt,
p,
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
em,
sub,
strong {
  font-style: normal;
  font-weight: normal;
}
a {
  -webkit-tap-highlight-color: transparent;
}
/* 导航栏 */
.header {
  position: fixed;
  z-index: 10;
  width: 100vw;
  transition: background 0.3s ease;
  top: 0;
}
.header .box {
  width: 1000px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2vh auto;
}
.header.focus {
  background: var(--mainColor);
}
.header .logo {
  background-image: url(../images/logo.png);
  width: 230px;
  height: 76px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.header ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.header ul li {
  margin: 0 35px;
  /* transition: all 0.2s linear; */
}
.header ul li.cur {
  font-weight: bold;
  font-size: 1.1em;
}
.header li a {
  color: white;
  text-decoration: none;
}
/* 主体 */
.container {
  width: 100vw;
  height: auto;
}
.container .page {
  width: 100%;
  padding-bottom: 12vh;
  font-size: 1.3rem;
}
.container .page .banner {
  width: 100%;
  height: 25vh;
  position: relative;
  background-size: cover;
  background-position: center;
}
.container .page .banner::before {
  content: "";
  width: 100%;
  height: 100%;
  background: var(--mainColor);
  position: absolute;
  opacity: 0.85;
}
/* 脚部 */
footer {
  width: 100%;
  background: #55565a;
}
.footer {
  width: 1000px;
  background: #55565a;
  overflow: hidden;
  padding: 5vh 0;
  color: white;
  margin: 0 auto;
  position: relative;
}
.page.page_index footer {
  position: absolute;
  bottom: 0;
  z-index: 2;
}
.footer h2 {
  text-align: center;
  font-weight: normal;
  font-size: 1.2em;
}
.footer .go_top {
  background-image: url(../images/ico_top.png);
  width: 43px;
  height: 12px;
  position: absolute;
  right: 0;
  top: 30px;
}
.footer .box {
  width: 1000px;
  margin: 3vh auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer dt {
  margin: 2vh 0;
  display: flex;
  align-items: center;
}
.footer dt i {
  font-size: 0;
  display: block;
}
.footer dt a {
  color: white;
  text-decoration: none;
}
.footer .qrcode {
  display: flex;
}
.footer .qrcode img {
  width: 120px;
  height: 120px;
  background: white;
  margin: 0 0.5vw;
  border: 10px solid white;
}
.footer .qrcode .code {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer .qrcode span {
  margin-top: 15px;
  font-size: 1em;
}

@media screen and (max-width: 900px) {
  .header {
    background: var(--mainColor);
  }
  .header .box {
    width: 90%;
    flex-direction: column;
  }
  .header .logo {
    width: 120px;
    height: 40px;
  }
  .header ul {
    margin-top: 2vh;
  }
  .header ul li {
    font-size: 0.8rem;
    margin: 0 3vw;
  }
  .footer {
    width: 85%;
    padding: 3vh 0;
    font-size: 0.8rem;
  }
  .footer .box {
    width: 90%;
    flex-direction: column;
  }
  .footer .qrcode span {
    margin-top: 1vh;
  }
  .footer dt {
    justify-content: center;
  }
  .footer dt:last-child {
    flex-direction: column;
  }
  .footer dt:last-child a {
    margin-top: 2vh;
  }
  .container .page .banner {
    height: 1px;
    margin-bottom: 18vh;
  }
}
