/* fullpage */
#fullpage{ transition: .7s; position: relative; top: 0;}
#fullpage.up{  top: -310px;}

/* 외부 css 가져오기 */
.mfp-bg { top: 0; left: 0; width: 100%; height: 100%; z-index: 1042; overflow: hidden; position: fixed; background: #0b0b0b; opacity: 0.8; }
.mfp-wrap { top: 0; left: 0; width: 100%; height: 100%; z-index: 1043; position: absolute; outline: 0 !important; -webkit-backface-visibility: hidden; }
.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    top: 50%; right:0; left: 0;
    transform: translateY(-50%);
    padding: 0 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  .mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
  }
  
  .mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
  }
  
  .mfp-auto-cursor .mfp-content {
    cursor: auto;
  }
  
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 80%;

    /* max-width: 900px; */
  }
  
  .mfp-iframe-scaler {
    width: 100%; height: 0;
    overflow: hidden;
    padding-top: 56.25%;
  }
  
  .mfp-close {
    width: 44px; height: 44px;
    line-height: 44px;
    position: absolute;
    top: 0; right: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #fff;
    font-style: normal;
    font-size: 28px;
    font-family: 'Open Sans', sans-serif;
  }
  
  button.mfp-close {
    overflow: visible;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: 0;
    padding: 0;
    z-index: 1046;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
  .mfp-close-btn-in .mfp-close {
    color: #333;
  }
  
  .mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close {
    color: #fff;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
  }
  
  .mfp-iframe-holder .mfp-close {
    top:-40px;
  }
  
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0; left: 0;
    width: 100%; height: 100%;
    -webkit-box-shadow: 0 0 8px rgba(0,0,0,.6);
    box-shadow: 0 0 8px rgba(0,0,0,.6);
    background: #000;
  }
  
/* 1023px */
@media (max-width: 1023px) {
    .mfp-container {
        text-align: center;
        position: absolute;
        width: 100%;
        top: 5%; right:0; left: 0;
        transform: translateY(-50%);
        padding: 0 8px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
      }

      .mfp-iframe-holder .mfp-content {
        line-height: 0;
        width: 98%;
    
        /* max-width: 900px; */
      }
}


/* section01 */
#section01, #section08  { overflow: hidden; position: relative; width: 100%; height: 100vh; }
#section01 .videoWrap, #section08 .videoWrap {position:absolute; width: 100%; height:100%; top: 0; left: 0; margin:0; pointer-events: none;}
#section01 .videoWrap iframe, #section01 .videoWrap object, #section01 .videoWrap embed,
#section08 .videoWrap iframe, #section08 .videoWrap object, #section08 .videoWrap embed{ 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    object-fit: cover;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    display: block;
 }

#section01 .fullSlogan{ position: absolute; top: calc(50% - 50px); width: 100%;}
#section01 .fullSlogan h3{ font-size: 64px; transition: .5s; width: 100%; text-align: center; }

#section01 .control{ font-size: 0; position: absolute; bottom: 80px; left: 0; right: 0; margin: 0 auto; width: 170px; text-align: center; z-index: 10;}
#section01 .control li{ display: inline-block; padding: 0 5px;}
#section01 .control li a{ display: block; font-size: 18px; color: #fff; width: 40px; height: 40px; line-height: 38px; border-radius: 50%; border: 2px solid #fff; text-align: center;}
#section01 .control li i{ color: #fff; position: relative; }

#section01 .control .play-pause a.hide{ display: none;}
#section01 .control .mute-onoff a.hide{ display: none;}

.vidbox .ratio iframe, .end-video .videoWrap iframe, #cutvideo1, #cutvideo2{pointer-events: none;}
.m-play{ display: none;}

.scrolldown{ position: absolute; bottom: 40px; z-index: 11;}


/* 영상나오기전 임시 */
#section01 .img-wrap, #section08 .img-wrap{ position: relative; width: 100%; height: 100%;}

/* =================== 1024px =================== */
@media (max-width: 1024px) {
  #section01 { overflow: hidden; position: relative; width: 100%; height: 128.21vw; margin-top: 0; }
  #section01 .videoWrap{position:relative; width: 100%; height:100%; top: 0; left: 0;  }
  #section08{ overflow: hidden; position: relative; width: 100%; height: 0; padding-top: 56.25%; }
  /* #section08 .videoWrap iframe{ transform: scale(1); } */
  #section08 .videoWrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  #section01 .videoWrap, #section01 .videoWrap iframe, #section01 .videoWrap object, #section01 .videoWrap embed{ pointer-events: unset;}
  #section01 .videoWrap iframe, #section01 .videoWrap object, #section01 .videoWrap embed{ opacity: 1;}
  #section01 .fullSlogan { top: calc(50% - 50px); display: block; }
  #section01 .fullSlogan h3{ font-size: 24px;}

  #section01 .control li a{ display: block; font-size: 10px; color: #fff; width: 20px; height: 20px; line-height: 17px; border-radius: 50%; border: 1px solid #fff; text-align: center;}

  #section01 .control{ bottom: 30px; display: none; }
    
  #section08 .img-wrap{ position: absolute; top: 0; left: 0;}
}


