#header-mo {display: none;}
#header-pc {
    width: 100%;
    height: 4.375rem;
    border-bottom: 1px solid #EEEFF1;
    margin: 0 auto;
    display: block;
    background-color: #fff;
}
#header-pc .w1340 {
    width: 1340px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}
.textBtn {color: var(--TextColor);}
.textBtn:hover {
    border-bottom: 1px solid var(--MainColor);
    color: var(--MainColor);
}

/* .h_left */
#header-pc .w1340 .h_left {
    /* width: 31.625rem; */
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header-pc .w1340 ul li:last-child {margin-right: 0;}
.w1340 .h_left .logo {width: 150px;}


#header-pc .w1340 .h_left .textBtn {
    height: 100%;
    border-radius: 0rem;
    padding: 24px 44px;
}

/* 1차 메뉴를 제한 구역으로 설정 */
.surviceBtn {
    position: relative;

}
.surBtn {display: flex;align-items: center;}
.surBtn .down_Black {
    width: 16px;
    height: 16px;
    margin-left: 4px;
}
.textBtn:hover .down_Black {
    background-image: url(/connectPlay/img/icons/ico_down_B.svg);
}
/* 2차 메뉴에 absolute 값을 주기 */
.surviceBtn > ul {
    position: absolute;
    width: 100%;
    top: 100%;		
    left: 0;		
    border: 1px solid #EEEFF1;
    background-color: #fff;
    display: none;	
}
#header-pc .survice-Menu li {
    padding: 8px 14px;
}
.surviceBtn:hover .survice-Menu {
    display: block;
    transition-duration: 0.5s;
    z-index: 10;
}
#header-pc .survice-Menu li:hover {
    background-color: #F0F8FF;
    transition-duration: 0.5s;
    
}
.textBtn:hover .icon svg path {color: var(--MainColor);}



/*  h_right */
#header-pc .w1340 .h_right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
#header-pc .w1340 .h_right li {margin-right: 0.5rem;}
.login {cursor: pointer;}
#header .w1340 .h_right .login {display: flex;align-items: center;}
#header .w1340 .h_right .login span {cursor: pointer;}

/* 마이페이지 메뉴 */
.mypageMenu {
    position: absolute;
    top: 100%;
    right: 0;
    border: 1px solid #EEEFF1;
    background-color: #fff;
    border-radius: 5px;
    z-index: 10;
}
#header-pc .w1340 .h_right .mypageMenu > li {margin-right: 0;}
.mypageMenu li a, .mypageMenu li span {
    display: block;
    width: 116px;
    padding: 8px 14px;
}
.mypageMenu li:hover {
    background-color: #F0F8FF;
    transition-duration: 0.5s;
}
#header-pc .w1340 .h_right button {
    line-height: 159%;
    font-weight: 600;
}

@media only screen and (min-width: 1024px) and (max-width: 1339px){
    #header-pc .w1340 {
        width: 95%;
        height: 100%;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
    }
}

@media only screen and (max-width: 1023px) {
    #header-pc {display: none;}
    #header-mo {
        display: block;
        width: 100%;
        margin: 0 auto;
        background-color: #fff;
        /* height: 101px; */
    }
    .survice-Menu02.active {display: block;}
    #header-mo .w1340 {
        /* border: 1px solid sandybrown; */
        width: 100%;
        margin: 0 auto;
        padding: 10px 0;
        border-bottom: 1px solid #EEEFF1;
    }
    #header-mo .h_left {
        width: 90%;
        margin: 0 auto;
        height: 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #header-mo .h_left .logo {
        width: 87px;
        height: auto;
        cursor: pointer;
    }

    /* gnb */
    #header-mo .mainGnb {
        padding: 10px 0px 0px;
        border-bottom: 1px solid var(--Gray100);
    }
    .survice-Menu02 {
        padding: 10px 0px;
        display: none;
        width: 100%; overflow-x: auto;
        white-space: nowrap; 
        -ms-overflow-style: none; /* IE and Edge */ 
        scrollbar-width: none; /* Firefox */
    }
    #header-mo .mainGnb ul, .survice-Menu02 ul {
        width: 90%;
        margin: 0 auto;
        display: flex;
        gap: 16px;
        position: relative;
    }
    #header-mo .mainGnb ul li a {
        font-size: 15px;
        padding-bottom: 5px;
    }
    .survice-Menu02 li a {
        color: var(--Gray400);
        font-size: 15px;
        padding-bottom: 5px;
    }
    
    .survice-Menu02::-webkit-scrollbar {display: none;}
    /* .survice-Menu02 li:last-child {padding-right: 20px;} */
    .survice-Menu02 li > a.selec {
        color: var(--TextColor);
        font-weight: 600;
    }




    #header-mo .h_left .mo_menu {
        width: 24px;
        cursor: pointer;
    }
    #header-mo .h_left li {
        display: flex;
        align-items: center;
    }
    #header-mo .h_left li:last-child button:first-child {
        margin-right: 8px;
    }


/* ========== 햄버거 메뉴 (마이페이지) ============== */
  .hamburger-Wrap {width: 20px;
    /* border: 1px solid red; */
}

  
  /* 햄버거 메뉴 열릴 때 애니메이션 */
  #hamburger.active {
    left: -850%; /*사이드바의 너비(300px) + 여백(20px)*/
    transform: rotate(90deg); /* 선택 사항: 회전 애니메이션 */
  }
  
  /* 사이드바 스타일 */
  .sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    color: #fff;
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .sidebar ul {
    list-style: none;
  }
  
  .sidebar ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .sidebar ul li a {
    color: var(--TextColor);
    text-decoration: none;
    font-size: 16px;
  }

  .sidebar.open {
    right: 0;
  }
  #header-mo .menuList li {cursor: pointer;}

  /* 닫기버튼 */
 #sidebar #close-btn {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 20px;
}
/* 프로필 */
 #my-btn {
    display: flex;
    border-bottom: 1px solid var(--Gray100);

}
 #my-btn .profile_btn {
    width: 50px;
    margin-right: 8px;
}
 #my-btn .profile_btn img {width: 100%;}
 #header-mo #my-btn .my_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
#header-mo #my-btn .my_info span {
    font-size: 14px;
    color: var(--Gray400);
    margin-top: 8px;
    border-bottom: 1px solid var(--Gray400);
}

/* 메뉴 리스트 */
#header-mo .menuList {width: 100%;}
#header-mo .menuList li {padding: 20px;}
#header-mo .menuList li:first-child {
    margin-top: 20px;
}
#header-mo .menuList li:last-child {
    width: 100%;
    border-top: 1px solid var(--Gray100);
}
#header-mo .menuList li:hover {background-color: #F0F8FF;}
#header-mo .logout_Btn {padding: 20px 0;}
#header-mo .logout_Btn a {
    font-size: 14px;
    color: var(--Gray400);
    border-bottom: 1px solid var(--Gray400);
}
}


@media only screen and (max-width: 425px) {
.hamburger-Wrap {width: 26px; 
    /* border: 1px solid red; */
}



}