:root {
  --project-main-color: #0f1820;
  --project-sub-color: #0252a4;
  --project-main-light-color: #d0cabc;
  --project-sub-light-color: #8e6c4f;
  --project-26type-default-color: rgba(205, 133, 204, 0.5);
  --project-26type-hover-color: rgba(205, 133, 204, 0.8);
  --project-46type-default-color: rgba(206, 134, 125, 0.5);
  --project-46type-hover-color: rgba(206, 134, 125, 0.8);
  --project-59Atype-default-color: rgba(226, 148, 84, 0.5);
  --project-59Atype-hover-color: rgba(226, 148, 84, 0.8);
  --project-59Btype-default-color: rgba(226, 186, 100, 0.5);
  --project-59Btype-hover-color: rgba(226, 186, 100, 0.8);
}

/* container */
.container .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 1024px;
  margin: auto;
  padding: 0 20px;
}

/* header */
.header_box {
  position: absolute;
  top: 108px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  padding: 0 20px;
}
.header_box img {
  width: 390px;
}
/* main contents */
.main {
  width: 100%;
}
.main .main_cont {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

/* tour btn box */
.contents_btn_box {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 80px;
}

/* type button */
.main .ib_wrap {
  margin-top: 40px;
}

.main .ib_item {
  display: flex;
  justify-content: center;
}

.main .ib_item .type_btn {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  font-size: 32px;
  letter-spacing: -2px;
  text-align: center;
  background-color: transparent;
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(4px);
  -webkit-transition: ease-in-out 0.4s;
  transition: ease-in-out 0.4s;
}

.main .ib_item a {
  text-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
}
.main .ib_item a .ab_vert {
  display: block;
  width: 100%;
  font-weight: 600;
}
.main .ib_item a .ab_vert2 {
  font-size: 20px;
}
.main .ib_item.item_26 a {
  background-color: var(--project-26type-default-color);
}
.main .ib_item.item_26:hover a {
  background-color: var(--project-26type-hover-color);
}
.main .ib_item.item_46 a {
  background-color: var(--project-46type-default-color);
}
.main .ib_item.item_46:hover a {
  background-color: var(--project-46type-hover-color);
}
.main .ib_item.item_59A a {
  background-color: var(--project-59Atype-default-color);
}
.main .ib_item.item_59A:hover a {
  background-color: var(--project-59Atype-hover-color);
}
.main .ib_item.item_59B a {
  background-color: var(--project-59Btype-default-color);
}
.main .ib_item.item_59B:hover a {
  background-color: var(--project-59Btype-hover-color);
}

/* footer */
.footer {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 60px;
}
.footer p {
  color: #fff;
  padding-top: 14px;
  font-weight: 400;
}
.footer .guide-icon {
  display: inline-block;
  background: url("../../static/img/img-card.svg") no-repeat center center;
  background-size: 100% auto;
  width: 40px;
  height: 45px;
}

.caution_box {
  position: fixed;
  bottom: 10px;
  right: 10px;
  text-align: right;
}
.caution_box p {
  line-height: 1.7;
}

/* responsive css  */
/* 4k */
@media screen and (min-width: 1921px) {
  .container .wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .header_box {
    height: 20%;
  }
}

/* 1279 */
@media screen and (max-width: 1279px) {
  .container .contents {
    margin: 90px auto 40px;
  }
}

/* 999 */
@media screen and (max-width: 999px) {
  .top_message {
    display: none;
    position: static;
    margin: 8px auto;
  }

  .top_message .msg {
    display: block;
    margin: 0;
    font-size: 14px;
  }

  .top_message .btn_chrome {
    margin: 6px 0 0;
  }
  .main .ib_item .type_btn {
    width: 20vw;
    height: 20vw;
  }
}

/* 768 */
@media screen and (max-width: 768px) {
  .header_box {
    top: 40px;
  }
  .header_box img {
    width: 310px;
  }

  .main .main_cont {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: auto;
  }
  .display_block {
    display: block;
  }
  .main .ib_item {
    width: 50%;
  }
  .contents_btn_box {
    gap: 16px;
  }
  .contents_btn_box.room_tour {
    flex-direction: column;
    margin-top: 20%;
  }
  .contents_btn_box.room_tour .ib_item {
    width: 100%;
  }
  .main .ib_item .type_btn {
    width: 100%;
    max-width: 192px;
    height: 100px;
    font-size: 24px;
  }
  .main .room_tour .type_btn {
    max-width: 400px;
    width: 100%;
    height: 120px;
    font-size: 28px;
  }
  .main .ib_item a .ab_vert2 {
    font-size: 14px;
  }
  .main .room_tour a .ab_vert2 {
    font-size: 18px;
  }
  .footer {
    width: 100%;
    margin-bottom: 20px;
  }
  .footer p {
    padding-top: 12px;
  }
}

@media screen and (max-width: 480px) {
  .header_box {
    top: 8vw;
  }
  .contents_btn_box {
    gap: 4.2vw;
  }
  .main .ib_item .type_btn {
    height: 22vw;
    font-size: 5vw;
  }
  .main .ib_item a .ab_vert2 {
    font-size: 16px;
  }
  .footer .guide-icon {
    width: 8.5vw;
    height: 9.04vw;
  }
  .footer p {
    font-size: 14px;
    padding-top: 2vw;
  }
}
@media screen and (max-width: 480px) and (max-height: 860px) {
  .main .ib_item .type_btn {
    height: 12vh;
  }
}

@media screen and (max-width: 360px) {
  .main .ib_item a:after {
    font-size: 0.6em;
  }
}
/* orientation */
@media screen and (max-width: 1920px) and (orientation: landscape) {
  .header_box {
    top: 13.2vh;
  }
  .header_box img {
    width: 47.5vh;
  }
}
