/*
 * 本文を読むページ（記事・記事一覧・プライバシー・特商法）: base.css の後に読み込む
 * 生成: 2026-11-04（Issue #26）。ページ固有の上書きは各ページの <style> に書く
 */
/* 記事・プライバシー・特商法など、本文を読むページのレイアウト（短いページでもフッターを下に置く） */

body {
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 640px;
    flex: 1;
}

.breadcrumb {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.1s forwards;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-color);
}

.article-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.article-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.375rem;
    border-bottom: 2px solid var(--accent);
}

.article-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-body p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    font-size: 1rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body strong {
    color: var(--text-dark);
}

.article-cta {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    text-align: center;
}

.article-cta p {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.cta-btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.6rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}

.cta-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.author-card {
    margin-top: 1.25rem;
    animation-delay: 0.25s;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.author-role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color);
}

.author-bio {
    font-size: 0.9rem;
    line-height: 1.7;
}

.back-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.35s forwards;
}

.back-link a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.back-link a:hover {
    text-decoration: underline;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .article-card h1 {
        font-size: 1.3rem;
    }
    .article-body h2 {
        font-size: 1.15rem;
    }
    .article-body h3 {
        font-size: 1.05rem;
    }
    .article-body p,
    .article-body ul,
    .article-body ol {
        font-size: 0.95rem;
    }
    .article-cta p {
        font-size: 0.95rem;
    }
    .cta-btn {
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
    }
}


