@charset "UTF-8";

.white-card {
    background-color: #fff;
    border-radius: 15.2rem;
    display: block;
    position: relative;
    padding: 14rem 17.9rem 17rem;
    box-sizing: border-box;
    margin-bottom: 9rem;
    @media screen and (max-width: 767px) {
        border-radius: 5.2rem;
        padding: 5rem 3rem 5rem;
        margin-bottom: 3rem;
    }
    .category-set {
        display: flex;
        align-items: center;
        gap: 1.4rem;
        margin-bottom: 3.2rem;
        .set-time {
            font-style: normal;
            font-weight: 700;
            font-size: 1.8rem;
            line-height: 173%;
            letter-spacing: 0.08em;
            color: #005293;
            @media screen and (max-width: 767px) {
                font-size: 1.4rem;
            }
        }
        .set-list {
            & li {
                background-color: #fff;
                border-radius: 0.8rem;
                padding: 0.5rem 1rem;
                box-sizing: border-box;
                font-style: normal;
                font-weight: 600;
                font-size: 1.4rem;
                line-height: 1;
                letter-spacing: 0.08em;
                color: #000;
            }
        }
    }
    .article-title {
        font-style: normal;
        font-weight: 900;
        font-size: 4rem;
        line-height: 140%;
        color: #000000;
        margin-bottom: 7.4rem;
        @media screen and (max-width: 767px) {
            font-size: 2rem;
            margin-bottom: 3rem;
        }
    }
}

.edit-area.article {
    @media screen and (max-width: 767px) {
    }
}

table {
    border-top: #eaeef0 1px solid;
    border-right: #eaeef0 1px solid;
    & tr {
        & td {
            background-color: #fff;
            font-style: normal;
            font-weight: 400;
            font-size: 1.8rem;
            line-height: 200%;
            letter-spacing: 0.06em;
            color: #000000;
            padding: 2.4rem;
            border-bottom: #eaeef0 1px solid;
            @media screen and (max-width: 767px) {
                padding: 2rem;
                font-size: 1.4rem;
                line-height: 1.5;
            }
        }
        & td:first-child {
            font-weight: bold;
            background-color: #eaeef0;
        }
    }
}

.btn-container {
    margin-top: 9.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (max-width: 767px) {
        margin-top: 4rem;
    }
    .btn {
        width: 36.25rem;
        height: 7.3rem;
        border: 0.359rem solid #005293;
        box-shadow: 0 0.359rem 0 #005293;
        border-radius: 5.9rem;
        padding-left: 4.2rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        position: relative;
        text-decoration: none;
        @media screen and (max-width: 767px) {
            width: 27.7rem;
            height: 5.8rem;
            border-radius: 3.19rem;
            padding-left: 2rem;
            box-shadow: 0 0.27rem 0 #005293;
            border: 0.27rem solid #005293;
        }
        & span {
            font-style: normal;
            font-weight: 900;
            font-size: 2rem;
            line-height: 1;
            letter-spacing: 0.08em;
            color: #005293;
            @media screen and (max-width: 767px) {
                font-size: 1.6rem;
            }
        }
        & img {
            width: 1.6rem;
            vertical-align: top;
            right: 2.5rem;
            top: 50%;
            transform: translateY(-50%);
            position: absolute;
            @media screen and (max-width: 767px) {
                width: 1.4rem;
                right: 2.34rem;
            }
        }
        &:before {
            content: "";
            position: absolute;
            right: 5.8rem;
            top: 50%;
            transform: translateY(-50%);
            width: 0.2rem;
            height: 5.6rem;
            background-color: #005293;
            @media screen and (max-width: 767px) {
                width: 0.1rem;
                height: 3rem;
                right: 4.787rem;
            }
        }
    }
}

