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

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:321px; transition:all .3s ease-in-out;}
header:hover .gnb li a{color:#333;  transition:all .3s ease-in-out;}
header:hover .menubtn_wrap ul li{background-color: #333;}


.pos{position: relative;}
.bar{
    width:0;
    height: 3px;
    background-color: #6eba38;
    position: absolute;
    left: 0;
    bottom: 0;
}
nav{
    width:100%;
    max-width:1300px;
    min-width:1300px;
    margin:0 auto;
    z-index: 999;
    position: relative;
}
.gnb{
    display: flex;
    align-items: center;
    justify-content: end;
    gap:60px;
}
.gnb > li{
    transition: all .2s ease-in-out;
    text-align: center;
}
.gnb > li > .gnb_wrap > a.on{color:#333;}

.gnb > li > .gnb_wrap > a{
    color:#333;
    font-size:20px;
    font-weight: 600;
    height:100px;
    line-height: 100px;
    position: relative;
}
.gnb > li > .gnb_wrap > a::after{content:'';
    display:block;
    width:0;
    height:2px;
    position: absolute;
    bottom:-10px;
    left:50%;
    background-color: #6eba38;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}

.bg{
    position: absolute;
    left: 0;
    top: 99px;
    width: 100%;
    height: 150px;
    display: none;
    z-index: 9;
    background-color: #fff;
    border-top:1px solid #ccc;
    border-bottom:3px solid #6eba38;
}

.gnb > li > .gnb_wrap{position: relative;}
.sub_menu{
    font-size:0;
    display:none;
    position: absolute;
    top:99px;
    z-index:99;
    left:50%;
    transform: translateX(-50%);
    width:100%;
    width:160px;
    background-color: #fff;
    border-bottom: 3px solid #6eba38;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}
.sub_menu li{transition: all .2s ease-in-out;}
.sub_menu a{
    font-size:16px;
    font-weight: 400;
    color: #464243 !important;
    line-height: 36px;
    display: block;
    position: relative;
    transition: all .2s ease-in-out;
    overflow: hidden;
}
.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: #6eba38;
    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:hover{color: #fff !important; transition: all .2s ease-in-out;}


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

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

/* header end */

/* visual swiper start */
.visual{
    width:100%;
    height:900px;
    min-width:1300px;
    margin-top:100px;
}
.typo{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width:1300px;
    z-index: 99;
    text-align: left;
}

/* .typo > span.up{opacity:1; transform:translate(0,0);} */

.typo span{
    display:block;
    color: #fff;
    transition:all 1s ease-in-out;
}
.typo span:first-child{
    font-size:72px;
    color:#fff;
    transition-delay:0s;
    font-weight: 800;
}
.typo span:nth-child(2){
    font-size:72px;
    color:#fff;
    font-weight: 800;
    transition-delay:0.5s;
}
.typo span:last-child{
    font-size:32px;
    color:#fff;
    transition-delay:1s;
    margin-top:30px;
    font-weight: 600;
}

.visual .swiper-slide > img{width:100%; transform:scale(1.2); 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:bounceInLeft 1s .2s both;}
.visual .mySwiper .swiper-wrapper .swiper-slide.swiper-slide-active span:nth-child(2){animation:bounceInLeft 1s .4s both;}
.visual .mySwiper .swiper-wrapper .swiper-slide.swiper-slide-active span:last-child{animation:bounceInLeft 1s .6s both;}

/* @keyframes top{
    0%{opacity: 0; transform:translateX(-300px);}
    100%{opacity: 1; transform: translateX(0);}
}
@keyframes middle{
    0%{opacity: 0; transform:translateX(-300px);}
    100%{opacity: 1; transform: translateX(0);}
}
@keyframes bottom{
    0%{opacity: 0; transform:translateX(-300px);}
    100%{opacity: 1; transform: translateX(0);}
} */


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

.visual .swiper-slide {
    width:100%;
    text-align: center;
    font-size: 18px;
    background: #fff;
    overflow: hidden;
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.visual .swiper-slide img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.visual .swiper-slide::before{
    position: absolute;
    content: '';
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.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: #6eba38;
}
.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 {
    left: 10px;
    right: auto;
    width:20px;
    color:#fff;
}
.visual .swiper-button-next,
.visual .swiper-container-rtl .swiper-button-prev {
    right: 10px;
    left: auto;
    width:20px;
    color:#fff;
}
.visual .swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{font-size:44px;}
.visual .swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{font-size:44px;}

.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 공통 */
section .image_show_wrap,
section .image_show_wrap2{
    position: relative;
    top: 0px;
    left: 0%;
    width: 100%;
}
section .image_show_wrap{overflow: hidden; animation-duration: 1.4s;}
section .image_show_wrap2{animation-duration: 1.4s;}

section .show_img01{animation-name: show_img01;}
@keyframes show_img01{
    0%{opacity: 0; transform: translate3d(-100%, 0, 0);}
}
section .show_img02{animation-name: show_img02;}
@keyframes show_img02{
    0%{opacity: 0; transform: translate3d(100%, 0, 0);}
}
section .show_img03{animation-name: show_img03;}
@keyframes show_img03{
    0%{opacity: 0; transform: translate3d(100%, 0, 0);}
}
section .show_img04{animation-name: show_img04;}
@keyframes show_img04{
    0%{opacity: 0; transform: translate3d(-100%, 0, 0);}
}
section .show_img05{animation-name: show_img05;}
@keyframes show_img05{
    0%{opacity: 0; transform: translate3d(0, 100%, 0);}
}
section .show_img06{animation-name: show_img06;}
@keyframes show_img06{
    0%{opacity: 0; transform: translate3d(0, -100%, 0);}
}
/* image_show_wrap 공통 */

/* image 확대 공통 */
.clip-animation {
    clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
    animation: clipExpand 1s cubic-bezier(0.770, 0.000, 0.175, 1.000) forwards;
}
@keyframes clipExpand {
    from {
        clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%);
    }
    to {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}
/* image 확대 공통 */

/* ------------------------------------- section ------------------------------------- */
/* gallery */
.gallery{padding:120px 0 60px 0;}
.gallery h2{
    font-size:48px;
    color:#000;
    text-align: left;
    padding:0 0 20px 20px;
    position: relative;
}
.gallery h2::before{
    content: '';
    position: absolute;
    top:18px;
    left:0;
    width:3px;
    height:40px;
    background-color: #6eba38;
}
.gallery h2::after{
    content: '';
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
    height:1px;
    background-color: #ccc;
    opacity: .5;
}
.gallery .inner > a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:10px;
    width:120px;
    padding:10px 0px;
    border-radius: 100px;
    background-color: #6eba38;
    transition: all .3s ease-in-out;
    position: absolute;
    top:20px;
    right:0;
}
.gallery .inner > a p{
    font-size:16px;
    text-align: center;
    color:#fff;
}
.gallery .inner > a span{
    display: inline-block;
    font-size:20px;
    color:#fff;
    transition: all .3s ease-in-out;
    vertical-align: middle;
    margin-bottom:3px;
}
.gallery .inner > a:hover{background-color: #227723;}
.gallery .inner > a:hover span{transform: rotate(-180deg);}

.gallery .board{margin-top:30px;}
.gallery .board ul{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap:20px;
}
.gallery .board ul li{width:25%;}
.gallery .board ul li a{
    display: block;
    width:100%;
    height:100%;
}
.gallery .board ul li .img{
    background-color: #000;
    overflow: hidden;
    position: relative;
    width:100%;
    height:0;
    padding-top:100%;
}

.gallery .board ul li:nth-of-type(1) .img{border-radius: 30px 0 0 0;}
.gallery .board ul li:nth-of-type(4) .img{border-radius: 0 0 30px 0;}

.gallery .board ul li .img img{
    transition: all .3s ease-in-out;
    object-fit: cover;
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
}
.gallery .board ul li .tit{padding:10px 0;}
.gallery .board ul li .tit p{
    font-size:18px;
    color:#000;
    text-align: center;
}

.gallery .board ul li a:hover .img img{transform: scale(1.1); opacity: .8;}
.gallery .board ul li a:hover .tit p{color:#ca1a1d;}
/* gallery */


/* banner */
.banner{padding-bottom:30px;}
.banner .banner_slide .swiper-wrapper {transition-timing-function: linear;}
.banner .banner_slide .swiper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.banner .banner_slide .swiper-slide {
    width:100%;
    text-align: center;
    font-size: 18px;
    overflow: hidden;
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding:10px;
    border:1px solid #ccc;
}
.banner .banner_slide .swiper-slide img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all .3s ease-in-out;
}
/* banner */





/* footer */
.footer{
    padding:30px 0;
    background-color: #757575;
}
.footer ul{
    display: flex;
    flex-wrap: nowrap;
    gap:60px;
    justify-content: start;
}
.footer ul li p{
    font-size:14px;
    color:#ccc;
    text-align: left;
    line-height:28px;
}
.footer ul li span{
    display: block;
    font-size:13px;
    color:#fff;
    text-align: left;
    margin-top:10px;
}
/* footer */
/* ------------------------------------- section ------------------------------------- */
/* top_btn */
.topbtn{
    position: fixed;
    bottom:60px;
    right:60px;
    z-index:9999999999999;
    width:50px;
    height:50px;
    border-radius: 40px;
    background-color:  #6eba38;
    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 */
