.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  @media (min-width: 1200px) {
    height: calc(var(--hv, 1vh) * 100);
  }
  
  & .home-hero__bg-dec {
    position: absolute;
    &.home-hero__bg-dec--1 {
      width: 12.5rem;
      top: 6.25rem;
      left: 3.75rem;
    }
    &.home-hero__bg-dec--2 {
      width: 8.125rem;
      top: 3rem;
      right: 17.75rem;
    }
    &.home-hero__bg-dec--3 {
      width: 6.25rem;
      top: 31.25rem;
      right: 17rem;
    }
    &.home-hero__bg-dec--4 {
      width: 5.625rem;
      bottom: 9.625rem;
      left: 12.375rem;
    }
  }
  & .home-hero__content {
    position: relative;
    height: 41.25rem;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding-bottom: 3.125rem;
    @media (min-width: 414px) {
      height: 43rem;
    }
    @media (min-width: 1200px) {
      height: 100%;
    }
  }
  & .home-hero__layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  & .home-hero__main-image {
    object-fit: cover;
    aspect-ratio: 840 / 776;
    position: absolute;
    top: 3.75rem;
    left: 1rem;
    border-bottom-right-radius: 2rem;
    width: clamp(26.5rem, 52.5%, 52.5rem);
    @media (min-width: 768px) {
      top: 50%;
      left: 50%;
      transform: translate(calc(-50% + 2.5rem), -50%);
    }
  }
  
  & .home-hero__sub-image {
    position: absolute;
    object-fit: cover;
    display: none;
    &.home-hero__sub-image--1 {
      width: 20rem;
      asplect-ratio: 3 / 2;
      border-bottom-left-radius: 1rem;
      bottom: 11.75rem;
      left: 11.25rem;
      @media (min-width: 1200px) {
        display: block;
      }
    }
    &.home-hero__sub-image--2 {
      width: 12rem;
      asplect-ratio: 5 / 4;
      border-top-left-radius: 1rem;
      top: 50%;
      right: -4rem;
      transform: translateY(calc(-50% - 2.5rem));
      @media (min-width: 768px) {
        display: block;
      }
      @media (min-width: 1200px) {
        width: 15rem;
        right: -1.75rem;
      }
    }
    &.home-hero__sub-image--3 {
      width: 15rem;
      asplect-ratio: 1 / 1;
      border-top-left-radius: 1rem;
      top: 50%;
      right: -4rem;
      transform: translateY(calc(-50% + 16rem));
      @media (min-width: 768px) {
        display: block;
      }
      @media (min-width: 1200px) {
        width: 17.5rem;
        right: -1.75rem;
      }
    }
  }
  
  & .home-news-list {
    pointer-events: auto;
    position: relative;
    padding: 2rem 1.25rem 1rem;
    background-color: var(--snow);
    border-top-left-radius: 1rem;
    border-bottom: 1px solid var(--indigo);
    @media (min-width: 768px) {
      padding: 2rem;
      max-width: 22.625rem;
      margin-left: 2.5rem;
    }
    @media (min-width: 1200px) {
      position: absolute;
      margin-left: 0;
      bottom: 1.875rem;
      left: 2.5rem;
    }
    &::before {
      content: "";
      position: absolute;
      right: 0;
      bottom: 0;
      aspect-ratio: 1 / 1;
      border-bottom: 3rem solid var(--indigo);
      border-left: 3rem solid transparent;
    }
    &::after {
      content: "What’s new";
      line-height: 1;
      letter-spacing: 0;
      font-size: 3rem;
      font-weight: 900;
      color: var(--indigo);
      position: absolute;
      top: -2rem;
      left: -1.25rem;
    }
  }
  
  &::before,
  &::after {
    pointer-events: none;
    z-index: -1;
    content: "";
    position: absolute;
    aspect-ratio: 1 / 1;
    background: linear-gradient(to top left, transparent calc(50% - 1px), var(--indigo) 50%, transparent calc(50% + 1px));
    top: 0;
    left: 0;
    pointer-events: none;
  }
  &::before {
    width: 37rem;
  }
  &::after {
    display: none;
    @media (min-width: 768px) {
      display: block;
      width: 20rem;
    }
    @media (min-width: 1200px) {
      right: -2.5rem;
      left: auto;
      width: 500%;
    }
  }  
}

.home-hero-title {
  position: absolute;
  mix-blend-mode: difference;
  width: 100%;
  max-width: 40.5rem;
  top: 27rem;
  left: 0;
  @media (min-width: 414px) {
    top: 28.5rem;
  }
  @media (min-width: 768px) {
    top: 20rem;
  }
  @media (min-width: 1200px) {
    top: 13.125rem;
    left: 6.875rem;
  }
}

