@charset "utf-8";
/*---------------------
年間ランキング用　CSS
------------------------ */

.new-cms .cms-list-A {
    width: 100%;
    flex-wrap: wrap;
}

#container .new-cms .cms-list-A .sub_heading,
#container .new-cms .cms-list-B .sub_heading,
#container .new-cms .cms-list-C .sub_heading {
    display: flex;
    width: 100%;
}

.img_star {
    width: 38px;
}
.img_star img {
    width: 34px;
    height: auto;
}

.abst-prize {
    text-align: center;
    margin: 0 auto 10px;
    width: 65%;
    font-size: 13px;
}
#container .new-cms .embed_text.abst-free {
    margin-top: 5px;
    margin-bottom: 0 !important;
    line-height: 1.5;
}

/* banner_area */
#container .banner_area {
    padding: 0 10px;
    overflow: hidden;
}
#container .banner_area ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
#container .banner_area ul li {
    position: relative;
    width: 49%;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 10px;
    margin-right: 2%;
    text-align: center;
}
#container .banner_area ul li img {
    width: 100%;
    height: auto;
    max-width: 220px;
}
/* genre btn area */
#container .banner_area ul li a.spcms_genre_btn {
    width: 100%;
    min-height: 30px !important;
    display: block;
    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
    padding: 14px 0;
    letter-spacing: normal;
}

/* spcms_genre */
#container .cms-link-group.spcms_genre > li {
    text-align: center;
}
#container .cms-link-group.spcms_genre > li > a {
    display: block;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    line-height: 100%;
    padding: 15px 0;
}
.spcms .spcms_genre a {
    display: block;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: bold;
    line-height: 100%;
    padding: 15px 0;
    text-align: center;
    background-color: #FF5A00;
}
.banner_area .spcms_genre_btn.genre_color_cm,
.spcms_genre a.genre_color_cm {
    background-color: #0077CB;
}
.banner_area .spcms_genre_btn.genre_color_cf,
.spcms_genre a.genre_color_cf {
    background-color: #FF6090;
}
.banner_area .spcms_genre_btn.genre_color_ln,
.spcms_genre a.genre_color_ln {
    background-color: #D4C400;
}
.banner_area .spcms_genre_btn.genre_color_bk,
.spcms_genre a.genre_color_bk {
    background-color: #69A700;
}
.banner_area .spcms_genre_btn.genre_color_bz,
.spcms_genre a.genre_color_bz {
    background-color: #009ED0;
}
.banner_area .spcms_genre_btn.genre_color_ad,
.spcms_genre a.genre_color_ad {
    background-color: #D852B9;
}
.banner_area .spcms_genre_btn.genre_color_tl,
.spcms_genre a.genre_color_tl {
    background-color: #7D83EE;
}
.banner_area .spcms_genre_btn.genre_color_bl,
.spcms_genre a.genre_color_bl {
    background-color: #3FADB0;
}
.banner_area .spcms_genre_btn.genre_color_top,
.spcms_genre a.genre_color_top {
    background-color: #FF5A00;
}
.banner_area .spcms_genre_btn div {
    font-size: 12px;
}
.banner_area .spcms_genre_btn div.spcms_genre_name {
    font-size: 16px;
    line-height: 100%;
}

#container #main .new-cms .sub_heading {
    border: none;
    margin-top: 0;
    margin-bottom: 7px;
    overflow: visible;
    text-overflow: initial;
    white-space: break-spaces;
}

/* type-ce */
#container #main .new-cms.type-ce .cms-group ul.product_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 10px;
}

#container #main .new-cms.type-ce .cms-group ul.product_list li.cms-item:not(:first-child) {
    border: none;
    padding-top: 0;
    margin-top: 0;
}

#container #main .new-cms .flex-list-A ul:nth-of-type(n + 2) {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-top: none;
}

/* アブスト */
#spcms_top_lead {
    margin-bottom: 10px;
}
#container .embed_text {
    display: block;
    margin-top: 5px;
}
#container .new-cms .embed_text {
    margin-top: 0;
}

