@charset "UTF-8";

.nb_est {
	width: min(100%, calc((100% - var(--gutter) * 11) / 12 * 8 + var(--gutter) * 7));
	margin: 0 auto;
}

.nb_est_admin {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 32px;
	font-size: 14px;
	line-height: 1;
	color: var(--muted-color);
	transition: color 0.3s;
}

.nb_est_admin:hover {
	color: var(--theme-color);
}

.nb_est_admin .nb_ico {
	width: 16px;
	height: 16px;
}

.nb_est_sec + .nb_est_sec {
	margin-top: 56px;
	padding-top: 56px;
	border-top: 1px solid var(--line-color);
}

.nb_est_tit {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 32px;
	font-size: var(--fs-h5);
	line-height: 1;
	font-weight: 700;
	color: var(--title-color);
}

.nb_est_tit span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--title-color);
	font-family: Montserrat, Pretendard, sans-serif;
	font-size: 13px;
	color: #fff;
}

.nb_est_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.nb_est_grid + .nb_est_field,
.nb_est_field + .nb_est_field,
.nb_est_field + .nb_est_grid {
	margin-top: 24px;
}

.nb_est_grid > .nb_est_field {
	margin-top: 0;
}

.nb_est_field > label,
.nb_est_label {
	display: block;
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 1;
	font-weight: 700;
	color: var(--title-color);
}

.nb_est .nb_input {
	height: 56px;
	border-radius: 12px;
	background: var(--surface-color);
	border-color: transparent;
	transition:
		background-color 0.3s,
		border-color 0.3s,
		box-shadow 0.3s;
}

.nb_est .nb_input:hover {
	border-color: var(--line-color);
}

.nb_est .nb_input:focus {
	background: #fff;
	border-color: var(--theme-color);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color) 12%, transparent);
}

.nb_est .nb_input[readonly] {
	border-color: transparent;
	box-shadow: none;
	color: var(--text-color);
}

.nb_est_content textarea {
	display: block;
	width: 100% !important;
	min-height: 240px;
	padding: 16px;
	border: 1px solid transparent;
	border-radius: 12px;
	background: var(--surface-color);
	font-size: var(--fs-body);
	line-height: 1.6;
	color: var(--title-color);
	resize: vertical;
	transition:
		background-color 0.3s,
		border-color 0.3s,
		box-shadow 0.3s;
}

.nb_est_content textarea:hover {
	border-color: var(--line-color);
}

.nb_est_content textarea:focus {
	background: #fff;
	border-color: var(--theme-color);
	outline: 0;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-color) 12%, transparent);
}

.nb_est_note {
	margin-top: 10px;
	font-size: 14px;
	line-height: 22px;
	color: var(--muted-color);
	word-break: keep-all;
}

