/* News Page Styles - お知らせページ専用のスタイル */
.page-header {
    background-image: url('../images/header-bg/news-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 59, 131, 0.7);
    z-index: 1;
}

.page-header .breadcrumb {
    position: absolute;
    top: 20px;
    left: 40px;
    color: #fff;
    font-size: 13px;
    z-index: 2;
    text-align: left;
    margin: 0;
    padding: 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.page-header .breadcrumb a {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
    color: #fff;
}

.breadcrumb-separator,
.breadcrumb-current {
    color: #fff;
    opacity: 0.7;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.9;
}

/* フィルターセクション */
.filter-section {
    padding: 40px 0 20px;
    background-color: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.filter-options {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-color);
    user-select: none;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 4px;
    width: 5px;
    height: 5px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ニュース一覧セクション */
.news-list-section {
    padding: 30px 30px;
    background-color: var(--white);
}

.news-list {
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: rgba(30, 58, 95, 0.02);
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
    white-space: nowrap;
    min-width: 140px;
}

.news-category {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

.news-title {
    flex: 1;
    margin: 0;
}

.news-title a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    gap: 10px;
}

.pagination-prev,
.pagination-next {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--light-text);
}

.pagination-prev:hover,
.pagination-next:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-prev:disabled,
.pagination-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
    margin: 0 15px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.pagination-number:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-number.current {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .filter-options {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 36px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px 0;
    }
    
    .news-date {
        min-width: auto;
        font-size: 14px;
    }
    
    .news-category {
        min-width: auto;
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .news-title a {
        font-size: 16px;
    }
    
    .pagination {
        gap: 10px;
    }
    
    .pagination-prev,
    .pagination-next {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .pagination-numbers {
        gap: 5px;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {

    .main{
        padding: 0px;
    }
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header .breadcrumb {
        top: 15px;
        left: 20px;
        font-size: 12px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .filter-section {
        padding: 30px 0 20px;
    }
    
    .filter-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .filter-options {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .filter-checkbox {
        font-size: 14px;
    }
    
    .filter-checkbox .checkmark {
        width: 18px;
        height: 18px;
    }

    .filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    top: 2px;
    left: 3px;
    width: 3px;
    height: 5px;
    }
    
    .news-list-section {
        padding: 30px 20px;
    }
    
    .news-item {
        padding: 12px 0;
    }
    
    .news-title a {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .pagination {
        gap: 8px;
        margin-top: 40px;
    }
    
    .pagination-prev,
    .pagination-next {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .pagination-numbers {
        gap: 3px;
        margin: 0 10px;
    }
    
    .pagination-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 40px 0 30px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .filter-section {
        padding: 20px 0 15px;
    }
    
    .filter-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-checkbox {
        font-size: 13px;
    }
    
    .filter-checkbox .checkmark {
        width: 16px;
        height: 16px;
    }
    
    .news-list-section {
        padding: 20px 15px;
    }
    
    .news-item {
        padding: 10px 0;
    }
    
    .news-date {
        font-size: 12px;
    }
    
    .news-category {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .news-title a {
        font-size: 14px;
        line-height: 1.3;
    }
    
    .pagination {
        gap: 5px;
        margin-top: 30px;
    }
    
    .pagination-prev,
    .pagination-next {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }
    
    .pagination-numbers {
        gap: 2px;
        margin: 0 8px;
    }
    
    .pagination-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}