
/* 메인 섹션 */
.swiper {
    width: 100%;
  }

.main-section01{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    align-items: center;
    z-index: 300;
    color: white;
    text-shadow: 1px 1px 1px #000;
    }

.welcome{
    font-size: 1.5rem;
    font-family: 'Fira Sans', sans-serif;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 3px solid white;
    box-shadow: 0 1px 0 #000;
    font-weight: bold;
}

.name{
    font-family: 'Fira Sans', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    
}

.swiper {
    width: 100%;
    height: 100vh;
}


.swiper-wrapper img{
    width: 100%;
    height: 100%;
}



#sub-name{
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Fira Sans', sans-serif;
}

#sub-name::after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -10px;
    width: 3px;
    height: 100%;
    background-color: white;
}

#sub-name.active::after{
    display: none;
}

/* 섹션 정리 */

.container{
    width: 100%;
}


/* 첫 번째 섹션 */

.first-wrap{
    width: 100%;
    background-color: #fff;
}

.first-section{
    text-align: center;
    align-items: center;
    width:100%;
    height:auto;
    display: flex;
    justify-content: center;
    padding: 55px 0;
    margin: 0 auto;
}

.service-title{
    width:20%;
    text-align: left;
    display: inline-block;
    position: relative;
}

.service-title::before{
    content: "";
    display: block;
    position: absolute;
    left:-10px;
    width: 3px;
    height: 100%;
    background-color: #000;
}

.service-title p{
    font-size: 1.8rem;
    font-family: 'Noto Sans KR', sans-serif;
}

.service-title p.bold{
    font-size: 2rem;
    font-weight: bold;
}

.service-list{
    width:60%;
}

.service-list ul{
    display: flex;
    justify-content: space-around;
}

.service-list li{
    display: inline-block;
}

.service-list li a{
    font-size: 1rem;
    color: gray;
    font-weight: bold;
}

.service-list li a img{
    width: 60%;
    display: block;
    margin: 0 auto;
}

/* 두 번째 섹션 */

.second-wrap{
    width:100%;
    background-color:#f6f6f6;
}

.second-wrap .room-title{
    display: block;
    text-align: center;
    padding:50px 0;
    font-family: 'Fira Sans', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 1px #000;
    color: gray;
}

.second-wrap .room-title h2{
    padding-bottom: 10px;
    border-bottom: 3px solid gray;
    display: inline-block;
}

.second-wrap .room-title p{
    padding-top: 5px;
    font-size: 1.5rem;
    color: #000;
}

.second-section ul{
    display: flex;
}

.second-section ul li{
    display: inline-block;
    overflow: none;
}

.second-section ul li.room-50{
    width: 50%;
    height: 500px;
}

.second-section ul li.room-30{
    width: 33%;
    height: 500px;
}

.second-section ul li a{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    transition: 0.3s;
    align-items: center;
    
}

.second-section ul li a .img-effect-opacity{
    width:100%;
    height:100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: 4;
    transition: 0.35s;
    display: none;
}

.second-section ul li a .img-effect-width{
    width:0;
    height:90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: block;
    z-index: 4;
    transition: 0.35s;
}

.second-section ul li a .img-effect-height{
    width:90%;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: block;
    z-index: 4;
    transition: 0.35s;
}

.second-section ul li a:hover .img-effect-width{
    width: 90%;
    border-top: 3px solid white;
    border-bottom: 3px solid white;
}

.second-section ul li a:hover .img-effect-height{
    height: 90%;
    border-left: 3px solid white;
    border-right: 3px solid white;
}

.second-section ul li a:hover .img-effect-opacity{
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
}

.second-section ul li a img{
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 0.3s;
}

.second-section ul li a span{
    display: block;
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    transition: 0.35s;
    text-shadow: 1px 1px 1px #000;
}

.second-section ul li a:hover span{
    top:45%;
}

.second-section .room-all-ancer{
    width:100%;
    height: 15vh;
    text-align: center;
    position: relative;
}

