@charset "euc-kr";

/* 전역 스타일 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Noto Sans KR', sans-serif;
	line-height: 1.6;
	color: #333;
}

/* 그리드 컨테이너 */
.gridContainer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.clearfix::after {
	content: '';
	display: table;
	clear: both;
}

/* 공통 애니메이션 */
.fade-in-up {
	opacity: 0;
	/* transform 효과 완전 제거로 배경 떨림 방지 */
	transition: all 0.8s ease;
}

.fade-in-up.show {
	opacity: 1;
	/* transform 효과 완전 제거로 배경 떨림 방지 */
}

/* PC/모바일 분리 */
.pc-only {
	display: block;
}

.mobile-only {
	display: none;
}

@media screen and (max-width: 768px) {
	.pc-only {
		display: none;
	}
	
	.mobile-only {
		display: block;
	}
}

/* 풋터 전체화면 설정 (글로벌) */
@media screen and (min-width: 769px) {
	#footer {
		width: 100vw !important;
		left: 50% !important;
		right: 50% !important;
		margin-left: -50vw !important;
		margin-right: -50vw !important;
		position: relative !important;
		box-sizing: border-box !important;
	}
	
	.footer-content {
		width: 100% !important;
		max-width: none !important;
		padding-left: 2em !important;
		padding-right: 2em !important;
		box-sizing: border-box !important;
	}
	
	/* 고정 하단 메뉴바 전체화면 설정 */
	.fixed-bottom-menu {
		width: 100vw !important;
		left: 50% !important;
		right: 50% !important;
		margin-left: -50vw !important;
		margin-right: -50vw !important;
		box-sizing: border-box !important;
		position: fixed !important;
		bottom: 0 !important;
		z-index: 1000 !important;
	}
	
	.fixed-bottom-menu .footer-content {
		width: 100% !important;
		max-width: none !important;
		padding-left: 2em !important;
		padding-right: 2em !important;
		box-sizing: border-box !important;
		justify-content: center !important;
		align-items: center !important;
	}
}

/* 공통 버튼 스타일 */
.pop_btn01, .pop_btn02 {
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 14px;
	margin: 0 5px;
}

.pop_btn01 {
	background: #ff4200;
	color: white;
}

.pop_btn02 {
	background: #6c757d;
	color: white;
}

/* 공통 입력 필드 */
.input_box {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}

/* 공통 레이블 */
label {
	font-weight: 600;
	color: #333;
	margin-bottom: 5px;
	display: block;
}

/* 공통 섹션 제목 */
.section-title {
	text-align: center;
	font-size: clamp(2rem, 6vw, 4rem);
	font-weight: 900;
	color: #333333;
	margin: 0 0 clamp(2em, 5vw, 3em) 0;
	line-height: 1.2;
}

/* 공통 카드 스타일 */
.card {
	background: white;
	padding: clamp(2em, 5vw, 3em);
	border-radius: 20px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: all 0.4s ease;
}

.card:hover {
	/* transform 효과 완전 제거로 배경 떨림 방지 */
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
}

/* 공통 아이콘 스타일 */
.icon {
	width: clamp(60px, 15vw, 80px);
	height: clamp(60px, 15vw, 80px);
	background: linear-gradient(135deg, #ff4200, #ff6b3d);
	border-radius: 50%;
	margin: 0 auto 1.5em;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(1.5rem, 4vw, 2rem);
	color: white;
	font-weight: bold;
}

/* 공통 텍스트 스타일 */
.title {
	font-size: clamp(1.2rem, 3.5vw, 1.5rem);
	font-weight: 800;
	color: #333333;
	margin: 0 0 1em 0;
}

.description {
	font-size: clamp(1rem, 2.5vw, 1.1rem);
	color: #666666;
	line-height: 1.6;
	margin: 0;
}

/* 반응형 그리드 */
.responsive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 80vw, 300px), 1fr));
	gap: clamp(2em, 5vw, 3em);
	margin-top: clamp(2em, 6vw, 4em);
}

/* 유틸리티 클래스 */
.text-center {
	text-align: center;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.mb-1 { margin-bottom: 0.5em; }
.mb-2 { margin-bottom: 1em; }
.mb-3 { margin-bottom: 1.5em; }
.mb-4 { margin-bottom: 2em; }

.mt-1 { margin-top: 0.5em; }
.mt-2 { margin-top: 1em; }
.mt-3 { margin-top: 1.5em; }
.mt-4 { margin-top: 2em; }

.p-1 { padding: 0.5em; }
.p-2 { padding: 1em; }
.p-3 { padding: 1.5em; }
.p-4 { padding: 2em; }
