@charset "UTF-8";

.l-contents__frame {
  width: auto;
  padding: 0;
}

.l-footer {
  position: relative;
  background: #fff;
}

.l-footer__nav ul {
  justify-content: center;
}

.container {
  position: relative;
  z-index: 0;
}

.container::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../images/content-background_pc.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.container img,
.container video {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.content {
  max-width: 2816px;
  width: calc(100% * 2816 / 3584);
  margin: 0 auto;
}

.content.is-wide {
  max-width: 3584px;
  width: 100%;
}

@media (max-width: 1200px) {
  .content {
    width: 100%;
  }
}

.movie-frame {
  position: relative;
  line-height: 0;
}

.movie-frame--soft-edge::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 4%, transparent 10%),
    linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.6) 4%, transparent 10%),
    linear-gradient(to right, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.35) 4%, transparent 10%),
    linear-gradient(to left, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.35) 4%, transparent 10%);
}

.fv {
  position: relative;
  aspect-ratio: 1280 / 720;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3%;
}

.fv .fv-background-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transform: translateY(12px);
}

.h1 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40%;
  z-index: 10;
  opacity: 0;
  transform: translateY(16px);
}

.fv .fv-background-image,
.fv .h1 .image {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(-12%);
}

.fv .fv-background-image {
  transform: translateY(-80%);
}

.fv-images {
  width: 45%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(28px);
  z-index: 10;
}

.fv .fv-image {
  object-fit: contain;
  will-change: transform;
}

.fv.is-ready .fv-background-video {
  animation: fvFadeIn 0.9s ease-out forwards;
}

.fv.is-ready .fv-images {
  animation: fvFadeIn 0.9s ease-out 0.3s forwards;
}

.fv.is-ready .h1 {
  animation: fvFadeIn 0.9s ease-out 0.6s forwards;
}

.fv.is-ready .fv-image:nth-child(1) {
  animation: floatY 4s ease-in-out 1.2s infinite;
}

.fv.is-ready .fv-image:nth-child(2) {
  animation: floatY 5s ease-in-out 1.5s infinite;
}

.fv.is-ready .fv-image:nth-child(3) {
  animation: floatY 6s ease-in-out 1.8s infinite;
}

@keyframes fvFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv .fv-background-video,
  .fv .fv-images,
  .fv .h1 {
    opacity: 1;
    transform: none;
  }

  .fv.is-ready .fv-background-video,
  .fv.is-ready .fv-images,
  .fv.is-ready .h1,
  .fv.is-ready .fv-image {
    animation: none;
  }
}

.js-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.images {
  position: relative;
}

.movies--01 {
  width: 37%;
  position: absolute;
  top: 50%;
  left: 6.5%;
  transform: translateY(-50%);
  z-index: 10;
}

.movies--02 {
  width: 40%;
  position: absolute;
  top: 50%;
  right: 6.5%;
  transform: translateY(-50%);
  z-index: 10;
}

.movies--03 {
  width: 32%;
  position: absolute;
  top: 50%;
  right: 1%;
  transform: translateY(-50%);
  z-index: 10;
}

.movies--04 {
  width: 44%;
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
  z-index: 10;
}

.offer {
  position: relative;
}

.offer-button {
  width: 55%;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: block;
}

.zoomInOut {
  animation: zoomInOut 1.5s ease-in-out infinite;
}

@keyframes zoomInOut {
  0% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  50% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  100% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}