/* お知らせページのスタイル */

.page-title {
    font-size: 2rem;
    text-align: center;
    margin: 40px 0;
    color: #333;
    border-bottom: 2px solid #f9b2c5;
    padding-bottom: 10px;
}

.news-main {
    padding: 40px 0 80px;
    min-height: 60vh;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-date {
    background: #f9b2c5;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.news-category {
    background: #666;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.news-category.important {
    background: #ff6b6b;
}

.news-category.info {
    background: #4dabf7;
}

.news-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-content {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 1.5rem;
        margin: 20px 0;
    }
    
    .news-main {
        padding: 20px 0 40px;
    }
    
    .news-item {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-title {
        font-size: 1.1rem;
    }
    
    .news-content {
        font-size: 0.9rem;
    }
} 