/* ============ 전체조회 ============ */
.total_top {
	margin-top: 3rem;
}

.total_top:first-child {
	margin-top: 0;
}

.total_top .total_area {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.total_top .total {
	font-weight: 500;
	font-size: 18px;
	color: #333;
	display: inline-flex;
	justify-content: space-between;
	letter-spacing: -0.9px;
}

.total_top .total .total_number {
	font-size: 16px;
	display: flex;
	justify-content: center;
	align-content: center;
}

.total_top .total .count_wrap {
	margin-right: 6px;
}

.total_top .total .count_wrap .number {
	margin: 0 4px;
}

.total_top .btn_inquiry {
	font-weight: 500;
	font-size: 18px;
	line-height: 1;
	color: #333;
	text-decoration: underline;
}

.total_top .inquiry_write {
	position: relative;
	/* z-index: 10; */
	margin: 25px -20px 0;
	padding: 20px;
	background: #f5f5f5;
}

.customer_wrap .total_top .inquiry_write {
	background-color: #fff;
	padding: 0;
	margin: 0;
}

.total_top .search_form {
	margin-top: 20px;
}

.total_top .search_form select {
	flex: 1;
}

/* ============ 상품 Q&A ============ */
/* .item_qna {
	padding: 0 20px;
	box-sizing: border-box;
} */

.item_qna .inquiry_write .select_check .secret_txt {
	display: inline-flex;
	justify-content: flex-end;
	align-content: center;
	width: 100%;
	max-width: 110px;
}

.item_qna .faq_list .question {
	padding: 20px;
	background-color: #f8f8f9;
	color: #787878;
	font-size: 14px;
	box-sizing: border-box;
}

.faq_list .lock {
	display: inline-block;
	width: 18px;
	height: 20px;
	margin-right: 4px;
	background: url(/content/images/icon/icon_lock.png) no-repeat center center;
	background-size: 100% auto;
	vertical-align: middle;
	transform: none;
	padding: 1px;
}

.item_qna .total_top .inquiry_write {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	background: #f8f8f9;
	margin: 0;
	padding: 0 40px;
	border: 0;
	box-sizing: border-box;
	overflow: hidden;
	transition: height 0.45s;
}

.item_qna .inquiry_write .btn_wrap {
	margin-top: 40px;
	max-width: 767px;
}

.item_qna .total_top .inquiry_write.on {
	margin-top: 40px;
	height: auto;
	padding: 40px;
	overflow: visible;
}

.item_qna .list_wrap ul {
	background: #fff;
}

.item_qna .total_top .inquiry_write.on .form_wrap_box {
	height: auto;
	transition: all 0.4s;
	display: flex;
	flex-direction: column;
}

.item_qna .total_top .inquiry_write .form_wrap_box {
	height: 0;
	overflow: hidden;
}

.item_qna .form_wrap_box .form-group::placeholder {
	font-size: 16px;
	font-weight: 300;
}

.item_qna .on .custom-select.box,
.item_qna .on .form-control.box {
	padding: 16px 30px;
	margin: 0;
	height: 60px;
	background-color: #fff;
	border: 1px solid #d9d9d9;
	border-radius: 0;

	transition: all 0s;
	transition-delay: 0s;
}

.item_qna .custom-select.box,
.item_qna .form-control.box {
	padding: 0 30px;
	height: 0;
	transition: all 0.45s;
	transition-delay: 0.4s;
}

.item_qna .btn-group .btn {
	width: 235px;
	font-size: 16px;
}

.item_qna .on textarea,
.item_qna .on textarea.form-control {
	padding: 20px 30px;
	min-height: 300px;
	box-sizing: border-box;
	transition: all 0s;
	transition-delay: 0s;
	border-radius: 30px;
}

.item_qna textarea,
.item_qna textarea.form-control::placeholder {
	font-size: 16px;
}

.item_qna textarea,
.item_qna textarea.form-control {
	padding: 0 30px;
	min-height: 0;
	height: 0;
	transition: all 0.4s;
	transition-delay: 0.2s;
}

.item_qna .custom-select.box {
	background: #fff url(/content/images/icon/arrow_down.png) no-repeat calc(100% - 20px) center;
	background-size: 14px auto;
	max-width: 1020px;
}

/* 문의 선택 인풋용 클래스 */
.item_qna .check_area {
	gap: 10px;
	display: inline-flex;
	justify-content: flex-end;
	align-items: center;
	flex-direction: row;
	padding-left: 30px;
}

.item_qna .check_area label {
	background-image: url(/content/images/icon/ico_check_off.png);
	background-repeat: no-repeat;
	background-position: 0 center;
	background-size: 24px;
	padding: 2px 0 0 30px;
}

.item_qna .check_area input:checked + label {
	background-image: url(/content/images/icon/ico_check_on.png);
}

.item_qna .check_area label span {
	font-size: 14px;
}

.item_qna .total_top {
	margin-top: 0;
}

.item_qna .list_wrap .list_top .state {
	display: none !important;
}

.item_qna:has(.item_qna_top) {
	overflow: hidden;
	margin-top: 60px;
}

.item_qna:has(.item_qna_top) .list_wrap {
	margin-top: 0;
}

/* customer answer */
.qna_answer {
	margin: 40px 0 0;
	padding: 22px;
	background-color: #f6f5fe;
	display: block;
	position: relative;
	box-sizing: border-box;
}

.qna_manager {
	margin: 0 6px 10px 0;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.42px;
	color: #000;
	line-height: 1;
	position: relative;
	height: auto;
	width: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}

.qna_answer::after {
	content: "";
	position: absolute;
	top: -12px;
	left: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
	border-left: 12px solid #f6f5fe;
	border-top: 12px solid transparent;
	border-right: 12px solid transparent;
	border-bottom: 12px solid transparent;
}

.qna_manager span.qa {
	content: "";
	position: relative;
	text-indent: -999999px;
	display: inline-block;
	background: url(/content/images/icon/ico_review_reply.png) no-repeat 0 0 / contain;
	width: 14px;
	height: 14px;
	margin-right: 6px;
	line-height: normal;
}

.question .text_area {
	display: block;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.45;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 14px;
	font-weight: 400;
	text-align: left;
}

.question .text_area {
	color: #333;
}

.on .question .text_area {
	display: block;
}

.qna_answer .text_area,
.qna_answer .text_area > * {
    font-size: 14px;

    box-sizing: border-box;
    line-height: 1.42;
    color: #787878;
}

.question .date,
.qna_answer .date {
	font-size: 14px;
	text-align: left;
	font-weight: 300;
	color: #ababab;
	margin-top: 20px;
	line-height: 1;
}

.list_wrap .list_area .question {
	position: relative;
	display: flex;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
	font-size: 16px;
}

/* @media */

@media (max-width: 767px) {
	.qna_answer {
		margin: 20px 0 0;
	}

	.qna_answer::after {
		content: "";
		position: absolute;
		top: -6px;
		left: 0;
		width: 1px;
		height: 1px;
		overflow: hidden;
		border-left: 6px solid #f6f5fe;
		border-top: 6px solid transparent;
		border-right: 6px solid transparent;
		border-bottom: 6px solid transparent;
	}

	.total_top {
		margin-top: 30px;
	}

	.total_top .inquiry_write {
		margin: 0 -20px 0;
	}

	.total_top .total,
	.total_top .total .total_number,
	.total_top .total .total_number > *,
	.total_area .btn_inquiry {
		line-height: 1;
		font-size: 13px;
		height: auto;
		margin: 0;
		display: inline-block;
	}

	.item_qna .total_top .total {
		font-size: 14px;
	}

	.item_qna .total_top .inquiry_write.on {
		padding: 20px;
		margin: 20px auto 0;
		width: auto;
	}

	.item_qna .inquiry_write .select_check .secret_txt {
		max-width: 85px;
	}

	.item_qna .check_area {
		max-width: 85px;
		padding-left: 0;
	}

	.item_qna .check_area label {
		background-image: url(/content/images/icon/ico_check_off_m.png);
		background-repeat: no-repeat;
		background-position: 0 center;
	}

	.item_qna .total_top .total span.total_number span,
	.item_qna .total_top .total span.total_number,
	.item_qna .total_top .total span.total_number {
		font-size: 13px;
	}

	.item_qna .total_top .total,
	.item_qna .total_top .total span.total_number {
		font-size: 13px;
		line-height: 1;
	}

	.item_qna .total_top .total span.total_number {
		margin: 0;
	}

	.item_qna_top {
		background: transparent;
		position: relative;
		margin-top: 70px;
	}

	.item_qna_top .total_area p {
		font-size: 14px;
	}

	.item_qna_top .form_wrap_box {
		justify-content: space-between;
	}

	.item_qna_top .form_wrap_box .btn-group {
		margin-top: 20px;
	}

	.list_wrap .my_review .list_top .id:after {
		top: 10px;
	}

	.list_wrap .list_area {
		padding: 0;
	}

	.list_wrap .my_review .list_top .id {
		font-size: 14px;
	}

	.list_wrap .list_top .id {
		color: #000;
	}

	.list_wrap .my_review .list_top .id:after {
		top: 50%;
	}

	.list_wrap .list_area {
		padding: 0;
		border-top: 1px solid #e2e2e2;
	}

	.list_wrap .list_area:first-child {
		border-top: 0;
	}

	.list_wrap .list_area:last-child {
		border-bottom: 1px solid #e2e2e2;
	}
}

@media (max-width: 480px) {
	.qna_manager {
		font-size: 14px;
		position: relative;
		line-height: 1;
		padding: 0 0 0 16px;
	}

	.qna_answer .text_area {
		font-size: 14px;
		padding-left: 1px;
		box-sizing: border-box;
		line-height: 1.42;
	}

	.qna_manager span.qa {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		display: inline-block;
		margin-right: 0;
		line-height: normal;
		background: url("/content/images/icon/ico_review_reply.png") no-repeat 0 0 /12px auto;
		text-indent: 0;
		font-size: 0;
	}

	.item_qna .form_wrap_box .form-group:first-child {
		margin: 0;
	}

	.item_qna .total_top .total span.total_number span {
		margin: 0;
	}

	.item_qna .on .custom-select.box,
	.item_qna .on .form-control.box {
		height: 50px;
		box-sizing: border-box;
		padding: 0 15px;
		font-size: 14px;
	}

	.item_qna .on textarea,
	.item_qna .on textarea.form-control {
		padding: 15px;
		height: 50px;
		margin: 0;
		font-size: 14px;
	}

	.item_qna textarea::placeholder,
	.item_qna textarea.form-control::placeholder,
	.item_qna .form-control.box::placeholder {
		font-size: 14px;
	}

	.item_qna .on textarea,
	.item_qna .on textarea.form-control {
		min-height: 177px;
		height: unset;
		border-radius: 10px;
	}

	.list_wrap .list_area .question,
	.list_wrap .list_area.on .question {
		font-size: 14px;
	}

	.item_qna .inquiry_write .btn_wrap {
		margin-top: 20px;
	}

	.item_qna .total_top .inquiry_write.on {
		margin: 20px -20px 0;
	}

}
