.header {
  background: #fff;
}
.sub_wrap {
}
.sub {
  width: 100%;
}
.sub_top {
  width: 100%;
  height: 450px;
  background: url("../image/visual_bg.png") no-repeat center bottom;
  background-size: cover;

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

  animation: load_bg 1s both;
}
.sub_top .title {
  text-align: center;
  margin-bottom: 70px;
}
.sub_top .title span {
  font-size: 32px;
  font-weight: 400;
  color: #fff;

  display: block;

  animation: load_L 0.7s both;
  animation-delay: 1.5s;
}
.sub_top .title h2 {
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  margin-top: 16px;

  animation: load_R 0.7s both;
  animation-delay: 1.6s;
}
.sub_top .title h2 strong {
  font-weight: 700;
}
.sub_top .title .line {
  width: 36px;
  height: 1px;
  background: white;
  margin: 32px auto;

  animation: load_bg 0.7s both;
  animation-delay: 1.7s;
}
.sub_top .title img {
  width: 42%;

  animation: load_btm 0.7s both;
  animation-delay: 1.8s;
}

.sub .page {
  width: 1300px;
  margin: 150px auto 200px;

  animation: load_btm 0.7s both;
  animation-delay: 1.3s;
}
.sub .page.tab_page {
  margin: 72px auto 200px;
}
.sub .page.vr_page {
  width: 1500px;
}

.sub .page .inner {
  width: 100%;
  position: relative;
}
.sub .page.vr_page .inner .unit_top {
  width: 1300px;
  margin: 0 auto;
  display: block;
}
.sub .page .iframImg {
  width: 100%;
}
.sub .page .iframImg img {
  width: 100%;
}
.sub .page .iframbox {
  width: 100%;
}
.sub_img {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  z-index: 0;
}
#guest_ifr {
  /* margin: 20px 0 150px; */
  width: 1300px;
  height: 675px;
}
.sub .page .inner .title {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.sub .page .inner .title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #2c2c2c;
}
.sub .page .inner .title .line {
  width: 2px;
  height: 32px;
  background: #323232;
  display: block;
  margin: 52px 0;
}
.tab_btn {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.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%;
  height: 62px;
  margin-bottom: 36px;
  /* border-bottom: 2px solid #e7e7e7; */
  font-size: 18px;
}
.tab_btn li a.active {
  color: #e31837;
  font-weight: bold;
  /* border-bottom: 2px solid #e31837; */
}

.tab_sub .item {
  width: 1200px;
  margin: 0 auto;
  display: none;
}
.tab_sub .item img {
  width: 100%;
}
.tab_sub.magam_sub .item {
  width: 1200px;
  margin: 0 auto;
}
.tab_sub.magam_sub .item img {
  width: 100%;
}
.tab_sub.magam_sub .item .txt {
  font-size: 26px;
  font-weight: 600;
  margin: 52px 0 32px;
}

.unit_btn li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 56px;
  background: #323232;
  /* border-bottom: 2px solid #323232; */
  transition: 0.5s;
}
.unit_btn li a:hover {
  background: #e31837;
}
.unit_btn li a span {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-left: 32px;
}
.unit_btn li a img {
  width: 32px;
  height: 32px;
  margin-right: 32px;
}
.unit_btn li a.active {
  color: #fff;
  /* border-bottom: 2px solid #323232; */
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;

  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);

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

#modal02,
#modal03 {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#modal02.active,
#modal03.active {
  visibility: visible;
  opacity: 1;
  display: flex; /* 중앙 정렬 위해 반드시 flex 유지 */
}

.modal-content {
  width: 90%;
  max-width: 1000px;
  height: 800px; /* 고정 높이 설정 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 20px;
  background-color: #fff;

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow-y: auto; /* 세로 스크롤 추가 */
  overflow-x: hidden; /* 가로 스크롤 방지 */

  animation: fadeIn 0.3s ease-in-out;
}
#modal03 .modal-content {
  max-width: 1400px;
  height: 750px; /* 고정 높이 설정 */
  padding: 50px 20px 20px;
  overflow-y: hidden; /* 세로 스크롤 추가 */
}
.modal-content .cont {
  width: 100%;
}
.modal-content .cont .txt {
  font-size: 26px;
  font-weight: 600;
  margin: 52px 0 32px;
}

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

.modal-content02 {
  background-color: #fff;
  margin: 7px auto;

  /* border-radius: 10px; */
  width: 90%;
  max-width: 800px;
  /* 고정 높이 설정 */
  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-content02 .cont {
  width: 100%;
  background-color: #fefdfb;
}
.modal-content02 .cont .txt {
  font-size: 26px;
  font-weight: 600;
  margin: 52px 0 32px;
}

.modal-content02 img {
  width: 95%; /* 컨테이너 너비에 맞춤 */
  /* border-radius: 6px; */
  display: block;
  padding-left: 20px;
}

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

.close:hover {
  color: #e31837;
}

/* .vr_frame {
  width: 1500px;
}
.tab_sub .item.item03 {
  width: 1500px;
} */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.page_title {
  text-align: center;
}

.page_title h3 {
  font-size: 32px;
  font-weight: 500;
  font-family: "NanumBarunGothic";
  color: #323232;
}

.page_title .line {
  width: 2px;
  height: 32px;
  margin: 32px auto 32px;
  display: block;
  background: #323232;
}
.reservation_tab ul {
  width: 700px;
  height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 52px auto;

  border: 1px solid #e31837;
}

.reservation_tab ul li {
  width: 50%;
  height: 100%;
  background: white;
}

.reservation_tab ul li.on {
  background: #e31837;
}

.reservation_tab ul li a {
  width: 100%;
  height: 100%;

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

  font-size: 18px;
  font-weight: 600;
  color: #323232;
}

.reservation_tab ul li.on a {
  color: #ffffff;
}