.second-section .room-all-ancer a{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding:10px 25px;
    border: 1px solid #aaa;
    color: #aaa;
    transition: 0.3s;
}

.second-section .room-all-ancer a:hover{
    border: 1px solid skyblue;
    color: skyblue;}

/* 세 번째 섹션 */
.third-wrap01{
    width: 100%;
    position: relative;
    border: 1px solid white;
}

.third-wrap-title{
    position: relative;
    width:100%;
    text-align: center;
}

.third-wrap-title h2{
    margin-top: 5%;
    font-size: 2.5rem;
    border-bottom: 3px solid black;
    padding-bottom: 5px;
    display: inline-block;
}

.third-wrap-title p{
    margin-top:5px;
}

.third-wrap-title span{
    font-size: 0.75rem;
    color: #aaa;
}

.third-wrap{
    width: 100%;
    position: relative;
    margin-top: 10%;
}

.halfline{
    position: absolute;
    width:50%;
    height: 100%;
    border-right: 1px solid #666;  
}

.third-first-sec{
    width:100%;
    height:500px;
    position: relative;
}

.third-second-sec{
    width:100%;
    height:500px;
    position: relative;
}

.left-sec{
    position: absolute;
    width:100%;
    height: 90%;
    max-width: 1400px;
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    display: flex;
    border: 1px solid #333333;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}


.right-sec{
    position: absolute;
    width:100%;
    height: 90%;
    max-width: 1400px;
    top: 50%;
    right: 0%;
    transform: translate(0%, -50%);
    display: flex;
    border: 1px solid #333333;
    box-shadow: -2px 2px 2px  rgba(0, 0, 0, 0.5);
}

.third-sec-infor{
    width:45%;
    height: 100%;
    position: relative;
    background-color:#f6f6f6;
    text-align: center;
    align-items: center;
}

.third-sec-infor .infor-center{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    width:100%;
}

.third-sec-infor h2{
    font-size: 1.5rem;
}

.third-sec-infor p{
    font-size: 0.7rem;
    padding:3px 10px;
    color: #aaa;
}

.third-sec-img{
    width:55%;
    height: 100%;
    position: relative;
}



@media screen and (max-width: 1200px) {
    /* 두번째 */

    .second-section ul li a span{
        font-size: 2.5rem;
    }
    
    /* 세번째 */
    .halfline{
        border-right: 0px solid #666;  
    }
}


@media screen and (max-width: 768px) {
    /* main */
    .main-section01{
        top: 22.5%;
        left: 50%;
        transform: translate(-50%, -22.5%);
        }

    .swiper{
        height: 50vh;
    }

    .welcome{
        font-size: 1.15rem;
    }
    .name{
        font-size: 1.5rem;
    }
    #sub-name{
        font-size:0.8rem;
    }

    
/* 첫 번째 섹션 */  
    .service-title{
        margin-right: 5%;
    }

    .service-title p{
        font-size: 1.2rem;
    }

    .service-title p.bold{
        font-size: 1.3rem;
    }

    .service-list li a{
        font-size: 0.65rem;
    }

/* 두번째 섹션 */

.second-wrap .room-title{
    font-size: 1.2rem;
}


.second-wrap .room-title p{
    font-size: 1.2rem;
}


.second-section ul li a span{
    font-size: 1.5rem;

}

.second-section ul li.room-50{
    width: 50%;
    height: 150px;
}

.second-section ul li.room-30{
    width: 33%;
    height: 150px;
}

.second-section .room-all-ancer{
      height: 7.5vh;
}

.second-section .room-all-ancer a{
    padding:5px 15px;
}
.second-section ul li a span{
    font-size: 1rem;


}
/* 세번째 섹션 */
.third-wrap-title span{
    font-size: 0.5rem;
}

.halfline{
    border-right: 0px solid #666;  
}

.third-wrap-title h2{
    font-size: 1.5rem;
}

.third-first-sec{
    height:200px;
}

.third-second-sec{
    height:200px;
}

.third-sec-infor h2{
    font-size: 0.8rem;
}

.third-sec-infor p{
    font-size: 0.5rem;
}

}