#self_check {
    margin-bottom: 6vw;
    border-radius: 12px;

    font-size: 3.6vw;

}

#self_check .self_check_wrapper {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

#self_check .self_check_track {
    display: flex;
    width: 100%;
    align-items: flex-start;
    transform: translateX(0);
    transition: transform 260ms ease;
    will-change: transform, height;
}

#self_check .self_check_card {
    flex: 0 0 100%;
    box-sizing: border-box;
    overflow: hidden;
    background-image: url("../assets/img/self-check/bg_img_self.webp");
    background-size: cover;
    background-position: center 50px;
    background-repeat: no-repeat;
}

#self_check .self_check_card.pc-view {
    background-image: url("../assets/img/self-check/pc/bg_img_self.webp");
    background-position: center 100px;
}

#self_check .card_header {
    margin-bottom:2rem;
    font-weight: 700;
    line-height: 1.35;
    position: relative;
}

#self_check .card_header.pc-view {
    position: static;
}

#self_check .step_badge {
    text-align: center;
    position: absolute;
    right: 26px;
    top: 19px;
    font-size: 12px;
    font-weight: 800;
    padding: 2px;
    transform: rotate(12deg);
}

#self_check .step_badge .num_green {
    font-size: 14px;
    color: #059804;
}

.card_body_form {
    font-weight: bold;
    background-color: #fff;
    padding-bottom: 12px;
    border-radius: 0 0 12px 12px;
}

.card_body_form.pc-view {
    border:3px solid #ccc;
    padding-top:10px;
}

.card_body_form .label_case:not(:last-child) {
    border-bottom: dotted 2px #cdcdcd;
}

#self_check .txt_green {
    color: #059804;
    line-height: 1.5;
}

#self_check .card_body {
    padding: 0 16px 16px;
}

#self_check .choice {
    display: flex;
    gap: 10px;
    font-size: 20px;
    align-items: center;
    padding: 10px 8px;
    border-radius: 10px;
    cursor: pointer;
    line-height:1.5;
}

@media screen and (max-width: 767px) {
    #self_check .choice img {
        height: 50px !important;
        width: auto;
        max-width: 62px !important;
    }
}

#self_check .choice input {
    margin-top: 3px;
}

#self_check .form_error {
    margin-top: 12px;
    color: #c0392b;
    font-size: 14px;
    min-height: 1.2em;
}

#self_check .card_footer {
    padding: 12px 16px;
}

#self_check .btn_area {
    display: flex;
    position: relative;
    gap: 10px;
    justify-content: space-around;
}

#self_check .btn_area.pc-view   {
    justify-content:space-between;
    margin-top:0;
}

#self_check .btn_area .countup{
    position: absolute;
    top: -19vw;
    right: 12vw;
    width: 25vw;
}

#self_check .btn_area .countup.pc-view   {
    top: -2.5vw;
    right: 100px;
    width: 90px;
}
#self_check .btn_area .count{
    position: absolute;
    top: -55px;
    right: 85px;
    font-size: 8vw;
    font-weight: bold;
    color: #0181fe;
}

@media screen and (max-width: 767px) {
    #self_check .btn_area .count{
        top: -14.5vw;
        right: 22vw;
    }
}


#self_check .btn_area .count.pc-view {
    top: -18px;
    right: 135px;
    font-size: 30px;
}

#self_check .btn {
    appearance: none;
    padding: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#self_check .btn.pc-view {
    background-color: transparent;
    border:none;

}
#self_check .result_score {
    font-weight: 700;
    margin-bottom: 8px;
}

#self_check .result_label {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
}

#self_check .result_message {
    line-height: 1.7;
}

/* checkbox自体は隠す*/
.choice input[type="checkbox"] {
    display: none;
}

.choice {
    display: flex;
    align-items: center;
    /* 文章が2行以上のとき上下中央揃え */
    cursor: pointer;
}

