section.banner {
  position: relative;
}

.webp section.banner .banner-bottom {
  width: 100%;
  height: 28.2rem;
  background-image: url(../webp/background/bg_under-banner@2x.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -10.3rem;
  /* bottom: -18.3rem; */
  left: 0;
}

.no-webp section.banner .banner-bottom {
  width: 100%;
  height: 28.2rem;
  background-image: url(../images/background/bg_under-banner@2x.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  bottom: -10.3rem;
  left: 0;
}

section.banner .slick-arrow {
  display: none !important;
}

section.banner .slick-dots {
  bottom: 15rem;
  z-index: 1;
}

section.banner .slick-dots li button::before {
  color: var(--white);
  font-size: 0.8rem;
}

section.banner .slider-banner .item {
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  min-height: 90rem;
}

section.banner .slider-banner .item .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center;
}

section.banner .slider-banner .item .bg > picture img {
  object-position: center;
}

/* section.banner .slider-banner .item.slick-active .bg > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(108%);
  animation: scaleDown 9s infinite 0s;
  animation-fill-mode: backwards;
  animation-timing-function: ease-out;
  animation-direction: alternate;
} */

section.banner .slider-banner .item.slick-active .content-first .fadeInUp {
  opacity: 1;
  animation-duration: 1000ms;
  animation-timing-function: ease;
  animation-delay: 500ms;
  animation-name: fadeInUp;
  animation-direction: normal;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

section.banner .slider-banner .item.slick-active .content .fadeInUp {
  opacity: 1;
  animation-duration: 1000ms;
  animation-timing-function: ease;
  animation-delay: 500ms;
  animation-name: fadeInUp;
  animation-direction: normal;
  animation-fill-mode: both;
  animation-iteration-count: 1;
}

section.banner .slider-banner .item .content-first {
  position: absolute;
  top: 48%;
  padding: 0 13.3rem;
  transform: translateY(-40%);
  width: 100vw;
  text-align: center;
  /* max-width: 108.7rem; */
}

section.banner .slider-banner .item .content-first .title {
  font-weight: 900;
  font-size: 4rem;
  line-height: 100%;
  color: transparent;
  margin-bottom: 4rem;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  /* padding: 0 1rem; */
}

section.banner .slider-banner .item.slick-active .content-first .title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--white);
  text-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1),
    0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  animation: animate 2s 0s;
}

section.banner .slider-banner .item .content-first .desc {
  color: var(--white);
  text-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1),
    0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 190%;
  margin-bottom: 4rem;
}

section.banner .slider-banner .item .content-first .link {
  display: inline-block;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 160%;
  background-color: transparent;
  border: 0.2rem solid var(--white);
  border-radius: 4rem;
  text-align: center;
  padding: 1.3rem 2.8rem;
  transition: all 0.3s ease;
}

section.banner .slider-banner .item .content-first .link img {
  margin-left: 1.2rem;
  display: inline;
  vertical-align: bottom;
}

section.banner .slider-banner .item .content-first .link:hover {
  box-shadow: 0.2rem 0.2rem 2rem 0 var(--white);
  /* background-color: var(--green);
  border-color: var(--green); */
}

section.banner .slider-banner .item .content {
  position: absolute;
  top: 48%;
  padding: 0 13.3rem;
  transform: translateY(-40%);
  width: 100vw;
  max-width: 108.7rem;
}

section.banner .slider-banner .item .content .title {
  font-weight: 900;
  font-size: 3rem;
  line-height: 100%;
  color: transparent;
  margin-bottom: 4rem;
  position: relative;
}

section.banner .slider-banner .item.slick-active .content .title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  color: var(--white);
  text-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1),
    0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  animation: animate 2s 0s;
}

section.banner .slider-banner .item .content .desc {
  color: var(--white);
  text-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.1),
    0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 190%;
  margin-bottom: 4rem;
}

section.banner .slider-banner .item .content .link {
  display: inline-block;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 160%;
  background-color: transparent;
  border: 0.2rem solid var(--white);
  border-radius: 4rem;
  text-align: center;
  padding: 1.3rem 2.8rem;
  transition: all 0.3s ease;
}

section.banner .slider-banner .item .content .link img {
  margin-left: 1.2rem;
  display: inline;
  vertical-align: bottom;
}

section.banner .slider-banner .item .content .link:hover {
  box-shadow: 0.2rem 0.2rem 2rem 0 var(--white);
  /* background-color: var(--green);
  border-color: var(--green); */
}

section.banner .xl {
  display: block !important;
}

section.banner .sm {
  display: none !important;
}

