@charset "utf-8";

/* 전자시아 서비스 페이지 전용 CSS */

/* 기본 리셋 */
* {
	box-sizing: border-box;
}

/* 서브 페이지 공통 */
.sub_con {
	padding: 60px 15%;
	background: #fff;
	min-height: 80vh;
}

.sub4_1 {
	padding: 0 10%;
}

/* 페이지 타이틀 */
.page_title {
	text-align: center;
	margin-bottom: 60px;
}

.page_title h1 {
	font-size: 40px;
	font-weight: 700;
	color: #333;
	margin-bottom: 10px;
}

/* 서비스 컨테이너 */
.service_container {
	background: #fff;
	 /* 테두리 제거 */
	overflow: hidden;
	margin-bottom: 40px;
}

.service_header {
	padding: 30px 0px 0;
}

.service_title {
	font-size: 26px;
	font-weight: 700;
	color: #333;
	margin-bottom: 15px;
	border-bottom: 1px solid #000;
	padding-bottom: 15px;
}

/* 폼 스타일 */
.service_form {
	padding: 40px 0;
}

/* 폼 레이아웃 개선 */
.form_section {
	margin-bottom: 40px;
}

/* 부품사양정보와 첨부파일 사이 border */
.form_section.part_info_section {
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 30px;
}

/* 부품사양정보 좌우 레이아웃 */
.part_info_row {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.part_info_label {
	min-width: 150px;
	flex: 0 1 25%;
	font-size: 21px;
	font-weight: 400;
	color: #333;
	padding-top: 12px;
}

.part_info_input {
	flex: 1;
	width: 100%;
}

/* 첨부파일 좌우 레이아웃 */
.file_upload_row {
	display: flex;
	gap: 20px;
	align-items: center;
}

.file_upload_label {
	min-width: 150px;
	flex: 0 1 25%;
	font-size: 21px;
	font-weight: 400;
	margin-bottom: 15px;
	color: #333;
}

.file_upload_input {
	flex: 1;
}

/* 고객정보 4개 필드 세로 배치, 각 필드 내에서는 좌우 배치 */
.customer_info_grid {
	display: block;
}

.customer_field {
	display: flex;
	gap: 15px;
	align-items: center;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid #e0e0e0;
}

.customer_field:last-child {
	border-bottom: unset;
}

.customer_field .form_label {
	min-width: 170px;
	flex: 0 1 25%;
	margin-bottom: 0;
	font-size: 21px;
	font-weight: 400;
	color: #333;
}

.form_section > .customer_field:last-child .form_label::after {
    display: none;
}

.customer_field .form_input {
	flex: 1;
}

@media screen and (max-width: 768px) {
    .customer_field .form_input {
        height: 40px;
        padding: 10px;
        font-size: 16px;
    }
}

.section_title {
	font-size: 26px;
	font-weight: 600;
	color: #333;
	margin-bottom: 20px;
	padding-bottom: 15px;
	width: 100%;
	display: inline-block;
	border-bottom: 1px solid #000;
}

.form_row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	align-items: flex-start;
}

.form_group {
	flex: 1;
}

.form_label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}

.form_input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	font-size: 19px;
	transition: all 0.3s ease;
	background: #fff;
}

.form_input:focus {
	outline: none;
	border-color: #005ad4;
	box-shadow: 0 0 0 3px rgba(0, 90, 212, 0.1);
}

/* 부품사양정보 텍스트영역 높이 증가 */
.form_textarea {
	width: 100%;
	min-height: 300px; /* 120px에서 200px로 증가 */
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	font-size: 19px;
	resize: vertical;
	font-family: inherit;
	line-height: 1.5;
	transition: all 0.3s ease;
}

.form_textarea:focus {
	outline: none;
	border-color: #005ad4;
	box-shadow: 0 0 0 3px rgba(0, 90, 212, 0.1);
}

.form_checkbox_group {
	margin: 20px 0;
}

.form_checkbox_wrapper {
	flex: 1;
}

.form_checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 19px;
	color: #666;
}

.form_checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #005ad4;
}

/* 파일 업로드 스타일 - 흰색 버튼, 배경 없이 */
.file_upload_area {
	border-radius: 8px;
	padding: 20px 0;
	text-align: left; /* 왼쪽 정렬 */
	transition: all 0.3s ease;
}

