/* 빠른 상담 ::s */
.counsel_quick_bg {
    position: relative;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: transparent;
    transition: all 0.3s ease;
}

.counsel_quick_bg.active {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
}

.counsel_quick .quick {
    position: relative;
    width: 100%;
    max-width: 55px;
    margin-top: 29vh;
}

.counsel_quick .quick .pc {
    opacity: 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 280px;
    position: relative;
    margin: 0;
    box-sizing: border-box;
    background-color: #E57545;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    cursor: pointer;
}

.counsel_quick .quick .mo {
    display: none;
}

.counsel_quick .quick .pc span {
    font-size: 16px;
    letter-spacing: -0.035em;
    font-weight: 500;
    color: #fff;
    writing-mode: vertical-rl;
}

.counsel_quick_wrapper {
    position: fixed;
    top: 0;
    right: calc(-100% + 705px);
    width: 100%;
    height: 0;
    background-color: transparent;
    z-index: 500;
}

.counsel_quick_wrapper.diet_quick_wrapper {
    display: none;
}

.counsel_quick {
    display: flex;
    bottom: 0;
    right: -650px;
    transition: all 0.6s ease;
    position: relative;
    width: 705px;
    color: #999;
    z-index: 201;
}

.counsel_quick.active {
    right: 0px;
}

#counsel_quick_wrap.basicPopupWrap {
    display: block;
    overflow-y: auto;
    width: 650px;
    height: 100vh;
    position: relative;
    top: auto;
    left: auto;
    background: #FFF;
}

.counsel_quick_inner {
    padding: 84px 50px 60px 50px;
}

.counsel_quick_txt1 {
    margin: 0;
    padding: 0 0 15px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.35px;
    transform: skew(0);
}

.counsel_quick_txt1 img {
    width: 40px;
    vertical-align: text-top;
}

.counsel_quick_txt2 {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.35px;
    line-height: 24px;
    padding: 0 0 15px;
}

.counsel_quick_txt3 {
    border-top: 1px solid #000;
}

.counsel_ul {
    padding: 0;
    margin: 0;
}

.counsel_li {
    position: relative;
}

.counsel_li .name {
    background: 8px center no-repeat;
    background-size: 16px;
}

.counsel_li .tel {
    background: 8px center no-repeat;
    background-size: 14px;
}

.counsel_li .content:focus {
    background-color: rgb(51, 51, 51);
}

.counsel_li.counsel_li_cb {
    display: flex;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.7px;
    margin: 17px 0 55px 0;
}

.counsel_li_s {
    text-align: center;
}

.counsel_li_s .submit {
    display: inline-block;
    line-height: 36px;
    padding: 20px 100px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.35px;
    text-align: center;
    background-color: #C8C8C8;
    color: #FFF;
}

.counsel_li_s .submit:hover {
    cursor: default;
}

.counsel_li_s .submit.active {
    border: 1px solid #000000;
    background-color: #FFF;
    color: #111;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    transition-duration: 0.2s;
}

.counsel_li_s .submit.active:hover {
    cursor: pointer;
}

.counsel_li_s .submit.active:active {
    box-shadow: none;
    margin-left: 3px;
    margin-top: 3px;
}

.counsel_li_cb input {
    appearance: button;
    -webkit-appearance: button;
    border: none;
    display: none;
}

.counsel_li.office {
    background-size: 22px;
}

.counsel_li_cb .form-label {
    position: relative;
    padding-left: 32px;
}

.counsel_li_cb #agree2+.form-label::before {
    display: block;
    content: '';
    width: 18px;
    height: 18px;
    position: absolute;
    top: 50%;
    left: 3px;
    border-radius: 2px;
    margin: -8px 0 0 0;
    cursor: pointer;
    line-height: 1;
    text-align: center;
    font-family: 'Sans-serif';
    background: url('/public/img/common/checkbox_1.svg') center center no-repeat;
    background-size: auto;
    background-size: cover;
}

.counsel_li_cb #agree2:checked+.form-label::before {
    background: url('/public/img/common/checkbox_2.svg') center center no-repeat;
    background-size: cover;
}

