@charset "UTF-8";
/* ---------------------------------
 mixin
--------------------------------- */
/*alt*/
/*flex*/
/*
 main.css
 本サイト用共通CSS（記事ページにも読み込まれる）

 主に「.d-*」など、番組のみに使用するクラスを記述するCSS
 ※「.drama-*」などの色を変更したい場合は「style.css」に記述
*/
.drama-inner {
  padding-top: 3%;
}

/* d-contents
========================================== */
.d-contentsWrap {
  width: 100%;
  background: #fff;
}

.d-main {
  width: 100%;
  position: relative;
}

/* img
========================================== */
.d-contentsWrap [class*="-img"] img {
  display: block;
  width: 100%;
}

/* d-btn
========================================== */
.d-btn {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid #e80068;
  border-radius: 50px;
  color: #e80068;
  font-weight: normal;
  text-align: center;
  word-break: break-all;
  position: relative;
}

.d-btn:after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-right: 1px solid #e80068;
  border-bottom: 1px solid #e80068;
  position: absolute;
  top: 0;
  right: 25px;
  bottom: 0;
  margin: auto 0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* drama-mainV（第2階層用ヘッダー　記事ページ含む）
========================================== */
.d-mainV-area {
  width: 100%;
  position: relative;
}

.d-mainV-area a {
  display: block;
}

.d-mainV-inner {
  width: 100%;
}

.d-mainV-img a {
  width: 100%;
  padding-top: 17%;
  background: url(../images/common/mainv_2nd.jpg) no-repeat center top;
  background-size: cover;
  overflow: hidden;
}

/* d-nav
========================================== */
.d-nav-area {
  width: 100%;
  background: #e50065;
}

.d-nav-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* drama-nav-list
------------------------------ */
.d-nav-list {
  width: 100%;
  margin: 0 auto;
  font-size: 0;
  text-align: center;
}

.d-nav-item {
  display: inline-block;
  width: 12%;
  vertical-align: top;
  position: relative;
}
.d-nav-item::after {
  content: '';
  width: 1px;
  margin: 9% 0;
  padding-top: 82%;
  background: #ed4d94;
  display: block;
  position: absolute;
  top: 0;
  left: -1px;
}

.d-nav-item:last-child::before {
  content: '';
  width: 1px;
  margin: 9% 0;
  padding-top: 82%;
  background: #ed4d94;
  display: block;
  position: absolute;
  top: 0;
  right: -1px;
}

.d-nav-item:not(:first-child) {
  margin-left: 0.56%;
}

.d-nav-item a {
  display: block;
  width: 100%;
  padding-top: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: relative;
  overflow: hidden;
}

/* d-nav - status */
.d-nav-item.is-new .update {
  content: '';
  display: block;
  background: url(../images/common/drama-nav-icon.png) no-repeat center;
  /* NEWマーク　左上固定の場合は left top */
  width: 90%;
  background-size: 100% 100%;
  position: absolute;
  top: -15%;
  right: 3%;
  z-index: 30;
  overflow: hidden;
}
.d-nav-item.is-new .update span {
  padding: 10px 5px 20px;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1;
  display: block;
  white-space: nowrap;
}

.d-nav-item.is-coming a {
  opacity: 1;
  pointer-events: none;
}

/* d-nav - contents */
.d-nav-item.intro a {
  background-image: url(../images/common/btn01_nav.png);
}

.d-nav-item.story a {
  background-image: url(../images/common/btn02_nav.png);
}

.d-nav-item.castchart a {
  background-image: url(../images/common/btn03_nav.png);
}

.d-nav-item.original a {
  background-image: url(../images/common/btn04_nav.png);
}

.d-nav-item.topics a {
  background-image: url(../images/common/btn05_nav.png);
}

.d-nav-item.movie a {
  background-image: url(../images/common/btn06_nav.png);
}

.d-nav-item.staffmusic a {
  background-image: url(../images/common/btn07_nav.png);
}

.d-nav-item.hulu a {
  background-image: url(../images/common/btn08_nav.png);
}

