.home-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7.5rem 1.25rem 2rem;
  height: 30rem;
  @media screen and (min-width: 768px) {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    height: 35rem;
  }
  @media screen and (min-width: 1024px) {
    padding-right: 3.75rem;
    padding-left: 3.75rem;
    height: 40rem;
  }
  @media screen and (min-width: 1200px) {
    padding-right: 5rem;
    padding-left: 5rem;
    height: calc(var(--vh, 1vh) * 100);
  }
  
  & .home-hero__slide {
    position: absolute;
    inset: 0;
    &::after {
      content: "";
      display: block;
      position: absolute;
      inset: 0;
      background-color: hsl(from var(--sepia) h s l / 30%);
      pointer-events: none;
      z-index: 1;
    }
    & img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }
  
  & .home-hero__title {
    position: relative;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: center;
    color: var(--snow);
    z-index: 1;
    & .home-hero__title-en {
      letter-spacing: 0.08em;
      font-size: 1.75rem;
    }
    & .home-hero__title-ja {
      font-size: 0.625rem;
      font-weight: 500;
    }
    @media screen and (min-width: 768px) {
      & .home-hero__title-en {
        font-size: 3rem;
      }
      & .home-hero__title-ja {
        font-size: 1rem;
      }
    }
    @media screen and (min-width: 1024px) {
      gap: 1rem;
      & .home-hero__title-en {
        font-size: 4rem;
      }
      & .home-hero__title-ja {
        font-size: 1.25rem;
      }
    }
    @media screen and (min-width: 1200px) {
      & .home-hero__title-en {
        font-size: 5rem;
      }
      & .home-hero__title-ja {
        font-size: 1.5rem;
      }
    }
  }
}

.edge-stitching {
  z-index: 1;
}

.section-title .section-title__num--home {
  position: absolute;
  top: 0;
  left: 0.25rem;
  transform: translateY(calc(-100% - 1rem));
  opacity: 100%;
  &::before {
    color: var(--midnight);
    @media screen and (min-width: 1024px) {
      font-size: 4rem;
    }
  }
  &::after {
    top: -1.25rem;
    left: -2.25rem;
    background-image: url(/system_panel/uploads/images/navy-spark.svg);
  }
  @media screen and (min-width: 1200px) {
    left: 0;
    transform: translate(calc(-100% - 0.625rem), calc(-100% - 0.25rem));
  }
}

.section-title-increment:nth-child(even) .section-title .section-title__num--home {
  @media screen and (min-width: 1200px) {
    left: auto;
    right: 0;
    transform: translate(calc(100% + 0.625rem), calc(-100% - 0.25rem));
  }
}











