.slick-dots li.slick-active button {
    border-color: #fff;
}
.slick-dots li button::before {
    background: #fff!important;
}
.text .local_pager {
  max-width: 270px;
}

.recommend-wrapper {
  justify-self: flex-start;
}

.mt-50 {
  margin: 50px 0 0!important;
}

.mb-20 {
  margin-bottom: 20px;
}

.be_content span img{
 display: none!important;
}

.nx_movie {
  margin: 0 auto;
  display: block;
  width: 870px;
  height: auto;
}

ul.local_pager {
  display: flex;
  width: 830px;
  margin: 20px auto;
  padding-bottom: 4px;
  position: relative;
}

ul.local_pager::after{
  border-bottom: 1px solid black;
  position: absolute;
  width: 830px;
  bottom: 0;
  content: "";
}

ul.local_pager li {
  padding: 7px 20px;
  font-size: 18px;
  border-right: 1px solid black;
  position: relative;
}

ul.local_pager li.active {
  font-weight: bold;
}

ul.local_pager li.active::before {
  border-bottom: 1px solid white;
  position: absolute;
  width: 105%;
  left: -3px;
  bottom: -4px;
  content: "";
  z-index: 2;
}

ul.local_pager li.active::after {
  z-index: 3;
  border-bottom: 1px solid #e30920;
  position: absolute;
  width: 94%;
  left: 3%;
  bottom: -5px;
  content: "";
  border-width: revert;
}


.media-wrapper {
  max-width: 830px!important;
  height: 433px;
  padding-bottom: 0px!important;
}

.media-wrapper img {
  width: 830px;
}

.tab-area .flex.show {
  display: flex!important;
  justify-content: space-between;
}

.flex_items {
  width: 49.5%;
}

.flex_items img {
  width: 100%;
}

.img-text p {
  font-weight: bold;
  font-size: 16px;
}

.u-pc{
  display: block;
}

.u-sp {
  display: none;
}

.nx_movie {
  display: block;
  margin: 0 auto;
}

.movie_container {
  max-height: 470px;
  pointer-events: none;
}

.tab-area figure {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 830px;
  margin: 0 auto;
}
.tab-area figure iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 467px;
}

.movie-note {
  width: 830px;
  margin: 0 auto;
  text-align: end;
}

.p-set {
  width: 830px;
  margin: 0 auto;
  text-align: right;
}

@media screen and (max-width: 769px) {
  .slick-dots li.slick-active button {
      border-color: #000;
  }
  .slick-dots li button::before {
      background: #000!important;
  }
  .text .local_pager li {
    padding: 7px 39px 4px;
  }
  .be_content span img{
    display: block!important
   }
   .be_content span img{
    width: 71%!important;
   }
   .tab-area {
     width: 90%;
     margin: 0 auto;
   }
   .tab-area img {
     width: 100%;
   }
   ul.local_pager {
     width: 100%;
   }
   ul.local_pager li {
     font-size: 2.5vw;
   }
   ul.local_pager::after {
     width: 100%;
   }
   .tab-area .flex.show {
     display: block!important;
   }
   .flex_items {
     width: 100%;
   }

  .u-pc{
    display: none;
  }
  
  .u-sp {
    display: block;
  }

  .nx_movie{
    width: 100%;
    height: auto;
  }

  .media-wrapper {
    height: auto;
    padding-bottom: 100px!important;
  }
  
  .tab-area figure {
    width: 99.8%;
    padding-bottom: 56.25%;
  }

  .movie-note {
    width: unset;
  }

  .p-set {
    width: unset;
    padding-right: 0!important;
    padding-top: 10px!important;
  }
}
