@charset "UTF-8";

/* 記事本文のブロック表示。現行サイトでは WordPress コアが配信していたもので、
   テーマ CSS には含まれない。同じ表示になる宣言だけをここに置く。 */

.aligncenter {
    clear: both;
}

.wp-block-table {
    overflow-x: auto;
}

.wp-block-table table {
    border-collapse: collapse;
    width: 100%;
}

.wp-block-table thead {
    border-bottom: 3px solid;
}

.wp-block-table td,
.wp-block-table th {
    border: 1px solid;
    padding: .5em;
}

.wp-block-quote {
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.wp-block-code {
    box-sizing: border-box;
}

.wp-block-code code {
    direction: ltr;
    display: block;
    font-family: inherit;
    overflow-wrap: break-word;
    text-align: initial;
    white-space: break-spaces;
}

.wp-block-separator {
    border: none;
    border-top: 2px solid;
}

.wp-block-buttons {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5em;
}

.wp-block-buttons.is-content-justification-center {
    justify-content: center;
}

.wp-block-buttons > .wp-block-button {
    display: inline-block;
    margin: 0;
}

.wp-block-button__link {
    align-content: center;
    background-color: #32373c;
    border-radius: 9999px;
    border-width: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    height: 100%;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    text-align: center;
    text-decoration: none;
    width: 100%;
    word-break: break-word;
}

/* Article detail pages use their own reading measure and heading rhythm.
   The theme's generic #sub_contents h2 rules are for page sections. */
#sub_contents section.pageNews {
    max-width: 960px;
}

#sub_contents .pageNews > h1 {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    text-wrap: balance;
}

#sub_contents .article-body {
    max-width: 780px;
    margin: 0 auto;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

#sub_contents .article-body p {
    margin: 0 0 1.25em;
    font-size: 16px;
    line-height: 2;
}

#sub_contents .article-body strong {
    font-weight: 700;
}

#sub_contents .article-body blockquote {
    margin: 28px 0 32px;
    padding: 18px 20px;
    border-left: 4px solid #2878d2;
    background: #f3f7fb;
    color: #143957;
}

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

#sub_contents .article-body h2.wp-block-heading {
    margin: 56px 0 22px;
    padding: .15em 0 .3em .75em;
    border-bottom: 1px solid #d8e5f2;
    border-left: 4px solid #2878d2;
    font-size: 24px;
    line-height: 1.6;
    text-align: left;
    text-wrap: balance;
}

#sub_contents .article-body h2.wp-block-heading::before {
    display: none;
}

#sub_contents .article-body h3.wp-block-heading {
    display: block;
    margin: 36px 0 16px;
    padding: 0;
    border: 0;
    font-size: 19px;
    line-height: 1.7;
    text-align: left;
}

#sub_contents .article-body .wp-block-table {
    margin: 28px 0 32px;
    border: 1px solid #cbd9e7;
    border-radius: 6px;
    background: #fff;
}

#sub_contents .article-body .wp-block-table table {
    table-layout: fixed;
    font-size: 14px;
    line-height: 1.7;
}

#sub_contents .article-body .wp-block-table th {
    background: #edf5fd;
    color: #143957;
    font-weight: 700;
    text-align: left;
}

#sub_contents .article-body .wp-block-table td,
#sub_contents .article-body .wp-block-table th {
    border-color: #cbd9e7;
    padding: 12px 14px;
    vertical-align: top;
}

#sub_contents .article-body .wp-block-table td:first-child,
#sub_contents .article-body .wp-block-table th:first-child {
    width: 28%;
    font-weight: 700;
}

#sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(n+4) tbody tr:last-child td {
    border-top: 2px solid #2878d2;
    background: #edf5fd;
    font-weight: 700;
}

@media screen and (min-width: 768px) {
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(2) td:first-child,
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(2) th:first-child {
        width: 6%;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(2) td:nth-child(2),
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(2) th:nth-child(2) {
        width: 55%;
    }
}

#sub_contents .article-body .wp-block-code {
    margin: 28px 0;
    padding: 18px 20px;
    border-left: 4px solid #2878d2;
    background: #f3f7fb;
    color: #143957;
}

