@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_intro {
	margin-top: 50px;
}

/* 소개 텍스트 */
.intro_text p:first-child {
	font-size: 32px;
	font-weight: 800;
	line-height: 1.4;
	margin-bottom: 30px;
	color: #222;
}

.intro_text p:first-child span {
	font-size: 32px;
	color: #2786e7;
}

.intro_text p:last-child {
	font-size: 16px;
	line-height: 1.8;
	color: #555;
	font-weight: 400; /* 더 가벼운 느낌 */
	margin-bottom: 40px;
}

/* 회사 소개 이미지 */
.company_intro_img {
	width: 100%;
	height: 350px; /* 더 큰 이미지 영역 */
	background: url(../img/cp_info.png) no-repeat center/cover;
	border-radius: 10px; /* 모서리 둥글게 */
	margin-bottom: 40px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 부드러운 그림자 */
}

/* 회사 정보 테이블 */
.company_intro_text {
	width: 100%;
	border: none; /* 테두리 제거 */
	background: #f9f9f9; /* 부드러운 배경 */
	border-radius: 10px;
	padding: 20px 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	margin-bottom: 40px;
}

.company_intro_text div {
	width: 100%;
	height: auto;
	padding: 15px 30px;
	border-bottom: 1px solid #eee;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
}

.company_intro_text div:last-child {
	border-bottom: none;
}

.company_intro_text div span:first-child {
	width: 150px; /* 고정 너비로 깔끔하게 */
	font-size: 18px;
	font-weight: 700;
	color: #333;
}

.company_intro_text div span:last-child {
	flex: 1;
	font-size: 16px;
	color: #666;
}

/* 반응형 디자인 */
@media screen and (max-width: 1500px) {
	.contents_box {
		max-width: 1200px;
	}

	.right_box {
		max-width: 900px;
	}

	.company_intro_img {
		height: 300px;
	}
}

@media screen and (max-width: 1300px) {
	#wrap {
		min-height: 1200px;
	}

	.contents_box {
		max-width: 1000px;
	}

	.right_box {
		max-width: 700px;
	}

	.intro_text p:first-child {
		font-size: 28px;
	}

	.intro_text p:last-child {
		font-size: 14px;
	}

	.company_intro_img {
		height: 250px;
	}
}

@media screen and (max-width: 1100px) {
	.contents_box {
		flex-direction: column;
		align-items: center;
	}

	.right_box {
		max-width: 90%;
		padding: 0 15px;
	}

	.company_intro_img {
		height: 200px;
	}

	.company_intro_text div span:first-child {
		font-size: 16px;
	}

	.company_intro_text div span:last-child {
		font-size: 14px;
	}
}

@media screen and (max-width: 768px) {
	#wrap {
		min-height: 100vh;
	}

	.top_img {
		height: 200px;
	}

	.top_img .top_text {
		font-size: 28px;
	}

	.contents_box {
		flex-direction: column;
	}

	.right_box {
		max-width: 100%;
		padding: 0 10px;
	}

	.intro_text p:first-child {
		font-size: 12px;
	}

	.intro_text p:first-child span {
	    font-size: 20px;
	}

	.intro_text p:last-child {
		font-size: 11px;
	}

	.company_intro_img {
		height: 150px;
	}

	.company_intro_text div {
		flex-direction: column;
		align-items: flex-start;
		padding: 10px 20px;
	}

	.company_intro_text div span:first-child {
		width: 100%;
		margin-bottom: 5px;
	}
}