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

.creator .movie {
  width: 100%;
}

.creator .movie .ttl_cont {
  margin-bottom: 0;
}

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

.creator .movie .ttl_cont::before {
  content: "";
  display: none;
}

.movie-content__link {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: right;
  margin-right: 2rem;
}

.movie-content__link a {
  position: relative;
  padding: 0 2rem 4px 0;
  border-bottom: 1px solid #333;
  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);
}

.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__head {
  margin-bottom: 48px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.05em;
}

.movie__ttl {
  margin-bottom: 40px;
  font-size: 20px !important;
  font-weight: 700;
  text-align: center;
  line-height: 1 !important;
  letter-spacing: 0.025em;
}

.movie__ttl + .movie__ttl {
  margin-bottom: 20px;
}

.movie__sub-ttl {
  margin-bottom: 54px;
  font-size: 16px !important;
  font-weight: 500;
  text-align: center;
  line-height: 1;
}

.movie__txt {
  margin-top: 8px;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.7 !important;
  text-align: center;
  letter-spacing: 0.025em;
}

.movie__wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: auto;
  margin: 0 auto;
  z-index: 1;
}

/* data-type="double" */
.movie__bx[data-type="double"]:first-of-type {
  /* margin-right: 64px; */
}

.movie__bx[data-type="double"] .movie__thumbnail {
  width: 580px;
  height: 325px;
}

@media screen and (max-width: 1440px) {
  .movie__bx[data-type="double"] .movie__thumbnail {
    width: 540px;
    height: 304px;
  }
}

@media screen and (max-width: 768px) {
  .movie__bx[data-type="double"] .movie__thumbnail {
    width: 500px;
    height: 280px;
  }
}

.movie__bx[data-type="double"] .movie__thumbnail .btn__play {
  /* top: calc(50% - 43px); */
  max-width: 90px;
  width: 100%;
}

.movie__bx[data-type="double"] .movie__thumbnail .btn__play img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: contain;
}

/* 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%;
}

.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;
}

/* data-type="small" */
.movie__bx[data-type="small"] {
  display: flex;
  justify-content: center;
  align-items: center;
}

.movie__bx[data-type="small"] .movie__thumbnail {
  position: relative;
  width: 460px;
  height: 260px;
  margin-right: 84px;
}

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

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

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

/* サムネイル共通 */
.movie__thumbnail {
  position: relative;
  width: 820px;
  height: 460px;
}

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

.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;
}


/* ============================================
   Shadowbox CSS
   元ファイル: public_html/assets/common/javascripts/plugin/shadowbox/shadowbox.css
============================================ */

#sb-title-inner,
#sb-info-inner,
#sb-loading-inner,
div.sb-message {
  font-family: 'Noto Sans JP', "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 500;
  color: #fff;
}

#sb-container {
  position: fixed;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  z-index: 999;
  text-align: left;
  visibility: hidden;
  display: none;
}

#sb-overlay {
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 30;
}

#sb-wrapper {
  position: absolute;
  visibility: hidden;
  width: 100px;
  z-index: 50;
}

#sb-wrapper-inner {
  position: relative;
  overflow: hidden;
  height: 100px;
}

#sb-body {
  position: relative;
  height: 100%;
}

#sb-body-inner {
  position: absolute;
  height: 100%;
  width: 100%;
}

#sb-player.html {
  height: 100%;
  overflow: auto;
}

#sb-body img {
  border: none;
}

#sb-loading {
  position: relative;
  height: 100%;
}

#sb-loading-inner {
  position: absolute;
  font-size: 14px;
  line-height: 24px;
  height: 24px;
  top: 50%;
  margin-top: -12px;
  width: 100%;
  text-align: center;
}

#sb-loading-inner span {
  background: url(loading.gif) no-repeat;
  padding-left: 34px;
  display: inline-block;
}

#sb-body,
#sb-loading {
  background-color: #060606;
}

#sb-title,
#sb-info {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#sb-title,
#sb-title-inner {
  height: 26px;
  line-height: 26px;
}

#sb-title-inner {
  font-size: 16px;
}

#sb-info,
#sb-info-inner {
  height: 32px;
  line-height: 32px;
}

#sb-info-inner {
  font-size: 12px;
}

#sb-nav {
  float: right;
  height: 24px;
  padding: 4px 0;
  width: 45%;
}

#sb-nav a {
  display: block;
  float: right;
  height: 24px;
  width: 24px;
  margin-left: 3px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: contain;
}

#sb-nav-close {
  background-image: url(/dewo/images/close.png);
}

#sb-nav-next {
  background-image: url(/dewo/images/next.png);
}

#sb-nav-previous {
  background-image: url(/dewo/images/prev.png);
}

#sb-nav-play {
  background-image: url(/dewo/images/play.png);
}

#sb-nav-pause {
  background-image: url(/dewo/images/pause.png);
}

#sb-counter {
  float: left;
  width: 45%;
}

#sb-counter a {
  padding: 0 4px 0 0;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
}

#sb-counter a.sb-counter-current {
  text-decoration: underline;
}

div.sb-message {
  font-size: 12px;
  padding: 10px;
  text-align: center;
}

div.sb-message a:link,
div.sb-message a:visited {
  color: #fff;
  text-decoration: underline;
}