/* section02 */
#section02{  position: relative;}
#section02 .wrap1600{ padding-top: 100px; padding-bottom: 100px; }
#section02 .wrap1600 .line01{ position: absolute; top: 100px; left: 395px; width: 2px; height: calc(100% - 100px); background-color: rgba(209,112,40,.1);}
#section02 .wrap1600 .line02{ position: absolute; top: 0; right: 395px; width: 2px; height: calc(100% - 100px); background-color: rgba(209,112,40,.1);}
#section02 .wrap1600 .line02:after{ content: ''; width: 10px; height: 10px; border-radius: 50%; background-color: #D17028; position: absolute; left: -4px; animation: dot01 10s linear 0s infinite alternate;}
#section02 .wrap1600 .line01:after{ content: ''; width: 10px; height: 10px; border-radius: 50%; background-color: #D17028; position: absolute; left: -4px; animation: dot02 10s linear 0s infinite alternate;}

@keyframes dot01 {
	0% {top: 0;}
	100% {top: 100%;}
}

@keyframes dot02 {
	0% {top: 100%;}
	100% {top: 0;}
}



#section02 .top, #section02 .btm{ display: flex; align-items: flex-end;}
#section02 .movie-wrap{ width: 1060px; height: 560px; border-radius: 10px; overflow: hidden; position: relative;  -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); }
#section02 .movie-wrap iframe{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: scale(1.2);}
#section02 .img-box{ width: 520px; height: 360px; border-radius: 10px; position: relative; overflow: hidden;}
#section02 .top .movie-wrap{ margin-right: 20px;}
#section02 .top .img-wrap{ text-align: right;}
#section02 .btm .movie-wrap{ margin-left: 20px;}
#section02 .btm .img-wrap{ text-align: left;}
#section02 .mid{ padding: 100px 0 180px; text-align: center; background-size: inherit; background-repeat: no-repeat; background-position: top 20px center;}
#section02 .mid p{ line-height: 24px;}
/* =================== 1024px =================== */
@media (max-width: 1024px) {
  #section02 .wrap1600{ padding-top: 60px; padding-bottom: 60px;  }
  #section02 .wrap1600 .line01{ top: 60px; left: 60px; height: calc(100% - 200px); }
  #section02 .wrap1600 .line02{ top: 0; right: 60px; height: calc(100% - 400px); }
  #section02 .wrap1600 .line02:after{ top: calc(50% - 10px); left: -4px;}
  #section02 .wrap1600 .line01:after{ top: calc(50% + 150px); left: -4px;}

  #section02 .top, #section02 .btm{ flex-direction: column; }
  #section02 .movie-wrap{ width: 100%; height: 61.54vw; }
  #section02 .movie-wrap iframe{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: scale(1.2);}
  #section02 .img-box{ width: 100%; height: 61.54vw; }
  #section02 .img-wrap{ width: 100%;}
  #section02 .top .movie-wrap{ margin-right: 0;}
  #section02 .btm .movie-wrap{ margin-left: 0;}
  #section02 .mid{ padding: 130px 0 130px; text-align: center; background-size: contain; background-repeat: no-repeat; background-position: top 60px center;}
  #section02 .mid p{ line-height: 20px;}
}


/* section03 */
#section03{ padding: 100px 0 60px; position: relative;}
#section03 .box{ position: absolute; background-color: #FFF8F3; width: 1625px; height: 280px; right: 0; top: 0;}
#section03 .wrap1600{ position: relative; display: flex; }
#section03 .text-wrap{ width: 405px; padding-top: 110px;}
#section03 .text-wrap p{ line-height: 24px;}
#section03 .service-swiper{ width: calc(100% - 405px);}
/* =================== 1024px =================== */
@media (max-width: 1024px) {
  #section03{ padding: 60px 0 33px; }
  #section03 .box{ position: absolute; background-color: #FFF8F3; width: 100%; height: 285px; right: 0; top: 0;}
  #section03 .wrap1600{ flex-direction: column; }
  #section03 .text-wrap{ width: 100%; padding-top: 0;}
  #section03 .text-wrap p{ line-height: 20px;}
  #section03 .service-swiper{ width: 100%;}
}

