@charset "utf8";
@media screen and (min-width: 768px) {
    .pc_only {}

    .sp_only {
        display: none !important;
    }
    #booktitleSP h2 {
        height: 1000px;
    }
    .newbook {
        display: flex;
        justify-content: space-between;
        padding: 2%;
    }
    .newbook dl {
        float: none;
        padding: 0 2%;
    }
    .newbook .book_detail {
        padding-left: 2%;
    }
    .newbook .book_detail .book_txt {
        font-size: 80%;
    }
    .buy_btn {
        margin: 8px auto 7px;
        -webkit-border-radius: 4;
        -moz-border-radius: 4;
        border-radius: 4px;
        color: #ffffff;
        font-size: 18px;
        font-weight: bold;
        background: #f8004c;
        text-align: center;
        padding: 0;

        text-decoration: none;
        width: 237px;
        line-height: 50px;
        height: 50px;
    }
    .buy_btn:hover {
        opacity: 0.5;
    }
    #news dd {
        word-wrap: break-word;
    }
}

@media screen and (max-width: 768px) {

    /*Common*/
    * {
        box-sizing: border-box;
        word-wrap: break-word;
    }
    .* {
        box-sizing: border-box;
    }
    img {
        max-width: 100%;
        vertical-align: middle;
    }

    .pc_only {
        display: none !important;
    }

    .sp_only {
        display: block !important;
    }
    .sp_mt {
        margin-top: 10px;

    }

    .sp_mb {
        margin-bottom: 10px;

    }
    .sp_p {
        padding: 0 2%;
    }

    /*header*/
    html,
    body {
        width: 100%;
    }

    nav,
    #wrap,
    #content,
    #line_header,
    #line_footer footer {
        box-sizing: border-box;
    }

    #wrap {
        width: 100%;
        background-image: none;
    }
    .header_top {
        width: 100%;
    }
    #left_side {
        width: 100%;
        float: none;
        background-color: transparent;
        border: 0px solid #ffffff;
        padding: 0px 0px 0px 0px;
    }
    #right_side {
        width: 100%;
        padding: 0 0px;
    }
    #content_in {
        width: 100%;
        float: none;
    }
    #date {
        height: auto;
        text-align: center;
        background-image: none;
        text-shadow: 2px 2px 6px #919191;
    }
    .back {
        display: none;
    }
    #content_in h2 {
        height: auto;
    }
    .res_cen {
        text-align: center;
    }
    footer ul,
    #copy {
        position: relative;
        width: 100%;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }



    /**fixed*/
    .hr {
        border: 0px solid #ffffff;
        border-top: 1px solid #0097ff;
    }
    #pub_list ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    #pub_list ul li {
        width: 30%;
        margin: 0 5px 20px;
    }
    #pub_list ul li img {
        box-shadow: 3px 4px 12px -6px #21cbf6;
    }

    /**spmenu*/
    #sns {
        background: none;
        width: 236px;
        overflow: hidden;
    }
    .share li {
        float: left;
        width: 80px;
    }
    .sp_header {
        display: flex;
        justify-content: space-between;
        background: #29a7fe;
        padding: 30px 5px 7px 5px;
        border-bottom: 3px solid #006cba;
    }
    .sp_header .spmenubtn {
        padding: 5px 5px 0px 5px;
    }
    nav.sp_menu li {
        background: #29a7fe;
        border-bottom: 1px solid #ffffff;
    }
    nav.sp_menu li a {
        width: 100%;
        color: #ffffff;
        text-decoration: none;
        display: block;
        padding: 5px;
        text-align: center;
    }
    .sp_menu {
        display: none;
    }

    /*booktitle*/
    table {
        width: 100%!important;
    }
    .newbook_left {
        width: 100%;

    }
    .newbook dl {
        width: 100%;
    }
    #booktitleSP #profile {
        color: #FFF;
        padding: 5px 0px 15px;
    }
    #booktitleSP .prof1 li {
        width: 100%!important;
        float: none;
        display: flex;
        margin-bottom: 20px;
    }
    #booktitleSP .prof1 li .img {
        width: 40%;
    }
    #booktitleSP .prof1 li .img img {

        height: auto;
    }
    #booktitleSP .prof1 li div {
        width: 60%;
        text-align: left;
        padding: 2%;
    }
    #booktitleSP h2 {
        height: calc(100vw/0.75);
        background-repeat: no-repeat;
        background-position: bottom;
        position: relative;
        background-size: cover;
    }
    #booktitleSP #about {
        font-size: 13px;
        background-size: cover;
    }
    #booktitleSP #about h3 {
        font-size: 18px;
        background-size: cover;
    }
    #tokuten .store {
        width: 46%;
        font-size: 13px;
        padding-right: 5px;
    }
    #tokuten td {
        font-size: 13px;
    }
    #fair {
        font-size: 13px;
        text-align: left;
        box-sizing: border-box;
        padding: 2%;
    }
    #fair h3 {
        text-align: center;
        font-size: 1.4em;
        font-weight: bold !important;
        color: #F00;
        height: auto;
    }
    .seriestitle {
        text-align: center;
        padding: 20px 0 10px;
        background-image: none;
        background-position: left bottom;
        background-repeat: repeat-x;
        font-weight: bold;
        color: #003eb1;
        font-size: 18px;
        margin-bottom: 10px;
    }
    .prof1 li {}
    .newbook {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        border-bottom: 1px #b5e1ff solid;
        margin: 2%;
    }
    .newbook_left a {
        display: block;
        margin: 5px auto;
    }
    .newbook .newbook_left {
        width: 35%;
    }
    .newbook dl {
        width: 65%;
        padding: 0 2%;
    }
    .newbook dt {
        width: 100%;
        padding: 5px 2%;
        margin-top: 0px;
        clear: both;
        border-top: 0px #b5e1ff solid;
    }
    .comic_btn {
        -webkit-border-radius: 4;
        -moz-border-radius: 4;
        border-radius: 4px;
        color: #ffffff;
        font-size: 11px;
        font-weight: bold;
        background: #09F;
        padding: 10px 0px 10px 0px;
        text-decoration: none;
        width: 100%;
        margin: 10px 0;
        text-align: center;
        padding: 0;

        text-decoration: none;
        width: 100%;
        line-height: 32px;
        height: 32px;
    }
    .buy_btn {
        margin: 8px auto 7px;
        -webkit-border-radius: 4;
        -moz-border-radius: 4;
        border-radius: 4px;
        color: #ffffff;
        font-size: 13px;
        font-weight: bold;
        background: #f8004c;
        text-align: center;
        padding: 0;

        text-decoration: none;
        width: 100%;
        line-height: 32px;
        height: 32px;
    }
    .buy_btn:hover {
        opacity: 0.5;
    }
    .last_btn {
        margin-bottom: 20px;
    }
    #content_in #date img {
        padding: 0px 5px 4px 3px;
        float: none;
    }
    /*
    .newbook dt.katch {
        display: flex;
        margin-top: 10px;
        border-top: 1px solid #b5e1ff;
        border-bottom: 1px solid #b5e1ff;
        min-height: 4em;
        background-image: url('/img/sp/plus.png');
        background-repeat: no-repeat;
        background-position: right;
        background-size: 32px;
    }

    .newbook .book_txt {
        overflow: hidden;
        line-height: 0px;
        opacity: 0;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
        font-size: 80%;
        padding: 0 2%;

    }
    .newbook .active {
        overflow: hidden;
        opacity: 1;
        line-height: 1.2em;
        padding: 2% 2%;
    }
    */
    .toku_btn {
        margin: 8px auto 7px;
        -webkit-border-radius: 4;
        -moz-border-radius: 4;
        border-radius: 4px;
        color: #ffffff;
        font-size: 13px;
        font-weight: bold;
        background: #ff4599;
        text-align: center;
        padding: 0;

        text-decoration: none;
        width: 100%;
        line-height: 32px;
        height: 32px;
    }
    .b_info {
        padding-bottom: 10px;
        border-bottom: 0px #b5e1ff solid;
    }
    .book_txt {
        padding-bottom: 0px;
    }
    .cart_area {
        width: 100%;
        padding: 2%;
        display: flex;
        justify-content: space-around;

    }
    hr.book_line {
        border: 0px solid #ffffff;
        border-bottom: 2px solid #005b9d;
        margin-bottom: 40px;
    }


    /*TOP*/
    #slide {
        clear: both;
        height: auto;
        margin-bottom: 10px;
    }
    .flex-control-nav {
        width: 100%;
        position: absolute;
        bottom: -60px;
        text-align: center;
    }
    #content {
        width: 100%;
        float: none;
        margin-right: 10px;
    }
    .sp_flex_bookslist {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .sp_flex_bookslist .books {
        display: block;
        width: 47%;
        background-image: url(../img/common/books_bg.gif);
        float: left;
        padding: 10px 10px 5px 10px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 10px!important;
    }
    .sp_flex_bookslist .books .books_img {
        float: none;
        width: 100%;
    }
    .sp_flex_bookslist .books .books_img img {
        width: 100%!important;
    }
    #top_news h2 {
        background: none;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0.88, #fff), color-stop(0.00, #72c6ff));
        background: -webkit-linear-gradient(top, #72c6ff 0%, #fff 88%);
        background: -moz-linear-gradient(top, #72c6ff 0%, #fff 88%);
        background: -o-linear-gradient(top, #72c6ff 0%, #fff 88%);
        background: -ms-linear-gradient(top, #72c6ff 0%, #fff 88%);
        background: linear-gradient(to bottom, #72c6ff 0%, #fff 88%);

        padding: 5px 5px;
        font-size: 19px;
        text-shadow: 3px 3px 2px #ffffff;

    }
    #top_news h2:before {
        content: "新着情報";

    }
    #top_news ul {
        margin: 0 auto;
        width: 100%;
        max-height: 460px;
        overflow: auto;
        overflow-y: scroll;
    }
    #information {
        width: 100%;
        float: none;
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
        padding: 5px 5px 10px;
        margin-bottom: 30px;
    }
    #information h3 {
        height: auto;
    }
    #information ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;

    }
    #information ul li {
        width: 47%;

    }
    #information ul li iframe {
        width: 100%!important;

    }

    .news_content dl {
        padding: 2%;
        box-sizing: border-box;

    }
    .news_content .tweet_kiji {
        position: relative;
        margin-left: auto;
        margin-right: 0px;
        display: block;
        text-align: right;
        bottom: 0px;
    }
    #news dt {
        background-image: url(../img/news/line_star.png);
        background-position: left bottom;
        background-repeat: repeat-x;
        padding: 5px 1px 12px 0;
        font-weight: bold;
        color: #003eb1;
        position: relative;
    }
    #news dt time {
        padding-top: 5px;
        display: block;
        font-size: 12px;
        text-align: left;
        color: #0097ff;
        height: 23px;
    }
}
