



 /* new css */


.mr{margin-right:20px;}



 /* new css */



.wx_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.wx_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #000;
  padding: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.wx_header img {
  display: block;
  margin: 0 auto; /* ✅ 수평 가운데 정렬 */
}

.wx_portfolio input[type="file"] {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
}

.wx_portfolio input[type="file"]::file-selector-button {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}


.wx_logo {
    flex: 1 1 70%;
    max-width: 70%;
}

.wx_event-info {
    flex: 1 1 50%;
    max-width: 50%;
}

.wx_event-info h1 {
  font-size: 28px;
  margin: 10px 0;
}

.wx_event-info p {
  margin: 4px 0;
}

.wx_event-info .wx_desc {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
}

.wx_download {
  background-color: #000 !important;
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  margin-top: 10px;
}

.wx_application-form h2 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.wx_application-form h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #000;
}


.wx_application-form label,
.wx_fieldset {
  display: block;
  margin-bottom: 15px;
}


.wx_application-form input[type="text"],
.wx_application-form input[type="tel"],
.wx_application-form input[type="email"]{
  width: 100%;
  padding: 15px 15px 15px 0px;
  margin-top: 5px;
  border: none;
  border-bottom: 1px solid #000;
  border-radius: 0;
}


.wx_application-form textarea{
  width: 100%;
  padding: 15px;
  margin-top: 5px;
  border: 1px solid #000;
}



.wx_application-form textarea {
  min-height: 100px;
}

.wx_fieldset {
  border: none;
  padding: 0;
}

.wx_fieldset legend {
  font-weight: bold;
  margin-bottom: 10px;
}

/* Field 영역 가로 나열 */
.wx_field-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wx_field-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  margin-right: 15px;
}

.wx_portfolio input[type="file"] {
  margin-top: 10px;margin-bottom: 50px;
}

.wx_privacy textarea {
  margin-top: 10px;
}

.wx_submit {
  display: block;
  background-color: #fff !important;
  color: #222 !important;
  padding: 15px 50px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
}

.wx_btn {text-align: -webkit-center;}

.wx_red {color:red;}


