@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

header {
 z-index: 100;
 position: fixed;
 top: 0;
 width: 100vw;
 background-color: transparent;
 /* box-shadow: 0 2px 5px rgba(110, 110, 110, 0.212); */
}

#header {
    
}

#header a:link,
#header a:visited ,
#header a:hover ,
#header a:active {
    color: white;
}

#header a {
    text-decoration: none; 
    color: white; 
    transition: color 0.5s;
}

#header .header_btn{
    color: white;
    border: 1px solid white;
    border-radius: 24px;
    width:106px;
    height: 40px;
    transition: 0.5s;

    display: flex;
    align-items: center;
    justify-content: center;
}

#header.scroll ul.menu>li>a{
    color: black;
}

#header.scroll .header_btn_color{
    border: 1px solid #665045;
    color :#665045;
    
}

.h01 {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    position: relative;

    padding-top: 30px;
}

#header .h01 .header_img{
    transition: all 0.5s ease-in-out;
}

#header.scroll .h01 .header_img{
    filter: invert(54%) sepia(18%) saturate(341%) hue-rotate(8deg) brightness(94%) contrast(86%);
}

.h01 ul.menu{
    /* width: 34%; */
    /* height: 100%; */
    position: absolute;
    right: 0%;
    top: 43%;
    /* transform: translateX(-50%); */
    display: flex;
    align-items: center;
    gap: 60px;
}




/* 
.hd .logo {}

.hd .logo img {} */

.hd_nav {
 gap: 2vw;
}

.hd_nav>ul {
 position: relative;
 gap: 2.5vw;
}

.hd_nav>ul>li {
 white-space: nowrap;
 padding-right: 6px;
 position: relative;
 display: inline-block;
 transition: color 0.3s ease;
}

.hd_nav>ul>li.on,
.hd_nav>ul>li:hover {
 color: var(--main-color);
 font-weight: bold;
}

.hd_nav>ul>li.on::after,
.hd_nav>ul>li:hover::after {
 content: '';
 position: absolute;
 top: 0;
 right: 0;
 width: 4px;
 height: 4px;
 background-color: var(--main-color);
 border-radius: 50%;
}

.hd_nav>ul>li:hover::after {
 animation: appear 0.3s ease forwards;
}

@keyframes appear {
 from {
  opacity: 0;
  transform: scale(0);
 }

 to {
  opacity: 1;
  transform: scale(1);
 }
}

/* 검색버튼 */
.search-container {
 position: relative;
}

.hd_search_btn {
 color: var(--sub2-color);
 transition: all 0.2s;
}

.hd_search_btn:hover {
 color: var(--main-color);
}


.hd_search_menu {
 position: absolute;
 left: -5vw;
 top: 100%;
 background-color: white;
 border-radius: 10px;
 box-shadow: 2px 2px 5px rgba(75, 75, 75, 0.219),
  3px 3px 3px rgba(68, 68, 68, 0.068);
 padding: 1.5vw 2vw;
 margin-top: 0.89vw;
 z-index: 1000;
 opacity: 0;
 visibility: hidden;
 transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
 transform: translateX(-50%) translateY(-10px);
}

.search-container:hover .hd_search_menu {
 opacity: 1;
 visibility: visible;
 transform: translateX(-50%) translateY(0);
}

/*검색*/
.input_search {
 width: 15vw;
 border: none;
 font-size: 16px;
 outline: none;
 border-bottom: 1px solid #c5c3c3bd;
}

.input_search::placeholder {
 color: #969696;
 font-size: 1vw;
 font-family: "Poppins", sans-serif;
 font-weight: 200;
 font-style: normal;
}

.search_submit {
 width: 5vw;
 height: 2.5vw;
 border-radius: 30px;
}

/* 로그인버튼 */
.hd_login_btn {
 /*background: transparent;*/
 /*border-radius: 10px;*/
 border: 1px solid var(--main-color);
 /*color: var(--sub2-color);*/
 padding: 0.3vw 0.6vw;
 transition: all 0.2s;
 background-color: var(--main-color);
 color:white;
}
.hd_logout_btn{
 /*background: transparent;*/
 /*border-radius: 10px;*/
 border: 1px solid var(--main-color);
 /*color: var(--sub2-color);*/
 padding: 0.3vw 0.6vw;
 transition: all 0.2s;
 background-color: white;
 color:var(--main-color);
}
.hd_login_btn:hover {
 color: var(--main-color);
 border: 1px solid var(--main-color);
 background-color: transparent;
 /*font-weight: bold;*/
}
.hd_logout_btn:hover {
 color:white;
 border: 1px solid var(--main-color);
 background-color: var(--main-color);
 /*font-weight: bold;*/
}
.search_menu {
 visibility: hidden;
 opacity: 0;
}

