/* í—¤ë”ì‹œìž‘ */
#header {
  width: 100vw;
  position: fixed;
  top: 0;
  z-index: 99;
}

#header .header {
  width: 100%;
  height: 90px;
  position: relative;
}

#header .header.active .nav-box .gab-box > a {
  color: #000000;
}



#header .header.active .sub-menu .ani a {
  background: #000000;
}

#header .header .header-logo {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  width: 100px;
}

#header .header2 .header-logo {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  width: 150px;
 
}

#header .header .header-logo img {
  width: 100%;
  cursor: pointer;
}

/* language-box */

.language-box {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.language-1depth-box {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.language-1depth-box .language-1depth {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.language-1depth > a {
  border: 1px solid #fff;
  color: #fff;
  border-radius: 10px;
  padding: 5px 7px;
  padding-top: 0;
  font-size: 14px;
}

.language-1depth > a.active {
  border: 1px solid #000;
  color: #000;
}

.language-1depth > a i {
  display: none;
  font-size: 24px;
}

/* language-2depth */
.language-2depth-box {
  position: absolute;
  top: 50px;
  width: 100px;
  height: 0px;
  opacity: 0;
  overflow: hidden;
  padding: 10px 7px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 1px 1px 5px #ccc;
  background-color: white;
}

.language-2depth-box.active {
  height: 100px;
  opacity: 1;
}
.language-2depth-box .language-2depth {
  width: 100%;
}

.language-2depth-box .language-2depth a {
  display: block;
  color: black;
  font-weight: bold;
  padding: 5px 0;
  text-transform: uppercase;
  transition: all 0.3s ease-in;
}

.language-2depth-box .language-2depth a:hover {
  color: #00573f;
}

.language-2depth-box .language-2depth.active a {
  color: #00573f;
}

.sub-menu {
  display: none;
  cursor: pointer;
  position: relative;
  z-index: 999;
}

.ani:hover a.line2 {
  transform: translateX(5px);
}

.sub-menu .ani a {
  display: block;
  width: 30px;
  height: 2px;
  background: #ffffff;
}

.sub-menu .ani a.line1 {
  transition: all 0.3s;
  transform: rotate(0deg);
  position: relative;
  z-index: 999;
}

.sub-menu .ani a.line2 {
  transition: all 0.3s;
  opacity: 1;
  margin: 3px 0;
}

.sub-menu .ani a.line3 {
  transition: all 0.3s;
  transform: rotate(0deg);
  position: relative;
  z-index: 999;
}

/* í—¤ë”1 ì‹œìž‘ */
#header .header1 .header1-box {
  width: 100%;
  height: 90px;
  max-width: 1000px;
  margin: 0 auto;
}

.header1-box .nav-box {
  width: 100%;
  height: 90px;
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/* gab-box */
.nav-box .gab-box {
  flex: 1;
  height: 90px;
  text-align: center;
}

.nav-box .gab-box > a {
  display: block;
  font-size: 18px;
  width: 100%;
  height: 100%;
  line-height: 90px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: white;
}

.nav-box .gab-box > a::before {
  content: "";
  position: absolute;
  /* display: flex; */
  top: 20px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #00573f;
  transition: all 0.7s ease-in-out;
  opacity: 0;
}

.nav-box .gab-box > a:hover::before{
  opacity: 1;
}

/* .nav-box .gab-box > a:hover {
    color: #3a75bf;
  } */


/* lng-box */
.nav-box .gab-box .lnb-box {
  width: 100%;
  background-color: white;
  opacity: 0;
  height: 0px;
  padding: 10px 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 1px 1px 5px #ccc;
  transform: translateY(-20px);
  transition: all 0.5s ease-in-out;
}

.nav-box .gab-box.gab-box1 .lnb-box.active {
  height: 95px;
  opacity: 1;
  transform: translateY(0px);
}

.nav-box .gab-box.gab-box2 .lnb-box.active {
  height: 95px;
  opacity: 1;
  transform: translateY(0px);
}

.nav-box .gab-box.gab-box3 .lnb-box.active {
  height: 95px;
  opacity: 1;
  transform: translateY(0px);
}

.nav-box .gab-box.gab-box4 .lnb-box.active {
  height: 60px;
  opacity: 1;
  transform: translateY(0px);
}

.nav-box .gab-box.gab-box5 .lnb-box.active {
  height: 60px;
  opacity: 1;
  transform: translateY(0px);
}

.nav-box .gab-box.gab-box6 .lnb-box.active {
  height: 60px;
  opacity: 1;
  transform: translateY(0px);
}

.gab-box .lnb-box .lnb {
  width: 100%;
  text-align: center;
}

.lnb-box .lnb a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  letter-spacing: -1px;
  color: #666;
  transition: all 0.3s ease-in-out;
}

.lnb-box .lnb a:hover {
  color: #00573f;
}

/* ë°˜ì‘í˜• í—¤ë” */

#header2 {
  width: 100vw;
  height: 100%;
  position: fixed;
  right: -120%;
  background-color: #fff;
  z-index: 99;
  display: none;
  padding: 0 20px;
  box-sizing: border-box;
  overflow-y: scroll;
}

.responsive-nav {
  width: 100%;
  height: 100vh;
}

.responsive-nav .responsive-top {
  width: 100%;
  height: 90px;
  position: relative;
  top: 0;
}

.responsive-top .close-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  text-transform: uppercase;
}

