:root {
  --project-main-color: #0f1820;
  --project-sub-color: #0252a4;
  --project-main-light-color: #d0cabc;
  --project-sub-light-color: #8e6c4f;
}

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

/* top_message */
/* .top_message {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 10px;
  background: #000;
  font-size: 0;
  text-align: center;
}

.top_message .msg {
  display: inline-block;
  color: #8d8d8d;
  vertical-align: middle;
  font-size: 16px;
  letter-spacing: -0.8px;
}

.top_message .btn_chrome {
  display: inline-block;
  color: #8d8d8d;
  vertical-align: middle;
  margin-left: 10px;
  padding: 4px 8px;
  border: 1px solid #707070;
  border-radius: 5px;
  font-size: 12px;
  letter-spacing: -0.8px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.top_message .btn_chrome:hover {
  background: #707070;
  color: #fff;
}

.top_message .btn_chrome:focus {
  background: #707070;
  color: #fff;
} */

/* header */
.header_box {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}
.header_box img {
  width: 160px;
}
.header_title_box {
  padding: 20px 0;
}
.header_title_box h3 {
  font-size: 22px;
  font-weight: 400;
}
.header_title_box h1 {
  padding-top: 4px;
  font-size: 44px;
}

/* main contents */
.main {
  width: 100%;
  /* margin-bottom: 100px; */
}

.main .main_cont {
  /* margin-top: 60px; */
}

/* tour btn box */
.contents_btn_box {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.contents_btn_box .each_btn {
  width: 280px;
  border: 1px solid #fff;
  border-radius: 100px;
  background-color: rgba(255,255,255,.2);
  transition: background-color 0.3s;
}
.contents_btn_box .each_btn > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
}
.contents_btn_box .each_btn .main_txt {
  position: relative;
  font-weight: 500;
}
.contents_btn_box .each_btn .sub_txt {
  font-weight: 400;
  font-size: 14px;
  padding-top: 10px;
}

/* button active, hover */
.contents_btn_box .each_btn.active, .contents_btn_box .each_btn:hover, .contents_btn_box .each_btn:focus {
  background-color: rgba(0,0,0,.5);
}
.contents_btn_box .each_btn.active .main_txt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 100%;
  width: 8px;
  height: 8px;
  background-color: yellow;
  border-radius: 100%;
  margin-top: -4px;
}


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

.main .ib_item {
  display: flex;
  justify-content: center;
  /* width: 280px !important; */
}

.main .ib_item .type_btn {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 200px;
  height: 200px;
  border: 1px solid #fff;
  border-radius: 20px;
  font-size: 34px;
  letter-spacing: -2px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.20);
  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:after {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: no-repeat 50% 50%;
  background-size: 100% auto;
  opacity: 0;
  content: "";
  -webkit-transition: ease-in-out 0.4s;
  transition: ease-in-out 0.4s;
  font-size: 0.65em;
}

.main .ib_item a {
  text-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
}
.main .ib_item a .ab_vert {
  display: block;
  left: 0;
  width: 100%;
  font-weight: 600;
}
.main .ib_item a .ab_vert2 {
  font-size: 24px;
}

.main .ib_item a:hover {
  /* border-color: var(--project-main-light-color); */
  background-color: rgba(255, 255, 255, 0.50);
}

.main .ib_item a:hover:after {
  opacity: 1;
}

/* 버튼 썸네일 추가 시 주석 해제 */
/* .main .ib_item a:hover .ab_vert {
  color: transparent;
} */

.main .ib_item a:focus {
  border-color: var(--project-main-light-color);
}

.main .ib_item a:focus:after {
  opacity: 1;
}

.main .item_position a:after {
  background-image: url(../img/thumb/thumb_position.jpg);
  background-size: cover;
}

/* footer */
.footer {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 60px;
}
.footer p {
  padding-top: 20px;
  font-weight: 400;
}
.footer .guide-icon{
  display: inline-block;
  background: url('../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%;
  }
  /* .main {
    height: 80%;
    
  } */
}
/* 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;
  }

}

/* @media screen and (max-width: 999px) and (orientation: landscape) {

} */

/* 768 */
@media screen and (max-width: 768px) {
  .header_box {
    top: 40px;
  }
  .header_box img {
    width: 120px;
  }
  .header_title_box h3 {
    font-size: 16px;
  }

  .contents_btn_box {
    flex-direction: column;
  }
  .main .ib_item .type_btn {
    width: 90%;
    max-width: 400px;
    height: 120px;
    font-size: 28px;
  }
  .main .ib_item 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: 10.6vw;
  }
  .header_title_box h1 {
    font-size: 8.5vw;
  }
  .header_title_box h3 {
    font-size: 4.2vw;
  }
  .contents_btn_box {
    gap: 4.2vw;
  }
  .main .ib_item .type_btn {
    height: 31.9vw;
    font-size: 7.4vw;
  }
  .main .ib_item a .ab_vert2 {
    font-size: 4.78vw;
  }
  .footer .guide-icon {
    width: 8.5vw;
    height: 9.04vw;
  }
  .footer p {
    font-size: 14px;
    padding-top: 3.19vw;
  }
}
@media screen and (max-width: 480px) and (max-height: 860px) {
  .main .ib_item .type_btn {
    height: 15vh;
  }
}


@media screen and (max-width: 360px) {
  .main .ib_item a:after {
    font-size: 0.6em;
  }
}