@media screen and (min-width: 1366px) {
  section.banner .slider-banner .item.slick-active .bg > picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(108%);
    animation: scaleDown 9s infinite 0s;
    animation-fill-mode: backwards;
    animation-timing-function: ease-out;
    animation-direction: alternate;
  }
}


@media screen and (max-width: 2800px) {
  section.banner .xl {
    display: block !important;
  }

  section.banner .sm {
    display: none !important;
  }

  section.banner .slick-dots {
    bottom: 9rem;
  }

  .webp section.banner .banner-bottom {
    height: 28.2rem;
    background-image: url(../webp/background/bg_under-banner.svg);
  }

  .no-webp section.banner .banner-bottom {
    height: 28.2rem;
    background-image: url(../images/background/bg_under-banner@1x.png);
  }

  section.banner .slider-banner .item {
    min-height: 66rem;
  }
}

@media screen and (max-width: 992px) {
  section.banner .slider-banner .item .content {
    padding: 0 4rem;
  }
}

@media screen and (max-width: 767px) {
  section.banner .xl {
    display: none !important;
  }
  section.banner .sm {
    display: block !important;
  }
  section.banner .slick-dots {
    display: none !important;
  }

  .webp section.banner .banner-bottom {
    bottom: -6rem;
    height: 14.2rem;
  }

  .no-webp section.banner .banner-bottom {
    bottom: -6rem;
    height: 14.2rem;
  }
  section.banner .slider-banner .item .content-first {
    padding: 0 2.4rem;
  }

  section.banner .slider-banner .item .content {
    padding: 0 2.4rem;
  }

  section.banner .slider-banner .item {
    min-height: 59.4rem;
  }

  section.banner .slider-banner .item .content-first .title {
    font-size: 2.4rem;
    line-height: 150%;
    margin-bottom: 2rem;
  }

  section.banner .slider-banner .item .content .title {
    font-size: 2.4rem;
    line-height: 150%;
    margin-bottom: 2rem;
  }

  section.banner .slider-banner .item .content-first .title.first {
    margin-bottom: 0;
  }

  section.banner .slider-banner .item .content .title.first {
    margin-bottom: 0;
  }

  section.banner .slider-banner .item .content-first .desc {
    font-size: 1.6rem;
    line-height: 160%;
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
  }

  section.banner .slider-banner .item .content .desc {
    font-size: 1.4rem;
    line-height: 160%;
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
  }

  /* section.banner .slider-banner .item .content-first .link {
    background-color: var(--green);
    border-color: var(--green);
  }

  section.banner .slider-banner .item .content .link {
    background-color: var(--green);
    border-color: var(--green);
  } */

  /* section.banner .slider-banner .item .content-first .link:hover {
    box-shadow: 0.2rem 0.2rem 2rem 0 var(--green);
  }

  section.banner .slider-banner .item .content .link:hover {
    box-shadow: 0.2rem 0.2rem 2rem 0 var(--green);
  } */
}

@media screen and (max-width: 480px) {
  .webp section.banner .banner-bottom {
    background-image: url(../webp/background/bg_under-banner-sp.svg);
  }

  .slick-dotted.slick-slider {
    margin-bottom: 15px !important;
  }

  .no-webp section.banner .banner-bottom {
    background-image: url(../images/background/bg_under-banner-sp@1x.png);
  }

  section.banner .slider-banner .item .content {
    top: 46%;
    padding-right: 5.8rem;
  }

  section.banner .slider-banner .item .content-first .desc {
    text-align: left;
    margin: 0 auto;
  }

  /* section.banner .slider-banner .item .bg > picture img */

  section.banner .slider-banner .item:nth-child(1) .bg > picture img {
    object-position: -550px 0;
  }
  section.banner .slider-banner .item:nth-child(2) .bg > picture img {
    object-position: -120px 0;
  }
  section.banner .slider-banner .item:nth-child(3) .bg > picture img {
    object-position: -230px 0;
  }
  section.banner .slider-banner .item:nth-child(4) .bg > picture img {
    object-position: -402px -60px;
  }
  section.banner .slider-banner .item:nth-child(5) .bg > picture img {
    object-position: -440px 0;
  }
  section.banner .slider-banner .item:nth-child(6) .bg > picture img {
    object-position: -600px -150px;
  }

  section.banner .slider-banner .item .content-first .desc {
    width: 340px;
    height: 145px;
  }

  section.banner .slider-banner .item:nth-child(2) .content .desc {
    width: 300px;
  }

  section.banner .slider-banner .item:nth-child(5) .content .desc {
    width: 310px;
  }

}
