/******************** 회사소개 ********************/
.company_title {
    color: #000;
    text-align: center;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -1.8px;
    margin-bottom: 1.5rem;

    strong {
        font-weight: 700;
    }
}

.company_sub_title {
    color: #999;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.84px;
    margin-bottom: 3.5rem;
}

.company_info {
    width: 100%;
    height: 26.875rem;
    padding: 1.625rem 2.625rem;
    border-radius: 1.25rem;
    margin-bottom: 4rem;
    display: flex;
    align-items: end;
    position: relative;
    overflow: hidden;
    img {
        width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 0;
		object-fit: cover;
    }
    p {
        color: #FFF;
		font-size: 1.25rem;
		font-weight: 400;
		line-height: 1.6;
		position: relative;
		z-index: 1;
    }
}

.about-card-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.125rem;
}

.about-card {
    height: 29.375rem;
    padding: 1.875rem;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: start;
    gap: 12px;
    position: relative;
    overflow: hidden;

    * {
        z-index: 1;
    }

    h5 {
        color: #fff;
        font-size: 2.25rem;
        font-weight: 700;
    }

    p {
        color: #fff;
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.55;
    }

    img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
        object-fit: cover;
    }
}

.sec-title {
    margin-bottom: 2rem;
    display: flex;
	letter-spacing: -1px;
    align-items: center;
    gap: 0.625rem;

    h4 {
        font-size: 2.5rem;
        font-weight: 300;

        strong {
            font-weight: 600;
        }
    }

    div {
        background-color: #333;
        height: 1px;
        flex: 1;
    }

    p {
        font-size: 1.5rem;
        font-weight: 500;
        letter-spacing: -0.72px;
    }
}

.sec_subtitle {
	margin-bottom: 2rem;
    align-items: center;
    gap: 0.625rem;
	margin-bottom: 3.0rem;

    h4 {
        font-size: 1.6rem;
        font-weight: 400;
		margin-bottom: 1rem;
    }

	 h5 {
		color:#555;
        font-size: 1.2rem;
        font-weight: 400;
    }
}


/******************** 오시는길 ********************/

.location-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
	span {
		color:#a1a1a1;
		padding:0 1.5rem;
	}
}

.location-btn-box {
    display: flex;
    gap: 0.5rem;
}

#location_map { width:100%; height:550px; margin-bottom:2rem; border:1px solid #ccc; border-radius: 0.5rem; background-color:#f5f5f5; }
#location_map .customOverlay { position: relative; border-radius: 6px; border: 1px solid var(--color-secondary); background-color: #fff; padding: 10px 15px; font-weight:600; font-size: 1rem; color:var(--color-secondary); display:flex; align-items: center; }
.customOverlay img { width:25px; display:flex; }
.customOverlay .title { display:flex; padding:5px 0 0 10px; }

[class^="location-btns"] {
    font-size: 1rem;
    font-weight: 500;
    width: 12.75rem;
    padding: 0.75rem 0;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease-in-out;
}

.location-btns-kakao {
	color:#60311D;
	background-color:#FAE100;
	border:1px solid #fff;
}
.location-btns-kakao:hover { 
	color:#60311D;
	background-color:#FAE100;
	border:1px solid #888;
}

.location-btns-naver {
	color:#fff;
	background-color:#03A94D;
	border:1px solid #fff;
}

.location-btns-naver:hover { 
	color:#fff;
	background-color:#03A94D;
	border:1px solid #888;
}

/******************** 게시판 레이아웃 ********************/

/* #nBoardStyle { background:red; } */
#nBoardStyle { width:95%; margin:0 auto; }

