/* 상담신청(contact.html, contact-gubun_1~3.html) — 공통 칸 모양은 form.css */

/* 개업년도(달 고르기) */
.cf-row > input[type="month"] { padding: 0 20px; }

/* 연매출·당기순이익: 네모 고르기 목록 */
.cf-checks li { height: 35px; }
.cf-checks label { display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 20px; }
.cf-checks input[type="radio"] {
	-webkit-appearance: none; appearance: none; width: 20px; height: 20px; border: 1px solid #ddd; border-radius: 4px;
	background: #fff; outline: 0; cursor: pointer;
}
.cf-checks input[type="radio"]::after {
	content: ''; display: none; position: relative; top: 20%; left: 40%; width: 15%; height: 40%;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.cf-checks input[type="radio"]:checked { background: var(--main); }
.cf-checks input[type="radio"]:checked::after { display: block; }
.cf-checks input[type="text"] {
	border: 1px solid #ddd; line-height: 35px; box-sizing: border-box; padding-left: 20px; border-radius: 5px; font-size: 18px;
}

@media screen and (max-width: 850px) {
	.cf-row > input[type="month"] { position: relative; height: 8vw; padding: 0 2vw; overflow: hidden; background: #fff; line-height: 8vw; }
	/* 휴대폰 달 고르기 칸은 빈칸 안내가 없어 글자로 덮는다(고르면 사라짐) */
	.cf-row > input[type="month"]::before {
		content: "개업년도를 선택하세요"; display: block; position: absolute; top: 50%; left: 2vw; width: 100%; height: 7.5vw; transform: translateY(-50%);
		background: #fff; font-size: inherit; line-height: 8vw; color: #999;
	}
	.cf-row > input[type="month"]:focus::before, .cf-row > input[type="month"].has-value::before { display: none; }

	.cf-row.is-checks { align-items: flex-start; }
	.cf-checks { width: 70vw; }
	.cf-checks li { height: 6.67vw; }
	.cf-checks label { gap: 1.33vw; font-size: 3.4667vw; line-height: 4vw; }
	.cf-checks input[type="radio"] { width: 4vw; height: 4vw; border-width: .13vw; border-radius: .53vw; }
	.cf-checks input[type="radio"]::after { border-width: 0 .57vw .57vw 0; }
	.cf-checks input[type="text"] {
		width: 40vw; padding-left: 2vw; border-width: .1333vw; border-radius: .6667vw; line-height: 6vw; font-size: 3.4667vw;
	}
}
