
a{
 color: #fff;
 font-size: 34px;
}


.wrap1 {
  top: 30px;
  margin-top: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;

}

.wrap2 {
  /*1*/
  margin: 0 auto;
  display: flex;
  scroll-snap-align: end;
  align-items: center;
  overflow-y: hidden;
}

.wrap3 {
  /*2*/
  margin: 0 auto;
  display: flex;
  scroll-snap-align: start;
  align-items: center;
}

.wrap4 {
  /*3*/
  margin: 0 auto;
  display: flex;
  scroll-snap-align: start;
  align-items: center;
  overflow-y: hidden;
}

#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9998;
  /* fall-container(9999)보다 아래에 있도록 */
  background: #fFF;
  /* 또는 단일 컬러 배경:
     background-color: #1a1a1a;
  */
}

.content {
  max-width: 1406px;
  width: 100%;
  height: 762px;
  border-radius: 42px;
  margin-top: 0px;
  margin-bottom: 60px;
  margin: 0 auto;
  background-color: #fff;
  overflow-y: hidden;

}

.hometxt {
  padding-top: 110px;
  padding-left: 110px;
  padding-right: 42px;
  padding-bottom: 0px;
  display: block;

}

.subtitle {
  color: #3C3C3C;
  font-family: Pretendard;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.72px;
  display: flex;
  width: 247px;

}

.title {
  color: #3C3C3C;
  font-family: Pretendard;
  font-size: 128px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: -2.56px;
  display: flex;
  width: 705px;
}

.title span {
  display: inline-block;
  opacity: 0;
  /* 애니메이션 전 초기 상태 */
}

.subtitle2 {
  color: #3C3C3C;
  font-family: Pretendard;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.72px;
  margin-right: 700px;
  width: 477px;
  height: 44px;
  display: flex;
  position: relative
}

.typewriter {
  display: inline-block;
  overflow: hidden;
  /* 글자가 하나씩 잘리도록 */
  white-space: nowrap;
  border-right: 2px solid #222;
  /* 커서 */
  /* 커서 깜빡임 애니메이션 */
  animation: blinkCursor 1s step-end infinite;
}

@keyframes blinkCursor {
  50% {
    border-color: transparent;
  }
}

.content img {
  margin-right: 0;
  width: 35%;
  position: relative;
  left: 870px;
  top: 95px;
}

.qmark {
  display: block;
  transform-origin: center;
  will-change: transform;
}

#fall-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 999;
  /* ← 훨씬 더 높게! */
}

#pdfModal.hidden {
  display: none;
}
#pdfModal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 10000;
}
.modal-backdrop {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
}
.modal-content {
  position: absolute;
  top: 50%; left: 50%;
  width: 80vw; height: 100vh;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.btn-close {
  position: absolute;
  top: 8px; right: 8px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
}
#pdfViewer {
  flex: 1; /* close 버튼 아래 공간 모두 차지 */
}

.pdf-thumb {
  cursor: pointer;
}

.panel {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  align-items: center;
  justify-content: center;
  overflow-y: hidden;
  gap: 20px;
  width: 100%;
}

.panel .bijjya-box,
.panel .hoka-box,
.panel .asahi-box,
.panel .ezair-box,
.panel .mcdonald-box,
.panel .life4cut-box,
.panel .etc-box {
  border-radius: 42px;
  border: 2px solid #333;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  object-fit: cover;
  overflow-y: hidden;
transform-style: preserve-3d;
  backface-visibility: hidden;
  overflow-y: hidden;
}

.panel .bijjya-box img,
.panel .hoka-box img,
.panel .asahi-box img,
.panel .ezair-box img,
.panel .mcdonald-box img,
.panel .life4cut-box img,
.panel .etc-box img{
  width: 100%;
  height: auto;
}

#scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  width: 5px;
  height: 0%;
  background: yellow;
  z-index: 2000;
  transition: height 0.1s linear;
}


.bg-text-wrap {
  position: fixed;
  top: 50%;
  left: 0;
  width: 200%;           /* 복제된 두 줄을 가로로 배치 */
  white-space: nowrap;
  transform: translateY(-50%);
  z-index: -1;
}

