


:root{
    --header_high: 100px;
    --header-logo-img : 171px;
    --header-left-gap : 120px;
    --header_padding : 48px;
}



.header_wrap{
    width: 100%;
    height: var(--header_high);
    position: fixed;
    top: 0;
    left: 0;
    background: var(--white);
    z-index: 100;
}

.header_box{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 var(--header_padding) 0  var(--header_padding);
    position: relative;
    z-index: 100;
    background: var(--white);
}

.header_left_box{
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--header-left-gap);
}

.header_logo_box{
    display: flex;
}

.header_logo_box a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_logo_img{
    width: var(--header-logo-img);
    object-fit: contain;
}





.pc_nav{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav_ul{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav_list{
    width: 100%;
    min-width: 220px;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav_list_link{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8px;
    white-space: nowrap;
}

.nav_list_title{
    font-size: 20px;
    font-weight: var(--bold);
    color: var(--gray-900);
    transition: color 0.2s ease;
}

.nav_list:hover .nav_list_title {
    color: var(--primary-color);
}

.nav_box.pc_nav .nav_ul .nav_list:hover .nav_list_link .nav_list_title{
    color: var(--primary-color);
}

.nav_list_title.active {
    color: var(--primary-color);
}



/* 2dep 기본 스타일 */
.header_2dep_wrap {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: 0.15s ease;
}

.header_2dep_wrap.on {
    visibility: visible;
    opacity: 1;
    pointer-events: unset;
}

.header_2dep_box{
    width: 100%;
    display: flex;
    position: relative;
}

.header_2dep_ul{
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.header_2dep_list{
    width: 100%;
    height: 100%;
    display: flex;
    border-left: 1px solid var(--gray-100);
    padding: 24px 0 64px 0;
}

.header_2dep_item_ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.header_2dep_item_list{
    /* width: 100%; */
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.header_2dep_item_link{
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: var(--medium);
    color: var(--gray-900);
    padding: 6px 16px;
    word-break: keep-all;
    transition: color 0.2s ease;
}

.header_2dep_item_link:hover{
    color: var(--primary-color);
    font-weight: var(--bold);
}




.header_3dep_item_ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.header_3dep_item_list{
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;   
}

.header_3dep_item_link{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 4px 16px;
}

.header_3dep_item_text{
    font-size: 14px;
    font-weight: var(--medium);
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.header_3dep_item_link:hover .header_3dep_item_text{
    color: var(--green-900);
    font-weight: var(--bold);
}

.header_3dep_item_link:hover .point_circle {
    background: var(--primary-color);
}

.header_2dep_item_list:hover .header_2dep_item_link,
.header_3dep_item_list:hover .header_2dep_item_link {
    color: var(--primary-color);
    font-weight: var(--bold);
}




.header_background_wrap{
    position: absolute;
    top: 0;
    left: calc(-1 * (var(--header_padding) + var(--header-logo-img) + var(--header-left-gap)));
    width: 100vw;
    height: 100%;
    background: var(--white);
    z-index: -1;
}

.header_background_box{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow:hidden;
    padding: 0 24px;
    background: linear-gradient(to top, #ffffff 30%, #a8bba125, #ffffff00 70%);
}

.header_background_img_box{
    width: 100%;
    max-width: 210px;
    height: 100%;
    max-height: 300px;
    background: linear-gradient(to top, var(--green-50), var(--green-200), var(--green-50));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.header_point_background_img{
    position: absolute;
    top: 0;
    right: 0;
    object-fit: contain;
    min-height: 100%;
}

.header_zido_charecter_img{
    width: 100%;
    max-width: 205px;
    object-fit: contain;
}




.header_right_box{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.header_util_ul{
    display: flex;
    align-items: center;
    gap: 30px;
}

.header_util_list{
    display: flex;
    align-items: center;
}

.header_util_list a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_util_list_text{
    font-size: 14px;
    font-weight: var(--medium);
    color: var(--gray-600);
    word-break: keep-all;
}

.header_search_link_box{
    background: var(--green-300);
    border-radius: 1000px;
    display: flex;
    align-items: center;
    transition: 0.3s ease;
}

.header_search_link_box:hover{
    background: var(--green-500);
    box-shadow: 0 0 10px var(--green-300);
}

.header_search_link_box a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px 10px 18px;
}

.header_search_link_glasses_img{
    filter: brightness(0) invert(1);
    width: 20px;
    object-fit: contain;
}

.header_search_link_text{
    font-size: 14px;
    font-weight: var(--medium);
    color: var(--white);
}

.all_menu_box{
    width: 40px;
    aspect-ratio: 1/1;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}











/* 모바일 헤더 */
.mo_nav {
    display: none;
    position: absolute;
    top: 100%;
    right: -390px;
    width: 100%;
    max-width: 390px;
    height: calc(100vh - var(--header_high));
    background: var(--white);
    transition: right 0.6s cubic-bezier(0.69, 0.03, 0.19, 0.91);
}

.mo_nav.on {
    right: 0;
}

.mo_gnb_box {
    display: flex;
    width: 100%;
    height: 100%;
}

.mo_dep1_ul {
    width: 43%;
    margin-right: 5%;
    border-right: 16px solid transparent; /* 먼저 투명한 보더 설정 */
    border-image: linear-gradient(to top, #ffffff, #a8bba19c, #ffffff) 1; /* border-image로 그라디언트 설정 */
}

.mo_dep1_list {
    display: flex;
    align-items: center;
    transition: 0.3s ease;
}

.mo_dep1_list.on {
    background: linear-gradient(to top, #ffffff, #a8bba142, #ffffff);
}

.mo_dep_1_text {
    font-size: 16px;
    font-weight: var(--bold);
    color: var(--gray-900);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 20px;
    position: relative;
}


.mo_dep2_ul {
    display: flex;
    flex-direction: column;
    width: 52%;
    padding-top: 14px;
}

.mo_dep2_list {
    width: 100%;
    display: none;
}

.mo_dep2_list.on {
    display: flex;
}

.mo_dep2_menu_ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mo_dep2_menu_list {
    border-radius: 8px;
    transition: 0.3s ease;
    display: flex;
    width: 100%;
    flex-direction: column;
}

.mo_dep_2_text {
    width: 100%;
    padding: 6px 0;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: var(--medium);
    color: var(--gray-900);
    transition: 0.2s ease;
}

.mo_dep2_menu_list:hover .mo_dep_2_text{
    color: var(--primary-color);
    font-weight: var(--bold);
}

.mo_dep3_ul {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.mo_dep_3_link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 0;
    gap: 8px;
}

.mo_dep_3_text {
    font-size: 14px;
    font-weight: var(--regular);
    color: var(--gray-600);
    transition: 0.3s ease;
}

.mo_dep_3_link:hover .mo_dep_3_text{
    font-weight: var(--medium);
}

.mo_dep_3_link:hover .point_circle {
    background: var(--primary-color);
}

.mo_copy_box{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--gray-100);
}

.mo_copy_text{
    font-size: 12px;
    font-weight: var(--medium);
    color: #7E867B;
    word-break: break-all;
    text-align: center;
    padding: 20px;
}





/* 반응형 */
@media(max-width : 1920px){
    :root{--header-left-gap : 64px;}
    .nav_list{min-width: 160px;}
}

@media(max-width : 1480px){
    :root{--header_high: 80px; --header_padding : 40px;}
    .pc_nav{display: none;}
    .header_util_ul{display: none;}
    .all_menu_box{display: flex;}
    .mo_nav {display: flex; flex-direction: column;}
}


@media(max-width : 1240px){
}

@media(max-width : 1024px){
}

@media(max-width : 768px){
    :root{--header_high: 60px; --header_padding : 20px; --header-logo-img : 120px;}
}

@media(max-width : 564px){
    .header_search_link_box{display: none;}
}

@media(max-width : 400px){
}