/* 유니트 */

/* .tab_wwrap {
  width: 95%;
  display: flex;
  flex-flow: row wrap;
  margin: 0 auto;
  padding: 6vw 0;
}
.tab_wwrap li {
  flex: 25%;
  position: relative;
  margin-bottom: 1px;
}
.tab_wwrap a {
  width: auto;
  display: block;
  font-size: 3.5vw;
  padding: 3vw 0;
  text-align: center;
  background-color: #efefef;
  color: #000;
  border-bottom: none;
  position: relative;
}

.tab_wwrap li::after {
  width: 1px;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  content: "";
}

.wwrap_box {
  display: none;
}

.wwrap_box img {
  width: 100%;
}

.wwrap_box:not(.hide) {
  display: block;
  animation: opac 0.3s;
}

.tab_wwrap a.on {
  background-color: #e31837;
  color: #fff;
  font-weight: bold;
} */
.sub .title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.sub .title h2 {
  font-size: 7vw;
  font-weight: 700;
  color: #2c2c2c;
}

.sub .title .line {
  width: 2px;
  height: 6vw;
  background: #323232;
  display: block;
  margin: 6vw 0 0;
}

.sub_bottom {
  width: 100%;
}
.sub_bottom img {
  width: 100%;
}
.tab_btn {
  width: 96%;
  margin: 6vw auto 10vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5vw;
}
.tab_btn li {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* .tab_btn li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 5vw;
  border-bottom: 2px solid #e7e7e7;
  font-size: 3vw;
  padding-bottom: 3vw;
}
.tab_btn li a.active {
  color: #e31837; 
  font-weight: bold;
  border-bottom: 2px solid #e31837;
} */

.tab_sub .item {
  width: 98%;
  margin: 0 auto;
  display: none;
}
.tab_sub .item img {
  width: 100%;
}
.tab_sub .item .txt {
  font-size: 3.5vw;
  font-weight: 600;
  /* margin: 3vw 0 2vw; */
  color: #000;
}
.unit_btn li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 10vw;
  background: #323232;
  border-bottom: 2px solid #323232;
}
.unit_btn li a span {
  font-size: 3vw;
  font-weight: 700;
  color: #fff;
}
.unit_btn li a img {
  display: none;
}
.unit_btn li a.active {
  color: #fff;
  background: #e31837;
  border-bottom: 2px solid #e31837;
}
.unit_btn li a.openModalBtn.active {
  background: #323232;
  border-bottom: 2px solid #323232;
}
.unit_top {
  width: 100%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 7777;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);

  display: flex;
  justify-content: center;
  align-items: center;
}

#modal02 {
  display: none;
}
.modal-content {
  background-color: #fff;
  margin: 22vw auto 0;
  padding: 20px;
  /* border-radius: 10px; */
  width: 90%;
  max-width: 95%;
  height: 80vh; /* 고정 높이 설정 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  overflow-y: auto; /* 세로 스크롤 추가 */
  overflow-x: hidden; /* 가로 스크롤 방지 */
}
.modal-content .cont {
  width: 100%;
}
.modal-content .cont .txt {
  font-size: 4vw;
  font-weight: 600;
  margin: 4vw 0 1vw;
}

.modal-content img {
  width: 100%; /* 컨테이너 너비에 맞춤 */
  /* border-radius: 6px; */
  display: block;
}

.close {
  color: #a3a3a3;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #e31837;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reservation_tab {
  position: relative;
  padding-bottom: 3vw;
}

.reservation_tab ul {
  display: flex;
  justify-content: center;
  padding-top: 7vw;
}

.reservation_tab ul li {
  width: 40vw;
  line-height: 9vw;
  margin-left: 2vw;
  text-align: center;
  border: 1px solid #c4c4c4;
}

.reservation_tab ul li:nth-child(1) {
  margin-left: 0;
}

.reservation_tab ul li a {
  display: block;
  font-size: 2.5vw;
  width: 100%;
  height: 100%;
  color: #353535;
  font-family: "NanumGothicBold", sans-serif;
}

.reservation_tab ul li.on,
.reservation_tab ul li.on a {
  background-color: #e31837;
  color: #fff;
}
