#theader { z-index: 995; position: absolute; top: 0; left: 0; width: 100%; height: 100px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); transition: background-color 0.3s; background-color: transparent; }
#theader .contwrap { height: 100%; }

#theader .logo { display: flex; align-items: center; float: left; height: 100%; }
#theader .logo img { width: 210px; }

#theader .hm { float: right; height: 100%; }

#theader .hm .top { height: 30px; display: flex; flex-wrap: nowrap; justify-content: right; align-items: center; font-size: 14px; color: #fff; }
#theader .hm .top a { position: relative; display: inline-block; padding: 0 8px; }
#theader .hm .top a:last-of-type { padding-right: initial; }
#theader .hm .top a::after { display: block; content: ''; position: absolute; top: 50%; transform: translateY(-50%); left: 0; width: 1px; height: 50%; background-color: #fff; }
#theader .hm .top a:first-of-type::after { display: none; }

#theader .hm .bottom { height: calc(100% - 30px); }
#theader .hm .bottom nav { height: 100%; }
#theader .hm .bottom .menu1 { position: relative; left: 25px; display: flex; flex-wrap: nowrap; height: 100%; }
#theader .hm .bottom .menu1 > li { position: relative; height: 100%; }
#theader .hm .bottom .menu1 > li > a { position: relative; display: block; padding: 0 25px; height: 100%; text-align: center; transition: background-color 0.3s; }
#theader .hm .bottom .menu1 > li:hover > a { background-color: rgba(0, 0, 0, 0.6); }
#theader .hm .bottom .menu1 > li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; font-family: 'hufsfontl'; font-size: 20px; color: #fff; letter-spacing: -0.03em; }
#theader .hm .bottom .menu1 > li > a::after { z-index: 1; display: block; content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background-color: #053787; transition: width 0.3s; }
#theader .hm .bottom .menu1 > li:hover > a::after { width: 50%; }
#theader nav .menu1 .menu2 { display: none; position: absolute; left: 0; width: 100%; background-color: rgba(0, 0, 0, 0.6); }
#theader nav .menu1 .menu2 a { display: block; padding: 11px 5px; text-align: center; transition: background-color 0.3s; }
#theader nav .menu1 .menu2 a:hover { background-color: rgba(0, 0, 0, 1); }
#theader nav .menu1 .menu2 a span { position: relative; display: inline-block; font-size: 16px; color: #fff; line-height: 1.48; }
#theader nav .menu1 .menu2 a span::after { display: none; content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -5px; width: 0; height: 2px; background-color: #053787; transition: width 0.3s; }
#theader nav .menu1 .menu2 a:hover span::after { width: 100%; }


@media (max-width: 1535px) {
    #theader { height: 90px; }

    #theader .logo img { width: 189px; }

    #theader .hm .top { font-size: 13px; }

    #theader .hm .bottom .menu1 { left: 20px; }
    #theader .hm .bottom .menu1 > li > a { padding: 0 20px; }
    #theader .hm .bottom .menu1 > li > a > span { font-size: 18px; }
    #theader nav .menu1 .menu2 a { padding: 10px 5px; }
    #theader nav .menu1 .menu2 a span { font-size: 15px; }
}
@media (max-width: 1279px) {
    #theader { height: 80px; }

    #theader .logo img { width: 168px; }

    #theader .hm .bottom .menu1 { left: 15px; }
    #theader .hm .bottom .menu1 > li > a { padding: 0 15px; }
    #theader .hm .bottom .menu1 > li > a > span { font-size: 17px; }
    #theader nav .menu1 .menu2 a { padding: 9px 4px; }
    #theader nav .menu1 .menu2 a span { font-size: 13px; }
}
@media (max-width: 1023px) {
    #theader { position: fixed; height: 70px; }
    #theader .contwrap { width: 100%; max-width: 100%; }
    #theader.scrollh { box-shadow: 0 4px 4px -4px #fff; background-color: rgba(0, 0, 0, 0.9); }
    #theader.active { box-shadow: none !important; border-bottom: 1px solid #ccc; background-color: rgba(0, 0, 0, 0.9); }

    #theader .logo { margin-left: 40px; }
    #theader .logo img { width: 147px; }

    #theader .hm { display: none; float: none; height: initial; position: absolute; left: 0; width: 100%; top: 70px; background-color: rgba(0, 0, 0, 0.9); box-shadow: 0 4px 4px -4px #fff; }
    #theader.active .hm { display: block; }

    #theader .hm .top { padding: 10px 0; height: initial; font-size: 13px; color: #fff; justify-content: center; border-bottom: 1px solid #ccc; }
    #theader .hm .top a { padding: 0 8px; }
    #theader .hm .top a:last-of-type { padding-right: 8px; }

    #theader .hm .bottom { height: initial; }
    #theader .hm .bottom nav { height: initial; }
    #theader .hm .bottom .menu1 { left: 0; display: block; height: initial; }
    #theader .hm .bottom .menu1 > li { height: initial; }
    #theader .hm .bottom .menu1 > li > a { height: initial; padding: 11px 5px; }
    #theader .hm .bottom .menu1 > li > a.no_link { pointer-events: none; }
    #theader .hm .bottom .menu1 > li > a > span { top: initial; transform: translateY(0); font-weight: normal; font-size: 14px; color: #fff; }
    #theader .hm .bottom .menu1 > li > a::after { display: none; }
    #theader .hm .bottom .menu1 > li:hover > a { background-color: #333; }

    #theader nav .menu1 .menu2 { position: relative; background-color: #555; }
    #theader nav .menu1 .menu2 a { padding: 11px 5px; font-size: 13px; }
    #theader nav .menu1 .menu2 a:hover { background-color: #777; }
    #theader nav .menu1 .menu2 a span { color: #fff; }
}
@media (max-width: 767px) {
    #theader .logo { margin-left: 30px; }
}
@media (max-width: 460px) {
    #theader .logo { margin-left: 20px; }
}


/* hamburgerBtn */
.hamburgerBtn { z-index: 10; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 20px; height: 15px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburgerBtn > div { position: relative; width: 100%; height: 2px; background-color: #fff; transition: all 0.3s ease; }
#theader.active .hamburgerBtn > div, #theader.scrollh .hamburgerBtn > div { background-color: #fff; }
#theader.active .hamburgerBtn > div:nth-child(1) { transform: rotate(45deg); transform-origin: top left; }
#theader.active .hamburgerBtn > div:nth-child(2) { opacity: 0; }
#theader.active .hamburgerBtn > div:nth-child(3) { top: 0; transform: rotate(-45deg); transform-origin: bottom left; }
@media (max-width: 1023px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}