.bg-text {
  display: inline-block;
  font-size: 10vw;       /* 화면 크기에 따라 조절 */
  font-weight: bold;
  color: rgba(255, 255, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1vw;
  padding-right: 5vw;    /* 단어 사이 간격 */
}

.bg-text-wrap2 {
  position: fixed;
  top: 60%;
  right: 0;
  width: 200%;           /* 복제된 두 줄을 가로로 배치 */
  white-space: nowrap;
  transform: translateY(-50%);
  z-index: -1;
}

.bg-text2 {
  display: inline-block;
  font-size: 3vw;       /* 화면 크기에 따라 조절 */
  font-weight: bold;
  color: rgba(255, 255, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 1vw;
  padding-right: 5vw;    /* 단어 사이 간격 */
}

.mobile-notice{
  color: #ffffffab;
  text-align: center;
  margin-bottom: 50px;
  
}

@media (max-width: 1024px) {
  .mobile-notice { display: block; }
}
@media (min-width: 1025px) {
  .mobile-notice { display: none; }
}
@media (max-width: 1440px) {
            .home-content { padding: 0 3rem; }
            .qmark { right: 3rem; }
        }

        /* 가로 태블릿 및 작은 데스크탑 (1025px ~ 1200px) */
        @media (max-width: 1200px) {
            .scroll-container { gap: 6rem; }
            .home-content { flex-direction: column; justify-content: center; text-align: center; height: auto; padding: 6rem 2rem; }
            .qmark { display: none; }
            .acontent, .econtent-bt { flex-direction: column; }
        }

        /* 세로 태블릿 (768px ~ 1024px) */
        @media (max-width: 1024px) {
            html { font-size: 15px; }
            .scroll-container { margin: 8rem auto; }
            .title { font-size: 7rem; }
            .subtitle, .subtitle2 { font-size: 2rem; }
            .econtent-top { padding-bottom: 4rem; /* 타임라인 공간 확보 */ }
        }

        /* 모바일 (767px 이하) */
        @media (max-width: 767px) {
            html { font-size: 14px; }
            .scroll-container { margin: 6rem auto; gap: 4rem; }
            
            /* 햄버거 메뉴 활성화 */
            .hamburger-btn { display: flex; }
            .menu-nav {
                display: none; /* 평소에는 메뉴 숨김 */
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(255, 255, 255, 0.9);
                padding: 1rem 0;
            }

             .title {
        width: auto; /* 고정 폭 제거 */
        font-size: 4rem; /* 폰트 크기도 함께 줄여주는 것이 좋습니다. */
    }
.wrap2{
  
}
    .subtitle2 {
        width: 100%; /* 유동적인 폭으로 변경 */
        margin-right: 0; /* 고정 여백 제거 */
    }

    .content img.qmark {
        position: static;
        transform: none;
        width: 50px;
        margin-top: 20px;
        
    }
            .menu-nav ul { flex-direction: column; align-items: center; }
            .menu-open .menu-nav { display: block; }

            .title { font-size: 4rem; }
            .subtitle, .subtitle2 { font-size: 1.5rem; }

            .home-content, .acontent1, .acontent2 > div, .econtent-top, .econtent1, .econtent3 {
                padding: 2rem;
                border-radius: 30px;
            }
            
            /* 타임라인 세로 모드로 전환 */
            .timeline-horizontal { display: none; }
            .timeline-vertical {
                display: block;
                position: relative;
                padding-left: 2rem;
            }
            .timeline-vertical::before { /* 세로 줄 */
                content: '';
                position: absolute;
                left: 10px;
                top: 0;
                bottom: 0;
                width: 2px;
                background-color: #ccc;
            }
            .v-timeline-item {
                position: relative;
                margin-bottom: 2rem;
            }
            .v-timeline-dot {
                position: absolute;
                left: 0;
                top: 0;
                width: 20px;
                height: 20px;
                background-color: white;
                border: 2px solid var(--color-text);
                border-radius: 50%;
                transform: translateX(-50%);
            }
            .v-timeline-content {
                padding-left: 2rem;
            }
            
            .chart-container { flex-direction: column; }
        }