/* 유니트 */

/* .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;
}



.complex_unit_btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 6vw auto 4vw;
}

.complex_unit_btn li a {
  font-size: 3vw;
  font-weight: 700;
  color: #fff;
  width: 100%;
  height: 9vw;
  background: #323232;
  padding: 0px 6px;
  border-bottom: 2px solid #323232;
  display: flex;
  align-items: center;
  justify-content: center;
}

.complex_unit_btn li a.active {
  color: #fff;
  background: #e31837;
  border-bottom: 2px solid #e31837;
}

.complex_unit_btn+.tab_content li button {
  padding: 6px 20px;
  font-size: 3vw;
  color: #fff;
  width: 100%;
  height: 9vw;
  background: #323232;
  margin-bottom: 10vw;
  outline: none;
  border: none;
  border-bottom: 2px solid #323232;
}


/* --- */

.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: 14px;
  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;
}

#modal01,
#modal02,
#modal03,
#modal04 {
  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.unit26,
.modal-content.unit46,
.modal-content.unit59a,
.modal-content.unit59b,
.modal-content.unit74 {
  position: fixed;
  top: 0;
  z-index: 100000;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5vw;
  height: 88vh;
}


.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;
}


.tab_unit_btn {
  display: block;
  margin: 0 auto 10vw;
  border: none;
  background-color: #353535;
  color: #fff;
  font-size: 3vw;
  padding: 14px 10px;
  width: calc(100% - 24px);
  cursor: pointer;
}


/* ---- */

.sub_content_wrap {
  width: calc(100% - 24px);
  margin: 0 auto;
  ;
}

.sub_tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 6vw auto 2vw;
  gap: 1.5vw;
}

.sub_tab li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32%;
  font-size: 3vw;
  padding: 14px 0;
  background-color: #323232;
  color: #fff;
}

.sub_tab li.on {
  background-color: #e31837;
  color: #fff;
}

.sub_content_wrap.supply_special div {
  letter-spacing: -1px;
  color: #000 !important
}

.sub_content_wrap.supply_special .supply_table {
  width: 100%;
  max-width: 1300px;
  overflow: auto;

}

.sub_content_wrap.supply_special table caption {
  font-size: 22px;
  font-weight: 600;
  color: #3c3938;
  text-align: left;
  margin-bottom: 20px;
}

.sub_content_wrap.supply_special table caption::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("https://pjkhapt.com/general/sub/public/sub_img/gong_img.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 8px;
}

.sub_content_wrap.supply_special table,
.sub_content_wrap.supply_special table tr th,
.sub_content_wrap.supply_special table tr td {
  line-height: 1.3;
  border: 1px solid rgb(168, 168, 168);
  padding: 10px;
  letter-spacing: -1px;
  text-align: center;
  font-size: 16px;
  vertical-align: middle;
  word-break: keep-all;
  color: #202020
}

.sub_content_wrap.supply_special table thead tr th {
  background-color: #dfdfdf;
}

.sub_content_wrap.supply_special table tr td {
  font-size: 13.5px;
}

.sub_content_wrap.supply_special table tr th {
  background-color: #f7f7f7;
  ;
}

.sub_content_wrap.supply_special .cont {
  margin: 50px auto;
  max-width: 1300px;
  width: calc(100% - 24px);
}

.sub_content_wrap.supply_special .txt_cont1 {
  margin-bottom: 50px;

}

.sub_content_wrap.supply_special .cont h4 {
  font-size: 22px;
  font-weight: 600;
  color: #3c3938;
  margin-bottom: 20px;
}

.sub_content_wrap.supply_special .cont h4::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url("https://pjkhapt.com/general/sub/public/sub_img/gong_img.png");
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 8px;
}


.sub_content_wrap.supply_special .cont ul {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;

}

.sub_content_wrap.supply_special .cont ul li {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  line-height: 1.3;
  font-size: 18px;
  font-weight: 700;
  width: 100%;
}

.sub_content_wrap.supply_special .cont>p {
  font-size: 14px;
  line-height: 1.3;
}


.sub_content_wrap.supply_special .txt_cont1 ul li p {
  padding: 20px;
  background-color: #d9d9d9;
  border-radius: 10px;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

.sub_content_wrap.supply_special .txt_cont1 ul li p:nth-child(3) {
  background-color: #ececec;
}

.sub_content_wrap.supply_special .txt_cont2>div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
  /* 기본 bottom은 16px인데 시각적으로 맞춰줌 */
  margin: 26px 0 16px;
}

.sub_content_wrap.supply_special .txt_cont2>div h5 {
  font-size: 17px;
  font-weight: 500;
  color: #424242;
}

.sub_content_wrap.supply_special .txt_cont2>div .left h5 {
  font-size: 20px;
  font-weight: 600;
  color: #424242;
  margin-bottom: 28px;
}

.sub_content_wrap.supply_special .txt_cont2 ul {
  width: calc(100% - 550px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sub_content_wrap.supply_special .txt_cont2 ul li {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* padding: 20px;
background-color: #d9d9d9;
  border-radius: 10px; */
  box-sizing: border-box;
}

.sub_content_wrap.supply_special .txt_cont2 ul li p {
  font-size: 16px;
  font-weight: 400;
}

.sub_content_wrap.supply_special .txt_cont2 ul li h5 {
  font-weight: 700;
}

.sub_content_wrap.supply_special .txt_cont2 .img_box {
  width: 500px;
  height: auto;
  aspect-ratio: 742/ 384;
}

.sub_content_wrap.supply_special .txt_cont2 .img_box img {
  width: 100%;
}



@media screen and (max-width: 768px) {


  .sub_content_wrap.supply_special .txt_cont1 {
    margin-bottom: 30px;
    padding-bottom: 30px;

  }

  .sub_content_wrap.supply_special .cont h4 {

    margin-bottom: 12px;
  }

  .sub_content_wrap.supply_special .cont ul {
    margin-bottom: 20px;
  }

  .sub_content_wrap.supply_special .cont ul li {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    line-height: 1.3;
  }

  .sub_content_wrap.supply_special .cont>p {
    line-height: 1.3;
  }

  .sub_content_wrap.supply_special .txt_cont1 ul li p {
    padding: 12px;
    letter-spacing: -0.8px;
    width: 49%;
  }

  .sub_content_wrap.supply_special .txt_cont2>div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .sub_content_wrap.supply_special .txt_cont2 ul {
    width: 100%;
  }

  .sub_content_wrap.supply_special .txt_cont2 ul li {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    padding: 12px;
  }

  .sub_content_wrap.supply_special .txt_cont2 ul li h5 {}

  .sub_content_wrap.supply_special .txt_cont2 .img_box {

    max-width: 400px;
    margin: 0px auto 50px;
  }

  .sub_content_wrap.supply_special .txt_cont2 .img_box img {
    width: 100%;
  }
}







/* product_unit 탭 */

.sub_tab.product_unit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 6vw auto 10vw;
  gap: 1.5vw;
}

.sub_tab.product_unit li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12%;
  font-size: 3vw;
  padding: 14px 10px;
  background-color: #323232;
  color: #fff;
}


.sub_tab.product_unit li.on {
  background-color: #e31837;
  color: #fff;
}