
body, html {
  font-family: "Noto Sans JP", "Hiragino sans", Meiryo, "メイリオ", "MS PGothic", Helvetica, sans-serif;
}

.main-contents .contents-wrap {
  word-break: break-all;
}

#program .main-contents .contents-wrap .introduction-wrap .introduction-box .description-box.show + .btn-description::after {
  content: "\e909";
}

#program .modal#modal-howTowWatch.open .modal-contents dt:before,
#programPack .modal#modal-howTowWatch.open .modal-contents dt:before  {
  border-image: linear-gradient(180deg, #1A9AEC 0%, #FD348E 100%) 1;
}

/* マイページ 怪異のステージに応じたトロフィー画像の出し分け */
#mypageProfile .mypageProfileContentsWrap .profile-customerProgramBox .customerProgramContentsWrap .customerProgramContents .customerProgramStageBox .CPstage dd.bronze::before {
  content: "";
  display: inline-block;
  background-image: url(../images/icon-status-bronze.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 0.4rem;
}
#mypageProfile .mypageProfileContentsWrap .profile-customerProgramBox .customerProgramContentsWrap .customerProgramContents .customerProgramStageBox .CPstage dd.silver::before {
  content: "";
  display: inline-block;
  background-image: url(../images/icon-status-silver.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 0.4rem;
}
#mypageProfile .mypageProfileContentsWrap .profile-customerProgramBox .customerProgramContentsWrap .customerProgramContents .customerProgramStageBox .CPstage dd.gold::before {
  content: "";
  display: inline-block;
  background-image: url(../images/icon-status-gold.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 3.2rem;
  height: 3.2rem;
  margin-right: 0.4rem;
}

#program .main-contents .contents-wrap, #programPack .main-contents .contents-wrap {
    margin-top: 58px;
}
.paymentContents .main-contents .contents-wrap .paymentListBox .paymentList .couponWrap .couponCotents .couponSetBox .couponDelete {
  min-width: 30px;
}


#program .main-contents .contents-wrap .introduction-wrap .tag-share-wrap .share-btn::before,
#programPack .main-contents .contents-wrap .introduction-wrap .tag-share-wrap .share-btn::before {
  border-width: 2.1px;
}

@media (min-width: 1024px) {
  #mypageLibrary .base-wrap .libraryList .libraryBox .libraryContents .libraryContents02 .itemOutline {
    min-width: 300px;
  }
  #top .main-contents .news-wrap h2,
  #top-svod .main-contents .news-wrap h2,
  #top-tvod .main-contents .news-wrap h2 {
    padding-top: 3px;
  }
}
@media (min-width: 1440px) {
  #mypageLibrary .base-wrap .libraryList .libraryBox .libraryContents .libraryContents02 {
    min-width: 330px;
  }
}
@media (min-width: 1280px) {
  #program .main-contents .contents-wrap .introduction-wrap .introduction-box .description-box div.txt-description, #programPack .main-contents .contents-wrap .introduction-wrap .introduction-box .description-box div.txt-description {
    width: 100%;
  }
  #program .main-contents .contents-wrap .introduction-wrap .introduction-box .overview-box, #programPack .main-contents .contents-wrap .introduction-wrap .introduction-box .overview-box {
    min-width: 43%;
    max-width: 43%;
  }
}

.packContentsListWrap .packContentsList .contentsMetaWrap .contentsMeta .contentsLinkTitle {
  word-break: break-all;
}

#top .main-contents .contents-wrap .topContentsListBox, #top-svod .main-contents .contents-wrap .topContentsListBox, #top-tvod .main-contents .contents-wrap .topContentsListBox {
  padding: 4rem 1.5rem;
  background: url(/images/bg-top-contents-list-top.png) repeat;
  background-color: rgba(5, 7, 16, 0.7);
  margin-bottom: 6rem;
}

@media (min-width: 768px) {
  #top .main-contents .contents-wrap .topContentsListBox, #top-svod .main-contents .contents-wrap .topContentsListBox, #top-tvod .main-contents .contents-wrap .topContentsListBox {
    padding: 6rem 3.47%;
  }
}

@media (min-width: 1024px) {
  #top .main-contents .contents-wrap .topContentsListBox, #top-svod .main-contents .contents-wrap .topContentsListBox, #top-tvod .main-contents .contents-wrap .topContentsListBox {
    padding: 6rem 0;
    margin-bottom: 12rem;
  }
}