.form_file {
	display: none;
}

.file_upload_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 60px;
	background-color: #fff; /* 흰색 배경 */
	color: #666; /* 검은색 텍스트 */
	border: 1px solid #ddd; /* 테두리 추가 */
	cursor: pointer;
	font-size: 19px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.file_upload_btn:hover {
	background-color: #f8f9fa; /* 호버 시 연한 회색 */
	border-color: #adb5bd;
}

.file_icon {
	font-size: 16px;
}

/* 파일 목록 스타일 */
.file_list {
	margin-top: 15px;
}

.file_item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	margin-bottom: 8px;
	font-size: 16px;
}

.file_name {
	flex: 1;
	color: #333;
	font-weight: 500;
	word-break: break-all;
}

.file_size {
	color: #666;
	font-size: 14px;
	white-space: nowrap;
}

.file_remove {
	background: #dc3545;
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	transition: all 0.3s ease;
}

.file_remove:hover {
	background: #c82333;
	transform: scale(1.1);
}

/* 버튼 스타일 */
.form_buttons {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 60px;
	padding-top: 30px;
}

.form_buttons > button {
	padding: 13px 0px;
	width: 170px;
	font-size: 19px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
	min-width: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn_primary {
	background: #333;
	color: #fff;
}

.btn_primary:hover {
	background: #333;
	transform: unset;
	box-shadow: unset;
}

.btn_secondary {
    background: #fff;
    color: #000;
    border: 1px solid #000 !important;
}

.btn_secondary:hover {
	background: #fff;
	color: #000;
	transform: unset;
	box-shadow: unset;
}

/* Contact Information 섹션 - 독립적인 전체 너비 섹션 */
.contact_section {
	background: #f8f9fa;
	width: 100%;
	padding: 60px 15% 120px;
	margin: 0;
}

.contact_container {
	margin: 0 auto;
	padding: 0px 10%;
}

.contact_title {
	font-size: 26px;
	font-weight: 700;
	color: #333;
	margin-bottom: 20px;
	text-align: left;
	padding: 10px 0;
	border-bottom: 1px solid #000;
}

.contact_content {
	background: #fff;
	padding: 30px;
	text-align: center;
	border: 1px solid #e0e0e0;
}

.contact_info {
	font-size: 21px;
	color: #666;
	line-height: 1.6;
}

.contact_info p {
	margin: 8px 0;
}

/* 지도 영역 */
.map_container {
	margin-top: 20px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e0e0e0;
}

.map_container #daumRoughmapContainer1753669783180 {
	width: 100% !important;
	height: 400px !important;
	border-radius: 8px;
}

.root_daum_roughmap {
	width: 100% !important;
	height: 400px !important;
}

.root_daum_roughmap .wrap_map {
	width: 100% !important;
	height: 400px !important;
}

/* 반응형 디자인 */
@media screen and (max-width: 768px) {
	.map_container #daumRoughmapContainer1753669783180 {
		height: 300px !important;
	}
	
	.root_daum_roughmap {
		height: 300px !important;
	}
	
	.root_daum_roughmap .wrap_map {
		height: 300px !important;
	}
	
	.sub1_1 {
		padding: 0;
	}
	
	.service_form {
		padding: 0px;
	}

	.service_header {
		padding: 0px;
	}
	
	.part_info_row {
		flex-direction: column;
		gap: 10px;
	}
	
	.part_info_label {
		min-width: auto;
		padding-top: 0;
		margin-bottom: 8px;
	}
	
	.file_upload_row {
		display: flex;
		gap: 10px;
		align-items: center;
	}
	
	.file_upload_label {
		min-width: 80px;
	}
	
	.customer_info_grid {
		display: block;
	}
	
	.customer_field {
		display: flex;
		gap: 10px;
		align-items: center;
		margin-bottom: 15px;
	}
	
	.customer_field .form_label {
		min-width: 140px;
		margin-bottom: 0;
	}
	
	.form_buttons {
		/* flex-direction: column; */
		align-items: center;
	}
	
	.btn {
		width: 100%;
		max-width: 200px;
	}
	
	.contact_section {
		padding: 40px 0;
	}
	
	.contact_container {
	}
	
	.contact_content {
		padding: 20px;
	}
	
	.page_title h1 {
		font-size: 35px;
	}
	
	/* 모바일 파일 업로드 스타일 */
	.file_upload_area {
		padding: 15px 0 15px;
	}
	
	.file_upload_btn {
		padding: 10px 20px;
		font-size: 16px;
	}
}

