:root {
    --color-theme-1: #0d64c6;
    --color-theme-2: #eaedf6;
    --color-white: #ffffff;
    /*
    --color-theme-2: #2681c4;
    --color-theme-3: #1d6be2;
    --color-theme-4: #0542a0;
    --color-red-1: #dc3232;
    --color-gray-1: #b7b8bd;
    */
    --margin-common-x-small: 4vw;
}

html {
    /* font-size: 16px; */
    font-size: 4vw;
}

* {
    margin: 0;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: rgba(0, 0, 0, 0);
    border-radius: 0;
    color: inherit;
    font: inherit;
    margin: 0;
    padding: 0;
    text-align: inherit;
    text-transform: inherit;
    vertical-align: middle;
}

.pc {
    display: none;
}

.sp {
    display: block;
}

.wrapper {
    overflow: hidden;
}

.container {
    min-height: 100vh;
}

.chat {
    background-color:  #fff;
    border-radius: 1rem;
    padding: 0.5rem;
    /* max-width: 640px; */
    margin: 0 auto;

}

.error {
    margin: 0.5rem 0;
    border: 2px solid #de1802;
    color: #de1802;
    background-color: #f3a9a1;
    padding: 1rem;
    border-radius: 0.25rem;
}
.error span {
    font-weight: 700;
}

.sec_intro {
    background-color: var(--color-theme-1);
    position: relative;
}
.sec_intro .sec_hdg {
    position: relative;
    top: -11vw;
    padding: 0 0.75rem;
}
.sec_intro .sec_ttl {
    position: relative;
    top: -5vw;
    width: 66.7%;
    margin: 0 auto;
}

.sec_fvcta {
    margin-top: -1rem;
    background-color: var(--color-theme-1);
    position: relative;
    padding-bottom: 1rem;
}
.sec_fvcta .sec_ttl {
    padding-left: 0.5rem;
    padding-bottom: 0.5rem;
}
.sec_fvcta .sec_intro {
    padding-top: 0.5rem;
    padding-bottom: 0.25rem;
    width: 82.5%;
    margin: 0 auto;
}
.sec_fvcta .sec_btn {
    padding: 0.5rem;
    width: 90%;
    margin: 0 auto 0.5rem auto;
}
.sec_fvcta .sec_txt {
    padding: 0.5rem 1rem;
    margin: 0 auto;
}

.sec_sml {
    background-color: var(--color-theme-1);
    padding: 0 0.75rem 1.5rem 0.75rem;
    margin-top: -0.1rem;
}
.sec_sml .chat_wrapper {
    background-color: var(--color-white);
    padding: 0.25rem;
    border-radius: 0.75rem;
}

.sec_comp {
    position: relative;
    margin-bottom: -0.1rem;
}
.sec_comp .sec_conn {
    position: absolute;
    top: -9.5vw;
    width: 100vw;
    text-align: center;
}
.sec_comp .sec_conn img {
    width: 13vw;
}

/* CTA */
.cta {
    background-color: var(--color-theme-1);
    padding: 1.5rem 0.75rem;
}
.cta .cta_ttl {
    margin-bottom: 0.75rem;
}
.cta .cta_content {
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: 0.75rem;
}
.cta .cta_content .cta_txt {
    margin-bottom: 0.6rem;
    text-align: center;
}
.cta .cta_content .cta_3 {
    margin-bottom: 0.5rem;
    text-align: center;
}
.cta .cta_content .cta_btn_ttl {
    width: 100%;
    text-align: center;
}
.cta .cta_content .cta_btn_ttl img {
    width: 72%;
}
.cta .cta_btn {
    text-align: center;
}

/* Example */
.sec_example {
    background-color: var(--color-theme-2);
    padding: 0.75rem;
}
.sec_example .sec_ttl {
    width: 100%;
    text-align: right;
    padding: 0.5rem;
}
.sec_example .sec_ttl img {
    width: 86%;
}

