@charset "utf-8";

/* NEWS CSS ==================================== */
/* page lead */
#news__lead p {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

#news__lead p i {
    margin-right: 16px;
}

.news-category {
    display: flex;
    justify-content: center;
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 500;
    margin: 40px auto 0;
}

.news-category__item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #333;
    border-radius: 8px;
    width: 160px;
    height: 48px;
    transition: all 0.6s ease;
    margin: 0 8px;
}

.news-category__item.active,
.news-category__item:hover {
    opacity: 1;
    background: firebrick;
}

#news {
    padding-bottom: 120px;
}

@media (max-width: 576px) {
    #news__lead p {
        text-align: left;
        font-size: 14px;
    }

    .news-category__item {
        width: 120px;
        height: 48px;
        font-size: 14px;
        margin: 0 4px;
    }

    #news {
        padding-bottom: 60px;
    }
}

.search-result {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 40px;
    padding: 0;
}

.search-result i {
    margin-right: 16px;
}

/* news list */
.news-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 0;
}

.news-list__item {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 8px;
    max-width: 256px;
    margin: 0 auto 48px;
}

.news-list__item--img {
    position: relative;
    margin-bottom: 8px;
}

.news-list__item--img img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9.6;
}

.news-list__item--img .category-icon {
    position: absolute;
    bottom: -13px;
    right: 12px;
    border-radius: 4px;
    background: #333;
    font-weight: 500;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
}

.news-list__item--text-area time {
    font-weight: 700;
    font-size: 14px;
}

.news-list__item--ttl {
    font-weight: 700;
    margin: 0;
}

.news-list__item--txt {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
}

@media (max-width: 1168px) {
    .news-list__item {
        margin: 0 auto;
    }

    .news-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        width: calc(256px * 3 + 48px);
        margin: 0 auto;
    }
}

@media (max-width: 864px) {
    .news-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        width: calc(256px * 2 + 48px);
        margin: 0 auto;
    }
}

@media (max-width: 584px) {
    .news-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
        font-size: 14px;
        width: 256px;
        margin: 0 auto;
    }
}

/* Mobile L */
@media (max-width: 425px) {
    .news-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
        font-size: 14px;
    }
}

/* news-article */
.news-article article {
    max-width: 736px;
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    border-bottom: 1px dotted #999;
    padding-bottom: 32px;
}

.news-article__ttl {
    font-family: "Roboto", "Zen Kaku Gothic Antique", sans-serif;
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 16px;
}

.news-article__item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.news-article__item .category-icon {
    display: inline-block;
    border-radius: 4px;
    background: #333;
    font-weight: 500;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
}

/* .news-article__img {
    margin-top: 32px;
    margin-bottom: 40px;
}

.news-article__img img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
} */

.news-article__txt {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    text-align: justify;
    line-height: 1.8;
    letter-spacing: .07em;
}

.news-article__txt p {
    margin: 8px 0 8px;
}

.news-article__txt a {
    color: firebrick;
    text-decoration: underline;
    overflow-wrap: break-word;
}

.news-article__txt a:hover {
    color: darkred;
    opacity: 1;
}

@media (max-width: 576px) {
    .news-article article {
        padding-bottom: 24px;
    }

    .news-article__ttl {
        font-size: 18px;
    }

    .news-article__item {
        display: flex;
        justify-content: space-between;
        margin-bottom: 16px;
    }

    /* .news-article__img {
        margin-top: 16px;
        margin-bottom: 20px;
    } */

    .news-article__txt {
        font-size: 14px;
    }
}

/*入力項目追加*/

.news-article article ul{
    list-style-type: disc;
}


.news-article article table,.news-article article table td,.news-article article table th{
    border:1px solid #333;
	border-collapse:collapse;
}

.news-article article table{
	width:100%;
}

.news-article article table td,.news-article article table th{
    padding:0.5rem;
}

.news-article article iframe{
    width:100%;
	aspect-ratio: 16 / 9;
}