/* チェック画像は label に付ける：入れ子spanの影響を受けない */
.choice::before {
    content: "";
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    margin-top: 2px;
    /* ベースライン微調整 */
    background-image: url("../assets/img/self-check/check_btn_off.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.choice input[type="checkbox"]:checked+span {}

.choice:has(input[type="checkbox"]:checked)::before {
    background-image: url("../assets/img/self-check/check_btn_on.webp");
}

#self_check .self_check_card.result_wrapper {
    background-color: white;
}

footer.result_footer {
    padding: 10px 16px;
}


.result_wrapper .result_body {
    position: relative;
    border-radius: 0 0 12px 12px;
    padding: 0 16px 16px;
}

.result_wrapper .result_body .result_cta{
    position: absolute;
    bottom: 80px;
    width: 84%;
}
@media screen and (min-width: 768px) {
    .result_wrapper .result_body .result_cta{
        position: static;
        bottom: 0;
        width: 84%;
        margin-left: 8%;
    }
    .result_wrapper .result_body .result_cta p{
        font-size: 30px;
    }
}
.result_wrapper .result_body .result_links{
    position: absolute;
    bottom: 14vw;
    font-size: 12px;
    right: 10vw;
}

.result_wrapper .result_header {
    text-align: center;
    margin-bottom: 10vw;
}
@media screen and (min-width: 768px) {
    .result_wrapper .result_header {
        text-align: center;
        margin-bottom: 0;
    }
}


div#selftop {
    position: fixed;
    bottom: 90px !important;
    width: 30%;
    left: 10px;
    z-index: 9999;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition:
            transform 240ms ease,
            opacity 180ms ease,
            visibility 0s linear 0s;
    will-change: transform, opacity;
}

/* スクロール中は画面外へ退避 */
div#selftop.is-scrolling {
    /*
    opacity: 0;
    visibility: hidden;
    */

    pointer-events: none;
    transform: translate3d(0, 120%, 0);
}

div#selftop img {
    opacity: 1;
}

.btn_control_surface {
    width: 100%;
    position: relative;
}

.btn_control_surface img.closeUI {
    position: absolute;
    left: -10px;
    top: -10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

@media screen and (min-width: 768px) {
    #self_check {
        width: 1000px;
        margin: 30px calc((100vw - 1000px) / 2);
        border-radius: 0;
    }

    #self_check .self_check_wrapper {
        max-width: 1000px;
    }

    #self_check .card_header {
        text-align: center;
    }

    #self_check .card_body {
        position: relative;
        margin-top: 20px;
    }

    picture.ttl_question {
        margin: auto;
        display: block;
        text-align: center;
        margin-bottom: -40px;
    }

    .card_body_form {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0;
        border-radius: 12px;
        padding-top: 40px;
    }

    .card_body_form .label_case {
        border-bottom: none;
        min-width: 0;
    }

    .card_body_form .label_case {
        border-right: dotted 2px #059804;
    }

    .card_body_form .label_case:not(:last-child) {
        border-bottom: none;
    }

    .card_body_form .label_case:nth-child(5n),
    .card_body_form .label_case:last-child {
        border: none;
    }

    .card_body_form .choice {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 12px 10px;
        min-width: 0;
    }

    .card_body_form .choice_img {
        width: 100%;
    }

    .card_body_form .choice_img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .card_body_form .choice>span {
        width: 100%;
        text-align: left;
        line-height: 1.4;
        font-size: 16px;
    }

    .sp-only {
        display: none;
    }

    .img_arrow {
        text-align: center;
    }

    .first_one {
        display: none;
    }

    #self_check .step_badge {
        right: 251px;
        top: 39px;
        font-size: 12px;
        transform: rotate(12deg);
    }
/*
    div#selftop {
        position: fixed;
        bottom: 104px !important;
        width: 320px;
        right: 85px;
        left:auto;
        }
    .btn_control_surface {
        width:320px;
    }
    .btn_control_surface img.closeUI {
        right: -15px;
        top: -15px;
        width: 36px;
        height: 36px;
    }
    #container #page-top.pt-active {
        bottom: 105px !important;
    }
    */

    @media screen and (min-width: 768px) {
        div#selftop {
            position: fixed;
            bottom: 104px !important;
            width: 320px;
            right: 85px;
            left: auto;
        }

        /* PCは右下配置なので、右下方向に逃がす */
        div#selftop.is-scrolling {
            transform: translate3d(80%, 0, 0);
        }

        .btn_control_surface {
            width: 320px;
        }

        .btn_control_surface img.closeUI {
            left: -15px;
            top: -15px;
            width: 36px;
            height: 36px;
        }

        #container #page-top.pt-active {
            bottom: 105px !important;
        }
    }
}

@media screen and (max-width: 767px) {
    #container #page-top.pt-active {
        display: none;
    }

    div#selftop {
        position: fixed;
        bottom: 90px !important;
        width: 50% !important;
        right: 10px !important;
        left: auto !important;
        z-index: 9999;
    }

    /* SPも右下配置なので右下方向へ */
    div#selftop.is-scrolling {
        transform: translate3d(80%, 0, 0);
    }
}

.nextbtnwrap.pc-view{
    text-align: center;
}

.lp_cta02_small.result_cta.pc-view{

}
.lp_cta02_small.result_cta.pc-view .cta_box{
    position:relative;
}
.cta_box .tell {
    position: absolute;
    font-family: Roboto, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    top: -10px;
    right: 32px;
    bottom: 0;
    z-index: 9999;
    font-size: 57px;
}