.counsel_quick_wrap_select {
    position: relative;
    line-height: 57px;
    width: 100%;
    appearance: none;
    border: none;
    border-radius: 0;
    background-color: transparent;
}

.counsel_quick_wrap_input,
.counsel_quick_wrap_select,
.counsel_quick_wrap_textarea {
    width: 100%;
    line-height: 27px;
    padding: 0 30px;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    background-color: #F2F2F2 !important;
    letter-spacing: -0.5px;
}

.counsel_quick_wrap_input,
.counsel_quick_wrap_select {
    height: 60px;
}

.counsel_quick_wrap_textarea {
    height: 150px;
    padding: 19px 30px 10px 30px;
}

.counsel_ol {
    padding: 20px 40px 25px;
    max-width: 300px;
    background-color: rgb(51, 51, 51);
    animation: fade-in 0.5s;
    animation-fill-mode: none;
    animation-fill-mode: forwards;
}

.counsel_ol.select-hide {
    display: none;
    opacity: 0;
}

.counsel_ol li {
    font-size: 15px;
    line-height: 2.4;
}

.counsel_ol li:hover {
    text-decoration: underline;
    text-underline-position: under;
}

#counsel_quick .btn-close {
    display: block;
    max-width: 59px;
    position: absolute;
    top: 30.45px;
    right: 33.46px;
    background-color: white;
}

.color_gray_a {
    color: #767676;
}

.counsel_li_text {
    display: flex;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -0.5px;
    font-weight: 500;
    margin: 20px 0 10px 0;
}

.counsel_li_text p {
    color: #CF7965;
}

.quick_m-vh {
    margin-bottom: 3.5vh;
}

.agreeChk {
    margin-right: 10px;
}

.counsel_li_cb.counsel_table {
    padding-top: 2.5vh;
}

.counsel_li.counsel_select {
    position: relative;
    z-index: 100;
}

.counsel_li textarea {
    border: none;
}

.quick_list {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    padding: 30px 0 0 0;
}

.quick_list li {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
    border-radius: 50%;
    background: #362B2C;
}

.quick_list li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

@media screen and (max-height:1020px) {
    .counsel_quick_inner {
        padding: 5vh 4.6vh 1vh 4.6vh;
    }

    .counsel_li_text {
        margin: 1.8vh 0 0.9vh 0;
    }

    .counsel_li.counsel_li_cb{
        margin: 1.5vh 0 4.6vh 0;
    }
}

@media screen and (max-height:890px) {

    .counsel_quick_wrap_input,
    .counsel_quick_wrap_select {
        height: 40px;
    }

    .counsel_quick_wrap_textarea {
        height: 100px;
        padding: 19px 30px 10px 30px;
    }
}


