/* =================================================================
 * contact.css — 문의 (피그마 기획안 CONTACT 1920 · CONTACT-mobile 850, WBS 2.4.7)
 * PC : 배너 아래 143 에 왼쪽 폼 650 · 간격 38 · 오른쪽 사진 615×750 (= 1303)
 * ================================================================= */

.contact-layout {
	display: grid;
	grid-template-columns: 650fr 615fr;
	column-gap: 38px;
	align-items: start;
	margin-block-start: 143px;
}

.contact-title {
	margin: 0;
	font-family: var(--font-point);
	font-weight: 800;
	font-size: 50px;
	line-height: 50px;
	color: #000;
}
.contact-title em { font-style: normal; color: var(--brand); text-decoration: underline; text-decoration-skip-ink: none; }

.contact-main .notice { margin: 24px 0 0; }

/* 입력칸 : 연회색 #fafafa · 높이 62 · 글자 20 (모서리 없음) */
.contact-form { display: flex; flex-direction: column; margin-top: 84px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-input {
	display: block;
	width: 100%;
	height: 62px;
	padding: 0 23px;
	border: 1px solid transparent;
	border-radius: 0;
	background: #fafafa;
	font-family: var(--font-body);
	font-size: 20px;
	line-height: 29.66px;
	color: #171717;
	transition: border-color .2s var(--ease);
}
.contact-input::placeholder { color: #171717; opacity: 1; }
.contact-input:focus { outline: none; border-color: var(--brand); }
.contact-form > .contact-input { margin-top: 16px; }
.contact-input--area { height: 185px; padding-top: 18px; resize: vertical; }
.contact-form__help { margin: 16px 0 0 10px; font-family: var(--font-body); font-size: 20px; line-height: 29.66px; color: #171717; }
.contact-form__help + .contact-input { margin-top: 43px; }

/* 보내기 250×50 · 검정 · 모서리 60 */
.contact-form__send {
	align-self: flex-start;
	width: 250px;
	height: 50px;
	margin-top: 37px;
	border: 0;
	border-radius: 60px;
	background: #000;
	font-family: var(--font-body);
	font-size: 20px;
	color: #fff;
	cursor: pointer;
	transition: opacity .2s var(--ease);
}
.contact-form__send:hover { opacity: .85; }
.contact-form__send:disabled { opacity: .5; cursor: default; }

/* 사진 615×750 · 모서리 33 (기획안 잘림 : 가로 128.23% · 왼쪽 -8.41% · 위 -9.56%) */
.contact-photo { aspect-ratio: 615 / 750; overflow: hidden; border-radius: 33px; background: #c4c4c4; }
.contact-photo img { width: 128.23%; max-width: none; height: auto; margin: -11.66% 0 0 -8.41%; }   /* 위 -9.56% (높이 기준) = -11.66% (폭 기준) */

@media (max-width: 1199px) and (min-width: 900px) {
	.contact-title { font-size: 40px; line-height: 44px; }
	.contact-input, .contact-form__help { font-size: 17px; }
}

/* 모바일 (기획안 CONTACT-mobile 850 폭) : 기획안 모바일에는 폼이 비어 있어, 폼을 위에 두고 사진을 아래에 둔다 */
@media (max-width: 899px) {
	.contact-layout { display: block; margin-top: calc(120 * 100vw / 850); }
	.contact-title { font-size: max(26px, calc(50 * 100vw / 850)); line-height: 1.1; }
	.contact-form { margin-top: 32px; }
	.contact-form__row { gap: 10px; }
	.contact-input { height: 48px; padding: 0 14px; font-size: 15px; }
	.contact-form > .contact-input { margin-top: 10px; }
	.contact-input--area { height: 150px; padding-top: 12px; }
	.contact-form__help { margin: 14px 0 0 4px; font-size: 14px; line-height: 1.4; }
	.contact-form__help + .contact-input { margin-top: 14px; }
	.contact-form__send { width: 100%; height: 46px; margin-top: 20px; font-size: 16px; }
	/* 기획안 모바일 사진 : 내용 폭 가득 700×700 정사각 · 잘림 가로 90.25%(왼쪽 5.67%) 세로 67.68%(위 7.07%) */
	.contact-photo { width: 100%; aspect-ratio: 1; margin: calc(80 * 100vw / 850) 0 0; border-radius: calc(33 * 100vw / 850); }
	.contact-photo img { width: 110.81%; margin: -10.45% 0 0 -6.28%; }
}
