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

header:hover{background-color: #fff; transition: all .3s ease-in-out;}
header:hover .logo h1{background: url(../img/logo_r.png) 50% 50% no-repeat; background-size:261px; 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: #e2100f;
  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;
    padding-right:275px;
    gap:45px;
}
.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:#fff;
    font-size:18px;
    font-weight: 400;
    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: #e2100f;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}

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


.sub_menu{
  font-size:0;
  display:none;
  position: absolute;
  z-index:99;
}
.sub_menu li{transition: all .2s ease-in-out; text-align: left;}
.sub_menu a{
  font-size:16px;
  font-weight: 400;
  color: #464243 !important;
  line-height: 36px;
  display: inline-block;
  position: relative;
  text-align: left;
  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: #e2100f;
  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::before{
  content: '';
  position: absolute;
  bottom:0;
  left:0;
  width:0;
  height:1px;
  background-color: #e2100f;
  transition: all .5s ease-in-out;
}
.sub_menu a:hover{color: #e2100f !important;}
.sub_menu a:hover::before{width:100%;}

.consulting{
  position: absolute;
  top:30px;
  right:0;
  z-index: 9999;
}
.consulting a{
  display:inline-block;
  font-size:18px;
  color: #fff !important;
  height:40px;
  line-height: 40px;
  border-radius: 20px;
  text-align: center;
  transition: all .3s ease-in-out;
  position: relative;
  padding:0px 20px;
  font-weight: 200;
  background-color: #e2100f;
  overflow: hidden;
  z-index: 0;
}
.consulting a::before{
  content: '';
  position: absolute;
  top:0;
  left:0;
  width:0;
  height:100%;
  background-color: #333;
  transition: all .3s ease-in-out;
  z-index: -1;
}
.consulting a:hover::before{width:100%;}

/* 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: #bf0b2c;}

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:892px;
    min-width:1300px;
}
.visual .typo_wrap{
  width:1300px;
  height:100%;
  margin:0 auto;
  position: absolute;
  z-index: 99;
}
.typo{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    left:0;
    width:100%;
    z-index: 99;
    text-align: left;
}

.typo span{
    display:block;
    transition:all 1s ease-in-out;
    color:#fff;
    text-align: center;
}
.typo span:first-child{
    font-size:72px;
    transition-delay:0s;
    font-weight: 800;
    font-family: 'S-CoreDream-3Light';
}
.typo span:nth-child(2){
    font-size:72px;
    transition-delay:0.5s;
    font-weight: 800;
    font-family: 'S-CoreDream-3Light';
}
.typo span:last-child{
    font-size:24px;
    transition-delay:1s;
    margin-top:140px;
    color:#ccc;
    font-family: 'S-CoreDream-3Light';
}
.typo span strong{color:#fff;}
.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-slide.swiper-slide-active .typo > span.up{opacity:1; transform:translate(0,0);} */

.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;}

.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;

  /* 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 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: #bf0b2c;
}
.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 */

/*****************  버튼 공통 *****************/
.button_wrap{
  margin:30px 0;
  text-align: center;
}
.button_text{
  width:220px;
  height:50px;
  line-height: 50px;
  border-radius: 5px;
  border:1px solid #000;
  text-transform: uppercase;
  font-size:18px;
  font-weight: 500;
  cursor: pointer;
  z-index: 1;
  position: relative;
  overflow: hidden;
  transition: all .6s;
  background-color:transparent;
}
.button_text:before,
.button_text:after{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: #bf0b2c; /* onhover background color */
  z-index: -1;
  transition: all .6s;
}
.button_text{transform-style: preserve-3d;}
.button_text:before,
.button_text:after{transform-origin: center center; transform: scale(1,0);}
.button_text:hover:before,
.button_text:hover:after{transform: scale(1); border-radius: 0;}
.button_text:hover{transition:all 1s ease; color:#fff;}
.button_text span{transition:all 1s ease; transform: rotate(90deg); display:inline-block; font-size:18px;}
.button_text:hover span{transition:all 1s ease; transform: rotate(-90deg); color:#fff;}
/*****************  버튼 공통 *****************/

/* 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 공통 */

/* ------------------------------------- section ------------------------------------- */
/* section1 */
.main_product{margin-top:120px;}
.main_product > .inner > span{
  display: block;
  font-size:24px;
  color:#000;
  text-align: left;
  opacity: .8;
  position: relative;
}
.main_product > .inner > span::after{
  content: '';
  position: absolute;
  bottom:6px;
  left:170px;
  width:100px;
  height:1px;
  background-color: #000;
  opacity: .8;
}
.main_product h2{
  font-size:48px;
  color:#000;
  text-align: left;
  line-height:60px;
  letter-spacing: -2px;
  padding:60px 0;
}

.main_product_img ul{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main_product_img ul li a{
  display: block;
  position: relative;
  background-color: #000;
  overflow: hidden;
}
.main_product_img ul li a img{transition: all .3s ease-in-out;}
.main_product_tit{
  position: absolute;
  bottom:30px;
  left:50%;
  transform: translateX(-50%);
  z-index: 99;
  width:100%;
}
.main_product_tit p{
  font-size:24px;
  color:#fff;
  text-align: center;
}
.main_product_img ul li a:hover img{transform: scale(1.1); opacity: .8;}
/* section1 */

/* section2 */
.main_gallery{
  margin-top:120px;
  padding:120px 0;
  background-color: #f2f1f1;
}
.main_gallery h2{
  font-size:48px;
  color:#000;
  text-align: center;
}
.main_gallery .inner > p{
  font-size:18px;
  color:#333;
  text-align: center;
}
.main_gallery .gallery_box{margin-top:30px;}
.main_gallery .gallery_box .board ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap:20px;
}
.main_gallery .gallery_box .board ul li{width:23.8%;}
.main_gallery .gallery_box .board ul li a{display: block;}
.main_gallery .gallery_box .board ul li .img{position: relative; padding-top:56.25%; overflow: hidden; background-color: #000;}
.main_gallery .gallery_box .board ul li .img img{
  position: absolute;
  top:0;
  left:0;
  transition: all .3s ease-in-out;
  object-fit: cover;
  width:100%;
  height:100%;
}
.main_gallery .gallery_box .board ul li .tit p{
  font-size:16px;
  color:#333;
  text-align: center;
  padding:10px 0;
  transition: all .3s ease-in-out;
  font-weight: 600;
}

.main_gallery .gallery_box .board ul li a:hover .img img{transform: scale(1.1); opacity: .6;}
.main_gallery .gallery_box .board ul li a:hover .tit p{color:#e2100f}
/* section2 */

/* section3 */
/* section3 */
/* section4 */
/* section4 */
/* section5 */
/* section5 */
/* footer */
.footer{
  padding:30px 0;
  background-color: #333;
}
.footer ul{
  display: flex;
  flex-wrap: nowrap;
  align-items: top;
  justify-content: start;
  gap:60px;
}
.footer ul li p{
  font-size:14px;
  color:#ccc;
  text-align: left;
  line-height:28px
}
.footer ul li span{
  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:  #e2100f;
    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 */

/* 마우스 커서*/
/* .cursor{
  position: absolute;
  left:0;
  top:0;
  width:20px;
  height:20px;
  border-radius: 50%;
  background-color: #eca341;
  display: none;
  z-index: -1;
}

.cursor .cursor_wrap{
  position: relative;
  width:20px;
  height:20px;
}
.cursor span{
  position: absolute;
  display: block;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  width:15px;
  height:15px;
  border-radius: 50%;
  background-color: #6e985e;
  z-index: -1;
} */