.hd_login_btn:hover .search_menu {
 visibility: visible;
 opacity: 1;
}


/* 정보수정버튼 */
.hd_register_d_btn {
 /*background: transparent;*/
 /*border-radius: 10px;*/
 border: 1px solid var(--main-color);
 /*color: var(--sub2-color);*/
 padding: 0.3vw 0.6vw;
 transition: all 0.2s;
 background-color: var(--main-color);
 color:white;
}

.hd_register_d_btn:hover {
 color: var(--main-color);
 border: 1px solid var(--main-color);
 font-weight: bold;
 background-color: transparent;
}

/* 제품메뉴 */
.prod_menu {
 padding: 1vw 1vw 1vw 1.5vw;
 position: absolute;
 left: 15vw;
 top: 4vw;
 z-index: 100000;
 background-color: white;
 border-radius: 10px;
 box-shadow: 2px 2px 5px rgba(75, 75, 75, 0.219),
  3px 3px 3px rgba(68, 68, 68, 0.068);
 display: none;
}

.prod_menu div .prod_menu_left ul {
 list-style-type: none;
 padding-left: 0.4vw;
}

.prod_menu div .prod_menu_left ul li {
 position: relative;
 padding-left: 0.6vw;
 margin-bottom: 0.5vw;
}

.prod_menu div .prod_menu_left ul li::before {
 content: "-";
 position: absolute;
 left: 0;
 color: var(--sub1-color);
}


.prod_menu div .prod_menu_right ul {
 list-style-type: none;
 padding-left: 0.4vw;
}

.prod_menu div .prod_menu_right ul li {
 position: relative;
 padding-left: 1.2vw;
 margin-bottom: 0.5vw;
}

.prod_menu div .prod_menu_right ul li::before {
 content: "◾";
 position: absolute;
 left: 0;
 color: var(--sub1-color);
}

.prod_menu_right_content {
 width: 15vw;
 background: #eff5ff;
 padding: 1.3vw 1vw;
 border-radius: 15px;
}

.prod_menu_right_title {
 margin-bottom: 0.8vw;
}

.prod_menu li:hover {
 font-weight: 500;
}

/* 상세메뉴 : 교육 ~ 회사소개 */
.hd_sub_menus {
 text-align: center;
 margin-top: 0.89vw;
 padding: 1.5vw 2vw;
 position: absolute;
 left: 50%;
 top: 100%;
 transform: translateX(-50%);
 background-color: white;
 border-radius: 10px;
 box-shadow: 2px 2px 5px rgba(75, 75, 75, 0.219),
  3px 3px 3px rgba(68, 68, 68, 0.068);
 color: #646464;
 z-index: 1000;
 opacity: 1;
 visibility: hidden;
 transition: opacity 0.2s, visibility 0.2s;
}

.hd_nav>ul>li:hover .hd_sub_menus {
 opacity: 1;
 visibility: visible;
}

.hd_sub_menus ul {
 gap: 1vw;
}

.hd_sub_menus ul li {
 position: relative;
 display: flex;
 align-items: flex-start;
 transition: color 0.3s ease;
}

.hd_sub_menus ul li span:first-child {
 display: inline-block;
}

.hd_sub_menus ul li .sub_dot {
 display: inline-block;
 width: 0.2vw;
 height: 0.2vw;
 background-color: var(--sub2-color);
 border-radius: 50%;
 margin-left: 0.2vw;
 opacity: 0;
 transform: scale(0);
 transition: opacity 0.1s ease, transform 0.2s ease;
 flex-shrink: 0;
}

.hd_sub_menus ul li:hover {
 color: var(--sub2-color);
}

.hd_sub_menus ul li .sub_dot {
 display: inline-block;
 width: 0.2vw;
 height: 0.2vw;
 background-color: var(--sub2-color);
 border-radius: 50%;
 margin-left: 0.2vw;
 opacity: 0;
 transform: scale(0);
 transition: opacity 0.1s ease, transform 0.2s ease;
 flex-shrink: 0;
}

.hd_sub_menus ul li:hover .sub_dot {
 opacity: 1;
 transform: scale(1);
 animation: appear 0.3s ease forwards;
}

#m_header{
    display:none;
}





