@charset "utf-8";
/* 기본설정 */
@import "default.css";

/*반응형 텍스트 줄 맞추기*/
br.mo {display: none;}
@media (max-width:768px){
  br.pc {display: none;}
  br.mo {display: block;}
}

.mainslide{
    height: 100%;
    position: relative;
}
.mainslide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main2{
    width: 100%;
    height: auto;
    margin-bottom: 7%;
}
.main2 .flex{
    display: flex;
}
.main2 .text{
    width: 50%;
    height: auto;
    position: relative;
    line-height: 41px;
    font-size: 20px;
}
.main2 .text h3{
    margin-bottom: 10%;
    font-size: 20px;
    color: #3B60B8;
    font-family: 'medium';
}
.main2 .text .textposition1{
position: absolute;
top: 20%;
left: 8%;
color: #505050;
}
.main2 .text .textposition2{
    position: absolute;
    top: 20%;
    right: 8%;
    color: #505050;
    padding: 0 5%;
}
.main2 .flex:nth-child(2){
    text-align: right;
}
.main2 .imgbox{
   width: 50%;
    height: auto;
   
}
.main2 img{
    display: block;
    object-fit: cover;
    width: 100%;
    height: 420px;
}

.banner{

position:relative;
margin-bottom: 7%;
}
.banner img{
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(0.3);
    transition: 3s;
}
.banner img.on{
  filter: brightness(1);
}
.banner h3{
    font-size: 30px;
    letter-spacing: 7.5px;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    font-family: 'medium';
}
.imgcover{
  background-color: #ceb293;
  /* border: 1px solid #000; */
}
.imgcover img{
  /* border-bottom: 1px solid #000; */
}
.mainslide span{
    font-size: 9px;
    color: #fff;
    margin-bottom: 5%;display: block;
    font-family: 'medium';
}
.mainslide h2{
    font-size: 30px;
    color: #fff;
font-family: 'medium';
letter-spacing: 7.5px;
}
.mainslide .textbox{
    text-align: center;
    position: absolute;
    transform: translate(-50%,-50%);
    z-index: 9998;
    top: 45%;
    left: 50%;
}

.roomlist{
  display: flex;
  justify-content: center;
  gap: 5%;
}

@media(max-width:768px){

    .banner img{

    height: auto;
    } 
}

@media(max-width:500px){
  .roomlist{
  flex-direction: column;
  }
  .imgcover{
    
    width: 90%;
    margin: 0 auto;
    margin-bottom: 10%;
  }
  .imgcover img{
    width: 100%;
  }
    .mainslide{
        height: auto;
    }
    .main2 .text{
        line-height: 17px;
        font-size: 11px;
      }
      .main2 .text h3{
        font-size: 17px;
        margin-bottom: 8%;
        line-height: 25px;
      }
      .main2 .text .textposition1{
        top: 15%;
        left: 4%;
        padding: 0 4%;
        word-break: keep-all;
      }
      .main2 .text .textposition2{
        word-break: keep-all;
        top: 15%;
        padding: 0 2%;
      }
      .main2{
        height: 65%;
        margin-bottom: 20%;
      }
      .main2 .flex{
        height: 50%;
      } 
      .main2 img{
        height: 100%;
      }
      .mainslide h2{
        font-size: 20px;
      }
      .mainslide span{
        font-size: 10px;
      }
      .mainslide .textbox{
        top: 47%;
      }
      .banner img{
        height: 65% !important;
      }
      .banner h3{
        width: 100%;
        font-size: 18px;
      }
      .banner{
        margin-bottom: 15%;
      }
      #banner2{
        height: 35%;
        margin-bottom: 20%;
      }
      #banner2 img{
        height: 100% !important;
      }
      
}