/*header*/


header {
    z-index: 9999;
    position: fixed;
    width: 100%;
    background-color: transparent;
    transition: all 0.5s;

}

header.scrolled {
    background: rgba(0, 0, 0, 0.8);
}

#header .wrap {
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.logo_div img {
    vertical-align: middle;
}

header a {
    color: #fff;
    font-weight: 400;
    line-height: 40px;
}

#header .gnb {
    list-style: none;
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#header .gnb>li {
    position: relative;
}

#header .gnb>li>a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    display: block;
    transition: background 0.3s;

}

#header .gnb>li:hover>a {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

#header .gnb li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    min-width: 200px;
    border-radius: 5px;
    overflow: hidden;
}



#header .gnb li:hover ul {
    display: block;
}

#header .gnb li ul li a {
    padding: 12px 20px;
    display: block;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;

}

#header .gnb li ul li a:hover {
    background: #ff7e3f;
}



/* 전화문의 */
#header>.wrap>a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    background: #ff7e3f;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    /*border: 1px solid #fff;*/
    transition: 0.3s;
    margin-left: auto;
}

#header>.wrap>a:hover {
    background: #ff7b39;
    color: #fff;
}

#header>.wrap .call {
    display: none;
    transition: 0.3s;
    opacity: 0;
}



#header>.wrap>a img {
    height: 20px;
    margin-right: 10px;
}

#header>.wrap>a p {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

#header>.wrap>a p span {
    font-size: 13px;
    opacity: 0.8;
}






/* 모바일 헤더 */
#header .mob {
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    width: 95%;
    margin: 0 auto;
    position: relative;
    display: none;
    margin-top: 30px;

}

/* 모바일 메뉴 하위 항목 숨김 */
.mob nav ul ul {
    display: none;
}

/* 펼쳐질 때 보여주기 */
.mob nav ul li.on>ul {
    display: block;
}

#header .mob .logo_div img {
    height: 25px;
    display: flex;
}

#menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

#menu span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* 모바일 메뉴 기본 숨김 */
.list {
    display: none;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 54px;
    /* 헤더 높이에 맞게 조정 */
    left: 0;
    width: calc(100% - 40px);
    padding: 20px 20px;
    z-index: 999;
}

.list.active {
    display: block;
}

#header .mob.list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#header .mob.list ul li {
    text-align: center;
    margin-bottom: 15px;
}

.mob nav ul ul li a {
    font-size: 14px;
    padding-left: 15px;
    font-weight: 300;
}

.mob nav ul ul li {
    border-bottom: 1px solid #1e1e1e;
}

#header .mob.list ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 0;
}

/* 반응형 */
@media(max-width:1440px) {
    #header .mob {
        display: flex;
    }

    header.scrolled {
        padding-bottom: 25px;
    }
}

@media (max-width: 1024px) {
    #header .wrap.pc {
        display: none;
    }


}