@charset "UTF-8";

/*******************************
カテゴリー
 *******************************/
.news-topics__category {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 30px;
}

.news-topics__category-label {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
}

.news-topics__category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.news-topics__category-item {
    width: 32%;
    border: 1px solid #332f2d;
    text-align: center;
}

.news-topics__category-link {
    display: block;
    width: 100%;
    padding: 8px 0;
}

.news-topics__category-link:hover {
    background: #e4e4e4;
}

.news-topics__category-link.-active {
    display: block;
    background: #332f2d;
    color: #fff;
}

/* 600px〜959px：タブレット
------------------------------ */
@media screen and (min-width:600px) {
    .news-topics__category {
        margin-bottom: 80px;
    }
    .news-topics__category-label {
        font-size: 1.8rem;
    }

    .news-topics__category-item {
        font-size: 1.6rem;
    }
}


/*******************************
一覧
 *******************************/
.news-topics__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.news-topics__item {
    display: flex;
    flex-direction: column;
    width: 48%;
    margin-bottom: 20px;
    background: #fff;
}

.news-topics__link {
    display: block;
    flex-grow: 1;
    padding-bottom: 15px;
}

.news-topics__figure {
    position: relative;
    margin-bottom: 15px;
}

.news-topics__badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 55px;
    padding: 3px 0;
    background: #00a7eb;
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
}

.news-topics__meta {
    display: flex;
    align-items: center;
}

.news-topics__date {
    display: block;
    margin-right: 15px;
    padding: 3px 0;
    color: #818181;
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
}

.news-topics__slug {
    display: block;
    padding: 3px 5px;
    background: #332f2d;
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
}

.news-topics__headline {
    margin: 10px 0;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.3;
    letter-spacing: 0;
}

.news-topics__headline br {
    display: none;
}

.news-topics__lead {
    font-size: 1.2rem;
    line-height: 1.5;
    word-wrap: break-word;

    overflow-wrap: break-word;
}

/* 600px〜959px：タブレット
------------------------------ */
@media screen and (min-width:600px) {
    .news-topics__list:after {
        display: block;
        width: 32%;
        content: "";
    }
    .news-topics__item {
        width: 32%;
    }

    .news-topics__headline br {
        display: inline;
    }
}

/* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:960px) {
    .news-topics__headline {
        font-size: 1.7rem;
    }

    .news-topics__lead {
        font-size: 1.4rem;
    }
}
