:root {
  --text-color: #333;
  --primary-color: #4079e2;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset,
img {
  border: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}
ol,
ul {
  list-style: none;
}
caption,
th {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
q:before,
q:after {
  content: "";
}
abbr,
acronym {
  border: 0;
  font-variant: normal;
}
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  *font-size: 100%;
}
legend {
  color: var(--text-color);
}
a {
  text-decoration: none;
  color: var(--text-color);
}
body {
  line-height: 1;
  color: var(--text-color);
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  visibility: visible;
  opacity: 1;
  transition: 0.5s;
  z-index: 10;
}
header .menu-item {
  position: relative;
}
header .menu-item a {
  display: block;
  text-align: center;
  cursor: pointer;
}
header .menu-item:hover .submenu {
  display: block;
}
header .submenu {
  display: none;
  position: absolute;
  left: 0;
  width: 100%;
  box-shadow: 0 0 3px #ccc;
  border-radius: 4px;
}
header .submenu .submenu-item:hover a {
  color: var(--primary-color);
}
header.down {
  visibility: hidden;
  opacity: 0;
}
header.up {
  background-color: #fff;
}
header.up nav .menu .menu-item a {
  color: #333;
}
.banner img {
  width: 100%;
  vertical-align: middle;
}
footer {
  background-color: #6b6b6b;
  color: #fff;
}
.gradient-hide {
  visibility: hidden;
  opacity: 0;
}
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.text-ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
@media screen and (max-width: 991px) {
  .mobile-visible {
    display: none !important;
  }
  header {
    padding: 2.6667vw 5.3333vw;
  }
  header .logo {
    width: 40vw;
  }
  header nav {
    position: relative;
    height: 100%;
  }
  header nav .menu-btn {
    display: block;
    width: 6.4vw;
  }
  header nav:hover .menu {
    display: block;
  }
  header .menu {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translateY(110%);
    width: 100px;
    box-shadow: 0 0 3px #ccc;
    border-radius: 4px;
    padding: 1.3333vw 2.6667vw;
    background-color: #fff;
    text-align: center;
  }
  header .menu .menu-item a,
  header .menu .menu-item p {
    padding: 5px 0;
  }
  header .menu .menu-item:not(:nth-child(n + 6)) a,
  header .menu .menu-item:not(:nth-child(n + 6)) p {
    border-bottom: 1px solid #eee;
  }
  header .submenu {
    top: 0;
    transform: translateX(-110%);
    background-color: #fff;
  }
  main section {
    padding: 12.8vw 0;
  }
  main section h2 {
    font-size: 8.5333vw;
    color: #262626;
    text-align: center;
    margin-bottom: 2rem;
  }
  .container {
    margin: 0 5.6vw;
  }
  footer {
    background-color: #6b6b6b;
    padding: 8vw 6.4vw;
    font-size: 3.7333vw;
  }
  footer dt {
    text-align: center;
  }
  footer dt img {
    width: 50%;
    margin-bottom: 5.3333vw;
  }
  footer dd {
    display: flex;
    align-items: center;
    margin-bottom: 2.6667vw;
  }
  footer dd img {
    width: 5.3333vw;
    height: 5.3333vw;
    object-fit: contain;
    vertical-align: text-bottom;
    margin-right: 1em;
  }
  footer dd a {
    color: #c3c3c3;
  }
  footer .copyright {
    text-align: center;
    margin-top: 5.3333vw;
    line-height: 1.5;
  }
  footer .copyright a {
    color: #fff;
  }
}
@media screen and (min-width: 992px) {
  .pc-visible {
    display: none !important;
  }
  header {
    padding: 20px 200px;
  }
  header .menu {
    display: flex;
    width: 1000px;
  }
  header .menu .menu-item {
    position: relative;
    flex: 1;
    font-size: 24px;
  }
  header .menu .menu-item a {
    line-height: 60px;
    color: #fff;
  }
  header .menu .menu-item .active-menu {
    position: relative;
    color: var(--primary-color) !important;
  }
  header .menu .menu-item .active-menu::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    height: 4px;
    width: 100px;
    background-color: var(--primary-color);
  }
  header .submenu {
    bottom: 0;
    transform: translateY(100%);
    background-color: #fff;
  }
  header .submenu .submenu-item a {
    color: #333;
    font-size: 18px;
    line-height: 36px;
    height: 36px;
  }
  footer {
    background-color: #6b6b6b;
    padding: 100px 0 100px;
    font-size: 20px;
  }
  footer .container {
    display: flex;
    justify-content: space-between;
    margin: 0 285px;
  }
  footer dt {
    font-size: 24px;
    margin-bottom: 1em;
  }
  footer dd {
    line-height: 2;
  }
  footer dd img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: text-bottom;
    margin-right: 32px;
  }
  footer dd a {
    color: #c3c3c3;
  }
  footer .qr-code img {
    width: 150px;
    margin-bottom: 16px;
  }
  footer .qr-code p {
    text-align: center;
  }
  footer .copyright {
    text-align: center;
    margin-top: 20px;
  }
  footer .copyright a {
    color: #fff;
  }
}