@media screen and (max-width:750px) {

    .pc,
    .counsel_quick .quick.pc {
        display: none;
    }

    .counsel_quick_wrapper {
        z-index: 2000;
        right: 0;
        width: 200vw;
    }

    .counsel_quick_wrapper.active{
        top: 0;
        right: 0;
        height: 100vh;
    }

    .counsel_quick {
        display: flex;
        align-items: end;
        right: -100vw;
        top: calc(100vh - 17vw - 6.4vw );
        width: calc(100vw + 100vw);
        height: 17vw;
    }

    .counsel_quick .quick {
        display: flex;
        justify-content: end;
        max-width: 100vw;
        margin-top: 0;
        padding: 0 4.3vw 6.4vw 0;
    }

    .counsel_quick .quick .quick_list {
        display: none;
        opacity: 0;
        flex-flow: row wrap;
        padding: 0 4vw;
        margin-right: 1.3vw;
        background: #FFFFFF;
        border: 0.267vw solid #F4F6F9;
        box-shadow: 0 3.2vw 4.2vw rgba(194, 194, 194, 0.15);
        border-radius: 10.6vw;
        animation: fade-out 1s;
    }

    .counsel_quick .quick.active .quick_list {
        display: flex;
        opacity: 1;
        animation: fade-in 1s;
    }

    @keyframes fade-in {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fade-out {
        from {
            opacity: 1;

        }

        to {
            opacity: 0;
        }
    }

    .quick_list li {
        width: 13.3vw;
        height: 100%;
        margin-bottom: 0;
        border-radius: 0;
        background: none;
    }

    .quick_list li a{
        flex-flow: column nowrap;
    }

    .quick_list li a .img_wrap{
        display: flex;
        justify-content: center;
        height: calc(100% - 6.6vw);
    }

    .quick_list li.menu a .img_wrap img{width: 6.4vw;}
    .quick_list li.quick_btn a .img_wrap img,
    .quick_list li.call a .img_wrap img{width: 6.1vw;}
    .quick_list li.branch a .img_wrap img,
    .quick_list li.untact a .img_wrap img{width: 5.6vw;}

    .quick_list li a .txt{
        font-weight: 500;
        font-size: 2.6vw;
        letter-spacing: -0.35px;
        color: #362B2C;
    }

    .quick_menu {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 17vw;
        height: 17vw;
        border-radius: 50%;
        border: 0.267vw solid rgba(0, 0, 0, 0.1);
        border-radius: 12.8vw;
    }

    .quick_menu.quick_rehab_menu {background: #E57545;box-shadow: 0 3.2vw 4.2vw rgba(229, 117, 69, 0.15), inset 0 1.6vw 2.2vw rgba(255, 255, 255, 0.25);}
    .quick_menu.quick_kmed_menu {background: #006C6B;box-shadow: 0 3.2vw 4.2vw rgba(0, 0, 0, 0.15); }
    .quick_menu.quick_brain_menu {background: #733FAB;box-shadow: 0px 12px 16px 0px rgba(229, 117, 69, 0.15), 0px 6px 8px 0px rgba(255, 255, 255, 0.25) inset;}

    .counsel_quick .quick.mo {
    }

    .counsel_quick .quick.mo .quick_menu img {
        width: 7.4vw;
        transform: rotate(0deg);
        transform-origin: center;
        transition: all 0.5s;
    }

    .counsel_quick .quick.mo.active .quick_menu img {
        transform: rotate(45deg);
    }

    
    #counsel_quick_wrap.basicPopupWrap {
        overflow-y: auto;

        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        display: none;
    }

    #counsel_quick_wrap.basicPopupWrap.active{
        display: block;
    }

    .counsel_quick_inner {
        padding: 11.7vw 4.2vw 7.7vw;
    }

    .counsel_quick_txt1 {
        padding: 0 0 4.2vw;
        font-size: 6.4rem;
    }

    .counsel_quick_txt1 img {
        width: 10.6vw;
        vertical-align: text-bottom;
    }

    .counsel_quick_txt2 {
        display: none;
    }

    .counsel_quick_txt3 {
        border-top: 0.267vw solid #000;
    }

    .counsel_li_text {
        margin: 2.5vh 0 1.1vh 0;
        font-size: 3.6rem;
        line-height: 1.5;
    }

    .counsel_quick_wrap_input,
    .counsel_quick_wrap_select {
        height: 17.3vw;
    }

    .counsel_quick_wrap_input,
    .counsel_quick_wrap_select,
    .counsel_quick_wrap_textarea {
        padding: 0 5.3vw;
        font-size: 3.6rem;
        line-height: 7.2vw;
    }

    .counsel_quick_wrap_textarea {
        height: 32vw;
        padding: 5.3vw;
    }

    .counsel_li.counsel_li_cb {
        margin: 4vw 0 8.5vw 0;
        font-size: 4.8vw;
        letter-spacing: -0.7px;
    }

    .agreeChk {
        margin-right: 1.8vw;
    }

    .counsel_li_s .submit {
        padding: 5.3vw 26.6vw;
        font-size: 5.2rem;
        line-height: 1.38;
    }

    .counsel_li_cb .form-label {
        padding-left: 8vw;
    }

    .counsel_li_cb #agree2+.form-label::before {
        width: 4.8vw;
        height: 4.8vw;
        margin: -2vw 0 0 0;
    }

    #counsel_quick .desc {
        position: relative;
    }

    #counsel_quick .btn-close {
        max-width: none;
        width: 5vw;
        /* top: 13.6vw;
        right: 9.8vw; */
        top: 3vw;
        right: 0.8vw;
    }

    #counsel_quick .btn-close img {
        width: 100%;
    }
}

