/* お知らせページ専用スタイル */

/* レイアウト */
.news-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

/* お知らせコンテンツエリア */
.news-content-area {
    background-color: #ffffff;
    padding: 30px;
}

/* お知らせ詳細ページ */
.news-detail {
    font-family: 'Noto Sans JP', sans-serif;
}

.news-detail-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.news-detail-date {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    text-align: right;
}

.news-detail-content {
    line-height: 1.8;
}

.news-detail-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.news-detail-image {
    margin: 30px 0;
    text-align: center;
}

.news-detail-image img {
    max-width: 100%;
    height: auto;
}

.news-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Noto Sans JP', sans-serif;
}

.news-row {
    border-bottom: 1px solid #e0e0e0;
}

.news-row:last-child {
    border-bottom: none;
}

.news-date {
    padding: 20px 15px;
    font-size: 16px;
    color: #666;
    vertical-align: middle;
    width: 150px;
}

.news-title-cell {
    padding: 20px 15px;
    vertical-align: middle;
}

.news-title-link {
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.news-title-link:hover {
    color: #4CAF50;
}

.news-arrow {
    padding: 20px 15px;
    text-align: right;
    vertical-align: middle;
    width: 40px;
}

.news-arrow img {
    width: 20px;
    height: auto;
    opacity: 0.6;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    border: none;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.page-btn-nav {
    background-color: #2E8B57;
    color: white;
}

.page-btn-nav:hover {
    background-color: #228B22;
}

.page-btn-number {
    background-color: #EBF3EF;
    color: #2E8B57;
}

.page-btn-number:nth-of-type(3) {
    background-color: #D9E8E0;
}

.page-btn-number.active {
    background-color: #90BEA8;
    color: white;
}

.page-btn-number:hover {
    background-color: #D9E8E0;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        order: 2;
    }
    
    .news-content-area {
        order: 1;
    }
}

@media (max-width: 768px) {
    .news-table {
        font-size: 14px;
    }
    
    .news-date {
        width: 100px;
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .news-title-cell {
        padding: 15px 10px;
    }
    
    .news-title-link {
        font-size: 14px;
    }
    
    .news-arrow {
        width: 30px;
        padding: 15px 10px;
    }
    
    .news-arrow img {
        width: 16px;
    }
}
