@charset "utf-8";

/* 헤더 */

header.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.3s ease-in-out;
    z-index: 98;
    background: transparent;
    transition: all .2s;
}

header .header_container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width:100%;
    max-width: 1850px;
    padding: 0 15px;
    margin: 0 auto;
    height: 85px;
    z-index: 100;

}

header .header_left {
    position: relative;
    width: 125px;
    z-index: 11;
}

header .header_left img {
    width: 100%;
}

header .header_left .logo_off {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    visibility: visible;
    transition: all .2s;
}

header .header_left .logo_on {
    opacity: 0;
    visibility: hidden;
    transition: all .2s;
}

header .header_menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
}

header .menu-ul {
    display: flex;
    justify-content: center;
}   

header .menu-ul .menu-li {
    position: relative;
}

header .menu-ul .menu-a  {
    display: block;
    padding: 0 34px;
    font-size: 18px;
    line-height: 85px;
    font-weight: 500;
    color: #ffffff;
    transition: all .2s ease-in-out;
}



header .menu-ul .sub-slide {
    position: absolute;
    top: 85px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    min-width: 140px;
    background-color: #fff;
    box-shadow: 29px 29px 42px rgba(0, 0, 0, 0.1);
}
header .menu-ul .menu-li:nth-child(3) .sub-slide {
    width: 130%;
}

header .menu-ul .sub-1dul {
    display: flex;
    flex-direction: column;
    gap: 7px 0;
    padding: 7px 5px;
}

header .menu-ul .sub-1dli {
    text-align: center;
    border-radius: 8px;
    background: #fff;
    transition: all .2s ease-in-out;
}


header .menu-ul .sub-1dli .sub-1da {
    display: block;
    line-height: 44px;
    font-weight: 400;
    font-size: 15px;
    color:#1c1c1c;
    transition: all .2s ease-in-out;
}

header .header_right {
    position: relative;
    width: 30px;
    height: 16px;
    z-index: 11;
}

header .header_right button {
    border: none;
    width: 100%;
    height: 100%;
    background: transparent;
}

header .header_right span {
    position: absolute;
    height: 2px;
    right: 0;
    background: #fff;
    transition: all .2s ease-in-out;
}

header .header_right span:nth-child(1) {
    top: 0;
    width: 21px;
    transform-origin: 25% 50%;
    transition: .2s;
}

header .header_right span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    width: 21px;
}

header .header_right span:nth-child(3) {
    bottom: 0;
    width: 100%;
    transform-origin: 25% 50%;
    transition: .2s;
}

/* hover */

header:hover {
    background: #fff;
}


header:hover .header_left .logo_off {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

header:hover .header_left .logo_on {
    opacity: 1;
    visibility: visible;
}

header:hover .menu-ul .menu-a {
    color: #222222;
}

header .menu-ul .menu-li:hover .menu-a {
    font-weight: 500;
    color: #3333ff;
}

header .menu-ul .sub-1dli:hover {
    background: #f9f9f9;
}


header .menu-ul .sub-1dli:hover .sub-1da {
    color: #3333ff;
}

header:hover .header_right span {
    background: #222;
}





/* header active */
header.header.active,
header.header.over {
    background: #fff;
}

header.active .menu-ul .menu-a,
header.over .menu-ul .menu-a {
    color: #222222;
}

header.header.active .header_left .logo_off,
header.header.over .header_left .logo_off {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

header.header.active .header_left .logo_on,
header.header.over .header_left .logo_on {
    opacity: 1;
    visibility: visible;
} 

header.header.active .header_right span,
header.header.over .header_right span {
    background-color: #222222;
}


/* 전체메뉴 */
.all_menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 99;
}

.all_menu .menu_container {
    position: relative;
    width: 100%;
    max-width: 1850px;
    padding: 0 15px;
    margin: 0 auto;
}

.all_menu .all_menu_container {
    margin-top: 85px;
}

.all_menu .all_menu_body {
    padding: 70px 0 0;
}

.all_menu .all_menu_ul {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width:100%;
	height: calc(100vh - 155px);
}

/* 전체 1차 메뉴 */
.all_menu .all_li {
    position: relative;
    flex: 1;
    height: 100%;
    padding-right: 1.5vw;
}

.all_menu li.all_li + li {
    padding-left: 1.5vw;
}

.all_menu li.all_li + li .bar_line{
    content: '';    
    display: block;
    width: 1px;
    height: calc(100% + 190px);
    min-height: 100vh;
    background-color: #efefef;
    position: absolute;
    top: -154px;
    left: 0;
}

.all_menu .all_a {
    position: relative;
    display: block;
    padding-bottom: 50px;
    line-height:1;
    font-weight: 700;
    font-size: 30px;
    color: #222222;
    transition: all .2s ease-in-out;
}

.all_menu .all_a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 22px;
    height: 1px;
    background-color: #cccccc;
}