.nb_est_cate {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nb_est_radio {
	position: relative;
}

.nb_est_radio input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.nb_est_radio label {
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding: 0 22px;
	border: 1px solid var(--line-color);
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	line-height: 1;
	color: var(--sub-color);
	cursor: pointer;
	transition:
		background-color 0.3s,
		border-color 0.3s,
		color 0.3s,
		transform 0.2s;
}

.nb_est_radio label:hover {
	border-color: var(--theme-color);
	color: var(--theme-color);
}

.nb_est_radio label:active {
	transform: scale(0.96);
}

.nb_est_radio input:checked + label {
	background: var(--theme-color);
	border-color: var(--theme-color);
	font-weight: 700;
	color: #fff;
}

.nb_est_radio input:focus-visible + label {
	outline: 2px solid var(--theme-color);
	outline-offset: 2px;
}

.nb_est_files {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.nb_est_file {
	position: relative;
	min-width: 0;
}

.nb_est_file input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.nb_est_file label {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 64px;
	padding: 0 12px 0 20px;
	border: 1.5px dashed var(--line-color);
	border-radius: 12px;
	font-size: 15px;
	line-height: 1;
	color: var(--text-color);
	cursor: pointer;
	transition:
		border-color 0.3s,
		background-color 0.3s;
}

.nb_est_file label:hover,
.nb_est_file input:focus-visible + label {
	border-color: var(--theme-color);
	background: color-mix(in srgb, var(--theme-color) 4%, #fff);
}

.nb_est_file label .nb_ico {
	width: 20px;
	height: 20px;
	color: var(--muted-color);
}

.nb_est_file_name {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.nb_est_file_btn {
	flex: none;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--surface-color);
	font-size: 13px;
	font-weight: 700;
	color: var(--sub-color);
}

.nb_est_file.is-filled label {
	border-style: solid;
	border-color: var(--theme-color);
}

.nb_est_file.is-filled .nb_est_file_name {
	font-weight: 700;
	color: var(--title-color);
}

.nb_est_file.is-filled label .nb_ico {
	color: var(--theme-color);
}

.nb_est_file .nb_chk {
	margin-top: 12px;
}

.nb_est_agree details {
	border-radius: 12px;
	background: var(--surface-color);
}

.nb_est_agree summary {
	position: relative;
	padding: 20px 56px 20px 24px;
	font-size: 15px;
	line-height: 1;
	font-weight: 700;
	color: var(--sub-color);
	list-style: none;
	cursor: pointer;
}

.nb_est_agree summary::-webkit-details-marker {
	display: none;
}

.nb_est_agree summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 24px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid var(--muted-color);
	border-bottom: 2px solid var(--muted-color);
	transform: rotate(45deg);
	transition: transform 0.3s;
}

.nb_est_agree details[open] summary::after {
	margin-top: -2px;
	transform: rotate(-135deg);
}

.nb_est_agree dl {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 24px 24px;
	font-size: 14px;
	line-height: 22px;
}

.nb_est_agree dl div {
	display: flex;
	gap: 16px;
}

.nb_est_agree dt {
	flex: none;
	width: 72px;
	font-weight: 700;
	color: var(--title-color);
}

.nb_est_agree dd {
	color: var(--text-color);
	word-break: keep-all;
}

.nb_est_agree > .nb_chk {
	margin-top: 20px;
}

.nb_est_agree .nb_req {
	font-weight: 400;
	color: var(--muted-color);
}

.nb_est_captcha {
	margin-bottom: 24px;
}

.nb_est .nb_cap_code {
	min-height: 56px;
}

.nb_est_submit {
	margin-top: 56px;
	text-align: center;
}

.nb_est_submit .btn {
	width: 100%;
	height: 64px;
	font-size: 17px;
	line-height: 24px;
	font-weight: 700;
}

.nb_form_list .td_cate {
	width: 140px;
}

.nb_form_list .td_tel {
	width: 160px;
	font-family: Montserrat, Pretendard, sans-serif;
}

.nb_form_item {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
}

.nb_form_item strong {
	font-size: var(--fs-body);
	font-weight: 700;
	color: var(--title-color);
}

.nb_form_item .nb_subject_link {
	font-size: 14px;
	color: var(--text-color);
}

.nb_form_item:hover .nb_subject_link {
	color: var(--theme-color);
}

@media (max-width: 1024px) {
	.nb_est {
		width: min(100%, calc((100% - var(--gutter) * 11) / 12 * 10 + var(--gutter) * 9));
	}
}

@media (max-width: 768px) {
	.nb_est {
		width: 100%;
	}

	.nb_est_tit {
		gap: 10px;
		font-size: 20px;
	}

	.nb_est_tit span {
		width: 28px;
		height: 28px;
		font-size: 12px;
	}

	.nb_est_field > label,
	.nb_est_label {
		font-size: 14px;
	}

	.nb_est .nb_cap_code {
		min-height: 52px;
	}

	.nb_est_content textarea {
		min-height: 200px;
		font-size: 15px;
	}

	.nb_est_file label {
		height: 56px;
		padding: 0 10px 0 16px;
		font-size: 14px;
	}

	.nb_est_agree summary {
		padding: 18px 48px 18px 20px;
		font-size: 14px;
	}

	.nb_est_agree summary::after {
		right: 20px;
	}

	.nb_est_agree dl {
		padding: 0 20px 20px;
		font-size: 13px;
		line-height: 20px;
	}

	.nb_est_grid,
	.nb_est_files {
		gap: 20px 16px;
	}

	.nb_est_grid + .nb_est_field,
	.nb_est_field + .nb_est_field,
	.nb_est_field + .nb_est_grid {
		margin-top: 20px;
	}

	.nb_est_grid > .nb_est_field + .nb_est_field {
		margin-top: 0;
	}

	.nb_est_sec + .nb_est_sec {
		margin-top: 40px;
		padding-top: 40px;
	}

	.nb_est_tit {
		margin-bottom: 24px;
	}

	.nb_est .nb_input {
		height: 52px;
	}

	.nb_est_radio label {
		height: 42px;
		padding: 0 16px;
		font-size: 14px;
	}

	.nb_est_agree dl div {
		flex-direction: column;
		gap: 2px;
	}

	.nb_est_agree dt {
		width: auto;
	}

	.nb_est_submit {
		margin-top: 40px;
	}

	.nb_est_submit .btn {
		height: 56px;
		font-size: 16px;
		line-height: 25px;
	}

	.nb_form_list .td_cate,
	.nb_form_list .td_tel {
		width: auto;
	}
}

@media (max-width: 560px) {
	.nb_est_grid,
	.nb_est_files {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 480px) {
	.nb_est_tit {
		font-size: 18px;
	}

	.nb_est_radio label {
		height: 40px;
		padding: 0 14px;
	}

	.nb_est_file_btn {
		padding: 8px 10px;
		font-size: 12px;
	}
}