.example_list .example_s_unit {
    margin-bottom: 1em;
}
.example_list .example_unit {
    background-image: url(img/sp/sec_ex_01_frame@2x.webp);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0.75rem 1rem;
    width: 100%;
    aspect-ratio: .6563;
    margin-bottom: 1.5rem;
}
.example_list .example_unit.long {
    background-image: url(img/sp/sec_ex_03_frame@2x.webp);
}
.example_list .example_unit .example_unit_ttl {
    margin-top: -0.6rem;
    width: 100%;
    text-align: center;
    margin-bottom: 0.1rem;
}
.example_list .example_unit .example_unit_ttl img {
    width: 59%;
}
.example_list .example_unit .example_unit_imgs {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    margin-bottom: 0.75rem;
}
.example_list .example_unit .example_unit_imgs .example_unit_imgs_left {
    width: 27%;
    padding: 0 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.example_list .example_unit .example_unit_imgs .example_unit_imgs_left .img {
    padding: 0 0.5rem 0.25rem 0.5rem;
}
.example_list .example_unit .example_unit_imgs .example_unit_imgs_left .name {
    font-size: 0.875rem;
    text-align: center;
}
.example_list .example_unit .example_unit_imgs .example_unit_imgs_right {
    width: 73%;
    padding: 0 0.75rem;
}
.example_list .example_unit .example_unit_imgs .example_unit_imgs_right .num {
    width: 58%;
    margin-bottom: 0.5rem;

}
.example_list .example_unit .example_unit_content .example_unit_content_hdg {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}
.example_list .example_unit .example_unit_content .example_unit_content_hdg img {
    width: 100%;
}
.example_list .example_unit .example_unit_content .example_unit_content_txt {
    padding: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.5rem;
}

.sec_qa {
    background-image: repeating-linear-gradient(
            to bottom,
            /* 横線 */ transparent 15px,
            #e6e6e6 16px,
            #e6e6e6 16px,
            transparent 17px,
            transparent 31px,
            #e6e6e6 32px,
            #e6e6e6 32px,
            transparent 33px,
            transparent 47px,
            #e6e6e6 48px,
            #e6e6e6 48px,
            transparent 49px,
            transparent 63px,
            #e6e6e6 64px,
            #e6e6e6 64px,
            transparent 65px,
            transparent 79px,
            #e6e6e6 80px,
            #e6e6e6 80px
        ),
        repeating-linear-gradient(
            to right,
            /* 縦線 */ transparent 15px,
            #e6e6e6 16px,
            #e6e6e6 16px,
            transparent 17px,
            transparent 31px,
            #e6e6e6 32px,
            #e6e6e6 32px,
            transparent 33px,
            transparent 47px,
            #e6e6e6 48px,
            #e6e6e6 48px,
            transparent 49px,
            transparent 63px,
            #e6e6e6 64px,
            #e6e6e6 64px,
            transparent 65px,
            transparent 79px,
            #e6e6e6 80px,
            #e6e6e6 80px
        );
    position: relative;
    padding: 1.5rem 0.75rem;
}

.sec_qa .sec_ttl {
    width: 100%;
    padding: 0.5rem;
    text-align: center;
    position: relative;
}
.sec_qa .sec_ttl img {
    width: 60%;
}
.sec_qa .sec_person {
    position: absolute;
    left: 5vw;
    top: 8.5vw;
    width: 17.5vw;
    height: 22.5vw;
    overflow: hidden;
}
.qa-list {
    margin-top: -0.9rem;
    position: relative;
    z-index: 2;
}

.qa-list dl {
    border: 2px solid var(--color-theme-1);
    background-color: var(--color-white);
    border-radius: 2.5vw;
    padding: calc(var(--margin-common-x-small));
    margin: calc(var(--margin-common-x-small) * 1.5) 0;
}

.qa-list dl dd {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* gap: calc(var(--margin-common-x-small) / 2); */
}

.qa-list dl dt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-theme-4);
    cursor: pointer;
}

.qa-list dl dt .title-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    color: var(--color-theme-1);
}

