@charset "utf-8";

/* popup */
#hd_pop h2 {
    display: none;
}

#hd_pop {
    z-index: 1000;
    position: relative;
    margin: 0 auto;
    height: 0;
}

.hd_pops {
    position: absolute;
    border: 1px solid #e9e9e9;
    background: #fff;
    z-index: 9999;
    box-sizing: border-box;
}

.hd_pops_con {
    background: #fff;
	padding: 20px!important;
    height: auto !important;
}

.hd_pops_con img {
    max-width: 100%;
    height: auto;
    display: block;
}

.hd_pops_footer {
    padding: 10px;
    background: #000;
    color: #fff;
    text-align: right;
}

.hd_pops_footer button {
    margin-left: 5px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

/* 모바일 */
@media (max-width:768px){

    .hd_pops{
        width:calc(100vw - 20px) !important;
        max-width:450px;
        left:50% !important;
        top:120px !important;
        transform:translateX(-50%);
        right:auto;
        box-sizing:border-box;
    }

    .hd_pops_con{
        width:100% !important;
        min-height:260px;
        max-height:60vh;
        overflow-y:auto;
        box-sizing:border-box;
    }

    .hd_pops_con img{
        max-width:100%;
        height:auto;
        display:block;
    }

    .hd_pops_footer{
        display:flex;
        justify-content:flex-end;
        gap:8px;
        padding:10px;
        font-size:12px;
        white-space:nowrap;
    }

    .hd_pops_footer button{
        margin-left:0;
        font-size:12px;
    }
#hd_pop_bg {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 9998;
}

    #hd_pop {
        z-index: 9999;
    }
    body.pop_open{
        overflow:hidden;
    }
}


/**/

#wrap {
    width: 100%;
    overflow-x: hidden;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 80px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* 메뉴 이펙트 추가 */
#header .gnb > ul > li > a{
    position: relative;
}

#header .gnb > ul > li > a::after{
    content:'';
    position:absolute;
    left:50%;
    bottom:-8px;      /* 위치만 조절 */
    width:0;
    height:3px;
    background:#cfcfcf;
    transform:translateX(-50%);
    transition:width .3s ease;
}

#header .gnb > ul > li:hover > a::after{
    width:100%;
}

/**/
.header_inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
}
.logo a img {
    max-width: 400px;
    max-height: 60px;
}

.gnb > ul {
    display: flex;
    gap: 50px;
}

.gnb a {
    font-size: 17px;
    font-weight: 500;
}

.menu_btn {
    display: none;
    width: 32px;
}

.menu_btn span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 7px 0;
    background: #222;
}

/* 딤 */
.mobile_dim {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile_dim.active {
    opacity: 1;
    visibility: visible;
}

/* 모바일 슬라이드 메뉴 */
.mobile_menu {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    z-index: 9999;
    width: 80%;
    max-width: 520px;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
}

.mobile_menu.active {
    transform: translateX(0);
}

.mobile_menu_head {
    height: 90px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.mobile_menu_head strong {
    font-size: 18px;
    font-weight: 700;
}

.mobile_close {
    font-size: 34px;
    line-height: 1;
}

.mobile_menu ul {
    padding: 35px 28px;
}

.mobile_menu li {
    border-bottom: 1px solid #eee;
}

.mobile_menu li a {
    display: block;
    padding: 18px 0;
    font-size: 17px;
    text-align: center;
}
.mobile_logo img {
	max-width: 200px;
    max-height: 30px;
	
}

#container {
    padding-top: 80px;
	float: none !important;
	width:100% !important;

}

#footer {
    padding: 30px 0;
    background: #f5f5f5;
    color: #aaa;
}

.footer_inner {
    display: flex;
	justify-content: center;
    gap: 80px;
}

.footer_logo {
	display: flex;
	align-content: flex-start;
    flex-wrap: wrap;
	margin-bottom: 30px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}
.footer_logo img {
	max-width: 400px;
    max-height: 60px;
}
.footer_info {
	margin-top: 8px !important;
    margin-left: 40px;
	max-width:800px;
}
.footer_info ul {
	display:flex;
	align-items:flex-start;
	flex-wrap: wrap;
	justify-content: flex-start;
	
}
.footer_info ul li {
    font-size: 12px;
    margin: 0 10px 10px 0;
	line-height: 1;
}
.footer_info ul li span {color:#666}

.footer_inner2 {
	padding-top: 20px;
	border-top: 1px solid #dadada;	
}
.footer_inner2 .bt_copyright {
	font-size: 12px;
    font-weight: 400;
    color: #a8a8a8;
    line-height: 1.6;
	text-align:center;
}

@media screen and (min-width: 980px) {
  /* 980px 이상일 때 적용 */
	#container { min-height: 700px !important;}
}

@media (max-width: 1024px) {


	.footer_info {margin-left:0}
	.footer_logo {margin-bottom:0}
	.footer_logo img {
		max-width: 200px;
		max-height: 30px;
	}
	.footer_inner {
		flex-direction: column;
		gap:20px;
	}
	.footer_inner2 .bt_copyright {text-align:left}
	
}
@media (max-width: 960px) {

}