.top-mv-box {
  opacity: 0;
  visibility: hidden;
}
.top-mv {
  position: relative;
  overflow: hidden;
}
.top-mv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 1;
  opacity: 0;
  transition: opacity 3s ease;
  pointer-events: none;
}
.top-mv.is-loading::before {
  opacity: 1;
}
.top-mv-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity 2s ease-in-out, visibility 0s 2s;
}
.top-mv-video-container .top-mv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.container.top-mv-inner {
  position: relative;
  z-index: 10;
  height: 100%;
  width: 100%;
}
.top-mv-box {
  transition: opacity 3s ease-in-out, visibility 0s;
}
.top-mv:not(.is-first-visit) .top-mv-video-container {
  display: none;
}
.top-mv.hide-video .top-mv-video-container {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}
.top-mv .hide-video {
  opacity: 0;
  visibility: hidden;
}
.top-mv.show-kv .top-mv-box {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 768px) {
  .top-mv {
    position: relative;
    overflow: hidden;
  }
  .top-mv-video-container .top-mv-video {
    width: 100vw;
    height: auto;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}