.close-btn span {
  opacity: 0;
  font-size: 30px;
  padding: 5px;
  transition: all 2s ease-in;
}

.close-btn i {
  opacity: 0;
  font-size: 30px;
  padding: 5px;
  transition: all 2s ease-in;
}

.close-btn span.active {
  opacity: 1;
}

.close-btn i.active {
  opacity: 1;
}

.close-btn a.line1 {
  display: block;
  width: 30px;
  height: 2px;
  background: #000;
  transition: all 0.3s;
  transform: rotate(0deg);
  position: relative;
  z-index: 999;
}

.close-btn a.line2 {
  display: block;
  width: 30px;
  height: 2px;
  background: #000;
  transition: all 0.3s;
  opacity: 1;
  margin: 3px 0;
}

.close-btn a.line3 {
  display: block;
  width: 30px;
  height: 2px;
  background: #000;
  transition: all 0.3s;
  transform: rotate(0deg);
  position: relative;
  z-index: 999;
}

.close-btn .ani.act a.line1 {
  transform: rotate(-45deg);
  top: 5px;
}

.close-btn .ani.act a.line2 {
  opacity: 0;
}

.close-btn .ani.act a.line3 {
  transform: rotate(45deg);
  top: -5px;
}

.header2-logo {
  width: 100%;
  padding: 0 0 50px;
  display: flex;
  justify-content: center;
}

.header2-logo h1{
  width: 200px;
}

.header2-logo h1 img{
  width: 100%;
}

.header2-nav {
  width: 100%;
  padding: 20px 0;
  box-sizing: border-box;
  margin-bottom: 150px;
}

.header2-nav .nav2-box {
  width: 100%;
  display: flex;
}

.nav2-box .gnb2-box {
  flex: 1;
  padding: 0 5px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-right: 1px solid #ccc;
  text-align: center;
}

.nav2-box .gnb2-box .gnb-tit {
  font-size: 20px;
  font-weight: bold;
}

.gnb-tit i {
  font-size: 14px;
  display: none;
}

.nav2-box .gnb2-box:last-child {
  border: none;
}

.lnb2-box {
  width: 100%;
  padding-top: 40px;
}

.lnb2-box .lnb2 {
  width: 100%;
  margin-bottom: 1px;
}

.lnb2-box .lnb2 a {
  display: block;
  padding: 7px 0;
  transition: all 0.3s ease-in;
  color: #666;
  letter-spacing: -0.7px;
  font-size: 15px;
}

.lnb2-box .lnb2 a:hover {
  color: #00573f;
}

/* ëª¨ë°”ì¼ */
.header2-nav .nav2-box2 {
  width: 100%;
  display: none;
}

.nav2-box2 .gnb2-box2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
}

.nav2-box2 .gnb2-box2 .gnb-tit2 {
  font-size: 20px;
  font-weight: bold;
  padding: 15px 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc;
  display: flex;
  width: 100%;
  justify-content: space-between;
  line-height: 1;
}

.gnb-tit2 i {
  font-size: 14px;
  padding-left: 10px;
}

.lnb2-box2 {
  width: 100%;
  box-shadow: 0px 1px 5px #ccc;
  display: none;
}

.lnb2-box2 .lnb2 {
  width: 100%;
  margin-bottom: 1px;
}

.lnb2-box2 .lnb2 a {
  display: block;
  padding: 7px 10px;
  background-origin: border-box;
  transition: all 0.3s ease-in;
  color: #666;
}

.lnb2-box2 .lnb2 a:hover {
  color: #00573f;
}


#header .header .nav-box .gab-box .fs{
  font-size: 20px;
  font-weight: 600;
  color: rgb(255, 251, 0);
  
}

#header .header .nav-box .gab-box .fs.active{
  color: #000;
}


@media screen and (max-width: 1280px) {
  /* .header1-box {
      display: none;
    } */

  #header .header1 .header1-box {
    max-width: 800px;
    margin: 0 auto;
  }

  .header1-box .nav-box {
    width: 100%;
    height: 90px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 1100px) {
  .header1-box {
    display: none;
  }

  .language-box {
    right: 30px;
  }

  .language-1depth > a {
    border: none;
  }

  .language-1depth > a.active {
    border: none;
  }

  .language-1depth > a span {
    display: none;
  }

  .language-1depth > a i {
    display: block;
  }

  .sub-menu {
    display: block;
  }

  #header2 {
    display: block;
  }
}

@media screen and (max-width: 960px) {
  #header2 {
    width: 90vw;
  }
  .header2-nav .nav2-box {
    display: none;
  }

  .header2-nav .nav2-box2 {
    display: block;
  }
}

@media screen and (max-width: 600px) {
  /* #header .header .header-logo {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 200px;
  } */
  .header2-logo h1 {
    width: 150px;
}
}

@media screen and (max-width: 430px) {
  #header .header .header-logo {
    width: 80px;
    padding-bottom: 5px;
  }
} 
