/* ============================================
   動画セクション CSS - SP版
   元ファイル: coding/src/styles/global/parts/sp/_movie-content.scss
============================================ */

.creator .movie {
  width: 100%;
}

.creator .movie .ttl_cont_main::before,
.creator .movie .ttl_cont_main::after {
  display: none;
}

.movie__head {
  margin-bottom: 3%;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  line-height: 1;
}

.movie__ttl {
  margin-bottom: 7% !important;
  font-size: 4.063vw !important;
  font-weight: 700 !important;
  text-align: center !important;
  line-height: 1 !important;
}

.movie__ttl + .movie__ttl {
  margin-bottom: 4%;
}

.movie-content__link {
  padding-right: 15px;
  margin-top: 6px;
  text-align: right;
}

.movie-content__link a {
  position: relative;
  padding: 0 2rem 4px 0;
  border-bottom: 1px solid #333;
  font-size: 3.13vw;
  color: #333;
  text-align: right;
}

.movie-content__link a::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  display: inline-block;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
  transform: translate(0, -50%) rotate(45deg);
  margin-top: -2px;
}

.movie-content__link a:hover {
  opacity: 0.5;
}

.movie-content__link a:hover::after {
  transform: translate(0, -80%) rotate(45deg);
  transition: transform 0.5s;
}

.movie__txt {
  align-self: center;
  font-size: 3.75vw !important;
  font-weight: 500;
  line-height: 1.7 !important;
  text-align: left;
  letter-spacing: 0.025em;
}

.movie__txt span {
  font-weight: 500;
}

.movie__wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  /* padding: 0 15px; */
  margin: 0 auto;
  z-index: 1;
}

.movie__bx {
  /* padding: 0 15px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* data-type="double" */
.movie__bx[data-type="double"] .movie__thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 56%;
}

.movie__bx[data-type="double"] .movie__thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

/* .movie__bx[data-type="double"]:first-of-type {
  margin-bottom: 10%;
} */

/* data-type="single" */
.movie__bx[data-type="single"] .movie__thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 56%;
}

.movie__bx[data-type="single"] .movie__thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

/* data-type="small" */
.movie__bx[data-type="small"] .movie_txt {
  width: 70%;
  margin: 0 auto 5%;
}

.movie__bx[data-type="small"] .movie_txt img {
  width: 100%;
  height: auto;
}

/* data-type="inline" */
.movie__bx[data-type="inline"] {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0px;
  margin: 0 auto 0;
}

.movie__bx[data-type="inline"] iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.movie__bx[data-type="inline"] .player {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.movie__bx[data-type="inline"] .thumb {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

/* サムネイル共通 */
.movie__thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  /* padding-top: 56%; */
}

.movie__thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.creator .movie video {
  background-color: #f7f7f7;
}

/* 再生ボタン */
.btn__play {
  position: absolute;
  top: calc(50% - 35px);
  left: 50%;
  transform: translate(-50%);
  width: 70px;
  height: 70px;
  z-index: 2;
  cursor: pointer;
  opacity: 1;
  -webkit-transition: all .5s;
  transition: all .5s;
}

.btn__play img {
  width: 100%;
}

.movie-btn:hover {
  opacity: 0.7;
  -webkit-transition: all .5s;
  transition: all .5s;
}

.creator .movie .movie-stop {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Shadowbox iframe枠線リセット */
#sb-wrapper-inner {
  border: none;
  outline: none;
  box-sizing: border-box;
}