#program .main-contents .contents-wrap .howToPayment ul.paymentBtnListWrap li.paymentBtnList.CpBtnWrap .btn-main01.purchased .paymentListFlex .paymentValue,
#programPack .main-contents .contents-wrap .howToPayment ul.paymentBtnListWrap li.paymentBtnList.CpBtnWrap .btn-main01.purchased .paymentListFlex .paymentValue {
  color: #FFF;
}

.main-contents .contents-wrap .btn-main01 a .text-white {
  color: #FFF;
}

@media (max-width: 768px) {
  .disp-pc {
    display: none;
  }
  .disp-sp {
    display: block;
  }
}
@media (min-width: 768px) {
  .disp-pc {
    display: block;
  }
  .disp-sp {
    display: none;
  }
}

#pagetop .btn a {
  max-width: 50px;
}

.img-googleplay-store-badge {
  height: 40px;
}


/* 各トップページスライダーの左右ボタンの位置を画面サイズに合わせて調整する。 */
#top .main-contents .main-carousel-wrap .swiper .swiper-button-next,
#top-svod .main-contents .main-carousel-wrap .swiper .swiper-button-next,
#top-tvod .main-contents .main-carousel-wrap .swiper .swiper-button-next {
  right: calc(18% - 70px);
  /* これ使われている？ */
}
#top .main-contents .main-carousel-wrap .swiper .swiper-button-prev,
#top-svod .main-contents .main-carousel-wrap .swiper .swiper-button-prev,
#top-tvod .main-contents .main-carousel-wrap .swiper .swiper-button-prev {
  left: calc(18% - 70px);
}
@media (min-width: 768px) {
  #top .main-contents .main-carousel-wrap .swiper .swiper-button-next,
  #top-svod .main-contents .main-carousel-wrap .swiper .swiper-button-next,
  #top-tvod .main-contents .main-carousel-wrap .swiper .swiper-button-next {
    right: calc(16.6% - 55px)
  }
  #top .main-contents .main-carousel-wrap .swiper .swiper-button-prev,
  #top-svod .main-contents .main-carousel-wrap .swiper .swiper-button-prev,
  #top-tvod .main-contents .main-carousel-wrap .swiper .swiper-button-prev {
    left: calc(16.6% - 55px)
  }
}
@media (min-width: 1440px) {
  #top .main-contents .main-carousel-wrap .swiper .swiper-button-next,
  #top-svod .main-contents .main-carousel-wrap .swiper .swiper-button-next,
  #top-tvod .main-contents .main-carousel-wrap .swiper .swiper-button-next {
    right: calc(19.7% - 70px);
  }
  #top .main-contents .main-carousel-wrap .swiper .swiper-button-prev,
  #top-svod .main-contents .main-carousel-wrap .swiper .swiper-button-prev,
  #top-tvod .main-contents .main-carousel-wrap .swiper .swiper-button-prev {
    left: calc(19.7% - 70px);
  }
}
@media (min-width: 1920px) {
  #top .main-contents .main-carousel-wrap .swiper .swiper-button-next,
  #top-svod .main-contents .main-carousel-wrap .swiper .swiper-button-next,
  #top-tvod .main-contents .main-carousel-wrap .swiper .swiper-button-next {
    right: calc(25% - 80px + 30px);
  }
  #top .main-contents .main-carousel-wrap .swiper .swiper-button-prev,
  #top-svod .main-contents .main-carousel-wrap .swiper .swiper-button-prev,
  #top-tvod .main-contents .main-carousel-wrap .swiper .swiper-button-prev {
    left: calc(25% - 80px + 30px); 
    /*
    25%: 左右のサムネの表示されている領域の割合 -> slidesPerView: 2
    80px: サムネ間のpx
    30px: ボタン幅の半分 */
  }
}


/* svod/tvodトップページにある帯をスライダーに追従させるよう修正 */
#top-svod .header-ribbon, #top-tvod .header-ribbon {
  position: static;
}

.fixed-menu {
  height: auto;
}
@media (min-width: 768px) {
  /* 帯のサイズが34pxなのでデザインのtopより30px分位置を上げる */
  #top-svod .fixed-menu, #top-tvod .fixed-menu {
    border-top: none;
    top: 90px; 
    padding: 0;
  }
}

html:has(#modal-howTowWatch.open) {
  overflow: hidden;
}

