@charset "UTF-8"; 
@font-face {
    font-family: 'DosMyungjo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_eight@1.0/DOSMyungjo.woff') format('woff');
    font-weight: normal;
    font-display: swap;

	font-family: 'Galmuri11';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2506-1@1.0/Galmuri11-Bold.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}


/* 기본 색상 */
:root {
	--main-color: #6e888e;
	--accent-color: #9d8aae; /* (구)포인트 컬러 */
	--dark-main-color: #292929; /* 다크모드 설정 시 백그라운드 컬러 */
	--text-bright-color: #fff; /* 다크모드 설정 시 텍스트 컬러 */
	--point-color: #a94144; 
	--icon-color: #fff; 
	--icon-bk-color: #ddd;
	--gray-color: #ddd;
	--large-width: 1000px; /* 양쪽 여백을 남기고 가운데 컨텐츠가 보여지는 영역 */
	--middle-width: 800px;
}


/* 기본 설정: 폰트 크기 */
@media (max-width: 599px) { /* width값이 (최대)599까지 */
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) { /* width값이 600~799까지의 본문 폰트 사이즈 설정 */
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) { /* width값이 800까지의 폰트 사이즈 설정 */
	:root {
		font-size: 18px;
	}
}

body {
	font-size: 16px; 
}



/* 기본 설정: 페이지 전체 */
body {
	margin: 0;
	font-family: '맑은 고딕',
		'Apple SD Gothic Neo','sans-serif'; 
}


/* ------------------------------------------------------------------------------------------------------------------- */


/* header 헤더 */
header {
	position: fixed;
	/* position: absolute; 상단에 헤더 고정. absolute: 고정적으로, relative: 상대적으로 */
	top: 0;
	left: 0;
	z-index: 100; /* 헤더를 중첩하는 순서. 숫자가 높을 수록 가장 위에 보이게 함. z 좌표 기준(xy 상하 아님). 정확한 특정 값이 아니기에 단위 생략 */
	width: 100%;
	/* background-color: rgba(255, 255, 255, 0.9); */
}

.nohero header {
	position: static;
	border-bottom: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}


/* headA: 사이트 이름 */
.headA {
	display: inline-block;
	line-height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	color: var(--dark-main-color);
	font-family: 'DosMyungjo', sans-serif;
    font-style: normal;
	font-size: 20px;
	text-decoration: none;
}


/* headB: 네비게이션 메뉴 */
.headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--dark-main-color);
}

.headB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headB a:hover {
	color: #e0585d;
	/* background-color: rgba(0, 0, 0, 0.3); */
}

@media (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center; /* 세로 방향으로 중앙 정렬 */
		justify-content: space-between; /* 왼쪽 오른쪽 사이 끝 방향 위치 - 양쪽 정렬 */
		max-width: 1450px;
		margin-left: auto;
		margin-right: auto;
	}

	.headB ul {
		display: flex;
	}
}


/* headC: 토글 버튼 */
@media (max-width: 767px) {
	/* M 전용 설정 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.headC {
		margin-right: 15px;
		padding: 0;
		border: none;
		outline: none;
		background: none;
		font-size: 24px;
		opacity: 0.1;
		cursor: pointer;
		color: var(--dark-main-color);
	}

	.headC:hover {
		opacity: 0.3;
	}

	.headB {
		display: none;
		text-align: right;
		margin-right: 10px;
		margin-bottom: 15px;
	}
}


@media (min-width: 768px) {
	/* PC 전용 설정 */
	.headC {
		display: none;
	}

	.headB {
		display: block !important;
	}
}


/* ------------------------------------------------------------------------------------------------------------------- */


/* M about 페이지: post 작성 */
.post .container {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding: 25px 10px 100px 10px;
	/* background-color: #66CBE5; */
	display: flex;
}

.post .text {
	max-width: 800px;
	text-align: left;
	/* background-color: antiquewhite; */
}

