/* common modal style */
.modal,
.guide-modal {
  visibility: hidden;
  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 {
  visibility: visible;
}
.modal-cont-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 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("../../static/img/ic-close.svg");
  background-color: rgba(255, 255, 255, 0.2);
  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;
}

/* common ratio modal style */
.ratio-modal-template .modal_contents {
  width: 100%;
  height: 100%;
  padding-bottom: 0;
}
.ratio-modal-template .content-ratio-box {
  position: relative;
  width: 100%;
  max-width: 1240px;
  border-radius: 30px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
}
/* .ratio-modal-template .video_box {
  position: relative;
  width: 100%;
  max-width: 1240px;
  border-radius: 30px;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
} */
.ratio-modal-template .ratio_wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: calc(100% / 16 * 9);
}
/* .tour-video .video_wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: calc(100% / 16*9);
} */

/* video box */
.tour-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* img box */
.tour-floorPlan .modal_contents {
  padding-bottom: 0;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
}
.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%; */
  width: 100%;
  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 .left_box .title_img_box .pc {
  display: block;
}
.tour-floorPlan .left_box .title_img_box .mo {
  display: none;
}
.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 {
  height: 100%;
  border-radius: 20px;
  background: rgba(17, 17, 17, 0.8);
}
.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;
}
.option_swiper_box .swiper-each-title-box {
  display: flex;
  align-items: center;
  font-size: 14px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  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 {
  height: 100px;
  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, 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("../../static/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%);
}
/* guide-bottom */
.pos.bottom {
  top: initial;
  bottom: 20px;
  left: 50%;
  z-index: 40;
  transform: translateX(-50%);
}
.control-toolbar-box::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: url("../../static/img/img-guide-04_new.png") no-repeat center
    center;
  background-size: 100% auto;
  background-position: bottom center;
  width: 200px;
  height: 56px;
  background-size: contain;
}
.toolbar-contents-list {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 4px 16px;
  display: flex;
  user-select: none;
  -webkit-box-align: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.6);
  z-index: 40;
  border-radius: 999px;
}
.move-scene-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.move-scene-btn i {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.move-scene-btn svg path {
  fill: black;
}
.toolbar-main-btns {
  display: flex;
  align-items: center;
  column-gap: 12px;
  padding: 0 40px;
}
.toolbar-btn {
  position: relative;
  min-width: 52px;
  padding: 4px;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  border-radius: 8px;
  color: rgb(238 238 238 / 1);
}
.toolbar-btn i {
  display: inline-block;
  width: 20px;
  height: 20px;
}
.btn-title {
  font-size: 12px;
  line-height: 16px;
  color: black;
  margin-top: 4px;
}
.ic-menu {
  background: url("../../static/img/ic-menu.svg") no-repeat center center;
  background-size: 100% 100%;
}
.ic-minimap {
  background: url("../../static/img/ic-minimap.svg") no-repeat center center;
  background-size: 100% 100%;
}
.ic-important {
  background: url("../../static/img/ic-important.svg") no-repeat center center;
  background-size: 100% 100%;
}
.ic-theme {
  background: url("../../static/img/ic-theme.svg") no-repeat center center;
  background-size: 100% 100%;
}
.ic-fullScreen {
  background: url("../../static/img/ic-fullScreen.svg") no-repeat center center;
  background-size: 100% 100%;
}
.ic-more {
  background: url("../../static/img/ic-more.svg") no-repeat center center;
  background-size: 100% 100%;
}
.toolbar-toggle-btn {
  z-index: 40;
  height: 32px;
  width: 32px;
  background-color: rgba(255, 255, 255, 1);
  color: rgb(238 238 238 / 1);
  margin: 10px auto 0 auto;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgb(204 204 204 / 1);
}
.toolbar-toggle-btn i {
  display: inline-block;
  width: 16px;
  height: 16px;
}
.toolbar-toggle-btn i {
  background: url("../../static/img/ic-arrow-down.svg") no-repeat center center;
  background-size: 100% 100%;
}
.toolbar-toggle-btn.open i {
  transform: rotate(0deg);
}
.toolbar-toggle-btn.close i {
  transform: rotate(180deg);
}
.dark-theme .toolbar-contents-list {
  background-color: rgb(17, 17, 17);
  padding: 8px 16px;
  border-radius: 999px;
}
.dark-theme .move-scene-btn svg path {
  fill: white;
}
.dark-theme .btn-title {
  color: white;
}
.dark-theme .ic-menu {
  background: url("../../static/img/ic-menu-w.svg") no-repeat center center;
  background-size: 100% 100%;
}
.dark-theme .ic-minimap {
  background: url("../../static/img/ic-minimap-w.svg") no-repeat center center;
  background-size: 100% 100%;
}
.dark-theme .ic-important {
  background: url("../../static/img/ic-important-w.svg") no-repeat center center;
  background-size: 100% 100%;
}
.dark-theme .ic-theme {
  background: url("../../static/img/ic-theme-w.svg") no-repeat center center;
  background-size: 100% 100%;
}
.dark-theme .ic-fullScreen {
  background: url("../../static/img/ic-fullScreen-w.svg") no-repeat center
    center;
  background-size: 100% 100%;
}
.dark-theme .ic-focus {
  background: url("../../static/img/ic-focus-w.svg") no-repeat center center;
  background-size: 100% 100%;
}
.dark-theme .ic-more {
  background: url("../../static/img/ic-more-w.svg") no-repeat center center;
  background-size: 100% 100%;
}
.dark-theme .toolbar-toggle-btn {
  background-color: rgb(17 17 17 / 1);
  color: rgb(238 238 238 / 1);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.dark-theme .toolbar-toggle-btn i {
  background: url("../../static/img/ic-arrow-down-w.svg") no-repeat center
    center;
  background-size: 100% 100%;
}

.pos.top-right {
  top: 4px;
  left: initial;
  right: 6px;
}
/* guide-center */
.marker-guide-box {
  width: 100%;
  max-width: 536px;
  padding: 0 28px;
}
.marker-guide-list {
  background-color: rgba(17, 17, 17, 0.6);
  border-radius: 20px;
  padding: 24px;
}
.guide-icon {
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.guide-icon.icon-01 {
  background-image: url("../../static/img/icon-01.png");
}
.guide-icon.icon-02 {
  background-image: url("../../static/img/icon-02.png");
}
.guide-icon.icon-03 {
  background-image: url("../../static/img/icon-03.png");
}
.marker-guide-list li {
  display: flex;
  align-items: center;
}
.marker-guide-list li span {
  margin-left: 16px;
  font-size: 18px;
  line-height: 1.25;
}
.divider {
  width: 100%;
  height: 2px;
  margin: 16px 0;
  background-color: rgba(255, 255, 255, 0.2);
}
.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;
  }
}
@media screen and (max-width: 1239px) {
  .ratio-modal-template .content-ratio-box {
    width: 100%;
    border-radius: 0;
  }
}
@media screen and (max-width: 1023px) {
  .product_desc {
    bottom: initial;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(17, 17, 17, 0.7);
    border-radius: 20px;
  }
  .product_desc.pc {
    display: none;
  }
  .product_desc.mobile {
    display: block;
  }
  .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: 90%;
    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;
  }
  .tour-floorPlan .left_box .title_img_box .pc {
    display: none;
  }
  .tour-floorPlan .left_box .title_img_box .mo {
    display: block;
  }
  .toolbar-contents-list {
    padding: 12px 22px;
  }
  .move-scene-btn {
    display: none;
  }
  .btn-title {
    display: none;
  }
  .toolbar-main-btns {
    padding: 0;
  }
  .toolbar-btn {
    min-width: 40px;
  }
  .toolbar-btn i {
    width: 26px;
    height: 26px;
  }
  .toolbar-btn.fullScreen {
    display: none;
  }
  .toolbar-btn.focus {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .modal_contents .modal_close_btn {
    width: 36px;
    height: 36px;
  }
  .modal_title > span {
    font-size: 18px;
  }
  .tour-floorPlan .modal_contents .modal_close_btn {
    top: 8px;
    right: 8px;
  }
  .tour-position .ratio_wrap {
    padding-bottom: 72vh;
  }

  /* 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;
  }
  .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;
  }
  .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 .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;
  }
  .marker-guide-list {
    padding: 20px;
  }
  .guide-icon {
    width: 40px;
    height: 40px;
  }
  .marker-guide-list li span {
    font-size: 14px;
  }
}
