@charset "utf-8";
body {
    background-image: url(../img/bg.gif);
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333333;
    /* text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);*/
    background-repeat: repeat;
}

img {
    max-width: 100%;
}

header {
    /* background-color: #6f0602;*/
    background-image: url("../img/head_bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
}

pre {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.inner {
    width: 940px;
    margin: 0 auto;
    position: relative;
}

.mt {
    margin-top: 20px;
}

.pt {
    padding-top: 20px;
}

.pb {
    padding-bottom: 20px;
}

.mb {
    margin-bottom: 40px;
}

.cen {
    text-align: center;
}

.rel {
    position: relative;
}

.p20 {
    padding: 20px;
    box-sizing: border-box;
}

.p40 {
    padding: 40px;
    box-sizing: border-box;
}

.btn01 {
    position: absolute;
    bottom: 27px;
    right: 37px;
}

.btn02 {
    position: absolute;
    bottom: 70px;
    right: 37px;
}

.bg01 {
    background-image: url("../img/txt_bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}


article {
    margin-bottom: 40px;
    position: relative;
}

article ul.link {
    position: absolute;
    bottom: 27px;
    right: 13px;
}

article ul.link li {
    margin-right: 23px;
}

section.bg02 {
    background-image: url(../img/bg2.jpg);
}

.flexs {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}



.flexc {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flexc a {
    display: block;
    width: 100%;
}

.flexc a img {
    max-width: 100%;
}

.flexc {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.flexa {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.flexa li {
    text-align: left;
}

.flexa li a {
    color: #f8e94e;
}

.wh {
    padding: 0 20px;
    color: #fff;
    font-size: 21px;
}

header #sns {
    padding: 5px 0 0 0;
    position: absolute;
    top: 0;
    right: 2%;

    width: 295px;
    display: flex;
    background-image: none;
}

header #sns li {
    margin-right: 10px;
}


section:after,
article:after,
.cf:after,
#titles article .body:after,
#titles article .body .head:after,
#titles article .body .hr:after {
    content: "";
    clear: both;
    display: block;
}

.ftitle {
    position: absolute;
    top: -10px;
    left: 0;
}

div.txt {
    padding-top: 20px;
    text-align: right;
    padding-right: 48px;
    margin-bottom: 20px;
}

.newbook {
    border-bottom: 0px #006cba solid;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.list {
    background: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 40px;
    color: #333333;
    font-size: 14px;
    line-height: 19px;
}

.list span {
    font-size: 20px;
}

footer {
    padding-bottom: 0px;
    background-color: #333333;
    clear: both;
}

footer ul {
    display: flex;
    justify-content: space-around;
}

footer ul li {
    width: 40%;
    text-align: center;
}

footer .hr {
    min-height: 20px;
    background-color: #006cba;
}

footer .cr {
    background: #020202;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    padding: 20px 0;
}


#items ul li {
    width: 136px;
    text-align: center;
    margin-right: 20px;
    margin-bottom: 20px;
}

#items ul li img {
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
}

/**Hover*/

a:hover img {
    opacity: 1;
    -webkit-animation: flash 1.5s;
    animation: flash 1.5s;
}

@-webkit-keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

@keyframes flash {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .inner {
        width: 100%;
        margin: 0 auto;
        position: relative;
    }
    .sp_pref {
        padding-top: 30px;
    }
    .sp_pb {
        padding: 0 20px;
        padding-bottom: 40px;
    }
    .sp45 {
        width: 45%;
    }
    header {
        margin-bottom: 20px;
    }
    header #sns {
        width: 95%;
    }
    .flexs {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .bg01 {
        background-image: url("../img/txt_bg2.png");
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    .ftitle {
        position: absolute;
        top: -10px;
        left: 0;
        width: 45%;
    }
    div.txt {

        text-align: center;
        padding: 5px 48px;
        padding-top: 48px;
        margin-bottom: 20px;
    }
    #items {
        padding: 2%;
        box-sizing: border-box;
    }
    #items ul li {
        width: 30%;
        text-align: center;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    .flexa li {
        text-align: left;
        margin-bottom: 20px;
    }
}
