/* 전체 메뉴 기본 폰트 */
/*.header {*/
/*    position: relative;*/
/*    z-index: 2000;*/
/*    background: #fff;*/
/*}*/

.nav {
  position: relative;
  z-index: 2000;
}

.full-menu {
  position: absolute;
  top: 165px;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 0;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.full-menu.active {
  transform: translateY(0);
}

.menu-header {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 10px; /* bottom 패딩 줄임 */
  border-bottom: none; /* 선 제거 */
  display: none; /* 숨김 */
}

.menu-close {
  cursor: pointer;
}

.menu-grid {
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(6, 16.66%);
  gap: 0;
  padding: 0;
  position: relative;
  /* 왼쪽 여백 조정 */
  margin: 0 auto;
}

.menu-column {
  position: relative;
  padding: 30px 20px;
}

/* 모든 구분선에 대한 공통 스타일 */
.menu-column::before,
.menu-column::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0; /* 구분선 위치 통일 */
  height: 100%;
  width: 1px;
  background-color: #d0d0d0;
}

/* 첫 번째 컬럼의 왼쪽 구분선 */
.menu-column:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0; /* 왼쪽 구분선도 같은 간격 유지 */
  height: 100%;
  width: 1px;
  background-color: #d0d0d0;
}

/* 마지막 컬럼의 오른쪽 구분선 */
.menu-column:last-child::after {
  right: 0; /* 모든 구분선의 위치를 동일하게 설정 */
}

/*.menu-column:not(:last-child)::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    right: -30px; !* 구분선 위치 조정 *!*/
/*    top: 0;*/
/*    height: 100%;*/
/*    width: 1px;*/
/*    background-color: #eee;*/
/*}*/

.menu-column h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left; /* 왼쪽 정렬 */
}

.menu-column:hover h3 {
  color: #4169e1;
}

.menu-column ul {
  list-style: none;
  padding: 0;
}

.menu-column ul li {
  margin-bottom: 15px;
}

.menu-column ul li a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap; /* 줄바꿈 방지 */
  display: block; /* 블록 레벨로 변경 */
  overflow: hidden; /* 넘치는 텍스트 숨김 */
  text-overflow: ellipsis; /* 넘치는 텍스트를 ...으로 표시 */
}

.menu-column ul li a:hover {
  color: #4169e1;
}

/* 메뉴 제목에 폰트 적용 */
.menu-header h2,
.menu-column h3 {
  font-family: "ONE-Mobile-Title", sans-serif;
}

@media screen and (max-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(3, 33.3%);
  }
}

@media screen and (max-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(2, 50%);
  }
}
