* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 100%;
  background: #fff;
  color: #191b24;
  font-family: SimSun, "Microsoft YaHei", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: 100%;
  min-height: 3443px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.site-header {
  width: 100%;
  height: 176px;
  background: #fff;
}

.promo-bar {
  height: 51px;
  background:
    radial-gradient(circle at 1394px -12px, rgba(255, 225, 103, .82) 0 20px, transparent 42px),
    linear-gradient(98deg, #5598f5 0%, #48c9ed 29%, #e2fbff 51%, #34c9e9 71%, #657df2 100%);
  overflow: hidden;
}

.promo-inner {
  position: relative;
  width: 1000px;
  height: 51px;
  margin: 0 auto;
}

.promo-tag {
  position: absolute;
  left: 0;
  top: 5px;
}

.promo-inner strong {
  position: absolute;
  left: 57px;
  top: 8px;
  color: transparent;
  background: linear-gradient(90deg, #1d2730 0 28%, #e52928 28% 73%, #1d2730 73% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 27px;
  font-weight: 800;
  line-height: 34px;
}

.coupon em {
  color: #e52928;
  font-style: normal;
}

.promo-inner p {
  position: absolute;
  top: 10px;
  margin: 0;
  color: #f07a00;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 20px;
  line-height: 30px;
  white-space: nowrap;
}

.promo-inner p:nth-of-type(1) {
  left: 322px;
}

.promo-inner p:nth-of-type(2) {
  left: 562px;
}

.promo-inner b {
  margin-right: 12px;
  font-size: 22px;
  font-weight: 700;
}

.coupon {
  position: absolute;
  left: 810px;
  top: 7px;
  width: 223px;
  height: 38px;
  background: #fff6e4;
  color: #22242b;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 21px;
  line-height: 38px;
  text-align: center;
}

.coupon em {
  font-size: 26px;
  font-weight: 800;
}

.coupon small {
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 700;
}

.promo-coin {
  position: absolute;
  left: 1067px;
  top: 0;
}

.grab {
  position: absolute;
  left: 1124px;
  top: 5px;
  width: 126px;
  height: 42px;
  border: 2px solid #ffdf6b;
  border-radius: 22px;
  background: linear-gradient(180deg, #ff5549 0%, #df1719 100%);
  box-shadow: 0 2px 0 #c50e0e;
  color: #fff;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 38px;
  text-align: center;
}

.nav-bar {
  height: 125px;
  background: #fff;
}

.nav-inner {
  position: relative;
  width: 1210px;
  height: 125px;
  margin: 0 auto;
}

.brand {
  position: absolute;
  left: 0;
  top: 27px;
  display: block;
  width: 170px;
  height: 56px;
}

.brand img {
  display: block;
}

.divider {
  position: absolute;
  left: 222px;
  top: 20px;
  width: 1px;
  height: 73px;
  background: #dedee3;
}

.slogan {
  position: absolute;
  left: 268px;
  top: 20px;
  margin: 0;
  color: #777783;
  font-size: 19px;
  line-height: 34px;
  white-space: nowrap;
}

.slogan span {
  display: block;
}

.menu-toggle {
  display: none;
}

.nav-menu {
  position: absolute;
  left: 477px;
  top: 40px;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #11131b;
  font-size: 19px;
  line-height: 26px;
}

.nav-menu li {
  position: relative;
  height: 76px;
  white-space: nowrap;
}

.nav-menu a {
  display: block;
}

.nav-menu .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 4px;
  background: #22bfcc;
}

.nav-menu .hot span {
  position: absolute;
  left: 43px;
  top: -21px;
  padding: 0 7px;
  border-radius: 12px 12px 12px 0;
  background: #ff6a28;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
}

.main-content {
  display: block;
  width: 1920px;
  height: 2744px;
}

.site-footer {
  width: 1920px;
  height: 523px;
}

.friend-links {
  height: 180px;
  background: linear-gradient(180deg, #f8f9fc 0%, #f2f4fa 100%);
}

.friend-inner {
  width: 1208px;
  height: 180px;
  margin: 0 auto;
  padding-top: 39px;
}

.tabs {
  display: flex;
  gap: 66px;
  height: 50px;
  color: #20232d;
  font-size: 18px;
  line-height: 27px;
}

.tabs a {
  position: relative;
}

.tabs .active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 109px;
  height: 3px;
  background: #23bfcc;
}

.line {
  height: 1px;
  background: #dcdee8;
}

.link-list {
  display: flex;
  align-items: center;
  gap: 66px;
  height: 88px;
  color: #202531;
  font-size: 17px;
  white-space: nowrap;
}

.footer-main {
  height: 343px;
  background: #121218;
}

.footer-inner {
  position: relative;
  width: 1920px;
  height: 343px;
  margin: 0 auto;
}

.footer-col {
  position: absolute;
  top: 45px;
  width: 210px;
  text-align: center;
  color: #f7f7fb;
}

.courses {
  left: 328px;
}

.entry {
  left: 600px;
}

.footer-col h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 400;
  line-height: 30px;
}

.footer-col i {
  display: block;
  width: 24px;
  height: 5px;
  margin: 24px auto 26px;
  border-radius: 3px;
  background: #23bfcc;
}

.footer-col a {
  display: block;
  margin-bottom: 26px;
  color: #f2f2f5;
  font-size: 17px;
  line-height: 22px;
}

.telephone {
  position: absolute;
  left: 789px;
  top: 27px;
  width: 285px;
}

.telephone-top {
  display: flex;
  align-items: center;
}

.telephone-top img {
  display: block;
  width: 57px;
  height: 57px;
  margin-right: 20px;
}

.telephone-top p {
  margin: 0;
}

.telephone-top span {
  display: block;
  color: #dcdde4;
  font-size: 16px;
  line-height: 18px;
}

.telephone-top strong {
  display: block;
  color: #42c9e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 36px;
  white-space: nowrap;
}

.telephone-bottom {
  position: relative;
  width: 285px;
  height: 210px;
  margin-top: 18px;
}

.qr {
  position: absolute;
  top: 0;
  margin: 0;
  text-align: center;
}

.wechat {
  left: 3px;
}

.course-qr {
  left: 159px;
}

.qr img {
  display: block;
  width: 125px;
  height: 125px;
}

.qr figcaption {
  margin-top: 18px;
  color: #f0f0f3;
  font-size: 17px;
  line-height: 22px;
}

.course-qr figcaption {
  margin-top: 17px;
}

.course-qr span {
  display: inline-block;
  min-width: 184px;
  height: 36px;
  padding: 0 13px;
  border-radius: 18px;
  background: #ff8b49;
  color: #fff;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 36px;
}

.map {
  position: absolute;
  left: 1189px;
  top: 50px;
  width: 377px;
  text-align: center;
}

.map img {
  display: block;
  width: 377px;
  height: 232px;
}

.map p {
  margin: 25px 0 0;
  color: #f1f1f4;
  font-size: 18px;
  line-height: 24px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  .page {
    width: 100%;
    min-height: 0;
  }

  .site-header,
  .site-footer {
    width: 100%;
    height: auto;
  }

  .promo-bar {
    height: auto;
    min-height: 52px;
  }

  .promo-inner {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 52px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 14px;
  }

  .promo-tag,
  .promo-coin,
  .promo-inner p,
  .coupon {
    display: none;
  }

  .promo-inner strong {
    position: static;
    min-width: 0;
    color: #1d2730;
    background: none;
    font-size: 16px;
    line-height: 21px;
    white-space: nowrap;
    -webkit-background-clip: border-box;
    background-clip: border-box;
  }

  .grab {
    position: static;
    flex: 0 0 auto;
    width: auto;
    min-width: 88px;
    height: 34px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 30px;
  }

  .nav-bar {
    position: relative;
    z-index: 30;
    height: auto;
    border-bottom: 1px solid #eceef5;
  }

  .nav-inner {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 12px;
  }

  .brand {
    position: static;
    flex: 0 0 auto;
    width: 126px;
    height: auto;
  }

  .brand img {
    width: 100%;
    height: auto;
  }

  .divider {
    position: static;
    flex: 0 0 auto;
    height: 38px;
  }

  .slogan {
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px;
    line-height: 20px;
    white-space: normal;
  }

  .menu-toggle {
    display: flex;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    border: 1px solid #d9edf1;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #11131b;
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 100%;
    z-index: 20;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    border: 1px solid #e7eaf2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 20, 32, .14);
    font-size: 16px;
    line-height: 22px;
  }

  .menu-open .nav-menu {
    display: flex;
  }

  .nav-menu li {
    height: auto;
    white-space: normal;
  }

  .nav-menu a {
    padding: 12px 18px;
  }

  .nav-menu .active::after {
    display: none;
  }

  .nav-menu .hot span {
    left: auto;
    right: 18px;
    top: 11px;
  }

  main {
    width: 100%;
    overflow: hidden;
  }

  .main-content {
    width: 145vw;
    max-width: none;
    height: auto;
    margin-left: -22.5vw;
  }

  .friend-links {
    height: auto;
  }

  .friend-inner {
    width: 100%;
    height: auto;
    padding: 18px 16px 16px;
  }

  .tabs {
    height: auto;
    gap: 24px;
    margin-bottom: 10px;
    overflow-x: auto;
    font-size: 16px;
    line-height: 24px;
    white-space: nowrap;
  }

  .tabs .active::after {
    bottom: -8px;
    width: 100%;
  }

  .line {
    margin-top: 8px;
  }

  .link-list {
    flex-wrap: wrap;
    gap: 10px 18px;
    height: auto;
    padding-top: 14px;
    font-size: 14px;
    line-height: 20px;
    white-space: normal;
  }

  .footer-main {
    height: auto;
  }

  .footer-inner {
    display: grid;
    position: relative;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding: 28px 16px 24px;
  }

  .footer-col,
  .courses,
  .entry,
  .telephone,
  .map {
    position: static;
    width: auto;
  }

  .footer-col {
    text-align: left;
  }

  .footer-col h2 {
    font-size: 18px;
    line-height: 26px;
  }

  .footer-col i {
    width: 22px;
    height: 4px;
    margin: 12px 0 14px;
  }

  .footer-col a {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .telephone,
  .map {
    grid-column: 1 / -1;
  }

  .telephone {
    width: 100%;
  }

  .telephone-top {
    justify-content: center;
  }

  .telephone-top img {
    width: 42px;
    height: 42px;
    margin-right: 12px;
  }

  .telephone-top span {
    font-size: 14px;
    line-height: 18px;
  }

  .telephone-top strong {
    font-size: 28px;
    line-height: 32px;
  }

  .telephone-bottom {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
    justify-content: center;
    gap: 24px;
    margin-top: 18px;
  }

  .qr,
  .wechat,
  .course-qr {
    position: static;
  }

  .qr img {
    width: 105px;
    height: 105px;
  }

  .qr figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  .course-qr figcaption {
    margin-top: 10px;
  }

  .course-qr span {
    min-width: 0;
    height: auto;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 18px;
  }

  .map {
    width: 100%;
  }

  .map img {
    width: 100%;
    max-width: 377px;
    height: auto;
    margin: 0 auto;
  }

  .map p {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 20px;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .promo-inner strong {
    font-size: 15px;
  }

  .brand {
    width: 116px;
  }

  .telephone-bottom {
    gap: 16px;
  }
}
