.home-hero {
  position: relative;
  overflow: hidden;
  padding: 10rem 1.25rem 7.5rem;
  @media screen and (min-width: 768px) {
    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: 7.5rem;
  }
  @media screen and (min-width: 1440px) {
    padding-left: 10rem;
  }
  
  & .home-hero__bg-illust {
    width: clamp(50rem, 100%, 120rem);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 20%;
    & img {
      position: absolute;
      width: 100%;
      bottom: 0;
      left: 0;
    }
  }
  
  & .home-hero__images-container {
    width: 100%;
    min-width: 30rem;
    align-self: flex-end;
    & > div {
      width: 81.3740458%;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 3rem;
      margin-left: auto;
    }
  }
  
  & .home-hero__title {
    width: 100%;
    max-width: 37.5rem;
    margin-left: auto;
    margin-right: auto;
    @media screen and (min-width: 1200px) {
      margin-left: unset;
      margin-right: unset;
    }
  }
  
  & .home-hero__image {
    @media screen and (min-width: 768px) {
      width: 50%;
    }
  }
  
  & .home-hero__illust {
    position: absolute;
    &.home-hero__illust--1 {
      width: 6.25rem;
      bottom: 0;
      left: -3.5rem;
    }
    &.home-hero__illust--2 {
      width: 2rem;
      top: 50%;
      right: 0;
      transform: translate(100%, -50%) rotate(15deg);
    }
    &.home-hero__illust--3 {
      width: 3.75rem;
      top: 30%;
      right: 10%;
    }
    &.home-hero__illust--4 {
      width: 2.5rem;
      bottom: 0;
      left: 0;
      transform: translate(-50%, 25%) scaleX(-1);
    }
    &.home-hero__illust--5 {
      width: 7.5rem;
      top: 3rem;
      right: 2rem;
    }
    &.home-hero__illust--6 {
      width: 5rem;
      bottom: -3rem;
      left: 1rem;
    }
  }
}

.home-intro-main-image {
  object-fit: cover;
  aspect-ratio: 6 / 7;
  border-top-right-radius: 0.75rem;
  border-top-left-radius: 0.75rem;
  width: 100%;
}
.home-intro-sub-image {
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 0.75rem;
  width: 10rem;
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  @media screen and (min-width: 414px) {
    width: 17.5rem;
    right: -5rem;
    bottom: -8rem;
  }
  @media screen and (min-width: 1200px) {
    top: 2rem;
    right: -2rem;
    bottom: auto;
  }
}
.home-intro-illust {
  position: absolute;
  width: 3.75rem;
  top: 1rem;
  right: 0.5rem;
}

.business-bg-image {
  position: absolute;
  inset: 0;
  &::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background-color: hsl(0 0 0 / 40%);
    pointer-events: none;
  }
  & img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  &.business-bg-image--darker::after {
    background-color: hsl(0 0 0 / 60%);
  }
}

.home-business-link {
  position: absolute;
  bottom: -12.5rem;
  left: 50%;
  transform: translateX(-50%);
  height: 15rem;
  width: 15rem;
  border-radius: 9999px;
  background-color: var(--snow);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity ease 200ms;
  &:hover {
    opacity: 90%;
    text-decoration: none;
  }
  @media screen and (min-width: 1024px) {
    bottom: -5rem;
    width: 17.5rem;
    height: 17.5rem;
    &.home-business-link--1 {
      left: 0;
    }
    &.home-business-link--2 {
      right: 0;
      left: auto;
      transform: translateX(50%);
    }
  }
  @media screen and (min-width: 1200px) {
    bottom: -5rem;
    width: 22.5rem;
    height: 22.5rem;
    transform: none;
    &.home-business-link--1 {
      left: -5rem;
    }
    &.home-business-link--2 {
      right: -5rem;
      transform: none;
    }
  }
  & .home-business-link__illust {
    position: absolute;
    & img {
      width: 100%;
    }
    &.home-business-link__illust--1 {
      width: 111.11111111%;
      bottom: 0;
      left: 0;
      transform: translate(-43%, 45.9363957597%);
    }
    &.home-business-link__illust--2 {
      width: 100%;
      bottom: 0;
      right: 0;
      transform: translate(43%, 45.9363957597%);
      @media screen and (min-width: 768px) {
        transform: translate(65.2777777778%, 16.7364016736%);
      }
    }
  }
}

.home-business-illust {
  position: absolute;
  &.home-business-illust--1 {
    width: 6.25rem;
    top: 5rem;
    left: -2rem;
  }
  &.home-business-illust--2 {
    width: 5rem;
    top: -0.75rem;
    right: 2.5rem;
    @media screen and (min-width: 1024px) {
      rigth: auto;
      left: -8rem;
    }
  }
  &.home-business-illust--3 {
    width: 7.5rem;
    top: 5rem;
    right: -20rem;
  }
  &.home-business-illust--4 {
    width: 7rem;
    bottom: 0;
    left: 10%;
    transform: translateY(120%) rotate(-40deg);
    @media screen and (min-width: 1024px) {
      left: 50%;
      transform: translate(-120%, 120%) rotate(-40deg);
    }
  }
}

.home-recruit-illust {
  position: absolute;
  width: 7.5rem;
  top: 0.5rem;
  right: 1.5rem;
  @media screen and (min-width: 1024px) {
    top: 2.5rem;
    rigth: auto;
    left: -5rem;
  }
}

.button {
  &.button--home-news-1 {
    display: none;
    @media screen and (min-width: 768px) {
      display: flex;
    }
  }
  &.button--home-news-2 {
    @media screen and (min-width: 768px) {
      display: none;
    }
  }
}

.home-news-illust {
  position: absolute;
  width: 5rem;
  &.home-news-illust--1 {
    top: 3rem;
    right: 2.5rem;
  }
  &.home-news-illust--2 {
    bottom: 3.75rem;;
    left: 3.75rem;
  }
}












