@charset "utf-8";

/*
**************************************************************************
*	雪印メグミルクKids - topic
**************************************************************************/

/* --------------------------------------
    override
---------------------------------------- */
#stage #content {
    background: url(/kids/assets/topic/img/bg_archives_pattern.png) repeat-x center top;
}

#content #contentHead {
    background-color: inherit;
}

@media screen and (max-width: 736px) {
    #stage #content {
        background: url(/kids/assets/topic/img/bg_archives_pattern@sp.png) repeat-x center top;
        background-size: contain;
    }
}

/* --------------------------------------
    archives
---------------------------------------- */

/* logo
 ---------------------------------------- */
#stage .wrp-topic-logo {
    position: relative;
    width: 1000px;
    margin: 0 auto;
}
#stage .wrp-topic-logo .kids-logo {
    width: 306px;
}
#stage .wrp-topic-logo .kids-logo img {
    width: auto;
    height: 64px;
}

/* link */
#stage .wrp-topic-logo .mod-category-link {
    position: absolute;
    right: 0;
    bottom: 5px;
}

@media screen and (max-width: 736px) {
    #stage .wrp-topic-logo {
        width: 100%;
    }
    #stage .wrp-topic-logo .kids-logo {
        width: 100%;
        max-width: 296px;
        margin: 0 auto;
        padding: 10px 15px 0;
    }
    #stage .wrp-topic-logo .kids-logo img {
        width: 100%;
        height: auto;
    }

    /* link */
    #stage .wrp-topic-logo .mod-category-link {
        display: none;
    }
}

/* ヘッダー
 ---------------------------------------- */
#stage .wrp-topic-header {
    position: relative;
    padding: 30px 0 35px;
    color: #0039A6;
    font-size: 33px;
    font-weight: 700;
    text-align: center;
}

#stage .wrp-topic-header .icn-category {
    display: block;
    width: 45px;
    min-height: 45px;
    margin: 0 auto 5px;
}
#stage .wrp-topic-header .icn-category img {
    display: block;
    width: 45px;
    height: auto;
}

@media screen and (max-width: 736px) {
    #stage .wrp-topic-header {
        padding: 22px 0 25px;
        font-size: 28px;
    }

    #stage .wrp-topic-header::before {
        width: 100px;
        height: 140px;
        background: url(/kids/assets/topic/img/bg_topic_head_l@sp.png) no-repeat left top;
        background-size: 100px auto;
    }

    #stage .wrp-topic-header::after {
        width: 100px;
        height: 140px;
        background: url(/kids/assets/topic/img/bg_topic_head_r@sp.png) no-repeat right top;
        background-size: 100px auto;
    }

    #stage .wrp-topic-header .icn-category {
        width: 38px;
        min-height: 38px;
    }
    #stage .wrp-topic-header .icn-category img {
        width: 38px;
        height: auto;
    }
}


/* カテゴリーリンク
 ---------------------------------------- */
#stage .wrp-link-category {
    width: 1000px;
    margin: 0 auto;
}

#stage .wrp-link-category ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: -15px;
}

#stage .wrp-link-category li {
    margin: 15px 5px 0;
}

/* btn */
#stage .wrp-link-category li a {
    position: relative;
    display: block;
    height: 50px;
    padding: 0 30px 0 50px;
    background-color: #fff;
    border: solid 2px #ccc;
    border-radius: 100px;
    font-size: 19px;
    font-weight: 700;
    line-height: 46px;
    text-align: center;
    transition: background-color .3s, border-color .3s, opacity .3s;
}
#stage .wrp-link-category li a .icn-check {
    position: absolute;
    left: 18px;
    top: 13px;
    display: block;
    width: 20px;
    height: 20px;
    background-color: #ccc;
    border-radius: 100px;
}
#stage .wrp-link-category li a .icn-check::before,
#stage .wrp-link-category li a .icn-check::after {
    content: "";
    position: absolute;
    display: block;
    background-color: #fff;
    border-radius: 100px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#stage .wrp-link-category li a .icn-check::before {
    left: 10.8px;
    top: 6px;
    width: 2px;
    height: 9px;
}
#stage .wrp-link-category li a .icn-check::after {
    left: 4px;
    top: 10px;
    width: 6px;
    height: 2px;
}
#stage .wrp-link-category li:hover a .icn-check,
#stage .wrp-link-category li.active a .icn-check {
    background-color: #fff;
}