#program .main-contents .contents-wrap .howToPayment ul.paymentBtnListWrap li.paymentBtnList.CpBtnWrap .CPstatus .textLinkInSite {
  font-size: 1.2rem;
}

/* ディスプレイサイズに応じて表示する帯を変更 */
#top-tvod .header-ribbon.header-ribbon-sp, #top-svod .header-ribbon.header-ribbon-sp {
  position: fixed;
}
@media (max-width: 767px) {
  .fixed-menu .header-ribbon-fixed-menu {
    display: none !important;
  }
}
@media (min-width: 768px) {
  #top-tvod .header-ribbon.header-ribbon-sp, #top-svod .header-ribbon.header-ribbon-sp  {
    display: none !important;
  }
  .fixed-menu .header-ribbon-fixed-menu {
    display: flex;
  }
  /* スクロール時のアニメーションで隙間が生じてしまうためheader#head要素のアニメーション中は上の要素に被せる */
  .fixed-menu.is-transitioning{
    margin-top: -40px !important; 
    padding-top: 40px !important;
  }
}
header {
  z-index: 601;
}



/* ヘッダー関連のその他の記述 */
@media (min-width: 768px) {
  #program .main-contents .contents-wrap, #programPack .main-contents .contents-wrap {
      margin-top: 140px;
  }
  header#head, .fixed-menu {
    transition: .5s;
  }
  header#head.hide, .header-ribbon.hide {
    transform: translateY(-100%);
  }
  #top-svod header#head.hide .fixed-menu, #top-tvod header#head.hide .fixed-menu {
    top: 90px;
  }
  .paymentContents .main-contents .contents-wrap .paymentBox .contentsWrap .contentsLinkThumb {
    min-width: 220px;
  }
  .paymentContents .main-contents .contents-wrap .paymentListBox .paymentList .couponWrap .couponCotents .couponSetBox {
    max-width: 380px;
  }
  .paymentContents .main-contents .contents-wrap .paymentListBox .paymentList .applicableCoupon dt {
    min-width: 140px;
  }
  .fixed-menu.fixed-menu-top, #top-svod .fixed-menu.fixed-menu-top, #top-tvod .fixed-menu.fixed-menu-top {
    top: 0;
  }
}
@media (max-width: 768px) {
  .paymentContents .main-contents .contents-wrap .paymentListBox .paymentList .applicableCoupon {
    display: flex;
    flex-flow: row wrap;
  }
  .paymentContents .main-contents .contents-wrap .paymentListBox .paymentList .applicableCoupon dt {
    padding-bottom: 5px;
  }
}
#top-tvod .header-ribbon {
  background-color: #DE1874;
}
.fixed-menu ul li.selected p {
  color: #FFF;
  opacity: 1;
}

/** スライダーテキストがiOSだと見切れる問題の対処 */
.main-contents .main-carousel-wrap .swiper .swiper-wrapper .thumb-box .thumb-name p.contents-name {
  white-space: nowrap;
}

/** 配信コンテンツ一覧の組別ボタン下の罫線を横いっぱいに広げるための対応 */
@media (min-width: 1024px) {
  #top .main-contents .contents-wrap .topContentsListBox div.wrapBtnClass ul.btnClass, #top-svod .main-contents .contents-wrap .topContentsListBox div.wrapBtnClass ul.btnClass, #top-tvod .main-contents .contents-wrap .topContentsListBox div.wrapBtnClass ul.btnClass {
    padding: 0 4.8%;
  }
  div.wrapBtnClass {
    height: 47px;
  }
  div.wrapBtnClass div{
    position: absolute;
    width: 100%;
    left: 0;
  }
}

#news .main-contents .contents-wrap .news-contents ul li .news-date {
  color: #B4B8BD;
  padding-bottom: 4px;
  font-size: 1.4rem;
  white-space: nowrap;
}

/**
  iOS Safari用の調整
  マスク表示が２重に解釈されて枠線の描画が崩れてしまう問題を解決
*/
#program .main-contents .contents-wrap .introduction-wrap .tag-share-wrap .share-btn::before, #programPack .main-contents .contents-wrap .introduction-wrap .tag-share-wrap .share-btn::before {
  -webkit-mask-composite: xor !important;
}
.btn-sub02 a::before {
  border: 2.1px solid transparent !important;
  -webkit-mask-composite: xor !important;
}

