/* common modal style */
.modal, .guide-modal {
  visibility: hidden;
  /* display: none; */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3001;
  width: auto;
  height: auto;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.87;
  color: #fff;
  word-break: keep-all;
  -webkit-transform: none;
  transform: none;
}
.modal.show, .guide-modal.show {
  /* display: block; */
  visibility: visible;
}
.modal-cont-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .8);
}
.modal_title {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 1;
}
.modal_title > p {
  font-size: 60px;
  line-height: normal;
}
.modal_title > span {
  font-size: 24px;
  color: #E2E2E2;
  line-height: normal;
  font-weight: 400;
}
.modal_contents {
  position: relative;
  width: 60%;
  height: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding-bottom: 34%;
}
.modal_contents .modal_close_btn {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background-image: url('../img/ic-close.svg');
  background-color: rgba(255, 255, 255, 0.20);
  background-repeat: no-repeat;
  background-size: 70% 70%;
  background-position: center;
  border-radius: 100%;
  background-color: rgba(0, 0, 0, 1);
  border: 1px solid transparent;
  z-index: 3000;
}
.product_desc {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  padding: 16px;
}
.product_desc .icon-spin {
  display: inline-block;
  background: url('../img/ic-360view.png') no-repeat center center;
  background-size: 100% auto;
  width: 53px;
  height: 43px;
}
.product_desc.pc {
  display: block;
}
.product_desc.mobile {
  display: none;
}

/* video box */
.tour-video .modal_contents {
  width: 100%;
  height: 100%;
  /* max-width: 1240px; */
  padding-bottom: 0;
}
.tour-video .video_box {
  position: relative;
  width: 100%;
  max-width: 1240px;
  border-radius: 30px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
}
.tour-video .video_wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: calc(100% / 16*9);
}
.tour-video .video_box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* .video_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 30px;
  overflow: hidden;
} */
/* .video_box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 30px;
  overflow: hidden;
} */

.modal.tour-video {

}

/* 360 view */
.tour-360view {
  visibility: hidden;
}
.tour-360view.show {
  visibility: visible;
}
.tour-360view .modal_contents {
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}
.tour-360view .modal_title > p {
  font-size: 3.125vw;
  line-height: normal;
}
.tour-360view .product_item_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#object1 {
  /* height: 600px; */
  height: 100%;
}
.tour-360view .modal_contents .modal_close_btn {
  margin-left: 0;
  left: initial;
  right: 24px;
  top: 17px;
}

/* img box */
.tour-floorPlan .modal_contents {
  padding-bottom: 0;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  /* padding-top: 2%; */
}
.tour-floorPlan .modal_contents .modal_close_btn {
  left: initial;
  right: 24px;
  top: 20px;
}
.tour-floorPlan .total_contents_box {
  display: flex;
  width: 100%;
  max-width: 1024px;
  height: 100%;
  max-height: 720px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.tour-floorPlan .left_box {
  width: 50%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background-color: #E2E2E2;
}
.tour-floorPlan .left_box .left_title {
  width: 100%;
  padding: 6px 10px;
  text-align: center;
  background-color: #000;
}
.tour-floorPlan .left_box .title_img_box {
  height: calc(100% - 41px);
}
.tour-floorPlan .left_box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tour-floorPlan .scroll_box {
  width: 50%;
  max-width: 492px; 
  height: 100%;
  margin-left: auto;
  overflow-y: scroll;
  overflow-x: hidden;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.tour-floorPlan .scroll_box::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}
.option_swiper_box:not(:last-child) {
  padding-bottom: 60px;
}
.option_swiper_box .img_box {
  height: 524px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: rgba(17, 17, 17, 0.80);
  overflow: hidden;
}
.option_swiper_box .img_box .title {
  width: 100%;
  padding: 6px 10px;
  text-align: center;
  background-color: #31A6AE;
}
.option_swiper_box .img_box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.option_swiper_box .swiper_title {
  background-color: #000;
  width: 100%;
  padding: 6px 10px;
  text-align: center;
}
.option_swiper_box .swiper_title span {
  display: inline-block;
  position: relative;
  color: #e2e2e2;
}
.option_swiper_box .swiper_title span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  background: url('../img/ic-arrow-down-md.svg') no-repeat center center;
  background-size: 100% 100%;
  width: 24px;
  height: 24px;
}
.option_swiper_box .swiper_title span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  background: url('../img/ic-arrow-down-md.svg') no-repeat center center;
  background-size: 100% 100%;
  width: 24px;
  height: 24px;
}
.option_swiper_box .mySwiper {
  padding: 12px 16px 0 16px;
  background: rgba(17, 17, 17, 0.80);
  /* height: 156px; */
}
.option_swiper_box .swiper-each-title-box {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.60);
  line-height: normal;
  height: 34px;
}
.option_swiper_box .swiper-each-title-box .item_idx {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 2px;
  background-color: #000;
  border-radius: 100%;
  font-size: 12px;
  margin-right: 8px;
}
.option_swiper_box .swiper-each-img-box {
  padding: 10px;
}
.swiper-slide {
  margin-right: 10px!important;
}


