@import url('sub2.css');
/* 공통 */
.section_cont {margin-top:45px}

.section_tit_wrap {position:relative;}
.swiper_btn_wrap {display:flex; position:absolute; top:0; left:0; width:100%; height:100%; align-items:center; justify-content:space-between}


/* Greeting */
#greeting {}
#greeting .section_cont {display:flex; gap:70px; align-items:center; margin-top:0;}
#greeting .section_cont .imgbox {width:46%; max-width:725px; flex-shrink:0}
#greeting .section_cont .imgbox img {width:100%}
#greeting .section_cont .imgbox img.img_m {display:none}

#greeting .section_cont .tbox .greeting_tit { font-size: 2.889rem;line-height: 123.077%; font-family:var(--eng);}
#greeting .section_cont .tbox .ceo {padding-top:45px; display:flex; gap:5px; flex-wrap:wrap}

/* 연혁 */
#history {background:url('/company/img/history_bg.png') center / cover no-repeat; overflow:hidden;}

#history .history_con {overflow:visible; position:relative;}
#history .history_con .swiper {overflow:visible}

#history .year {color: var(--white); font-size: 2.222rem; font-weight: 700; line-height: 130%; margin-bottom:100px; position:relative; transition:all 0.3s linear}
#history .year .dot {display:inline-block; width:9px; height:9px; background:var(--white); border-radius:50%; box-sizing:border-box; position: absolute; left:15px; top:97px; z-index:2; transition:all 0.3s ease}
#history .year .dot::after {position:absolute; top:0; left:0; width:9px; height:9px; content:""; background:var(--white); border-radius:50%; animation: dots 1.5s ease-in-out infinite; transition:all 0.3s ease}
#history dl {display:flex; align-items:flex-start; gap:5px}
#history dl + dl {margin-top:8px}
#history dl dt {color:var(--white); font-weight:600; width:25px; flex-shrink:0}
#history dl dd {color:var(--white); opacity:0.7; text-wrap:balance}

#history li {position:relative; padding-right:10px; transition:all 0.3s linear;}
#history li::after {width:calc(100% + 50px); height:3px; content:""; position:absolute; top:100px; left:0; background:var(--main); border-radius:9999px; transition:all 0.3s linear; opacity:0; transform:scaleX(0); transform-origin:left}
#history li.active::after {transform:scaleX(1) !important; opacity:1}
#history li.active:nth-last-child(1)::after {transform:scaleX(3) !important;}

#history li:nth-child(4n + 5) {opacity:0.5}
#history li.active {opacity:1}


#history .bar {width:100%; height:1px; background:rgb(222 227 232 / 20%); position:absolute; top:100px; left:calc((100% - 1590px) / 2)}
#history li.active .year {color:var(--main);}
#history li.active .year .dot{background:var(--main)}
#history li.active .year .dot::after {background:var(--main)}

@keyframes dots {
	0% {
			opacity: 0.5;
			transform: scale(1)
	}

	100% {
			opacity: 0;
			transform: scale(5)
	}
}

/* 주요 행사 및 활동 */
#event li {display:flex; flex-direction:column; height:auto}
#event .imgbox {border-radius:10px 10px 0 0; overflow:hidden;}
#event .imgbox img {width:100%; aspect-ratio:375 / 280; object-fit:cover;}

#event .tbox {padding:35px; border-radius:0 0 10px 10px; background:rgba(255,255,255,0.1); flex:1}
#event .tbox .cat {font-size:13px; line-height:1; letter-spacing:0.26px; color:var(--sub2);}
#event .tbox .subject {margin-top:10px; }


/* 기술 인증 및 특허 */
#certi {position:relative;}
#certi::before {content:""; position:absolute; top:0; left:0; width:100%; height:100%; opacity: 0.2; background: linear-gradient(0deg, #3C46BE 0%, rgba(60, 70, 190, 0.00) 100%);}


/*******************************************************************************
    @media 1710px
*******************************************************************************/
@media all and (max-width:1770px){
/* 연혁 */
#history dl dd br {display:none}
#history .bar {left:5%}
}



/*******************************************************************************
    @media 1500px
*******************************************************************************/
@media all and (max-width:1500px){
/* Greeting */
#greeting .section_cont .tbox br {display:none}
#greeting .section_cont .tbox p {text-wrap:balance}

#history li:nth-child(4n + 5) {opacity:1}
#history li:nth-child(3n + 4) {opacity:0.5}
#history li.active {opacity:1}


}
/*******************************************************************************
    @media 1300px
*******************************************************************************/
@media all and (max-width:1300px){
/* Greeting */
#greeting .section_cont {gap:40px; align-items:flex-start;}
#greeting .section_cont .imgbox {width:42%}

#greeting .section_cont .tbox .greeting_tit {font-size:2.5rem}

/* 주요 행사 및 활동 */
#event .tbox {padding:25px}

/* 연혁 */
#history li {padding-right:10px}

}
/*******************************************************************************
    @media  ~980px               
*******************************************************************************/
@media all and (max-width:980px){
.section_cont {margin-top:25px}

/* Greeting */
#greeting .section_cont .tbox .greeting_tit {font-size:2rem;}
#greeting .section_cont .tbox p {text-wrap:auto}

#greeting .section_cont .imgbox img:not(.img_m) {display:none}
#greeting .section_cont .imgbox img.img_m {display:block}

#greeting .section_cont .tbox .ceo {padding-top:30px}

/* 연혁 */
#history .year {margin-bottom:60px}
#history .year .dot {top:67px}
#history .bar {top:70px; width:100%;}
#history .bar .active_bar {width:0}
#history dl + dl {margin-top:3px}
#history dl dt {width:22px}
#history li::after {top:69px; width:calc(100% + 35px)}

#history li:nth-child(4n + 5) {opacity:1}
#history li:nth-child(3n + 4) {opacity:1}
#history li:nth-child(2n + 3) {opacity:0.5}
#history li.active {opacity:1}

/* 주요행사 및 활동 */
#event .imgbox {border-radius:5px 5px 0 0}
#event .tbox {padding:18px; border-radius:0 0 5px 5px}


}

/*******************************************************************************
    @media 768px
*******************************************************************************/
@media all and (max-width:768px){
#greeting .section_cont {flex-direction:column-reverse}
#greeting .section_cont .imgbox {width:80%; margin:0 auto 30px}
}

/*******************************************************************************
    @media 481~680px
*******************************************************************************/
@media all and (max-width:680px){
/* Greeting */
#greeting .section_cont .tbox .greeting_tit {font-size:1.667rem}
#greeting .section_cont .tbox .ceo {padding-top:20px}

/* 연혁 */
#history .year {font-size:1.8rem; margin-bottom:40px}
#history dl {gap:0}
#history .year .dot {top:51px}
#history .bar {top:55px}
#history li::after {top:54px; width:110% !important}

#history li:nth-child(4n + 5) {opacity:1}
#history li:nth-child(3n + 4) {opacity:1}
#history li:nth-child(2n + 3) {opacity:1}
#history li {opacity:0.5 !important}
#history li.active {opacity:1 !important}

/* 주요행사 및 활동 */
#event .fs58.center{padding:0 40px;}
#event .tbox {padding:15px;}
#event .tbox .subject {margin-top:3px}


}
/*******************************************************************************
    @media ~480px             
*******************************************************************************/
@media all and (max-width:480px){

}
/*******************************************************************************
    @media ~360px
*******************************************************************************/
@media all and (max-width:360px){

}

