/* header start */
header{
  position: fixed;
  width:100%;
  height:100px;
  min-width:1200px;
  z-index: 9999;
  top:0;
  left:0;
  transition: all .3s ease-in-out;
  /* background-color:#fff; */
}
header.on{
  position: fixed;
  width:100%;
  min-width:1200px;
  top:0;
  left:0;
  background-color: #fff;
  border-bottom:1px solid #ccc;
}
header .logo h1{
  position: absolute;
  width:90px;
  height:90px;
  top:5px;
  left:0;
  transition:all .3s ease-in-out;
  background: url(../img/logo_w.png) 50% 50% no-repeat;
  background-size: 90px;
}
header .logo h1.on{background: url(../img/logo.png) 50% 50% no-repeat; background-size: 90px;}
header .logo h1 a{
  display: block;
  width:90px;
  height:90px;
}

header:hover{background-color: #fff; transition: all .3s ease-in-out;}
header:hover .logo h1{background: url(../img/logo.png) 50% 50% no-repeat; background-size:90px; transition:all .3s ease-in-out;}
header:hover .gnb li a{color:#770007;  transition:all .3s ease-in-out;}

nav{
    width:100%;
    max-width:1200px;
    min-width:1200px;
    margin:0 auto;
    z-index: 999;
}
.gnb{
    font-size:0;
    width:100%;
    text-align: right;
}
.gnb > li{
    display:inline-block;
    width:140px;
    transition: all .2s ease-in-out;
    text-align: center;
}

/* .gnb > li:hover{background-color: rgba(191, 11, 1, .1); transition: all .2s ease-in-out;}
.gnb > li:hover .sub_menu li{background-color: rgba(191, 11, 1, .1); transition: all .2s ease-in-out;} */
.gnb > li > a:hover:before,
.gnb > li > a:hover:after{width:100%;}
.gnb > li > a.on{color:#770007;}

.gnb > li > a{
    color:#fff;
    font-size:18px;
    height:100px;
    line-height: 100px;
    position: relative;
}

.gnb > li > a:before{content:'';
    display:block;
    width:0;
    height:3px;
    position: absolute;
    bottom:-26px;
    left:50%;
    transform: translateX(-50%);
    background-color: #770007;
    transition: all .3s ease-in-out;
}
.gnb > li > a:after{content:'';
    display:block;
    width:0;
    height:3px;
    position: absolute;
    bottom:-26px;
    right:50%;
    transform: translateX(50%);
    background-color: #770007;
    transition: all .3s ease-in-out;
}
.sub_menu{
    font-size:0;
    display:none;
    position: absolute;
    z-index:99;
    background-color: #fff;
    box-shadow: 5px 5px 10px -3px;
}

.sub_menu li{width:200px; transition: all .2s ease-in-out;}
.sub_menu a{
  font-size:15px;
  font-weight: 400;
  color: #464243 !important;
  line-height: 35px;
  display: block;
  position: relative;
  transition: all .2s ease-in-out;
  overflow: hidden;
  text-align: left;
  padding-left:36px;
}
.sub_menu a::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130%;
  height: 200%;
  border-radius: 50%;
  transform: translate3d(-50%,-50%,0) scale3d(0,0,0);
  transition: opacity .4s cubic-bezier(.19,1,.22,1),transform .75s cubic-bezier(.19,1,.22,1);
  /* background-color: #bf0b2c; */
  background-color: #770007;
  opacity: 0;
  z-index: -1;
  transition: all .2s ease-in-out;
}
.sub_menu a:hover::before{
  opacity: 1;
  transition-duration: .85s;
  transition: all .2s ease-in-out;
  transform: translate3d(-50%,-50%,0) scale3d(1,1,1);
}
.sub_menu a::after{
  position: absolute;
  content: '>';
  font-size:16px;
  top:50%;
  transform: translateY(-50%);
  right:60px;
  transition: all .3s ease-in-out;
  opacity: 0;
}

.sub_menu a:hover::after{right:35px; color:#fff; opacity: 1;}
.sub_menu a:hover{color: #fff !important; transition: all .2s ease-in-out;}

/* header menu active */
header.active1 .gnb > li:nth-child(1) > a,
header.active2 .gnb > li:nth-child(2) > a,
header.active3 .gnb > li:nth-child(3) > a,
header.active4 .gnb > li:nth-child(4) > a,
header.active5 .gnb > li:nth-child(5) > a,
header.active6 .gnb > li:nth-child(6) > a{color: #bf0b2c;}

header.active1 .gnb > li:nth-child(1) > a::after,
header.active2 .gnb > li:nth-child(2) > a::after,
header.active3 .gnb > li:nth-child(3) > a::after,
header.active4 .gnb > li:nth-child(4) > a::after,
header.active5 .gnb > li:nth-child(5) > a::after,
header.active6 .gnb > li:nth-child(6) > a::after{width:100%;}
/* header end */

/* visual swiper start */
.visual{
    width:100%;
    min-width:1300px;
    height:800px;
}

.typo{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width:100%;
    z-index: 99999;
}
.typo span{
    color:#fff;
    display:block;
    opacity:1;
    transform:translate(0,100%);
    transition:all 1s ease-in-out;
}
.typo span:first-child{
    font-size:64px;
    font-weight: 800;
    color:#770007;
    font-family: 'Noto Serif KR', serif;
    transition-delay:0s;
}
.typo span:nth-child(2){
    margin-top:30px;
    font-size:30px;
    font-weight: 200;
    transition-delay:0.5s;
}
.typo span:last-child{
    font-size:30px;
    font-weight: 200;
    transition-delay:1s;
}
.visual .swiper-slide > img{width:100%; transform:scale(1.1); transition:all 5s ease;}
.visual .swiper-slide.swiper-slide-active > img.zoom{transform:scale(1);}

.visual .mySwiper .swiper-wrapper .swiper-slide.swiper-slide-active span:first-child{animation:rubberBand 1s .2s both;}
.visual .mySwiper .swiper-wrapper .swiper-slide.swiper-slide-active span:nth-child(2){animation:bounceInLeft 1s .3s both;}
.visual .mySwiper .swiper-wrapper .swiper-slide.swiper-slide-active span:last-child{animation:bounceInLeft 1s .4s both;}

/* @keyframes text{
    0%{opacity: 0; transform:translateX(-1920px);}
    100%{opacity: 1; transform: translateX(0);}
} */

.visual .swiper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.visual .swiper-slide {
  width:100%;
  height:100%;
  text-align: center;
  font-size: 18px;
  background: #fff;
  overflow: hidden;
  position: relative;

  /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.visual .swiper-slide::before{
  position: absolute;
  content: '';
  width:100%;
  height:100%;
  top:0;
  left:0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.visual .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual .swiper .swiper-pagination span{margin:0 3px;}

.visual .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border:1px solid #fff;
    background: none;
    border-radius: 100%;
}

.visual .swiper-pagination-bullet-active {
    opacity: 1;
    background: #770007;
}
.visual .swiper .swiper-pagination {
    position: absolute;
    text-align: center;
    -webkit-transition: .3s opacity;
    -o-transition: .3s opacity;
    transition: .3s opacity;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    z-index: 10;
    left:50%;
    bottom:50px;
    transform: translate(-50%, 100%);
}
.visual .swiper-button-prev,
.visual .swiper-container-rtl .swiper-button-next {
    /* background-image: url("../img/swiper_prev.png"); */
    left: 10px;
    right: auto;
    width:20px;
    color:#770007;
}
.visual .swiper-button-next,
.visual .swiper-container-rtl .swiper-button-prev {
    /* background-image: url("../img/swiper_next.png"); */
    right: 10px;
    left: auto;
    width:20px;
    color:#770007;
}
.visual .swiper-button-next,
.visual .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 60px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 40px 60px;
    background-position: center;
    background-repeat: no-repeat
}
/* visual swiper end */

/* image_show_wrap °ψΕλ */
.image_show_wrap,
.image_show_wrap2{
    position: relative;
    top: 0px;
    left: 0%;
    width: 100%;
}
.image_show_wrap{overflow: hidden; animation-duration: 1.4s;}
.image_show_wrap2{animation-duration: 1.4s;}

.show_img01{animation-name: show_img01;}
@keyframes show_img01{
    0%{opacity: 0; transform: translate3d(-100%, 0, 0);}
}
.show_img02{animation-name: show_img02;}
@keyframes show_img02{
    0%{opacity: 0; transform: translate3d(100%, 0, 0);}
}
.show_img03{animation-name: show_img03;}
@keyframes show_img03{
    0%{opacity: 0; transform: translate3d(100%, 0, 0);}
}
.show_img04{animation-name: show_img04;}
@keyframes show_img04{
    0%{opacity: 0; transform: translate3d(-100%, 0, 0);}
}
.show_img05{animation-name: show_img05;}
@keyframes show_img05{
    0%{opacity: 0; transform: translate3d(0, 100%, 0);}
}
.show_img06{animation-name: show_img06;}
@keyframes show_img06{
    0%{opacity: 0; transform: translate3d(0, -100%, 0);}
}
/* image_show_wrap °ψΕλ */
h2{
  font-size:36px;
  color:#333;
  text-align: center;
  position: relative;
}
h2::before{
  position: absolute;
  content: '';
  width:60px;
  height:2px;
  background-color: #770007;
  bottom:-20px;
  left:50%;
  transform: translateX(-50%);
}

/* ------------------------------- section ------------------------------- */
/* section1 */
.section1{padding:80px 0;}
.horseriding_img{
  margin-top:80px;
  height:600px;
  overflow: hidden;
}
.horseriding_img .image_show_wrap,
.horseriding_img .image_show_wrap2{
    position: relative;
    top: 0px;
    left: 0%;
    width: 100%;
}
.horseriding_img .image_show_wrap{overflow: hidden; animation-duration: 1.4s;}
.horseriding_img .image_show_wrap2{animation-duration: 1.4s;}

.horseriding_text{position: relative;}
.horseriding_text h3{
  font-size:50px;
  color:#fff;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: left;
  width:540px;
  position: absolute;
  right:0;
  top:220px;
  padding-left:20px;
  z-index: 9;
}
.horseriding_text p{
  font-size:20px;
  color:#fff;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: left;
  width:540px;
  position: absolute;
  right:0;
  top:300px;
  padding:10px 0px 10px 20px;
  z-index: 9;
}
.horseriding img{
  width:100%;
  height:946px;
  object-fit: cover;
}

/* section1 */

/* section2 */
.facility p{
  font-size:18px;
  color:#333;
  text-align: center;
  margin:40px 0;
}
.facility ul{
  margin-top:20px;
}
.facility li{
  padding:20px;
  border:1px solid #ccc;
}
.facility li h3{
  font-size:24px;
  color:#333;
  text-align: left;
}
.facility li span{
  display: block;
  font-size:16px;
  line-height: 28px;
  color:#000;
  opacity: .8;
  text-align: left;
  letter-spacing: -.5px;
  margin-top:10px;
}
/* section2 */

/* section3 */
.section3{padding:80px 0;}
.riding{
  background: url(../img/section3/section3_bg.jpg) no-repeat 50% fixed;
  background-size: cover;
  height:600px;
}
.riding h3{
  font-size:50px;
  color:#fff;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: left;
  width:650px;
  position: absolute;
  right:0;
  top:220px;
  padding-left:20px;
  z-index: 9;
}
.riding p{
  font-size:20px;
  color:#fff;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: left;
  width:650px;
  position: absolute;
  right:0;
  top:300px;
  padding:10px 0px 10px 20px;
  z-index: 9;
}
/* section3 */

/* section4 */
.introduction{overflow: hidden; margin-bottom:60px;}
.introduction p{
  font-size:18px;
  color:#333;
  text-align: center;
  margin:40px 0;
}
.introduction p strong{color:#bf0b2c;}
/* section4 */

/* section5 */
.main_advantages{padding:80px 0;}
.main_advantages p{
  font-size:18px;
  color:#333;
  text-align: center;
  margin:40px 0;
}

.advantages_img .image_show_wrap,
.advantages_img .image_show_wrap2{
    position: relative;
    top: 0px;
    left: 0%;
    width: 100%;
}
.advantages_img .image_show_wrap{overflow: hidden; animation-duration: 1.4s;}
.advantages_img .image_show_wrap2{animation-duration: 1.4s;}

.advantages_img p{
  font-size:24px;
  text-align: center;
  color:#333;
  margin-top:185px;
}
/* section5 */

/* section6 */
.bbq{
  padding:100px 0;
  position: relative;
  background: url(../img/section6/section6_bg3.jpg) no-repeat 50% fixed;
  background-size: cover;
  text-align: center;
}
.bbq h2{color:#fff;}
.bbq p{
  font-size:18px;
  color:#fff;
  text-align: center;
  margin:40px 0;
}
/* .bbq a{
  display: inline-block;
  text-align: center;
  font-size:16px;
  background-color: #770007;
  color:#fff;
  position: relative;
  padding:10px 40px 10px 20px;
  transition: all .3s ease-in-out;
  z-index: 3;
}
.bbq a::before{
  position: absolute;
  content: '>';
  top:50%;
  transform: translateY(-50%);
  right:20px;
  color:#fff;
  z-index: 3;
  transition: all .3s ease-in-out;
}
.bbq a:hover{background-color: #fff; color:#770007;}
.bbq a:hover::before{right:10px; color:#770007;} */
/* section6 */

/* section7 */
.photogallery{padding:80px 0;}
.photogallery h2{margin-bottom:80px;}

.photogallery .board .gallery_wrap{padding:10px;}
.photogallery .board .gallery_wrap .gallery_inner .gallery_img{width:100%; border:1px solid #ccc;}
.photogallery .board .gallery_wrap .gallery_inner .gallery_img a{
  display: block;
  background-color: #000;
  transition: all .3s ease-in-out;
  overflow: hidden;
}
.photogallery .board .gallery_wrap .gallery_inner .gallery_img img{width:100%; height:100%; transition: all .3s ease-in-out;}
.photogallery .board .gallery_wrap .gallery_inner .gallery_text a{
  display: block;
  font-size:16px;
  text-align: center;
  padding:15px 0;
  transition: all .3s ease-in-out;
}
.photogallery .board .gallery_wrap:hover .gallery_inner .gallery_img a img{transform: scale(1.1); opacity: .8;}
.photogallery .board .gallery_wrap:hover .gallery_inner .gallery_text a{background-color: #770007; color:#fff;}
/* section7 */
/* ------------------------------- section ------------------------------- */

/* footer */
footer{
  padding:30px 0;
  background-color: #222;
}
footer .footer_logo{text-align: center; margin-bottom:20px;}
footer .footer_logo img{width:80px;}
footer .footer_text p{
  font-size:13px;
  color:#ccc;
  text-align: center;
  opacity: .5;
}
/* footer */

 /* top_btn */
.topbtn{
  position: fixed;
  bottom:60px;
  right:60px;
  z-index:9999999999999;
  width:50px;
  height:50px;
  border-radius: 40px;
  background-color:  #770007;
  transition: all 0.5s ease;
  opacity: 0;
}
.topbtn.on{opacity: 1;}

.topbtn img{
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);
  width:30px;
}

.topbtn:hover{
  transition: all 0.5s ease;
  background-color: #151515;
}
/* top_btn */