/* 메가 메뉴 */
#megaMenuButton {
  width: 46px;
  height: 46px;
  align-self: center;
  justify-self: flex-end;
  border: none;
  background: none;
  position: relative;
  z-index: 99998;
  cursor: pointer;
}
#megaMenuButton span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #fff;
  margin: 8px auto;
  transition: background-color 0.3s, transform 0.3s, height 0.3s, margin 0.3s;
}
header:hover #megaMenuButton span,
.et-fixed-header #megaMenuButton span {
  background-color: #222;
}
.menu-opened .et-fixed-header #megaMenuButton span,
.menu-opened #megaMenuButton span:first-child,
.menu-opened #megaMenuButton span {
  background-color: #fff !important;
}
#megaMenuButton span:first-child {
  background-color: var(--color-primary) !important;
}
#megaMenuButton:hover span {
  animation: megaButton 0.6s 1;
}
#megaMenuButton:hover span:nth-child(2) {
  animation-delay: 0.2s;
}
#megaMenuButton:hover span:nth-child(3) {
  animation-delay: 0.4s;
}
.menu-opened #megaMenuButton span {
  animation: none;
  margin: 0;
}
.menu-opened #megaMenuButton span:nth-child(1) {
  /* transform: rotate(45deg) translateY(1px); */
  animation: megaButtonRotate1 0.3s 1 forwards;
  animation-delay: 0.3s;
}
.menu-opened #megaMenuButton span:nth-child(2) {
  height: 0;
}
.menu-opened #megaMenuButton span:nth-child(3) {
  /* transform: rotate(-45deg) translateY(-1px); */
  animation: megaButtonRotate2 0.3s 1 forwards;
  animation-delay: 0.3s;
}

@keyframes megaButton {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes megaButtonRotate1 {
  0% {
    transform: rotate(0) translateY(0);
  }
  100% {
    transform: rotate(45deg) translateY(1px);
  }
}
@keyframes megaButtonRotate2 {
  0% {
    transform: rotate(0) translateY(0);
  }
  100% {
    transform: rotate(-45deg) translateY(-2px);
  }
}
/* 메가메뉴 */
#megaMenu {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: calc(var(--wp-admin--admin-bar--height, 0px) + var(--h-header) + 24px) 0 24px;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  z-index: 900;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  transition: clip-path 0.6s;
}
.menu-opened #megaMenu {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
#megaMenu .container {
  display: grid;
  grid-template-columns: 40% 50%;
  gap: 10%;
  height: auto;
  color: #fff;
}
#megaMenu .megaMenu__slogan {
  display: block;
  margin-bottom: 20px;
  font-size: clamp(32px, 3.3vw, 64px);
  line-height: 1.2;
}
#megaMenu .megaMenu__info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 10%;
  font-size: 14px;
  font-weight: lighter;
  line-height: 1.4;
}
#megaMenu .megaMenu__info a {
  color: inherit;
}
#megaMenu .megaMenu__info a:hover {
  text-decoration: underline;
}
#megaMenu .megaMenu__address {
}
#megaMenu .megaMenu__tel {
}
#megaMenu .megaMenu__email {
}
#megaMenu .megaMenu__copy {
  color: #999;
  font-size: 13px;
  font-weight: lighter;
  margin-top: 16vh;
}
#megaMenu .megaMenu__copy a {
  color: inherit;
}
#megaGnb {
  font-size: clamp(22px, 1.8vw, 34px);
  line-height: 1;
  overflow: auto;
}
#megaGnb a {
  color: #fff;
}
#megaGnb > li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  margin-bottom: 2em;
}
[lang='en-US'] #megaGnb > li {
  grid-template-columns: 240px 1fr;
}
#megaGnb > li > a {
  font-weight: 500;
  line-height: 1.2;
}
#megaGnb .sub-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 1em;
}
#megaGnb .sub-menu > li {
  height: 1em;
}
#megaGnb .sub-menu > li > a {
  font-size: clamp(18px, 1.14vw, 22px);
  vertical-align: middle;
  transition: color 0.3s;
  font-weight: 300;
}
#megaGnb .sub-menu > li:hover > a {
  color: var(--color-primary);
}

@media (max-width: 980px) {
  #megaMenu .container {
    height: 100%;
    grid-template-columns: 100%;
    gap: 0;
  }
  #megaMenu .megaMenu__copy {
    margin-top: 24px;
  }
  #megaGnb {
    padding: 24px 0;
  }
  #megaGnb::-webkit-scrollbar {
    display: none;
  }
}
@media (max-width: 768px) {
}