/* edit css */
/* h2 */
.article-area {
    & h2 {
        margin-bottom: 4.2rem;
        font-style: normal;
        font-weight: 800;
        font-size: 3.6rem;
        line-height: 140%;
        color: #005293;
        @media screen and (max-width: 767px) {
            margin-bottom: 2rem;
            font-size: 2rem;
            letter-spacing: 0.05em;
        }
    }

    /* h3 */
    & h3 {
        font-style: normal;
        font-weight: 700;
        font-size: 2.6rem;
        line-height: 140%;
        color: #000000;
        padding-bottom: 2.4rem;
        border-bottom: 1px solid #a2a2a2;
        margin-bottom: 5.2rem;
        @media screen and (max-width: 767px) {
            padding-bottom: 2rem;
            margin-bottom: 3rem;
            font-size: 1.8rem;
            line-height: 160%;
        }
    }
    /* h4 */
    & h4 {
        margin-bottom: 1rem;
        font-size: 1.8rem;
        letter-spacing: 0.1em;
        line-height: 160%;
        @media screen and (max-width: 767px) {
            margin-bottom: 0.5rem;
        }
    }
    /* h5 */
    & h5 {
        position: relative;
        margin-bottom: 1rem;
        padding-left: 1.8rem;
        font-weight: bold;
        @media screen and (max-width: 767px) {
            margin-bottom: 0.5rem;
        }
    }
    & h5:after {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 1.4rem;
        height: 1.4rem;
        background: #d20000;
    }
    /* h6 */
    & h6 {
        margin-bottom: 1rem;
        font-weight: bold;
        @media screen and (max-width: 767px) {
            margin-bottom: 0.5rem;
        }
    }
    /* p */
    & p {
        font-style: normal;
        font-weight: 400;
        font-size: 1.8rem;
        line-height: 170%;
        letter-spacing: 0.06em;
        color: #000000;
        margin-bottom: 4.4rem;
        @media screen and (max-width: 767px) {
            margin-bottom: 3rem;
            line-height: 160%;
            font-size: 1.4rem;
        }
    }
    /* ul */
    & ul {
        margin-bottom: 2rem;
        & li {
            position: relative;
            padding-left: 1rem;
            font-weight: bold;
            line-height: 2;
            &:after {
                content: "";
                position: absolute;
                left: 0;
                top: 1.3rem;
                display: block;
                width: 0.6rem;
                height: 0.6rem;
                border-radius: 0.3rem;
                background: #005293;
            }
        }
    }
    /* ol */
    & ol {
        margin-bottom: 2rem;
        counter-reset: number 0;
        & li {
            position: relative;
            padding-left: 2rem;
            line-height: 2;
            font-weight: bold;
            counter-increment: number 1;
            &:after {
                content: counter(number) ".";
                position: absolute;
                left: 0;
                top: 0.4rem;
                display: block;
                color: #005293;
                font-size: 1.8rem;
                line-height: 100%;
                letter-spacing: 0.06em;
            }
        }
    }
    /* img float */
    & img.alignleft {
        float: left;
        margin: 0.8rem 1rem 1rem 0;
        @media screen and (max-width: 767px) {
            float: none;
            display: block;
            margin: 0 auto 1rem;
        }
    }
    & img.aligncenter {
        display: block;
        margin: 0 auto 2rem;
    }
    & img.alignright {
        float: right;
        margin: 0.8rem 0 1rem 1rem;
    }
    @media screen and (max-width: 767px) {
        & img.alignright {
            float: none;
            display: block;
            margin: 0 auto 1rem;
        }
    }
    & img {
        vertical-align: top;
        max-width: 100%;
        height: auto;
    }
    /* blockquote */
    & blockquote {
        position: relative;
        margin: 0 0 3rem 3rem;
        padding-left: 6rem;
        font-size: 1.4rem;
        line-height: 180%;
        @media screen and (max-width: 767px) {
            margin: 0 0 1.5rem 0;
            padding-left: 4rem;
            line-height: 160%;
        }
        &:after,
        &:before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            display: block;
        }
        &:after {
            top: 0.5rem;
            width: 0.2rem;
            height: 5rem;
            background: #ccc;
        }
        &:before {
            content: "“";
            position: absolute;
            left: 1rem;
            top: -0.5rem;
            color: #ccc;
            font-size: 6rem;
            line-height: 100%;
        }
    }
}

a {
    font-style: normal;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 3.3rem;
    letter-spacing: 0.06em;
    /* text-decoration-line: underline; */
    color: #005293;
    @media screen and (max-width: 767px) {
        font-size: 1.4rem;
        line-height: 2.6rem;
    }
}

a[target="_blank"] {
    padding-right: 2.8rem;
    position: relative;
    gap: 1rem;
    display: inline-block;
    & span {
        display: inline-block;
        &:after {
            content: "";
            position: relative;
            display: inline-block;
            width: 2rem;
            height: 1.6rem;
            background: url("../../common/img/general/external.png") no-repeat center / 100% auto;
            @media screen and (max-width: 767px) {
                width: 1.6rem;
            }
        }
    }
}

ol,
ul {
    li {
        font-style: normal;
        font-weight: 400;
        font-size: 1.8rem;
        line-height: 170%;
        letter-spacing: 0.06em;
        color: #000000;
        @media screen and (max-width: 767px) {
            font-size: 1.4rem;
        }
    }
}
