/* Story
--------------------------------------------------*/
#story .pad {
    background: url("./images/story/bg.jpg") no-repeat top center / cover ;
    background-attachment: fixed;
}

#story .timeline {
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    margin: 0;
    padding: 0;
    min-width: 667px;
    font-family: "Sawarabi Mincho";
}

#story .timeline > li {
    list-style: none;
    margin:0;
    padding:0;
}

#story article {
    margin:0;
    padding:0;
    font-size: 20px;
}

#story article > h3 {
    background: url(./images/story/line.png) no-repeat bottom;
    padding: 60px 0 20px;
    margin-bottom: 75px;
    font-weight: normal;
    font-size: 22px;
}

#story article > h3 > span {
    font-size: 36px;
    margin-left: 10px;
}

#story article > .description {
    background-color: rgba(0, 0, 0, 0.55);
    padding: 50px 0;
    position: ralative;
}

#story article > .description > section {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

#story article > .description > section > .text {
    text-align: left;
    text-shadow: 0 0 8px #000;
    padding: 0 20px;
    position: relative;
    z-index: 1000;
    line-height: 1.5;
}

#story article > .description > section > .text p:last-child {
    margin-bottom: 0;
}

#story article > .description .character {
    width: 300px;
    z-index: 100;
}

#story .chapter0 {
    background-image: url(./images/story/chapter0.jpg);
    background-size: cover;
    background-position: 50% 50%;
    height: 100%;
}

#story .chapter0 > article {
    background-color: rgba(0, 0, 0, 0.55);
}

#story .chapter0 article > .description {
    background: transparent;
}

#story .chapter0 article > .description > section > .text {
    text-align: center;
}

#story .chapter1 .character {
    position: absolute;
    top: -150px;
    right: 0;
}

#story .chapter2 .text,
#story .chapter3 .text {
    width: 70%;
    float: right;
}

#story .chapter2 .character {
    position: absolute;
    top: -110px;
    left: -50px;
}

#story .chapter3 .character {
    position: absolute;
    top: -110px;
    left: -10px;
}

#story .chapter0 h3{
    margin-bottom: 0;
}

@media screen and (max-width:667px) {
    #story .timeline {
        background-repeat: repeat-y;
        background-size: auto;
        min-width: 320px;
        padding-bottom: 50px;
    }
    
    #story .timeline > li > article {
        font-size: 1.2rem;
    }
    
    #story article > .description {
        margin: 0 3%;
        padding:0;
        position: relative;
    }
    
    #story article > .description > section > .text {
        max-width: 100%;
        margin: 0;
        padding: 5%;
    }
    
    #story article > h3 {
        margin: 0 3% 20px;
        background: url(./images/story/line_sp.png) no-repeat bottom center / contain ;
    }
    
    #story article > h3 > span {
        font-size: 36px;
        margin: 15px 0 10px;
        display: block;
    }
    
    #story .chapter0 article > .description {
        margin: 0;
    }
    
    #story .chapter1 .description {
        margin-bottom: 50px;
    }
    
    #story .chapter1 .description section {
        padding-bottom: 350px;
    }
    
    #story .chapter1 article > .description .character {
        top: auto;
        bottom: -80px;
        width: 250px;
        left: 0;
        right: 0;
        margin: auto;
    }
    
    #story .chapter2 article > .description .character,
    #story .chapter3 article > .description .character {
        width: 250px;
        left: 0;
        right: 0;
        margin: auto;
    }
    
    #story .chapter2 article > .description > section > .text {
        width: auto;
        float: none;
        padding-top: 430px;
    }
    
    #story .chapter3 article > .description > section > .text {
        width: auto;
        float: none;
        padding-top: 390px;
    }
    
    #story .chapter2 article > h3,
    #story .chapter3 article > h3 {
        margin-bottom: 130px;
    }
}

    @media screen and (max-width:420px) {
        #story .timeline > li > article {
            font-size: 1.05rem;
        }
    }