.d-nav-item a span {
  width: 100%;
  font-size: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

/* contentsBox
========================================== */
.d-contentsBox-inner {
  overflow: hidden;
}

/* area
========================================== */
.d-area {
  width: 100%;
  margin: 0 auto;
}

.d-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* box
========================================== */
.d-box {
  word-break: break-all;
}

.d-box-title {
  font-size: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.6px;
  color: #333;
  padding: 9px 9px;
  position: relative;
  font-weight: bold;
  line-height: 1.0;
}

/* ------------------------------------------------------------------
 SP（〜600px）
------------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
  /* drama-contentsWrap
  ========================================== */
  .d-contentsWrap {
    background-position: 10% center;
    background-size: 5% auto;
  }

  /* drama - setting
  ========================================== */
  .d-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  /* drama-mainV（第2階層用ヘッダー　記事ページ含む）
  ========================================== */
  .d-mainV-img a {
    padding-top: 32%;
    background: url(../images/sp/mainv_2nd.jpg) no-repeat center top;
    background-size: contain;
  }

  	/* drama-nav
	========================================== */
  /* drama-nav-list
  ------------------------------------------ */
  .d-nav-area {
    background: #e50065;
  }
  .d-nav-area .d-nav-list .d-nav-item.is-new .update {
    top: -25%;
  }
  .d-nav-area .d-nav-list .d-nav-item.is-new .update span {
    font-size: 2.4vw;
  }
  .d-nav-area .d-nav-list .d-nav-item a {
    padding-top: 80%;
  }
  .d-nav-area .d-nav-list .d-nav-item {
    font-size: 0;
    line-height: 0;
  }
  .d-nav-area .d-nav-list .d-nav-item:not(:first-child) {
    border-left: #ed4d94 1px solid;
  }
  .d-nav-area .d-nav-list .d-nav-item:nth-child(5) {
    border-left: none;
  }
  .d-nav-area .d-nav-list .d-nav-item::after {
    display: none;
  }
  .d-nav-area .d-nav-item.is-new:nth-child(5) .update {
    top: -15%;
  }
  .d-nav-area .d-nav-item.is-new:nth-child(6) .update {
    top: -15%;
  }
  .d-nav-area .d-nav-item.is-new:nth-child(7) .update {
    top: -15%;
  }
  .d-nav-area .d-nav-item.is-new:nth-child(8) .update {
    top: -15%;
  }

  .d-nav-list {
    margin: 0 auto;
    padding: 0;
  }

  .d-nav-item {
    width: 25%;
  }

  .d-nav-item:not(:first-child) {
    margin-left: 0;
  }

  .d-nav-item:nth-child(4n+1) {
    margin-left: 0;
  }

  .d-nav-item:nth-child(n+5) {
    margin-top: 0;
    border-top: #ed4d94 1px solid;
  }

  .d-nav-item a span {
    font-size: 0;
  }

  #d-nav-footer .d-nav-area .d-nav-list .d-nav-item.is-new .update {
    width: 60%;
    top: -20%;
    right: 20%;
  }
  #d-nav-footer .d-nav-area .d-nav-list .d-nav-item.is-new .update span {
    font-size: 3vw;
  }
  #d-nav-footer .d-nav-area .d-nav-list .d-nav-item a {
    background-size: 50%;
  }
  #d-nav-footer .d-nav-area .d-nav-list .d-nav-item:not(:first-child) {
    border-left: none;
  }
}
/* ------------------------------------------------------------------
 SP 〜 tablet（〜992px）
------------------------------------------------------------------ */
@media screen and (max-width: 992px) {
  .d-nav-list .d-nav-item.is-new .update {
    top: -20%;
  }
  .d-nav-list .d-nav-item.is-new .update span {
    font-size: 1.2vw;
  }

  .d-nav-item:last-child {
    border-right: none;
  }
  .d-nav-item:last-child::before {
    display: none;
  }

  #d-nav-footer .d-nav-area {
    position: static;
    background: #e50065;
  }
  #d-nav-footer .d-nav-list {
    margin: 0 auto;
    padding: 0;
  }
  #d-nav-footer .d-nav-item {
    width: 50%;
  }
  #d-nav-footer .d-nav-item:not(:first-child) {
    margin-left: 0;
  }
  #d-nav-footer .d-nav-item:nth-child(odd) {
    border-right: #ed4d94 1px solid;
  }
  #d-nav-footer .d-nav-item:last-child {
    border-right: none;
  }
  #d-nav-footer .d-nav-item:nth-child(4n+1) {
    margin-left: 0;
  }
  #d-nav-footer .d-nav-item:nth-child(n+3) {
    margin-top: 0px;
    border-top: #ed4d94 1px solid;
  }
  #d-nav-footer .d-nav-item a span {
    font-size: 0;
  }
  #d-nav-footer .d-nav-item a {
    padding-top: 40%;
    background-size: 40%;
  }
  #d-nav-footer .d-nav-item::before {
    display: none;
  }
  #d-nav-footer .d-nav-item::after {
    display: none;
  }
  #d-nav-footer .d-nav-item.is-new .update {
    display: none;
    width: 50%;
    top: -15%;
    right: 25%;
  }
  #d-nav-footer .d-nav-item.is-new .update span {
    padding: 6% 1% 14%;
    font-size: 2.4vw;
  }
}
/* ------------------------------------------------------------------
 PC（993px〜）
------------------------------------------------------------------ */
@media screen and (min-width: 993px) {
  .d-main a {
    transition: opacity .1s ease;
    backface-visibility: hidden;
  }

  .d-main a:hover {
    opacity: 0.6;
  }

  #d-nav-footer {
    display: none;
  }
}