/* 게시판 목록 */
#sch_box { padding:0; text-align:right; font-size:1rem; }
#sch_box .selstyle { padding:0.25rem 1rem; border:1px solid #ccc; border-radius:4px; }
#sch_box .inpstyle { margin:0 0.3rem; padding:0.3rem; border:1px solid #ccc; border-radius:4px; }
.schbtnpad { cursor:pointer; padding:0.35rem 1.2rem; background:#000; border:none; border-radius:4px; color:#fff; }
.schbtnpad:hover, .schbtnpad:focus { background:#7cc144; }
#list_cnt { margin:0 auto; margin-top:1.5rem; }
#list_cnt span { color:#005b8e; font-weight: 500; }

.brdlist { width:100%; margin-top:0.5rem; border-spacing:0; }
.brdlist th { padding:1rem; color:#000; background-color:#f5f5f5; border-top:2px solid #333; border-bottom:1px solid #333; }
.brdlist td { padding:1rem; border-bottom:1px solid #777; text-align:center; }
.brdlist td.sjt { text-align:left; }
.brdlist td a { display:inline; }
.comt { color:#ff7800; }


/* 게시판 버튼 영역 */
#btn_group { width:100%; margin-top:50px; display:flex; justify-content:space-between; }
.btn_left { width:25%; text-align: left; }
.btn_center { width:50%; text-align: center; }
.btn_right { width:25%; text-align: right; }
#btn_group .btnpad { cursor:pointer; padding:0.5rem 1.5rem; }
.btnpad { background:#000; border:1px solid #ccc; border-radius:4px; color:#fff; }
.btnpad:hover, .btnpad:active, .btnpad:focus { background:#7cc144; border:1px solid #7cc144; }
.btnsubmit { cursor:pointer; padding:0.5rem 1.5rem; background:#205aba; border:1px solid #205aba; border-radius:4px; color:#fff; }
.btnsubmit:hover, .btnsubmit:active, .btnsubmit:focus { cursor:pointer; padding:0.5rem 1.5rem; background:#7cc144; border:1px solid #ccc; color:#fff; }


/* 게시판 갤러리 */
#gallery_list { width:750px; padding-bottom:15px; border-top:2px solid #a3cc59; border-bottom:2px solid #a3cc59; }
.gallery_ul1 { width:635px; margin-left:20px; padding-top:15px; }
.gallery_ul2 { width:635px; margin:15px 0 0 20px; padding-top:15px; border-top:1px solid #a3cc59; }
#gallery_list li { float:left; margin-right:25px; }
#gallery_list li.right { margin-right:0; }
#gallery_list .pic { width:137px; height:103px; border:1px solid #abc7b7; padding:1px 0 0 1px; }
#gallery_list .title { width:140px; height:32px; margin-top:9px; font-weight:bold; line-height:16px; }
#gallery_list .title a { color:#997152; display:inline; }
#gallery_list .title a:hover, #gallery_list .title a:focus { text-decoration:underline; }
#gallery_list .date { width:140px; height:16px; }


/* 목록 페이징 */
.pagination { margin-top:3rem; display:flex; justify-content:center; align-items:center; gap:0.4rem; }
.pagination :is(a, strong, span) { display:inline-flex; justify-content:center; align-items:center; position:relative; box-sizing:border-box; min-width:2.5rem; height:2.5rem; border-radius:4px; background:#fff; font-size:1rem; color:#666; text-decoration:none; }
.pagination :is(.page_prev, .page_next) { margin:0 0.7rem;; overflow:hidden; width:2.5rem; gap:0.4rem; border:1px solid #ccc; }
.pagination .page_prev:before { content:''; width:8px; height:13px; background:url('../images/board/page_prev.png') no-repeat 0 0; background-position:0 2px; }
.pagination .page_next:after { content:''; width:8px; height:13px; background:url('../images/board/page_next.png') no-repeat 0 0; background-position:0 2px; }
.pagination strong { position:relative; z-index:10; border:none; background:#3581de; color:#fff; }
.pagination a:hover, .pagination a:focus { background:#e6f0f7; }
.pagination span:hover { background:#e6f0f7; }


/* 글쓰기 개인정보 동의 */
#agreeBox { width:100%; margin:3rem 0; padding:1.5rem 0; border:1px solid #777; background:#f5f5f5; border-radius:4px; }
.termsTit { margin:0.5rem 2rem; font-size:1.3rem; font-weight:500; }
#privacy { width:96%; height:200px; margin:0 auto; padding:1rem; line-height:1.5rem; border:1px solid #999; overflow:auto; text-align:justify; border-radius:4px; background:#fff; }
#privacy strong { font-size:1.1rem; font-weight:500; display:block; margin-bottom:0.5rem; }
#privacy ul { margin:0.8rem 1.5rem; list-style:circle; }
#privacy ul li p { margin-top:0.5rem; list-style:circle; }
#privacy ol { list-style:decimal; }
.agreebtn { margin:0.5rem 2rem; margin-top:1rem; }


/* 게시판 글쓰기 */
#write_dsc { width:100%; margin:0.5rem 0; }
.brdwrite { width:100%; border-top:1px solid #777; }
.brdwrite th { padding:1rem; border-bottom:1px solid #777; background:#f5f5f5; font-weight:500; }
.brdwrite td { padding:1rem; border-bottom:1px solid #777; }
.brdwrite th strong { color:#005b8e; }
.brdwrite td input.gray { padding:0.3rem; border:1px solid #ccc; border-radius:4px; }
.brdwrite td textarea { width:79%; min-height:400px; margin:0; border:1px solid #ccc; border-radius:4px; }
#write_text_box { width:100%; margin-top:0.5rem; }


/* 게시판 글보기 */
.brdview { width:100%; margin-top:5rem; }
.brdview th { padding:1rem; border-bottom:1px solid #777; background:#f5f5f5; }
.brdview td { padding:1rem; border-bottom:1px solid #777; background:none; }
.brdview th.fir { border-top:1px solid #777; }
.brdview td.fir { font-size:1.8rem; font-weight:600; border-top:3px solid #333; text-align:center; }
.brdview td.dlist { display:flex; flex-wrap:wrap; gap:1rem 5rem; }
.brdview td dl { display:flex; }
.brdview td dl dt { display:flex; align-items:center; padding:0 1.5rem; font-weight:600; background: linear-gradient(#ccc, #ccc) no-repeat 100% 50%/1px 15px; }
.brdview td dl dd { margin:0 1.3rem; padding:0 1rem);}
.brdview td a { display:inline; }
#view_con { width:100%; min-height:400px; display: block; margin:0; padding:2rem 1rem;; border-bottom:1px solid #777; line-height:2rem; clear: both; overflow-x:auto; word-break: break-all; }
#view_con table { max-width:100% !important; table-layout: fixed; }
#view_con a { display:inline; }

.view_comment { width:100%; border-bottom:1px solid #777; }
.view_comment th, .view_comment td { border-top:1px solid #777; border-bottom:1px solid #777; }
.view_comment th { padding:1rem; background:#f5f5f5; }
.view_comment th p { margin-top:3px; font-weight:400; }
.view_comment td.con { padding:1.5rem; text-align:justify; }
.view_comment td.btn { text-align:center; }
.view_comment td a { padding:0.3rem 1rem; line-height:0rem; font-size:1rem; font-weight:400; background:#999; border:1px solid #ccc; border-radius:4px; color:#fff; }
.view_comment td a:hover, .view_comment td a:focus { font-weight:400; background:#4572b8; color:#fff; }

#comment_box { width:100%; padding:1rem; margin-top:3rem; border-top:1px solid #777; border-bottom:1px solid #777; }
#cbox01 { width:8%; float:left; text-align:center; padding:0.8rem; }
#cbox01  p { margin-top:1.3rem; }
#cbox02 { width:12%; float:left; padding:0.5rem; }
#cbox02  p { margin-top:0.8rem; }
#cbox03 { width:70%; float:left; padding:0.8rem; }
#cbox04 { width:10%; float:left; padding:0.8rem 0; text-align:center; }
#cbox02 input { width:100%; margin-top:5px; border:1px solid #ccc; border-radius:4px; }
#cbox03 #cmt_con { width:100%; height:70px; border:1px solid #ccc; border-radius:4px; }

#cbox04 .btnpad { padding:1.38rem 1.5rem; background:#999; border:1px solid #ccc; color:#fff; }
#cbox04 .btnpad:hover, #cbox04 .btnpad:focus { background:#4572b8; color:#fff; }

.prenext { width:100%; margin-top:3rem; border-top:1px solid #777; }
.prenext th { padding:1rem; background:#f5f5f5; border-bottom:1px solid #777; }
.prenext td { padding:1rem; border-bottom:1px solid #777; }
.prenext td a { display:inline; }
.prenext td.bdate { text-align:right; }


/* 삭제 확인 창 */
#delcmt { width:90%; margin:0 auto; margin-top:1rem; }
#delcmt strong { padding:1rem; padding-bottom:0; display:block; font-size:1.5rem; font-weight:500; }
#delcmt span.info { margin:1rem; padding-left:1.5rem; display:block; background:url('../images/board/info.png') no-repeat 0 0; background-position:0px 4px; }
#delcmt_con { width:100%; margin:0 auto; padding:2rem; font-weight:500; text-align:center; background:#f1f1f1; border:1px solid #ccc; border-radius:4px; }
#delcmt_con .del_pwd { padding:0.3rem; border:1px solid #ccc; margin-left:10px; border-radius:4px; }
#delcmt_btn { width:100%; margin-top:1.5rem; text-align:center; }
#delcmt_btn .btnpad { cursor:pointer; padding:0.5rem 1.5rem; }


/* 로그인 페이지 */
.logon-info h5 ul { width:50%; margin:0 auto; padding-left:1.5rem; list-style:circle; }
.logonTit { width:50%; margin:0.8rem auto; text-align:center; }
.logonTit h4 strong { color:var(--color-secondary); }
.logonCon { width:50%; padding:3rem 0; margin:0 auto; margin-bottom:2rem; border:1px solid #ccc; border-radius: 0.5rem; background:#f5f5f5; }

#loginBox { width:50%; margin:0 auto; text-align:center; }
#loginBox h5 { margin-bottom:0.5rem; font-size:1.2rem; font-weight:500; color:#333; }
#login_input, #login_btn { width:70%; margin:0 auto; }
#login_input .textBox { width:100%; margin:0.5rem 0; padding:0.5rem; border:1px solid #ccc; border-radius:4px; }
#login_btn .logbtn { width:100%; margin:0.5rem 0; padding:0.6rem; background:#205aba; border:1px solid #205aba; border-radius:4px; color:#fff; }
#login_btn .logbtn:hover { background:#7cc144; border:1px solid #7cc144; }


/* 제품문의 페이지 */
.form-box { width:60%; margin:0 auto; margin-bottom: 2rem; padding:3rem 1.5rem; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem; background:#f5f5f5; border-radius:20px; }
.form-section { display: flex; align-items: center; gap: 0.75rem;
    h6 { text-align: center; font-weight: 500; width: 6.25rem; }
	h6  span { color:#005b8e; }
    div { width: 40rem; }
	select { background: #FFF; width: 40%; padding:0.5rem 1rem; border-radius: 8px; border: 1px solid #D9D9D9; }
    input { background: #FFF; width: 100%; height: 2.75rem; padding: 0 1rem; border-radius: 8px; border: 1px solid #D9D9D9; }
	input::placeholder { color: #bbb; }
    textarea { background: #FFF; width: 100%; height: 7rem; padding: 1rem; border-radius: 8px; border: 1px solid #D9D9D9; resize: none; }
	textarea::placeholder { color: #bbb; }
}
.textarea-section { align-items: flex-start; 
	h6 { padding-top: 0.75rem; }
}
.form-btn-box { width:60%; margin:0 auto; display:flex; justify-content:center; align-items:center; }


/* 개인정보 수집 동의 */
.km-privacy-integrated-box { width:60%; margin:0 auto; margin-bottom: 2rem; padding:2rem; border:1px solid #D9D9D9; border-radius:20px; }
.km-privacy-label, .km-privacy-label label { padding-left:0.3rem; }
.privacy-detail-text { font-size:1rem; line-height:1.9rem; color:#666; border-top:1px solid #e5e5e5; margin-top:0.8rem; padding-top:0.8rem; word-break:keep-all; }
.privacy-detail-text strong { font-weight:600; color:#333; }


/******************** 반응형 사이즈 구현 ********************/

@media screen and (max-width: 1600px) {
    .about-card-box {
        grid-template-columns: repeat(2, 1fr);
        transition-delay: 0 !important;
    }
}

@media screen and (max-width: 1400px) {
    .company_title {
        font-size: 3rem;
    }

	.location-info {
		h4 {
			font-size: 1.4rem;
			font-weight: 400;
			margin-bottom: 1rem;
		}
		span {
			padding:0 0.75rem;
		}
	}

	[class^="location-btns"] {
		font-size: 1rem;
		font-weight: 500;
		width: 11rem;
		padding: 0.5rem 0;
		border-radius: 0.5rem;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: all 0.2s ease-in-out;
	}
}

@media screen and (max-width: 1024px) {
	.company_title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .company_sub_title {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .company_info {
        height: 21.25rem;
        padding: 1.625rem 0.75rem;
        margin-bottom: 3.75rem;
    
        p {
            font-size: 1rem;
            word-break: keep-all;
			font-weight:500;
        }
    }

    .about-card {
        h5 { font-size: 2rem; }
        p { font-size: 1.125rem; }
    }

    .sec-title {
        margin-bottom: 1.25rem;

        h4 { font-size: 2rem; }
        p { font-size: 1.125rem; }
    }

	.sec_subtitle {
	    h4 { font-size: 1.4rem; font-weight: 400; margin-bottom: 1rem; }
		h5 { color:#555; font-size: 1rem; font-weight: 400; }
	}

	.location-info {
		display:block;
		margin-bottom: 1.0rem;
		h4 {
			font-size: 1.4rem;
			font-weight: 400;
			margin-bottom: 1rem;
		}
	}

	[class^="location-btns"] {
		font-size: 1rem;
		font-weight: 500;
		width: 12.75rem;
	    padding: 0.75rem 0;
		border-radius: 0.5rem;
		display: flex;
		justify-content: center;
		align-items: center;
		transition: all 0.2s ease-in-out;
	}    
}

@media screen and (max-width: 768px) {
	.company_title p {
        font-size: 1rem;
    }

    .about-card-box {
        grid-template-columns: repeat(1, 1fr);
    }

    .about-card {
        height: 18.75rem;
        transition-delay: 0s !important;
    }

    .sec-title {
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
        margin-bottom: 2rem;

        div {
            display: none;
        }
    }
}

@media screen and (max-width: 480px) {
	.company_title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .company_info {
        height: 17.25rem;

        p {
            font-size: 0.9rem;
            text-align: center;
        }
    }

    .sec-title h4 { font-size: 1.75rem; }
    
	.sec-title p { font-size: 1rem; }

	.sec_subtitle {
	    h4 { font-size: 1.2rem; font-weight: 400; margin-bottom: 1rem; }
		h5 { color:#555; font-size: rem; font-weight: 400; }
	}

	.location-info {
		display:block;
		margin-bottom: 0.5rem;
		 text-align: center;

		h4 {
			font-size: 1.2rem;
			font-weight: 400;
			margin-bottom: 1rem;
		}
	}
}
