/* ==========================================
   NEWS SECTION (CARD STYLE)
   ========================================== */

#news {
    padding: 8rem 10%;
    background-color: var(--bg-color);
}

/* ニュースカードが並ぶコンテナ */
#news-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* カードとカードの間の隙間 */
    max-width: 850px;
    /* 画面中央に美しく収まる幅 */
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

/* お知らせカード本体 */
.notification-card {
    background: #ffffff;
    border: 1px solid #eef0f2;
    /* 繊細で非常に薄い境界線 */
    border-radius: 12px;
    padding: 24px;
    /* ゆったりとした空気感を持たせる余白 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    /* ほとんど見えないくらいの優しい影 */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* ヘッダー部分（タグと日付の横並び） */
.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

/* カテゴリタグ */
.notification-tag {
    background: #f0f4f1;
    /* バンドのイメージ（緑系）に調和する淡いオリーブグレー */
    color: var(--accent-color);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

/* 日付 */
.notification-date {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #999999;
    letter-spacing: 0.05em;
}

/* タイトル */
.notification-title {
    margin: 0 0 10px 0;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

/* 本文 */
.notification-desc {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 0.88rem;
    color: #555555;
    line-height: 1.7;
    letter-spacing: 0.05em;
}

/* --- ホバー（マウスをのせたとき）の静かな演出 --- */
.notification-card:hover {
    transform: translateY(-3px);
    /* 上に静かに3px浮かび上がる余韻 */
    border-color: #dce2d9;
    /* 境界線がほんのりバンドカラーに近づく */
    box-shadow: 0 12px 30px rgba(74, 103, 65, 0.05);
    /* 柔らかなバンドカラーの影 */
}

/* --- レスポンシブ対応（スマホ表示） --- */
@media (max-width: 768px) {
    #news {
        padding: 5rem 6%;
    }

    .notification-card {
        padding: 18px;
    }

    .notification-title {
        font-size: 1rem;
    }

    .notification-desc {
        font-size: 0.82rem;
        line-height: 1.6;
    }
}