@media only screen and (min-width: 951px) {
    #container .banner_area ul li {
        width: 213px;
        margin-right: 10px;
    }
    #container ul.cms-link-group.link_list.page_links {
        border-left: none;
    }
    .new-cms .cms-list-A__detail .cms_book {
        width: 136px;
    }
    #container .new-cms .product_list .cms-list-A__detail .detail {
        padding-right: 0;
    }

    #container .product_list li:first-child .new-cms .cms-list-A .sub_heading .rank_title {
        max-width: 600px;
    }
    .new-cms .sub_heading .rank_title .embed_text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-height: 25px;
        color: #333333;
    }

    #container .spcms .cms-list-A .btn_module.free_reading {
        width: 187px;
    }
    .img_star {
        width: 45px;
    }
    .img_star img {
        width: 40px;
    }
    .img_star ~ a {
        padding-top: 8px;
        width: calc(100% - 45px);
    }
    #container .new-cms .sub_heading .img_star ~ a:hover {
        text-decoration: none;
    }
    #container p.embed_text.font_l {
        font-size: 15px;
    }

    /* Type-A,B のみ */
    .spcms_blocklist.new-cms:not(.type-lineup):not(.type-ce):not(.type-cb) ,
    .spcms_blocklist.new-cms.type-ce {
        margin-bottom: 20px;
    }

    .new-cms .cms-list-C {
        width: 325px;
    }
}

@media screen and (max-width: 950px) {
    #container .new-cms .area_common .product_list.one-border > li.section_content:last-child {
        border-bottom: none;
    }
    #container #main .new-cms .sub_heading > a {
        line-height: 1.3;
    }
    .img_star {
        width: 38px;
    }
    .img_star ~ a {
        padding-top: 8px;
        width: calc(100% - 38px);
    }
    .img_star img {
        width: 34px;
    }
    #container #main .new-cms.type-ce .cms-group ul.product_list {
        gap: 0;
    }
    #container #main .new-cms.type-ce .cms-group ul.product_list li.cms-item,
    #container #main .new-cms.type-ce .cms-group ul.product_list li.cms-item:not(:first-child) {
        width: 100%;
    }
    #container #main .new-cms.type-ce .cms-group ul.product_list li.cms-item {
        border-bottom: none;
    }
    #container #container_inner #main .cms-group .area_common {
        padding-bottom: 0;
    }
    #container .cms-link-group.spcms_genre > li > a {
        font-size: 16px;
    }
    #container #main .new-cms .flex-list-A .cms-item {
        padding-top: 10px;
    }
    #container #main .new-cms .flex-list-A .cms-item:not(:last-child) {
        border-bottom: 1px solid #DDDDDD;
    }
    .spcms_blocklist.type-cb.new-cms {
        border-top: 1px solid #DDDDDD;
        border-bottom: 1px solid #DDDDDD;
    }
    #container #main .spcms_blocklist.type-cb.new-cms .section_content:not(:last-child) {
        border-bottom: 1px solid #DDDDDD;
    }
    .spcms_blocklist.new-cms.type-lineup {
        padding-top: 10px;
    }
    #container .new-cms .embed_text {
        margin-top: 2px;
    }
    .spcms .spcms_genre {
        padding: 0 10px;
    }
    .spcms .spcms_genre a {
        font-size: 16px;
    }
    #container .cms-link-group {
        padding: 0 10px;
    }
}

@media only screen and (min-width: 768px) {
    .product_list.one-border {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .product_list.one-border li.cms-item {
        width: 100%;
    }
}

@media only screen and (min-width: 600px) {
    #container .banner_area ul li {
        width: 31.333333%;
        margin-right: 2%;
    }
    #container .banner_area ul li:nth-child(3n) {
        margin-right: 0;
    }
    .banner_area .spcms_genre_btn div {
        font-size: 13px;
    }
    .banner_area .spcms_genre_btn div.spcms_genre_name {
        font-size: 20px;
    }
    .spcms .spcms_genre a.genre_color_top {
        font-size: 20px;
    }
    .spcms .spcms_cpn .spcms_cpnspec_01 .spcms_cpnname_s {
        color: #C00000;
        font-size: 19px;
        font-weight: bold;
        text-align: center;
    }
    .spcms_lnk_btn {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (max-width: 599px) {
    #container .banner_area ul li:nth-of-type(2n) {
        margin-right: 0;
    }
}

/* -------------- 管理画面 -------------- */
.spcms.dashboard .product_list.one-border li.cms-item {
    width: 100%;
}
.spcms.dashboard .img_star ~ a > span {
    margin-left: 0;
}
#container #main .spcms.dashboard .new-cms.type-ce .cms-group ul.product_list li.cms-item:not(:first-child) {
    width: 100%;
}
.spcms.dashboard .new-cms .cms-item-box:not(.cms-list-D) .input-title {
    padding-top: 60px;
}
