/* カテゴリー一覧 */

a:hover {
    cursor: pointer;
    opacity: 0.9;
}

.all-categories {
    width: 100%;
    margin: 30px 0;
    background-color: #fafafa;
    padding: 10px 7.5%;
}

.categories {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

.category {
    margin: 10px 0;
    width: 100%;
    padding-left: 10px;
    border-left: solid 4px #b70007;
    font-size: 1.5rem;
}

.single-column-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.single-column-info .single-column-category {
    width: 200px;
    height: 30px;
    line-height: 30px;
    background-color: #b70007;
    color: white;
    text-align: center;
    font-weight: 600;
}

.single-column-info time,
.single-column-info {
    margin-bottom: 0 !important;
}

.columns-wrap {
    display: flex;
    justify-content: space-between;
}

.columns-main-wrap {
    width: 760px;
    float: left;
}

.columns-side-wrap {
    width: 25%;
}

.columns-head {
    font-size: 3rem;
    padding-left: 20px;
    border-left: solid 8px #b70007;
    line-height: 50px;
}

.columns-introduction {
    margin: 20px 0 30px;
}

.columns-wrap {
    width: 90%;
    margin: 0 auto;
}

.column {
    width: 100%;
    /*height: 270px;*/
    height: auto;
    margin: 36px 0;
    padding: 30px 0;
    border: solid 2px #d4d4d4;
    display: flex;
    justify-content: space-evenly;
}

.column-img {
    width: 41%;
    height: auto;
    overflow: hidden;
}

.column-contents {
    width: 49%;
    overflow: hidden;
}

.column-excerpt p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 1.6rem;
    margin: 0;
}

.column-title {
    font-size: 2rem;
    color: #b70007;
    margin: 0 0 10px;
}

.column-other-infos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: solid 2px #d4d4d4;
}

.post-categories {
    display: flex;
    justify-content: left;
    width: 75%;
}

.column-date {
    width: 25%;
    text-align: right;
}

.post-categories li {
    width: 140px;
    padding: 5px;
    text-align: center;
    background-color: #b70007;
    color: white;
    margin-right: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.column-categories {
    width: 75%;
    overflow: scroll;
    display: flex;
}

.column-categories a {
    padding: 5px 15px;
    text-align: center;
    background-color: #b70007;
    font-weight: 600;
    color: white;
    margin-right: 15px;
    border-radius: 14px;
    overflow: hidden;
    font-size: 1.2rem;
}

.column-date {
    color: gray;
    font-size: 1.3rem;
    margin: 0;
}

.navigation .screen-reader-text,
.navigation .next,
.navigation .prev {
    display: none;
}

.navigation {
    text-align: right;
    font-size: 2rem;
    margin-bottom: 48px;
}

.navigation .page-numbers {
    width: 45px;
    height: 45px;
    padding: 0 10px;
    margin: 0 5px;
    border: solid 1px #b70007;
    color: #b70007;
    align-items: center;
    text-align: center;
}

.navigation .current {
    border: solid 1px #b70007;
    background-color: #b70007;
    color: white;
}

.long-dotted {
    width: 100%;
    margin: 10px 0 60px;
}

.side-popular-columns-wrap,
.side-new-columns-wrap {
    margin-bottom: 60px;
}

.side-popular-columns-head,
.side-new-columns-head {
    font-size: 2.4rem;
    padding-left: 20px;
    border-left: solid 5px #b70007;
}

.side-popular-columns-terms {
    display: flex;
    margin-top: 15px;
    width: 100%;
    padding: 10px 15%;
    background-color: #fafafa;
}

.side-popular-columns-terms p {
    width: 80px;
    text-align: center;
}

.popular-columns-link {
    cursor: pointer;
}

.popular-columns-link:not(.active):hover {
    opacity: 0.7;
}

.popular-columns-link.active span {
    color: rgba(0, 0, 0, 0.7);
    border-bottom: solid 2.5px #b70007;
}

.popular-columns-day-link,
.popular-columns-week-link {
    border-right: solid 1px black;
}

.side-popular-column-wrap {
    display: none;
}

.side-popular-column-wrap.active {
    display: block;
}

.side-popular-column-img,
.side-new-column-img {
    min-width: 50%;
    width: 50%;
    height: inherit;
    background-color: #fafafa;
    margin-right: 20px;
}

.side-popular-column,
.side-new-column {
    margin: 30px 0;
    display: flex;
    justify-content: left;
    align-items: center;
    height: 100px;
}

.more-new-columns-link {
    width: 140px;
    height: auto;
}

.more-new-columns-link-wrap {
    text-align: right;
}


/* kato add */


/* paginaition */

ul.page-numbers {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

ul.page-numbers li {
    list-style: none;
}

ul.page-numbers .page-numbers {
    height: 50px;
    padding: 12px;
    margin: 0 5px;
    border: solid 1px #b70007;
    color: #b70007;
    align-items: center;
    text-align: center;
    font-size: 1.6rem;
    line-height: 25px;
}

ul.page-numbers li .current {
    border: solid 1px #b70007;
    background-color: #b70007;
    color: white;
}

@media only screen and (max-width: 768px) {
    .columns-main-wrap {
        width: 90%;
        margin: 0 auto;
        float: none;
    }
    #page-column {
        width: 90%;
        margin: 7.5vw auto;
    }
    h1 {
        margin: 7.5vw auto;
    }
    .column {
        width: 100%;
        height: auto;
        margin: 3vw 0;
        padding: 3.75vw;
        flex-wrap: wrap;
    }
    .column-img {
        width: 100%;
    }
    .column-contents {
        width: 100%;
    }
    .column-title {
        margin: 2vw 0;
    }
    .column-categories a {
        padding: 5px 30px;
        text-align: center;
        margin-right: 8px;
        border-radius: 12px;
    }
    .long-dotted {
        width: 100%;
        margin: 2vw 0 6vw;
    }
    .all-categories {
        width: 100%;
        margin: 3vw auto;
        padding: 2vw 4vw;
    }
    .sp-all-categories {
        width: 100%;
    }
    .categories {
        flex-wrap: wrap;
    }
    .category {
        width: 100%;
        margin: 2.5vw 0;
        padding-left: 2.5vw;
    }
    .side-popular-columns-wrap,
    .side-new-columns-wrap {
        margin: 3vw 0;
    }
    ul.page-numbers {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-top: 30px;
    }
}