.home-intro-bg-dec {
  position: absolute;
  width: 5rem;
  bottom: -2rem;
  left: -1.125rem;
  z-index: 1;
  @media (min-width: 768px) {
    width: 9rem;
  }
  @media (min-width: 1024px) {
    bottom: 0;
    left: -3rem;
  }
  @media (min-width: 1200px) {
    bottom: 13.5rem;
    left: 5.3125rem;
  }
}

.home-intro-typo {
  width: 100%;
  max-width: 35rem;
  @media (min-width: 1024px) {
    max-width: 30rem;
    position: absolute;
    top: 2rem;
    left: 6.25rem;
  }
  @media (min-width: 1200px) {
    max-width: 35rem;
    left: 11.75rem;
  }
}

.home-intro-image {
  position: relative;
  aspect-ratio: 335 / 375;
  @media (min-width: 1024px) {
    aspect-ratio: unset;
  }
}

.home-intro-content {
  @media (min-width: 1024px) {
    max-width: 25rem;
    padding: 15rem 0 7.5rem;
    & .section-title .section-title__ja {
      font-size: 2.25rem;
    }
  }
  @media (min-width: 1200px) {
    padding-top: 20rem;
    max-width: 30rem;
  }
}

.marked-card.maarked-card--br-mark {
  padding: 1rem 1.5rem;
  border-radius: 1rem 0 0 0;
  border-bottom: 1px solid var(--indigo);
  box-shadow: var(--elevation);
  margin-top: -3.75rem;
  margin-left: 0.625rem;
  @media (min-width: 768px) {
    padding: 2rem;
    margin-left: 2.5rem;
  }
  &::before {
    inset: auto 0 0 auto;
    aspect-ratio: 1 / 1;
    border-top: none;
    border-right: none;
    border-bottom: 2rem solid var(--indigo);
    border-left: 2rem solid transparent;
    @media (min-width: 768px) {
      border-bottom-width: 3rem;
      border-left-width: 3rem;
    }
  }
}
.home-service-num {
  position: absolute;
  top: -8.25rem;
  right: -0.625rem;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
  font-size: 10rem;
  color: var(--indigo);
}

.home-statement {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 3.75rem 3.75rem;
  padding: 17.5rem 1.125rem 10rem;
  @media (min-width: 768px) {
    padding-left: 7.5rem;
    padding-right: 2.5rem;
  }
  @media (min-width: 1024px) {
    padding-right: 3.75rem;
  }
  @media (min-width: 1200px) {
    padding-left: 20rem;
    padding-right: 5rem;
  }
  
  & .section-title .section-title__ja {
    font-size: 1.25rem;
    @media (min-width: 768px) {
      font-size: 2rem;
    }
    @media (min-width: 1024px) {
      font-size: 2.25rem;
    }
    @media (min-width: 1200px) {
      font-size: 2.5rem;
    }
  }
  & .home-statement__no-br-paragraph br:nth-child(3) {
    display: none;
    @media (min-width: 768px) {
      display: inline;
    }
  }
  
  & .home-statement__bg-image {
    position: absolute;
    inset: 0;
    &::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(265deg, rgba(21, 40, 103, 0.64) 0%, rgba(3, 8, 24, 0.72) 50%, rgba(3, 8, 24, 0.80) 100%);
    }
    & img {
      object-fit: cover;
      width: 100%;
      height: 100%;
      opacity: 15%;
    }
  }
  
  & .home-statement__typo {
    position: absolute;
    top: 10.875rem;
    right: -1.5rem;
    z-index: 2;
    width: 20rem;
    @media (min-width: 768px) {
      width: 30rem;
    }
    @media (min-width: 1024px) {
      width: 40rem;
    }
    @media (min-width: 1200px) {
      width: 51.25rem;
      top: 21.875rem;
      right: auto;
      left: -2rem;
    }
  }
}

.diagonal-lines--statement::before {
  z-index: 1;
}

.home-bg-image-tr {
  opacity: 50%;
  z-index: 2;
  width: clamp(9rem, 15%, 15rem);
  position: absolute;
  top: 3.125rem;
  right: -1rem;
  object-fit: cover;
  asplect-ratio: 3 / 2;
  @media (min-width: 768px) {
    right: 8.75rem;
  }
}

.home-bg-image-bl {
  opacity: 50%;
  z-index: 2;
  width: clamp(9rem, 15%, 15rem);
  position: absolute;
  bottom: 2.5rem;
  left: -1rem;
  object-fit: cover;
  asplect-ratio: 3 / 2;
  @media (min-width: 768px) {
    left: 5.625rem;
  }
}