/* btn all */
#stage .wrp-link-category li.all a {
    border-color: #0039A6;
    color: #0039A6;
}
#stage .wrp-link-category li.all a:hover,
#stage .wrp-link-category li.all.active a {
    background-color: #0039A6;
    color: #fff;
}
#stage .wrp-link-category li.all a:hover .icn-check::before,
#stage .wrp-link-category li.all a:hover .icn-check::after,
#stage .wrp-link-category li.all.active a .icn-check::before,
#stage .wrp-link-category li.all.active a .icn-check::after {
    background-color: #0039A6;
}

/* btn genki */
#stage .wrp-link-category li.genki a {
    border-color: #FE544F;
    color: #FE544F;
}
#stage .wrp-link-category li.genki a:hover,
#stage .wrp-link-category li.genki.active a {
    background-color: #FE544F;
    color: #fff;
}
#stage .wrp-link-category li.genki a:hover .icn-check::before,
#stage .wrp-link-category li.genki a:hover .icn-check::after,
#stage .wrp-link-category li.genki.active a .icn-check::before,
#stage .wrp-link-category li.genki.active a .icn-check::after {
    background-color: #FE544F;
}

/* btn rakunou */
#stage .wrp-link-category li.rakunou a {
    border-color: #E4A100;
    color: #E4A100;
}
#stage .wrp-link-category li.rakunou a:hover,
#stage .wrp-link-category li.rakunou.active a {
    background-color: #E4A100;
    color: #fff;
}
#stage .wrp-link-category li.rakunou a:hover .icn-check::before,
#stage .wrp-link-category li.rakunou a:hover .icn-check::after,
#stage .wrp-link-category li.rakunou.active a .icn-check::before,
#stage .wrp-link-category li.rakunou.active a .icn-check::after {
    background-color: #E4A100;
}

/* btn kankyo */
#stage .wrp-link-category li.kankyo a {
    border-color: #6DC00C;
    color: #6DC00C;
}
#stage .wrp-link-category li.kankyo a:hover,
#stage .wrp-link-category li.kankyo.active a {
    background-color: #6DC00C;
    color: #fff;
}
#stage .wrp-link-category li.kankyo a:hover .icn-check::before,
#stage .wrp-link-category li.kankyo a:hover .icn-check::after,
#stage .wrp-link-category li.kankyo.active a .icn-check::before,
#stage .wrp-link-category li.kankyo.active a .icn-check::after {
    background-color: #6DC00C;
}


@media screen and (max-width: 736px) {
    #stage .wrp-link-category {
        width: auto;
        margin: 0 15px;
    }

    #stage .wrp-link-category ul {
        justify-content: flex-start;
    }

    /* btn */
    #stage .wrp-link-category li a {
        height: 45px;
        padding: 0 23px 0 43px;
        font-size: 14px;
        line-height: 41px;
    }
    #stage .wrp-link-category li a .icn-check {
        left: 14px;
        top: 10px;
    }
    #stage .wrp-link-category li:hover a .icn-check {
        background-color: #ccc;
    }
    #stage .wrp-link-category li.active a:hover .icn-check {
        background-color: #fff !important;
    }

    /* btn all */
    #stage .wrp-link-category li.all a:hover {
        background-color: #fff;
        color: #0039A6;
    }
    #stage .wrp-link-category li.all a:hover .icn-check::before,
    #stage .wrp-link-category li.all a:hover .icn-check::after {
        background-color: #fff;
    }

    #stage .wrp-link-category li.all.active a:hover {
        background-color: #0039A6;
        color: #fff;
    }
    #stage .wrp-link-category li.all.active a:hover .icn-check::before,
    #stage .wrp-link-category li.all.active a:hover .icn-check::after {
        background-color: #0039A6;
    }

    /* btn genki */
    #stage .wrp-link-category li.genki a:hover {
        background-color: #fff;
        color: #FE544F;
    }
    #stage .wrp-link-category li.genki a:hover .icn-check::before,
    #stage .wrp-link-category li.genki a:hover .icn-check::after {
        background-color: #fff;
    }

    #stage .wrp-link-category li.genki.active a:hover {
        background-color: #FE544F;
        color: #fff;
    }
    #stage .wrp-link-category li.genki.active a:hover .icn-check::before,
    #stage .wrp-link-category li.genki.active a:hover .icn-check::after {
        background-color: #FE544F;
    }

    /* btn rakunou */
    #stage .wrp-link-category li.rakunou a:hover {
        background-color: #fff;
        color: #E4A100;
    }
    #stage .wrp-link-category li.rakunou a:hover .icn-check::before,
    #stage .wrp-link-category li.rakunou a:hover .icn-check::after {
        background-color: #fff;
    }

    #stage .wrp-link-category li.rakunou.active a:hover {
        background-color: #E4A100;
        color: #fff;
    }
    #stage .wrp-link-category li.rakunou.active a:hover .icn-check::before,
    #stage .wrp-link-category li.rakunou.active a:hover .icn-check::after {
        background-color: #E4A100;
    }

    /* btn kankyo */
    #stage .wrp-link-category li.kankyo a:hover {
        background-color: #fff;
        color: #6DC00C;
    }
    #stage .wrp-link-category li.kankyo a:hover .icn-check::before,
    #stage .wrp-link-category li.kankyo a:hover .icn-check::after {
        background-color: #fff;
    }

    #stage .wrp-link-category li.kankyo.active a:hover {
        background-color: #6DC00C;
        color: #fff;
    }
    #stage .wrp-link-category li.kankyo.active a:hover .icn-check::before,
    #stage .wrp-link-category li.kankyo.active a:hover .icn-check::after {
        background-color: #6DC00C;
    }
}


