@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{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    background-color: white;
    transition: background-color .5s;

    word-break: keep-all;
}

#header .title{
    color: var(--orange);

    display: flex;
    align-items: center;
}

#header .wrapper_fix{
    align-items: center;
    justify-content: flex-end;
    width: max-content;
    /* gap: 180px; */
    gap: 8.5vw;
}

#header.hover,
#header.scroll{
    background-color: #fff;
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.1);
}

#header.hover .h1{
    border-bottom: 1px solid #e1e1e1;
    position: relative;
}

#header.hover .h2{
    height: 200px;
}

.h1{
    width: 100%;
    height: 90px;
}

.h1 .main_center{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.h1 .main_center>a{
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h1 .main_center>a img{
    width: 100%;
}

.h1 ul.main_menu{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h1 ul.main_menu>li{
    height: 100%;
    margin-right: 55px;
    position: relative;
}

.h1 ul .list_fixer{
    width: 58px;
}

.h1 ul.main_menu>li:last-child{
    margin-right: 0;
}

.h1 ul.main_menu>li a{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: black;
    font-family: 'Pretendard-Light', sans-serif;
    /* text-transform: uppercase; */
}

ul.sub_menu{
    width: max-content;
    position: absolute;
    /*top: 120px;*/
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    display: none;
}

ul.sub_menu li{
    width: max-content;
    margin: 0 auto;
    font-size: 16px;
    color: #111;
    font-family: 'Pretendard-Light', sans-serif;
    margin-bottom: 20px;
    position: relative;
    cursor: pointer;
}

ul.sub_menu li:hover,
ul.main_menu li a:hover{
    font-family: 'Pretendard-Bold', sans-serif;
    color: var(--orange);
}

ul.sub_menu li:last-child{
    margin-bottom: 0;
}

ul.sub_menu li:after,
ul.main_menu li a:after{
    content: " ";
    width: 0;
    height: 2px;
    background-color: var(--orange);
    position: absolute;
    
    left: 50%;
    transition: width .3s, left .3s;
}

ul.sub_menu li:after{
    bottom: -4px;
}

ul.main_menu li a:after{
    bottom: -4px;
}


ul.sub_menu li:hover:after,
ul.main_menu li a:hover:after{
    width: 100%;
    left: 0;
}

.h2{
    width: 100%;
    height: 0;
    transition: 0.5s;
}







.h02 ul li a{
    font-family: 'Pretendard-Medium', sans-serif;
    font-size: 17px;
    color: #454545;
    transition: 0.2s;
}

.h02 ul li a:hover{
    color: var(--yellow2);
    font-weight: bold;
}


#header .call{
    background-color: #9840c1;
    color: white;
    border-radius: 64px;
    height: 50px;

    width: 200px;
    min-width: 200px;

   /*margin-left: 180px;*/
   /* margin-left: 15%;*/
}

#header .h01 .menu{
    font-family: 'Pretendard-Light', sans-serif;
    font-size: 18px;
}

#header .h01 .menu li a:hover,
#header .h02 ul a:hover{
    color: var(--orange);
    font-family: 'Pretendard-SemiBold', sans-serif;
}





#m_header{
    display:none;

    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 1680px) {
    #header .wrapper_fix{
        gap: 5.5vw;
    }
}


@media screen and (max-width: 1500px) {
    #header .call{
        /*display: none;*/
    }

    #header .wrapper_fix{
        gap: 2.5vw;
    }

    .h1 ul.main_menu>li{
        margin-right: 30px;
    }
}

@media screen and (max-width: 1280px) {
    #header .wrapper_fix{
        gap: 1vw;
    }

    .h1 ul.main_menu>li{
        margin-right: 20px;
    }
}


/* mobile */
@media screen and (max-width: 767px) {
    .h01,
    .h02,
    .h1{
        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: white;
    }

    #m_header .wrapper{
        height: 60px;

        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--orange);
    }

    .m_menu_icon{
        width: 25px;
        height: 20px;
        position: relative;
    }

    .m_menu_icon span{
        width: 25px;
        height: 2px;
        background-color: #111;
        display: block;
        position: absolute;
    }
    
    .m_menu_icon span:first-child{
        top: 0;
        left: 0;
    }
    
    .m_menu_icon span:nth-child(2){
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
    
    .m_menu_icon span:last-child{
        bottom: 0;
        left: 0;
    }
    
    .m_menu_icon.on span:first-child{
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        transition: transform .5s;
    }
    
    .m_menu_icon.on span:nth-child(2){
        opacity: 0;
        transition: opacity .3s;
    }
    
    .m_menu_icon.on span:last-child{
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
        transition: transform .5s;
    }


    .m_menu_box{
        width: 100%;
        height: calc(100vh - 60px);
        position: fixed;
        top: 60px;
        left: 0;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 1s;
    }

    .m_menu_box.on{
        transform: translateX(0);
    }

    .m_menu_inner{
        width: 50%;
    }

    ul.m_main_menu{
        width: 100%;
        margin-top: 17vh;
    }

    ul.m_main_menu>li{
        width: 100%;
        margin-bottom: 40px;
    }

    ul.m_main_menu>li:last-child{
        margin-bottom: 0;
    }

    ul.m_main_menu>li p{
        font-size: 24px;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
        font-family: 'Pretendard-Bold', sans-serif;
    }

    ul.m_sub_menu{
        width: 100%;
        margin-top: 20px;
        display: none;
    }

    ul.m_sub_menu li{
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        font-size: 16px;
        color: #fff;
        font-family: 'Pretendard-Light', sans-serif;
    }

    ul.m_sub_menu li:last-child{
        margin-bottom: 0;
    }



}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .h01,
    .h02,
    .h1{
        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: white;
    }

    #m_header .wrapper{
        height: 60px;

        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--orange);
    }

    .m_menu_icon{
        width: 25px;
        height: 20px;
        position: relative;
    }

    .m_menu_icon span{
        width: 25px;
        height: 2px;
        background-color: #111;
        display: block;
        position: absolute;
    }

    .m_menu_icon span:first-child{
        top: 0;
        left: 0;
    }

    .m_menu_icon span:nth-child(2){
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }

    .m_menu_icon span:last-child{
        bottom: 0;
        left: 0;
    }

    .m_menu_icon.on span:first-child{
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        transition: transform .5s;
    }

    .m_menu_icon.on span:nth-child(2){
        opacity: 0;
        transition: opacity .3s;
    }

    .m_menu_icon.on span:last-child{
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
        transition: transform .5s;
    }


    .m_menu_box{
        width: 100%;
        height: calc(100vh - 60px);
        position: fixed;
        top: 60px;
        left: 0;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 1s;
    }

    .m_menu_box.on{
        transform: translateX(0);
    }

    .m_menu_inner{
        width: 50%;
    }

    ul.m_main_menu{
        width: 100%;
        margin-top: 19vh;
    }

    ul.m_main_menu>li{
        width: 100%;
        margin-bottom: 40px;
    }

    ul.m_main_menu>li:last-child{
        margin-bottom: 0;
    }

    ul.m_main_menu>li p{
        font-size: 24px;
        color: #fff;
        text-transform: uppercase;
        text-align: center;
        font-family: 'Pretendard-Bold', sans-serif;
    }

    ul.m_sub_menu{
        width: 100%;
        margin-top: 20px;
        display: none;
    }

    ul.m_sub_menu li{
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        font-size: 16px;
        color: #fff;
        font-family: 'Pretendard-Light', sans-serif;
    }

    ul.m_sub_menu li:last-child{
        margin-bottom: 0;
    }



}