@charset "UTF-8";

/* =========================================
   お知らせページ用CSS（リスト型レイアウト）
========================================= */
/* 全体のコンテナ */
.news-page-section,
.news-page-section * {
    box-sizing: border-box;
}

.news-page-section {
    /* history.cssと同じタイトル開始位置 */
    padding: 0 20px 80px;
    margin-top: -40px !important;
}

.news-page-section .section-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* タイトル周り */
.news-page-section .page-header {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
}

.news-page-section .page-title {
    display: block;
    width: 100%;
    margin: 0 0 20px !important;
    padding: 0 0 15px;
    border-bottom: 2px solid #F7D070;
    color: #84D2E5;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.news-page-section .news-desc {
    margin: 0 0 60px !important;
    color: #84D2E5;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
}

/* -----------------------------------------
   お知らせリスト
----------------------------------------- */
/* リスト部分だけ幅を絞って中央に配置 */
.news-list-wrap {
    max-width: 1200px; 
    margin: 0 auto;
}

.news-list-simple { 
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e0e0e0; 
}
.news-list-simple li { 
    border-bottom: 1px solid #e0e0e0; 
}

.news-item {
    display: grid;
    grid-template-columns: 140px 100px 1fr; 
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
    text-decoration: none;
    color: #555;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #f9f9f9;
}

.news-date { 
    font-size: 0.95rem; 
    color: #777; 
}

.news-tag {
    display: inline-block;
    padding: 4px 0;
    border-radius: 20px; 
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    width: 100%; 
}

/* 画像に合わせたタグの色指定 */
.tag-green { background-color: #b5d580; } 
.tag-purple { background-color: #c090c0; }
.tag-yellow { background-color: #f6c544; }

.news-title { 
    font-size: 1rem; 
    line-height: 1.5;
    color: #333;
}

/* =========================================
   ページネーションの「現在位置」を強調
========================================= */
.pagination span.page-num.is-active { 
    background-color: #84D2E5; 
    color: #fff; 
    box-shadow: 0 4px 10px rgba(132, 210, 229, 0.4); /* ふんわりとした影をつけて浮き立たせる */
    transform: scale(1.1); /* 少しだけ数字を大きくして目立たせる */
}

/* -----------------------------------------
   ページネーション（光る効果付き）
----------------------------------------- */
.pagination { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 15px; 
    margin-top: 50px; 
}
.pagination a.page-num, 
.pagination span.page-num { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    background-color: #e5e5e5; /* 普段のページはグレー */
    color: #777; 
    text-decoration: none;
    font-size: 1.1rem; 
    transition: all 0.3s ease; 
}
.pagination a.page-num:hover { 
    background-color: #d0d0d0; 
}

/* ▼ ここが「今いるページ」の光る設定です ▼ */
.pagination span.page-num.is-active { 
    background-color: #84D2E5 !important; /* 水色にする */
    color: #fff !important; /* 文字を白にする */
    box-shadow: 0 0 15px rgba(132, 210, 229, 0.8) !important; /* 水色の光（オーラ）を放つ */
    transform: scale(1.15) !important; /* 他のボタンより一回り大きくする */
    font-weight: bold;
}

/* -----------------------------------------
   レスポンシブ（スマホ等）
----------------------------------------- */
@media screen and (max-width: 768px) {
    .news-page-section {
        padding: 0 16px 60px;
        margin-top: -20px !important;
    }

    .news-page-section .page-title {
        font-size: 2rem;
    }

    .news-page-section .news-desc {
        margin-bottom: 40px !important;
        font-size: 1rem;
    }

    .news-item { 
        grid-template-columns: 120px 1fr; 
        grid-template-rows: auto auto;
        gap: 10px;
    }
    .news-date {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }
    .news-tag {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        width: 80px; 
    }
    .news-title {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        margin-top: 5px;
    }
}

/* =========================================
   ページ状況のテキスト表示
========================================= */
.page-status {
    text-align: right;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: bold;
}
/* =========================================
   中身が少ない時にフッターを画面一番下に固定する設定
========================================= */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 画面の最低限の高さを「ブラウザの高さ100%」にする */
    margin: 0;
}

.main-content {
    flex: 1; 
}
.news-empty {
    text-align: center;
    color: #777777;
    padding: 28px 16px;
}
@media screen and (max-width: 480px) {
    .news-page-section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .news-page-section .page-title {
        font-size: 1.8rem;
    }
}
