/*    [[시작지점]]    */
.lnb {
  width: 10%;
  height: 10%;
  display: flex;
  justify-content: flex-end; /* 요소를 오른쪽으로 정렬합니다 */
}

/*    일반 메뉴 아이템    */

.lnb .menuItem {
  text-align: center;
  flex: 1;
  list-style: none;
  padding: 0.2em 0em;
  transition: 0.2s background linear;
  background: #151515;
  position: relative;
  color: white;
  text-decoration: none;
  transition: 0.2s color linear;
  width: 100%;
  height: 100%;
  display: block;
  font-weight: bold;
}

.lnb .menuItem.active {
  height: 110%;
}

.lnb .menuItem:first-child {
}

.lnb .menuItem:last-child {
}

.lnb .menuItem a {
  color: white;
  text-decoration: none;
  transition: 0.2s color linear;
  width: 100%;
  height: 100%;
  display: block;
  font-weight: bold;
}

.lnb .menuItem:hover {
  background: rgba(0, 0, 0, 0);
  color: rgba(0, 0, 0, 0);
}

.lnb .menuItem:hover a {
  color: rgba(0, 0, 0, 0);
}

/*    일반 메뉴 아이템 끝    */

/*    메뉴 서브 리스트 시작    */

.menusubList{
  z-index:10;
}

.menusubListNav:hover .menusubList {
  visibility: visible;
  transform: scale(1)
}

.menusubListNav .menusubList {
  transition: 0.2s transform linear;
  transform: scale(1, 0);
  transform-origin: 50% 0%;
  position: absolute;
  width: 500%;
  top: 1.9em;
  box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.3);
  visibility: hidden;
}

.menusubList div.menudivstItem {
  border-left: 0.2em rgba(144, 191, 163, 0.74) solid;
  background: white;
  color: black;
  padding: 0.5em;
  box-sizing: border-box;
  text-decoration: none;
  width: 500%;
  height: 0%;
  display: block;
  font-weight: initial;
  text-align: initial;
  transition: 0.2s background linear;
}

.menudivstItem>a {
  display: none!important;
}

.menusubList div.menudivstItem.child {
  padding-left: 0.9em;
  border-left: 0.4em rgba(144, 191, 163, 0.74) solid;
}

.menusubList div.menudivstItem:hover {
  background: rgba(0, 0, 0, 1);
}

/*    메뉴 서브 리스트 끝    */

@media (max-width: 500px) {
  .lnb {
    flex-direction: column-reverse;
    background: rgba(144, 191, 163, 0.74);
  }
  .lnb .menuItem:first-child {
    border-radius: 0.6em 0.6em 0 0;
  }
  .lnb .menuItem:last-child {
    border-top-left-radius: 0em;
  }
  .menusubListNav:hover .menusubList {
    display: block;
    position: relative;
    top: 0;
  }
}