@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700|Nanum+Myeongjo');
@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@1.0/nanumsquare.css);
@viewport { width: device-width; }

/* 기본 스타일 초기화 */
* {
	margin: 0;
	padding: 0;
	font-family: 'NanumSquareNeoLight', sans-serif;
	box-sizing: border-box; /* 박스 크기 계산을 더 직관적으로 */
}

a {
	text-decoration: none;
	color: inherit; /* 링크 색상을 부모 요소에서 상속 */
}

/* 전체 레이아웃 */
#wrap {
	width: 100%;
	min-height: 100vh; /* 최소 높이를 뷰포트 높이로 설정 */
	display: flex;
	flex-direction: column;
}

/* 상단 이미지 */
.top_img {
	height: 550px;
	background: url(../img/main1.jpg) no-repeat center/cover;
	margin-top: 100px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.top_text {
	font-size: 4.5rem;
	font-weight: 700;
	color: #fff;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.top_nav {
	width: 100%;
	background-color: #f5f5f5;
	border-bottom: 2px solid #d7d1d1;
}

/* 콘텐츠 박스 */
.contents_box {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* 오른쪽 콘텐츠 영역 */
.right_box {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 1200px;
	padding: 0 20px;
}

.company_vision {
	margin-top: 50px;
}

/* 소개 텍스트 */
.vision_text p:first-child {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 30px;
	color: #222;
}

.vision_text p:first-child span {
	font-size: 32px;
	color: #2786e7;
}

.vision_img {
	width: 100%;
	height: 450px; /* 더 큰 이미지 영역 */
	background: url(../img/cp_vision.png) no-repeat center/cover;
	border-radius: 10px; /* 모서리 둥글게 */
	margin-bottom: 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 부드러운 그림자 */
}

/* 반응형 디자인 */
@media screen and (max-width: 1500px) {
	.contents_box {
		max-width: 1200px;
	}

	.right_box {
		max-width: 900px;
	}

	.vision_img {
		height: 450px;
	}
}

@media screen and (max-width: 1300px) {
	#wrap {
		min-height: 1200px;
	}

	.contents_box {
		max-width: 1000px;
	}

	.right_box {
		max-width: 700px;
	}

	.vision_text p:first-child {
		font-size: 28px;
	}

	.vision_img {
		height: 400px;
	}
}

@media screen and (max-width: 1100px) {
	.contents_box {
		flex-direction: column;
		align-items: center;
	}

	.right_box {
		max-width: 90%;
		padding: 0 15px;
	}

	.vision_img {
		height: 380px;
	}
}

@media screen and (max-width: 768px) {
	#wrap {
		min-height: 100vh;
	}

	.top_img {
		height: 300px;
	}

	.top_img .top_text {
		font-size: 28px;
	}

	.contents_box {
		flex-direction: column;
	}

	.right_box {
		max-width: 100%;
		padding: 0 10px;
	}

	.vision_text p:first-child {
		font-size: 12px;
	}

	.vision_text p:first-child span {
		font-size: 20px;
	}

	.vision_img {
		height: 180px;
	}
}