/* ============================================
   article-style.css
   個別記事ページ専用スタイル
============================================ */

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

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    align-items: center;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: #999;
}

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

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

.breadcrumb-list li:last-child {
    color: #333;
    font-weight: 500;
}

/* 記事ヘッダー */
.article-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    padding: 40px 0 50px;
    color: #fff;
}

.article-header-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

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

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: #f39c12;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.article-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-date i {
    margin-right: 5px;
}

.article-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 24px;
}

.article-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tag {
    padding: 6px 14px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.85rem;
    border-radius: 20px;
}

/* 記事本文 */
.article-content {
    padding: 60px 0;
    background: #fff;
}

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

.article-body h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1e3a5f;
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #f39c12;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid #f39c12;
}

.article-body p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 25px;
}

.article-body strong {
    font-weight: 700;
    color: #1e3a5f;
}

.article-body ul,
.article-body ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-body li {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 12px;
}

.article-body blockquote {
    background: #f8f9fa;
    border-left: 5px solid #1e3a5f;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

/* CTA（導線）ボックス */
.article-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8eef3 100%);
    padding: 40px;
    margin: 60px 0;
    border-radius: 12px;
    border: 2px solid #f39c12;
    text-align: center;
}

.article-cta h3 {
    color: #1e3a5f;
    font-size: 1.6rem;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 16px;
}

.article-cta > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.article-cta .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.article-cta .btn-primary,
.article-cta .btn-secondary {
    padding: 16px 32px;
    font-size: 1.05rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.article-cta .btn-primary {
    background: #f39c12;
    color: #fff;
    border: 2px solid #f39c12;
}

.article-cta .btn-primary:hover {
    background: #e67e22;
    border-color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.3);
}

.article-cta .btn-secondary {
    background: #fff;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
}

.article-cta .btn-secondary:hover {
    background: #1e3a5f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.2);
}

.article-cta .cta-contact-info {
    font-size: 1rem;
    color: #666;
    margin-top: 20px;
}

/* 関連記事 */
.related-articles {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.related-articles h3 {
    font-size: 1.6rem;
    font-weight: 900;
    color: #1e3a5f;
    text-align: center;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.related-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #f39c12;
}

.related-category {
    display: inline-block;
    padding: 4px 12px;
    background: #f39c12;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
    width: fit-content;
}

.related-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.5;
    margin: 0;
}

.back-to-blog {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #fff;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #1e3a5f;
    color: #fff;
    transform: translateY(-3px);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .article-header {
        padding: 30px 0 40px;
    }

    .article-title {
        font-size: 1.6rem;
    }

    .article-body h2 {
        font-size: 1.4rem;
    }

    .article-body h3 {
        font-size: 1.2rem;
    }

    .article-body p,
    .article-body li {
        font-size: 1rem;
    }

    .article-cta {
        padding: 30px 20px;
    }

    .article-cta h3 {
        font-size: 1.3rem;
    }

    .article-cta .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .article-cta .btn-primary,
    .article-cta .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
