/* ========================================
   お知らせページ - news.css
   rem基準（1rem = 10px @1920px）
   ======================================== */

/* ========================================
   ページヘッダー（ゴールド帯）- 一覧・詳細共通
   ======================================== */
.news-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 8rem 0;
    text-align: center;
}

.news-hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 11.2rem;
}

.news-hero-en {
    font-size: 3.92rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5rem;
    line-height: 1.2;
}

.news-hero-ja {
    font-size: 2.52rem;
    font-weight: 600;
    color: #fff;
    margin-top: 0.75rem;
    letter-spacing: 0.15em;
}

/* ========================================
   一覧ページ
   ======================================== */
.news-list-section {
    padding: 10rem 0;
    background-color: var(--cream-bg);
}

.news-list-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 11.2rem;
}

.news-list-grid {
    display: flex;
    flex-direction: column;
    gap: 1.68rem;
}

.news-list-item {
    border-radius: 1.75rem;
    background-color: var(--bg-white);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-list-item:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.news-list-item a {
    display: flex;
    align-items: center;
    padding: 4.9rem 4.2rem;
    gap: 3.5rem;
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.news-list-item a:hover {
    background-color: var(--primary-color);
    opacity: 1;
    border-radius: 1.75rem;
}

.news-list-item a:hover .news-list-date,
.news-list-item a:hover .news-list-title {
    color: #fff;
}

.news-list-date {
    font-size: 2.52rem;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
    width: 15.75rem;
    flex-shrink: 0;
}

/* バッジ共通 */
.news-list-badge {
    display: inline-block;
    font-size: 1.82rem;
    font-weight: 600;
    padding: 0.42rem 1.4rem;
    border-radius: 0.56rem;
    color: #fff;
    white-space: nowrap;
    width: 11.5rem;
    text-align: center;
    flex-shrink: 0;
}

.news-list-badge-info {
    background-color: var(--primary-color);
}

.news-list-badge-new {
    background-color: var(--accent-blue);
}

.news-list-badge-important {
    background-color: var(--danger-color);
}

.news-list-title {
    font-size: 2.66rem;
    font-weight: 700;
    color: var(--text-color);
}

/* ========================================
   詳細ページ
   ======================================== */
.news-article-section {
    padding: 10rem 0;
    background-color: var(--cream-bg);
}

.news-article-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 11.2rem;
}

.news-article-card {
    background-color: var(--bg-white);
    border-radius: 1.4rem;
    padding: 5.6rem;
    width: 100%;
}

/* トップ画像 */
.news-article-image {
    margin-bottom: 3.5rem;
    border-radius: 1rem;
    overflow: hidden;
}

.news-article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* メタ情報（日付 + バッジ） */
.news-article-meta {
    display: flex;
    align-items: center;
    gap: 2.1rem;
    margin-bottom: 2.8rem;
}

.news-article-date {
    font-size: 2.52rem;
    font-weight: 700;
    color: var(--text-color);
}

/* タイトル */
.news-article-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 4.2rem;
    padding-bottom: 2.8rem;
    border-bottom: 1px solid var(--border-color);
}

/* 本文 */
.news-article-body {
    font-size: 2.38rem;
    color: var(--text-color);
    line-height: 1.8;
}

.news-article-body p {
    margin-bottom: 2.1rem;
}

.news-article-body strong {
    display: block;
    font-size: 2.52rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 3.5rem;
    margin-bottom: 1.4rem;
}

.news-article-body ul {
    margin: 1.4rem 0 2.8rem;
    padding-left: 3.5rem;
}

.news-article-body ul li {
    margin-bottom: 1.05rem;
    line-height: 1.7;
}

.news-article-body a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.news-article-body a:hover {
    opacity: 0.7;
}

/* 戻るリンク */
.news-article-back {
    margin-top: 5.6rem;
    padding-top: 2.8rem;
    border-top: 1px solid var(--border-color);
}

.news-article-back-link {
    font-size: 2.38rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.news-article-back-link:hover {
    opacity: 0.7;
}

/* ========================================
   レスポンシブ - タブレット（768px以下）
   ======================================== */
@media (max-width: 768px) {
    .news-hero {
        padding: 6rem 0;
    }

    .news-hero-inner {
        padding: 0 2.8rem;
    }

    .news-hero-en {
        font-size: 3.5rem;
    }

    .news-list-section {
        padding: 8rem 0;
    }

    .news-list-inner {
        padding: 0 2.8rem;
    }

    .news-list-item a {
        flex-wrap: wrap;
        padding: 3.5rem 2.8rem;
        gap: 1.4rem;
    }

    .news-list-date {
        min-width: auto;
    }

    .news-list-title {
        width: 100%;
    }

    .news-article-section {
        padding: 8rem 0;
    }

    .news-article-inner {
        padding: 0 2.8rem;
    }

    .news-article-card {
        padding: 4.2rem 3.5rem;
    }

    .news-article-title {
        font-size: 3rem;
    }

}

/* ========================================
   レスポンシブ - 小画面モバイル（480px以下）
   ======================================== */
@media (max-width: 480px) {
    .news-hero {
        padding: 5rem 0;
    }

    .news-hero-inner {
        padding: 0 2.1rem;
    }

    .news-hero-en {
        font-size: 3rem;
    }

    .news-hero-ja {
        font-size: 2.24rem;
    }

    .news-list-section {
        padding: 6rem 0;
    }

    .news-list-inner {
        padding: 0 2.1rem;
    }

    .news-list-item a {
        padding: 2.8rem 2.1rem;
        gap: 1.05rem;
    }

    .news-list-date {
        font-size: 2.1rem;
    }

    .news-list-badge {
        font-size: 1.54rem;
    }

    .news-list-title {
        font-size: 2.24rem;
    }

    .news-article-section {
        padding: 6rem 0;
    }

    .news-article-inner {
        padding: 0 2.1rem;
    }

    .news-article-card {
        padding: 3.5rem 2.8rem;
    }

    .news-article-meta {
        gap: 1.4rem;
    }

    .news-article-date {
        font-size: 2.1rem;
    }

    .news-article-title {
        font-size: 2.66rem;
        margin-bottom: 3.5rem;
        padding-bottom: 2.1rem;
    }

    .news-article-body {
        font-size: 2.1rem;
    }

    .news-article-body strong {
        font-size: 2.24rem;
    }

    .news-article-back-link {
        font-size: 2.1rem;
    }

}