 @charset "utf-8";
/* CSS Document */
/* story.css */
/****************************************************************************************

    ストーリー

****************************************************************************************/

#story{
    position: relative;
    z-index:1;
}

/*----------------------------------

    スライド

----------------------------------*/

#story .slide{
    text-align:center;
    position:relative;
}
#story .slide li{
    width:100%;
    height:auto;
    position:relative;
    overflow:hidden;
}
#story .slide li .img{
    width:100%;
    max-width:1500px;
    margin:0 auto;
}
#story .slide li .img img{
    width:100%;
}
#story .slide .details{
  width: 620px;
    height:auto;
    padding:30px 30px 20px;
  box-sizing: border-box;
    background:rgba(255,255,255,0.8);
    border-radius:10px;
    margin:0 auto;
    position:absolute;
    bottom:20px;
    left:0;
    right:0;
    text-align:left;
}

#story .slide .details .next{
    margin:20px 0 0 0;
    text-align:center;
    background:url(../images/common/next_btn_on.png) no-repeat center;
    background-size:200px;
}
#story .next img{
  width: 200px;
  margin: 0 auto;
  cursor: pointer;
    -webkit-transition:all 0.3s ease;
    transition:all 0.3s ease;
}
#story .next img:hover{
    opacity:0;
}


#story .slide img:nth-child(odd){
  display: block;
}
#story .slide img:nth-child(even){
  display: none;
}
#story .slide img.bgTop , #story .slide img.bgBot{
  display: none;
}


/*************************************

    マーク

*************************************/

.mark{
    text-align:center;
    margin:0 auto 3%;
    max-width:500px;
    width:100%;
    position:relative;
}

.mark li{
    background:#ffcccc;
    height:20px;
    width:20px;
    border-radius:50px;
    display:inline-block;
    margin:0 4%;
    position:relative;
    z-index:auto;
}
.mark li.active{
  background:#ff204b;
}
.mark li::before{
    content:"";
    height:1px;
    width:300%;
    background:#ff204b;
    position:absolute;
    top:0;
    bottom:0;
    right:0;
    margin:auto;
    z-index:-1;
}
.mark li:first-child:before{
    content:"";
    background:none;
}



@media screen and (max-width: 800px){

  #story .next img{
    width: 190px;
    cursor: pointer;
  }
#story .slide .details .next{
    background-size:190px;
}

  #story .slide .details{
      width:100%;
    max-width: 640px;
      height:auto;
    opacity: 1;
      padding:20px 17px 40px;
    box-sizing: border-box;
      background: none;
      border-radius:none;
      margin:0 auto;
    font-size:100%;
  }
}


@media screen and (max-width: 640px){
  #story .slide .details .next{
    display: none;
  }

  #story .slide .details{
      width:100%;
      height:auto;
    opacity: 1;
      padding:20px 17px 20px;
    box-sizing: border-box;
      background: none;
      border-radius:none;
      margin:0 auto;
      position:static;
    font-size:115%;
  }

  #story .slide img:nth-child(odd){
    display: none;
  }
  #story .slide img:nth-child(even){
    display: block;
  }
  #story .slide img.bgTop , #story .slide img.bgBot{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
  }
  #story .slide img.bgBot{
    top: 7%;
  }
}
