.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  color: #fff;
  transition: color .25s, background .25s;
  -webkit-transition: color .25s, background .25s;
  -moz-transition: color .25s, background .25s;
  -ms-transition: color .25s, background .25s;
  -o-transition: color .25s, background .25s;
  border-bottom: transparent;
}
.site-header::after{
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
background-color:  #DEE8E2;
  opacity: 0;
}

.menu-toggle {
    display: none;
}

.header-inner {
  position: relative;
  z-index: 2;
  height: 120px;
  padding: 0 var(--side);
  display: flex;
  align-items: center;
  max-width: 1920px;
  margin: 0 auto;

}

.brand {
  width: 160px;
  height: 55px;
  flex: 0 0 160px
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

.global-nav {
  flex: 1;
  height: 100%
}

.gnb-list {
  height: 100%;
  display: flex;
  justify-content: center;

}

.gnb-list>li {
  width: 170px;
  text-align: center;

}

.gnb-list>li>a {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500
}

.gnb-list ul {
  position: relative;
  z-index: 2;
  height: 0;
  overflow: hidden;
  padding-top: 0;
  border-right: 1px solid transparent;
  transition: height .25s, padding .25s;
  -webkit-transition: height .25s, padding .25s;
  -moz-transition: height .25s, padding .25s;
  -ms-transition: height .25s, padding .25s;
  -o-transition: height .25s, padding .25s;

}

.gnb-list ul a {
  display: block;
  padding: 7px 8px;
  color: #000;
  font-size: 17px;
  font-weight: 300
}

.gnb-list ul a:hover {
  color: var(--blue);
  font-weight: 800
}

.gnb-list>li:hover ul {
  background: #f2f8ff
}

.language {
  width: 160px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  font-size: 15px
}

.language i {
  height: 11px;
  border-left: 1px solid currentColor
}

.language span:last-child {
  opacity: .35
}

.gnb-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  border-bottom: .5px solid #dee8e2;
  transition: height .25s, opacity .25s;
  -webkit-transition: height .25s, opacity .25s;
  -moz-transition: height .25s, opacity .25s;
  -ms-transition: height .25s, opacity .25s;
  -o-transition: height .25s, opacity .25s;
}

.site-header:has(.gnb-list:hover) {
  color: #00173e
}
.site-header:has(.gnb-list:hover)::after {
opacity: 1;
}

.site-header:has(.gnb-list:hover) .gnb-backdrop {
  height: 365px;
  opacity: 1;


}

.site-header:has(.gnb-list:hover) .gnb-list ul {
  height: 245px;
  padding-top: 23px;
  border-color: #dee8e2;
}
#siteHeader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

/* 스크롤 헤더 */
#siteHeader.is-scroll-show,
#siteHeader.is-scroll-hide {
    position: fixed;
    background: #fff;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;

}

/* 아래로 스크롤 */
#siteHeader.is-scroll-show {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    border-bottom: 1px solid #eee;
}

/* 위로 스크롤 */
#siteHeader.is-scroll-hide {
    transform: translate3d(0, -100%, 0);
}

#siteHeader.is-scroll-show .gnb-list > li > a,
#siteHeader.is-scroll-show .language {
    color: #00173e;
}


.site-footer {
  position: relative;
  border-top: 1px solid rgba(47, 66, 93, .2);
  background: radial-gradient(circle at 80% 110%, rgba(54, 137, 255, .2), transparent 30%), #fff
}

.footer-inner {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px
}

.footer-logo {
  width: 160px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 60px
}

.site-footer h2 {
  font-size: 25px;
  margin-bottom: 30px
}

.contact-grid {
  display: flex;
  gap: 50px;
  font-size: 18px
}

.contact-grid address {
  padding-right: 50px;
  border-right: 1px solid rgba(47, 66, 93, .2)
}

.contact-grid strong {
  display: block;
  font-size: 20px;
  margin-bottom: 5px
}

.copyright {
  margin-top: 60px;
  font-size: 18px
}

.to-top {
  position: absolute;
  right: 0;
  top: 152px;
  width: 76px;
  height: 76px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 32px;
  cursor: pointer
}
@media(max-width:1400px){
  .header-inner{
    padding: 0 40px;
  }
}
@media(max-width:1100px) {
  .header-inner {
    height: 84px
  }

  .site-header {
    height: 84px
  }

  .brand {
    width: 115px;
    height: auto;
    flex-basis: 115px
  }

  .global-nav {
    position: fixed;
    inset: 84px 0 auto;
    background: #fff;
    color: var(--navy);
    max-height: 0;
    overflow: auto;
    transition: max-height .3s
  }

  .global-nav.is-open {
    max-height: calc(100vh - 84px)
  }

  .gnb-list {
    height: auto;
    display: block;
    padding: 16px 24px 30px
  }

  .gnb-list>li {
    width: 100%;
    text-align: center;
  }

  .gnb-list>li>a {
    height: auto;
    padding: 15px 0;
    font-size: 18px
  }

  .gnb-list ul,
  .site-header:has(.gnb-list:hover) .gnb-list ul {
    height: auto;
    padding: 0 0 12px;
    border: 0;
    background: transparent
  }

  .gnb-list ul a {
    padding: 5px 15px
  }

  .language {
    margin-left: auto;
    width: auto
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    margin-left: 20px;
    border: 0;
    background: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    order: 3
  }

  .menu-toggle span {
    width: 24px;
    border-top: 2px solid currentColor
  }

  .gnb-backdrop {
    display: none
  }

  .site-header:has(.gnb-list:hover) {
    /* color: #fff */
  }

  .site-header.is-menu-open {
    color: var(--navy);
    background: #fff !important;
    position: fixed;
  }

  .footer-inner {
    padding-block: 65px
  }

  .contact-grid {
    display: grid
  }

  .contact-grid address {
    border: 0;
    padding: 0
  }

  .to-top {
    top: 60px
  }
  @media (min-width: 1101px) {


    #siteHeader.is-scroll-show,
    #siteHeader.is-scroll-hide {
        position: fixed;
        background: #fff;
        transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform;
        -webkit-transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        -moz-transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        -ms-transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        -o-transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

    /* 아래로 스크롤 */
    #siteHeader.is-scroll-show {
        transform: translate3d(0, 0, 0);
        border-bottom: 1px solid #eee;
    }

    /* 위로 스크롤 */
    #siteHeader.is-scroll-hide {
        transform: translate3d(0, -100%, 0);
    }

    #siteHeader.is-scroll-show .gnb-list > li > a,
    #siteHeader.is-scroll-show .language {
        color: #00173e;
    }
}
}
@media (max-width: 1100px) {

    .gnb-list > li > ul {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    .gnb-list > li.is-active > ul {
        max-height: 400px;
        opacity: 1;
    }
    .site-header:has(.gnb-list:hover) .header-inner {
border-bottom:none;
}




}

@media (max-width: 1100px) {

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 84px;
        z-index: 1000;
    }

    .header-inner {
        height: 84px;
    }

    /* 모바일에서는 스크롤 애니메이션 제거 */
    #siteHeader.is-scroll-show,
    #siteHeader.is-scroll-hide {
        position: fixed;
        transform: none;
    }
    #siteHeader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;

}
.menu-toggle{
  background: none;
  color: #00173e;
}
}