#theader { z-index: 995; position: relative; top: 0; left: 0; width: 100%; height: 100px; background-color: #fff; }
#theader .contwrap { height: 100%; }

#theader .logo { display: block; float: left; height: 100%; writing-mode: vertical-lr; text-align: center; }
#theader .logo img { width: 320px; }

#theader nav { position: absolute; left: 57%; transform: translateX(-50%); top: 0; display: block; height: 100%; }
#theader nav .menu1 { position: relative; display: flex; flex-wrap: nowrap; height: 100%; }
#theader nav .menu1 li { position: relative; height: 100%; }
#theader nav .menu1 li > a { position: relative; display: block; height: 100%; padding: 0 20px; }
#theader nav .menu1 li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: block; text-align: center; font-weight: 700; font-size: 22px; color: #0a214c; letter-spacing: -0.02em; white-space: nowrap; }
#theader nav .menu1 li > a::after { z-index: 1; display: block; content: ''; position: absolute; left: 50%; transform: translateX(-50%); bottom: -1px; width: 0; height: 3px; background-color: #0a214c; transition: width 0.3s; }
#theader nav .menu1 li:hover > a::after { width: 100%; }
#theader nav .menu1 li:last-of-type { display: none; }

/* eng_ver */
#theader.eng_ver nav .menu1 li > a { padding: 0 15px; }
#theader.eng_ver nav .menu1 li > a > span { font-weight: 600; font-size: 20px; line-height: 1.25; }

@media (max-width: 1660px) {
    #theader nav { left: 62%; }
    #theader nav .menu1 li > a { padding: 0 15px; }
    #theader nav .menu1 li > a > span { font-size: 20px; }

    /* eng_ver */
    #theader.eng_ver nav .menu1 li > a { padding: 0 10px; }
    #theader.eng_ver nav .menu1 li > a > span { font-size: 18px; }
}
@media (max-width: 1535px) {
    #theader { height: 90px; }

    #theader .logo img { width: 288px; }

    #theader nav { left: 60%; }
    #theader nav .menu1 li > a { padding: 0 10px; }
    #theader nav .menu1 li > a > span { font-size: 18px; }

    /* eng_ver */
    #theader.eng_ver nav .menu1 li > a { padding: 0 9px; }
    #theader.eng_ver nav .menu1 li > a > span { font-size: 16px; }
}
@media (max-width: 1279px) {
    #theader { height: 80px; }
    #theader .contwrap { width: 100%; max-width: 100%; }

    #theader.active { border-bottom: 1px solid #ddd; }

    #theader .logo { margin-left: 70px; }
    #theader .logo img { width: 256px; }

    #theader nav { display: none; float: none; height: initial; transform: translateX(0); position: absolute; left: 0; right: 0; width: 100%; top: 80px; background-color: rgba(255, 255, 255, 0.8); box-shadow: 0 4px 4px -4px #000; }
    #theader.active nav { display: block; }
    #theader nav .menu1 { left: 0; display: block; height: initial; }
    #theader nav .menu1 li { height: initial; }
    #theader nav .menu1 li > a { height: initial; padding: 13px 5px; }
    #theader nav .menu1 li > a.no_link { pointer-events: none; }
    #theader nav .menu1 li > a > span { top: initial; transform: translateY(0); font-weight: normal; font-size: 15px; color: #000; }
    #theader nav .menu1 li > a::after { display: none; }
    #theader nav .menu1 li:hover > a { background-color: #eee; }
    #theader nav .menu1 li:last-of-type { display: block; }

    /* eng_ver */
    #theader.eng_ver nav .menu1 li > a { padding: 13px 5px; }
    #theader.eng_ver nav .menu1 li > a > span { font-weight: normal; font-size: 15px; }
}
@media (max-width: 1023px) {
    #theader { height: 70px; }

    #theader .logo { margin-left: 50px; }
    #theader .logo img { width: 224px; }

    #theader nav { top: 70px; }
}
@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: 70px; 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: #000; transition: all 0.3s ease; }
#theader.active .hamburgerBtn > div, #theader.scrollh .hamburgerBtn > div { background-color: #000; }
#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: 1279px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 1023px) {
    .hamburgerBtn { right: 50px; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}