.post h1 {
	padding-left: 0.5rem; /* em: 배수, r: root, 지정된 폰트 사이즈를 기반으로 배수 자동 계산해 적용 */
	/* border-left: solid 0.75rem #B2A83D;
	border-left: solid 0.75rem ver(--accent-color); */
	font-size: 9rem;
	font-family: "Zalando Sans Expanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.post .text2 {
	margin-top: 430px;
	margin-left: 90px;
	max-width: 500px;
}

.post p {
	font-size: 0.7rem;
	text-align: right;
    line-height: 1.6;
}


/* about 페이지: post [width=768px]를 기준으로 */
@media (max-width: 768px) {
	.post .container {
		flex-direction: column; 
		align-items: flex-start;
	}

	.post h1 {
        font-size: clamp(36px, 16vw, 58px);
    }

	.post .text,
	.post .text2 {
		max-width: 100%;          
	}

    .post .text {
		padding: 0;
		margin-bottom: 2px;
	}

	.post .text2 {
        margin-top: 0;   
        margin-left: auto;
		padding: 0 15px 30px 10px;
	}

	.post .text2 p {
		font-size: 0.8rem;
        text-align: right;
        overflow-wrap: break-word; 
        word-break: keep-all;
	}

    .post .text2 p br:nth-of-type(3) {
        display: none;
    }
}


/* ------------------------------------------------------------------------------------------------------------------- */


/* M 소개 페이지: 이미지와 줄글 */
.introduction {
	color: var(--dark-main-color);
}

.introduction .container {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; 
}

.introduction .text {
	padding: 20px 0;
	margin-bottom: 20px;
	display: block;
	flex-direction: initial;
	justify-content: initial;
	text-align: left;
}

.introduction h2 {
	margin-top: 0;
	margin-bottom: 5px;
	font-size: 1.5rem;
	font-family: "Zalando Sans Expanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.introduction p {
	padding-top: 15px;
	font-size: 12px;
    line-height: 1.6;
}

.introduction .photo {
	min-height: 250px;
	background-image: url(img/p01.jpg);
	background-position: center;
	background-size: cover;
	margin-bottom: 20px;
}


/* 소개 페이지: 이미지와 줄글  [width=768px]를 기준으로 */
@media (min-width: 768px) {
	.introduction {
		padding-top: 100px;
		padding-bottom: 150px;
	}

	.introduction .container {
		display: block;
		max-width: 1500px;
		margin-left: auto;
		margin-right: auto;
	}

	.introduction .photo {
		min-height: 400px;
	}

	.introduction .text {
		padding: 80px 0;
		width: 590px;
		margin-left: 150px;
        text-align: left;
	}
}

@media (max-width: 767px) {
    .introduction {
		padding-top: 20px;
        padding-bottom: 60px; 
    }

    .introduction .container {
        padding: 0;
    }

	.introduction .photo {
        min-height: 250px; /* 모바일에서 이미지가 너무 커지지 않도록 조정 */
    }
    
    .introduction .text {
        width: 100%;
        /* padding: 20px 0 40px 0; */
        padding: 20px 20px 40px 20px;
        box-sizing: border-box;
    }

	.introduction h2 {
        margin-bottom: 5px;
    }

	.introduction p {
        padding-top: 5px; 
    }
}


/* ------------------------------------------------------------------------------------------------------------------- */


/* M image-section: 텍스트와 작은 이미지 3개 */
.image-section {
    padding: 50px 0 350px 0;
    color: var(--dark-main-color);
}

.image-section .container {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 50px;
    align-items: center;
}

.image-section .left-text {
    flex-basis: 30%;
    max-width: 30%;
    padding-right: 140px;
	padding-left: 50px;
	padding-bottom: 150px;
}

.image-section .left-text h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
	font-family: "Zalando Sans Expanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.image-section .left-text p {
    padding-top: 15px;
	font-size: 12px;
    line-height: 1.6;
}


