@charset "utf-8";

.p-breadcrumb {
  margin-top: 100px;
  position: relative;
  z-index: 25;

  @media (width < 768px) {
    margin-top: 68px;
  }
}

.p-breadcrumb__inner {
  padding: 0 27px;
  max-width: none;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 43px;

  @media (width < 1120px) {
    padding: 0 20px;
  }
}

.p-breadcrumb__text {
  color: #aaaaaa;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.06em;
  position: relative;

  a:hover {
    opacity: 0.7;
  }
}

.p-breadcrumb__text:not(:last-of-type)::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translateY(-50%);
  right: -26px;
  width: 7px;
  height: 8px;
  background: #aaaaaa;
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
}

.p-fv {
  margin-top: 18px;
  overflow: hidden;

  @media (width < 768px) {
    margin-top: 0;
  }
}

.p-fv__inner {
  max-width: 1350px;
}

.p-fv__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  @media (width < 768px) {
    flex-direction: column-reverse;
    align-items: start;
  }

  .c-heading {
    margin-left: 70px;
    min-width: fit-content;

    @media (width < 1120px) {
      margin-left: 0;
    }
  }

  .c-heading__en {
    line-height: 1;
  }

  .c-heading__ja {
    line-height: 3;
  }
}

.p-fv__bg-text {
  margin-top: 12px;
  color: transparent;
  -webkit-text-stroke: 0.006em #e0a29e;
  paint-order: stroke;
  font-family: var(--font-noto-sans);
  font-size: clamp(60px, calc(150vw / 13.66), 150px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;

  @media (width < 768px) {
    margin-top: 0;
    align-self: flex-end;
    transform: translateX(20px);
  }
}

.p-fv__bg-text.is-long {
  margin-left: clamp(0px, calc(94vw / 13.66), 94px);

  @media (width < 1120px) {
    margin-left: 0;
  }

  @media (width < 768px) {
    transform: translateX(3em);
  }
}

.p-fv-slides {
  margin-top: 8px;
  overflow: visible;

  @media (width < 768px) {
    margin-top: 30px;
  }

  .p-fv-slides__wrapper {
    display: flex;
    width: max-content;
  }

  .p-fv-slides__items {
    display: flex;
    align-items: start;
    animation: infinity-scroll 30s linear infinite both;
  }

  .p-fv__slide {
    margin-right: 25px;
    width: 397px;
    aspect-ratio: 397 / 264;
    border-radius: 5px;
    object-fit: cover;

    @media (width < 768px) {
      margin-right: 12px;
      width: 200px;
    }
  }

  .p-fv__slide:nth-of-type(even) {
    margin-top: 40px;
  }
}

@keyframes infinity-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.gjs-dashed *[data-highlightable] .p-fv-slides {
  .p-fv-slides__wrapper {
    width: 100%;
    flex-direction: column;
  }

  .p-fv-slides__items {
    animation: none;
  }

  .p-fv__slide {
    width: 22%;
    width: auto;
    height: auto;
  }
}
