.article-detail .article-main p {
    text-align: left;
    overflow-wrap: anywhere;
}

.web-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 2.25rem 0 3rem;
    scrollbar-width: thin;
}

.web-table-scroll:focus-visible {
    outline: 3px solid var(--article-teal);
    outline-offset: 4px;
}

.article-detail .web-table-scroll table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.7;
}

.web-table-scroll caption {
    text-align: left;
    padding: 0 0 0.8rem;
    color: var(--article-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.web-table-scroll th,
.web-table-scroll td {
    padding: 1rem 0.9rem;
    border-bottom: 1px solid var(--article-line-soft);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.web-table-scroll thead th {
    background: #f4f6f8;
}

.web-table-scroll tbody th {
    background: #fbfcfd;
}

.web-table-scroll tbody tr:first-child th,
.web-table-scroll tbody tr:first-child td {
    border-top: 1px solid var(--article-line-soft);
}

.web-table-scroll td p {
    margin-bottom: 8px;
}

.article-main blockquote {
    padding: 16px 20px;
    margin: 24px 0;
    background: #f6f8fa;
    border-left: 3px solid #2a9d8f;
}

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

.article-detail .article-main .article-inline-figure {
    width: 100%;
    margin: 2.5rem 0 3.5rem;
}

.article-inline-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--article-line-soft);
    box-sizing: border-box;
}

.article-inline-figure figcaption {
    margin-top: 0.75rem;
    color: var(--article-muted);
    font-size: 0.84rem;
    line-height: 1.7;
    text-align: left;
}

@media (max-width: 768px) {
    .article-detail .web-table-scroll table {
        font-size: 0.88rem;
    }

    .web-table-scroll th,
    .web-table-scroll td {
        padding: 0.85rem 0.7rem;
    }

    .article-inline-figure figcaption {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.article-detail .hero {
    padding: 40px 0 0 !important;
}

body.article-body .article-detail .hero-title-sub {
    margin-top: 0.65rem;
    font-size: 0.7em !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.web-article-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
    margin-top: 1.25rem;
    color: var(--article-muted);
    font-size: 13px;
    line-height: 1.6;
}

.web-article-author {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--article-ink);
}

.web-article-author img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.web-article-category {
    color: var(--article-teal);
}

.article-detail .article-lead {
    margin-top: 1.5rem;
}

.article-detail .article-eyecatch {
    margin-top: 2rem;
}

.article-detail .article-main {
    padding-top: 2.5rem !important;
}

.article-detail .article-toc {
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
}

.article-detail .article-toc-title {
    margin-bottom: 0.65rem;
    font-size: 18px;
}

.article-detail .article-toc .toc-list a {
    min-height: 44px;
    padding: 0.4rem 0;
    line-height: 1.6;
}

.article-detail .article-toc .toc-list a::before {
    content: none;
}

.article-detail .web-table--compact table {
    min-width: 0;
}

.article-detail .web-table--compact tbody th {
    width: 25%;
}

@media (max-width: 768px) {
    .article-detail .hero-title-group {
        line-height: 1.5 !important;
    }

    body.article-body .article-detail .hero-title-sub {
        font-size: 0.7em !important;
        margin-top: 0.5rem;
    }

    .web-article-byline {
        gap: 0.45rem 0.9rem;
        font-size: 12px;
    }

    .web-article-author img {
        width: 20px;
        height: 20px;
    }

    .web-article-category {
        flex-basis: 100%;
    }

    .article-detail .article-toc .toc-list a {
        font-size: 14px;
        line-height: 1.7;
    }

    .article-detail .web-table--compact tbody th {
        width: 27%;
    }

    .article-detail .web-table--wide table {
        min-width: 640px;
    }

    .web-table--wide th:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 96px;
        max-width: 116px;
        box-shadow: 1px 0 var(--article-line);
    }

    .web-table--wide caption::after {
        content: "横にスクロールできます";
        display: block;
        font-size: 12px;
        font-weight: 400;
    }
}

.web-title-term {
    white-space: nowrap;
}
