/* 記事詳細ページ専用CSS */

/* ナビゲーションアクティブ状態 */
.nav-menu a.active {
    color: #666;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
}

.mobile-nav-menu a.active {
    color: #666;
    font-weight: 600;
}

/* 記事詳細ページヘッダー */
.news-detail-header {
    position: relative;
    min-height: 350px;
    background: url('../images/page-header.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
    padding: 60px 0;
}

.news-detail-header-content {
    position: relative;
    z-index: 2;
    color: #333;
    text-align: left;
    max-width: 1200px;
    width: 100%;
    padding: 0 60px;
}

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

.news-header-date {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.news-header-category {
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    background: #333;
    min-width: 120px;
    text-align: center;
    letter-spacing: 0.05em;
}

.news-header-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.05em;
    color: #333;
    line-height: 1.5;
    max-width: 900px;
}

/* 記事詳細セクション */
.news-detail-section {
    background: white;
    padding: 80px 0;
}

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px;
}

.news-detail-article {
    margin-bottom: 60px;
}

/* アイキャッチ画像 */
.news-detail-image {
    margin-bottom: 40px;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 記事本文 */
.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    letter-spacing: 0.02em;
}

.news-detail-content p {
    margin-bottom: 24px;
    line-height: 1.8;
}

.news-detail-content p:last-child {
    margin-bottom: 0;
}

/* 大見出し（h2） */
.news-detail-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 50px 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.news-detail-content h2:first-child {
    margin-top: 0;
}

/* 小見出し（h3） */
.news-detail-content h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    margin: 35px 0 18px 0;
    padding-left: 15px;
    border-left: 4px solid #333;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-detail-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.news-detail-content a {
    color: #333;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.news-detail-content a:hover {
    opacity: 0.7;
}

/* 区切り線 */
.content-separator {
    width: 100%;
    height: 1px;
    background: #ddd;
    margin: 60px 0 40px 0;
}

/* ナビゲーション */
.post-navigation {
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.nav-item {
    flex: 1;
}

.nav-previous {
    text-align: left;
}

.nav-back {
    text-align: center;
}

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

.nav-item a {
    display: inline-block;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-item a:hover {
    opacity: 0.7;
}

.nav-label {
    display: block;
}

/* 記事一覧に戻るボタン */
.back-to-list-btn {
    background: #333;
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: background 0.3s ease;
}

.back-to-list-btn:hover {
    background: #555 !important;
    opacity: 1 !important;
}
.breadcrumb-section {
    background: #FAFAFA;
    padding: 20px 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #666;
}

.breadcrumb .current {
    color: #333;
}
@media (max-width: 1024px) {
    .news-detail-header-content {
        padding: 0 40px;
    }

    .news-header-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .news-detail-header {
        min-height: 280px;
        padding: 40px 0;
    }

    .news-detail-header-content {
        padding: 0 30px;
    }

    .news-header-meta {
        gap: 12px;
        margin-bottom: 25px;
    }

    .news-header-date {
        font-size: 13px;
    }

    .news-header-category {
        font-size: 11px;
        padding: 5px 14px;
        min-width: 100px;
    }

    .news-header-title {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .breadcrumb-container {
        padding: 0 30px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .breadcrumb-separator {
        margin: 0 8px;
    }

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

    .news-detail-container {
        padding: 0 30px;
    }

    .news-detail-article {
        margin-bottom: 50px;
    }

    .news-detail-image {
        margin-bottom: 30px;
    }

    .news-detail-content {
        font-size: 15px;
    }

    .news-detail-content h2 {
        font-size: 1.5rem;
        margin: 40px 0 20px 0;
        padding-bottom: 10px;
    }

    .news-detail-content h3 {
        font-size: 1.2rem;
        margin: 30px 0 15px 0;
    }

    .content-separator {
        margin: 50px 0 35px 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .nav-previous,
    .nav-next,
    .nav-back {
        text-align: center;
    }

    .nav-item a {
        font-size: 13px;
    }

    .back-to-list-btn {
        font-size: 13px;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .news-detail-header {
        min-height: 220px;
        padding: 30px 0;
    }

    .news-detail-header-content {
        padding: 0 20px;
    }

    .news-header-meta {
        gap: 10px;
        margin-bottom: 20px;
    }

    .news-header-date {
        font-size: 12px;
    }

    .news-header-category {
        font-size: 10px;
        padding: 4px 12px;
        min-width: 80px;
    }

    .news-header-title {
        font-size: 1.3rem;
        line-height: 1.4;
    }

    .breadcrumb-container {
        padding: 0 20px;
    }

    .breadcrumb {
        font-size: 11px;
    }

    .news-detail-section {
        padding: 50px 0;
    }

    .news-detail-container {
        padding: 0 20px;
    }

    .news-detail-article {
        margin-bottom: 40px;
    }

    .news-detail-image {
        margin-bottom: 25px;
    }

    .news-detail-content {
        font-size: 14px;
    }

    .news-detail-content p {
        margin-bottom: 20px;
    }

    .news-detail-content h2 {
        font-size: 1.3rem;
        margin: 35px 0 18px 0;
        padding-bottom: 8px;
    }

    .news-detail-content h3 {
        font-size: 1.1rem;
        margin: 25px 0 12px 0;
    }

    .content-separator {
        margin: 40px 0 30px 0;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-item a {
        font-size: 12px;
    }

    .back-to-list-btn {
        font-size: 12px;
        padding: 8px 20px;
    }
}