/* 메인 스타일 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
:root {
  overflow-x: hidden;
  --banner-height: calc(95vh - 100px);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

section {
  max-width: 1800px;
  width: 95vw;
  margin: 0 auto 120px;
  padding: 20px;
  border-radius: 20px;
}

.marquee-section {
  width: 100vw;
  max-width: unset;
  padding: unset;
  margin: unset;
}
/* 메인 배너 스타일 */
.main-banner {
  /* 헤더 높이만큼 여백 - 100px로 수정 */
  background-color: #000;
  color: #fff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  width: 95vw; /* 검정 영역 너비 */
  height: var(--banner-height);
  margin: auto;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc((5vh) / 2 + 100px);
  padding: 80px 0; /* 위아래 여백 증가 */
}

.main-banner .banner_bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.5;
}

.main-banner .banner_bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-container {
  width: 100%; /* 안쪽 콘텐츠 영역 너비 */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  visibility: hidden;
  position: absolute;
  padding-left: 10vh;
  padding-right: 10vh;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: all 1s ease;
}

.main-banner .banner_pagenation {
  position: absolute;
  top: 50%;
  display: Flex;
  transform: translateY(-50%);
  display: none;
  width: 100%;
  left: 0;
  justify-content: space-between;
}
.main-banner .banner_pagenation button {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  position: relative;
  cursor: pointer;
}
.main-banner .banner_pagenation button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 40%;
  height: 40%;
  border: 2px solid #fff;
  border-bottom: none;
  border-left: none;
}
.main-banner .banner_pagenation button.btn_prev::after {
  left: 60%;
  border-top: none;
  border-right: none;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}

.banner-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background-color: #000000af;
}
.banner-container:nth-child(4) {
  /* background:url(../images/main_banner_bg01.gif) no-repeat center/ cover; */
}
.banner-container:nth-child(5) {
  /* background:url(../images/main_banner_bg02.gif) no-repeat center/ cover; */
}
.banner-container.active {
  visibility: visible;
  opacity: 1;
}

.banner-text {
  flex: 0 0 auto; /* 고정 너비 */
  padding-left: 20px; /* 왼쪽 여백 추가 */
}
.banner-container .banner-text {
  transform: translateY(50px);
  opacity: 0;
  transition: all 1s ease;
  height: 75%;
}
.banner-container.active .banner-text {
  transform: translateY(0);
  opacity: 1;
}

.banner-label {
  /* color: #0066cc; */
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.banner-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  /* margin-bottom: 25px; */
  letter-spacing: -1px;
}

.banner-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #cccccc;
  letter-spacing: -0.5px;
  font-weight: 300;
}

/* 다운로드 버튼 */
.download-buttons {
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}

.download-button img {
  height: 40px; /* 이미지 크기 조정 */
  width: auto;
}

/* 오른쪽 배너 이미지 */
.banner-images {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  /* position: relative; */
  padding-right: 30px; /* 오른쪽 여백 추가 */
  height: 100%;
}

.banner-container .banner-images {
  transition: all 1s ease;
  transform: TranslateX(100px);
  opacity: 0;
}
.banner-container.active .banner-images {
  transform: TranslateX(0);
  opacity: 1;
}
.app-preview {
  /* max-width: 100%; */
  width: 100%;
  position: absolute;
  z-index: 1;
  top: 25%;
  right: -20%;
}

/* 그룹 컴퍼니 섹션 */
.group-section {
  padding: 120px 0 180px; /* 여백 더 증가 */
  background-color: #fff;
  margin-bottom: 50px; /* 하단 마진 추가 */
  overflow: visible; /* 오버플로우 허용 - 추가 */
}

.group-container {
  width: 98%; /* 너비를 변경하여 더 넘게 사용 */
  max-width: 1570px; /* 최대 너비 설정 */
  margin: 0 auto;
  box-sizing: border-box; /* 박스 모델 수정 */
  padding: 0; /* 패딩 제거 */
  overflow: visible; /* 오버플로우 허용 */
}

.group-title {
  font-size: 44px;
  font-weight: 800;
  /* margin-bottom: 60px;  */
  color: #111;
  letter-spacing: -1px;
  padding-left: 20px; /* 좌측 여백 추가 */
}

.group-cards {
  display: flex;
  justify-content: space-between; /* 고르게 분배 */
  overflow: visible; /* 오버플로우 허용 - 변경 */
  padding: 0 20px 20px; /* 좌우 패딩 추가 */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  width: 100%; /* 너비 확정 */
  flex-wrap: nowrap; /* 카드가 줄바꿈 되지 않게 */
}

.group-cards::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.group-card {
  flex: 1; /* 동일한 비율로 자동 확장 */

  margin: 0 9px; /* 카드 간 간격 조정 */
  height: 600px; /* 카드 높이 증가 */
  border-radius: 15px;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-top: 20px; /* 마우스 오버시 위로 올라가도 여유공간 확보 - 증가 */
}

.group-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  z-index: 5; /* 호버시 다른 카드 위에 표시 */
}

.group-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 15px; /* 이미지에 배경 보더레디어스 추가 */
}

.group-card-content {
  position: relative;
  z-index: 2;
  padding: 30px 20px; /* 좌우 여백 줄이기 */
  height: 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-start; /* 상단으로 정렬 */
  padding-top: 50px; /* 상단 여백 추가 */
  color: #fff;
  box-sizing: border-box; /* 박스 모델 수정으로 요소가 컨테이너를 벗어나지 않도록 */
  overflow: visible; /* 오버플로우 내용 표시 - 변경 */
}

.group-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  border-radius: 15px; /* 오버레이에도 배경 보더레디어스 추가 */
}

.group-card-subtitle {
  font-size: 16px; /* 크기 증가 */
  opacity: 0.8;
  margin-bottom: 20px; /* 여백 증가 */
}

.group-card-title {
  font-size: 48px; /* 1.5배 정도 키운 폰트 크기 */
  font-weight: 700;
  line-height: 1.1; /* 줄간격 조금 줄이기 */
  margin-bottom: 10px;
  letter-spacing: -1px;
  word-break: keep-all; /* 단어 단위로 줄바꿈 */
}

.plogging-section{
	margin-bottom:0px;
	padding:0px;
}

/* 반응형 스타일 */
@media (min-width: 1570px) {
  .group-cards {
    padding: 0 0 20px; /* 크기가 충분할 때 좌우 패딩 제거 */
  }

  .group-card {
    /* margin: 0 10px; 간격 약간 넓히기 */
  }
}

@media (max-width: 1800px) {
  .header-container {
    width: 95%;
  }
}

@media (max-width: 1600px) {
  .main-banner {
    width: 90%;
  }

  .banner-container {
    width: 85%;
  }

  .group-container {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .group-title {
    font-size: 36px;
  }

  .group-card {
    flex: 0 0 280px;
    height: 420px;
  }

  .group-card-title {
    font-size: 36px;
  }

  .group-card-title.multi-line {
    font-size: 32px;
  }
}

@media (max-width: 1200px) {
  .banner-container {
    flex-direction: column;
  }

  .banner-text {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    padding-left: 0;
  }

  .download-buttons {
    justify-content: center;
  }

  .banner-images {
    justify-content: center;
    padding-right: 0;
  }

  .app-preview-container {
    width: 100%;
  }
}
