/* ========================================
   お知らせページスタイル
======================================== */

/* お知らせアーカイブ */
.news-archive {
    padding: var(--spacing-lg) 0;
    background: #f8f9fa;
}

/* 重要なお知らせ（大） */
.news-featured-large {
    margin-bottom: 4rem;
}

.featured-article {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.featured-article-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-article:hover .featured-article-image img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.article-badge.badge-important {
    background: #e74c3c;
}

.featured-article-content {
    padding: 3rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-date {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-category {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-campaign {
    background: #fff3e0;
    color: #e65100;
}

.category-event {
    background: #e3f2fd;
    color: #1565c0;
}

.category-info {
    background: #f1f8e9;
    color: #558b2f;
}

.article-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: #666;
    line-height: 1.8;
    margin: 1.5rem 0;
    font-size: 1.05rem;
}

/* お知らせカードグリッド */
.news-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

/* もっと見るセクション */
.load-more-section {
    text-align: center;
    margin: 3rem 0;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.3);
}

.btn-load-more:hover {
    background: #1a3f1b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.4);
}

.btn-load-more:active {
    transform: translateY(0);
}

.no-more-message {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    background: #f8f9fa;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
}

.no-more-message i {
    color: var(--primary-color);
}

.news-article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.news-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-article-image {
    height: 220px;
    overflow: hidden;
}

.news-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-article-card:hover .news-article-image img {
    transform: scale(1.1);
}

.news-article-content {
    padding: 2rem;
}

.news-article-content .article-title a {
    font-size: 1.3rem;
}

/* お知らせ詳細ページ */
.news-detail {
    padding: var(--spacing-lg) 0;
    background: #f8f9fa;
}

.article-detail {
    background: white;
    border-radius: 12px;
    padding: 4rem 5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    margin: 2rem auto;
}

.article-detail-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2rem;
}

.article-detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
    margin-top: 1rem;
    margin-bottom: 0;
}

.article-detail-image {
    margin: 0 0 3rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-detail-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

/* 記事本文スタイル（ブログ風） */
.article-detail-body {
    color: #333;
    line-height: 1.9;
    font-size: 1.05rem;
}

.article-detail-body h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 3rem 0 1.5rem;
    line-height: 1.4;
}

.article-detail-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2.5rem 0 1.2rem;
    line-height: 1.4;
}

.article-detail-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.article-detail-body p {
    margin: 1.2rem 0;
    line-height: 1.9;
}

.article-detail-body ul,
.article-detail-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-detail-body li {
    margin: 0.8rem 0;
    line-height: 1.8;
}

.article-detail-body a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.article-detail-body a:hover {
    color: #1a3f1b;
}

.article-detail-body strong {
    color: inherit;
    font-weight: 600;
}

.article-detail-body img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    display: block;
}

/* 「一覧に戻る」リンクを記事外に配置 */
.news-detail-footer {
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    color: #666;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-back:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #f8f9fa;
    transform: translateX(-4px);
}

.btn-back i {
    transition: transform 0.3s;
}

.btn-back:hover i {
    transform: translateX(-4px);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .featured-article-image {
        height: 250px;
    }

    .featured-article-content {
        padding: 2rem;
    }

    .article-title a {
        font-size: 1.5rem;
    }

    .news-articles {
        grid-template-columns: 1fr;
    }

    .article-detail {
        padding: 2.5rem 2rem;
    }

    .article-detail-title {
        font-size: 1.6rem;
    }

    .article-detail-image {
        margin: 0 0 2rem 0;
    }

    .article-detail-image img {
        width: 100%;
        max-height: 300px;
    }

    .article-detail-body h1 {
        font-size: 1.6rem;
    }

    .article-detail-body h2 {
        font-size: 1.4rem;
    }

    .article-detail-body h3 {
        font-size: 1.2rem;
    }

    .btn-back {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

.article-nav {
    margin-top: 3rem;
    text-align: left;
}
}
