/* 메뉴 전체보기 페이지 */

.section--menu {
  position: relative;
  padding: clamp(120px, 12vw, 200px) 0 clamp(80px, 8vw, 150px);
  overflow: hidden;
}

.section--menu::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("../img/menu_logobg.png") center center / cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

#menu_page .reason_desc {
  margin-top: clamp(20px, 3vw, 40px);
}
.custom-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 30px; 
    margin: clamp(60px, 5vw, 80px) auto;
    width: 100%;
    max-width: 1480px;
    box-sizing: border-box;
    padding: 0 20px;
}

.custom-menu-item {
    text-align: center;
    min-width: 0;
}

.custom-menu-item img {
    width: 100%; 
    max-width: 240px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.custom-menu-title {
    margin: 15px 0 0 0;
    padding: 0;
    font-family: "Museum", sans-serif;
    font-size: clamp(16px, 1.3vw, 24px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.5px;
}


@media screen and (max-width: 1024px) {
    .custom-menu-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
  .section--menu::before {
    background-image: url("../img/menu_logobg_mo.png");
  }

  .custom-menu-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
  }
}

@media screen and (max-width: 480px) {
  .custom-menu-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
  }
  
  .custom-menu-title {
      font-size: 14px;
      margin-top: 10px;
  }

  #menu_page .reason_desc br {
    display: none;
  }
}