.qa-list dl dt:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    text-align: right;
    width: 1.2em;
    height: 1.2em;
    background-image: url(img/pc/sec_faq_btn_open@2x.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.qa-list dl.active dt:after {
    background-image: url(img/pc/sec_faq_btn_close@2x.webp);
}

.qa-list dl dd {
    display: none;
}

.qa-list dl dt .icon, .qa-list dl dd .icon {
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.qa-list dl dt .icon img, .qa-list dl dd .icon img {
    width: calc(var(--margin-common-x-small) * 1.5);
}

.qa-list dl dt .content, .qa-list dl dd .content {
    font-size: 0.8rem;
}

.qa-list dl dt .content {
    width: 75%;
    font-weight: 600;
}

/* .qa-list dl dd .content {
    width: 85%;
} */

.qa-list dl.active dd {
    border-top: 1px dashed var(--color-theme-1);
    margin-top: calc(var(--margin-common-x-small) * 1);
    padding-top: calc(var(--margin-common-x-small) * 0.5);
}

.qa-list dl.active dd .content-inner {
    display: flex;
    width: 100%;
}
.qa-list dl.active dd .content-inner .content {
    width: 100%;
}

.footer {
    background-color: var(--color-theme-1);
    color: var(--color-white);
}

.footer .footer_contents {
    padding: 1rem 0 0.5rem 0;
    width: 66.7%;
    margin: auto;
    font-size: 75%;
}
.footer .footer_contents ul{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer .footer_contents ul li a{
    color: #fff;
    text-decoration: none;
}
.footer .footer_contents ul li a:hover{
    text-decoration: underline;
}

.footer .footer_cr {
    text-align: center;
    padding: 0.5rem;
    font-size: 0.8rem;
}

/* sp to tab to pc */
@media (min-width: 768px) {
    html {
        font-size: 2.5vw;
    }
    .sp {
        display: none;
    }
    .pc {
        display: block;
    }
    span.pc {
        display: inline;
    }
    .container {
        /* padding: 1rem; */
    }
    .chat {
        padding: 1rem;
    }

    .wrapper {
        box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.15);
        max-width: 1080px;
        margin: 0 auto;
    }

    .sec_intro .sec_hdg {
        top: -2.5rem;
        text-align: center;
    }
    .sec_intro .sec_hdg img {
        width: 87.5%;
    }
    .sec_intro .sec_ttl {
        top: -1rem;
        width: 62.5%;
    }

    .sec_fvcta {
    }
    .sec_fvcta .sec_ttl {
        width: 89%;
        margin: 0 auto 0 1rem;
    }
    .sec_fvcta .sec_intro {
        width: 60%;
    }
    .sec_fvcta .sec_btn {
        width: 66.7%;
    }
    .sec_fvcta .sec_txt {
        width: 80%;
        padding: 0.25rem 1rem;
    }

    .sec_sml {
        padding: 0 6rem 2rem;
    }

    .sec_comp .sec_conn {
        top: -2.75rem;
        width: 1080px;
    }
    .sec_comp .sec_conn img {
        width: 4rem;
    }

    .sec_example {
        padding: 0.75rem 3rem;
    }
    .sec_example .sec_ttl {
        /* TODO: 修正 */
    }

    .example_list .example_unit {
        background-image: url(img/pc/sec_ex_01_frame@2x.webp);
        aspect-ratio: 1.32;
    }
    .example_list .example_unit .example_unit_ttl {
        margin-bottom: 0.5rem;
    }
    .example_list .example_unit .example_unit_ttl img {
        width: 47.5%;
    }
    .example_list .example_unit.long {
        background-image: url(img/pc/sec_ex_03_frame@2x.webp);
        aspect-ratio: 1.0551;
    }
    .example_list .example_unit .example_unit_imgs {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .example_list .example_unit .example_unit_imgs .example_unit_imgs_left {
        padding-top: 1rem;
    }
    .example_list .example_unit .example_unit_imgs .example_unit_imgs_right {
        width: 70%;
    }
    .example_list .example_unit .example_unit_imgs .example_unit_imgs_right .num {
        margin-bottom: 2rem;
    }
    .example_list .example_unit .example_unit_imgs .example_unit_imgs_right .num.low-p {
        margin-bottom: 0.75rem;
    }
    .example_list .example_unit .example_unit_imgs .example_unit_imgs_right .graph {
        margin-top: 0.75rem;
    }
    .example_list .example_unit .example_unit_imgs .example_unit_imgs_left .name {
        font-size: 0.65rem;
        font-weight: 500;
    }
    .example_list .example_unit .example_unit_content .example_unit_content_txt {
        padding: 0.25rem 1.5rem;
        font-size: 0.725rem;
        line-height: 1.3rem;
    }

    .cta {
        padding: 1.5rem 3rem;
    }
    .cta .cta_ttl {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .cta .cta_content .cta_txt img {
        width: 97.5%;
    }
    .cta .cta_content .cta_3 img {
        width: 65%;
    }
    .cta .cta_content .cta_btn_ttl img {
        width: 65%;
    }
    .cta .cta_btn img {
        width: 80%;
    }
    .sec_qa {
        padding: 1.5rem 3rem 1rem;
    }
    .sec_qa .sec_ttl img {
        width: 50%;
    }
    .sec_qa .sec_person {
        left: 5.75rem;
        top: 1.8rem;
        width: 6rem;
        height: 8rem;
    }
    .qa-list dl {
        border: 5px solid var(--color-theme-1);
    }
    .qa-list dl.active dd {
        border-top: 2px dashed var(--color-theme-1);
        margin-top: calc(var(--margin-common-x-small) * 0.75);
        padding-top: calc(var(--margin-common-x-small) * 0.5);
    }
    .qa-list dl dt .icon, .qa-list dl dd .icon {
        width: 11%;
    }
    .qa-list dl dt .icon img, .qa-list dl dd .icon img {
        width: calc(var(--margin-common-x-small) * 1.25);
    }
    .qa-list dl dt:after {
        width: 1.55em;
        height: 1.55em;
    }
    .qa-list dl dt .content {
        font-size: 1rem;
    }
    .footer .footer_contents {
        width: 42.5%;
    }
    .footer {
        font-weight: 600;
    }
}

@media (min-width: 1080px) {
    :root {
        --margin-common-x-small: 40px;
    }
    html {
        font-size: 28px;
    }

}