.home-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 1rem 1.25rem;
  height: calc(var(--vh, 1vh) * 100);
  &::after, &::before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    left: 0;
    height: 8rem;
    background-color: hsl(from var(--snow) h s l / 15%);
    @media screen and (min-width: 768px) {
      height: 12rem;
      padding-right: 2.5rem;
      padding-left: 2.5rem;
    }
    @media screen and (min-width: 1024px) {
      padding-right: 3.75rem;
      padding-left: 3.75rem;
    }
    @media screen and (min-width: 1200px) {
      padding-right: 5rem;
      padding-left: 5rem;
    }
  }
  &::after {
    top: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
  }
  &::before {
    bottom: 0;
    clip-path: polygon(100% 100%, 100% 0, 0 100%);
    z-index: 1;
  }
  
  & .home-hero__image {
    position: absolute;
    inset: 0;
    &::after {
      content: "";
      display: block;
      position: absolute;
      inset: 0;
      background-color: hsl(from var(--sky) h s l / 50%);
    }    
    & img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }
  
  
  & .home-hero__dec-spray, & .home-hero__dec-sub-text, & .home-hero__dec-main-text {
    position: absolute;
    top: 50%;
    left: 50%;
    & img {
      width: 100%;
    }
  }
  & .home-hero__dec-spray {
    transform: translate(-50%, -22%);
    width: 125rem;
    opacity: 60%;
  }
  & .home-hero__dec-sub-text {
    transform: translate(-50%, -220%);
    width: 95%;
    opacity: 60%;
    max-width: 90rem;
    @media screen and (min-width: 768px) {
      transform: translate(-50%, -115%);
    }
  }
  & .home-hero__dec-main-text {
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 80rem;
  }
}

@media screen and (min-width: 1200px) {
  .home-intro-text::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    left: 0;
    width: 100%;
    height: 39rem;
    background-color: var(--blue);
  }
}

.swiper.home-intro-slide {
  visibility: hidden;
  position: absolute;
  bottom: 10rem;
  right: 0;
  left: 0;
  @media screen and (min-width: 768px) {
    visibility: visible;
  }
  & .swiper-wrapper {
    transition-timing-function: linear;
  }
}

.home-intro-dec-spray {
  position: absolute;
  & img {
    width: 100%;
  }
  &.home-intro-dec-spray--1 {
    width: 60rem;
    top: -2rem;
    left: -47rem;
    @media screen and (min-width: 1200px) {
      top: 2rem;
      left: -27rem;
    }
  }
  &.home-intro-dec-spray--2 {
    width: 120rem;
    top: 11rem;
    right: -78rem;
    @media screen and (min-width: 1200px) {
      right: -53rem;
    }
  }
}

.home-about-dec-spray {
  position: absolute;
  width: 125rem;
  bottom: -13rem;
  left: -76rem;
  & img {
    width: 100%;
  }
}






