/* section04 */
#section04{ padding: 100px 0 620px; position: relative;}
#section04 .box{ position: absolute; top: 0; left: 0; width: 100%; height: 420px; padding-top: 98px; background-color: #D17028; z-index: -2;}
#section04 .box p{ opacity: .05; width: 120%; word-break: keep-all; padding-left: 430px; text-align: left;}
#section04 .box p.last{ padding-left: 0; text-align: left; width: 120%; position: relative; left: -5%;}
#section04 .top{ width: 445px; position: relative; z-index: 10;}
#section04 .top p{line-height: 24px;}
#section04 .btm{ position: absolute; bottom: 100px; width: 100%;}
#section04 .btm .wrap1640{ display: flex; align-items: flex-end; }
#section04 .btm .wrap1640 .room-swiper{ order: 2; }
#section04 .btm .wrap1640 .text-wrap{ order: 1; padding-bottom: 170px; width: calc(100% - 1159px); padding-left: 20px;}
/* =================== 1024px =================== */
@media (max-width: 1024px) {
  #section04{ padding: 60px 0 10px; position: relative;}
  #section04 .box{ height: 370px; padding-top: 40px;}
  #section04 .box p{ opacity: .05; width: 200%; word-break: keep-all; padding-left: 0; text-align: left; left: -5%;}
  #section04 .box p.last{ padding-left: 0; text-align: left; width: 250%; position: relative; left: -20%;}
  #section04 .top{ width: 100%; }
  #section04 .top p{line-height: 20px;}
  #section04 .btm{ position: relative; bottom: unset; width: 100%;}
  #section04 .btm .wrap1640{ align-items: unset; flex-direction: column; padding: 0; }
  #section04 .btm .wrap1640 .room-swiper{ order: 1; }
  #section04 .btm .wrap1640 .text-wrap{ order: 2; padding-bottom: 0; width: 100%; padding-left: 20px; position: relative; top: -40px; z-index: 10;}

}

/* section05 */
#section05{  width: 100%; height: 600px; display: flex; align-items: center; text-align: center; background-size: cover; background-attachment: fixed; background-position: center; background-repeat: no-repeat;}
#section05 h3{ width: 100%;}
/* =================== 1024px =================== */
@media (max-width: 1024px) {
  #section05{  width: 100%; height: 61.54vw; }
}

/* section06 */
#section06{ overflow: hidden; display: flex; flex-direction: column; width: 100%; }
#section06 .w1105{ width: 1105px;}
#section06 .w815{ width: calc(100% - 1105px);}
#section06 .img-wrap{ position: relative;}
#section06 .top{ width: 100%; overflow: hidden;}
#section06 .top .img-wrap{ height: 865px;}
#section06 .top .text-wrap{ padding-top: 100px; text-align: center; padding-left: 100px;}
#section06 .btm .img-wrap{ height: auto;}
#section06 .btm .text-wrap{ display: table; position: relative;  height: 560px; text-align: center; }
#section06 .btm .text-wrap .box{ position: absolute; width: 100%; height: 100%; top: 0; left: 0; background-color: #FFF8F3; z-index: -2;}
#section06 .btm .img-wrap .text{ position: absolute; top: calc(50% - 50px); left: 0; right: 0; margin: 0 auto; width: 250px; height: 100px; border-radius: 50px; background-color: rgba(34, 34, 34, .7); text-align: center; display: table;}
#section06 .btm .img-wrap .text h3{ line-height: 18px;}
#section06 .btm .img-wrap .text p{ line-height: 26px;}

/* =================== 1024px =================== */
@media (max-width: 1024px) {
  #section06{ overflow: hidden; display: block; min-width: 100%; width: 100%; }
  #section06 .w1105{ width: 100%;}
  #section06 .w815{ width: 100%;}
  #section06 .top .text-wrap{ padding-top: 60px; text-align: left; padding-left: 20px; padding-bottom: 60px;}
  #section06 .top .text-wrap p{ line-height: 20px;}
  #section06 .btm .img-wrap{ height: auto;}
  #section06 .btm .text-wrap{ display: block; position: relative;  height: auto; text-align: center; padding-top: 60px; padding-bottom: 60px; }
  #section06 .btm .text-wrap .v-middle{ display: block; width: 100%;}
  #section06 .btm .img-wrap .text{ top: calc(50% - 27px); width: 170px; height: 54px; }
  #section06 .btm .img-wrap .text h3{ line-height: 16px;}
}

