#theader { z-index: 995; position: absolute; top: 0; left: 0; width: 100%; height: 100px; border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
#theader .contwrap { height: 100%; }

#theader .logo { display: block; float: left; height: 100%; writing-mode: vertical-lr; text-align: center; }
#theader .logo img { display: inline-block; width: 142px; }

#theader nav { position: relative; left: 20px; display: block; float: right; height: 100%; }
#theader nav .menu1 { display: flex; flex-wrap: nowrap; height: 100%; }
#theader nav .menu1 li { height: 100%; }
#theader nav .menu1 li > a { position: relative; display: block; height: 100%; padding: 0 20px; text-align: center; }
#theader nav .menu1 li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; font-weight: 600; font-size: 22px; color: #000; }
#theader nav .menu1 li > a::after { z-index: 1; display: block; content: ''; position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: 0; height: 2px; background-color: #2da539; transition: width 0.3s; }
#theader nav .menu1 li:hover > a::after { width: 100%; }

@media (max-width: 1535px) {
    #theader { height: 90px; }
    #theader .logo img { width: 127.8px; }
    #theader nav .menu1 li > a > span { font-size: 20px; }
}
@media (max-width: 1279px) {
    #theader { height: 80px; }
    #theader .logo img { width: 113.6px; }
    #theader nav .menu1 li > a > span { font-size: 18px; }
}
@media (max-width: 1023px) {
    #theader { position: fixed; height: 70px; }
    #theader .contwrap { width: 100%; max-width: 100%; }
    #theader.scrollh { background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 4px -4px #000; }
    #theader.active { background-color: rgba(255, 255, 255, 0.9); box-shadow: none !important; border-bottom: 1px solid #ddd; }

    #theader .logo { margin-left: 40px; }

    #theader nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; height: initial; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 4px -4px #000; }
    #theader.active nav { display: block; }
    #theader nav .menu1 { display: block; height: initial; }
    #theader nav .menu1 li { height: initial; }
    #theader nav .menu1 li > a { padding: 12px 5px; height: initial; }
    #theader nav .menu1 li > a > span { top: initial; transform: translateY(0); font-weight: normal; font-size: 13px; }
    #theader nav .menu1 li > a:hover { background-color: #efefef; }
    #theader nav .menu1 li > a::after { display: none; }
}
@media (max-width: 767px) {
    #theader { height: 60px; }

    #theader .logo { margin-left: 30px; }

    #theader nav { top: 60px; }
}
@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: #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: 1023px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 20px; }
}