/* index
 ---------------------------------------- */
#stage .wrp-topic-index {
    overflow: hidden;
    position: relative;
    width: 1000px;
    margin: 50px auto 80px;
}
#stage .wrp-topic-index .no-entry {
    font-size: 15px;
}

@media screen and (max-width: 736px) {
    #stage .wrp-topic-index {
        width: auto;
        margin: 30px 20px 60px;
    }
}


/* ページ送り
 ---------------------------------------- */
#stage .navigation {
    margin: 80px 0 120px;
    text-align: center;
}
#stage .navigation .nav-links {
    position: relative;
    display: inline-block;
    padding: 0 200px;
}

#stage .navigation .page-numbers {
    display: block;
    width: 200px;
    height: 50px;
    font-size: 22px;
    font-weight: 700;
    line-height: 50px;
    color: #0039A6;
}

#stage .navigation .page-nav {
    position: absolute;
    top: 0;
    display: block;
    width: 200px;
    height: 50px;
    border: solid 2px #CCC;
    border-radius: 100px;
    font-size: 19px;
    font-weight: 700;
    line-height: 46px;
    color: #333;
    transition: background-color .3s, border-color .3s, opacity .3s;
}
#stage .navigation .page-nav::before {
    content: "";
    position: absolute;
    top: 14px;
    display: block;
    width: 16px;
    height: 16px;
    background: url(/kids/assets/common/img/icon/icn_arrow2.png) no-repeat left top;
    background-size: 16px auto;
}

#stage .navigation .prev {
    left: 0px;
    padding-left: 7px;
}
#stage .navigation .prev:before {
    left: 22px;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

#stage .navigation .next {
    right: 0;
    padding-right: 7px;
}
#stage .navigation .next:before {
    right: 22px;
}

/* hover */
#stage .navigation .page-nav:hover {
    background-color: #0039A6;
    border-color: #0039A6;
    color: #fff;
}
#stage .navigation .page-nav:hover::before {
    background-image: url(/kids/assets/common/img/icon/icn_arrow2_white.png);
}

@media screen and (max-width: 736px) {
    #stage .navigation {
        margin: 60px 20px 75px;
    }
    #stage .navigation .nav-links {
        width: 100%;
        padding: 0 100px;
    }

    #stage .navigation .page-numbers {
        width: 100%;
        height: 45px;
        margin: 0 auto;
        line-height: 45px;
    }

    #stage .navigation .page-nav {
        width: 100%;
        max-width: 100px;
        height: 45px;
        font-size: 14px;
        line-height: 41px;
        transition: all 0;
    }
    #stage .navigation .page-nav::before {
        top: 12px;
    }

    #stage .navigation .prev {
        padding-left: 16px;
    }
    #stage .navigation .prev:before {
        left: 9px;
    }

    #stage .navigation .next {
        padding-right: 16px;
    }
    #stage .navigation .next:before {
        right: 9px;
    }

    /* hover */
    #stage .navigation .page-nav:hover {
        background-color: #fff;
        border-color: #ccc;
        color: #333;
    }
    #stage .navigation .page-nav:hover::before {
        background-image: url(/kids/assets/common/img/icon/icn_arrow2.png);
    }
}

/* --------------------------------------
    post
---------------------------------------- */

/* 記事エリア
 ---------------------------------------- */
#stage .wrp-post-article {
    width: 1000px;
    margin: 30px auto 100px;
    font-size: 16px;
}

#stage .wrp-post-article figure img {
    border-radius: 20px;
}

@media screen and (max-width: 736px) {
    #stage .wrp-post-article {
        width: auto;
        margin: 20px 20px 50px;
        font-size: 15px;
    }

    #stage .wrp-post-article figure img {
        border-radius: 10px;
    }
}


