@charset "utf-8";

/* nav */
nav {
  background-color: #fff;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  box-shadow: 0 -0.0625rem 0.3125rem; /* 1px 5px */
  padding: 1.25rem; /* 20px */
  box-sizing: border-box;
  z-index: 99;
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li {
  display: flex;
}

.navLogo {
  width: 4.375rem; /* 70px */
}

.grayLogo {
  width: 3.125rem; /* 50px */
}

#menu_wrap {
  position: fixed;
  top: 0;
  left: -70%; /* 기본 숨김 */
  width: 70%;
  height: calc(100% - 4.375rem - 1.875rem); /* 70px - 30px */
  background: #fff;
  padding: 1.875rem 1.25rem; /* 30px 20px */
  box-sizing: border-box;
  transition: left 0.3s ease;
  z-index: 100;
}

/* gnb */
#gnb li {
  margin-bottom: 1.25rem; /* 20px */
  margin-left: 0.625rem;  /* 10px */
}

#gnb>li:first-child {
  background: url(../img/menuIcon1.png) no-repeat left top;
}

#gnb>li:nth-child(2) {
  background: url(../img/menuIcon2.png) no-repeat left top;
}

#gnb>li:nth-child(3) {
  background: url(../img/menuIcon3.png) no-repeat left top;
}

#gnb>li:nth-child(4) {
  background: url(../img/menuIcon4.png) no-repeat left top;
}

#gnb>li:nth-child(5) {
  background: url(../img/menuIcon5.png) no-repeat left top;
}

#gnb>li:nth-child(6) {
  background: url(../img/menuIcon6.png) no-repeat left top;
}

#gnb>li:nth-child(7) {
  background: url(../img/menuIcon7.png) no-repeat left top;
}

#gnb>li:nth-child(8) {
  background: url(../img/menuIcon8.png) no-repeat left top;
}


#gnb li a {
  display: flex;
  font-size: 1.5rem;
  padding: 0.625rem 3.125rem; /* 10px 50px */
  white-space: nowrap;
}

#gnb > li .submenu {
  display: none;
}

#gnb > li.click .submenu {
  display: block;
}

#gnb .submenu li {
  margin-bottom: 0.625rem; /* 10px */
}

#gnb .submenu li a {
  font-weight: normal;
  text-indent: 2.5em;
  font-size: 1.25rem; /* 20px */
  padding: 0;
  color: #666;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none; /* 기본 숨김 */
  z-index: 90;   /* 메뉴 아래 */
}
