/* 記事ページ専用スタイル */

/* メインコンテンツ */
.article-main {
    padding-top: 80px; /* ヘッダーの高さ分 */
    min-height: 100vh;
    background: #ffffff;
}

/* パンくずリスト */
.breadcrumb {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.4rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: #666666;
}

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

.breadcrumb-list a:hover {
    color: #1a1a4d;
}

.breadcrumb-list li:last-child {
    color: #666666;
}

/* 記事ヘッダー */
.article-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/noise.png') repeat;
    opacity: 0.05;
    z-index: 1;
}

.article-header .section-inner {
    position: relative;
    z-index: 2;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.article-category {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #232365;
    background: rgba(35, 35, 101, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.article-date {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.6rem;
    color: #666666;
}

.article-title {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 3.2rem;
    font-weight: bold;
    color: #222222;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-excerpt {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.8rem;
    color: #666666;
    line-height: 1.6;
}

/* 記事コンテンツ */
.article-content {
    padding: 80px 0;
    background: #ffffff;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-image {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(35, 35, 101, 0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-text {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #222222;
}

.article-text p {
    margin-bottom: 24px;
}

.article-text h2 {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 2.4rem;
    font-weight: bold;
    color: #232365;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.article-text h3 {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 2.0rem;
    font-weight: bold;
    color: #232365;
    margin: 30px 0 16px 0;
}

.article-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.article-text li {
    margin-bottom: 8px;
}

/* ハイライトボックス */
.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #232365;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.highlight-box p {
    margin-bottom: 10px;
    font-weight: bold;
}

.highlight-box p:last-child {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: #666666;
}


/* 記事ナビゲーション */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.nav-previous,
.nav-next {
    flex: 1;
}

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

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

.article-navigation .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #232365;
    text-decoration: none;
    padding: 16px 24px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.article-navigation .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #232365;
    transition: left 0.3s ease;
    z-index: 1;
}

.article-navigation .nav-link span {
    position: relative;
    z-index: 2;
}

.article-navigation .nav-link:hover {
    color: white;
    border-color: #232365;
}

.article-navigation .nav-link:hover::before {
    left: 0;
}

/* 関連記事 */
.related-articles {
    background: #f8f9fa;
    padding: 80px 0;
}

.related-title {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 2.8rem;
    font-weight: bold;
    color: #232365;
    text-align: center;
    margin-bottom: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.related-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(35, 35, 101, 0.08);
}

.related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 24px;
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.related-category {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #232365;
    background: rgba(35, 35, 101, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

.related-date {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.3rem;
    color: #666666;
}

.related-card-title {
    font-family: 'Yu Gothic', sans-serif;
    font-size: 1.6rem;
    font-weight: bold;
    color: #222222;
    line-height: 1.4;
    margin: 0;
}

.related-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card-title a:hover {
    color: #232365;
}

/* レスポンシブ対応 */
@media (max-width: 999px) {
    .article-main {
        padding-top: 70px;
    }
    
    .article-header {
        padding: 40px 0 30px;
    }
    
    .article-title {
        font-size: 2.6rem;
    }
    
    .article-excerpt {
        font-size: 1.6rem;
    }
    
    .article-content {
        padding: 60px 0;
    }
    
    .article-text {
        font-size: 1.5rem;
    }
    
    .article-text h2 {
        font-size: 2.0rem;
    }
    
    .article-text h3 {
        font-size: 1.8rem;
    }
    
    
    .article-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-previous,
    .nav-next {
        text-align: center;
    }
    
    .related-articles {
        padding: 60px 0;
    }
    
    .related-title {
        font-size: 2.4rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .article-main {
        padding-top: 60px;
    }
    
    .breadcrumb {
        padding: 16px 0;
    }
    
    .breadcrumb-list {
        font-size: 1.2rem;
    }
    
    .article-header {
        padding: 30px 0 20px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-excerpt {
        font-size: 1.4rem;
    }
    
    .article-content {
        padding: 40px 0;
    }
    
    .article-text {
        font-size: 1.4rem;
    }
    
    .article-text h2 {
        font-size: 1.8rem;
    }
    
    .article-text h3 {
        font-size: 1.6rem;
    }
    
    .highlight-box {
        padding: 20px;
    }
    
    
    .article-navigation .nav-link {
        font-size: 1.4rem;
        padding: 12px 20px;
    }
    
    .related-articles {
        padding: 40px 0;
    }
    
    .related-title {
        font-size: 2.0rem;
    }
    
    .related-content {
        padding: 20px;
    }
    
    .related-card-title {
        font-size: 1.4rem;
    }
}

