@charset "UTF-8";

header {
    width: 100%; padding:0 0; border-bottom:0px solid #dedede;
    z-index: 100;
    top: 0px;
    position: fixed;
    background-color: #fff;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;	
}

/* 헤더 */
header .wrapper { display:flex; justify-content:space-between; flex-wrap:wrap; margin:0 auto; padding:30px 0; width:90%; max-width:100%; }
header .wrapper .logo { margin:auto 0; z-index:9; }
header .wrapper .logo img { height: 40px; transition: all 0.3s ease; }
header .wrapper .gnb-wrap { display: flex; margin:auto 0; }
header .wrapper .gnb-wrap .gnb-ico { display: flex; margin: auto 0; font-size: 1.1rem; font-weight: 800; color: #111; }
header .wrapper .gnb-wrap .gnb-ico .gnb-tel { display:inline-block; background:url(../images/gnb-tel.png) no-repeat; background-size: 25px; width: 35px; }
header .wrapper .gnb-wrap .gnb-btn { display:flex; border-radius:30px; background:#ffc501; padding:7px 20px; margin-left:30px; transition:.3s; }
header .wrapper .gnb-wrap .gnb-btn a { font-size:0.95rem; font-weight:700; color:#111; }

/* 1) 배경이 어두울 땐 로고, 메뉴, 전화번호 흰색으로 변경 (반투명 배경 및 하단선 제거) */
header.dark-background {
    background-color: transparent !important; /* 배경을 완전히 투명하게 처리 */
    border-bottom: none !important;           /* 하단 라인선 삭제 */
}
header.dark-background .logo img {
    filter: brightness(0) invert(1);
}
header.dark-background .gnb-ico .gnb-tel {
    filter: brightness(0) invert(1);
}
header.dark-background .gnb-ico {
    color: #fff !important;
}
header.dark-background .nav_title a {
    color: #fff !important; opacity: .7;
}
header.dark-background .nav_title a:hover {
    color: #fff !important; opacity: 1.0;
}
header.dark-background .nav_sub a {
    color: #494230 !important;
}
header.dark-background .wrapper .gnb ul li span {
    color: #fff !important;
}
header.dark-background div#burgerbtn {
    color: #fff !important;
}
header.dark-background div#burgerbtn img {
    filter: brightness(0) invert(1);
}

/* 2) 흰색, 밝은 배경일 땐 로고, 메뉴, 전화번호 블랙(기본)으로 변경 */
header.light-background, header:not(.dark-background) {
    background-color: #fff;
}
header.light-background .logo img, header:not(.dark-background) .logo img {
    filter: none;
}
header.light-background .nav_title a, header:not(.dark-background) .nav_title a {
    color: #111;
}
header.light-background .nav_title a:hover, header:not(.dark-background) .nav_title a:hover {
    color: #0002af;
}
header.light-background div#burgerbtn img, header:not(.dark-background) div#burgerbtn img {
    filter: none;
}

/* 푸터 */
footer { padding:80px 0 60px; background:#111; }
footer .wrapper { margin:0 auto; width:90%; }
footer .ft-head { display:flex; flex-wrap:wrap; }
footer .ft-head .customer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px; margin-left: auto; }
footer .ft-head .customer ul li { margin:5px 0; font-size:0.9rem; color:#cacaca; }
footer .ft-head .customer ul li.tit { margin-bottom: 10px; font-size: 1.1rem; font-weight: 600; color: #fff; }
footer .ft-head .customer ul li span { display: inline-block; width: 60px; font-weight: 600; color: #fff; }
footer .ft-head .customer ul li strong { font-size: 2.0rem; font-weight: 800; color: #fff; }
footer .ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; margin: 50px 0 0; padding: 40px 0 0; border-top: 1px solid #464646; }
footer .ft-bottom .address { font-size: 0.9rem; color:#cacaca; line-height: 1.6; }
footer .ft-bottom ul { display:flex; margin: 20px 0; }
footer .ft-bottom ul li { margin:auto 0; }
footer .ft-bottom ul li a { margin-right: 20px; font-size: 0.9rem; font-weight: 600; color: #cacaca; }
footer .ft-bottom ul li:last-child a { margin-right: 0; }



@media (min-width:1600px) {

/* 퀵메뉴 */
.quick { position:fixed; top:140px; right:10px; z-index:9;}
.quick ul li { margin:10px 0; }

}




@media (min-width:768px) and (max-width:1599px){
html { font-size:17px; }

footer .ft-head .logo img { height: 80px; }

/* 퀵메뉴 */
.quick { position:fixed; top:140px; right:10px; z-index:9;}
.quick img {width: 100px}
.quick ul li { margin:10px 0; }	

}


@media (max-width:767px){
	
/* 헤더 */
header .wrapper { display:flex; justify-content:space-between; flex-wrap:wrap; margin:0 auto; width:90%; }
header .wrapper .logo { margin:15px 0; z-index:9; }
header .wrapper .logo img { height:30px; }
header .state { display:none; position:absolute; right:0; top:20px; padding:0; z-index:6;}
header .wrapper .tel { display:none; }

/* 푸터 */
footer .ft-head .logo { margin-bottom: 30px; }
footer .ft-head .logo img { height: 70px; }
footer .ft-head .customer { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-left: auto; }
footer .ft-head .customer ul li { margin:5px 0; font-size:0.9rem; color:#cacaca; }
footer .ft-head .customer ul li.tit { margin-bottom: 10px; font-size: 1.0rem; font-weight: 600; color: #fff; }
footer .ft-head .customer ul li span { display: inline-block; width: 100%; font-weight: 600; color: #fff; }
footer .ft-head .customer ul li strong { font-size: 1.5rem; font-weight: 800; color: #fff; }
footer .ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; margin: 30px 0 0; padding: 30px 0 0; border-top: 1px solid #464646; }
footer .ft-bottom .address { font-size: 0.9rem; color:#cacaca; line-height: 1.6; }
footer .ft-bottom ul { display:flex; margin: 20px 0; }
footer .ft-bottom ul li { margin:auto 0; }
footer .ft-bottom ul li a { margin-right: 20px; font-size: 0.9rem; font-weight: 600; color: #cacaca; }
footer .ft-bottom ul li:last-child a { margin-right: 0; }

/* 퀵메뉴 */
.quick { position:fixed; top:140px; right:10px; z-index:9;}
.quick img {width: 50px}
.quick ul li { margin:10px 0; }


}