body {
    background: #FFF;
    color: #222;
    font-family: "Rubik", "ヒラギノ角ゴ ProN W3",
        Hiragino Kaku Gothic ProN,
        "Noto Sans JP",
        "メイリオ",
        sans-serif;
    font-weight: 400;
    font-size: .8rem;
    line-height: 1.5;
    text-align: left;
    background: #fff;
}

a {
    color: #666;
}

a:hover {
    background: #666;
    color: #fff;
    text-decoration: none;
}

.container {
    padding: 0 6rem;
}



/*****************************

バナー

******************************/

.rss-sample {
    background: lightgray;
    color: gray;
    text-align: left;
    height: 250px;
    margin-bottom: 10px;
    padding: 10px;
}

.banner-sample-h img {
    max-width: 728px;
    /*width: 100%;*/
    margin: 5px;
}

.banner-sample-h2 img {
    max-width: 468px;
    /*width: 100%;*/
}

.banner-sample-v img {
    max-width: 120px;
    /*width: 100%;*/
    margin: 5px 0;
}

.banner-sample-sq img {
    max-width: 180px;
    /*width: 100%;*/
    margin: 5px 0;
}

.banner-h-scroll {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 12px 8px;
    display: -ms-flexbox;
    display: flex;
}




/*****************************

ヘッダー

******************************/

.navbar {
    background: #35D0A3;
    padding: .5rem;
}

.navbar a:hover {
    background: none;
}

.sp-only {
    display: none;
}


/*****************************

メイン

******************************/

/*****　ブロッキング　******/

.subblock {
    padding: 5px 10px;
}

.subblock-header {
    padding: 5px;
    /*    background: #FC5F77;*/
    background: #35D0A3;
    color: #fff;
    font-weight: 600;
}

.subblock-content {
    /*    border: #999 solid 1px;*/
    text-align: center;
    padding: 8px;
    /*    border-radius: 10px;*/
    margin-bottom: 10px;
    background: #E0F7F0;
}

#block-m {
    margin-top: 10px;
    padding: 0;
}

/*****　カテゴリーリスト　******/

.subblock-content .cat-list {
    list-style: none;
    font-size: 10px;
    padding: 0;

}

.subblock-content .cat-list li a {
    display: block;
    border: solid 1px #F4AFC2;
    color: #fff;
    background: #F4AFC2;
    margin: 5px 2px;
}

.subblock-content .cat-list li a:hover {
    background: #fff;
    color: #FC5F77;
    text-decoration: none;
}



/*****　検索　******/

.subblock-content .search {
    text-align: left;
}

.subblock-content .search input {
    font-size: .8rem;
}

.subblock-content .search button {
    font-size: .8rem;
    margin-top: 3px;
    color: #666;
    border: solid 1px #666;
    border-radius: 10px;
}



/*****　記事　******/

.entry {
    margin-bottom: 10px;
    padding: 8px;
    /*    border-radius: 10px;*/
    font-size: 14px;
    background: #F2F5F8;
    /*    border: #BEF2E4 1px solid;*/
}

.entry-date {
    font-size: 10px;
}

.entry-cat {
    font-size: 10px;
    background: #F4AFC2;
    color: #fff;
    margin-bottom: 5px;
    padding: 3px;
}

.entry-title {
    border-radius: 10px;
    background: #26BA8E;
    font-weight: bold;
    color: #fff;
    padding: 5px;
    margin-bottom: 5px;
}

.entry-img {
    padding: .5rem;
}

.entry-img img {
    border-radius: 10px;
    width: 100%;
    margin-bottom: 5px;
}

.entry-dsc {
    font-size: 12px;
    margin: 10px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.entry-dsc-full {
    padding: 1rem;
    font-size: .8rem;
}

.entry-btn {
    margin: 10px 5px 20px 5px;

}



/*****　記事　******/

.btn-basic {
    border-radius: 10px;
    border: #666 2px solid;
    padding: 5px 24px;
    font-weight: bold;
}



/*****　リンク先リスト　******/

.links ul {
    padding: 0;
    list-style: none;
    text-align: left;
}

.links ul li {
    padding: 5px 0 5px 20px;
    line-height: 1.6em;
    background: url(images/link-icon.svg) left 0px top 5px no-repeat;
    background-size: 19px auto;
    margin-bottom: 15px;
    border-bottom: 1px dotted #999;
    border-top: 1px dotted #999;
}

.links ul li a {
    background: none;
    color: inherit;
}

.links ul li a:hover {
    text-decoration: underline;
}



/*****　ページネーション　******/

nav.cp_navi *,
nav.cp_navi *:after,
nav.cp_navi *:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

nav.cp_navi a {
    text-decoration: none;
}

nav.cp_navi {
    margin: 2em 0;
    text-align: center;
}

.cp_navi .cp_pagination {
    display: inline-block;
    margin-top: 2em;
    padding: 0 0.5em;
    background-color: #35D0A3;
}

.cp_navi .cp_pagenum {
    font-size: 1em;
    line-height: 2.5em;
    display: block;
    float: left;
    padding: 0 15px;
    transition: 400ms ease;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.cp_navi .cp_pagenum:hover,
.cp_navi .cp_pagenum.current {
    font-weight: bold;
    color: #ffffff;
    background-color: #28BA8F;
}

.cp_navi .cp_pagenum.prev:hover,
.cp_navi .cp_pagenum.next:hover {
    color: #28BA8F;
    background-color: transparent;
}

@media only screen and (max-width: 960px) {
    .cp_navi .cp_pagination {
        margin-top: 50px;
        padding: 0 10px;
    }

    .cp_navi .cp_pagenum {
        font-size: 0.8em;
        line-height: 2.5em;
        padding: 0 15px;
    }

    .cp_navi .cp_pagenum.prev,
    .cp_navi .cp_pagenum.next {
        padding: 0 10px;
    }
}

@media only screen and (min-width: 120px) and (max-width: 767px) {
    .cp_navi .cp_pagenum {
        display: none;
        padding: 0 14px;
    }

    .cp_navi .cp_pagenum:nth-of-type(2) {
        position: relative;
        padding-right: 50px;
    }

    .cp_navi .cp_pagenum:nth-of-type(2)::after {
        font-size: 1.2em;
        position: absolute;
        top: 0;
        left: 45px;
        content: '...';
    }

    .cp_navi .cp_pagenum:nth-child(-n+3),
    .cp_navi .cp_pagenum:nth-last-child(-n+3) {
        display: block;
    }

    .cp_navi .cp_pagenum:nth-last-child(-n+4) {
        padding-right: 14px;
    }

    .cp_navi .cp_pagenum:nth-last-child(-n+4)::after {
        content: none;
    }

    .cp_navi .cp_pagenum.prev,
    .cp_navi .cp_pagenum.next {
        padding: 0 5px;
    }
}



/*****************************

フッター

******************************/
footer {
    padding: 1em;
    background: lightgray;
    font-size: .8rem;
    text-align: center;
    color: #fff;
}

.footer-menu a {
    border: 1px solid #fff;
    padding: 5px 25px;
    color: #fff;
}

footer p {
    margin-top: 1.5rem;
    font-size: .5rem;
}



/*****************************

メディアクエリ

******************************/

@media only screen and (max-width: 576px) {
    .subblock-content .cat-list {
        padding: 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .subblock-content .cat-list li {
        flex-basis: auto;
        box-sizing: border-box;
    }

    .subblock-content .cat-list li a {
        padding: 3px;
        margin: 1px;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: inline-block;
    }
}
