@keyframes dow_arr1 {
  0% {
    opacity: 0;
  }
  24% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes dow_arr2 {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes large-s {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
.banner {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.banner .txt {
  width: 100%;
  position: absolute;
  top: 40%;
  left: 7.5%;
  transform: translateY(-50%);
}
.banner .txt p {
  color: #fff;
}
.banner .txt span {
  color: #fff;
  display: inline-block;
}
.subnav {
  width: 100%;
  position: relative;
  z-index: 2;
}
.subnav ul {
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 0px 8px #ccc;
}
.subnav ul li {
  padding: 0 1.5rem;
  line-height: 100px;
  color: #333;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.subnav ul li.on {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}
.ctn_1 {
  width: 100%;
  overflow: hidden;
  padding: 5rem 0;
  background-position: center bottom;
  background-color: #f3f2f0;
  background-repeat: no-repeat;
  background-size: 100%;
}
.ctn_1 .title p {
  color: #333;
  display: block;
  text-align: center;
}
.ctn_1 .title span {
  color: #999;
  display: block;
  text-align: center;
  margin-top: 10px;
}
.ctn_1 .course {
  background-position: center center;
  background-repeat: repeat-x;
}
.ctn_1 .course .sw_course {
  padding: 300px 4%;
}
.ctn_1 .course .sw_course .swiper-slide {
  width: 14.6%;
}
.ctn_1 .course .sw_course .swiper-slide .item {
  width: 90px;
  height: 90px;
}
.ctn_1 .course .sw_course .swiper-slide .item .year {
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  box-shadow: 0px 0px 11px #ccc;
  position: relative;
  z-index: 3;
}
.ctn_1 .course .sw_course .swiper-slide .item .year > div {
  text-align: center;
}
.ctn_1 .course .sw_course .swiper-slide .item .year > div p {
  font-size: 24px;
  color: #666;
  line-height: 0.8;
  margin-top: 9px;
}
.ctn_1 .course .sw_course .swiper-slide .item .year > div span {
  font-size: 16px;
  color: #999;
  line-height: 1;
}
.ctn_1 .course .sw_course .swiper-slide:hover .item .year {
  background-color:var(--primary-color);
}
.ctn_1 .course .sw_course .swiper-slide:hover .item .year > div p {
  color: #fff;
}
.ctn_1 .course .sw_course .swiper-slide:hover .item .year > div span {
  color: #fff;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(odd) .des {
  width: 100%;
  position: absolute;
  top: -20px;
  left: 43px;
  z-index: 2;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(odd) .des::before {
  content: '';
  display: block;
  width: 2px;
  height: 170px;
  background-color: #a6a6a5;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(odd) .des::after {
  content: '';
  display: block;
  width: 60%;
  height: 1px;
  background-color: #d5d4d2;
  position: absolute;
  top: 170px;
  left: 0;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(odd) .des .img {
  margin-top: 8px;
  width: 100%;
  padding-top: 55%;
  overflow: hidden;
  position: relative;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(odd) .des .img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(odd) .des .txt {
  margin-top: 10px;
  font-size: 13px;
  color: #333;
  width: 100%;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.5;
  height: 3em;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(even) .des {
  width: 100%;
  position: absolute;
  bottom: -20px;
  left: 43px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(even) .des::before {
  content: '';
  display: block;
  width: 60%;
  height: 1px;
  background-color: #d5d4d2;
  position: absolute;
  bottom: 170px;
  left: 0;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(even) .des::after {
  content: '';
  display: block;
  width: 2px;
  height: 170px;
  background-color: #a6a6a5;
  order: 3;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(even) .des .img {
  width: 100%;
  padding-top: 55%;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
  order: 2;
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(even) .des .img img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ctn_1 .course .sw_course .swiper-slide:nth-child(even) .des .txt {
  width: 100%;
  margin-top: 10px;
  font-size: 13px;
  color: #333;
  order: 1;
  margin-bottom: 8px;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.5;
  height: 3em;
}
@media screen and (max-width: 1366px) {
  .ctn_1 .course .sw_course .swiper-slide {
    width: 16.66%;
  }
}
@media screen and (max-width: 1280px) {
  .subnav ul li {
    line-height: 50px;
  }
}
@media screen and (max-width: 998px) {
  .banner img {
    width: 180%;
    margin-left: -40%;
  }
  .banner .txt {
    top: 52%;
  }
  .ctn_1 .course .sw_course .swiper-slide {
    width: 25%;
  }
}
@media screen and (max-width: 768px) {
  .subnav {
    overflow-x: scroll;
  }
  .subnav ul {
    padding: 0 20px;
    width: auto;
    display: block;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
  }
  .subnav ul li {
    width: 80px;
    display: inline-block;
    font-size: 12px;
    padding: 0 0.5rem;
  }
  .ctn_1 .course .sw_course .swiper-slide {
    width: 60%;
  }
  .ctn_1 .course .sw_course .swiper-slide .item {
    width: 70px;
    height: 70px;
  }
  .ctn_1 .course .sw_course .swiper-slide .item .year > div p {
    font-size: 20px;
  }
}
