/* ===============================================
   お知らせ一覧ページ専用スタイル
   =============================================== */

/* KVビジュアル */
.news-kv {
    margin-top: 93px;
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(15, 26, 61, 0.95) 0%, rgba(30, 58, 138, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-kv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/news-bg.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.news-kv .kv-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.news-kv .kv-content h1 {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

.news-kv .kv-content p {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* パンくずリスト */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 3rem;
    border-bottom: 1px solid #e8e8e8;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    list-style: none;
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    padding: 0;
}

.breadcrumb-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #1e3a8a;
}

/* メインコンテンツ */
.news-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 2rem 100px;
    background: white;
}

.news-container {
    width: 100%;
}

/* フィルタードロップダウン */
.filter-dropdown {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e8e8e8;
}

.filter-dropdown label {
    font-size: 0.9rem;
    color: #666;
}

.filter-select {
    padding: 0.6rem 2rem 0.6rem 1rem;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    transition: border-color 0.3s ease;
}

.filter-select:hover,
.filter-select:focus {
    border-color: #1e3a8a;
    outline: none;
}

/* ニュース一覧 */
.news-list {
    width: 100%;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e8e8e8;
    text-decoration: none;
    transition: background 0.3s ease;
}

.news-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.news-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.news-date {
    font-family: 'Georgia', serif;
    font-size: 0.9rem;
    color: #888;
    flex-shrink: 0;
    min-width: 90px;
}

.news-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    color: #1e3a8a;
}

/* 投稿がない場合 */
.no-posts {
    text-align: center;
    padding: 3rem;
    color: #888;
    font-size: 1rem;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.8rem;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.pagination .current {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.pagination .prev,
.pagination .next {
    font-size: 1.2rem;
}

/* ===============================================
   レスポンシブ
   =============================================== */
@media (max-width: 768px) {
    .news-kv {
        margin-top: 70px;
        height: 30vh;
        min-height: 200px;
    }

    .news-kv .kv-content h1 {
        font-size: 2rem;
        letter-spacing: 0.15em;
    }

    .breadcrumb {
        padding: 1rem 1.5rem;
    }

    .news-content {
        padding: 40px 1.5rem 60px;
    }

    .filter-dropdown {
        justify-content: center;
    }

    .news-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .news-date {
        font-size: 0.85rem;
    }

    .news-title {
        font-size: 0.95rem;
    }

    .pagination a,
    .pagination span {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .news-content {
        padding: 30px 1rem 50px;
    }

    .news-kv .kv-content h1 {
        font-size: 1.7rem;
    }

    .filter-dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
    }
}