@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;
}
.intro_map{
    display: flex;
    margin-top: 50px;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
}
#kakao_map{
	width: 1200px;
	height: 600px;
}
.map_explan{
	height: 50px;
	line-height: 50px;
}
.map_explan img{
	position: relative;
	top: 10px;
}
.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;
	}

	#kakao_map {
		width: 1000px;
		height: 500px;
	}

	.company_intro_text, .company_intro_text div {
		width: 1000px;
	}
}

@media screen and (max-width: 1300px){
	#wrap {
		min-height: 1200px;
	}

	.contents_box {
		max-width: 1000px;
	}

	.right_box {
		max-width: 700px;
	}

	#kakao_map {
		width: 800px;
		height: 400px;
	}

	.intro_text p:first-child {
		font-size: 28px;
	}

	.intro_text p:last-child {
		font-size: 14px;
	}

}

@media screen and (max-width: 1100px){

	.contents_box {
		flex-direction: column;
		align-items: center;
	}

	.right_box {
		max-width: 90%;
		padding: 0 15px;
	}

	#kakao_map {
		width: 700px;
		height: 350px;
	}

	.company_intro_text div span:first-child {
		font-size: 16px;
	}

	.company_intro_text div span:last-child {
		font-size: 14px;
	}

}

/*모바일 css 적용*/
@media screen and (max-width: 768px){

	#wrap {
		min-height: 100vh;
	}
    .top_text {
        font-size: 1.5rem;
    }
	.top_img {
		height: 200px;
	}

	.top_img .top_text {
		font-size: 28px;
	}

	.contents_box {
		flex-direction: column;
		overflow-x: scroll;
	}

	.right_box {
		max-width: 100%;
		padding: 0 10px;
	}

    #kakao_map {
        width: 500px;
    }

	.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;
	}
}

@media screen and (max-width: 430px){
    #kakao_map {
        width: 350px;
    }
    .company_intro_text, .company_intro_text div {
        width: 350px;
    }
    .map_explan span {
        font-size: 10px;
    }
}
