@charset "UTF-8";

/* ==========================================================================
   お知らせ一覧ページ専用スタイル (news.css)
   ========================================================================== */

.news-page-container {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

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

.news-list li {
    padding: 20px 0;
    border-bottom: 1px solid #E6E6E6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
}

.news-date {
    color: #767676;
    font-weight: 500;
}

.news-list li a {
    color: #333;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-list li a:hover {
    color: #0E7024;
}

/* カテゴリラベル */
.category {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0 5px;
}

/* ニュース統合ロジック（functions.php）のクラス名に合わせる */
.category.label-others {
    background-color: #E3F4E3;
    color: #62A778;
}

/* イベントカレンダー */
.category.label-calendar {
    background-color: #FCECE9;
    color: #EB806B;
}

/* イベントレポート */
.category.label-report {
    background-color: #EDF4FA;
    color: #4A92CC;
}

/*  NEW */
.label-new {
    color: white !important;
    font-weight: bold;
    background: var(--color-red);
    padding: 0 8px;
    border-radius: 2px;
}

/* 東京 */
.category.label-tokyo {
    color: var(--color-red);
    padding: 0;
}

/* 自治体 */
.category.label-other {
    color: var(--color-navy);
    padding: 0;
}

/* 民間団体 */
.category.label-private {
    color: var(--color-brown);
    padding: 0;
}



/* #イベントレポート */

/* 水彩装飾が「おかしい」と感じる場合の調整（必要なら抑制） */
.news-page-container .page-title::before,
.news-page-container .page-title::after {
    opacity: 0.3;
    /* 少し薄くする */
}

/* ページネーション */
.pagination-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    background-color: #0E7024;
    border: none;
    border-radius: 40px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    min-width: 160px;
    box-shadow: 0 4px 10px rgba(14, 112, 36, 0.2);
}

.btn-page:hover:not(.disabled) {
    background-color: #0b5a1d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(14, 112, 36, 0.3);
}

.btn-page:focus-visible {
    outline: 3px solid #00953F;
    outline-offset: 2px;
}

.btn-page.disabled {
    background-color: #E6E6E6;
    color: #767676;
    cursor: default;
    box-shadow: none;
}

/* レスポンシブ */
@media screen and (max-width: 800px) {
    .news-list li a {
        font-size: 1.6rem;
    }

    .btn-page {
        padding: 8px 20px;
        font-size: 1.4rem;
        min-width: 120px;
    }
}