@charset "UTF-8";


/*---------------------------
loaading
---------------------------*/
.video-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.video-loader.loaded {
  opacity: 0;
  pointer-events: none;
}

/* スピナー */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top: 5px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/*---------------------------
OP
---------------------------*/
#top_mainmovie {
  position: relative;
  background: #000;
}

video {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

.mainmovie {
  width: 100%;
  max-width: 1500px;
  line-height: 0;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.mainmovie img {
  width: 100%;
}

.mainmovie_wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.mainmovie video {
  transition: 1s;
  z-index: 1;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
}

.btn_skip {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
}

.btn_replay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 9;
  cursor: pointer;
}

.btn_skip span,
.btn_replay span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 30px;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.1em;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 0.6s ease;
  text-decoration: none;
  font-size: 16px;
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  color: #000;
}

.btn_replay span {
  opacity: 0;
  animation: btnReplay 0.1s ease 0.1s forwards;
}

@keyframes btnReplay {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.mainmovie_fix {
  width: 100%;
  position: relative;
  box-shadow: 0px 0px 15px #000, 0px 0px 30px #000;
}

.mainmovie_fix img {
  opacity: 0;
}

.mainmovie_fix .caption {
  position: absolute;
  bottom: 0;
  /* right: 10px; */
  right: 0;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: right;
  color: #FFF;
  /* text-shadow: 0px 0px 4px #231815; */
  /* padding: 0 10px 10px 0; */
  background: #000;
  padding: 3px 5px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 10;
}


/* sp */
@media only screen and (max-width: 767px) {
  /*#top_mainmovie {
    padding-top: 60px;
  }*/

  .mainmovie_fix .caption {
    /* right: 5px; */
    font-size: 12px;
    /* padding: 3px 5px; */
  }
}


@media only screen and (max-width: 640px) {
  .btn_skip {
    position: absolute;
    top: 10px;
    right: 6px;
  }

  .btn_replay {
    position: absolute;
    top: 10px;
    right: 6px;
  }

  .btn_skip span,
  .btn_replay span {
    width: 75px;
    height: 20px;
    font-size: 12px;
  }
}