@charset "utf-8";

.mbr{ display: block;}
.br{ display: none;}

.main-bn{width: 100%; height: 100vh; margin: 0 auto; position: relative; z-index: 1;}
.main-bn-swip{height: 100vh;}
.main-bn-swip .s1{ background: url(../img/main/image1.jpg) no-repeat center/cover; }
.main-bn-swip .s2{ background: url(../img/main/image2.jpg) no-repeat center/cover; }
.main-bn-swip .s3{ background: url(../img/main/image3.jpg) no-repeat center/cover; }
.main-bn-swip .s4{ background: url(../img/main/image4.jpg) no-repeat center/cover; }
.main-bn-swip .s5{ background: url(../img/main/image5.jpg) no-repeat center/cover; }
.main-bn-swip .s6{ background: url(../img/main/image6.jpg) no-repeat center/cover; }
.main-bn-swip .s7{ background: url(../img/main/image7.jpg) no-repeat center/cover; }
.main-bn-swip .s8{ background: url(../img/main/image8.jpg) no-repeat center/cover; }
.main-bn-swip .s9{ background: url(../img/main/image9.jpg) no-repeat center/cover; }
.main-bn-swip .s10{ background: url(../img/main/image10.jpg) no-repeat center/cover; }
.main-bn-swip .s11{ background: url(../img/main/image11.jpg) no-repeat center/cover; }
.main-bn-swip .s12{ background: url(../img/main/image12.jpg) no-repeat center/cover; }
.main-bn-swip .s13{ background: url(../img/main/image13.jpg) no-repeat center/cover; }
.main-bn-swip .s14{ background: url(../img/main/image14.jpg) no-repeat center/cover; }
.main-bn-swip .s15{ background: url(../img/main/image15.jpg) no-repeat center/cover; }
.main-bn-swip .s16{ background: url(../img/main/image16.jpg) no-repeat center/cover; }
/* main-bn-in */
.main-bn-in{ width: 1600px; height: 100%; margin:  0 auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; pointer-events: none;}

