#theader { z-index: 995; position: fixed; top: 0; left: 0; width: 100%; height: 110px; background-color: transparent; border-bottom: 1px solid rgba(255, 255, 255, 0.3); transition: background-color 0.3s, border-bottom 0.3s, height 0.3s; }
#theader.scrollh { background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 4px -4px #000; }
#theader .contwrap { height: 100%; }

#theader .logo { display: block; float: left; height: 100%; writing-mode: vertical-lr; text-align: center; }
#theader .logo img { width: 299px; }
#theader .logo .img1 { display: inline-block; }
#theader .logo .img2 { display: none; }

#theader.active .logo .img1, #theader.scrollh .logo .img1 { display: none; }
#theader.active .logo .img2, #theader.scrollh .logo .img2 { display: inline-block; }

#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 { position: relative; height: 100%; }
#theader nav .menu1 > li > a { 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: 700; font-size: 24px; color: #fff; transition: color 0.3s, font-size 0.3s; }
#theader.scrollh nav .menu1 > li > a > span { color: #333; }
#theader nav .menu1 > li > a::after { z-index: 1; display: block; content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 0; height: 3px; bottom: -1px; background-color: #126aa8; transition: width 0.3s; }
#theader nav .menu1 > li:hover > a::after { width: 100%; }

#theader nav .menu1 .menu2 { display: none; position: absolute; left: 0; width: 100%; background-color: rgba(255, 255, 255, 0.9); }
#theader nav .menu1 .menu2 a { display: block; padding: 13px 5px; text-align: center; }
#theader nav .menu1 .menu2 a > span { display: inline-block; font-size: 14px; color: #333; line-height: 1.45; }
#theader nav .menu1 .menu2 a:hover { background-color: #ddd; }

/* scrollh */
#theader.scrollh { height: 90px; }
#theader.scrollh .logo img { width: 244.63px; }
#theader.scrollh nav .menu1 > li > a > span { font-size: 20px; }

@media (max-width: 1535px) {
    #theader { height: 90px; }

    #theader .logo img { width: 244.63px; }

    #theader nav .menu1 > li > a > span { font-size: 20px; }

    /* scrollh */
    #theader.scrollh { height: 80px; }
    #theader.scrollh .logo img { width: 217.45px; }
    #theader.scrollh nav .menu1 > li > a > span { font-size: 18px; }
    #theader.scrollh nav .menu1 .menu2 a > span { font-size: 13px; }
}
@media (max-width: 1279px) {
    #theader { height: 80px; }

    #theader .logo img { width: 217.45px; }

    #theader nav .menu1 > li > a > span { font-size: 18px; }

    #theader nav .menu1 .menu2 a > span { font-size: 13px; }

    /* scrollh */
    #theader.scrollh { height: 70px; }
    #theader.scrollh .logo img { width: 190.27px; }
}
@media (max-width: 1023px) {
    #theader { position: fixed; height: 70px; }
    #theader.active { background-color: rgba(255, 255, 255, 0.9); box-shadow: none !important; border-bottom: 1px solid #ccc; }
    
    #theader .contwrap { width: 100%; max-width: 100%; }

    #theader .logo { margin-left: 40px; }
    #theader .logo img { width: 190.27px; }

    #theader nav { display: none; position: absolute; left: 0; top: 70px; float: none; 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; text-align: center; }
    #theader nav .menu1 > li { height: initial; }
    #theader nav .menu1 > li > a { height: initial; padding: 11px 5px; }
    #theader nav .menu1 > li:hover > a { background-color: #ddd; }
    #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: 14px; color: #333; }
    #theader nav .menu1 > li > a::after { display: none; }
    #theader nav .menu1 .menu2 { position: relative; background-color: #eee; }
    #theader nav .menu1 .menu2 a { padding: 11px 5px; }
    #theader nav .menu1 .menu2 a:hover { background-color: #ccc; }
    #theader nav .menu1 .menu2 a span { font-size: 13px; }
    #theader nav .menu1 .menu2 a span::after { display: none; }

    /* scrollh */
    #theader.scrollh nav .menu1 > li > a > span { font-size: 14px; }
    #theader.scrollh nav .menu1 .menu2 a > span { font-size: 13px; }
}
@media (max-width: 767px) {
    #theader .logo { margin-left: 30px; }
}
@media (max-width: 460px) {
    #theader .logo { margin-left: 20px; }
}




/* hamburgerBtn */
.hamburgerBtn { display: none; z-index: 10; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 28px; height: 23px; 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.scrollh .hamburgerBtn > div, #theader.active .hamburgerBtn > div { background-color: #126aa8; }
#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: 1023px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}