:root {
    --main-color: #51869B;
}

@media (min-width: 769px) {
    .is-sp {
        display: none;
    }
}

@media (max-width: 768px) {
    .is-pc {
        display: none;
    }
}

.p-page p:not(:last-child) {
    margin-bottom: 1.5em;
}

.p-text--sub {
    font-size: 0.9em;
}

.p-indent1 {
    display     : inline-block;
    padding-left: 1em;
    text-indent : -1em;
}

/* margin-top */
.mt_10 {
    margin-top: 10px !important;
}

.mt_20 {
    margin-top: 20px !important;
}

.mt_30 {
    margin-top: 30px !important;
}

.mt_40 {
    margin-top: 40px !important;
}

.mt_50 {
    margin-top: 50px !important;
}

.mt_60 {
    margin-top: 60px !important;

    @media screen and (max-width: 768px) {
        margin-top: 30px !important;
    }
}

.mt_90 {
    margin-top: 90px !important;

    @media screen and (max-width: 768px) {
        margin-top: 45px !important;
    }
}

/* margin-bottom */
.mb_10 {
    margin-bottom: 10px !important;
}

.mb_20 {
    margin-bottom: 20px !important;
}

.mb_30 {
    margin-bottom: 30px !important;
}

.mb_40 {
    margin-bottom: 40px !important;
}

.mb_50 {
    margin-bottom: 50px !important;
}

.mb_60 {
    margin-bottom: 60px !important;

    @media screen and (max-width: 768px) {
        margin-bottom: 30px !important;
    }
}

.p-right {
    width      : fit-content;
    margin-left: auto;

    @media screen and (max-width: 768px) {
        margin-inline: auto;
    }
}

.p-left {
    width       : fit-content;
    margin-right: auto;

    @media screen and (max-width: 768px) {
        margin-inline: auto;
    }
}

.p-subject__buttons {
    display       : flex;
    flex-direction: column;
    gap           : 1em;
    align-items   : flex-end;
    margin-top    : min(3em, 10cqw);

    @media (max-width: 525px) {
        align-items: center;
    }
}

/* CTAボックス */
.p-ctabox {
    width           : 100%;
    margin-inline   : auto;
    border          : 2px solid var(--main-color);
    background-color: #E5EDF0;
    padding         : 2rem 2rem 3rem;
    margin-top      : 3rem;
    text-align      : center;

    @media screen and (max-width: 768px) {
        width     : 100%;
        box-sizing: border-box;
    }
}

.p-ctabox__title {
    font-size    : 22px !important;
    font-weight  : bold;
    margin-bottom: 2rem;
    text-align   : center;

    @media screen and (max-width: 768px) {
        font-size: 5.5vw !important;
    }
}

.p-ctabox__buttons {
    display        : flex;
    flex-direction : row;
    justify-content: center;
    gap            : 2rem;

    @media screen and (max-width: 768px) {
        flex-direction: column;
        gap           : 1rem;
    }
}

.p-text-link {
    color          : var(--main-color);
    text-decoration: underline;
}

/* FAQボックス */
.p-answer {
    padding   : 2rem;
    background: #E5EDF0;
}

.p-answer:not(:last-child) {
    margin-bottom: 2rem;
}

.p-answer__head {
    font-size    : 1.35em;
    font-weight  : 600;
    line-height  : 1.45;
    margin-bottom: 0.8em;

    @media (max-width: 767px) {
        font-size: 1.15em;
    }
}

.p-answer__text:not(:last-child) {
    margin-bottom: 0.8em;
}

.p-answer__box {
    background-color: rgb(255, 255, 255);
    padding         : 30px;
    margin-top      : 1.2em;
}

.p-answer__box ul {
    list-style : disc;
    margin-left: 1em;
}

.p-answer__box ul li:not(:last-child) {
    margin-bottom: 0.8em;
}

.p-answer__text--answer {
    font-size    : 1.1em;
    margin-bottom: 0.4em;
    display      : inline-block;
}

/* 同意書DLボタン */
@media screen and (max-width: 768px) {
    .p-ctabox__buttons {
        align-items: center;
    }

    .p-ctabox__buttons .c-button01 {
        width: 100%;
        max-width: 420px;
    }

    .p-ctabox__buttons .c-button01__text {
        display: block;
        text-align: center;
        padding: 0 2.5em;
    }
}