@charset "utf-8";
/* 기본설정 */
/* @import "default.css"; */
.roomslide{
    position: relative;
}
.roomslide .textbox{
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9997;
}
.roomslide .textbox h2{
    font-size: 50px;
    color: #fff;
}
.roomslide .textbox span{
    display: block;
    font-size: 22px;
}
.roomlist1{
    display: flex;
    justify-content: center;
    gap: 5%;
  }
.roomslide img{
    width: 100%;
    height: 100%;
}


/* 첫 번째 section */
section.room-info {
  padding: 120px 10vw;
}

.room-inner {
  display: flex;
  gap: 100px;
}

/* 왼쪽 이미지 */
.room-image-wrap {
  position: relative;
  display: flex;
}

.room-name {
  margin-right: 30px;
  width: 1em;
  word-break: break-all;
  text-align: center;
  color: #BE9A71;
  font-size: 30px;
  font-weight: bold;
  line-height: 1.3em;
}

.room-image img {
  width: 31.25vw;
  max-width: 600px;
  border-radius: 20px;
  display: block;
}

/* 오른쪽 정보 */
.room-info-wrap {
  flex: 1;
}

.info-row {
  display: flex;
  gap: 80px;
  margin-bottom: 36px;
}

.info-title {
  margin-top: 0.3em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 20px;
  color: #44372B;
  letter-spacing: 0.4em;
}

.info-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #707070;
}

.check .info-title { margin-left: -0.5em;}
.check .info-desc { margin-left: -1em;}

@media(max-width:1200px){
    .room-inner {
        gap: 60px;
    }
    .room-name {
        font-size: 24px;
    }
    .info-title {
        font-size: 16px;
    }
    .info-desc {
        font-size: 14px;
    }
}

@media(max-width:1024px){
    .room-inner {
        flex-direction: column;
    }
    .room-image-wrap {
        justify-content: center;
    }
    .room-image img {
        width: 72vw;
        border-radius: 10px;
    }
    .info-row {
        gap: 40px;
    }
}

@media(max-width:500px){
    section.room-info {
        padding: 70px 20px 100px;
    }
    .room-name { 
        margin-right: 20px;
        font-size: 20px;
    }
    .room-image img {
        width: 78vw;
    }
}

/* 첫 번째 섹션 끝 */


/* 두 번째 섹션 */
section.room-detail {
  padding: 50px 10vw 250px;
}

.detail-cont01 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 공통 이미지 */
.detail-img {
    display: flex;
}
.detail-img img {
  display: block;
  max-width: 900px;
  width: 100%;
  border-radius: 20px;
  object-position: 50% 68%;
}

/* 좌측 상단 */
.img-top {
  position: relative;
  width: 46.875vw;
  max-height: 23.4375vw;
}

/* 세로 텍스트 */
.vertical-text {
  margin-right: 30px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 30px;
  letter-spacing: 0.3em;
  color: #BE9A71;
  font-weight: bold;
}

/* 우측 로고 */
.detail-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 11%;
}

.detail-logo .logo {
  width: 10.42vw;
}

.detail-cont02 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: 90px;
}
/* 우측 하단 이미지 */
.img-bottom {
  max-height: 21.354vw;
}

/* 좌측 하단 텍스트 */
.detail-text {
  font-size: 17px;
  line-height: 1.5;
  color: #707070;
  margin: 0 0 50px 75px;
}

.detail-text p + p {
  margin-top: 26px;
}

@media(max-width:1200px){
    .vertical-text {
        margin-right: 20px;
        font-size: 20px;
    }
    .detail-logo {
        margin-right: 9%;
    }
    .detail-text {
        margin: 0 0 50px 50px;
    }
    .detail-text p {
        font-size: 14px;
    }
}

@media(max-width:768px){
    .detail-cont01, .detail-cont02 {
        flex-direction: column;
        align-items: flex-start;
    }
    .detail-cont02 {
        margin-top: 30px;
    }
    .detail-img img {
        border-radius: 10px;
    }
    .img-top {
        width: 74vw;
        max-height: 64.5vw;
    }
    .detail-logo {
        margin: 30px auto 0;
    }
    .detail-logo .logo {
        width: 22.5vw;
    }
    .detail-text {
        margin: 0 auto;
        text-align: center;
    }
    .img-bottom {
        max-height: 40vw;
    }

}

@media(max-width:500px){
    section.room-detail {
        padding: 0px 20px 40px;
    }
    .img-top {
        width: 78vw;
        max-height: 64.5vw;
    }
    

}


/*메인 이외 탑슬라이드 */
/* 초기 상태 */
.topslide .swiper-slide:first-child .slide-caption h2,
.topslide .swiper-slide:first-child .slide-caption p,
.topslide .swiper-slide:first-child .slide-caption .view-more-button {
  opacity: 0;
  transform: translateY(45px);
}

/* 애니메이션 클래스 적용 시 */
.topslide .swiper-slide:first-child .slide-caption.animate h2 {
  transition: all 1s ease;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.topslide .swiper-slide:first-child .slide-caption.animate p {
  transition: all 1s ease;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
