.forgot.other_page .ec-layoutRole .ec-layoutRole__contents {
    margin: 0;
}
.forgot .ec_forgotSec {
    background: #f3f4f4;
    padding: 30px 0;
}
.forgot .ec_forgotBox {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    border: 2px solid #ededed;
    background: #fff;
    border-radius: 10px;
}
.forgot .ecForgot_ttl {
    font-size: 24px;
    text-align: center;
    color: #3f3f3f;
    padding: 50px 0 15px;
    border-bottom: 2px solid #eee;
    margin: 0 30px;
    font-weight: bold
}
.forgot .ecForgot_maintext {
    text-align: center;
    padding: 30px 0;
    color: #3f3f3f;
    font-size: 16px;
    line-height: 1.3;
}
.forgot .ecForgot_maintext span {
    color: #d80000;
}
.forgot .ecForgot_register {
    width: 100%;
    max-width: 472px;
    margin: 0 auto;
    text-align: center;
}
.forgot .ecForgot_register label {
    color: #3f3f3f;
    font-size: 18px;
}
.forgot .ecForgot_register span {
    color: #b93052;
    font-size: 16px;
    font-weight: bold;
}
.forgot .ec_forgotinput input {
    background: #f7f7f7;
    border: 2px solid #dddddd;
    padding: 22px 15px;
    font-size: 18px;
    margin: 5px 0 12px 0;
    border-radius: 7px;
    text-align: center;
}
.forgot .forgot_agreeBox {
    background: #f9f9f9;
    padding: 30px 40px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin: 35px 0 0;
}
.forgot .forgot_submitsec {
    display: flex;
    justify-content: space-between;
}
.forgot .forgot_backBtn {
    width: 100%;
    max-width: 110px;
    background: #eeeeee;
    align-items: center;
    display: flex;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 18px;
    color: #404040;
    font-weight: bold;
}
.forgot .ec-blockBtn--cancel {
    background: #107667;
    height: auto;
    font-size: 18px;
    max-width: 455px;
    border-radius: 5px;
    line-height: 3;
    border: none;
}
.forgot .ec-blockBtn--cancel:hover {
    opacity: 0.7;
}
.forgot .forgot_submitsec span {
    width: 144px;
}
.forgot .forgot_mailtext {
    color: #3f3f3f;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    padding: 15px 0 0;
    line-height: 1.3;
}
.forgot .forgot_mailtext a {
    color: #003f7f;   
    text-decoration: underline;
}
.forgot .ecForgot_complete {
    padding: 50px 0 100px;
}
.forgot .forgot_completeText {
    color: #3f3f3f;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.7;
    text-align: center;
}
.forgot .ec_forgottop {
    background: #404040;
    margin: 25px auto 0;
    height: auto;
    font-size: 18px;
    max-width: 455px;
    border-radius: 5px;
    line-height: 3;
    border: none;
}
@media (max-width: 767px) {
    .forgot .ec_forgotBox {
        max-width: 90%;
    }
    .forgot .ecForgot_ttl {
        font-size: 18px;
        margin: 0;
    }
    .forgot .ecForgot_maintext {
        padding: 20px;
        font-size: 13px;
    }
    .forgot .ecForgot_register {
        max-width: 90%;
    }
    .forgot .ecForgot_register label,
    .forgot .ecForgot_register span {
        font-size: 15px;
    }
    .forgot .forgot_agreeBox {
        padding: 20px 15px;
    }
    .forgot .forgot_submitsec span {
        display: none;
    }
    .forgot .forgot_backBtn {
        max-width: 75px;
        font-size: 16px;
    }
    .forgot .ec-blockBtn--cancel {
        font-size: 16px;
        max-width: 70%;
        line-height: 2.5;
    }
    .forgot .forgot_mailtext {
        font-size: 14px;
    }
    .forgot .forgot_completeText {
        font-size: 14px;
        padding: 0 20px;
    }
    .forgot .ec_forgottop {
        width: 80%;
    }
}