.home-bg-images {
  z-index: 2;
  opacity: 50%;
  position: absolute;
  display: flex;
  flex-direction: column;
  &.home-bg-images--tl {
    width: clamp(13rem, 22.5%, 22.5rem);
    top: 1.25rem;
    left: -1.25rem;
    @media (min-width: 768px) {
      left: 1.25rem;
    }
  }
  &.home-bg-images--br {
    width: clamp(13rem, 25%, 25rem);
    bottom: 1.5rem;
    right: -3rem;
    @media (min-width: 768px) {
      bottom: 2rem;
      right: 1.25rem;
    }
  }
  
  & .home-bg-image {
    object-fit: cover;
    &.home-bg-image--1 {
      aspect-ratio: 5 / 4;
      border-top-left-radius: 1rem;
      width: 66.5434380776%;
      margin-left: auto;
    }
    &.home-bg-image--2 {
      aspect-ratio: 1 / 1;
      border-bottom-right-radius: 1rem;
      width: 66.5434380776%;
      transform: translateY(-21.1111111111%);
    }
    &.home-bg-image--3 {
      aspect-ratio: 1 / 1;
      border-top-right-radius: 1rem;
      width: 60%;
      margin-left: auto;
    }
    &.home-bg-image--4 {
      aspect-ratio: 5 / 4;
      border-top-left-radius: 1rem;
      width: 80%;
      transform: translateY(-20.8333333333%);
    }
  }
}

.home-business-image {
  position: relative;
  opacity: 60%;
  border-radius: 0 1.5rem 1.5rem 0;
  aspect-ratio: 16 / 9;
  @media (min-width: 1024px) {
    flex: 1 1 0%;
    aspect-ratio: unset;
    max-width: 25rem;
    margin-left: -18rem;
  }
  @media (min-width: 1200px) {
    margin-left: -16rem;
  }
  & img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.home-business-bg-typo {
  display: none;
  position: absolute;
  top: 4rem;
  bottom: 4rem;
  left: 50%;
  width: 321.25rem;
  transform: translateX(calc(-50% + 33.75rem));
  & img {
    width: 100%;
  }
  @media (min-width: 1024px) {
    display: block;
  }
}

.home-recruit {
  position: relative;
  overflow: hidden;
  border-radius: 3.75rem 3.75rem 0 0;
  padding-bottom: 7.5rem;
  background-color: var(--snow);
  
  @media (min-width: 1024px) {
    padding-bottom: 0;
  }
}


.swiper:not(.swiper-initialized).home-recruit-slider .swiper-wrapper {
  display: flex;
  overflow: auto;
  & .swiper-slide {
    min-width: 60%;
  }
}

.swiper.home-recruit-slider {
  width: 100%;
  @media (min-width: 1024px) {
    height: 100%;
  }
  & .swiper-slide {
    & img {
      object-fit: cover;
      aspect-ratio: 2 / 3;
    }
  }
}

.home-business-bg-typo {
  & .swiper .swiper-wrapper {
    transition-timing-function: linear;
  }
}

.home-recruit-dec {
  position: absolute;
  &.home-recruit-dec--tl {
    width: 15.875rem;
    top: -3.75rem;
    left: -5.5rem;
  }
  &.home-recruit-dec--tr {
    width: 13rem;
    top: -2rem;
    right: -8.25rem;
  }
  &.home-recruit-dec--br {
    width: 7rem;
    bottom: -0.25rem;
    right: -4.875rem;
  }
  &.home-recruit-dec--bl {
    width: 8.75rem;
    bottom: 2rem;
    left: -8.75rem;
  }
}

.swiper.home-recruit-slider {
  & .swiper-slide img {
    width: 100%;
    object-fit: cover;
  }
  & .swiper-wrapper {
    transition-timing-function: linear;
  }
  
  @media (min-width: 1024px) {
    & .swiper-slide img {
      height: 100%;
    }
  }
}

.home-blog-typo {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: clamp(25rem, 46.25%, 46.25rem);
}


.insta-list {
  & .webgene-blog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  & .webgene-no-items {
    grid-column: span 2 / span 2;
  }
    
  @media (min-width: 768px) {
    & .webgene-blog {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    & .webgene-no-items {
      grid-column: span 3 / span 3;
    }
  }
  @media (min-width: 1200px) {
    & .webgene-blog {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    & .webgene-no-items {
      grid-column: span 6 / span 6;
    }
  }
}






