#theader { z-index: 1050; position: absolute; top: 0; left: 0; width: 100%; height: 150px; border-bottom: 1px solid transparent; }
#theader .fullwrap { height: 100%; }

#theader .logo { display: block; float: left; height: 100%; writing-mode: vertical-lr; text-align: center; }
#theader .logo img { display: inline-block; width: 205px; }

#theader #tnav { position: relative; left: 15px; display: block; float: right; height: 100%; }
#theader #tnav .menu1 { display: flex; flex-wrap: nowrap; height: 100%; }
#theader #tnav .menu1 > li { position: relative; height: 100%; }
#theader #tnav .menu1 > li > a { display: block; padding: 0 15px; height: 100%; }
#theader #tnav .menu1 > li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; font-family: 'Gyeonggi'; font-weight: 500; font-size: 22px; color: #fff; letter-spacing: -0.05em; }
#theader #tnav .menu1 .menu2 { position: absolute; left: 0; width: 100%; display: none; border-left: 1px solid rgba(255, 255, 255, 0.3); }
#theader #tnav .menu1 > li:last-of-type .menu2 { border-right: 1px solid rgba(255, 255, 255, 0.3); }
#theader #tnav .menu1 .menu2 > a { display: block; padding: 13px 5px; text-align: center; }
#theader #tnav .menu1 .menu2 > a > span { display: inline-block; font-family: 'Gyeonggi'; font-weight: 300; font-size: 17px; color: #fff; }
/* #theader #tnav .menu1 .menu2 > a > span:hover { color: dodgerblue; } */

.header_bg { z-index: 1049; display: none; position: absolute; top: 0; left: 0; width: 100%; backdrop-filter: blur(6px); border-bottom: 1px solid transparent; }
.header_bg.mouseover { transition: border 0.3s; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* mouseover */
#theader.mouseover { border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* subver */
#theader.subver { background-color: rgba(0, 0, 0, 0.3); }
#theader.subver.mouseover { background-color: transparent; transition: background-color 0.3s; }
.header_bg.subver { top: 0; background-color: rgba(0, 0, 0, 0.3); /* backdrop-filter: blur(0px) !important; */ }

@media (max-width: 1720px) {
    #theader { height: 130px; }

    #theader .logo img { width: 177px; }

    #theader #tnav .menu1 > li > a > span { font-size: 20px; }
    #theader #tnav .menu1 .menu2 > a > span { font-size: 16px; }
}
@media (max-width: 1620px) {
    #theader { height: 110px; }

    #theader .logo img { width: 150px; }

    #theader #tnav .menu1 > li > a > span { font-size: 19px; }
    #theader #tnav .menu1 .menu2 > a > span { font-size: 15px; }
}
@media (max-width: 1535px) {
    #theader { position: fixed; }
    #theader.active { background-color: rgba(0, 0, 0, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
    #theader.scrollh { background-color: rgba(0, 0, 0, 0.8); border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
    
    #theader .fullwrap { width: 100%; max-width: 100%; }

    #theader .logo { margin-left: 70px; }

    #theader #tnav { display: none; position: absolute; left: 0; top: 110px; width: 100%; height: initial; float: none; background-color: rgba(0, 0, 0, 0.8); }
    #theader.active #tnav { display: block; }
    #theader #tnav .menu1 { display: block; height: initial; }
    #theader #tnav .menu1 > li { height: initial; }
    #theader #tnav .menu1 > li > a { padding: 13px 5px; height: initial; text-align: center; }
    #theader #tnav .menu1 > li > a.no_link { pointer-events: none; }
    #theader #tnav .menu1 > li > a > span { top: initial; transform: translateY(0); font-weight: normal; font-size: 15px; }
    #theader #tnav .menu1 > li > a:hover { background-color: #333; }
    #theader #tnav .menu1 .menu2 { position: relative; background-color: #555; border-left: none; }
    #theader #tnav .menu1 > li:last-of-type .menu2 { border-right: none; }
    #theader #tnav .menu1 .menu2 > a > span { font-weight: normal; font-size: 13px; }
    #theader #tnav .menu1 .menu2 > a:hover { background-color: #777; }

    .header_bg { display: none !important; opacity: 0; z-index: -1; }
}
@media (max-width: 1279px) {
    #theader .logo { margin-left: 60px; }
}
@media (max-width: 1230px) {
    #theader .logo { margin-left: 50px; }
}
@media (max-width: 1023px) {
    #theader { height: 90px; }

    #theader .logo { margin-left: 40px; }
    #theader .logo img { width: 120px; }

    #theader #tnav { top: 90px; }
}
@media (max-width: 767px) {
    #theader { height: 70px; }

    #theader .logo { margin-left: 30px; }
    #theader .logo img { width: 95px; }

    #theader #tnav { top: 70px; }
}
@media (max-width: 460px) {
    #theader .logo { margin-left: 20px; }
}


/* hamburgerBtn */
.hamburgerBtn { z-index: 10; position: absolute; top: 50%; transform: translateY(-50%); width: 25px; height: 19px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburgerBtn > div { position: relative; width: 100%; height: 3px; background-color: #fff; transition: all 0.3s ease; border-radius: 100px; }
#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: 1px; transform: rotate(-45deg); transform-origin: bottom left; }
@media (max-width: 1535px) {
    .hamburgerBtn { display: flex; right: 70px; }
}
@media (max-width: 1279px) {
    .hamburgerBtn { right: 60px; }
}
@media (max-width: 1230px) {
    .hamburgerBtn { right: 50px; }
}
@media (max-width: 1023px) {
    .hamburgerBtn { right: 40px; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}