﻿@media (max-width: 480px) {
  .carousel-item {
    height: 150px !important;
  }
  .carousel-item .head-btn {
    display: none;
  }
  .carousel-item .main-center {
    padding: 20px;
  }
  .carousel-item .main-center .h1 {
    font-size: 12px;
    height: 12px;
  }
  .carousel-item .main-center > p {
    font-size: 10px;
    height: 10px;
  }
  .swiper-slide {
    height: 150px !important;
  }
  .swiper-slide .head-btn {
    display: none;
  }
  .swiper-slide .main-center {
    padding: 20px;
  }
  .swiper-slide .main-center .h1 {
    font-size: 12px;
    height: 12px;
  }
  .swiper-slide .main-center > p {
    font-size: 10px;
    height: 10px;
  }
}
.carousel {
  position: relative;
  margin: auto;
  overflow: hidden;
}

.carousel-item > div,.swiper-slide > div {
  padding-top: 142px;
}
.carousel-item > div > .h1,
.swiper-slide > div > .h1 {
  font-weight: 600;
  height: 52px;
  font-size: 52px;
  color: #000000;
  margin-bottom: 24px;
}
.carousel-item > div > p,
.swiper-slide > div > p {
  font-size: 24px;
  height: 24px;
  color: #676767;
  line-height: 24px;
  margin-bottom: 10px;
}
.carousel-item > div > p > span,
.swiper-slide > div > p > span
{
  color: #FF6B00;
}
.carousel-item > div .head-btn,
.swiper-slide > div .head-btn{
  margin-top: 40px;
}
.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  min-width: 100%;
  height: 570px;
  position: relative;
}
#banner {
    height: 600px;
}
.carousel-item img,
.swiper-slide img{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  box-sizing: border-box;
  padding: 0;
  border: none;
  margin: auto;
  display: block;
  width: 0;
  height: 0;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  background: transparent;
}
.swiper-slide img {
    width: 1920px;
}
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.imgcenter {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  box-sizing: border-box;
  padding: 0;
  border: none;
  margin: auto;
  display: block;
  width: 0;
  height: 0;
  min-width: 100%;
  max-width: 100%;
  min-height: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  background: transparent;
}
