/* header start */
header{
    position: fixed;
    width:100%;
    height:100px;
    min-width:1400px;
    z-index: 9999;
    top:0;
    left:0;
    transition: all .3s ease-in-out;
}
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:247px;
    height:30px;
    top:35px;
    left:0;
    transition:all .3s ease-in-out;
    background: url(../img/logo_w.png) 50% 50% no-repeat;
    background-size: 247px;
    z-index: 9999;
}
header .logo h1.on{
    background: url(../img/logo.png) 50% 50% no-repeat;
    background-size: 247px;
}
header .logo h1 a{
    display: block;
    width:247px;
    height:30px;
}

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:247px; 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: #e5322c;
    position: absolute;
    left: 0;
    bottom: 0;
}
nav{
    width:100%;
    max-width:1400px;
    min-width:1400px;
    margin:0 auto;
    z-index: 999;
    position: relative;
}
.gnb{
    display: flex;
    align-items: center;
    justify-content: end;
    gap:80px;
}
.gnb > li{text-align: center;}
.gnb > li > .gnb_wrap > a{
    color:#fff;
    font-size:20px;
    font-weight: 600;
    height:100px;
    line-height: 100px;
    position: relative;
}
.gnb > li > .gnb_wrap > a.on{color:#333;}
.gnb > li > .gnb_wrap > a::after{content:'';
    display:block;
    width:0;
    height:2px;
    position: absolute;
    bottom:-10px;
    left:50%;
    background-color: #e5322c;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}

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

.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:230px;
    background-color: #fff;
    border-bottom:3px solid #e5322c;
    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: #e5322c;
    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: #e5322c;}

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 */
@keyframes slideProgress {to{width: 100%;}}
@keyframes mainScroll {to{left: 100%;}}
.visual{position:relative;}
.visual .visual_slide{height: 100vh;min-height: 700px;position:relative;max-height: 1080px;}
.visual .visual_slide .textbox{position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index:10;display: flex;justify-content: center;flex-direction: column;align-items:flex-start;color: white;/*padding-left: calc(50% - 600px);*/text-align: center;pointer-events: none;}
.visual .visual_slide .textbox .holding{margin-bottom: 30px;font-size: 0;width: 100%;height: 80px;position:relative;}
.visual .visual_slide .textbox .holding .change{font-size: 80px;font-weight: 700;letter-spacing: 0;width: 100%;opacity:0;transition: 1000ms ease-in-out;transition-property: visibility, opacity, filter; position:absolute;top: 0;left: 0;visibility: hidden;filter: blur(50px);}
.visual .visual_slide .textbox .holding .change.on{opacity:1;visibility: visible;filter: blur(0);}
.visual .visual_slide .textbox .slogan{
    font-size: 20px;
    line-height:40px;
    width: 100%;
    margin-top:30px;
}
/* .visual .visual_slide .textbox .slogan br{display: none;} */

.visual .visual_slide .slide_paging{bottom: 70px;position: absolute;left: 50%;transform: translateX(-50%);display: flex;z-index:10;}
.visual .visual_slide .slide_paging button{background-color: transparent; border:none; cursor: pointer;}
.visual .visual_slide .slide_paging li{position: relative;width: 180px;}
.visual .visual_slide .slide_paging li + li{margin-left: 40px;}

.visual .visual_slide .slide_paging .btn_name{font-size:18px; color:#ccc;}
.visual .visual_slide .slide_paging .btn_gage{
    display:inline-block;
    width:100%;
    height:2px;
    background-color:#ccc;
    position:relative;
    overflow:hidden;
}
.visual .visual_slide .slide_paging .btn_gage .btn_bar{
    display:block;
    /* 항상 100% 폭으로 깔아두고, 보이기/진행은 transform+opacity로 */
    width:100%;
    height:2px;
    background:#fff;
    opacity:0;                     /* 기본 안 보임 */
    transform:scaleX(0);           /* 기본 0% */
    transform-origin:left;
    transition:
        transform var(--gagedur, 3000ms) linear,
        opacity 180ms ease;          /* 비활성 시 즉시 꺼지는 느낌 */
}
.visual .visual_slide .slide_paging .btn_name.on{color:#fff;}
.visual .visual_slide .slide_paging .btn_gage .btn_bar.on{
  opacity:1;                     /* 보이기 */
  transform:scaleX(1);           /* 0 → 100% (진행) */
}

.visual .visual_slide .slide_item{overflow: hidden;}
.visual .visual_slide .slide_item .slide_bg{position: absolute;top: 0;left: 0;width: 100%;height: 100%;}
.visual .visual_slide .slide_item .slide_bg:after{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.4);
}
.visual .visual_slide .slide_item img{width: 100%;height: 100%;object-fit: cover;object-position: center bottom;}
.visual .visual_slide .slide_item video{width: 100%;height: 100%;object-fit: cover;object-position: center;}
.visual .scrolling{position: absolute;bottom: 0;right: 100px;z-index:10;color: white;transform-origin: right bottom;transform: rotate(90deg);line-height: 1;display: flex;align-items: center;font-size: 14px;}
.visual .scrolling .gage{width: 80px;height: 2px;position:relative;background-color: rgba(255, 255, 255, 0.7);margin-left: 10px;overflow: hidden;}
.visual .scrolling .gage .gage_bar{position: absolute;top: 0;left: -50%;width: 50%;height: 100%;background-color: white;animation:mainScroll 1s infinite linear;}
/* 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);}
}
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 ------------------------------------- */
/* sec1 */
.sec1{padding:120px 0; text-align: center; overflow: hidden;}
.sec1 .brand_slogan{font-size:42px;font-weight:700;margin-bottom:24px;}
.sec1 .brand_text{font-size:24px;line-height:34px;margin-bottom:50px;}

.sec1 .mask_text{
    width:1400px;
    margin:0 auto;
    height:250px;
    position:relative;
    font-size:0;
    overflow:hidden;
    border-radius:20px;
}
.sec1 .mask_text .zoom_circle{
    position:absolute;
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
}

/* 각 탭별 배경소스 */
.sec1 .mask_text.type1 .zoom_circle{background-image:url(../img/section1/img1.jpg);}
.sec1 .mask_text.type2 .zoom_circle{background-image:url(../img/section1/img2.jpg);}
.sec1 .mask_text.type3 .zoom_circle{background-image:url(../img/section1/img3.jpg);}

/* 텍스트 마스크 (옵션) */
.sec1 .mask_text:before{
    content:"Geome Biotics";
    display:block;
    position:absolute;
    top:50%;
    transform: translateY(-50%);
    width:100%;
    height:auto;
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    white-space:nowrap;
    -webkit-text-fill-color:transparent; /* 보조 */
    font-size:180px;
    font-weight:900;
}
.sec1 .mask_text.type1:before{background-image:url(../img/section1/img1.jpg);}
.sec1 .mask_text.type2:before{background-image:url(../img/section1/img2.jpg);}
.sec1 .mask_text.type3:before{background-image:url(../img/section1/img3.jpg);}

/* 확대 원 애니메이션: 기본은 닫힘 */
.sec1 .mask_text .zoom_circle{
    background-size:1400px;width:100%;height:100%;top:0;left:0;
    clip-path:circle(0%); -webkit-clip-path:circle(0%);
}

/* 열릴 때 (부모 .on + 자식 .on 둘 다 필요) */
.sec1 .mask_text.on .zoom_circle.on{
    clip-path:circle(100%); -webkit-clip-path:circle(100%);
    transition:clip-path 1s 800ms ease-out, -webkit-clip-path 1s 800ms ease-out;
}

/* 탭/텍스트/링크 */
.sec1 .tab_box{font-size:0;margin:50px 0;}
.sec1 .tab_box .brand_tab{
    width:180px;
    height:60px;
    box-sizing:border-box;
    border:1px solid #181818;
    font-size:24px;
    font-weight:700;
    background-color:transparent;
    border-radius:30px;
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.sec1 .tab_box .brand_tab:hover{background-color:#181818; color:#fff;}
.sec1 .tab_box .brand_tab + .brand_tab{margin-left:20px;}
.sec1 .tab_box .brand_tab.active{
    background-color:#181818;
    color:#fff;
    transition:background-color .25s ease-in-out, color .25s ease-in-out;
}

.sec1 .matchbox{margin-bottom:40px;}
.sec1 .matchtext{display:none;font-size:18px;line-height:26px;}
.sec1 .matchtext.active{display:block;}

.sec1 .linkbox a{
    font-size:24px;
    color:#181818;
    font-weight:600;
    transition: all .3s ease-in-out;
    position:relative;
}
.sec1 .linkbox a:after{
    content:"";
    position: absolute;
    top:52%;
    transform: translateY(-50%);
    right:-30px;
    background: url(../img/section1/arrow.png) no-repeat;
    background-size: cover;
    width:20px;
    height:20px;
    transition: all .3s ease-in-out;
}
.sec1 .linkbox a:hover{color:#e5322c}
.sec1 .linkbox a:hover::after{
    right:-40px;
    background: url(../img/section1/arrow_h.png) no-repeat;
    background-size: cover;
    width:20px;
    height:20px;
}
/* sec1 */



/* sec2 */
.sec2{overflow: hidden;}
.sec2 .banner a{
    display: block;
    position: relative;
    width:100%;
    height:500px;
    overflow: hidden;
}
.sec2 .banner a .img{
    background-color: #000;
    transition: all .3s ease-in-out;
}
.sec2 .banner a .img img{
    transition: all 1s ease-in-out;
    width:100%;
    height:500px;
    object-fit: cover;
}
.sec2 .banner a .tit{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width:100%;
    z-index: 99;
}
.sec2 .banner a .tit h3{
    font-size:32px;
    color:#fff;
    text-align: center;
    margin-bottom:30px;
}
.sec2 .banner a .tit p{
    font-size:18px;
    color:#fff;
    border:1px solid #ccc;
    width:150px;
    padding:10px 0;
    text-align: center;
    margin:0 auto;
    transition: all .3s ease-in-out;
    position: relative;
    z-index: 0;
}
.sec2 .banner a .tit p::before{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:0;
    height:100%;
    background-color: #e5322c;
    transition: all .3s ease-in-out;
    z-index: -1;
}
.sec2 .banner a:hover .img img{transform: scale(1.1); opacity: .8;}
.sec2 .banner a:hover .tit p{border:1px solid #e5322c}
.sec2 .banner a:hover .tit p::before{width:100%;}
/* sec2 */




/* sec3 */
.sec3{padding:120px 0; overflow: hidden;}
.sec3 .title{position: relative;}
.sec3 .title h2{
    font-size:42px;
    color:#333;
    text-align: left;
}
.sec3 .title .line{
    position: absolute;
    top:50%;
    transform: translate(50%, -50%);
    right:0;
    width:80%;
    height:1px;
    background-color: #e5322c;
    opacity: 0;
    transition: all 1s ease-out;
}
.sec3 .title .line.active{
    opacity: 1;
    transform: translateX(0%);
}


.sec3 ul{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap:40px;
    margin-top:20px;
}
.sec3 ul li{width:50%;}
.sec3 ul li .tit p{
    font-size:18px;
    color:#333;
    text-align: left;
    line-height:32px;
    padding:10px 0 10px 20px;
    position: relative;
    letter-spacing: -.5px;
}
.sec3 ul li .tit p::before{
    content: '';
    position: absolute;
    top:20px;
    left:0;
    width:8px;
    height:8px;
    border-radius: 50%;
    background-color: #333;
}
.sec3 ul li img{border-radius: 30px 0 30px 0;}







.sec3 ul li .video{
    position: relative;
    width:100%;
    height:0;
    padding-top: 56.25%;
    overflow: hidden;
}
.sec3 ul li .video iframe{
    position: absolute;
    top:-60px;
    left:0;
    width:100%;
    height:calc(100% + 120px);
    pointer-events: none;
}
/* sec3 */




/* sec4 */
.sec4{overflow: hidden;}
.sec4 .banner a{
    display: block;
    position: relative;
    width:100%;
    height:500px;
    overflow: hidden;
}
.sec4 .banner a .img{
    background-color: #000;
    transition: all .3s ease-in-out;
}
.sec4 .banner a .img img{
    transition: all 1s ease-in-out;
    width:100%;
    height:500px;
    object-fit: cover;
}
.sec4 .banner a .tit{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width:100%;
    z-index: 99;
}
.sec4 .banner a .tit h3{
    font-size:32px;
    color:#fff;
    text-align: center;
    margin-bottom:30px;
}
.sec4 .banner a .tit p{
    font-size:18px;
    color:#fff;
    border:1px solid #ccc;
    width:150px;
    padding:10px 0;
    text-align: center;
    margin:0 auto;
    transition: all .3s ease-in-out;
    position: relative;
    z-index: 0;
}
.sec4 .banner a .tit p::before{
    content: '';
    position: absolute;
    top:0;
    left:0;
    width:0;
    height:100%;
    background-color: #e5322c;
    transition: all .3s ease-in-out;
    z-index: -1;
}
.sec4 .banner a:hover .img img{transform: scale(1.1); opacity: .8;}
.sec4 .banner a:hover .tit p{border:1px solid #e5322c}
.sec4 .banner a:hover .tit p::before{width:100%;}
/* sec4 */




/* footer */
.footer{background-color: #0D0D0D;}
.footer .top_info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:20px 0;
    border-bottom:1px solid #ccc;
}
.footer .top_info .right{
    display: flex;
}
.footer .top_info a{
    display: block;
    font-size:14px;
    color:#fff;
    text-align: left;
    margin-right:30px;
    transition: all .3s ease-in-out;
}
.footer .top_info a img{width:245px; margin-right:120px;}

.footer .top_info a:hover{color:red;}
.footer .bottom_info{padding:30px 0;}
.footer .bottom_info p{
    font-size:13px;
    color:#fff;
    text-align: left;
    line-height: 26px;
}
.footer .bottom_info span{
    display: block;
    font-size:13px;
    margin-top:10px;
    color:#ccc;
    text-align: left
}
/* footer */
/* ------------------------------------- section ------------------------------------- */


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