* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html,
body {
  width: 100%;
  height: 100%;
  font-size: 15px;
  color: #fff;
  overflow: scroll;
  position: relative;
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  font-family: SF Pro SC, SF Pro Text, SF Pro Icons, PingFang SC, Helvetica Neue,
    Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  -webkit-tap-highlight-color: transparent;
}

.vertical-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.horizontal-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header {
  width: 100%;
  height: 90px;
  margin-bottom: -90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  padding: 0px 56px;
  position: relative;
  z-index: 99;
  background-color: transparent;
  transition: all ease-in 125ms;
  /* background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.66) 0%,
    rgba(0, 0, 0, 0.26) 100%
  );
  position: fixed;
  top: 0;
  z-index: 99; */
}
.header-logo {
  height: 24px;
}
.tab {
  display: flex;
  align-items: center;
  gap: 32px;
}
.tab-item {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 5px 0px;
  border-bottom: 2px solid transparent;
}
.tab-item:hover {
  color: rgba(255, 255, 255, 0.85);
}
.tab-item-active {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  border-bottom-color: #bae6fd;
}
.head {
  background-image: url(/img/bg.png);
  background-size: 100%;
  position: relative;
  width: 100%;
  padding-top: calc(100% / 1440 * 670);
}
.head-content {
  padding-top: 90px;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: white;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.66) 0%,
    rgba(0, 0, 0, 0.26) 90px,
    rgba(0, 0, 0, 0.16) 75%,
    rgba(0, 0, 0, 0.06) 100%
  );
}
.head-title {
  font-size: 48px;
  line-height: 58px;
  font-weight: 500;
  text-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.25);
}
.head-desc {
  font-size: 20px;
  line-height: 28px;
  text-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.25);
}
.content {
  display: flex;
  flex-direction: column;
}
.content-item {
  align-self: stretch;
  padding: 72px 136px;
  gap: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.content-item:nth-child(odd) {
  background-color: #f5f4ee;
}
.content-item-title {
  font-size: 30px;
  line-height: 40px;
  color: rgba(0, 0, 0, 0.88);
}
.content-item-desc {
  padding: 0px 84px;
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
}
.gallery-container {
  position: relative;
  margin: 0 -136px;
  max-width: calc(100% + 272px);
  transform: translateZ(0px);
}
.gallery {
  display: flex;
  gap: 30px;
  max-width: 100%;
  overflow: scroll;
  padding: 0 136px;
  /* hide scrollbar */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.gallery::-webkit-scrollbar {
  display: none;
}
.gallery-item {
  width: 369px;
  height: 492px;
  border-radius: 18px;
  flex: 0 0 auto;
  background-size: cover;
}
.scroll-btn {
  width: 56px;
  height: 56px;
  /* background-color: rgba(0, 0, 0, 0.01); */
  background-color: rgba(212, 212, 212, 0.8);
  border-radius: 50%;
  position: fixed;
  right: 48px;
  top: 50%;
  transform: translate(0, -50%);
}
.scroll-btn img {
  width: 28px;
  height: 28px;
}
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 136px 36px 136px;
  background-color: #f5f4ee;
  gap: 32px;
}
.footer-title {
  font-size: 30px;
  line-height: 40px;
  color: rgba(0, 0, 0, 0.88);
  font-weight: 500;
}
.addresses {
  display: flex;
  gap: 80px;
  line-height: 22px;
  align-items: stretch;
}
.address-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.address-item-title {
  font-weight: bold;
}
.address-qrcode {
  height: 124px;
  width: 124px;
  border-radius: 12px;
  padding: 12px;
  margin-top: 4px;
  margin-bottom: -4px;
  border: 1px solid rgba(0, 0, 0, 0.18);
}
.address-qrcode > div {
  width: 100%;
  height: 100%;
  background-size: 100%;
}
.address-wechat-desc {
  font-size: 12px;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.65);
}
.ic-dianping {
  width: 16px;
  height: 16px;
  font-size: 0px;
  margin-right: 6px;
}
.ic-xiaohongshu {
  width: 18px;
  height: 18px;
  font-size: 0px;
  margin-right: 8px;
}
.xiaohongshu_address {
  font-size: 16px;
  line-height: 24px;
}
.line-vertical {
  width: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}
.line-horizontal {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}
.copyright {
  font-size: 12px;
  line-height: 20px;
  color: rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.copyright a {
  text-decoration: none;
}
.address-desc {
  display: flex;
  align-items: center;
  gap: 10px;
}
.address-desc > img {
  width: 13px;
}
.tab-btn {
  display: none;
}

@media only screen and (max-width: 768px) {
  .header {
    height: 56px;
    margin-bottom: -56px;
    padding: 0px 20px;
  }
  .header-logo {
    height: 13px;
  }
  .tab {
    visibility: hidden;
    position: fixed;
    z-index: 999;
    height: calc(100vh - 56px);
    width: 100vw;
    top: 56px;
    left: 0px;
    display: flex;
    flex-direction: column;
    background-color: white;
    gap: 0px;
    transition: all ease-in 125ms;
    opacity: 0;
    height: 0px;
  }
  .tab-item {
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.65);
    width: 100%;
    padding: 12px 20px;
  }
  .tab-item:hover {
    color: rgba(0, 0, 0, 0.65);
  }
  .head {
    padding-top: calc(100% / 375 * 560);
    background-image: url(/img/bg-m.png);
  }
  .head-content {
    padding: 56px 20px 0px;
  }
  .head-title {
    font-size: 28px;
    line-height: 40px;
  }
  .head-desc {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
  }
  .content-item {
    padding: 48px 20px;
    gap: 30px;
  }
  .content-item-title {
    font-size: 20px;
    line-height: 28px;
  }
  .content-item-desc {
    padding: 0px;
    font-size: 16px;
    line-height: 24px;
  }
  .gallery-container {
    margin: 0 -20px;
    max-width: calc(100% + 40px);
  }
  .gallery {
    gap: 20px;
    padding: 0 20px;
  }
  .gallery-item {
    width: 294px;
    height: 392px;
  }
  .scroll-btn {
    display: none;
  }
  .footer {
    padding: 56px 20px 48px 20px;
  }
  .footer-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: normal;
  }
  .addresses {
    gap: 20px;
  }
  .copyright {
    gap: 12px;
  }
  .copyright a {
    text-decoration: none;
  }
  .copyright div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .copyright span {
    display: block;
  }
  .tab-btn {
    display: block;
    padding: 4px;
    margin-right: -4px;
  }
  .tab-btn img {
    width: 16px;
    height: 16px;
  }
  .tab-btn .tab-btn-close {
    display: none;
  }
}