.image-section .right-images {
    flex-basis: 70%;
    display: flex; 
    gap: 30px;
    justify-content: space-between;
	align-items: center;
}

.image-section .image-item {
    flex: 1 1 30%; 
    height: 550px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-color);
	position: relative;
}


/* PC 환경에서만 높낮이 조절 */
@media (min-width: 768px) { 
    .image-section .image-item.first-image {
        top: -90px; 
    }

    .image-section .image-item.third-image {
        top: 80px;
    }
}


/* --- 반응형 웹 (767px 이하, 모바일/태블릿) --- */
@media (max-width: 767px) {
    .image-section {
        padding: 50px 0;
    }
    
    .image-section .container {
        flex-direction: column; 
        align-items: center;
        padding: 20px;
    }

    .image-section .left-text {
		order: 2;
        flex-basis: 100%;
        max-width: 100%;
        padding: 20px 10px 50px 10px;
        margin-bottom: 30px; 
    }
    
    .image-section .left-text h2 {
		margin-bottom: 5px;
        font-size: 1.5rem;
    }

	.image-section .left-text p {
        padding-top: 5px;
    }

    .image-section .right-images {
		order: 1;
        flex-basis: 100%;
        width: 100%;
        gap: 10px;
		margin-bottom: 30px;
		padding: 0 15px;
    }

    .image-section .image-item {
        height: 350px;
		position: relative; 
    }

	.image-section .image-item.first-image {
        top: -40px; 
    }

	.image-section .image-item.third-image {
        top: 40px; 
    }
}


/* ------------------------------------------------------------------------------------------------------------------- */


/* M 콘텐츠C: 개요(이미지+글자) */
.conC {
	background: linear-gradient(rgba(114, 114, 114, 0.8), rgba(24, 24, 24, 0.8)), url(img/main2_img.jpg)fixed;
	min-height: 300px;
	color: #fff;
	color: var(--text-bright-color);
	background-size: cover; /* 공간 넘은 부분은 잘리게 */
}


.conC .text {
	padding: 20px;
	display: flex;
	text-align: left; 
	flex-direction: column;
	align-items: flex-start;
	margin-left: 500px;
}


.conC h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 1.5rem;
	font-family: "Zalando Sans Expanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}


.conC p {
	margin-top: 0;
	margin-bottom: 20px;
	padding-top: 15px;
	font-size: 12px;
    line-height: 1.6;
}


.conC a:hover {
	background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
}


