/* 新着情報一覧ページ専用CSS */

/* ナビゲーションアクティブ状態 */
.nav-menu a.active {
    color: #666;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
}

.mobile-nav-menu a.active {
    color: #666;
    font-weight: 600;
}

/* ページヘッダー */
.page-header {
    position: relative;
    height: 300px;
    background: url('../images/page-header.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: #333;
    text-align: left;
    max-width: 1200px;
    width: 100%;
    padding: 0 60px;
}

.page-title {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: 0.1em;
    color: #333;
}

/* パンくずリスト */
.breadcrumb-section {
    background: #FAFAFA;
    padding: 20px 0;
}

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

.breadcrumb {
    font-size: 14px;
    color: #666;
}

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

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #666;
}

.breadcrumb .current {
    color: #333;
}

/* 新着情報一覧セクション */
.news-archive-section {
    background: white;
    padding: 80px 0;
}

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

/* カテゴリ絞り込みボタン */
.category-filter {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: #666;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    min-width: 80px;
    text-align: center;
}

.filter-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.filter-btn.active {
    background: #333;
    color: white;
    border-color: #333;
}

/* 記事一覧 */
.news-list {
    max-width: 100%;
    margin: 0 auto 60px;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: 1px solid #eee;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-date {
    font-size: 12px;
    color: #999;
    font-weight: 300;
}

.news-category {
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
    background: #333;
}

.news-content {
    flex: 1;
}

.news-content a {
    font-size: 1.3rem;
    color: #444;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content a:hover {
    color: #333;
}

/* 記事がない場合 */
.no-posts {
    text-align: center;
    padding: 60px 0;
}

.no-posts p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

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

.page-numbers {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-numbers a {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

.page-numbers a:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.page-numbers .current {
    background: #333;
    color: white;
    border: 1px solid #333;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .page-header-content {
        padding: 0 40px;
    }

    .breadcrumb-container {
        padding: 0 40px;
    }

    .news-archive-container {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 200px;
    }

    .page-header-content {
        padding: 0 30px;
    }

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

    .breadcrumb-container {
        padding: 0 30px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .breadcrumb-separator {
        margin: 0 8px;
    }

    .news-archive-section {
        padding: 60px 0;
    }

    .news-archive-container {
        padding: 0 30px;
    }

    .category-filter {
        gap: 8px;
        margin-bottom: 50px;
    }

    .filter-btn {
        font-size: 13px;
        padding: 6px 16px;
        min-width: 70px;
    }

    .news-item {
        gap: 10px;
        padding: 22px 0;
    }

    .news-content a {
        font-size: 0.95rem;
    }

    .pagination-wrapper {
        margin-top: 50px;
    }

    .page-numbers a,
    .page-numbers span {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 160px;
    }

    .page-header-content {
        padding: 0 20px;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .breadcrumb-container {
        padding: 0 20px;
    }

    .breadcrumb {
        font-size: 11px;
    }

    .news-archive-section {
        padding: 50px 0;
    }

    .news-archive-container {
        padding: 0 20px;
    }

    .category-filter {
        gap: 6px;
        margin-bottom: 40px;
    }

    .filter-btn {
        font-size: 12px;
        padding: 5px 14px;
        min-width: 60px;
    }

    .news-item {
        gap: 8px;
        padding: 18px 0;
    }

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

    .news-category {
        min-width: auto;
    }

    .news-content a {
        font-size: 0.9rem;
    }

    .pagination-wrapper {
        margin-top: 40px;
    }

    .page-numbers a,
    .page-numbers span {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}