.mv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.mv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  pointer-events: none;
}

.mv-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.mv-text-inner {
  align-items: center;
  text-align: left;
  display: inline-block;
}

.mv-title {
  font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-align: left;
  display: inline-block;
  white-space: nowrap;
}

.mv-title-car {
  color: #0154A7;
}

.mv-title-industry {
  color: #ffffff;
}

.mv-title-solution {
  color: #08A2E9;
}

.mv-description {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  line-height: 1.8;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.15em;
  display: block;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.25em;
}

.mv-title,
.mv-description {
  opacity: 0;
}

.is-show .mv-title {
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.is-show .mv-description {
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.8s;
}

.mv-title {
  animation-delay: 0.3s;
}

.mv-description {
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(0, 20px);
  }

  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.scroll-down {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 40px;
  justify-content: flex-start;
}

.arrow {
  position: absolute;
  width: clamp(32px, 6vw, 64px);
  height: clamp(32px, 6vw, 64px);
  fill: none;
  stroke-width: 1.2;
  stroke: currentColor;
  color: rgba(255, 255, 255, 0.2);
  animation: arrowMove 2s linear infinite;
  opacity: 0;
}

.delay0 {
  animation-delay: 0s;
}

.delay1 {
  animation-delay: 1s;
}


@keyframes arrowMove {
  0% {
    opacity: 0;
    transform: translateY(0);
    color: rgba(255, 255, 255, 0.1);
  }

  10% {
    opacity: 1;
    color: rgba(255, 255, 255, 0.4);
  }

  40% {
    color: rgba(255, 255, 255, 1);
    transform: translateY(16px);
  }

  80% {
    color: rgba(255, 255, 255, 0.3);
    transform: translateY(32px);
  }

  100% {
    opacity: 0;
    color: rgba(255, 255, 255, 0.0);
    transform: translateY(32px);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .mv {
    height: 75vh;
  }

  .mv-text {
    top: 45%;
  }

  .mv img {
    object-fit: cover;
  }

  .mv-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    white-space: nowrap;
  }

  .mv-description {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    line-height: 1.6;
  }

  .mv-text-inner {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .mv {
    height: 65svh !important;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mv video {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: 50% 50% !important;
  }

  .mv-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: 2;
    margin: 0;
    padding: 0;
  }

  .mv-text-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .mv-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem) !important;
    line-height: 1.4;
    font-weight: bold;
    color: #ffffff;
    display: block;
    width: 100%;
    white-space: normal !important;
    text-align: center !important;
    margin-bottom: 0.5rem;
  }

  .mv-description {
    font-size: clamp(0.75rem, 3.5vw, 1rem) !important;
    line-height: 1.6;
    color: #ffffff;
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }
}

@media (max-width: 768px) and (min-height: 850px) {
  .mv {
    height: 60svh;
  }
}