.main-nav{width: auto; position: absolute; top: 50%; left: 0; transform: translateY(-50%); pointer-events: auto;}
.main-nav ul li{ color: #fff; padding: 20px 0;}
.main-nav ul li:first-child{ padding: 0 0 20px 0;}
.main-nav ul li:last-child{ padding: 20px 0 0 0;}
.main-nav ul li a{ color: #fff; font-size: 16px; display: block}

.main-logo{ position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%)}
.main-logo h1 > p{ font-size: 36px; color: #fff; font-weight: 400; text-align: left; line-height: 1.25em; letter-spacing: 2px;}
.main-logo h1 > p:nth-child(2){ text-align: center;}
.main-logo h1 > p:nth-child(3){ letter-spacing: 10px; }

.main-con{ position: absolute; top: 50%; right: 0; transform: translateY(-50%);}
.main-con p{ writing-mode: vertical-rl; color: #fff; line-height: 1.5em; letter-spacing: 2px; }

.scrolldown{ position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);width: auto; }
.scrolldown .sd-txt{ text-align: center; color: #fff; margin: 0 auto 20px; display: block; }
.scrolldown .sd-line{ width: 2px; height: 50px; background-color: rgba(255, 255, 255, 0.3); display: block; margin: 0 auto; position: relative; transition: all 0.2s ease-in-out; }
.scrolldown .sd-line-dot{content:''; width: 2px; height: 20px; background-color: #fff; animation: line 2s infinite; z-index: 2; position: absolute; top: 0; left: 0;}

@keyframes line{
    from{
        top: 0%;
    }
    to{
        top: 60%;
    }
}

.main-bn-prev{ position: absolute; bottom: 58px; left: 0;}
.main-bn-prev i{display: block; color: #fff; font-size: 20px; pointer-events: auto; cursor: pointer; }
.main-bn-next{ position: absolute; bottom: 58px; right: 0;}
.main-bn-next i{display: block; color: #fff; font-size: 20px; pointer-events: auto; cursor: pointer;}
.main-bn-page{  position: relative; bottom: 0; margin: 0 auto; text-align: center; color: #fff !important;}
.main-bn-page span{ color: #fff; }

/* story */
.story{ margin: 120px auto 150px; width: 100%; }
.story .story-in{ width: 1600px; margin: 0 auto;}
.story-tit h2{ font-size: 24px; color: #191919; line-height: 1.5em; font-weight: normal; }

.story-con{ display: flex; justify-content: space-between; align-items: flex-end;}
.story-con .story-txt{ margin-top: 60px; }
.story-con .story-txt p{ line-height: 1.5em;}
.story-con .more-btn a{ display: block; padding-bottom: 10px; color: #9ba4aa;}
.story-con .more-btn{position: relative;}
.story-con .more-btn a:hover{ color: #000; }
.story-con .more-btn a::after{ content: ''; position: absolute; left: 0; bottom:0px; width: 0; height: 1.5px; margin: 5px 0 0; transition: all 0.3s ease-in-out; opacity: 0; background-color: #9ba4aa;}
.story-con .more-btn a:hover::after{ content:''; width:100%; opacity: 1; }

.story-con-img{ margin-top: 80px; position: relative; width: 1200px; height: 675px; background: url(../img/main/image4.jpg) no-repeat center/cover; float: right;}
.story-con-img .con-img{ width: 100%; height: 100%; }
.story-con-img .con-img .video{padding-bottom:56.25%; overflow: hidden;}
.story-con-img .con-img .video iframe{position:absolute;top:0;left:0;width:100%;height:100%;}




/* rooms */
.rooms{ margin: 0 auto 150px; width: 100%;}
.rooms .rooms-in{ width: 1600px; margin: 0 auto; display: flex;}
.rooms-in .rooms-left{ width: 50%; height: 800px;}
.rooms-left .left-img-swip{ height: 100%;}
.rooms-left .left-img-swip .s1{ background: url(http://yeongokrest.cdn1.cafe24.com/sub2/1/image1.jpg) no-repeat center/cover;}
.rooms-left .left-img-swip .s2{ background: url(http://yeongokrest.cdn1.cafe24.com/sub2/1/image5.jpg) no-repeat center/cover; }
.rooms-left .left-img-swip .s3{ background: url(http://yeongokrest.cdn1.cafe24.com/sub2/1/image15.jpg) no-repeat center/cover;}
.rooms-left .left-img-swip .s4{ background: url(http://yeongokrest.cdn1.cafe24.com/sub2/1/image19.jpg) no-repeat center/cover;}
.rooms-left .left-img-swip .s5{ background: url(http://yeongokrest.cdn1.cafe24.com/sub2/1/image25.jpg) no-repeat center/cover;}

.rooms-right{ margin-top: 50px; margin-left: 50px; display: flex; flex-direction: column; justify-content: space-between; width: 50%; }
.rooms-right .rooms-tit h2{ font-size: 24px; font-weight: normal; color: #191919; line-height: 1.5em; margin-bottom: 60px;}
.rooms-right .rooms-txt p{ font-size: 14px; line-height: 1.5em;}

.right-bottom .bottom-left{ display: flex; flex-direction: column; justify-content: space-between;}
.rooms-next:after{ content:''; display: none;}
.page-btn div{ cursor: pointer;}
.page-btn div, .page-btn span{display: inline-block; font-family: 'PurenJeonnam'; font-size: 24px; font-weight: 600;}
.page-btn div.rooms-next{color: #191919;}
.rooms-right .right-bottom{ display: flex; justify-content: space-between;}
.right-bottom .bottom-right{ width: 280px; height: 370px;}
.bottom-right .right-img{ height: 100%; background: url(http://yeongokrest.cdn1.cafe24.com/sub2/1/image6.jpg) no-repeat center/cover;}


/* banner */
.banner{ width: 100%; height: 700px; background: url(../img/main/image14.jpg)no-repeat center/cover; margin: 0 auto 150px;}
.banner .black-box{ width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.1);}
.banner .banner-in{ width: 1600px; margin: 0 auto; position: relative;}
.banner .banner-in .banner-txt{ position: absolute; bottom: 60px; right: 0;}
.banner .banner-in .banner-txt h2{ font-size: 30px; font-weight: 400; color: #fff; text-align: right; line-height: 1.5em;}
.banner .banner-in .banner-txt h3{ font-size: 14px; font-weight: 400; color: #fff; text-align: right; margin-top: 50px; }


/* facility */
.fac{ width: 100%; margin:0 auto 150px;}
.fac .fac-in{ width: 1600px; margin: 0 auto; position: relative;}
.fac .fac-in .fac-tit{  padding: 0 185px; margin-bottom: 80px;}
.fac .fac-in .fac-tit h2{ font-size: 24px; color: #191919; font-weight: 400; margin-bottom: 30px; text-align: center;}
.fac .fac-in .fac-tit .fac-txt p{ font-size: 14px; font-weight: 400; text-align: center; line-height: 1.5em; }

.fac .fac-in .fac-con{ padding: 0 185px; position: relative;}
.fac-con .fac-con-txt{ position: absolute; bottom: 0; left: 185px; }
.fac-con .fac-con-txt p{ line-height: 1.5em; color: #c7cdd1;}

.fac-con .tab{display: flex; justify-content: space-between; align-items: center;  }
.fac-con .tab .tab-nav{  padding: 0 140px;}
.fac-con .tab .tab-nav li{padding: 15px 0;}
.fac-con .tab .tab-nav li:first-child{padding: 0 0 15px 0;}
.fac-con .tab .tab-nav li:last-child{ padding: 15px 0 0 0;}
.fac-con .tab .tab-nav li a{ display: block;}
.fac-con .tab .tab-nav li a i{font-size: 40px; color: rgba(0, 0, 0, 0.3); display: block; text-align: center; padding-bottom: 10px;  transition: all 0.3s ease-in-out;}
.fac-con .tab .tab-nav li a span{ font-size: 14px; display: block; text-align: center; color: rgba(0, 0, 0, 0.3);  transition: all 0.3s ease-in-out;}
.fac-con .tab .tab-nav li a:hover i, .fac-con .tab .tab-nav li a:hover span{ color: rgba(0, 0, 0, 1); }
.fac-con .tab .tab-nav li a.active i, .fac-con .tab .tab-nav li a.active span{ color: rgba(0, 0, 0, 1); }

.tab-content .con-right-img{ width:100%; position: relative;}
.tab-content .con-right-img .large{ width: 600px; height: 800px; background-color: #c9c9c9;}
.tab-content .con-right-img .small{ width: 414px; height: 547px; background-color: #353535; position: absolute; top:50%; left: 0%; transform: translate(-50%, -50%);}

.tab-content #tab1.con-right-img .large.img1{ background:url(../img/sub3/1/image3.jpg) no-repeat center/cover; }
.tab-content #tab1.con-right-img .small.img2{ background:url(../img/sub3/1/image2.jpg) no-repeat center/cover; }
.tab-content #tab2.con-right-img .large.img1{ background:url(../img/sub3/2/image1.jpg) no-repeat 70% 50%/cover; }
.tab-content #tab2.con-right-img .small.img2{ background:url(../img/sub3/2/image4.jpg) no-repeat 15% 50%/cover; }
.tab-content #tab3.con-right-img .large.img1{ background:url(../img/sub3/3/image1.jpg) no-repeat center/cover; }
.tab-content #tab3.con-right-img .small.img2{ background:url(../img/sub3/3/image4.jpg) no-repeat center/cover; }
.tab-content #tab4.con-right-img .large.img1{ background:url(../img/sub3/4/image3.jpg) no-repeat 30% 50%/cover; }
.tab-content #tab4.con-right-img .small.img2{ background:url(../img/sub3/4/image2.jpg) no-repeat center/cover; }
.tab-content #tab5.con-right-img .large.img1{ background:url(http://yeongokrest.cdn1.cafe24.com/sub2/2/image1.jpg) no-repeat center/cover; }
.tab-content #tab5.con-right-img .small.img2{ background:url(http://yeongokrest.cdn1.cafe24.com/sub2/2/image4.jpg) no-repeat center/cover; }
.tab-content #tab6.con-right-img .large.img1{ background:url(../img/sub3/5/image1.jpg) no-repeat center/cover; }
.tab-content #tab6.con-right-img .small.img2{ background:url(../img/sub3/5/image4.jpg) no-repeat 75%/cover; }

/* --------------------------------------------------- 반응형웹 ------------------------------------------------------------ */
@media all and (max-width: 1600px){
    .main-bn-in, .story .story-in, .rooms .rooms-in, .banner .banner-in, .fac .fac-in{ width: 95%;}
}

@media all and (max-width: 1440px){
    .fac .fac-in .fac-con{ padding: 0 115px;}
}
@media all and (max-width: 1440px){
    .story-con-img{ width:100%; height: auto;}
}
@media all and (max-width: 1024px){

    /* story */
    .story-con-img{ float: none; width: 100%;}

    /* rooms */
    .rooms-right{ margin-top: 30px; margin-left: 30px;}

    .fac .fac-in .fac-con{ padding: 0 30px;}
    .fac-con .fac-con-txt{ left: 30px;}
    .fac-con .tab .tab-nav{ padding: 0 70px;}
    .tab-content .con-right-img .large{ width: 500px; height: 700px;}
    .tab-content .con-right-img .small{ width: 314px; height: 447px;}
    
    .story-con-img .con-img{ width: 100%; height: 100%; }
    .story-con-img .con-img .video{padding-bottom:65%;}
    .story-con-img .con-img .video iframe{top:50%; left:50%; transform:translate(-50%, -50%); width:200%;height:100%;}
}

@media all and (max-width: 768px){
    .mbr{ display: none;}

    /* story */
    .story-con{ flex-direction: column;}
    /* .story-con .more-btn{ margin-top: 30px;} */
    .story-con-img{margin-top: 30px;}
    .story-con .story-txt{ margin-bottom: 30px;}
    .story-con .more-btn a::after{ content: ''; position: absolute; left: 0; bottom:0px; width: 100%; height: 1.5px; margin: 5px 0 0; transition: all 0.3s ease-in-out; opacity: 1; background-color: #9ba4aa;}

    /* rooms */
    .rooms .rooms-in{ flex-direction: column-reverse;}
    .rooms-in .rooms-left{ width: 100%; height: auto;  aspect-ratio: 1;}
    .rooms-right{ width: 100%; margin-left: 0;}
    .rooms-right .rooms-tit h2{ margin-bottom: 30px;}
    .right-bottom .bottom-right{ height: 220px;}
    .rooms-right .right-bottom{ margin-top: 30px; margin-bottom: 50px;}
    .right-bottom .bottom-left{ flex-direction: column-reverse;}

    .eng-txt{ display: none;}

    /* facility */
    .fac-con .tab{ flex-direction: column;}
    .fac .fac-in .fac-con{ padding: 0 0;}
    .fac-con .fac-con-txt{ display: none;}
    .fac .fac-in .fac-tit{ margin-bottom: 30px; padding: 0;}
    .fac-con .tab .tab-nav{ width: 70%;  padding: 0; display: flex; justify-content: space-around;}
    .fac-con .tab .tab-nav li{ padding: 0;}
    .fac-con .tab .tab-nav li:last-child{ padding: 0; }
    .tab-content { margin-top: 50px;}
    .tab-content .con-right-img{ right: -50%; top: 0; transform: translateX(-36%); }
    .tab-content .con-right-img .large{ width: 500px; height: 550px;}
    .tab-content .con-right-img .small{ width: 214px; height: 307px; }
    
    .story-con-img .con-img .video{padding-bottom:75%;}
    .story-con-img .con-img .video iframe{ width:200%;height:100%;}
}

@media all and (max-width: 500px){
    .br{ display: block;}

    .main-logo h1 > p{ font-size: 24px; color: #fff; font-weight: 400; text-align: center;}
    .main-logo h1 > p:nth-child(2){ letter-spacing: 5px;}
    .main-logo h1 > p:nth-child(3){ letter-spacing: 2px;}

    .story-tit h2{ font-size: 20px;}

    /* rooms */
    .rooms-right .rooms-tit h2{ font-size: 20px;}
    .right-bottom .bottom-right{ display: none;}
    .rooms-right .right-bottom{ width: 100%; margin-top: 50px;}
    .right-bottom .bottom-left{ width: 100%;}
    .eng-txt p{ text-align: right; margin-bottom: 50px;}

    /* facility */
    .fac .fac-in .fac-tit{ padding: 0;}
    .fac-con .tab .tab-nav{ width: 100%;}
    .tab-content{ width: 100%;}
    .tab-content .con-right-img .small{display: none;}
    .tab-content .con-right-img{ right: 0; transform: none;}
    .tab-content .con-right-img .large{ width:100%; height: 350px; }
    .fac .fac-in .fac-tit h2{ font-size: 24px; line-height: 1.5em;}
    .fac-con .tab .tab-nav li a i{ font-size: 30px;}
    .fac-con .tab .tab-nav li a span{ font-size: 12px;}

    .banner{ height: 500px; margin: 0 auto 100px;}
    .banner .banner-in .banner-txt h2{ font-size: 20px;}
    .banner .banner-in .banner-txt h3{ margin-top: 20px;}
}