/* 전체 2차 메뉴 */
.all_menu .all_sub_div{
    padding-top: 43px;
}

.all_menu .all_sub_ul {
    display: flex;
    flex-direction: column;
    gap: 10px 0;
}

.all_menu .all_sub_ul .all_sub_a  {
    display: block;
    width: 100%;
    padding: 7px 0;
    font-size: 19px;
    font-weight: 600;
    color: #222;
    word-break: keep-all;
}

/* 전체메뉴 호버 */

.all_menu .all_li:hover > .all_a {
    color: #3333ff;
}

.all_menu .all_sub_li:hover > .all_sub_a  {
    color: #3333ff;
}


/* 전체 > 푸터 */

.all_menu .all_menu_footer {
/*     padding: 65px 0; */
    position: absolute;
    top: 84%;
}

.all_menu .info_wrap {
    display: flex;
}   

.all_menu .info_wrap li {
    width: 270px;
}

.all_menu .info_wrap li + li {
    padding-left: 50px;
}

.all_menu .info_wrap h4 {
    margin-bottom: 23px;
    font-weight: 700;
    font-size: 14px;
    color: #777777;
}

.all_menu .info_wrap p {
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: #222222;
	width: 85%;
    word-break: keep-all;
}

.all_menu .info_wrap p + p {
    margin-top: 10px;
}

/* 닫기 버튼 */
header .header_right.close_btn span:nth-child(1) {
    top: 50%;
    left: 0;
    width: 100%;
    transform-origin: center;
    transform: translateY(-50%) rotate(45deg);
}

header .header_right.close_btn span:nth-child(2) {
    opacity: 0;
}

header .header_right.close_btn span:nth-child(3) {
    top: 50%;
    left: 0;
    bottom: unset;
    transform-origin: center;
    transform: translateY(-50%) rotate(-45deg);
}

@media (max-width:1440px) {
    header .menu-ul .menu-a {
        padding: 0 25px;
        font-size: 16px;
    }

    header .menu-ul .menu-li:nth-child(2) .sub-slide {
        width: 130%;
    }

    header .menu-ul .menu-li:nth-child(3) .sub-slide {
        width: 150%;
    }


    .all_menu .all_a {
        font-size: 23px;    
        word-break: keep-all;
    }

    .all_menu .all_sub_ul .all_sub_a {
        font-size: 17px;
		line-height:1.3;
    }

    .all_menu_footer {
        display: none;
    }
}


@media (max-width:991px) {
    header .header_menu {display: none;}

    header .header_container {
        height: 58px;
        padding: 0 17px;
    }
    header .header_left {
        width: 88px;
    }
    header .header_left img {
        object-fit: contain;
    }

    header .header_right {
        width: 20px;
        height: 17px;
    }

    header .header_right span:nth-child(1) {
        width: 14px;
    }
    header .header_right span:nth-child(2) {
        width: 14px;
    }


    .all_menu .all_menu_container {
        margin-top: 58px;
    }

    .all_menu .all_menu_body {
        padding-top: 32px;
    }

    .all_menu .menu_container {
        padding: 0 17px;
        height: calc(100vh - 90px);
    }

    .all_menu .all_menu_ul {
        flex-direction: column;
        gap: 30px 0;
        height: 100%;
        padding-bottom: 49px;
        overflow-y: scroll;
    }

    .all_menu .all_menu_ul::-webkit-scrollbar {
        display: none;
    }

    .all_menu .all_li {
        flex: none;
        min-height:unset;
		height:auto;
        padding-right:0;
    }
    .all_menu li.all_li + li {
        padding-left: 0;
    }
    .all_menu li.all_li + li .bar_line {
        display: none;
    }


    .all_menu .all_a {
        font-size: 20px;
        margin-bottom: 11px;
        padding: 5px 5px 5px 0;
        height: auto;
    }

    .all_menu .all_a::after{
        display:none;
    }

    .all_menu .all_sub_div {
        padding-top: 0;
    }

    .all_menu .all_sub_ul {
        gap: 6px 0;
    }

    .all_menu .all_sub_ul .all_sub_a {
        padding:5px 5px 5px 19px;
        font-size: 15px;
        font-weight: 400;
    }

}