/* 유튜브  */
.youtube-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.youtube-layer .popup {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.youtube-layer .popup .close-btn {
    position: absolute;
    top: -30px;
    right: -30px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}
/* 유튜브 마감 */

/* animation */
@media(min-width:992px) {
    .wiz_animation,
    .wiz_swiper {
        opacity: 0 !important;
    }

    .wiz_active {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }
}
@media(max-width:991px) {
    .wiz_animation,
    .wiz_swiper {
        transform: translateX(0) !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

}
/* animation end */
.scale {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1); 
    transition: all 0.3s ease-in-out;
    /* 부드러운 모션을 위해 추가*/
}

.scale:hover {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
}
/* bottton */
.btns{
  background: none;
  border: 1px solid #ddd;
  padding: 12px 20px;
  min-width: 200px;
  cursor: pointer;
  transition: color 0.4s linear;
  position: relative;
}

.btns:hover{
  color: #fff
}

.btns::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: -1;
  transition: transform 0.4s;
  transform-origin: 0 0;
  /* transition-timing-function: cubic-bezier(0.5,1.6,0.4,0.7); */

}

.btns1::before{
  transform: scaleX(0);
}
.btns2::before{
  transform: scaleY(0);
}

.btns1:hover::before{
  transform: scaleX(1);
}

.btns2:hover::before{
  transform: scaleY(1);
}



/* 구글 번역 상단 배너 숨기기 및 여백 제거 */
.goog-te-banner-frame, 
.skiptranslate {display: none !important;}
body {top: 0px !important;}

/* 현재 선택된 언어 표시 스타일 */
.present-lang { position:absolute; color: #fff;font-size: 12px;padding:3px 0 0;}

.translated-ltr .main-menu > li { width: 160px;}
.translated-ltr body { font-family: Arial, sans-serif;}
.translated-ltr #nav__center .flex .wrap.depth2 {min-width: 320px;}
.translated-ltr #sub-visual .title h1 { max-width:1024px; } 
.translated-ltr #index-wrap .about dl dd { max-width:800px; }
.translated-ltr #index-wrap .about dl dd br { display:none; }

.translated-ltr .present-lang { color: #fff; }
.translated-ltr .process-circle span { font-size:20px; }
.translated-ltr .section-title br { display:none; }
.translated-ltr .compare-box li { font-size:16px; }
.translated-ltr font:empty,
.translated-ltr font:blank {display: none !important;}
.translated-ltr font:empty + br {display: none !important;}

.translated-ltr p > br:first-child,
.translated-ltr .desc > br:first-child,
.translated-ltr h1 > br:first-child,
.translated-ltr h2 > br:first-child,
.translated-ltr h3 > br:first-child,
.translated-ltr .text-box > br:first-child {display: none !important;}
.translated-ltr font:empty {display: none !important;}

.translated-ltr h1.h1_01 br { display:none; }
.translated-ltr #sub-content .company02 section.section02 .left { padding-right:50px; }
.translated-ltr .description { white-space:wrap; padding:0 25px; word-break:keep-all; }

.translated-ltr #wiz_slider01 .spec .btn_wrap .wiz_btn { width:280px; }

@media (max-width:410px){
	#main-visual .text-wrap h3 { line-height:1.4 !important; word-break:keep-all !important;}
	#index-wrap .biz .text dl dt, #index-wrap .product .text dl dt,
   	#index-wrap .about dl dd { word-break:keep-all !important; }

	#main-visual .text-wrap h3 br,
	#index-wrap .about dl dd br,
	#index-wrap .biz .text dl dd br, 
	#index-wrap .product .text dl dd br { display:none;}  

	footer address ul.info li { display:block !important; padding: 0 0 !important;}
	footer address ul.info { display:block !important; margin-top:15px; }

	.translated-ltr #sub-content .company02 section.section02 .left { padding-right:0; }
}


/* 영문 진입 시 번역 완료 전까지 화면 전체 숨김 (깜빡임 차단) */
html.lang-en body {
    visibility: hidden !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease-in-out;
}

/* 번역 및 청소 완료 후 부드럽게 화면 표시 */
html.lang-en.translated-ready body {
    visibility: visible !important;
    opacity: 1 !important;
}

/* 구글 번역 로딩 스피너 및 레이어를 눈에만 안 보이게 숨김 (스크립트 동작 보장) */
[class*="VIpgJd-ZVi9od-aZ2wEe"],
[class*="goog-te-spinner"],
.goog-te-spinner-pos {
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* 언어 상태 판별 전까지 KOR 텍스트 노출 방지 (숨김) */
.present-lang {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}

/* 언어 판별 완료 시 부드럽게 표시 */
.present-lang.ready {
    opacity: 0 !important;
    visibility: visible !important;
}