/* 記事全体 */
.article {
    display:flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background-color: #ffffff;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.6;
    color: #1a1a1a;
}

/* サマリー */
.article-summary {
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    font-style: italic;
    background-color: #f0f4ff;
    border-left: 0.25rem solid #0077ff;
    border-radius: 0.5rem;
}

/* 目次 */
.article-toc {
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    background-color: #fafafa;
    border-radius: 0.5rem;
}

.article-toc ul {
    display: grid;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
}

.article-toc a {
    text-decoration: none;
    color: #0077ff;
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
}

.article-toc a:hover {
    color: #005fcc;
    transform: translateX(0.25rem);
}

/* セクション */
.article-section {
    display: grid;
    gap: 1.5rem;
}

/* セクション見出し */
.section-heading {
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.3;
    border-bottom: 0.125rem solid #0077ff;
    padding-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

/* 小セクション */
.subsection-heading {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    line-height: 1.4;
    color: #1a1a1a;
}

.subsection-content {
    line-height: 1.7;
    display: grid;
    gap: 0.75rem;
}

/* テーブル（モダン化） */
.subsection-table-wrapper {
    overflow-x: auto;
    border-radius: 0.5rem;
}

.subsection-table {
    border-collapse: collapse;
    border-spacing: 0;
}

.subsection-table thead {
    background-color: #0077ff;
    color: #ffffff;
}

.subsection-table th,
.subsection-table td {
    padding: 0.75rem;
    border: 0.0625rem solid #e0e0e0;
    text-align: left;
}

.subsection-table tbody tr {
    transition: background-color 0.25s ease;
}

.subsection-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.subsection-table tbody tr:hover {
    background-color: #eef4ff;
}

/* リンク */
a {
    color: #0077ff;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

a:hover {
    text-decoration: underline;
    transform: translateX(0.125rem);
}