@charset "UTF-8";

/* contactChat_btn_area */
.contactChat_btn_area{
    z-index: 99;
    position: fixed;
    right: 30px;
    bottom: 30px;
    text-align: right;
}
.contactChat_btn_area .contactChat_btn{
    display: inline-flex;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.25);
}
.contactChat_btn_area .txt_box{
    position: relative;
    padding-left: 48px;
    text-align: left;
}
.contactChat_btn_area .txt_box::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: url('../img/contactChat/ico_contact_chat.png') no-repeat center / cover;
}
.contactChat_btn_area .txt_box strong{
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #000;
}
.contactChat_btn_area .txt_box p{
    position: relative;
    padding-left: 10px;
    font-size: 10px;
    color: #828282;
}
.contactChat_btn_area .txt_box p::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #FF5000;
    border-radius: 50%;
}

/* contactChat_cont_area */
.contactChat_cont_area{
    z-index: 99;
    position: fixed;
    left: auto;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    max-width: 360px;
    min-width: 360px;

    visibility: hidden;
    opacity: 0;
    transition: .3s ease-in;
}
.contactChat_cont_area.on{
    visibility: visible;
    opacity: 1;
}

.contactChat_cont_area .btn_close{ 
    position: absolute;
    top: 16px;
    right: 16px;
    width: 18px;
    height: 18px;
    border: none;
    background: transparent;
    border-radius: 0;
}
.contactChat_cont_area .btn_close svg{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contactChat_cont_area .contactChat_cont{
    position: relative;
    padding: 36px 30px;
    margin: 0 auto;
    max-width: 360px;
    background: #fff;
    color: #000;
    border-radius: 12px 12px 0 0;
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.20);
}
.contactChat_cont_area .contactChat_cont strong{
    display: block;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
}
.contactChat_cont .form_wrap{}
.contactChat_cont .form_wrap .form_inr{}
.contactChat_cont .form_wrap .input_box{
    position: relative;
}
.contactChat_cont .form_wrap .input_box + .input_box{
    margin-top: 12px;
}
.contactChat_cont .form_wrap .input_box label{
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #333;
}
.contactChat_cont .form_wrap .input_box label i{
    color: #FF5000;
}
.contactChat_cont .form_wrap .input_box input{
    width: 100%;
    height: 40px;
    padding: 12px 15px;
    background: transparent;
    border: 1px solid #aaa;
    border-radius: 10px;
    font-size: 14px;
    color: #333;
    font-family: var(--sub-font);
}
.contactChat_cont .form_wrap .input_box input::placeholder{
    color: #aaa;
}
.contactChat_cont .form_wrap .input_box .btn_form{
    position: relative;
    font-size: 14px;
    color: #aaa;
    font-weight: 400;
    font-family: var(--sub-font);

    width: 100%;
    height: 40px;
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #aaa;
    border-radius: 10px;
}
.contactChat_cont .form_wrap .input_box .btn_form::after{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    width: 15px;
    height: 15px;
    background: url(../img/contactChat/ico_arw_btm.png) no-repeat center / cover;
    
}
.contactChat_cont .form_wrap .input_box.active .btn_form::after{
    transform: translateY(-50%) rotate(180deg);
}
.contactChat_cont .form_wrap .select_list{
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1;
}
.contactChat_cont .form_wrap .select_list.active{
    display: block;
}
.contactChat_cont .form_wrap .select_list ul{
    padding: 8px 0;
    border: 1px solid #aaa;
    border-radius: 10px;
}
.contactChat_cont .form_wrap .select_list ul li{
    padding: 8px 14px;
    font-size: 14px;
    line-height: 1.14;
    color: #aaa;
}
.contactChat_cont .form_wrap .select_list ul li:hover{
    background: #e5e5e5;
}

.contactChat_cont .form_wrap .input_box textarea{
    width: 100%;
    height: 126px;
    padding: 15px;
    font-size: 14px;
    border: 1px solid #aaa;
    border-radius: 10px;
    background: transparent;
    color: #333;
    font-family: var(--sub-font);
}
.contactChat_cont .form_wrap .input_box textarea::placeholder{
    color: #aaa;
}

.contactChat_cont .form_wrap .submit_box{
    margin-top: 20px;
}
.contactChat_cont .form_wrap .submit_box .btn_submit{
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-size: 15px;
    background: #000;
    color: #fff;
    border-radius: 10px;
}
.contactChat_cont .form_wrap input[type=text]:focus, 
.contactChat_cont .form_wrap input[type=password]:focus, 
.contactChat_cont .form_wrap textarea:focus, 
.contactChat_cont .form_wrap select:focus{
    border: 1px solid #aaa !important;
    outline: none !important;
}

:focus-visible{
    outline: none !important;
}

.contactChat_cont input:-webkit-autofill, 
.contactChat_cont input:-webkit-autofill:hover, 
.contactChat_cont input:-webkit-autofill:focus, 
.contactChat_cont input:-webkit-autofill:active{
    -webkit-text-fill-color: #333 !important;
}

.contactChat_cont .form_wrap .input_box.checked .btn_form{
    color: #333;
}

@media(max-width:600px){
    .contactChat_btn_area{
        left: 0;
        right: 0;
        bottom: 30px;
        margin: 0 auto;
        text-align: center;
    }
    .contactChat_cont_area{
        left: 0;
        min-width: auto;
    }
}