/* ===================================================================
common
=================================================================== */
/* ===================================================================
mixins
=================================================================== */
/* ===================================================================
video-common
=================================================================== */
#video .common-contents-wrapper {
  padding: 0;
}

#video .common-footer-banner__list {
  border-top: none;
}

.video-common-wrapper {
  background-color: #252525;
  padding-top: 20px;
}

@media only screen and (min-width: 768px) {
  .video-common-wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.video-common-list {
  display: flex;
  flex-wrap: wrap;
}

.video-common-list__item {
  position: relative;
}

@media only screen and (max-width: 767.98px) {
  .video-common-list__item {
    width: calc((100% - 21px) / 2);
  }
  .video-common-list__item:nth-child(2n) {
    margin-left: 20px;
  }
  .video-common-list__item:nth-child(n+3) {
    margin-top: 20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  .video-common-list__item {
    width: calc((100% - 41px) / 2);
  }
  .video-common-list__item:nth-child(2n) {
    margin-left: 40px;
  }
  .video-common-list__item:nth-child(n+3) {
    margin-top: 40px;
  }
}

@media only screen and (min-width: 992px) {
  .video-common-list__item {
    width: calc((100% - 121px) / 4);
    margin-left: 40px;
  }
  .video-common-list__item:nth-child(4n+1) {
    margin-left: 0;
  }
  .video-common-list__item:nth-child(n+5) {
    margin-top: 40px;
  }
}

.video-common-list__card {
  display: block;
  position: relative;
}

@media only screen and (max-width: 767.98px) {
  .video-common-list__card {
    transition: opacity .3s;
  }
  .item--active .video-common-list__card {
    opacity: 0.25;
  }
}

.video-common-list__tag {
  display: block;
  padding: 2px 8px;
  border-radius: 10px;
  color: #fff;
  font-size: 1.0rem;
  font-weight: bold;
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: 5;
}

@media only screen and (min-width: 768px) {
  .video-common-list__tag {
    font-size: 1.4rem;
    padding: 5px 10px;
    border-radius: 18px;
  }
}

.video-common-list__tag.tag--red {
  background-color: #ff2355;
}

.video-common-list__tag.tag--blue {
  background-color: #149bf0;
}

.video-common-list__tag.tag--brown {
  background-color: #d2a050;
}

.video-common-list__image {
  display: block;
  width: 100%;
  padding-top: 56.25%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border: none;
}

.video-common-list__video {
  display: flex;
  margin-top: 10px;
  background-color: #fff;
  padding: 5px 0;
  border-radius: 4px;
}

@media only screen and (max-width: 767.98px) {
  .video-common-list__video {
    justify-content: center;
  }
}

@media only screen and (min-width: 768px) {
  .video-common-list__video {
    margin-top: 20px;
    padding: 10px 0;
    overflow: hidden;
  }
  .is-pc .video-common-list__video {
    transition: background-color .3s;
  }
}

.video-common-list__video > a {
  height: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  position: relative;
}

@media only screen and (max-width: 767.98px) {
  .video-common-list__video > a {
    pointer-events: none;
    margin: 0 10px;
  }
}

@media only screen and (min-width: 768px) {
  .video-common-list__video > a {
    width: 33.3%;
    flex-grow: 1;
    height: 30px;
    background-size: auto 100%;
  }
  .is-pc .video-common-list__video > a:hover {
    opacity: 0.4;
  }
}

@media only screen and (max-width: 767.98px) {
  .video-common-list__video > a:nth-child(n+2) {
    position: relative;
  }
  .video-common-list__video > a:nth-child(n+2):before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background-color: #252525;
    position: absolute;
    top: 0;
    left: -10px;
  }
}

@media only screen and (min-width: 768px) {
  .video-common-list__video > a:nth-child(n+2) {
    border-left: 1px solid #303030;
  }
  .video-archive .video-common-list__video > a:nth-child(n+2) {
    border-left-color: #252525;
  }
}

.video-common-list__video > a.tada {
  background-image: url(/assets/images/video/video-s-tada.svg);
  width: 23px;
}

.video-common-list__video > a.hulu {
  background-image: url(/assets/images/video/video-s-hulu.svg);
  width: 29px;
}

.video-common-list__video > a.youtube {
  background-image: url(/assets/images/video/video-s-youtube.svg);
  width: 18px;
}

.video-common-list__video span {
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0px;
}

.video-common-list__title {
  font-weight: bold;
  margin-top: 10px;
  color: #fff;
}

@media only screen and (min-width: 768px) {
  .video-common-list__title {
    margin-top: 15px;
  }
}

.video-common-list__date {
  font-size: 1.2rem;
  color: #149bf0;
  margin-top: 5px;
  font-weight: bold;
}

@media only screen and (min-width: 768px) {
  .video-common-list__date {
    font-size: 1.4rem;
  }
}

.video-common-list__text {
  font-size: 1.2rem;
  margin-top: 5px;
  color: #fff;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
  .video-common-list__text {
    font-size: 1.4rem;
  }
}

.video-common-list-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

@media only screen and (max-width: 767.98px) {
  .video-common-list-overlay {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
    transition: opacity .3s, -webkit-transform 0s .3s;
    transition: transform 0s .3s, opacity .3s;
    transition: transform 0s .3s, opacity .3s, -webkit-transform 0s .3s;
  }
  .item--active .video-common-list-overlay {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
    transition: opacity .3s, -webkit-transform 0s;
    transition: transform 0s, opacity .3s;
    transition: transform 0s, opacity .3s, -webkit-transform 0s;
  }
}

@media only screen and (min-width: 768px) {
  .video-common-list-overlay {
    -webkit-transform: scale(0) !important;
            transform: scale(0) !important;
  }
}

.video-common-list-overlay__video {
  padding-top: 56.25%;
  position: relative;
}

.video-common-list-overlay__video__inner {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.video-common-list-overlay__video__inner > a {
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0px;
  display: block;
  width: 33.3%;
  flex-grow: 1;
  background: #f00;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 20px;
}

.video-common-list-overlay__video__inner > a.tada {
  background-color: #40b8dc;
  background-image: url(/assets/images/video/video-s-tada-white.svg);
}

.video-common-list-overlay__video__inner > a.hulu {
  background-color: #60ac27;
  background-image: url(/assets/images/video/video-s-hulu-white.svg);
}

.video-common-list-overlay__video__inner > a.youtube {
  background-color: #f00;
  background-image: url(/assets/images/video/video-s-youtube-white.svg);
}

.video-common-list-overlay__close {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eee;
  margin: 10px auto 0;
  position: relative;
}

.video-common-list-overlay__close:before, .video-common-list-overlay__close:after {
  content: "";
  width: 40%;
  height: 2px;
  border-radius: 1px;
  background-color: #303030;
  position: absolute;
  top: 50%;
  left: 50%;
}

.video-common-list-overlay__close:before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

.video-common-list-overlay__close:after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}

/* ===================================================================
video-nav
=================================================================== */
.video-nav {
  display: block;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 10px;
  padding: 0;
}

@media only screen and (min-width: 768px) {
  .video-nav {
    padding: 0 60px;
    margin-bottom: 20px;
  }
}

.video-nav__list {
  display: flex;
  overflow: auto;
}

@media only screen and (max-width: 767.98px) {
  .video-nav__list {
    padding: 0 10px;
  }
}

.video-nav__item {
  width: auto;
  position: relative;
}

.video-nav__item:nth-child(n+2) {
  margin-left: 10px;
}

.video-nav__item:nth-child(n+2):before {
  content: "";
  width: 1px;
  height: 20px;
  position: absolute;
  top: 10px;
  left: -5px;
  background-color: #404040;
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  .video-nav__item:nth-child(n+2):before {
    height: 40px;
    top: 5px;
    left: -10px;
  }
}

@media only screen and (min-width: 992px) {
  .video-nav__item:nth-child(n+2):before {
    height: 40px;
    top: 5px;
    left: -20px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  .video-nav__item {
    width: calc((100% - 61px) / 4);
  }
  .video-nav__item:nth-child(n+2) {
    margin-left: 20px;
  }
}

@media only screen and (min-width: 992px) {
  .video-nav__item {
    width: calc((100% - 121px) / 4);
  }
  .video-nav__item:nth-child(n+2) {
    margin-left: 40px;
  }
}

.video-nav__item a {
  display: block;
  line-height: 40px;
  height: 40px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: YaKuHanJP, "Noto Sans JP", Helvetica, sans-serif;
  text-align: center;
  border-radius: 4px;
}

@media only screen and (max-width: 767.98px) {
  .video-nav__item a {
    padding: 0 20px;
    white-space: nowrap;
  }
}

@media only screen and (min-width: 768px) {
  .video-nav__item a {
    line-height: 50px;
    height: 50px;
    font-size: 2rem;
  }
}

.video-nav__item a.tada span, .video-nav__item a.hulu span, .video-nav__item a.youtube span {
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0px;
  display: block;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
}

@media only screen and (min-width: 768px) and (max-width: 991.98px) {
  .video-nav__item a.tada span, .video-nav__item a.hulu span, .video-nav__item a.youtube span {
    background-size: auto 70%;
    width: 100%;
  }
}

@media only screen and (min-width: 992px) {
  .video-nav__item a.tada span, .video-nav__item a.hulu span, .video-nav__item a.youtube span {
    background-size: auto 90%;
    width: 100%;
  }
}

.video-nav__item a.tada span {
  background-image: url(/assets/images/video/video-tada.svg);
}

@media only screen and (max-width: 767.98px) {
  .video-nav__item a.tada span {
    width: 100px;
  }
}

.video-nav__item a.hulu span {
  background-image: url(/assets/images/video/video-hulu.svg);
}

@media only screen and (max-width: 767.98px) {
  .video-nav__item a.hulu span {
    width: 58px;
  }
}

.video-nav__item a.youtube span {
  background-image: url(/assets/images/video/video-youtube.svg);
}

@media only screen and (max-width: 767.98px) {
  .video-nav__item a.youtube span {
    width: 82px;
  }
}

.video-nav__item a.is-active {
  background-color: #303030;
  opacity: 1;
  box-shadow: 0px 10px 20px 0 rgba(0, 0, 0, 0.15);
}

/* ===================================================================
video-main
=================================================================== */
.video-main {
  background-color: #303030;
  padding: 20px 0 30px;
}

@media only screen and (min-width: 768px) {
  .video-main {
    padding: 40px 0;
  }
}

.video-main__more {
  margin-top: 30px;
}

@media only screen and (min-width: 768px) {
  .video-main__more {
    margin-top: 40px;
  }
}

/* ===================================================================
video-archive
=================================================================== */
.video-archive {
  padding: 20px 0;
}

@media only screen and (min-width: 768px) {
  .video-archive {
    padding: 40px 0;
  }
}
