@charset "UTF-8";
/* CSS Document */

.back {
    background-image: url(../img/episode_back.png);
    background-size: 4465px 8716px;
    background-repeat: no-repeat;
    background-position: center top;
}
#contents img {
    width: 100%;
    height: auto;
}

#contents .mimg {
    margin: 100px 0 0;
}

#contents h1 {
    font-size: 0;
    display: block;
    text-align: center;
    padding: 50px 0;
}
#contents h1 .tt {
    width: 878px;
    height: auto;
}

#contents .epbase {
    background-color: #f5e6c8;
    border-radius: 54px;
    padding: 45px 63px;
}
#contents .epbase .item {
    width: 100%;
    margin-bottom: 38px;
    box-sizing: border-box;
    padding: 60px 70px 65px 70px;
    background-position: top center, bottom center, center center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 100% auto, 100% auto, 100% calc(100% - 60px);
}
#contents .epbase .item.hide {
    display: none;
}
#contents .epbase .item1 {
    background-image: url(../img/episode_f1t.png), url(../img/episode_f1b.png), url(../img/episode_w.png);
}
#contents .epbase .item2 {
    background-image: url(../img/episode_f2t.png), url(../img/episode_f2b.png), url(../img/episode_w.png);
}
#contents .epbase .item3 {
    background-image: url(../img/episode_f3t.png), url(../img/episode_f3b.png), url(../img/episode_w.png);
}
#contents .epbase .item div {
    font-size: 30px;
    line-height: 1.5;
    text-align: justify;
    word-break: break-all;
    color: #333;
}
#contents .epbase .item div strong {
    display: block;
    font-size: 36px;
    line-height: 1.4;
    padding-bottom: 15px;
}
#contents .epbase .item div p {
    font-size: 20px;
    line-height: 1.85;
    text-align: justify;
    word-break: break-all;
}
#contents .epbase .item div p.rtxt {
    text-align: right;
}

#contents .btn {
    width: 537px;
    margin: 0 auto;
}
#contents .btn img {
    width: 100%;
    height: auto;
}
#contents .btn a {
    display: block;
    text-indent: -9999px;
    font-size: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#contents .btn a.more {
    background-image: url(../img/episode_mbtn.png);
}
#contents .btn a.more:hover {
    background-image: url(../img/episode_mbtn_on.png);
}
#contents .btn a.close {
    background-image: url(../img/episode_close.png);
    display: none;
}
#contents .btn a.close:hover {
    background-image: url(../img/episode_close_on.png);
}
#contents .backhomebtn {
    width: 766px;
    margin: 76px auto 95px;
}
#contents .backhomebtn img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1023px) {
    .back {
        background-image: none;
    }
    #contents .mimg {
        margin-top: 30px;
    }
    #contents h1 {
        padding: 30px 0 20px;
    }
    #contents h1 .tt {
        width: 100%;
    }
    #contents .epbase {
        border-radius: 27px;
        padding: 15px 10px;
    }
    #contents .epbase .item div strong {
        font-size: 28px;
    }
    #contents .epbase .item div p {
        font-size: 18px;
    }
    #contents .btn {
        width: 100%;
    }
    #contents .backhomebtn {
        width: 100%;
        margin: 30px auto 90px;
    }
}

@media screen and (max-width: 600px) {
    #contents .epbase .item {
        padding: 30px 24px;
        margin-bottom: 15px;
    }
    #contents .epbase .item div strong {
        font-size: 18px;
        padding-bottom: 10px;
    }
    #contents .epbase .item div p {
        font-size: 13px;
    }
}