/* mobile */
@media screen and (max-width: 767px) {
    .h01{
        display: none !important;
    }

    
    #m_header{
        display: block;
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        transition: background-color .5s;

        background-color: #604b41;
    }

    #m_header.hide{
        opacity: 0;
        visibility: hidden;
    }

    #m_header.scroll{
        /* background-color: #fff; */
    }

    #m_header .center{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center a{
        width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header .center a img{
        width: 100%;
    }

    #m_header.scroll .center a img{
        content: url(../images/logo_color.png);
    }

    .m_lang_menu{
        display: flex;
        align-items: center;
    }

    .m_lang,
    .m_menu{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_lang{
        margin-right: 15px;
    }

    .m_lang i,
    .m_menu i{
        color: white;
        font-size: 24px;
    }

    #m_header.scroll .m_lang i,
    #m_header.scroll .m_menu i{
        color: #111;
    }

    .m_menu_box{
        width: 100%;
        height: 100%;
        background-color: #5f483d;
        position: fixed;
        top: 0;
        left: 0;
        padding: 0 5%;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 1s;
        color: white;
    }

    .m_menu_box.show{
        transform: translateX(0);
    }

    .m_menu_top{
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .m_menu_top a{
        width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_top a img{
        width: 100%;
    }

    .close{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close i{
        color: white;
        font-size: 24px;
    }

    .m_menu_inner{
        width: 100%;
        height: calc(100% - 60px);
        overflow: auto;
        padding: 40% 0;
        box-sizing: border-box;
    }

    ul.m_main_menu{
        /* width: max-content; */
        width: 100px;
        margin: 0 auto;
    }

    ul.m_main_menu>li{
        width: 100%;
        padding: 20px 0;
    }

    ul.m_main_menu>li p{
        width: 100%;
        font-size: 20px;
        text-transform: uppercase;
        font-family: 'Pretendard-Semibold', sans-serif;
        font-weight: 700;
        color: white;
        padding: 0 10px;
        box-sizing: border-box;
    }

    ul.m_sub_menu{
        width: 100%;
        margin-top: 20px;
        padding: 0 15px;
        box-sizing: border-box;
        display: none;
    }

    ul.m_sub_menu li{
        width: 100%;
        margin-bottom: 15px;
        font-size: 16px;
        color: white;
        font-family: 'Pretendard-Semibold', sans-serif;
    }

    ul.m_sub_menu li:last-child{
        margin-bottom: 0;
    }




}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {


    .h01{
        display:none;
    }

    #pc_header{
        display: none;
    }

    #m_header{
        display: block;
        width: 100%;
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        transition: background-color .5s;

        background-color: #604b41;
    }

    #m_header.hide{
        opacity: 0;
        visibility: hidden;
    }

    #m_header.scroll{
        /* background-color: #fff; */
    }

    #m_header .center{
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #m_header .center a{
        width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #m_header .center a img{
        width: 100%;
    }

    #m_header.scroll .center a img{
        content: url(../images/logo_color.png);
    }

    .m_lang_menu{
        display: flex;
        align-items: center;
    }

    .m_lang,
    .m_menu{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_lang{
        margin-right: 15px;
    }

    .m_lang i,
    .m_menu i{
        color: white;
        font-size: 24px;
    }

    #m_header.scroll .m_lang i,
    #m_header.scroll .m_menu i{
        color: white;
    }

    .m_menu_box{
        width: 50%;
        height: 100%;
        background-color: #604b41;
        position: fixed;
        top: 0;
        left: 0;
        padding: 0 3%;
        box-sizing: border-box;
        transform: translateX(-100%);
        transition: transform 1s;
    }

    .m_menu_box.show{
        transform: translateX(0);
    }

    .m_menu_top{
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .m_menu_top a{
        width: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .m_menu_top a img{
        width: 100%;
    }

    .close{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close i{
        color: white;
        font-size: 24px;
    }

    .m_menu_inner{
        width: 100%;
        height: calc(100% - 60px);
        overflow: auto;
        padding: 40% 0;
        box-sizing: border-box;
    }

    ul.m_main_menu{
        width: max-content;
        margin: 0 auto;
    }

    ul.m_main_menu>li{
        width: 100%;
        padding: 20px 0;
    }

    ul.m_main_menu>li p{
        width: 100%;
        font-size: 20px;
        text-transform: uppercase;
        font-family: 'SUIT-Bold', sans-serif;
        font-weight: 700;
        color: white;
        padding: 0 10px;
        box-sizing: border-box;
    }

    ul.m_sub_menu{
        width: 100%;
        margin-top: 20px;
        padding: 0 15px;
        box-sizing: border-box;
        display: none;
    }

    ul.m_sub_menu li{
        width: 100%;
        margin-bottom: 15px;
        font-size: 16px;
        color: white;
        font-family: 'SUIT-SemiBold', sans-serif;
    }

    ul.m_sub_menu li:last-child{
        margin-bottom: 0;
    }


}