/* 반응형 디자인 */
@media (max-width: 1024px) {
  .wx_container {
    padding: 15px;
  }
  .wx_header {
    flex-direction: column;
    align-items: flex-start;
  }
  .wx_event-info {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {

    .wx_logo,
    .wx_event-info {
      max-width: 100%;
      flex: 1 1 100%;
    }

  .wx_event-info h1 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .wx_download, .wx_submit {
    width: 100%;
  }
  .wx_logo {
    width: 120px;
  }
}


  .file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
  }

  .file-input-button {
    border: 1px solid #ccc;
    color: white;
    background-color: #222;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
  }

  .file-input {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
  }


.wx_label {font-weight: 700 !important;color: #000;}
.wx_label input {font: -webkit-small-control;}



/****큐브****/

.mainbox {
  perspective: 1000px;
  width: 200px;
  height: 200px;
  text-align: center;
  display: inline-block;
  margin-top: 150px;
}

.cont {
  text-align: center;
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(-15deg) rotateY(15deg);
  animation: rotateCube 5s infinite linear;
}

.cube {
  position: absolute;
  border: 5px solid #000;
  background: #FFF;
  background-size: auto 100%;
}

.cube-front {
  width: 200px;
  height: 200px;
  transform: translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-back {
  width: 200px;
  height: 200px;
  transform: rotateY(180deg) translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-top {
  width: 200px;
  height: 200px;
  transform: rotateX(90deg) translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-bottom {
  width: 200px;
  height: 200px;
  transform: rotateX(-90deg) translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-left {
  width: 200px;
  height: 200px;
  left: 50%;
  margin-left: -100px;
  transform: rotateY(-90deg) translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-right {
  width: 200px;
  height: 200px;
  left: 50%;
  margin-left: -100px;
  transform: rotateY(90deg) translate3d(0, 0, 100px);
  background-color: #fff;
}




@keyframes rotateCube {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  100% {
    transform: rotateY(-360deg) rotateX(-360deg);
  }
}

/* 큐브 반응형 디자인 */
@media (max-width: 1024px) {


}

@media (max-width: 768px) {

.cube {
  position: absolute;
  border: 5px solid #000;
  background: #FFF;
  background-size: auto 100%;
}

.cube-front {
  width: 200px;
  height: 200px;
  transform: translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-back {
  width: 200px;
  height: 200px;
  transform: rotateY(180deg) translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-top {
  width: 200px;
  height: 200px;
  transform: rotateX(90deg) translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-bottom {
  width: 200px;
  height: 200px;
  transform: rotateX(-90deg) translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-left {
  width: 200px;
  height: 200px;
  left: 50%;
  margin-left: -100px;
  transform: rotateY(-90deg) translate3d(0, 0, 100px);
  background-color: #fff;
}

.cube-right {
  width: 200px;
  height: 200px;
  left: 50%;
  margin-left: -100px;
  transform: rotateY(90deg) translate3d(0, 0, 100px);
  background-color: #fff;
}



@keyframes rotateCube {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }
  100% {
    transform: rotateY(-360deg) rotateX(-360deg);
  }
}


}

@media (max-width: 480px) {


}

/****main overseas event****/



/* 전체 컨테이너 */
.wx_service_box {
  width: 100vw;
  overflow-x: auto;
  box-sizing: border-box;
  padding-bottom: 20px;
}

/* 슬라이드 래퍼 */
.wx_swiper_wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: auto; /* 기본은 부드러움 없음 */
  cursor: grab;

  padding-left: calc((100vw - 1280px) / 2); /* 중앙 기준 */
  padding-right: 20px;

  -ms-overflow-style: none; /* IE용 스크롤 숨김 */
  scrollbar-width: none; /* Firefox용 스크롤 숨김 */
}

.wx_swiper_wrapper, 
.wx_swiper_wrapper * {
  user-select: none; /* ✨ 드래그 중 텍스트/이미지 선택 완전 방지 */
}

.wx_swiper_wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari 스크롤 숨김 */
}

.wx_swiper_wrapper:active {
  cursor: grabbing;
}

/* 슬라이드 아이템 */
.wx_service_item {
  flex: 0 0 auto;
  width: 450px;
  box-sizing: border-box;
}

/* 이벤트 박스 스타일 */
.wx_overseas_box {
  position: relative; /* 자식 요소 절대 위치 기준 설정 */
  background: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  position: relative;
  box-sizing: border-box;
  height: 250px;
  text-align: center;
}

/* 이미지 박스 */
.wx_event_img {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wx_event_img img {
  width: 80%;
  object-fit: cover;
  border-radius: 6px;
}

/* 상태 표시 */
.wx_event_status {
  background: #000;
  color: #fff;
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  font-size: 14px;
}

/* 기간 텍스트 */
.wx_event_period {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 15px;
  color: #555;
}

.wx_arrow-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
}

.wx_arrow-icon img {
  width: 100%;
  height: auto;
  display: block;
}


/* 반응형 - 태블릿 이하 */
@media (max-width: 1024px) {
  .wx_swiper_wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  .wx_service_item {
    width: 80%;
  }
}

/* 모바일: 1열 */
@media (max-width: 768px) {
  .wx_service_box {
    padding: 0 0 20px;
  }

  .wx_swiper_wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wx_service_item {
    width: 100%;
  }


}


/****VIEW MORE 화살표****/

.wx_arrow {text-align:right;}


/* 버튼 스타일 */
.wx_btn-main-2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0px;
  color: #fff;
  text-decoration: none;
  transition: color 0.1s ease;
}

.wx_btn-main-2 .wx_text {
  color: #fff;
  transition: color 0.1s ease;
}

.wx_btn-main-2:hover .wx_text {
  color: #f0c040; /* 호버 시 색상 변화 (선택사항) */
}

.wx_btn-main-2 .wx_icon { display: inline-block; transform: translateX(0);
font-size: 30px;margin-left: 10px;/* 초기 

위치 */ transition: transform 0.1s ease; color: #fff; }

.wx_btn-main-2:hover .wx_icon {
  font-size: 30px;margin-left: 10px;
  transform: translateX(5px); /* 마우스 오버 시 오른쪽으로 이동 */
}
.wx_btn-main-2 .wx_text {
  color: #fff;
  transition: color 0.1s ease, transform 0.6s ease-out;
  display: inline-block; /* transform 적용 위해 필요 */
  animation: slide-up 0.6s ease-out 1s forwards;
}

@keyframes slide-up {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/****main Business****/

.businessbox {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 40px;  /* ✅ 여기만 바꿔주세요! */
  flex-wrap: wrap;
}

/* ✅ 부모 컨테이너: perspective 주기 */
.wx_circle-flip {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  perspective: 1000px;
  border-radius: 50%;
  border: 5px solid #000;
  margin: 5px;
  cursor: pointer;
}

/* ✅ 내부 요소: 회전될 요소 */
.wx_flip-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
  position: relative;
  border-radius: 50%;
}

/* ✅ 마우스 오버 시 회전 */
.wx_circle-flip:hover .wx_flip-inner {
  transform: rotateY(180deg);
}

/* ✅ 앞/뒤면 공통 */
.wx_flip-front,
.wx_flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  backface-visibility: hidden;
  padding: 20px;
  font-weight: 600;
  font-size: 2vw; /* 반응형 크기 */
  line-height: 1.4;
}

/* ✅ 앞면 */
.wx_flip-front {
  background-color: transparent;
  color: white;
}

/* ✅ 뒷면 */
.wx_flip-back {
  background-color: black;
  color: white;
  transform: rotateY(180deg);
  transition-delay: 0.1s;
  font-size: 1.6vw;
}

/* ✅ 반응형 대응 */
@media (max-width: 992px) {
  .wx_flip-front,
  .wx_flip-back {
    font-size: 1.5rem;
    padding: 15px;
	font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .wx_flip-front,
  .wx_flip-back {
    font-size: 1.1rem;
    padding: 10px;
	font-size: 1.2rem;
  }
}




/****main TEXT + CUBE****/

/* 공통 초기 설정 */
.maincube {
  position: absolute;
  z-index: 99;
}

.text-box-1 {
  position: absolute;
}

/* PC (해상도: 1025px 이상) */
@media screen and (min-width: 1025px) {
  .maincube {
    top: 50%;
    left: 65%; /* 우측 */
    transform: translate(-50%, -50%);
  }

  .text-box-1 {
    top: 50%;
    left: 0%; /* 좌측 */
    transform: translate(-50%, -50%);
    text-align: right;
  }
}

/* 태블릿 (768px ~ 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .maincube {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .text-box-1 {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
}

/* 모바일 (767px 이하) */
@media screen and (max-width: 767px) {
  .maincube {
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8); /* 화면 작으니 축소 */
  }

  .text-box-1 {
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
}


@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 공통 스타일 */
.line {
  display: block;
  opacity: 0;
  animation: slideUpFade 1s ease-out forwards;
}

/* 순차 애니메이션 딜레이 */
.line-1 {
  animation-delay: 0.3s;
}
.line-2 {
  animation-delay: 0.6s;
}
.line-3 {
  animation-delay: 0.9s;
}



@keyframes dropFromTop {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 공통 애니메이션 스타일 */
.drop-in {
  position: absolute;
  left: 60%;
  top: 33%; /* 기본값은 PC용으로 설정 */
  opacity: 0;
  animation: dropFromTop 1s ease-out forwards;
  animation-delay: 0.6s;
  z-index: 99;
  transform: translate(-50%, -50%); /* 초기값 */
}

/* ✅ 태블릿: 아래쪽 위치로 이동 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .drop-in {
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%) scale(0.9); /* ✅ 재정의 */
  }
}

/* ✅ 모바일: 더 아래쪽 + 더 축소 */
@media screen and (max-width: 767px) {
  .drop-in {
    top: 35%;
    left: 25%;
    transform: translate(-50%, -50%) scale(0.5); /* ✅ 재정의 */
  }
}




/* company > license 블랙박스액션  */

.slide-top {
  opacity: 0;
  transform: translateY(30px) !important; /* 아래에서 시작 */
  transition: all 0.6s ease-out;
}

.slide-top.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


.product-img {
    position: relative;
    overflow: hidden;
}

.hover-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: bottom 0.4s ease-in-out;
}

/* hover 시 배경 오버레이 올라옴 */
.product-img:hover .hover-overlay {
    bottom: 0;
}

/* 가운데 정렬 */
.overlay-content {
    text-align: center;
    position: relative;
}

/* 텍스트 애니메이션 기본 상태 */
.license-title {
    font-size: 18px;
    color: white;
    opacity: 0;
    transform: translateY(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* hover 시 텍스트 등장 애니메이션 */
.product-img:hover .license-title {
    opacity: 1;
    transform: translateY(0);
}



/* business 이미지 자름 */

.product-img32 img {
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}



/* company >  HISTORY  */

 .timeline {
      position: relative;
      max-width: 1200px;
      margin: 100px auto;
      padding: 0 20px;
    }

    /* 회색 라인 */
    .timeline-line {
      position: absolute;
      width: 4px;
      background-color: #ccc;
      top: 0;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
    }

    /* 스크롤에 따라 채워지는 검정 라인 */
    .timeline-progress {
      position: absolute;
      width: 4px;
      background-color: #000;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      height: 0;
      z-index: 2;
      transition: height 0.05s linear;
    }

    .timeline-item {
      position: relative;
      width: 50%;
      padding: 40px 30px;
      box-sizing: border-box;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease-out;
    }

    .timeline-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .timeline-item.left {
      left: 0;
      text-align: right;
    }

    .timeline-item.right {
      left: 50%;
      text-align: left;
    }

    .timeline-item h2 {
      margin: 0 0 10px;
      font-size: 24px;
      color: #000;
    }

    .timeline-item p {
      margin: 0;
      color: #333;
      font-size: 16px;
    }

    @media screen and (max-width: 768px) {
      .timeline-line,
      .timeline-progress {
        left: 20px;
      }

      .timeline-item {
        width: 100%;
        padding-left: 60px;
        text-align: left !important;
      }

      .timeline-item.left,
      .timeline-item.right {
        left: 0;
      }
    }

	.ytw{color:#fff;}
	.ybb{font-weight:bold;}





