*{ box-sizing: border-box; }
figure{ display: inline-block; margin: 0; }
select::-ms-expand { display: none; }
select { 
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none;
	outline: none;
}
input{ outline: none; border: none; }
input[type="submit"],input[type="button"], input[type="file"],
input[type="text"], button { appearance: none; -moz-appearance: none; -webkit-appearance: none; border-radius: 0;-webkit-border-radius: 0; -moz-border-radius: 0; }
input[type="checkbox"]{ padding: 0 !important; }


/* paging 변수 */
.paging{ --pagingNumC : #888; --pagingArrowC: #888; --aSize: 34px; --pagingMarTop: 80px; }

.paging{ display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center; -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; }
.paging a{ letter-spacing: 0; }
.paging .arr{ display:flex; }
.paging .arr a.last i,
.paging .arr a.first i{ display: inline-block; -webkit-transform:translateX(-5px); transform:translateX(-5px); letter-spacing: -10px; }
.paging a{ display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center; -webkit-box-pack:center; -ms-flex-pack:center; justify-content:center; }
.paging ul{ display:flex; -webkit-box-align:center; -ms-flex-align:center; align-items:center; margin:0 5px;}
.paging .arr a:not(:last-child),.paging ul li:not(:last-child){ margin-right:5px; }

/* 커스텀 */
.paging{ margin-top: var(--pagingMarTop); }
.paging a{ width:var(--aSize); height:var(--aSize); color: var(--pagingNumC); font-family: var(--engFont);  line-height: var(--aSize); font-weight: 500; font-size: 18px; border:none; }
.paging ul li.on a { color:#fff; background: var(--mainColor); border-color: var(--mainColor); }
.paging .arr a{ border:none; color: var(--pagingArrowC); }
.paging .arr a.first i{ transform:translateX(-6px); }
.paging .arr a.last i{ transform:translateX(-4px); }
.paging .arr a.first i:first-of-type{ transform:translateX(-5px); }
.paging .arr a.last i:last-of-type{ transform:translateX(-5px); }

@media screen and (max-width: 1280px){
	.paging{
		--aSize: 30px;
	}
	
	.paging a{ font-size: 16px; }
}

@media screen and (max-width:600px) {
	.paging{ 
		--pagingMarTop: 50px;
	}
	
	.paging a{ font-size: 15px; }
	.paging .arr a:not(:last-child), .paging ul li:not(:last-child){ margin-right: 0; }
}


/* board-top */
.board_ctn .board-top{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.board_ctn .board-top .all p{ font-size: 2rem; font-weight: 600; color: #212121; }
.board_ctn .board-top .all p span{ color: var(--mainColor); }

/* 검색창 변수 */
.search_box{ --height: 60px; --padding: 30px; }

/* 검색창 */
.search_box{ display: flex; justify-content: flex-end; align-items: center; }
.search_box *{ font-size: 1.8rem; font-weight: 500; color: #212121; }
.search_box .input{ width: 520px; position: relative; }
.search_box .input input{ width: 100%; height: var(--height); padding-left: var(--padding); padding-right: var(--height); border-bottom: 1px solid #888; }
.search_box .input input:placeholder{ color: #666; }
.search_box .input button{ width: var(--height); height: var(--height); background: none; border: none; position: absolute; top: 0; right: 0; }

@media screen and (max-width: 1600px){
	/* 검색창 */
	.search_box{ 
		--height: 55px;
	}
	.search_box *{ font-size: 1.7rem; }
}

@media screen and (max-width: 1280px){
	/* board-top */
	.board_ctn .board-top{ margin-bottom: 20px; }
	.board_ctn .board-top .all p{ font-size: 1.8rem; }

	/* 검색창 */
	.search_box{  
		--height: 50px;
		--padding: 20px;
	}

	.search_box *{ font-size: 1.6rem; }
}

@media screen and (max-width: 900px){
	.board_ctn .board-top{ flex-direction: column-reverse; }
	.board_ctn .board-top form{ width: 100%; }
	.board_ctn .board-top .all{ width: 100%; margin-top: 30px; }

	.search_box{ width: 100%; }
	.search_box .input{ max-width: 520px; width: 100%; }
}


/* 기본 게시판 */
.board_box{ border-top: 1px solid #000; }
.board_box colgroup col{ width: 100%; }
.board_box colgroup col:nth-of-type(1){ width: 150px; }
.board_box colgroup col:nth-of-type(2){  }
.board_box colgroup col:nth-of-type(3){ width: 300px; }
.board_box colgroup col:nth-of-type(4){ width: 300px; }
.board_box colgroup col:nth-of-type(5){ width: 150px; }

.board_box table tr{ position: relative; border-bottom: 1px solid #e0e0e0; }
.board_box table th{ position: relative; font-size: 17px; font-weight: 700; color: #111; padding: 40px 10px; }
.board_box table th::after{ content:""; width: 1px; height: 15px; background: #e0e0e0; position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
.board_box table th:last-of-type::after{ display: none; }
.board_box table td{ font-size: 16px; font-weight: 400; color: #666; padding: 40px; text-align: center; }
.board_box table td a{ display: block; font-size: 17px; font-weight: 600; color: #222; text-align: left; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

.board_box table thead{ background: #f9f9f9; }
.board_box table tbody tr::after{ content: ""; width: 100%; height: 1px; background: var(--mainColor); position: absolute; bottom: -1px; left: 0; transform: scaleX(0); transform-origin: left; transition: transform 1s; }

/* 기본 게시판 - 공지 */
.board_box table .notice td{ background: #FFF7F8; }
.board_box table .notice td i{ color: var(--mainColor); }

@media screen and (hover: hover){
    .board_box table tbody tr:hover::after{ transform: scaleX(1); }
}


/* 이미지 게시판 (세로형) 변수 */
.img_borad_list{ --gapB: 70px; --gapR: 40px; --line: 4; }

/* 이미지 게시판 (세로형) */
.img_borad_list{ display: flex; flex-wrap: wrap; gap: var(--gapB) var(--gapR); }
.img_borad_list .item{ width: calc((100% - calc(var(--gapR) * (var(--line) - 1))) / 4); }
.img_borad_list .item .figure{ transform: scale(0.8); transition: transform 0.5s; }
.img_borad_list .item .figure figure{ width: 100%; position: relative; overflow: hidden; padding-bottom: 68%; }
.img_borad_list .item .figure figure img{ width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.img_borad_list .item .txt{ padding-top: 25px; }
.img_borad_list .item .txt h2{ font-size: 20px; font-weight: 600; color: #222; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.img_borad_list .item .txt p{ display: -webkit-box; height: 3.17648em; font-size: 17px; font-weight: 400; color: #666; line-height: 1.58824; word-break: break-word; white-space: normal; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 10px; }

/* 제목 + 조회수 + 날짜 */
.img_borad_list .item .txt ul{ display: flex; justify-content: space-between; border-top: 1px solid #E8E8E8; padding-top: 15px; margin-top: 15px; }
.img_borad_list .item .txt ul li{ font-size: 16px; font-weight: 400; color: #888; }
.img_borad_list .item .txt ul li img{ vertical-align: middle; transform: translateY(-0.05em); margin-right: 3px; }

/* (style02) */
.img_borad_list.style02 .item{ border: 1px solid #e0e0e0; }
.img_borad_list.style02 .item .txt{ padding: 40px; }
.img_borad_list.style02 .item .txt .tag{ display: inline-block; border: 1px solid var(--mainColor); border-radius: 15px; font-size: 15px; font-weight: 600; color: var(--mainColor); line-height: 1; padding: 7px 15px; margin-bottom: 15px; }

@media screen and (hover: hover){
	.img_borad_list .item:hover .figure{ transform: scale(1); }
}


/* 이미지 게시판 (가로형) 변수 */
.img_horizontal_list{ --img: 460px; }

/* 이미지 게시판 (가로형) */
.img_horizontal_list{ border-top: 1px solid #000; }
.img_horizontal_list .item{ display: flex; align-items: center; border-bottom: 1px solid #e0e0e0; padding: 50px 30px; position: relative; }
.img_horizontal_list .item::after{ content: ""; width: 100%; height: 1px; background: var(--mainColor); position: absolute; bottom: -1px; left: 0; transform: scaleX(0); transform-origin: left; transition: transform 1s; }

.img_horizontal_list .figure{ width: var(--img); }
.img_horizontal_list .figure figure{ width: 100%; position: relative; overflow: hidden; padding-bottom: 58.696%; }
.img_horizontal_list .figure figure img{ width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.img_horizontal_list .txt{ width: calc(100% - var(--img)); padding-left: 60px; }
.img_horizontal_list .txt h2{ font-size: 28px; font-weight: 600; color: #222; }
.img_horizontal_list .txt p{ height: 4.76472em; display: -webkit-box; font-size: 17px; font-weight: 400; color: #666; line-height: 1.58824; white-space: normal; text-overflow: ellipsis; overflow: hidden; word-wrap: break-word; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin: 25px 0 45px; }
.img_horizontal_list .txt span{ font-size: 17px; font-weight: 400; color: #666; }

.img_horizontal_list a{ position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 10; }

@media screen and (hover: hover){
	.img_horizontal_list .item:hover::after{ transform: scaleX(1); }
}


/* 채용 리스트 */
.recruit-box{ --gap: 20px; --line: 3; }

.recruit-box{ display: flex; flex-wrap: wrap; margin-bottom: calc(var(--gap) * -1); }
.recruit-box .item{ width: calc((100% - calc(var(--gap) * (var(--line) - 1))) / var(--line)); border: 1px solid #DDD; padding: 55px 45px; margin-right: var(--gap); margin-bottom: var(--gap); }
.recruit-box .item:nth-of-type(3n){ margin-right: 0; }
.recruit-box .item .category{ display: block; font-size: 1.8rem; font-weight: 600; color: var(--mainColor); letter-spacing: -0.02em; }
.recruit-box .item h6{ height: 2.8em; display: -webkit-box; font-size: 2.6rem; font-weight: 600; color: #212121; letter-spacing: -0.02em; line-height: 1.4; white-space: normal; text-overflow: ellipsis; overflow: hidden; word-wrap: break-word; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 25px 0; }
.recruit-box .item p{ display: flex; font-size: 1.8rem; font-size: 400; color: #666; margin-left: -15px; margin-bottom: 25px; }
.recruit-box .item p span{ display: inline-block; padding: 0 15px; }
.recruit-box .item p .progress{ font-weight: 500; position: relative; }
.recruit-box .item p .progress::after{ content: ""; width: 1px; height: 18px; background: #BEBEBE; position: absolute; top: 50%; right: 0; transform: translate(50%, -50%); }
.recruit-box .item ul{ display: flex; flex-wrap: wrap; margin: -2px; }
.recruit-box .item ul li::before{ content: "#"; }
.recruit-box .item ul li{ font-size: 1.6rem; font-weight: 500; color: #999; line-height: 1; padding: 8px 15px; border: 1px solid #DDD; border-radius: 99px; margin: 2px; }

.recruit-box .item.end *{ color: #999 !important; }

@media screen and (max-width: 1600px){
	.recruit-box .item{ padding: 45px 35px; }
	.recruit-box .item .category{ font-size: 1.7rem; }
	.recruit-box .item h6{ font-size: 2.6em; }
	.recruit-box .item p{ font-size: 1.7rem; }
}

@media screen and (max-width: 1280px){
	.recruit-box .item{ padding: 35px 25px; }
	.recruit-box .item .category{ font-size: 1.6rem; }
	.recruit-box .item h6{ font-size: 2.4rem; margin: 15px 0; }
	.recruit-box .item p{ font-size: 1.6rem; margin-bottom: 15px; }
	.recruit-box .item ul li{ font-size: 1.5rem; }
}

@media screen and (max-width: 1150px){
	.recruit-box{ --line: 2; }
	.recruit-box .item:nth-of-type(3n){ margin-right: var(--gap); }
	.recruit-box .item:nth-of-type(2n){ margin-right: 0; }
}

@media screen and (max-width: 900px){
	.recruit-box .item{ padding: 25px; }
	.recruit-box .item h6{ font-size: 2.2rem; margin: 10px 0; }
	.recruit-box .item p{ margin: 0 -10px; margin-bottom: 10px; }
	.recruit-box .item p span{ padding: 0 10px; }
	.recruit-box .item ul li{ padding: 6px 10px; }
}

@media screen and (max-width: 800px){
	.recruit-box .item{ width: 100%; margin-right: 0 !important; }
}



/* 상세 페이지 변수 */
.view_ctn{ --border: 1px solid #DDD; --dt: 190px; --dd: calc(100% - var(--dt)); }

/* 상세 페이지 */
.view_ctn{ border-top: 2px solid var(--mainColor); }
.view_ctn .tit{ background: var(--grayBg); padding: 45px 50px; border-bottom: var(--border); }
.view_ctn .tit .category{ display: block; font-size: 1.8rem; font-weight: 600; color: var(--mainColor); letter-spacing: -0.02em; }
.view_ctn .tit h2{ font-size: 4rem; font-weight: 600; color: #212121; letter-spacing: -0.02em; line-height: 1.4; margin: 15px 0; }
.view_ctn .tit p{ font-size: 1.8rem; font-weight: 400; color: #666; letter-spacing: -0.02em; margin: 0 -15px; }
.view_ctn .tit p span{ display: inline-block; padding: 0 15px; position: relative; }
.view_ctn .tit p span.progress{ font-weight: 500; }
.view_ctn .tit p span.progress::after{ content: ""; width: 1px; height: 18px; background: #BEBEBE; position: absolute; top: 50%; right: 0; transform: translate(50%, -50%); }

.view_ctn .file_box{ padding: 12px 50px; border-bottom: var(--border); }
.view_ctn .file_box ul li a{ max-width: 100%; display: inline-block; font-size: 1.8rem; font-weight: 400; color: #444; letter-spacing: -0.02em; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: 5px 0; padding-left: 35px; position: relative; }
.view_ctn .file_box ul li a::before{ content: ""; width: 18px; height: 18px; background: url("/img/sub/view_file_icon.svg") no-repeat center center / contain; position: absolute; top: 50%; left: 0; transform: translateY(-50%); }

.view_ctn .info{ padding: 80px 50px; font-size: 16px; color: #212121; }

.view_ctn .pages dl{ display: flex; flex-wrap: wrap; align-items: baseline; border-top: var(--border); border-bottom: var(--border); }
.view_ctn .pages dl *{ font-size: 18px; }
.view_ctn .pages dl:not(:last-of-type){ margin-bottom: 10px; }
.view_ctn .pages dl dt{ width: var(--dt); font-weight: 500; color: #222; padding: 24px 30px; position: relative; }
.view_ctn .pages dl dt::after{ content: ""; width: 1px; height: 35px; background: #DDD; position: absolute; top: 50%; right: 0; transform: translate(-50%, -50%); }
.view_ctn .pages dl dd{ width: var(--dd); position: relative; }
.view_ctn .pages dl dd a{ display: block; font-weight: 400; color: #666; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; padding: 25px 30px; padding-right: 160px !important; }
.view_ctn .pages dl dd span{ font-size: 1.8rem; font-weight: 400; color: #666; letter-spacing: -0.02em; position: absolute; top: 50%; right: 30px; transform: translateY(-50%); }

.view_ctn .pages dl dt::before{ content: ""; display: inline-block; width: 15px; height: 8px; margin-right: 40px; vertical-align: middle; position: relative; }
.view_ctn .pages dl dt.prev::before{ background: url("/img/sub/prev_page.svg") no-repeat center center / contain; top: -1px; }
.view_ctn .pages dl dt.next::before{ background: url("/img/sub/next_page.svg") no-repeat center center / contain; }

.view_ctn .list_btn{ display: flex; justify-content: center; margin-top: 80px; }
.view_ctn .list_btn a:not(:last-of-type){ margin-right: 15px; }
.view_ctn .list_btn a{ width: 250px; height: 65px; display: flex; justify-content: center; align-items: center; background: var(--mainColor); font-size: 1.8rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.view_ctn .list_btn a.grayBtn{ background: #888; }

@media screen and (max-width: 1600px){
	.view_ctn{
		--dt: 160px;
	}

	.view_ctn .tit{ padding: 35px 40px; }
	.view_ctn .tit h2{ font-size: 3.5rem; }
	.view_ctn .tit .category{ font-size: 1.7rem; }
	.view_ctn .tit p{ font-size: 1.7rem; }

	.view_ctn .file_box{ padding: 12px 40px; }
	.view_ctn .file_box ul li a{ font-size: 1.7rem; }

	.view_ctn .info{ padding: 60px 40px; }

	.view_ctn .pages dl *{ font-size: 17px; }
	.view_ctn .pages dl dt{ padding: 20px 25px; }
	.view_ctn .pages dl dt::before{ margin-right: 30px; }
	.view_ctn .pages dl dd a{ padding: 20px 25px; padding-right: 140px !important; }
	.view_ctn .pages dl dd span{ font-size: 1.7rem; right: 25px; }

	.view_ctn .list_btn{ margin-top: 60px; }
	.view_ctn .list_btn a{ width: 200px; height: 60px; }
}

@media screen and (max-width: 1280px){
	.view_ctn{
		--dt: 120px;
	}

	.view_ctn .tit{ padding: 25px 30px; }
	.view_ctn .tit h2{ font-size: 3rem; }
	.view_ctn .tit .category{ font-size: 1.6rem; }
	.view_ctn .tit p{ font-size: 1.6rem; margin: 0 -10px; }
	.view_ctn .tit p span{ padding: 0 10px; }
	.view_ctn .tit p span.progress::after{ height: 10px; top: 40%; }

	.view_ctn .file_box{ padding: 10px 30px; }
	.view_ctn .file_box ul li a{ font-size: 1.6rem; padding-left: 25px; }
	.view_ctn .file_box ul li a::before{ width: 15px; height: 15px; }

	.view_ctn .info{ padding: 40px 30px; }

	.view_ctn .pages dl *{ font-size: 16px; }
	.view_ctn .pages dl dt{ padding: 15px 20px; }
	.view_ctn .pages dl dt::before{ width: 10px; margin-right: 10px; }
	.view_ctn .pages dl dt::after{ height: 20px; }
	.view_ctn .pages dl dd a{ padding: 15px 20px; padding-right: 135px !important; }
	.view_ctn .pages dl dd span{ font-size: 1.6rem; right: 20px; }

	.view_ctn .list_btn{ margin-top: 40px; }
	.view_ctn .list_btn a{ width: 150px; height: 55px; font-size: 1.7rem; }
}

@media screen and (max-width: 900px){
	.view_ctn .tit{ padding: 15px 20px; }
	.view_ctn .tit h2{ font-size: 2.6rem; }
	.view_ctn .tit .category{ font-size: 1.5rem; }

	.view_ctn .file_box{ padding: 7px 20px; }

	.view_ctn .info{ padding: 30px 20px; }
}