/* 빠른 상담 ::e */

/* 일반 상담 ::s */
.ta-left {
    text-align: left;
}

/* 일반 상담 ::e */

/* 빠른 & 일반 상담 ::s */

form.counsel_form input:focus,
form.counsel_form textarea:focus {
    outline: 1px solid #111;
}

form.counsel_form .counsel_li_cb input:focus {
    outline: 0px solid;
}

.grecaptcha-badge {
    display: none;
    visibility: hidden;
    opacity: 0;
}

.counsel_select .custom_opt {
    position: absolute;
    width: 100%;
    color: #999;
    max-height: 486px;
    overflow-x: hidden;
    overflow-y: auto;
    animation: fade-in 0.5s;
    animation-fill-mode: forwards;
    background-color: #F8F8F8 !important;
    padding: 20px 20px 20px;
    border: 1px solid #111;
    margin-top: 10px;
    z-index: 333;
    box-shadow: 0 0 0 0.1px inset;
}

.counsel_select .custom_opt::-webkit-scrollbar {
    width: 5px;
}


/* 스크롤바 막대기 */
.counsel_select .custom_opt::-webkit-scrollbar-thumb {
    border-radius: 15px;
    background-color: #999;
}

/* 스크롤바 백그라운드 */
.counsel_select .custom_opt::-webkit-scrollbar-track {
    border-radius: 15px;
    background-color: #d9d9d9;
}

.counsel_select .custom_opt div {
    padding: 0 0 10px 10px !important;
    color: #767676;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.5;
    position: relative;
    z-index: 336;
}

.counsel_select .select_hide {
    display: none;
}

.boardSubmitWrap_select {
    color: #999;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.5px;
}

.boardSubmitWrap_select.active {
    border: 1px solid #111;
    background-color: #F8F8F8;
}

#quick_submit .boardSubmitWrap_select{
    height: 60px;
    line-height: 61px;
    padding: 0 0 0 30px;
    background: #F2F2F2 url('/public/img/common/expand_b.png') no-repeat 95% 50%/13px auto;
}

.custom_opt div:hover {
    color: #111;
    z-index: 336;
    cursor: pointer;
}

.custom_opt p {
    padding: 0 7px 10px 10px !important;
    border-top: 12px solid #F8F8F8;
    border-left: 3px solid #F8F8F8;
    background-color: rgba(229, 117, 69, 0.3);
    position: absolute;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.5px;
    color: rgba(0, 0, 0, 0);
    height: 28px;
    z-index: 333;
    visibility: hidden;
}

.custom_opt p.active {
    visibility: visible;
    z-index: 333;
}

.quick.pc .quick_rehab_btn {
    background-color: #E57545 !important;
}

.quick.pc .quick_kmed_btn {
    background-color: #006C6B !important;
}

.quick.pc .quick_brain_btn {
    background-color: #733FAB !important;
}

.quick.pc .quick_diet_btn {
    background-color: #9F6370 !important;
}

@media screen and (max-height:890px) {
    #quick_submit .boardSubmitWrap_select {
        line-height: 40px;
        height: 40px;
    }
}

@media screen and (max-width:750px) {

    .boardSubmitWrap_select,
    #quick_submit .boardSubmitWrap_select {
        height: 17.3vw;
        padding: 0 0 0 5.3vw;
        line-height: 17.3vw;
        font-size: 3.6rem;
    }

    .boardSubmitWrap_select.active {
        border: 0.267vw solid #111;
        background-color: #F2F2F2;
    }

    .counsel_select .custom_opt {
        max-height: 121vw;
        border: 0.267vw solid #111;
    }

    .counsel_select .custom_opt div {
        padding: 0 0 4vw 0 !important;
        font-size: 3.6rem;
    }

    .custom_opt p {
        padding: 0 2.1vw 4vw 2.1vw !important;
    }
}

/* 빠른 & 일반 상담 ::e */