.inner-banner .banner .text {
  top: 42%;
}
.ctn1 {
  margin-top: -240px;
}
.ctn1 .swiper-slide {
  overflow: hidden;
}
.ctn1 .swiper-slide .tu {
  border-radius: 15px;
  overflow: hidden;
}
.ctn1 .swiper-slide .tu img {
  width: 100%;
}
.ctn1 .swiper-slide .text {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -50px;
  color: #fff;
  padding: 0 23% 30px 60px;
  opacity: 0;
}
.ctn1 .swiper-slide .text h2 {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.5;
  max-height: 3em;
  line-height: 1.3;
  max-height: 2.6em;
}
.ctn1 .swiper-slide .text h3 {
  margin-top: 10px;
}
.ctn1 .swiper-slide:hover .tu img {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
}
.ctn1 .swiper-slide-active .text {
  opacity: 1;
  bottom: 0;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn1 .swiper-pagination {
  display: none;
}
.ctn1 .swiper-button-prev {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  margin-top: 0;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn1 .swiper-button-prev:before {
  content: '\e61b';
  font-family: iconfont;
  font-size: 18px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: #333;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn1 .swiper-button-prev:hover {
  background: var(--color);
}
.ctn1 .swiper-button-prev:hover:before {
  color: #fff;
}
.ctn1 .swiper-button-next {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  margin-top: 0;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn1 .swiper-button-next:before {
  content: '\e600';
  font-family: iconfont;
  font-size: 18px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  color: #333;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn1 .swiper-button-next:hover {
  background: var(--color);
}
.ctn1 .swiper-button-next:hover:before {
  color: #fff;
}
.ctn2 {
  padding: 80px 0 120px;
}
.ctn2 ul {
  display: flex;
  flex-wrap: wrap;
}
.ctn2 ul li {
  width: 31%;
  margin-top: 40px;
  background: #f7f7f7;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}
.ctn2 ul li a {
  display: block;
  padding: 50px 40px 0;
  height: 520px;
}
.ctn2 ul li a h2 {
  position: relative;
  z-index: 2;
  color: #333;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.5;
  max-height: 3em;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn2 ul li a p {
  position: relative;
  z-index: 2;
  color: #333;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 1.5;
  max-height: 4.5em;
  line-height: 1.6;
  max-height: 4.8em;
  margin-top: 20px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn2 ul li a h3 {
  position: absolute;
  left: 40px;
  bottom: 60px;
  z-index: 2;
  color: #b7b7b7;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn2 ul li a .tu {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
}
.ctn2 ul li a .tu img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ctn2 ul li:not(:nth-child(3n)) {
  margin-right: 3.5%;
}
.ctn2 ul li:hover a h2 {
  color: #fff;
}
.ctn2 ul li:hover a p {
  color: #fff;
}
.ctn2 ul li:hover a h3 {
  color: #fff;
}
.ctn2 ul li:hover a .tu {
  opacity: 1;
}
@media screen and (max-width: 1680px) {
  .ctn1 {
    margin-top: -12vw;
  }
  .ctn1 .swiper-slide .text {
    padding: 0 23% 1.5vw 3vw;
  }
  .ctn2 {
    padding: 4vw 0 6vw;
  }
  .ctn2 ul li {
    margin-top: 2vw;
  }
  .ctn2 ul li a {
    padding: 2.5vw 2vw 0;
    height: 29vw;
  }
  .ctn2 ul li a h3 {
    left: 2vw;
    bottom: 3vw;
  }
}
@media screen and (max-width: 1440px) {
  .ctn2 ul li a p {
    margin-top: 10px;
  }
}
@media screen and (max-width: 1200px) {
  .ctn1 .swiper-button-prev {
    left: 60px;
  }
  .ctn1 .swiper-button-next {
    right: 60px;
  }
}
@media screen and (max-width: 768px) {
  .ctn1 {
    margin-top: 0;
    padding: 40px 0 20px;
  }
  .ctn1 .swiper-slide .tu {
    border-radius: 8px;
  }
  .ctn1 .swiper-slide .text {
    padding: 0 20px 20px 20px;
  }
  .ctn1 .swiper-container {
    padding-bottom: 40px;
  }
    .ctn1 .swiper-button-prev {
    display: none;
  }
  .ctn1 .swiper-button-next {
    display: none;
  }
  .ctn1 .swiper-pagination {
    display: block;
    bottom: 0;
  }
  .ctn1 .swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 3px;
  }
  .ctn1 .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--color);
  }
  .ctn2 {
    padding: 0 0 40px;
  }
  .ctn2 ul {
    justify-content: space-between;
  }
  .ctn2 ul li {
    width: 48.5%;
    margin-top: 14px;
    border-radius: 8px;
  }
  .ctn2 ul li a {
    height: 220px;
    padding: 14px;
  }
  .ctn2 ul li a h2 {
    font-size: 16px;
  }
  .ctn2 ul li a p {
    line-height: 1.5;
    max-height: 4.5em;
  }
  .ctn2 ul li a h3 {
    left: 14px;
    bottom: 20px;
    font-size: 12px;
  }
  .ctn2 ul li:not(:nth-child(3n)) {
    margin-right: 0;
  }
}

