/*
body.html {
  overflow-x: hidden;
}

*/

.story {
  position: relative;
}

.episode_bg{
    border: solid 3px #ffe983;
    /*border-radius: 10px;
    background: url(../img/bg/story_bg.png) 50% no-repeat;  	*/
    background: #b7180c;
    background: -moz-linear-gradient( #b7180c 0%, #530000 65%, #270000 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(#b7180c), to(#270000));
    background: -webkit-linear-gradient( #b7180c 0%, #530000 65%, #270000 100%);
    background: -o-linear-gradient( #b7180c 0%, #530000 65%, #270000 100%);
    background: -ms-linear-gradient( #b7180c 0%, #530000 65%, #270000 100%);
    background: linear-gradient( #b7180c 0%, #530000 65%, #270000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=#b7180c, endColorstr=#270000,GradientType=0 );
    text-align: justify;
    /*font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", sans-serif;*/
}


button {
  padding: 0;
  border-width: 0;
  background-color: transparent;
  color: inherit;
  font-weight: inherit;
  cursor: pointer;
  outline:none!important;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}

[data-ruby] {
    position: relative;
}

@media (min-width: 769px) {
[data-ruby]::before {
content: attr(data-ruby);
    position: absolute;
    top: -1.2rem;
    text-align: center;
    width: 100%;
    margin: auto;
    font-size: 0.4em;
    letter-spacing: 0rem;
    }
}


@media (max-width: 768px) {
[data-ruby]::before {
content: attr(data-ruby);
    position: absolute;
    top: -0.8rem;
    text-align: center;
    width: 100%;
    margin: auto;
    font-size: 0.4em;
    letter-spacing: 0rem;
    }
}

/*#main {
  padding-top: 73.8125px;
}*/

/*  ---SP START---   */

@media (max-width: 768px) {
  /*#main {
    padding: 30px 0 0;
    background: url(../images/intro@sp.jpg) no-repeat center top;
    background-size: 100% auto;
  }*/
	
  #main .story {
    margin: 2px;
    padding: 2px;
    background-size: 100% auto;
  }
  #main .story .episode_bg {
    position: relative;
    padding: 3rem 2rem;
  }
  #main .story .episode.min-swipe-active {
    display: block;
  }
  #main .episode__image img {
    display: block;
    margin: auto;
    width: 100%;
  }
  #main .episode__body {	 
    margin-bottom: 2.2rem;	  
    display: block;	  
  }
  .story .episode .episode__title {
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: .035em;
    line-height: 1;
    text-align: center;
    /*color: #d9ac00;
    text-shadow: 2px 0px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 0px -2px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 2px 2px 6px rgba(0, 0, 0, 0.14), -2px 2px 6px rgba(0, 0, 0, 0.14), 2px -2px 6px rgba(0, 0, 0, 0.14), -2px -2px 6px rgba(0, 0, 0, 0.14), 2px 0px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 0px -2px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 2px 2px 6px rgba(0, 0, 0, 0.14), -2px 2px 6px rgba(0, 0, 0, 0.14), 2px -2px 6px rgba(0, 0, 0, 0.14), -2px -2px 6px rgba(0, 0, 0, 0.14);*/
}	
	
  #main .episode__body .episode__text {
    display: block;
    padding: 0 5px;
  }
  #main .episodeNav {  
    width: 100%;
    display: block;
    margin-right: 0;
    margin-left: 0;
  }
}

/*  ---SP END--   */

/*  ---PC START---   */

