@charset "UTF-8";

#header {width: 100%; background: #fff; box-shadow: 0 2px 10px var(--shadow); position: fixed; top: 0; right: 0; left: 0; z-index: 999;}

#header .logo {display: block; max-width: 380px; height: 60px;}
#header .logo img {display: block; width: 100%; height: 100%; object-fit: contain;}

#header .menu-bar {width: 100%; max-width: 1640px; margin: 0 auto; display: -webkit-flex; display: flex; justify-content: center; align-items: center; column-gap: 100px;}

#gnb_pc {-webkit-flex-shrink: 0; flex-shrink: 0;}

#gnb_pc>h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}

#gnb_pc .ul-main-menu {display: -webkit-flex; display: flex; justify-content: start; align-items: center;}
#gnb_pc .ul-main-menu>.item {position: relative; font-size: 1.25rem; font-weight: 700; line-height: 80px; text-align: center;}
#gnb_pc .ul-main-menu>.item:last-child {margin-right: 0;}
#gnb_pc .ul-main-menu .main-menu {display: inline-block; color: var(--dark);}
#gnb_pc .ul-main-menu>.item:hover .main-menu {color: var(--highlight);}
#gnb_pc .ul-main-menu .main-menu.mypage {padding: 8px 26px; background: var(--highlight); color: #fff; border-radius: 999px; line-height: 1.2;}
#gnb_pc .ul-main-menu>.item:hover .main-menu.mypage {color: #fff;}

#header #gnb_pc .ul-main-menu>.item:hover .ul-sub-menu {display: block;}
#header #gnb_pc .ul-sub-menu {display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 180px; background: #fff; box-shadow: 0 3px 10px var(--shadow); border-radius: 0 0 6px 6px;}
#header #gnb_pc .ul-sub-menu>.item {padding: 10px 0; line-height: 1.2; text-align: center;}
#header #gnb_pc .ul-sub-menu>.item:first-child {padding-top: 24px;}
#header #gnb_pc .ul-sub-menu>.item:last-child {padding-bottom: 24px;}
#header #gnb_pc .ul-sub-menu .sub-menu {display: block; width: -moz-fit-content; width: -webkit-fit-content; width: fit-content; margin: 0 auto; font-weight: 500; font-size: 0.938rem;}
#header #gnb_pc .ul-sub-menu>.item:hover .sub-menu {font-weight: 600; color: #2B2961;}

#m_menu_open {width: 30px; height: 30px; padding: 5px; display: -webkit-flex; display: flex; justify-content: center; align-items: center;}
#m_menu_open svg {display: block; width: 20px; height: 17px;}
#header .mobile .ul-utility {justify-content: start; flex-wrap: wrap; padding-right: 30px; padding-bottom: 10px; border-bottom: 1px solid var(--border);}
#header .mobile .ul-utility .item {display: -webkit-flex; display: flex; justify-content: start; align-items: center;}

#header .menu-bar {transition: height .3s ease-out;}
#header + * {transition: margin-top .3s ease-out;}



@media screen and (min-width:1441px){
    #header .mobile {display: none;}
}

@media screen and (max-width:1440px){
    #header .pc {display: none;}
    #header .mobile {display: block;}

    #header .top-bar, #header .menu-bar {padding: 0 36px;}
    #header .menu-bar {justify-content: space-between; column-gap: 60px;}
}

@media screen and (min-width:1201px){
    #gnb_pc .ul-main-menu>.item {margin-right: 52px;}
}

@media screen and (max-width:1200px){
    #gnb_pc .ul-main-menu>.item {margin-right: 24px;}
}

@media screen and (min-width:993px){
    .mobile {display: none;}

    #header .menu-bar {height: 80px;}

    #header + * {margin-top: 80px;}
}

@media screen and (max-width:992px){
    .pc {display: none;}
    .mobile {display: block;}

    #header .menu-bar {height: 60px;}
    #header .logo {height: 50px;}

    #header + * {margin-top: 60px;}
}

@media screen and (max-width:768px){
    #header .menu-bar {padding: 0 32px;}
}

@media screen and (max-width:480px){
    #header .menu-bar {height: 54px; padding: 0 16px;}
    #header .logo {height: 40px;}

    #header + * {margin-top: 54px;}
    #header .ul-utility .util-menu::after {margin: 0 6px;}
}