.p-story-in {
  width: 86%;
}

@media screen and (max-width: 960px) {
  .p-story-in {
    width: 100%;
  }
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-story-in_tab {
    font-size: 18px;
  }
  [data-size=l] .p-story-in_tab {
    font-size: 20px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-story-in_tab {
    font-size: 14px;
  }
  [data-size=l] .p-story-in_tab {
    font-size: 15px;
  }
}

.p-story-in_tab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 95%;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .p-story-in_tab {
    width: 100%;
    margin-top: 20px;
  }
}

.p-story-in_tab > li {
  position: relative;
  width: 14%;
  border: solid 1px #000;
  text-align: center;
  margin-bottom: 15px;
  padding: 2px 0;
  -webkit-transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  border-left: transparent;
}

.p-story-in_tab > li.is-current {
  background: #000;
  color: #fff;
  pointer-events: none;
}

.p-story-in_tab > li:first-child {
  border-left: solid 1px #000;
}

.p-story-in_tab > li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 961px) {
  .p-story-in_tab > li:nth-child(8) {
    border-left: solid 1px #000;
  }
  .p-story-in_tab > li:hover {
    background: #000;
    color: #fff;
  }
}

@media screen and (max-width: 960px) {
  .p-story-in_tab > li {
    width: 25%;
    margin: 0;
    padding: 8px 0;
    border-top: transparent;
  }
  .p-story-in_tab > li:nth-child(5) {
    border-left: solid 1px #000;
  }
  .p-story-in_tab > li:nth-child(9) {
    border-left: solid 1px #000;
  }
  .p-story-in_tab > li:nth-child(13) {
    border-left: solid 1px #000;
  }
  .p-story-in_tab > li:nth-child(n+1):nth-child(-n+4) {
    border-top: solid 1px #000;
  }
}

.p-story-in_title {
  margin-top: 50px;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .p-story-in_title {
    margin-top: 40px;
  }
}

.p-story-in_title .s_no {
  color: #8dc365;
}

.p-story-in_title .s_title {
  margin-top: 0px;
  font-size: 40px;
  font-weight: 600;
}

