/* 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:1400px;
    top:0;
    left:0;
    background-color: #fff;
    border-bottom:1px solid #ccc;
}
header .logo h1{
    position: absolute;
    width:262px;
    height:35px;
    top:35px;
    left:0;
    transition:all .3s ease-in-out;
    background: url(../img/logo.png) 50% 50% no-repeat;
    background-size: 262px;
    z-index: 9999;
}
header .logo h1.on{
    background: url(../img/logo.png) 50% 50% no-repeat;
    background-size: 262px;
}
header .logo h1 a{
    display: block;
    width:262px;
    height:35px;
}

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:262px; 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: #00389a;
    position: absolute;
    left: 0;
    bottom: 15px;
}
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;
    margin-right:230px;
    gap:70px;
}
.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: #00389a;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}


.top_menu{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:20px;
}

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

.gnb > li > .gnb_wrap{position: relative;}
.sub_menu{
    font-size:0;
    display:none;
    position: absolute;
    z-index:99;
    left:50%;
    transform: translateX(-50%);
    width:100%;
    width:160px;
}
.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: #00389a;
    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: #00389a;}

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:1080px;
    min-width:1400px;
    margin-top:100px;
}

.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 .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: #00389a;
}
.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:#fff
}
.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:#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 */



.visual .visual_text{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    width:1300px;
}

.visual .visual_text > p{
    font-size:48px;
    color:#fff;
    text-align: center;
    font-weight: 200px;
}
.visual .visual_text > h3{
    font-size:48px;
    color:#fff;
    text-align: center;
    font-weight: 800;
}
.visual .visual_text > span{
    display: block;
    font-size:12px;
    color:#fff;
    text-align: center;
    font-weight: 600;
    margin-top:20px;
}
.visual .visual_text > a{
    display: block;
    margin:30px auto;
    background-color: #6600cc;
    width:500px;
    padding:10px 0;
    overflow: hidden;
    transition: all .3s ease-in-out;
    position: relative;
    z-index: 0;
}
.visual .visual_text > a::before{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:0;
    transition: all .3s ease-in-out;
    background-color: #f00c22;
    z-index: -1;
}
.visual .visual_text > a:hover::before{height:100%;}


.visual .visual_text > a p{
    font-size:18px;
    color:#fff;
    text-align: center;
}
.visual .visual_text > a span{
    display: block;
    font-size:14px;
    color:#fff;
    text-align: center;
}

.visual .visual_text .text_box ul{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap:20px;
}
.visual .visual_text .text_box ul li{
    width:25%;
    height:200px;
    overflow: hidden;
    position: relative;
    transition: all .3s ease-in-out;
    z-index: 0;
}
.visual .visual_text .text_box ul li::before{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:0;
    transition: all .3s ease-in-out;
    background-color: #f00c22;
    z-index: -1;
}
.visual .visual_text .text_box ul li:hover::before{height:100%;}

.visual .visual_text .text_box ul li:nth-of-type(1){background-color: #3b3da1;}
.visual .visual_text .text_box ul li:nth-of-type(2){background-color: #355cd1;}
.visual .visual_text .text_box ul li:nth-of-type(3){background-color: #71bf45;}
.visual .visual_text .text_box ul li:nth-of-type(4){background-color: #0f8dc7;}



.visual .visual_text .text_box ul li a{
    display: block;
    font-size:32px;
    font-weight: 600;
    color:#fff;
    text-align: center;
    line-height:200px;
}

/*****************  버튼 공통 *****************/
/* button */
.button .btn{
    position: relative;
    color: #fff;
    overflow: hidden;
    display: block;
    overflow: hidden;
    padding:15px 0px;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #fff;
}

.button .btn::before,
.button .btn::after {
    position: absolute;
    top: 50%;
    content: '';
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    transition: all 0.5s ease;
    z-index: -1;
}
.button .btn::before {
    left: -20px;
    transform: translate(-50%, -50%);
}
.button .btn::after {
    right: -20px;
    transform: translate(50%, -50%);
}
.button .btn:hover {
    color: #000;
}
.button .btn:hover::before {
    animation: criss-cross-left 0.8s both alternate;
}
.button .btn:hover::after {
    animation: criss-cross-right 0.8s both alternate;
}

@keyframes criss-cross-left {
    0% {
        left: -20px;
        width: 20px;
        height: 20px;
    }
    50% {
        left: 50%;
        width: 20px;
        height: 20px;
    }
    100% {
        left: 50%;
        width: 375px;
        height: 375px;
    }
}

@keyframes criss-cross-right {
    0% {
        right: -20px;
        width: 20px;
        height: 20px;
    }
    50% {
        right: 50%;
        width: 20px;
        height: 20px;
    }
    100% {
        right: 50%;
        width: 375px;
        height: 375px;
    }
}
/* button */
/*****************  버튼 공통 *****************/

/* 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);}
}
section .show_img07{animation-name: show_img07;}
@keyframes show_img07{
    0%{opacity: 0; transform: translate3d(0, -100%, 0);}
}
section .show_img08{animation-name: show_img08;}
@keyframes show_img08{
    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 ------------------------------------- */
.footer{
    background-color: #59626b;
    padding:30px 0;
}
.footer ul{
    display: flex;
    justify-content: start;
    gap:60px;
}
.footer ul li p{
    font-size:14px;
    color:#ccc;
    text-align: left;
}
.footer ul li span{
    display: block;
    font-size:13px;
    color:#fff;
    text-align: left;
    margin-top:10px;
}
.footer ul li img{width:262px;}

/* ------------------------------------- section ------------------------------------- */


/* top_btn */
.topbtn{
    position: fixed;
    bottom:60px;
    right:60px;
    z-index:9999999999999;
    width:50px;
    height:50px;
    border-radius: 40px;
    background-color:  #00389a;
    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 */