#theader .top_lang { z-index: 10; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
#theader .top_lang .langtop { display: flex; flex-wrap: nowrap; align-items: center; padding: 7px 10px; border: 1px solid #1a3058; border-radius: 5px; position: relative; height: 100%; cursor: pointer; }
#theader .top_lang .langtop .img1 { display: inline-block; width: 34px; margin-right: 8px; }
#theader .top_lang .langtop span { display: inline-block; font-weight: 500; font-size: 11px; color: #18305f; margin-right: 8px; }
#theader .top_lang .langtop .arrowdown { width: 10px; transform-origin: center; transition: transform 0.3s; }
#theader .top_lang.langon .langtop .arrowdown { transform: rotateZ(180deg); }

#theader .top_lang .langbottom { display: none; position: absolute; left: 0; width: 100%; padding: 10px; border-radius: 0 0 10px 10px; background-color: rgba(255, 255, 255, 1); border: 1px solid #1a3058; border-top: none; }
#theader .top_lang .langbottom a { display: block; }
#theader .top_lang .langbottom a .img1 { display: inline-block; width: 34px; margin-right: 8px; }
#theader .top_lang .langbottom a span { display: inline-block; font-weight: 500; font-size: 11px; color: #18305f; }

#theader .mo_lang { display: none; padding: 0 !important; text-align: center; border-top: 1px solid #ddd; }
#theader .mo_lang1 { z-index: 10; }
#theader .mo_lang1 .langtop { display: inline-flex; flex-wrap: nowrap; align-items: center; cursor: pointer; padding: 10px 0; }
#theader .mo_lang1 .langtop .img1 { display: inline-block; width: 24px; margin-right: 6px; }
#theader .mo_lang1 .langtop span { display: inline-block; font-weight: 500; font-size: 11px; color: #18305f; margin-right: 6px; }
#theader .mo_lang1 .langtop .arrowdown { width: 8px; transform-origin: center; transition: transform 0.3s; }
#theader .mo_lang1.langon .langtop .arrowdown { transform: rotateZ(180deg); }
#theader .mo_lang1 .langbottom { display: none; position: relative; left: 0; width: 100%; padding: 10px 0; border-top: 1px solid #ddd; text-align: center; }
#theader .mo_lang1 .langbottom a { display: inline-block; }
#theader .mo_lang1 .langbottom a .img1 { display: inline-block; width: 24px; margin-right: 6px; }
#theader .mo_lang1 .langbottom a span { display: inline-block; font-weight: 500; font-size: 11px; color: #18305f; }

@media (max-width: 1660px) {
    #theader .top_lang .langtop { padding: 6px 8px; }
    #theader .top_lang .langtop .img1 { width: 30px; margin-right: 6px; }
    #theader .top_lang .langtop span { margin-right: 6px; }
    #theader .top_lang .langtop .arrowdown { width: 9px; }

    #theader .top_lang .langbottom { border-radius: 0 0 8px 8px; }
    #theader .top_lang .langbottom a .img1 { width: 30px; margin-right: 6px; }
}
@media (max-width: 1440px) {
    #theader .top_lang .langtop .img1 { width: 22px; margin-right: 5px; }
    #theader .top_lang .langtop span { margin-right: 5px; }
    #theader .top_lang .langtop .arrowdown { width: 7px; }

    #theader .top_lang .langbottom { border-radius: 0 0 6px 6px; }
    #theader .top_lang .langbottom a .img1 { width: 24px; margin-right: 5px; }
}
@media (max-width: 1279px) {
    #theader .top_lang { display: none; }

    #theader .mo_lang { display: block; } 
}