/* お知らせセクションのスタイル */
.news-section.container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.news-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    /* キャッチフレーズ側とお知らせリスト側を垂直方向の中段合せに */
}

.news-sidebar {
    flex: 0 0 200px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 確実に左揃え */
}

.news-content-list {
    flex: 1;
    min-width: 300px;
}

.news-catchphrase {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    letter-spacing: 0.1em;
    line-height: 1.2;
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
}

.news-btn-wrap {
    margin-top: 0.5rem;
}

.news-btn-archive {
    text-decoration: none;
    font-weight: normal;
    /* 太字を解除 */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.news-btn-archive:hover {
    opacity: 0.7;
}

.news-btn-arrow {
    font-size: 1.1rem;
}

.news-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.news-item:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

.news-item-link {
    display: flex !important;
    align-items: center;
    gap: 24px;
    padding: 1.2rem 0;
    text-decoration: none !important;
    color: inherit !important;
    background: transparent !important;
}

.news-item-link:hover .news-title {
    opacity: 0.6;
}

.news-date {
    font-size: 0.95rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    flex: 0 0 auto;
}

.news-category {
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: normal;
    text-align: center;
    border: none;
    border-radius: 0;
    display: inline-block;
    flex: 0 0 auto;
}

.news-title {
    font-weight: bold;
    font-size: 1rem;
    flex: 1;
    text-align: left;
    transition: opacity 0.2s;
    line-height: 1.5;
}

/* アーカイブページのお知らせ一覧にのみボーダーを適用 */
.archive .news-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 0 1rem !important;
    /* margin-bottom: 4rem !important; */
}

@media screen and (max-width: 768px) {
    .news-inner {
        flex-direction: column;
        gap: 20px;
    }

    .news-sidebar {
        display: contents;
        /* ボタンを下部に配置するためコンテナを解除 */
    }

    .news-catchphrase {
        order: 1;
        margin-bottom: 0;
        font-size: 1.6rem;
        align-self: flex-start;
        text-align: left;
    }

    .news-list .news-item:last-child {
        border-bottom: none;
    }

    .news-content-list {
        order: 2;
        width: 100%;
        min-width: auto;
    }

    .news-btn-wrap {
        order: 3;
        width: 100%;
    }

    .news-btn-archive {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        border-style: solid;
        border-width: 2px;
        border-radius: 50px;
        padding: 12px 30px;
        font-weight: bold;
        margin-top: 0;
    }

    .news-btn-arrow {
        display: none;
    }

    .news-btn-archive::after {
        content: '\2192';
        font-size: 1.5rem;
        font-weight: normal;
        line-height: 1;
    }

    .news-item-link {
        flex-direction: row;
        gap: 8px 12px;
        padding: 1.5rem 0;
        align-items: center;
        flex-wrap: wrap;
        /* タイトルを次の行へ */
    }

    .news-date {
        display: inline-block;
        margin-bottom: 0;
        padding-top: 0;
    }

    .news-category {
        margin-top: 0;
    }

    .news-title {
        flex: 0 0 100%;
        margin-top: 4px;
    }

    .archive .news-item {
        border-bottom: 1px solid #bbb !important;
        padding: 1.5rem 0 !important;
        margin-bottom: 0 !important;
    }
}