:root {
  --font-size-h1: 0.18rem;
  --font-size-h2: 0.3rem;
  --font-size-q: 0.14rem;
  --font-size-more: 0.16rem;
  /* 设计稿1920*880，整块内容从头部波浪区域开始 */
  --banner-content-top: 700px;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
a {
  color: #000;
  text-decoration: none;
  outline: none;
}
a:hover {
  color: #000;
  text-decoration: underline;
  outline: none;
}

html,
body {
  position: relative;
  /* background-color: #339cd6; */
}
body {
  overflow: hidden;
  overflow-y: auto;
  font:
    100%/1.5 Tahoma,
    Helvetica,
    Arial,
    "Microsoft YaHei",
    STXihei,
    SimSun,
    sans-serif;
  color: #000;
}

/* 自适应框架（设计图宽度） */
body {
  max-width: 19.2rem;
  margin: 0 auto;
}
body * {
  max-width: 19.2rem;
}

.top-banner {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}
.top-banner > header,
.top-banner > main {
  grid-column: 1;
  grid-row: 1;
}
.top-banner > header {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: visible;
  line-height: 0;
  align-self: start;
}
.top-banner > main {
  position: relative;
  z-index: 2;
  align-self: start;
  width: 100%;
  padding-top: var(--banner-content-top);
  overflow: visible;
}
footer {
  position: relative;
  z-index: 10;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  clear: both;
}
header .header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 670px;
  max-width: none;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  z-index: 1;
}
header .header-bg {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 2;
  pointer-events: none;
}
header .header-bg-m {
  display: none;
}
header > img:not(.header-bg) {
  position: absolute;
  z-index: 100;
}
footer {
  font-size: 16px;
  padding: 20px;
}

/* 移动端自适应 */
@media screen and (max-width: 1024px) {
  :root {
    --font-size-h1: 0.3rem;
    --font-size-h2: 0.3rem;
    --font-size-q: 0.24rem;
    --font-size-more: 0.24rem;
    --banner-content-top: 24%;
  }

  html,
  body {
    overflow: hidden;
    overflow-y: auto !important;
  }
  body {
    max-width: 10.24rem;
    margin: 0 auto;
  }
  body * {
    max-width: 10.24rem;
  }
  header {
    height: auto !important;
  }
  header .header-bg-pc {
    display: none;
  }
  header .header-bg-m {
    display: block;
  }
  .top-banner > main {
    width: 94%;
    margin: 0 auto;
  }
}
