/* 記事ページのスタイル */

.article {
    max-width: 820px;
    margin: 0 auto;
    padding: 7.5rem 1.5rem 4rem;
}

.breadcrumb {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

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

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

.breadcrumb span { margin: 0 0.35rem; }

.article h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.article-meta {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: 2rem;
}

.article-meta-sep { margin: 0 0.6rem; opacity: 0.5; }

.article h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 2.75rem 0 1rem;
    padding-left: 0.75rem;
    border-left: 5px solid var(--primary-color);
}

.article h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: var(--text-primary);
}

.article p {
    font-size: 0.97rem;
    line-height: 2;
    margin-bottom: 1.1rem;
    color: var(--text-primary);
}

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

/* 表 */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0 1.75rem;
    font-size: 0.88rem;
    display: block;
    overflow-x: auto;
    white-space: normal;
}

.article-table thead {
    background: #f0fdf4;
}

.article-table th,
.article-table td {
    border: 1px solid var(--border-color);
    padding: 0.7rem 0.85rem;
    text-align: left;
    vertical-align: top;
    line-height: 1.7;
}

.article-table th {
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
}

.article-table tbody tr:nth-child(even) { background: #fafafa; }

.article-table .ref {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.article-table .tbd {
    background: #fffbeb;
    color: #92400e;
}

/* 箇条書き */
.article-list {
    margin: 0 0 1.5rem 1.3rem;
    padding: 0;
}

.article-list li {
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.article-sources li { font-size: 0.87rem; line-height: 1.9; }
.article-sources a { color: var(--primary-dark); }

/* 注記ボックス */
.callout {
    border-radius: 10px;
    padding: 1.1rem 1.35rem;
    margin: 1.5rem 0;
    border-left: 5px solid;
}

.callout p { margin-bottom: 0.5rem; font-size: 0.9rem; line-height: 1.9; }
.callout p:last-child { margin-bottom: 0; }

.callout-warn {
    background: #fffbeb;
    border-color: #f59e0b;
}
.callout-warn p, .callout-warn strong { color: #92400e; }

.callout-info {
    background: #eff6ff;
    border-color: #3b82f6;
}
.callout-info p, .callout-info strong { color: #1e40af; }

.callout-danger {
    background: #fef2f2;
    border-color: #ef4444;
}
.callout-danger p, .callout-danger strong { color: #991b1b; }

/* 記事末尾のCTA */
.article-cta {
    margin-top: 3.5rem;
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
}

.article-cta h3 {
    margin-top: 0;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.article-cta p { font-size: 0.92rem; }

.article-cta-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

@media (max-width: 768px) {
    .article { padding: 6rem 1.1rem 3rem; }
    .article h1 { font-size: 1.5rem; }
    .article h2 { font-size: 1.15rem; }
    .article-table { font-size: 0.82rem; }
    .article-cta { padding: 1.5rem; }
    .article-cta-actions .btn { width: 100%; justify-content: center; }
}

/* チェックリスト */
.checklist {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.checklist li {
    position: relative;
    padding: 0.9rem 1rem 0.9rem 2.6rem;
    margin-bottom: 0.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-primary);
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 1rem;
    top: 1.35rem;
    width: 14px;
    height: 14px;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    background: #fff;
}