@media screen and (max-width: 960px) {
  .p-story-in_title .s_title {
    font-size: 24px;
    line-height: 1em;
    margin-top: 5px;
  }
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-story-in_title .s_no {
    font-size: 18px;
  }
  [data-size=l] .p-story-in_title .s_no {
    font-size: 20px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-story-in_title .s_no {
    font-size: 14px;
  }
  [data-size=l] .p-story-in_title .s_no {
    font-size: 15px;
  }
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-story-in_title .s_title {
    font-size: 44px;
  }
  [data-size=l] .p-story-in_title .s_title {
    font-size: 48px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-story-in_title .s_title {
    font-size: 26px;
  }
  [data-size=l] .p-story-in_title .s_title {
    font-size: 28px;
  }
}

.p-story-in__img {
  margin-top: 30px;
}

.p-story-in__text {
  margin-top: 30px;
  padding: 0 1%;
  line-height: 1.9em;
}

@media screen and (max-width: 960px) {
  .p-story-in__text {
    margin-top: 25px;
    padding: 0 2%;
  }
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-story-in__text {
    font-size: 18px;
  }
  [data-size=l] .p-story-in__text {
    font-size: 20px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-story-in__text {
    font-size: 14px;
  }
  [data-size=l] .p-story-in__text {
    font-size: 15px;
  }
}

.p-story-in__detail {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 98%;
  margin: 50px auto 0;
}

@media screen and (max-width: 960px) {
  .p-story-in__detail {
    display: block;
    width: 96%;
    margin: 0 auto;
  }
}

.p-story-in__staff {
  width: 48%;
}

.p-story-in__staff .p-cap {
  position: relative;
  color: #8dc365;
  font-size: 24px;
  margin-bottom: 18px;
}

.p-story-in__staff .p-cap::before {
  content: "";
  background: #8dc365;
  width: calc(100% - 2.5em);
  height: 1px;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.p-story-in__staff dd > dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 10px;
}

.p-story-in__staff dd > dl dt {
  width: 7.5em;
}

.p-story-in__staff dd > dl dd {
  width: calc(100% - 7.5em);
}

@media screen and (max-width: 960px) {
  .p-story-in__staff {
    width: 100%;
    margin-top: 30px;
  }
  .p-story-in__staff .p-cap {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .p-story-in__staff dd > dl {
    margin-top: 8px;
  }
  .p-story-in__staff dd > dl:first-child {
    margin-top: 0;
  }
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-story-in__staff .p-cap {
    font-size: 28px;
  }
  [data-size=l] .p-story-in__staff .p-cap {
    font-size: 32px;
  }
  [data-size=m] .p-story-in__staff > dd {
    font-size: 18px;
  }
  [data-size=l] .p-story-in__staff > dd {
    font-size: 20px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-story-in__staff .p-cap {
    font-size: 22px;
  }
  [data-size=l] .p-story-in__staff .p-cap {
    font-size: 24px;
  }
  [data-size=m] .p-story-in__staff > dd {
    font-size: 14px;
  }
  [data-size=l] .p-story-in__staff > dd {
    font-size: 15px;
  }
}

.p-story-in__movie {
  width: 48%;
  margin-left: 4%;
}

.p-story-in__movie .p-cap {
  position: relative;
  color: #8dc365;
  font-size: 24px;
  margin-bottom: 20px;
}

.p-story-in__movie .p-cap::before {
  content: "";
  background: #8dc365;
  width: calc(100% - 4.5em);
  height: 1px;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.p-story-in__movie .p-movie_data {
  width: 100%;
  display: block;
  position: relative;
  margin: 0px auto;
}

.p-story-in__movie .p-movie_data::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
  -webkit-transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-story-in__movie .p-movie_data::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 120px;
  height: 120px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: url(../img/common/btn_play.png) center center/contain no-repeat;
}

@media screen and (min-width: 961px) {
  .p-story-in__movie .p-movie_data:hover::before {
    opacity: 0;
  }
}

.p-story-in__movie .p-movie_data__thumb {
  display: block;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.p-story-in__movie .p-movie_data__thumb-img {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

@media screen and (max-width: 960px) {
  .p-story-in__movie {
    width: 100%;
    margin-left: 0;
    margin-top: 40px;
  }
  .p-story-in__movie .p-cap {
    font-size: 20px;
    margin-bottom: 15px;
  }
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-story-in__movie .p-cap {
    font-size: 28px;
  }
  [data-size=l] .p-story-in__movie .p-cap {
    font-size: 32px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-story-in__movie .p-cap {
    font-size: 22px;
  }
  [data-size=l] .p-story-in__movie .p-cap {
    font-size: 24px;
  }
}

.p-story-in__diagram {
  width: 98%;
  margin: 50px auto 0;
}

.p-story-in__diagram .p-cap {
  position: relative;
  color: #8dc365;
  font-size: 24px;
  margin-bottom: 20px;
}

.p-story-in__diagram .p-cap::before {
  content: "";
  background: #8dc365;
  width: calc(100% - 3.5em);
  height: 1px;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.p-story-in__diagram dd {
  width: 90%;
  margin: 30px auto 0;
}

@media screen and (max-width: 960px) {
  .p-story-in__diagram {
    width: 96%;
    margin: 30px auto 0;
  }
  .p-story-in__diagram .p-cap {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .p-story-in__diagram dd {
    width: 100%;
    margin: 15px auto 0;
  }
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-story-in__diagram .p-cap {
    font-size: 28px;
  }
  [data-size=l] .p-story-in__diagram .p-cap {
    font-size: 32px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-story-in__diagram .p-cap {
    font-size: 22px;
  }
  [data-size=l] .p-story-in__diagram .p-cap {
    font-size: 24px;
  }
}

.p-story-in__img {
  overflow: hidden;
  margin-top: 30px;
}

@media screen and (max-width: 960px) {
  .p-story-in__img {
    margin-top: 15px;
  }
}

.p-story-in__img-swiper .swiper-pagination {
  position: relative;
  bottom: auto;
  left: auto;
}

.p-story-in__img-swiper .swiper-pagination-bullets {
  font-size: 0;
  letter-spacing: -.4em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 15px;
}

.p-story-in__img-swiper .swiper-pagination-bullet {
  opacity: 1;
  position: relative;
  width: 25px;
  height: auto;
  margin: 0 5px !important;
}

@media screen and (max-width: 960px) {
  .p-story-in__img-swiper .swiper-pagination-bullet {
    width: 22px;
    margin: 0 8px !important;
  }
}

.swiper-pagination-bullet {
  background: transparent;
}

.swiper-pagination .swiper-pagination-bullet img {
  width: 25px;
  height: 25px;
  display: block;
  content: url("../img/common/dot_def.png");
}

@media screen and (max-width: 960px) {
  .swiper-pagination .swiper-pagination-bullet img {
    width: 22px;
    height: 22px;
  }
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active img {
  content: url("../img/common/dot_active.png");
}


.p-story-in__word {
  width: 98%;
  margin: 60px auto 0;
}

.p-story-in__word .p-cap {
  position: relative;
  color: #8dc365;
  font-size: 24px;
  margin-bottom: 20px;
}

.p-story-in__word .p-cap::before {
  content: "";
  background: #8dc365;
  width: calc(100% - 3.5em);
  height: 1px;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.p-story-in__word > dd {
  margin: 30px auto 0;
}

@media screen and (max-width: 960px) {
  .p-story-in__word {
    width: 96%;
    margin: 30px auto 0;
  }
  .p-story-in__word .p-cap {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .p-story-in__word > dd {
    width: 100%;
    margin: 15px auto 0;
  }
}

@media not all and (max-width: 960px) {
  [data-size=m] .p-story-in__diagram .p-cap {
    font-size: 28px;
  }
  [data-size=l] .p-story-in__diagram .p-cap {
    font-size: 32px;
  }
}

@media screen and (max-width: 960px) {
  [data-size=m] .p-story-in__diagram .p-cap {
    font-size: 22px;
  }
  [data-size=l] .p-story-in__diagram .p-cap {
    font-size: 24px;
  }
}

.word-item{
  margin: 25px auto 0;
}
.word-item dt p{
  background: #000;
  color: #fff;
  padding: 2px 4px 3px;
  display: inline-block;
}
.word-item dd{
  margin: 5px auto 0;
}
@media screen and (max-width: 960px) {
  .word-item{
    margin: 15px auto 0;
  }
  .word-item dt p{
    padding: 1px 4px;
  }    
  .word-item dd{
    margin: 2px auto 0;
  }
}