/*====================
お知らせ
====================*/

.news {
    background-image: url('../img/topSectionBg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.news__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 40px auto 0;
}

.news__item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-black-20);
    color: var(--color-black-main);
}

.news__item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news__item-date {
    color: var(--color-green-main);
    font-family: var(--font-family-lato);
    font-weight: var(--font-weight-bold);
    width: 96px;
}

.news__item-category {
    padding: 4px 8px;
    font-size: 14px;
    background-color: var(--color-red-main);
    color: var(--color-white);
    border-radius: 4px;
}

.news__item-title {
    flex: 1;
    font-size: 16px;
    font-weight: var(--font-weight-bold);
}

.news__item-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.news__item-title a:hover {
    color: var(--color-red-main);
}

.news__btn {
    margin-top: 40px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .news__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news__item-meta {
        gap: 0px;
    }

    .news__item-date {
        font-size: 14px;
    }

    .news__item-category {
        font-size: 12px;
    }


}