#sub_contents .article-body .wp-block-separator {
    margin: 40px 0;
    border-color: #cbd9e7;
}

#sub_contents .article-body ul,
#sub_contents .article-body ol {
    margin: 0 0 1.5em;
    padding-left: 1.5em;
    line-height: 1.8;
}

#sub_contents .article-body ul { list-style: disc outside; }
#sub_contents .article-body ol { list-style: decimal outside; }

#sub_contents .article-body a {
    color: #0f57b8;
    text-decoration: underline;
    text-underline-offset: .15em;
}

#sub_contents .article-body a:hover {
    text-decoration-thickness: 2px;
}

#sub_contents .article-body a:focus-visible {
    outline: 3px solid #195eb4;
    outline-offset: 3px;
}

#sub_contents .article-body--column .wp-block-buttons.is-content-justification-center {
    justify-content: center;
    margin: 36px 0;
}

#sub_contents .article-body--column .wp-block-button {
    width: min(100%, 340px);
}

#sub_contents .article-body--column .wp-block-button__link {
    padding: 16px 24px;
    border-radius: 10px;
    background: #1558af;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

#sub_contents .article-body--column .wp-block-button__link:hover {
    background: #104585;
}

@media screen and (max-width: 1100px) and (min-width: 768px) {
    #sub_contents section.pageNews {
        width: calc(100% - 160px);
    }

    #sub_contents .pageNews > h1 span {
        font-size: 24px;
    }
}

@media screen and (max-width: 767px) {
    #sub_contents section.pageNews {
        width: calc(100% - 56px);
        margin-right: 44px;
        margin-left: 12px;
    }

    #sub_contents .pageNews > h1 {
        margin-bottom: 36px;
    }

    #sub_contents .article-body p {
        font-size: 15px;
        line-height: 1.9;
    }

    #sub_contents .article-body blockquote {
        margin: 24px 0 28px;
        padding: 14px 16px;
    }

    #sub_contents .article-body h2.wp-block-heading {
        margin: 42px 0 18px;
        padding-left: .65em;
        font-size: 20px;
        line-height: 1.55;
    }

    #sub_contents .article-body h3.wp-block-heading {
        margin-top: 30px;
        font-size: 17px;
    }

    #sub_contents .article-body .wp-block-table {
        margin: 24px 0 28px;
    }

    #sub_contents .article-body .wp-block-table table {
        font-size: 13px;
        line-height: 1.6;
    }

    #sub_contents .article-body .wp-block-table td,
    #sub_contents .article-body .wp-block-table th {
        padding: 10px 8px;
    }

    #sub_contents .article-body .wp-block-table td:first-child,
    #sub_contents .article-body .wp-block-table th:first-child {
        width: 34%;
    }

    #sub_contents .article-body .wp-block-code {
        padding: 14px 12px;
        font-size: 13px;
        line-height: 1.7;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) {
        border: 0;
        background: transparent;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) table,
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) tbody,
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) tr,
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) td {
        display: block;
        width: auto;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) tbody {
        display: grid;
        gap: 12px;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) tr {
        padding: 12px 14px;
        border: 1px solid #cbd9e7;
        border-radius: 8px;
        background: #fff;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) td,
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) td:first-child {
        width: auto;
        border: 0;
        padding: 3px 0;
        font-size: 14px;
        line-height: 1.55;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) td:first-child {
        color: #143957;
        font-size: 16px;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(-n+2) td:nth-child(n+2)::before {
        display: block;
        color: #52708a;
        font-size: 12px;
        font-weight: 700;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(1) td:nth-child(2)::before { content: "意味"; }
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(1) td:nth-child(3)::before { content: "確認資料"; }
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(2) td:nth-child(2)::before { content: "確認する項目"; }
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(2) td:nth-child(3)::before { content: "確認資料"; }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(n+3) td:first-child,
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(n+3) th:first-child {
        width: 58%;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(n+3) td:last-child,
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(n+3) th:last-child {
        text-align: right;
        font-variant-numeric: tabular-nums;
    }

    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(n+4) td:last-child,
    #sub_contents .article-body--monthly-loss > .wp-block-table:nth-of-type(n+4) th:last-child {
        white-space: nowrap;
    }
}