.paymentContents .main-contents .contents-wrap .paymentListBox .paymentList .couponWrap .couponCotents input[type=submit] {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-justify-content: center;
  align-items: center;
  justify-content: center;
  background-color: #DE1874;
  height: 40px;
  color: #FFF;
  width: 20%;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.modal.open#modal-packContentsList .packContentsListBox.modal-contents .modal-contents-inner .packContentsListWrap .more-packContentsListWrapCustom{
  padding-top: 1.6rem;
}

.modal.open#modal-packContentsList .packContentsListBox.modal-contents .modal-contents-inner .packContentsListWrap .more-packContentsListWrapCustom .btn-sub01 {
  cursor: pointer;
  border: 1px solid rgba(226, 224, 224, 0.4);
  border-radius: 9999px;
  color: #FFF;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 0.4rem;
  padding: 1.2rem;
  letter-spacing: 0.2px;
  line-height: 1;
  font-size: 1.3rem;
  width: 100%;
  max-width: 300px;
  height: 44px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .modal.open#modal-packContentsList .packContentsListBox.modal-contents .modal-contents-inner .packContentsListWrap .more-packContentsListWrapCustom .btn-sub01 {
    font-size: 1.4rem;
    height: 48px;
  }
}
.modal.open#modal-packContentsList .packContentsListBox.modal-contents .modal-contents-inner .packContentsListWrap .more-packContentsListWrapCustom .btn-sub01::after {
  content: "\e910";
  font-family: "takarazuka";
  color: #DE1874;
  font-size: 1.4rem;
  padding-left: 0.4rem;
}
.modal.open#modal-packContentsList .packContentsListBox.modal-contents .modal-contents-inner .packContentsListWrap .more-packContentsListWrapCustom .btn-sub01:hover {
  opacity: 0.8;
}

/* 視聴ページの購入済ボタンの位置調整 */
@media (min-width: 1024px) {
  #program .main-contents .contents-wrap .appLayout ul.paymentBtnListWrap .paymentBtnList .paymentListFlex, #programPack .main-contents .contents-wrap .appLayout ul.paymentBtnListWrap .paymentBtnList .paymentListFlex {
    padding: 0 0;
  }
}

/* 視聴方法・動作環境についてページの再生ボタンのサイズ調整 */
@media (min-width: 1920px) {
  .guide-section .guide-contents .operation .player-section .player-content .primary .play-overlay .play-contents .btn.play .btn-play {
    max-width: 13vw;
  }
}

/* ライブラリ動画 間もなく視聴期限切れのコンテンツがありますコンテンツ一覧のサムネイルがiOSだと中央寄せになってしまっていたため中央寄せに変更 */
#mypageLibrary .base-wrap .libraryNotification .libraryNotificationContents a .libraryNotificationItem p.contentsLinkTitle {
  -webkit-box-align: start;
}

/* 視聴ページ購入ボタン余白調整 */
#program .main-contents .contents-wrap .appLayout ul.paymentBtnListWrap .paymentBtnList .paymentListFlex {
  padding-left: 0;
  padding-right: 0;
}

/* 申し込み・マイページボタン余白調整 */
header .g-nav .g-nav-menu .g-nav-menu-item .btn-mypage {
  padding: 0 1.6rem;
}
header .g-nav .g-nav-menu .g-nav-menu-item .btn-signUp {
  padding: 0 1.6rem;
}

/* ipad対応 */
@media (min-width: 1024px) and (pointer: fine) and (hover: hover) {
  .carousel .arrow-left,
  .carousel .arrow-right {
    opacity: 0;
    display: block;
    height: 5rem;
    width: 5rem;
    color: #121212;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-radius: 3rem;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    -o-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
  }
  .carousel .arrow-left i,
  .carousel .arrow-right i {
    text-align: center;
    font-size: 2.1rem;
    line-height: 5rem;
    display: block;
    -o-transition: transform 0.2s ease-in-out;
    -moz-transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
  }
}
#top .main-contents .news-wrap .news-cont ul, #top-svod .main-contents .news-wrap .news-cont ul, #top-tvod .main-contents .news-wrap .news-cont ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}
@media (min-width: 768px) {
  #top .main-contents .news-wrap .news-cont ul, #top-svod .main-contents .news-wrap .news-cont ul, #top-tvod .main-contents .news-wrap .news-cont ul {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}
@media (min-width: 1024px) {
  #top .main-contents .news-wrap .news-cont ul, #top-svod .main-contents .news-wrap .news-cont ul, #top-tvod .main-contents .news-wrap .news-cont ul {
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 0;
  }
}