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

/* パンくずリスト */
.breadcrumb {
    margin-top: 80px; /* ヘッダーの高さ分 */
}

.breadcrumb_container {
    width: 80vw;
    margin: 100px auto 0 auto;
    padding: 16px 0;
}

.breadcrumb_list {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6B7280;
}

.breadcrumb_item {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb_item:hover {
    color: #1A365D;
}

.breadcrumb_separator {
    margin: 0 8px;
    color: #9CA3AF;
}

.breadcrumb_current {
    color: #1A365D;
    font-weight: 500;
}

/* ニュースリストセクション */
.news-list {
    padding: 48px 0 80px;
    min-height: calc(100vh - 200px);
}

.news-list_container {
    width: 80vw;
    max-width: 1200px;
    margin: 100px auto 0 auto;
}



/* カテゴリーフィルター */
.category-filter {
    margin-top: 48px;
    margin-bottom: 32px;
    border-bottom: 1px solid #E5E7EB;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -1px;
}

.category-btn {
    padding: 8px 16px;
    margin-right: 8px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    color: #1A365D;
}

.category-btn.active {
    color: #1A365D;
    border-bottom-color: #1A365D;
}

/* ニュースアイテム */
.news-list_items {
    margin-bottom: 64px;
}

.news-list_item {
    display: block;
    background: #FFF;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-list_item:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #F9FAFB;
    transform: translateY(-2px);
}

.news-item_content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-item_meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-item_date {
    color: #6B7280;
    font-size: 14px;
    white-space: nowrap;
}

.news-item_category {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 9999px;
    background: rgba(26, 54, 93, 0.10);
    color: #1A365D;
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
}

.news-item_title {
    color: #1F2937;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 64px;
}

.pagination_info {
    color: #6B7280;
    font-size: 14px;
}

.pagination_total,
.pagination_range {
    font-weight: 700;
    color: #374151;
}

.pagination_nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination_btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #FFF;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination_btn:hover:not(.disabled) {
    background: #F3F4F6;
}

.pagination_btn.active {
    background: #1A365D;
    color: #FFF;
}

.pagination_btn.disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
}

.pagination_prev,
.pagination_next {
    font-size: 18px;
}

/* アニメーション */
.news-list_item {
    opacity: 0;
    transform: translateY(20px);
}

.news-list_item.animate-fadeIn {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ対応 */
@media screen and (max-width: 809px) {
    .breadcrumb_container,
    .news-list_container {
        width: 90vw;
    }

    .news-list {
        padding: 32px 0 64px;
    }

    .category-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        white-space: nowrap;
    }

    .news-item_content {
        gap: 12px;
    }

    .news-item_meta {
        flex-wrap: wrap;
    }

    .news-item_title {
        font-size: 16px;
    }

    .pagination {
        flex-direction: column;
        gap: 24px;
    }

    .pagination_info {
        text-align: center;
    }
}