@charset "UTF-8";

/* ---------------------------------------------------- */
/* contact - 기업서체 제작문의 폼 */
/* ---------------------------------------------------- */
.portfolio_contact {
	background: var(--color-bgGray);
	padding-top: 35px;
	padding-bottom: 85px;
}
.portfolio_contact .contact_form {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}
.contact_form_left {
	width: 420px;
}
.contact_form_right {
	width: calc(100% - 420px);
    padding-left: 35px;
}
.contact_form_right #contents {
	height: 330px;
	margin-top: 0;
}
.portfolio_contact .contact_form_footer {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -moz-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
@media screen and (max-width: 1124px) {
	.contact_form_left {
		width: 300px;
	}
	.contact_form_right {
		width: calc(100% - 300px);
	}
}
@media screen and (max-width: 912px) {
	.portfolio_contact .contact_form  {
	    -webkit-box-orient: vertical;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
     }
	.contact_form_left {
		width: 360px;
		max-width: 100%;
	}
	.contact_form_right {
		width: 100%;
		padding-left: 0;
	}
	.contact_form_right #contents {
		height: 150px;
	}
}
@media screen and (max-width: 540px) {
	.portfolio_contact .contact_form_footer  {
	    -webkit-box-orient: vertical;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
     }
	.portfolio_contact .contact_form_footer > button {
		margin-top: 15px;
	}
}