/***********************
 하단 고정 상담폼
***********************/
#main_fixed_form_consult{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    z-index:9999;
    padding:16px 60px;
    transform:translateY(100%);
    background:#fff;
    box-sizing:border-box;
    transition:0.3s;
    box-shadow:0 -3px 20px rgba(0,0,0,0.15);
}

/* 열림 상태 */
#main_fixed_form_consult.show{
    transform:translateY(0);
}

/***********************
 토글 버튼
***********************/
#main_fixed_form_consult .toggle_btn{
    position:absolute;
    left:50%;
    bottom:100%;
     width:120px;
    height:27px;
    margin-left:-75px;
    border:0;
    padding:0;
    cursor:pointer;
    background:transparent;
}

/* 버튼 배경 */
#main_fixed_form_consult .toggle_btn:before,
#main_fixed_form_consult .toggle_btn:after{
    content:'';
    position:absolute;
    bottom:0;
    width:60%;
    height:100%;
    background:#982833;
}

#main_fixed_form_consult .toggle_btn:before{
    left:0;
    transform:skew(-10deg);
    border-radius:4px 0 0 0;
}

#main_fixed_form_consult .toggle_btn:after{
    right:0;
    transform:skew(10deg);
    border-radius:0 4px 0 0;
}

/* 버튼 텍스트 */
#main_fixed_form_consult .toggle_btn span{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:27px;
    line-height:27px;
    text-align:center;
    z-index:2;
}

#main_fixed_form_consult .toggle_btn span:after{
    content:'무료견적 신청';
    font-size:12px;
    color:#fff;
    font-weight:600;
    white-space:nowrap;
}


/* 열림시 버튼 텍스트 */
#main_fixed_form_consult.show .toggle_btn span:after{
    content:'×';
    font-size:16px;
    line-height:27px;
}


/***********************
 내부 레이아웃
***********************/
#main_fixed_form_consult .inner{
    max-width:1360px;
    margin:0 auto;
    position:relative;
}

/***********************
 입력폼
***********************/
#main_fixed_form_consult .form_wrap{
    position:relative;
    padding-right:19%;
}

#main_fixed_form_consult .data_row:after{
    content:'';
    display:block;
    clear:both;
}

#main_fixed_form_consult .data_row + .data_row{
    margin-top:7px;
}

#main_fixed_form_consult .frm_input{
    width:100%;
    height:42px;
    padding:0 20px;
    border:1px solid #979797;
    font-size:14px;
    box-sizing:border-box;
}

#main_fixed_form_consult .frm_input.left{
    float:left;
    width:49.5%;
}

#main_fixed_form_consult .frm_input.right{
    float:right;
    width:49.5%;
}

/***********************
 select
***********************/
#main_fixed_form_consult .select_box{
    position:relative;
    float:left;
    width:49.5%;
}

#main_fixed_form_consult .select_box select{
    width:100%;
    height:42px;
    padding:0 20px;
    border:1px solid #979797;
    font-size:14px;
    appearance:none;
}

#main_fixed_form_consult .icon_down{
    position:absolute;
    right:10px;
    top:0;
    bottom:0;
    margin:auto;
}

/***********************
 체크박스
***********************/
#main_fixed_form_consult .check_row{
    margin-top:12px;
}

#main_fixed_form_consult .check_row label{
    display:flex;
    align-items:center;
}

#main_fixed_form_consult .icon_checkbox{
    width:20px;
    height:20px;
    border:1px solid #7a7a7a;
    margin-right:6px;
    position:relative;
}

#main_fixed_form_consult .icon_checkbox svg{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
    width:18px;
    opacity:0;
}

#main_fixed_form_consult input[type=checkbox]{
    position:absolute;
    opacity:0;
}

#main_fixed_form_consult input[type=checkbox]:checked + .icon_checkbox svg{
    opacity:1;
}

/***********************
 상담 버튼
***********************/
#main_fixed_form_consult .btn_wrap{
    position:absolute;
    right:0;
    top:0;
    width:24%;
    height:90px;
}

 

#main_fixed_form_consult .btn_submit{
    width:100%;
    height:138px;
    background:#323DBF;
    color:#fff;
    font-size:18px;
    border:0;
    cursor:pointer;
}

#main_fixed_form_consult .btn_submit:hover{
    background:#323DBF;
}


/***********************
 모바일
***********************/
@media (max-width:1024px){

#main_fixed_form_consult{
    padding:25px 5%;
}

#main_fixed_form_consult .form_wrap{
    padding:0;
}

#main_fixed_form_consult .frm_input{
    width:100%!important;
    float:none;
    background:#ececec;
    border:0;
}

#main_fixed_form_consult .select_box{
    width:100%!important;
    margin-bottom:4px;
}

#main_fixed_form_consult .select_box select{
    background:#ececec;
    border:0;
}

#main_fixed_form_consult .row_bottom{
    display:flex;
    flex-wrap:wrap;
    margin-top:10px;
}

#main_fixed_form_consult .btn_wrap{
    position:relative;
    width:100%;
    height:auto;
    padding:0;
}

#main_fixed_form_consult .btn_submit{
    height:45px;
    border-radius:30px;
}

}

@media (max-width:768px){

#main_fixed_form_consult .frm_input,
#main_fixed_form_consult select{
    font-size:12px;
}

#main_fixed_form_consult .btn_submit{
    font-size:15px;
}

}


.bottom_fixed_consult .inner{
	display:flex;
	align-items:stretch;
	gap:20px;
	max-width:1400px;
	margin:0 auto;
}

.fixed_banner{
	width:270px;
	flex-shrink:0;
}

.fixed_banner a{
	display:block;
	height:100%;
}

.fixed_banner img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}

.form_wrap{
	flex:1;
}

/* 모바일 */
@media (max-width:768px){

	.bottom_fixed_consult .inner{
		display:block;
	}

	.fixed_banner{
		display:none; /* 모바일은 숨김 */
	}
}

.btn_wrap{
	width:180px;
	flex-shrink:0;
}

.btn_submit{
	height:100%;
	min-height:120px;
	font-size:28px;
	font-weight:700;
}

.bottom_fixed_consult{
    position:fixed;
    left:0;
    bottom:-145px; /* 숨겨진 상태 */
    width:100%;
    z-index:9999;
    transition:bottom .35s ease;
}

.bottom_fixed_consult.show{
    bottom:0; /* 보이는 상태 */
}

.input_error {
    background:#fff3cd !important;
    border:1px solid #dc3545 !important;
}