/* ===== news-single.css - ニュース詳細ページ専用スタイル (モダン&ダイナミック版) ===== */

/* ===================================================
   ニュースヘッダー
   ================================================ */
.news-header {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 45px;
    margin-bottom: 35px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.news-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #2d5a27, #4a7c59);
}

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

.news-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a3a1e;
    line-height: 1.4;
    margin-bottom: 0;
}

/* ===================================================
   ニュースコンテンツ
   ================================================ */
.news-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 45px;
    margin-bottom: 45px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.news-content h2 {
    color: #2d5a27;
    font-size: 26px;
    font-weight: 700;
    margin: 35px 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid transparent;
    background: linear-gradient(90deg, rgba(45, 90, 39, 0.2), transparent) bottom left;
    background-size: 100% 3px;
    background-repeat: no-repeat;
}

.news-content h3 {
    color: #2d5a27;
    font-size: 22px;
    font-weight: 600;
    margin: 28px 0 14px 0;
}

.news-content p {
    margin-bottom: 22px;
    line-height: 2.5;
}

.news-content ul,
.news-content ol {
    margin: 22px 0 22px 32px;
}

.news-content li {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.7;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.news-content blockquote {
    border-left: 5px solid #2d5a27;
    margin: 28px 0;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.05), rgba(74, 124, 89, 0.05));
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

.news-content a {
    color: #2d5a27;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    background: linear-gradient(to right, #2d5a27, #2d5a27) bottom left;
    background-size: 0 2px;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.news-content a:hover {
    color: #1a3a1e;
    background-size: 100% 2px;
}

/* ===================================================
   ナビゲーションリンク
   ================================================ */
.navigation-links {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 45px;
}

.nav-link {
    flex: 1;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(45, 90, 39, 0.15);
}

.nav-link.prev {
    text-align: left;
}

.nav-link.next {
    text-align: right;
}

.nav-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.nav-title {
    font-weight: 600;
    line-height: 1.5;
    color: #2d5a27;
}

/* ===================================================
   関連ニュース
   ================================================ */
.related-news {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 35px;
    margin-bottom: 45px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.related-news h3 {
    color: #2d5a27;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.related-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.related-item:hover {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.03), rgba(74, 124, 89, 0.03));
    transform: translateX(4px);
}

.related-item:last-child {
    border-bottom: none;
}

.related-item a {
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.related-item .related-date {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    flex-shrink: 0;
    font-family: 'Courier New', monospace;
}

.related-item .related-title {
    flex: 1;
    margin: 0 20px;
    font-size: 15px;
    font-weight: 500;
}

.related-item:hover .related-title {
    color: #2d5a27;
}

.related-item .related-arrow {
    color: #2d5a27;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 16px;
}

.related-item:hover .related-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ===================================================
   レスポンシブ対応
   ================================================ */
@media (max-width: 768px) {
    .container2 {
        padding: 60px 25px;
    }

    .news-header,
    .news-content {
        padding: 28px;
        border-radius: 12px;
    }

    .news-header {
        margin-top: 40px;
    }

    .news-category {
        padding: 4px 12px;
        font-size: 11px;
    }
    
    .news-title {
        font-size: 26px;
    }
    
    .news-meta {
        align-items: flex-start;
        gap: 12px;
    }
    
    .navigation-links {
        flex-direction: column;
        gap: 18px;
    }
    
    .nav-link.next {
        text-align: left;
    }
    
    .related-news {
        padding: 25px;
    }
    
    .related-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .related-item .related-title {
        margin: 0;
    }

}

@media (max-width: 480px) {
    .news-header,
    .news-content {
        padding: 22px;
    }

    .news-header {
        margin-top: 30px;
    }

    .news-title {
        font-size: 22px;
    }

    .related-news {
        padding: 20px;
    }

}