/* guide modal */
.guide-modal .pc {
  display: block;
}
.guide-modal .mobile {
  display: none;
}
.guide-modal .modal-cont-box {
  background-color: rgba(0, 0, 0, .6);
}
/* guide position */
.guide-modal .pos {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
}
.pos.top {
  top: 20px;
  left: 50%;
  width: 494px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.pos.top::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: url('../img/img-guide-01.png') no-repeat center center;
  width: 100%;
  height: 100px;
  background-size: contain;
}
.pos.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pos.bottom {
  top: initial;
  bottom: 4px;
  left: 50%;
  width: 564px;
  transform: translateX(-50%);
}
.pos.top-right {
  top: 4px;
  left: initial;
  right: 6px;
}
/* guide-center */
.marker-guide-box {
  width: 480px;
}
.guide_today_close_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.guide_today_close_box .btn_wrap {
  display: flex;
  justify-content: space-between;
  width: auto;
  margin-top: 0;
}
.guide_today_close_box .btn_wrap button {
  padding: 14px 92px;
  background-color: #fff;
  border-radius: 999px;
  color: #1F2937;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  transition: background-color 0.3s;
}
.guide_today_close_box .btn_wrap button:hover {
  background-color: #f5f5f5;
}

@media screen and (min-width: 1921px) {
  .modal_contents {
    min-width: 1024px;
  }
  .tour-360view .modal_title > p {
    font-size: 60px;
  }
}
@media screen and (max-width: 1239px) {
  .tour-video .video_box {
    width: 100%;
    border-radius: 0;
  }
}

@media screen and (max-width: 1023px) {
  .product_desc {
    /* position: absolute; */
    bottom: initial;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(17, 17, 17, 0.70);
    border-radius: 20px;
  }
  .product_desc.pc {
    display: none;
  }
  .product_desc.mobile {
    display: block;
  }
  .modal_title > p {
    font-size: 36px;
  }
  .tour-360view .modal_title > p {
    font-size: 36px;
  }

  .tour-floorPlan .total_contents_box {
    display: block;
    padding: 60px 10px;
    max-height: none;
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .tour-floorPlan .total_contents_box::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera*/
  }
  .tour-floorPlan .left_box {
    width: 100%;
    max-width: 600px;
    margin: auto;
    height: 396px;
    margin-bottom: 12px;
  }
  .option_swiper_box:not(:last-child) {
    padding-bottom: 12px;
  }
  .option_swiper_box .img_box {
    height: auto;
  }
  .tour-floorPlan .left_box .title_img_box, .tour-floorPlan .option_swiper_box .title_img_box {
    width: 100%;
    height: calc(100% - 36px);
  }
  
  .tour-floorPlan .scroll_box {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: auto;
    overflow-y: initial;
    overflow-x: initial;
    padding: 0;
  }
}

@media screen and (max-width: 768px) {
  .modal_contents .modal_close_btn{
    width: 36px;
    height: 36px;
  }
  .tour-360view .modal_contents .modal_close_btn {
    top: 8px;
    right: 8px;
  }
  .modal_title > span {
    font-size: 18px;
  }
  .tour-floorPlan .modal_contents .modal_close_btn {
    top: 8px;
    right: 8px;
  }

  /* guide position */
  .guide-modal .pc {
    display: none;
  }
  .guide-modal .mobile {
    display: block;
  }
  .pos.top {
    top: 0;
    width: 100%;
  }
  .pos.top::before {
    height: 77px;
  }
  .pos.top-right {
    top: 44px;
    right: 4px;
    width: 176px;
  }
  .pos.top-right img {
    width: 100%;
  }
  .pos.bottom {
    width: auto;
  }
  .marker-guide-box {
    width: 290px;
  }
  .guide_today_close_box {
    margin-top: 8px;
  }
  .guide_today_close_box .btn_wrap button {
    padding: 14px 42px;
  }
}

@media screen and (max-width: 480px) {
  .modal_contents .modal_close_btn {
    width: 9.57vw;
    height: 9.57vw;
  }
  .modal_title {
    bottom: 5.31vw;
    left: 5.31vw;
  }
  .modal_title > p {
    font-size: 9.57vw;
  }
  .tour-360view .modal_title > p {
    font-size: 9.57vw;
  }
  .modal_title > span {
    font-size: 4.78vw;
  }
  .product_desc {
    padding: 4.15vw;
    width: 55%;
  }
  .product_desc .icon-spin {
    width: 12.7vw;
    height: 10.6vw;
  }
  .product_desc p {
    font-size: 3.19vw;
  }
  .tour-floorPlan .modal_contents .modal_close_btn {
    top: 2.12vw;
    right: 2.12vw;
  }
  .tour-floorPlan .left_box {
    height: 105.31vw;
  }
  .tour-floorPlan .left_box .left_title, .option_swiper_box .img_box .title {
    font-size: 4.25vw;
  }
  .tour-floorPlan .left_box .title_img_box, .tour-floorPlan .option_swiper_box .title_img_box {
    height: calc(100% - 9.57vw);
  }

  /* guide position */
  .pos.top-right {
    top: 12.5vw;
    width: 39.89vw;
  }
  .pos.top::before {
    height: 20.47vw;
  }
}