@font-face {
  font-family: SourceHanSansCN;
  src: url(https://res.variflight.com/public_lib/font/SourceHanSansCN-Medium.ttf) format("truetype");
  font-display: "auto";
  font-style: normal
}
body{
  font-size: 16px;
  color: #333;
  font-family: SourceHanSansCN;
}
*{
  margin: 0;
  padding: 0;
}
p{
  margin: 0;
  padding: 0;
}
.flex {
  display: flex;
}
.flex-wrap {
  flex-wrap: wrap;
}
.justify-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.block{
  display: block;
}
.w-full{
  width: 100%;
}
[v-cloak]{
  display: none;
}

/* 超出一行就显示省略号 */
.ellipsis-one-line {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* 超出两行显示省略号 */
.ellipsis-two-lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 显示的行数 */
  overflow: hidden;
  text-overflow: ellipsis;
}


/* 根据比例显示的图片 */
.aspect-ratio-image{
  width: 100%;
  padding-bottom: 66.48%;  /* 高度 / 宽度 * 100%； 例如宽度364，高度241.98 即 241.98 / 364 * 100% = 66.48% */
  position: relative;
  overflow: hidden;
  display: block;
}
.aspect-ratio-image img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.u-container{
  padding: 0 0.3rem;
}
@media screen and (min-width: 1200px) {
  .u-container{
    width: 1200px;
    margin: 0 auto;
    padding: 0;
  }
}

/* ------------------- header ------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  bottom:0;
  right: 0;
  background-color: #2c21d0;
  z-index: 99;
}
.header nav{
  height: 1.320755rem;
  display: flex;
  justify-content: space-between;
  font-size: .339623rem;
  align-items: center;
  position: relative;
}
.header nav .logo{
  display: flex;
  align-items: center;
  z-index: 100;
  cursor: pointer;
  width: 2.5rem;
  height: 1.1453333rem;
}
.header nav .logo img {
  width: 100%;
}
.header nav .mobile-menu {
  position: absolute;
  right: .056604rem;
  top: 0;
  align-items: center;
  height: 1.320755rem;
}
.header nav .mobile-menu .menu-more {
  cursor: pointer;
  width: .754717rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: .09434rem;
  height: 100%;
}
.header nav .mobile-menu .menu-more img {
  width: 100%;
}
.header nav .mobile-menu .mobile-menu-list {
  position: fixed;
  background-color: rgb(22 84 245);
  top: 1.320755rem;
  left: 0;
  width: 100%;
}
.header nav .mobile-menu .mobile-menu-list ul li {
  font-size: 0.35rem;
  height: 1.056604rem;
  line-height: 1.056604rem;
}
.header nav .mobile-menu .mobile-menu-list ul li a {
  display: block;
  width: 100vw;
  position: absolute;
  left: 0;
  padding-left: 20px;
  color: #fff;
  cursor: pointer;
}
.header nav .web-menu{
  flex:1;
  display: none;
  justify-content: space-between;
  align-items: center;
}
.header nav .web-menu ul{
  display: flex;
  margin-left: 0.4rem;
}
.header nav .web-menu ul li{
  height: 100%;
  position: relative;
  padding: 0 0.4rem;
  cursor: pointer;
  position: relative;
}
.header nav .web-menu .menus ul li>a {
  display: block;
  height: 100%;
  font-size: 16px;
  color: #fff;
}
.header nav .web-menu .menus ul li.active a {
  font-weight: 600;
}
@media only screen and (min-width: 1200px) {
  .header nav .mobile-menu {
    display: none;
  }
  .header nav .web-menu{
    display: flex;
  }
}


/* --------- banner --------- */
.banner img{
  width: 100%;
  display: block;
}


/* scroll-to-top */
.scroll-to-top{
  position: fixed;
  bottom: 0.3rem;
  right: 0.3rem;
}
.scroll-to-top img{
  width: 38px;
}




/* -----------------  swiper ------------------- */
/* 异形的swiper */
.scale-carousel {
  position: relative;
}
.scale-carousel .swiper-slide {
  width: 680px;
  height: 453px;
}
.scale-carousel .item-swiper-slide{
  width: 100%;
  height: 100%;
  position: relative;
}
.scale-carousel .swiper-slide .picture{
  width: 100%;
  height: 100%;
}
.scale-carousel .swiper-slide  .picture img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.scale-carousel .swiper-button-prev{
  left: 0;
}
.scale-carousel .swiper-button-next{
  right: 0;
}


/* 默认的swiper */
.default-swiper, .default-swiper .item-swiper-slide img{
  width: 100%;
  height: 100%;
}

















