@media (min-width: 769px) {
  /*#main {
    background: url(../images/intro@pc.png) no-repeat center top;
    background-size: 100% auto;
    padding: 30px 0 0;
  }*/
  .episodeNav__list {
    text-align: center;
  }
  .story {
    box-sizing: inherit;
    max-width: 960px;
    width: 100%;
    margin: auto;
  }
  .story .episode_bg {
    width: 960px;
    height: 410px;
      border: none;
      background: url(../img/bg/story_bg.png) 50% no-repeat;
  }
  .story .js-min-swipe.min-swipe {
    height: 420px;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  .story .episode {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 2rem;;
    overflow: hidden;
  }
  .story .episode .episode__body {	  
    width: 460px;
    margin-left: 1rem;
    text-align: justify;		  
  }
  .story .episode .episode__title {
    margin-top: 2rem;	  
    margin-bottom: 2rem;
    font-size: 1.8rem;
  }
  .story .episode .episode__image {
    width: 380px;
    margin: 0 1rem 0 0;
    text-align: center;
    float: left;
  }
  .story .episode .episode__image img {
    width: 100%;
    height: auto;
    vertical-align: middle;
  }

.story:after {
    display: block;
    z-index: -3;
    position: absolute;
    left: -125px;
    bottom: 350px;
    width: 662px;
    height: 362px;
    background: url(../img/img/story-img.png) 0 0/contain no-repeat;
    content: '';
	
}
}

/*  ---PC END---   */

.story .episode.min-swipe-item {
  display: none;
}
.story .episode.min-swipe-active {
  display: flex;
}
.episode__title {
    font-weight: bold;
    line-height: 1.2rem;
    text-align: center;
    color: #ffe673;
    /*text-shadow: 2px 0px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 0px -2px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 2px 2px 6px rgba(0, 0, 0, 0.14), -2px 2px 6px rgba(0, 0, 0, 0.14), 2px -2px 6px rgba(0, 0, 0, 0.14), -2px -2px 6px rgba(0, 0, 0, 0.14), 2px 0px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 0px -2px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 2px 2px 6px rgba(0, 0, 0, 0.14), -2px 2px 6px rgba(0, 0, 0, 0.14), 2px -2px 6px rgba(0, 0, 0, 0.14), -2px -2px 6px rgba(0, 0, 0, 0.14);*/
    font-family: 游明朝体, YuMincho, 游明朝, "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", HGS明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.episode__title span {
  font-size: 1.4rem;
  vertical-align: 0.06em;
}

.episode__title b {
  margin-left: 1rem;
  font-size: 1.4rem;
}

.episode__text {
    margin-bottom: 1.2rem;
    color: #fff;
    /*font-weight: bold;*/
    /*text-shadow: 2px 0px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 0px -2px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 2px 2px 6px rgba(0, 0, 0, 0.14), -2px 2px 6px rgba(0, 0, 0, 0.14), 2px -2px 6px rgba(0, 0, 0, 0.14), -2px -2px 6px rgba(0, 0, 0, 0.14), 2px 0px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 0px -2px 6px rgba(0, 0, 0, 0.14), -2px 0px 6px rgba(0, 0, 0, 0.14), 2px 2px 6px rgba(0, 0, 0, 0.14), -2px 2px 6px rgba(0, 0, 0, 0.14), 2px -2px 6px rgba(0, 0, 0, 0.14), -2px -2px 6px rgba(0, 0, 0, 0.14);*/
}
.episodeNav {
  z-index: 1;
  position: relative;
  margin-top: 2rem;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  margin-bottom: 1rem;
  text-align: center;
    font-family: 游明朝体, YuMincho, 游明朝, "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", HGS明朝E, "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.episodeNav .container {
  max-width: 960px;
  font-weight: bold;
	
}
.episodeNav .episodeNav__item {
  -webkit-transition: 0.15s;
  -o-transition: 0.15s;
  display: inline-block;
  margin: 0.44rem;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.15s;
  font-size: 1.2rem;
  line-height: 30px;
  position: relative;
  padding: 0 6px;
  height: 30px;
    background: #A3AAC6;
    color: #000;
  display: none;
}
.episodeNav .episodeNav__item--synopsis {
    width: 120px;
     height: 30px;
    padding: 0 0.4rem;
    background: #A3AAC6;
    color: #000;
    font-size: 1.2rem;
    line-height: 30px;
}
.episodeNav .episodeNav__item.is-active {
  -webkit-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  transform: translateY(-4px);
    background: #fff;
    color: #000;
}
.episodeNav .episodeNav__item {
  margin: 6px;
}

.ep_btn {
 font-weight: bold;
  text-align: center;
}
#js-story-pagination-buttons .episodeNav__btn.is-active {
    background: #A3AAC6;
    color: #000;
}
#js-story-pagination-buttons .episodeNav__btn {
  position: relative;
  margin: 1rem;
}
#js-story-pagination-buttons .episodeNav__btn {
  width: 200px;
  height: 30px;
    background: #A3AAC6;
    color: #000;
  font-size: 1.2rem;
}

.unclick {
	opacity: 0.5;
    pointer-events: none;
}