@media screen and (max-width: 480px) {
	.sub_con {
		padding: 40px 0;
	}
	
	.service_header {
		padding: 0px;
	}
	
	.service_title {
		font-size: 20px;
	}
	
	.page_title h1 {
		font-size: 28px;
	}

	.form_section:nth-child(4) .customer_field .form_label{
        min-width: 0px;
    }
}

/* FSW 영상 페이지 전용 스타일 */
/* 탭 메뉴 스타일 */
.tab_menu {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
	gap: 30px;
}

.tab_button {
	width: 210px;
	padding: 15px 30px;
	background: transparent;
	border: 1px solid #eeeeee;
	cursor: pointer;
	font-size: 23px;
	font-weight: 500;
	color: #666;
	transition: all 0.3s ease;
	position: relative;
}

.tab_button.active {
	color: #fff;
	background: #313131;
}

.tab_button:hover {
	color: #fff;
	background: #313131;
}

/* 비디오 섹션 */
.video_section {
	margin-bottom: 60px;
}

.video_section .section_title {
	font-size: 30px;
	font-weight: 600;
	color: #333;
	margin-bottom: 30px;
	padding-bottom: 10px;
	width: 100%;
	border-bottom: 2px solid #dcdcdc;
	display: inline-block;
}

.video_grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 50px;
}

.video_item {
	background: #fff;
	overflow: hidden;
	transition: all 0.3s ease;
	cursor: pointer;
}

.video_item:hover {
	/* transform: translateY(-5px); */
	/* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.video_thumbnail {
	position: relative;
	width: 100%;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.video_thumbnail img,
.thumbnail_image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.video_item:hover .thumbnail_image {
	transform: scale(1.05);
}

.play_button {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 24px;
	transition: all 0.3s ease;
	z-index: 2;
	cursor: pointer;
}

.play_button::before {
	content: '';
	width: 0;
	height: 0;
	border-left: 20px solid #fff;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	margin-left: 4px;
}

.video_item:hover .play_button {
	background: rgba(0, 0, 0, 0.9);
	transform: translate(-50%, -50%) scale(1.1);
}

/* 썸네일 로딩 실패 시 스타일 */
.no_thumbnail {
	position: absolute;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 12px;
	color: #666;
	background: rgba(255, 255, 255, 0.9);
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
	z-index: 3;
}

.video_info {
	padding: 20px 0;
}

.video_title {
	font-size: 21px;
	font-weight: 400;
	color: #333;
	line-height: 1.4;
	margin: 0;
}

/* 탭 콘텐츠 */
.tab_content {
	display: none;
}

.tab_content.active {
	display: block;
}

/* 비디오 모달 팝업 스타일 */
.video_modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(5px);
}

.video_modal_content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border-radius: 12px;
	padding: 0;
	max-width: 90vw;
	max-height: 90vh;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video_modal_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 25px;
	border-bottom: 1px solid #e0e0e0;
	background: #f8f9fa;
}

.video_modal_title {
	font-size: 20px;
	font-weight: 600;
	color: #333;
	margin: 0;
}

.video_modal_close {
	background: none;
	border: none;
	font-size: 24px;
	color: #666;
	cursor: pointer;
	padding: 5px;
	border-radius: 50%;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
}

.video_modal_close:hover {
	background: #e9ecef;
	color: #333;
}

.video_modal_body {
	padding: 0;
	background: #000;
}

.video_modal iframe {
	width: 800px;
	height: 450px;
	border: none;
	display: block;
}

/* 모달 애니메이션 */
.video_modal.show {
	display: block;
	animation: modalFadeIn 0.3s ease-out;
}

