.home-hero {
  padding-bottom: 5rem;
  position: relative;
  height: 37.5rem;
  
  @media screen and (min-width: 1024px) {
    padding-bottom: 10rem;
    height: 46.875rem;
  }
  
  & .home-hero__image {
    -webkit-mask-image: url("/system_panel/uploads/images/rounded-mask--bottom.png");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-image: url("/system_panel/uploads/images/rounded-mask--bottom.png");
    mask-size: 100% 100%;
    mask-position: center;
  }
}

.decoration-title {
  font-size: 7.5rem;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0.15;
  color: var(--blue);
  line-height: 1;
  
  @media screen and (min-width: 768px) {
    font-size: 10rem;
  }
  @media screen and (min-width: 1024px) {
    font-size: 15rem;
  }
  @media screen and (min-width: 1200px) {
    font-size: 20rem;
  }
  
  &.decoration-title--company {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: -1;
  }
  &.decoration-title--news {
    position: absolute;
    bottom: 0;
    left: 0;
    bottom: 0;
    z-index: -1;
  }
}

.home-gallery {
  &.swiper {
    overflow: visible;
  }
  &:not(.swiper-initialized) {
    & .swiper-wrapper {
      display: flex;
      gap: 2rem;
      overflow-x: auto;
    }
    & .swiper-slide {
      min-width: 400px !important;
      width: 400px;
    }
  }
  & .swiper-slide img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 3 / 2;
  }
  & .swiper-wrapper {
    transition-timing-function: linear;
  }
}

.home-recruit {
  padding-top: 7.5rem;
  padding-bottom: 5rem;
  
  @media screen and (min-width: 1024px) {
    padding-top: 15rem;
    padding-bottom: 10rem;
  }
  .home-recruit__image {
    & img {
      -webkit-mask-image: url("/system_panel/uploads/images/rounded-mask--bottom.png");
      -webkit-mask-size: 100% 100%;
      -webkit-mask-position: center;
      mask-image: url("/system_panel/uploads/images/rounded-mask--bottom.png");
      mask-size: 100% 100%;
      mask-position: center;
      width: 100%;
      height: calc(100% - 15px);
      position: absolute;
      top: 0;
      left: 0;
      object-fit: cover;
    }
    
    &::before {
      content: "";
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-image: url("/system_panel/uploads/images/rounded-mask--blue.png");
      background-size: 100% 100%;
      background-position: center bottom;
    }
  }
}
