body:has(form[action="/soudan/mail.php"]) #global_menu,
body:has(form[action="/soudan/mail.php"]) .menu-pc-right,
body:has(form[action="/soudan/mail.php"]) .menu_btn,
body:has(form[action="/soudan/mail.php"]) .web_btn_pc,
body:has(form[action="/soudan/mail.php"]) .tel_btn_pc,
body:has(form[action="/soudan/mail.php"]) .soudan_btn_pc,

body:has(form[action="/form/mail.php"]) #global_menu,
body:has(form[action="/form/mail.php"]) .menu-pc-right,
body:has(form[action="/form/mail.php"]) .menu_btn,
body:has(form[action="/form/mail.php"]) .web_btn_pc,
body:has(form[action="/form/mail.php"]) .tel_btn_pc,
body:has(form[action="/form/mail.php"]) .soudan_btn_pc{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

body:has(form[action="/soudan/mail.php"]) #form ~ *,
body:has(form[action="/form/mail.php"]) #form ~ *{
    display: none;
}

form[action="/form/mail.php"]{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

form[action*="mail.php"].is-active{
    opacity: 1;
    visibility:inherit;
    pointer-events:auto;
}

form.is-sending > *[class]{
    display: none;
}

.formLoading{
    display: none;
    text-align: center;
    padding: 30px;
}

form.is-sending[class] .formLoading{
    display: block;
}

.formLoading *+*{
    margin-top: 10px;
}

.formNextStep{
    position: relative;
    text-align: center;
    width: 500px;
    margin: 45px auto 20px;
}

.formNextStep::before{
    content: "";
    display: block;
    width: 12px;
    height: 20px;
    background: url(/form/img/icon_cta_arrow.png) no-repeat center / 100%;
    position: absolute;
    right: 10px;
    top: 30px;
}

.formNextStep > *{
    display: block;
    background: linear-gradient(to bottom, #f68094 0%, #e4566f 100%);
    color: #fff;
    font-size: 19px;
    font-weight: bold;
    line-height: 80px;
    text-align: center;
    letter-spacing: 1px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 0 #a0a0a0;
}

.formNextStep:hover{
    cursor: pointer;
    opacity: 0.7;
}

.formNextStep:has([data-click-time="1"]),
.formBackStep{
    text-align: center;
    margin-bottom: 70px;
}


.formBackStep>*{
    font-size: 16px;
    text-decoration: underline;
}

.formBackStep>*:hover{
    cursor: pointer;
    text-decoration: none;
}

.formStepFlowLabel{
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.formStepFlowList{
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.formStepFlowList li{
    border-radius: 50%;
    border: 1px solid #ccc;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    height: 30px;
    width: 30px;
}

.formStepFlowList li.is-active{
    color: #fff;
    background-color: #0491A2;
    border-color: #0491A2;
}


.formNextStep+.formNextStep,
.formError+.formError,
.formNextStep:has([data-click-time="3"]),
.formNextStep:has([data-click-time="1"]) ~ .formBackStep,
body:has(form[action="/form/mail.php"]) .form_wrap .step,
.formNextStep ~ .btn_submit,
.form_area .form_wrap .formDetail.is-hidden{
    display: none;
}

.formNextStep:has([data-click-time="3"]) ~ .formNextStep{
    display: block;
    margin-bottom: 20px;
}

.formError{
    display: none;
    margin-top: 5px;
}

.formError>*{
    display: inline-block;
    background-color: #ffcbcb;
    font-size: 12px;
    color: #dc0000;
    line-height: 1.5;
    padding-left: 2px;
    padding-right: 2px;
}

.formTable td:has(.is-error) .formError{
    display: block;
}

@media screen and (max-width:767px){
    .formNextStep{
        width: 81.1vw;
        margin-left: auto;
        margin-right: auto;
    }

    .formNextStep::before{
        width: 2.1vw;
        height: 3.3vw;
        right: 2.5vw;
        top: 5.3vw;
    }

    .formNextStep>*{
        font-size: 4.3vw;
        line-height: 14vw;
        text-align: center;
        letter-spacing: 1px;

        border-radius: 1.3vw;
        box-shadow: 0 0.5vw 0 #a0a0a0;
    }
}