@charset "utf-8";

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: #fff;
}
/* head */
.head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100px;
  padding: 0 2%;
}
.head h1 {
  position: relative;
  z-index: 120;
}
.head h1 a {
  display: block;
  width: 166px;
  height: 50px;
  text-indent: -9999px;
  background: url(../../img/common/logo1.png) no-repeat center;
  transition: all 0.3s;
}

.head .gnb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 140px;
}

/* lang */
.head .gnb .language {
  position: relative;
}
.head .gnb .language a {
  position: relative;
  padding-right: 15px;
  font-size: 15px;
  color: #000;
  font-weight: 700;
}
.head .gnb .language > a::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  right: 0px;
  width: 5px;
  height: 5px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg) translate(-6px);
}
.head .gnb .language .lang-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}
.head .gnb .language .lang-list li {
}
.head .gnb .language .lang-list li a {
  font-size: 16px;
  font-weight: 600;
  color: #999;
  text-decoration: underline;
}
.head .gnb .language .lang-list li a:hover {
  color: #222;
}
.head .gnb .language .lang_list li.on a {
  color: #222;
  text-decoration: underline;
}

/* btn */
.head .gnb .btn-menu {
  position: relative;
  width: 60px;
  cursor: pointer;
  z-index: 120;
}
.head .gnb .btn-menu div {
  /* icon */
  width: 100%;
  height: 2px;
  margin-bottom: 8px;
  background: #000;
  transition: transform 0.4s ease;
}
.head .gnb .btn-menu div:nth-child(2) {
  margin-bottom: 0;
}
.head .gnb .btn-menu.openmenu div {
  width: 35px;
  margin: 0 auto;
}
.head .gnb .btn-menu.openmenu div:nth-of-type(1) {
  transform: rotate(-45deg) translateY(1px);
  transition: transform 0.4s ease;
}
.head .gnb .btn-menu.openmenu div:nth-of-type(2) {
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.4s ease;
}
/* 활성화 시 */
.head .gnb .language.active .lang-list {
  max-height: 400px;
}

@media screen and (max-width: 812px) {
  .head {
    height: 80px;
  }
  .head h1 a {
    width: 116px;
  }
  .head .gnb {
    width: 100px;
  }
  .head .gnb .btn-menu {
    width: 40px;
  }
}

/* head end 
======================================================================*/

/* main */
.menu {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100vh;
  /* display: none; */
  transform: scale(0);
}
.menu::before {
  /* menu의 배경 */
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
  background: rgba(255, 255, 255, 0.98);
}
.menu-inner {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10px;
  max-width: 100%;
}
.menu-inner > ul {
  width: 100%;
}
.menu-inner > ul > li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4vh 7.5vw;
}
.menu-inner > ul > li::before {
  /* li사이 구분선 */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  height: 1px;
  width: 0;
}
.munu .menu-inner > ul > li > ul > li {
  opacity: 0;
  margin-right: 3.5vw;
}
.menu.open {
  /* display: block; */
  transform: scale(1);
  transition: all 0s;
}
.menu.open .menu-inner > ul > li::before {
  /* menu 활성화 시 변화*/
  width: 100%;
  transition: width 2s ease-in-out;
}
.menu.open .menu-inner > ul > li:last-child::before {
  display: none;
}

.menu-inner > ul > li > a {
  width: 377px;
  display: block;
  font-size: 60px;
  color: #000;
  font-weight: 500;
}
.menu.open .menu-inner ul > li > ul {
  display: flex;
  width: calc(100% - 337px);
}
.menu.open .menu-inner ul > li > ul > li {
  margin-right: 3.5vw;
  animation: fadeLeftText 1s ease-in-out 0.1s forwards;
}
.menu.open .menu-inner ul > li > ul > li:nth-of-type(2) {
  animation-delay: 0.2;
}
.menu.open .menu-inner ul > li > ul > li:nth-of-type(3) {
  animation-delay: 0.3;
}
.menu.open .menu-inner ul > li > ul > li:nth-of-type(4) {
  animation-delay: 0.4;
}
.menu.open .menu-inner ul > li > ul > li:nth-of-type(5) {
  animation-delay: 0.5;
}

.menu.open .menu-inner ul > li > ul > li > a {
  font-weight: 400;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.7);
}
.menu.open .menu-inner ul > li > ul > li > a:hover {
  color: #000;
  font-weight: 500;
}

@keyframes fadeLeftText {
  0% {
    transform: translate3d(-30px, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0px, 0, 0);
    opacity: 1;
  }
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 812px) {
  .menu .menu-inner > ul > li {
    /* align-items: normal; */
    padding: 3vh 7.5vh;
  }
  .menu .menu-inner > ul > li > a {
    font-size: 28px;
    width: 156px;
  }
  .menu .menu-inner > ul > li > ul {
    width: calc(100% - 156px);
    flex-direction: column;
  }
  .menu .menu-inner > ul > li > ul > li > a {
    font-size: 14px;
  }
  .menu .menu-inner > ul > li > ul > li > a:hover {
    color: rgba(0, 0, 0, 0.7);
    font-weight: 400;
  }
}

/* main end
======================================================================*/
