@charset "Shift_JIS";

#ykkap-life-book {
    position: relative;
    width: 100%;
    padding-top: 2px;
}

#ykkap-life-book img {
    max-width: 100%;
}

#ykkap-life-book .section {
    width: auto;
    padding-left: 0;
    padding-right: 0;
}

#ykkap-life-book h1 {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

#ykkap-life-book .list-books {
    max-width: 988px;
    width: 100%;
    margin: 0 auto;
    padding-top: 50px;
}

#ykkap-life-book .bookshelf .book-wrapper {
    position: relative;
    margin: 0 15px;
}

#ykkap-life-book .bookshelf .book-wrapper:before,
#ykkap-life-book .bookshelf .book-wrapper:after {
    content: '';
    display: table;
}

#ykkap-life-book .bookshelf .book-wrapper:after {
    clear: both;
}

#ykkap-life-book .bookshelf .book {
    position: relative;
    z-index: 2;
    text-align: center;
}

#ykkap-life-book .bookshelf .book img {
    width: 200px;
}

#ykkap-life-book .bookshelf .bookshelf-img {
    margin-top: -14px;
}

#ykkap-life-book .bookshelf .txtBox {
    padding: 40px 25px 50px;
    margin-bottom: -20px;
    background-color: #f3f3f3;
    box-sizing: border-box;
}

#ykkap-life-book .bookshelf .link-view-more {
    display: inline-block;
    margin-top: 20px;
    padding-right: 20px;
    background: url('/asset/image/icon_window.png') no-repeat right 4px;
    background-size: 14px;
}

#ykkap-life-book .bookshelf .txtBox-inner {
    display: table-cell;
    vertical-align: middle;
}

#ykkap-life-book .bookshelf .txtBox-inner h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

#ykkap-life-book .link {
    width: 100%;
    margin: 100px auto 50px;
}

#ykkap-life-book .link a {

}



/* ===================================================================================
for SP max-width: 640px
=================================================================================== */
@media screen and (min-width: 450px) and (max-width: 640px) {
    #ykkap-life-book .bookshelf .bookshelf-img {
        margin-top: -19px;
    }
}

/* ===================================================================================
for SP max-width: 640px
=================================================================================== */
@media screen and (min-width: 641px) {
    #ykkap-life-book .list-books {
        padding-top: 104px;
    }

    #ykkap-life-book .bookshelf {
        margin-bottom: 3px;
    }

    #ykkap-life-book .bookshelf .book-wrapper {
        margin: 0 59px;
    }

    #ykkap-life-book .bookshelf .txtBox {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        display: table;
        margin: auto 0;
        width: 465px;
        height: 300px;
        font-size: 14px;
        padding: 0 45px 0 94px;
    }

    #ykkap-life-book .bookshelf .book {
        width: 52.2%;
        text-align: right;
    }

    #ykkap-life-book .bookshelf .book img {
        width: auto;
    }

    #ykkap-life-book .book-wrapper-box-r .txtBox {
        right: auto;
        left: 0;
        padding: 0 85px 0 60px;
    }

    #ykkap-life-book .book-wrapper-box-r .book {
        text-align: left;
        float: right;
    }
}
