/* news.css - ニュース詳細ページ専用スタイル */

.news-detail {
    padding: 60px 0;
}

.news-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 20px;
}

.news-header time {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.news-header h1 {
    font-size: 28px;
    line-height: 1.6;
    color: #333;
    font-weight: 700;
}

.news-body {
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

.news-body p {
    margin-bottom: 24px;
    line-height: 1.9;
}

.news-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
    line-height: 1.6;
}

.news-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-body .info-box {
    background-color: #f8f9fa;
    padding: 30px;
    margin: 30px 0;
    border-left: 4px solid #0066cc;
}

.news-body .info-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.news-body .info-box p {
    margin-bottom: 10px;
    line-height: 1.9;
}

.news-body .info-box p:last-child {
    margin-bottom: 0;
}

.news-body .info-box strong {
    font-weight: 700;
    color: #0066cc;
}

.news-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.news-body table tr {
    border-bottom: 1px solid #ddd;
}

.news-body table th {
    padding: 18px 15px;
    text-align: left;
    width: 30%;
    background-color: #f8f9fa;
    font-weight: 700;
    line-height: 1.6;
}

.news-body table td {
    padding: 18px 15px;
    line-height: 1.8;
}

.news-body table td strong {
    font-weight: 700;
    color: #0066cc;
}

.news-body a {
    color: #0066cc;
    text-decoration: underline;
}

.news-body a:hover {
    text-decoration: none;
}

.contact-box {
    background-color: #f8f9fa;
    padding: 30px;
    margin: 40px 0;
    border-radius: 4px;
}

.contact-box h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

.contact-box p {
    margin-bottom: 0;
    line-height: 1.9;
}

.news-footer {
    margin-top: 50px;
    text-align: center;
}

.btn-link {
    display: inline-block;
    padding: 15px 40px;
    background-color: #0066cc;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.btn-link:hover {
    background-color: #0052a3;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .news-detail {
        padding: 40px 0;
    }
    
    .news-header h1 {
        font-size: 22px;
    }
    
    .news-body {
        font-size: 15px;
    }
    
    .news-body h2 {
        font-size: 20px;
        margin-top: 40px;
    }
    
    .news-body h3 {
        font-size: 18px;
        margin-top: 30px;
    }
    
    .news-body .info-box {
        padding: 20px;
    }
    
    .news-body table th,
    .news-body table td {
        display: block;
        width: 100%;
        padding: 12px 10px;
    }
    
    .news-body table th {
        background-color: #e9ecef;
        border-bottom: none;
    }
    
    .contact-box {
        padding: 20px;
    }
}