.video_modal.show .video_modal_content {
	animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes modalSlideIn {
	from {
		transform: translate(-50%, -60%);
		opacity: 0;
	}
	to {
		transform: translate(-50%, -50%);
		opacity: 1;
	}
}

/* 모달 반응형 디자인 */
@media screen and (max-width: 900px) {
	.video_modal iframe {
		width: 80vw;
		height: 45vw;
		min-height: 250px;
	}
	
	.video_modal_content {
		max-width: 95vw;
	}
}

@media screen and (max-width: 480px) {
	.video_modal iframe {
		width: 90vw;
		height: 50vw;
		min-height: 200px;
	}
	
	.video_modal_header {
		padding: 15px 20px;
	}
	
	.video_modal_title {
		font-size: 16px;
	}
}

/* FSW 영상 페이지 반응형 디자인 */
@media screen and (max-width: 768px) {
	.tab_menu {
		flex-wrap: nowrap;
		justify-content: center;
	}
	
	.tab_button {
		padding: 12px 20px;
		font-size: 14px;
	}
	
	.video_grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.video_thumbnail {
		height: 180px;
	}
	
	.play_button {
		width: 50px;
		height: 50px;
		font-size: 18px;
	}
	
	.play_button::before {
		border-left: 16px solid #fff;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
		margin-left: 3px;
	}
}

@media screen and (max-width: 480px) {
	.video_grid {
		grid-template-columns: 1fr;
	}
	
	.video_thumbnail {
		height: 160px;
	}
	
	.play_button {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
	
	.play_button::before {
		border-left: 12px solid #fff;
		border-top: 8px solid transparent;
		border-bottom: 8px solid transparent;
		margin-left: 2px;
	}
	
	.no_thumbnail {
		font-size: 10px;
		padding: 2px 6px;
	}
	
	.tab_button {
		padding: 10px 10px;
		font-size: 13px;
	}
	
	.tab_menu {
    gap: 15px;
	}
}

@media screen and (max-width: 425px) {
	.tab_button {
		padding: 10px 15px;
	}
}

@media screen and (max-width: 375px) {
	.tab_button {
		padding: 10px 15px;
	}
}


/* White Paper 페이지 전용 스타일 */
.whitepaper_container {
	background: #fff;
	overflow: hidden;
}

.whitepaper_list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.whitepaper_item {
	border-top: 2px solid #dcdcdc;
	transition: all 0.3s ease;
}

.whitepaper_item:hover {
	background: #f8f9fa;
}

.whitepaper_link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 30px;
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}

.whitepaper_link:hover {
	text-decoration: none;
	color: inherit;
}

.whitepaper_title {
	font-size: 23px;
	font-weight: 500;
	color: #005ad4;
	text-decoration: underline;
	margin: 0;
	flex: 1;
}

.whitepaper_title:hover {
	color: #0048a6;
}

.whitepaper_date {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	color: #000;
	font-size: 20px;
	white-space: nowrap;
	margin-left: 20px;
	gap: 7px;
	text-align: left;
}

.whitepaper_date .date {
	margin-bottom: 2px;
}

.whitepaper_date .month {
	color: #000;
	text-align: left;
	width: 100%;
}

/* White Paper 페이지 반응형 디자인 */
@media screen and (max-width: 768px) {
	.whitepaper_link {
		padding: 20px 15px;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.whitepaper_title {
		font-size: 14px;
	}
	
	.whitepaper_date {
		align-items: flex-start;
		margin-left: 0;
	}
}

@media screen and (max-width: 480px) {
	.whitepaper_link {
		padding: 15px 10px;
	}
	
	.whitepaper_title {
		font-size: 13px;
	}
}

/* 320px 모바일 최적화 */
@media screen and (max-width: 320px) {
	.sub1_1 {
		padding: 0;
	}
	
	.service_header {
		padding: 0px;
	}
	
	.service_form {
		padding: 15px 0px;
	}
	
	.page_title h1 {
		font-size: 22px;
	}
	
	.service_title {
		font-size: 18px;
	}
	
	.section_title {
		font-size: 16px;
	}
	
	.part_info_row {
		flex-direction: column;
		gap: 5px;
	}
	
	.file_upload_row {
		/* flex-direction: column; */
		gap: 30px;
		/* align-items: flex-start; */
	}
	
	.customer_field {
		flex-direction: column;
		gap: 5px;
		align-items: flex-start;
		margin-bottom: 5px;
		padding-bottom: 5px;
		border-bottom: unset;
	}
	
	.customer_field .form_label {
		min-width: auto;
	}
	
	.form_buttons {
		padding-top: 0px;
		flex-direction: column;
		gap: 10px;
		margin-top: 0px;
	}
	
	.form_buttons > button {
		width: 100%;
		max-width: 200px;
		margin: 0 auto;
	}
	
	.contact_section {
		padding: 30px 0;
	}
	
	.contact_container {
		padding: 0 10px;
	}
	
	.contact_content {
		padding: 20px 10px;
	}
	
	.tab_button {
		padding: 8px 12px;
		font-size: 14px;
	}
	
	.video_grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.video_thumbnail {
		height: 180px;
	}
	
	.whitepaper_link {
		padding: 12px 5px;
	}
	
	.whitepaper_title {
		font-size: 12px;
	}
}

/* 대형 화면 최적화 (2560px 이상) */
@media screen and (min-width: 2560px) {
	.sub1_1 {
		max-width: 2000px;
	}
	
	.page_title h1 {
		font-size: 46px;
	}
	
	.service_title {
		font-size: 30px;
	}
	
	.section_title {
	}
	
	.part_info_label,
	.file_upload_label {
		font-size: 21px;
		min-width: 180px;
	}
	
	.form_label {
		font-size: 18px;
	}
	
	.form_input,
	.form_textarea {
		font-size: 18px;
		padding: 14px 16px;
	}
	
	.form_textarea {
		min-height: 180px;
	}
	
	.btn_primary,
	.btn_secondary {
		font-size: 18px;
		padding: 14px 30px;
	}
	
	.contact_container {
		max-width: 2000px;
	}
	
	.contact_title {
		font-size: 32px;
	}
	
	.contact_info p {
		font-size: 18px;
	}
	
	.tab_button {
	}
	
	.video_title {
	}
	
	.whitepaper_title {
	}
}

@media screen and (max-width: 1440px) {
	.sub4_1 {padding: 0;	}
	.contact_container{padding:0;}
}

@media screen and (max-width: 1400px) {
	.tab_button {font-size:19px;}
	.video_section .section_title{font-size:23px;}
	.video_title{font-size: 18px;}

	.whitepaper_title{font-size:19px;}
	.whitepaper_date{font-size:19px;}


	.service_title {}
	.contact_title {}
	.section_title {}

	.part_info_label{font-size:19px;}
	.file_upload_label {font-size:19px;}
	.customer_field .form_label {font-size:19px;}
	.contact_info {font-size:19px;}
	
	.form_textarea{font-size:16px;}
	.file_upload_btn {font-size:16px;}
	.customer_field .form_input {font-size:16px;}
	.form_checkbox {font-size:16px;}
	.form_buttons > button {font-size:16px;}
}

@media screen and (max-width: 768px) {
	.tab_button {font-size: 14px;}
	.video_info {
	    padding: 5px 0;
	}
}

@media screen and (max-width: 425px) {
	.tab_button {font-size: 15px;width: unset;flex: calc(100% / 3);}
	.video_section .section_title{font-size:21px;}
	.video_title{font-size:17px;}

	.service_title {font-size:19px;}
	.contact_title {font-size:19px;}
	.section_title {font-size:19px;}

	.part_info_label{font-size:16px;}
	.file_upload_label {font-size:16px;}
	.customer_field .form_label {font-size:16px;}
	.contact_info {font-size:16px;}
	
	.form_textarea{font-size:14px;}
	.file_upload_btn {font-size:14px;}
	.customer_field .form_input {font-size:14px;}
	.form_checkbox {font-size:14px;}
	.form_buttons > button {font-size:14px;;}
	.contact_info p {font-size:14px;}

	.form_buttons{margin-top: 20px;}
	.form_section {margin-bottom: 0px;}
	.contact_section {padding: 20px 5% 20px !important;}
}

@media screen and (max-width: 320px) {
	.tab_button {font-size: 13px;}
	.video_section .section_title{font-size:19px;}
	.video_title{font-size:15px;}
}