/* pc-콘텐츠C: 개요(image+text) [width=768px]를 기준으로 */
@media (min-width: 768px) {
	.conC .container {
		display: flex;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.conC .text {
		flex: 1;
		max-width: 1000px;
		padding: 310px 0 90px 0;
		display: flex;          
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
	}
}

@media (max-width: 768px) {
    .conC {
        min-height: 250px; 
        background-repeat: no-repeat; 
        background-position: center; 
    }

	.conC .text {
		margin-left: 0;
		padding: 250px 20px 40px 20px;;
		width: 100%;
		box-sizing: border-box;
		display: flex;          
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
	}

	.conC .container {
        justify-content: flex-start; 
        align-items: flex-start;
        height: 100%;
    }

	.conC h2 {
        margin-bottom: 5px; 
    }
    
    .conC p {
        padding-top: 10px; 
        margin-bottom: 10px; 
    }
}


/* ------------------------------------------------------------------------------------------------------------------- */


/* M 소개 페이지: 작업 경력, 연혁 */

.history .container {
	max-width: 1400px;
	margin-left: auto;
	margin-right: auto;
	padding: 70px 10px 150px 5px;
	/* background-color: #66CBE5; */
	display: flex;
}

.history .text {
	padding: 20px;
}

.history .text p {
    padding-left: 50px;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 40px; 
    opacity: 0.8;
    max-width: 385px; 
}

.history h1 {
	margin-top: 0;
	margin-bottom: 20px;
	padding-left: 50px;
	font-size: 2rem;
	font-family: "Zalando Sans Expanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.history table {
	border-collapse: collapse;
	font-size: 0.875rem;
	width: 100%; /* 보더가 화면 끝까지 위치하도록 함 */
}

.history tr {
	border-top: solid 1px var(--gray-color);
}

.history tr:first-child {
    border-top: none;
}

.history th, .history td {
	padding-top: 1.8rem;
	padding-bottom: 1.8rem;
	border-bottom: none;
}


.history th { /* th: 좌우 어느쪽으로든 맞추기, td: 왼쪽 정렬 */
	padding-right: 1rem;
	text-align: start; /* 우측 정렬일 경우 end */
	word-break: keep-all; /* keep-all: 줄 바꿈 x 코드. 혹은 th에 width값 적용 */
	font-family: "Zalando Sans Expanded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

.history td {
	padding-left: 40px;
	font-size: 12px;
    line-height: 1.6;
}



/* pc-소개 페이지: 이미지와 연혁 [width=768px]를 기준으로 */
@media (min-width: 768px) {
	.history {
		padding-top: 150px;
		flex-direction: column;
		align-items: flex-start; 
	}

	.history .container {
		display: flex;
		max-width: 1400px;
		margin-left: auto;
		margin-right: auto;
	}

	.history .text,
	.history .text2 {
		max-width: 100%;          
	}

	.history .text {
		flex: 1.5;
		order: 1;
	}

	.history .text2 {
		flex: 2;
		padding: 100px 0 70px 0;
		order: 2;
		margin-top: 40px; 
	}
}

@media (max-width: 768px) {
    .history {
		padding-top: 120px;
	}

	.history .container {
		flex-direction: column;
		align-items: flex-start; 
	}

	.history .text,
	.history .text2 {
		max-width: 100%; 
		margin-top: 0;  
		padding: 0 20px 20px 0; 
	}

	.history .text2 {
		margin-left: 50px;
	}
}


/* ------------------------------------------------------------------------------------------------------------------- */


/* M footer 푸터 */
footer {
	color: var(--dark-main-color);
	background-color: var(--text-bright-color);
	border-top: solid 1px var(--gray-color);
}


footer .container {
	padding: 15px 20px;
}


/* 푸터C: 저작권 */
.footC {
	font-size: 12px;
	text-align: center;
	font-family: 'DosMyungjo', sans-serif;
    font-style: normal;
	width: 100%;
	color: var(--point-color);
	margin-top: 20px;
	
}


/* 푸터B: sns메뉴 */
.footB ul {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--dark-main-color);
	gap: 50px;
	display: flex; 
    justify-content: center;
}


.footB ul li:last-child {
        display: flex;
        align-items: center;
        justify-content: center;
}


.footB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}


.footB ul li:last-child a {
    /* border: solid 1px var(--dark-main-color); */
	border-radius: 2px;
	padding: 2px 18px;
	display: inline-block;
	vertical-align: middle;
}

.footB a:hover {
	color: #e0585d;
}

@media (min-width: 768px) {
	footer .container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		max-width: 1450px;
		margin-left: auto;
		margin-right: auto;
	}

	.footB ul {
		display: flex;
	}

	.footB {
        flex-grow: 0; 
        flex-shrink: 0;
    }

	.footC {
        flex: 0 0 100%;
		/* border-top: solid 1px var(--gray-color); */
        padding-top: 30px; /* 구분선 위쪽 여백 */
        margin: 10px; /* footB와 footC 사이 여백 */
    }
}


@media (max-width: 768px) {
    .footB a {
        padding: 10px 5px;
        font-size: 8px; 
        white-space: nowrap;
    }
    
    .footB ul li:last-child a {
        padding: 2px 10px; 
    }
    
    .footB ul {
        gap: 20px; 
        padding: 0 5px;
    }

	.footC {
        margin-top: 40px; 
    }
}