/* ========================================
   01. 공통 영상
======================================== */
.intro-video-wrapper { position:relative; width:calc(100% - 90px); max-width:790px; margin:0 auto; aspect-ratio:16/9; border-radius:20px; overflow:hidden; -webkit-mask-image:-webkit-radial-gradient(white, black); }
.intro-video-wrapper iframe { position:absolute; top:0; left:0; width:100%; height:100%; border:0; border-radius:20px; }


/* ========================================
   02. 공통 히어로 영역
======================================== */
.hero-container { position:relative; width:100%; height:950px; overflow:hidden; display:flex; justify-content:center; align-items:flex-start; background-color:#000; }
.hero-video { position:absolute; top:50%; left:50%; width:100%; height:100%; transform:translate(-50%, -50%); object-fit:cover; z-index:1; }
.hero-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:radial-gradient(circle, rgba(0,0,0,.70) 0%, rgba(0,0,0,.75) 100%); z-index:2; }
.hero-title { position:relative; z-index:3; text-align:center; max-width:100%; }
.hero-title img { display:block; max-width:100%; height:auto; margin:0 auto; }
.intro-container { position:relative; width:100%; max-width:870px; margin:0 auto; }
.intro-media-block { width:100%; text-align:center; }
.intro-banner-img { display:block; width:100%; max-width:870px; height:auto; margin:0 auto; }


/* ========================================
   03. 인트로 배경 및 섹션
======================================== */
.intro-section-bg01 { background:#000; padding-bottom:0; }
.intro-section-bg04 { background:#f5f7f7 url('https://img.jongroeclass.co.kr/img23/img2611pt04bg.png') no-repeat center top; background-size:auto; padding-bottom:150px; }
.intro-section-bg06 { display:block; padding-top:0; padding-bottom:150px; background:#efefef url('https://img.jongroeclass.co.kr/img23/img2611p0602bg.png') no-repeat center top; background-size:auto; }



/* ========================================
   04. 첫 번째 PT 타이틀 애니메이션
======================================== */
.pt-hero { padding-bottom:0;  height:910px; }
.pt-title-stage { position:relative; isolation:isolate; width:870px; max-width:100%; height:100%; margin:0 auto; }
.pt-title-base { position:relative; display:block; width:100%; height:auto; z-index:1; }
.pt-title-pt { position:absolute; top:0; left:0; display:block; width:100%; height:auto; z-index:3; opacity:0; transform-origin:center center; animation:ptZoomFade 5s .2s cubic-bezier(.16,1,.3,1) infinite; }
.pt-title-bottom { position:absolute; right:-35%; bottom:0; display:block; width:90%; height:auto; z-index:0; opacity:0; animation:ptRiseUp 1.3s 1.1s cubic-bezier(.16,1,.3,1) both; }

@keyframes ptZoomFade {
    0% { opacity:0; transform:translate(200px,450px) scale(4); filter:blur(8px); }
    36% { opacity:1; transform:translate(0,0) scale(1); filter:blur(0); }
    100% { opacity:1; transform:translate(0,0) scale(1); filter:blur(0); }
}

@keyframes ptRiseUp {
    0% { opacity:0; transform:translate3d(0,150px,0); }
    100% { opacity:1; transform:translate3d(0,0,0); }
}


/* ========================================
   05. PT 스크롤 순차 등장
======================================== */
.intro-section.pt-scroll-section { display:block; padding:0 0 120px; background-image:url('https://img.jongroeclass.co.kr/img23/img2611pt02bg.png'),url('https://img.jongroeclass.co.kr/img23/img2611pt02bg02.jpg'); background-position:center top,center bottom; background-repeat:no-repeat,no-repeat; background-size:auto; overflow:hidden; background-color:#d5d5d5; }
.pt-scroll-section .intro-container { width:100%; max-width:870px; margin:0 auto; }
.pt-scroll-section .pt-scroll-heading { width:100%; max-width:100%; margin:0 auto; }
.pt-scroll-section .pt-scroll-heading img { display:block; width:100%; height:auto; }
.pt-scroll-list { display:flex; flex-direction:column; gap:130px; padding:0 0 30px; }
.pt-scroll-item { display:block; position:relative; width:100%; overflow:hidden; }
.pt-scroll-item img { display:block; width:100%; height:auto; }
.pt-scroll-section.pt-ready .pt-scroll-item { opacity:0; clip-path:inset(0 100% 0 0); -webkit-clip-path:inset(0 100% 0 0); transform:translate3d(0,45px,0); transition:opacity .8s ease, clip-path 1.15s cubic-bezier(.22,.75,.25,1), -webkit-clip-path 1.15s cubic-bezier(.22,.75,.25,1), transform 1.15s cubic-bezier(.22,.75,.25,1); }
.pt-scroll-section.pt-ready .pt-scroll-item.is-visible { opacity:1; clip-path:inset(0 0 0 0); -webkit-clip-path:inset(0 0 0 0); transform:translate3d(0,0,0); }

.pt-extra-section { width:100%; min-height:870px; display:flex; justify-content:center; align-items:flex-start; background:#222 url('https://img.jongroeclass.co.kr/img23/img2611pt02bg03.jpg') no-repeat top center; background-size:auto; padding-top:1px;}
.pt-extra-section img { display:block; width:100%; max-width:870px; height:auto; }

/* ========================================
   06. 스크롤 스태킹 배너
======================================== */
.stack-banner-wrap { position:relative; width:100%; max-width:870px; margin:60px auto 0; }
.stack-banner { position:sticky; top:30px; width:100%; margin:0 auto 40px; overflow:hidden; }
.stack-banner:last-child { margin-bottom:0; }
.stack-banner img { display:block; width:100%; height:auto; }


/* ========================================
   07. 팽이 배경영상 + 타이틀 + 유튜브
======================================== */
.hero-top { height:1100px; padding-top:150px; }
.hero-top-content { position:relative; z-index:3; width:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:60px; }
.hero-top .hero-title { width:100%; max-width:870px; }
.hero-top .intro-video-wrapper { width:calc(100% - 90px); max-width:790px; margin:0 auto; }


/* ========================================
   08. 스크롤 페이드 배너
======================================== */
.fade-banner-wrap { position:relative; width:100%; max-width:870px; height:1500px; margin:0 auto; }
.fade-banner-sticky { position:sticky; top:0; width:100%; overflow:hidden; }
.fade-banner { position:absolute; top:0; left:0; width:100%; opacity:0; pointer-events:none; transform-origin:center center; will-change:opacity,transform; }
.fade-banner:first-child { position:relative; opacity:1; }
.fade-banner img { display:block; width:100%; height:auto; }


/* ========================================
   09. Swiper 슬라이더
======================================== */
.intro-slider-block .swiper-pagination { display:none !important; }
.intro-slider-block .swiper-slide { font-size:0; line-height:0; }
.intro-slider-block .swiper-wrapper { transition-timing-function:linear; }





/* ========================================
   13. 모바일 - 720px 이하
======================================== */
@media (max-width:720px) {

    /* 공통 */
    :root { --content-width:720px; }
    .intro-video-wrapper { width:calc(100% - 70px); border-radius:20px; }
    .intro-video-wrapper iframe { padding:0; border-radius:20px; }
    .hero-container { height:770px; }
    .hero-title { max-width:95%; }

    /* 인트로 배경 */
    .intro-section-bg04 { padding-bottom:100px; }

    /* PT 타이틀 */
    .pt-title-stage { max-width:95%; }
    .pt-title-bottom { right:-12%; width:90%; }

    /* PT 스크롤 등장 */
    .intro-section.pt-scroll-section { padding-bottom:80px; }
    .pt-scroll-list { gap:100px; }
    .pt-extra-section { background:#d5d5d5; min-height:720px;}
	

    /* 스태킹 배너 */
    .stack-banner-wrap { max-width:720px; }
    .stack-banner { top:60px; margin-top:40px; }
    .stack-banner:first-child { margin-top:60px; }

    /* 팽이 영상 */
    .hero-top { height:850px; }
    .hero-top-content { gap:30px; }
    .hero-top .hero-title { max-width:100%; }
    .hero-top .intro-video-wrapper { width:calc(100% - 70px); }

    /* 페이드 배너 */
    .fade-banner-wrap { max-width:720px; }
    .fade-banner-sticky { top:200px; }

}


/* ========================================
   14. 접근성 - 애니메이션 최소화
======================================== */
@media (prefers-reduced-motion:reduce) {
    .pt-title-pt, .pt-title-bottom { animation:none; opacity:1; transform:none; filter:none; }
    .pt-scroll-section.pt-ready .pt-scroll-item { transition:none; }
}

/* 모바일 가로 넘침 방지 */
html { overflow-x:clip;}
body { margin:0; overflow-x:clip; }

@media (max-width:720px) {
    .pt-hero { width:100%; overflow:hidden; height:700px; }
    .pt-title-stage { width:870px; max-width:95%; }
    .pt-title-pt { right:30px; transform-origin:center center; }
    .pt-title-bottom { right:-35%; }
@keyframes ptZoomFade {
    0% { opacity:0; transform:translate(200px,350px) scale(4); filter:blur(8px); }
    36% { opacity:1; transform:translate(0,0) scale(1); filter:blur(0); }
    100% { opacity:1; transform:translate(0,0) scale(1); filter:blur(0); }
}	
	
}

/* 후기영상 롤링 높이 조절 */
#review-slider { width:100%; height:240px !important; overflow:hidden; }

/* 모바일 */
@media (max-width:720px) {
    #review-slider { height:200px !important; }
}

/* 핵심경쟁력 이미지 */
.sj-grid-wrap { width:100%; max-width:870px; margin:0 auto; padding:80px 40px 0; box-sizing:border-box; }
.sj-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:30px; row-gap:60px; align-items:start; }
.sj-grid-item { width:100%; min-width:0; text-align:center; }
.sj-grid-item img { display:block; width:100%; height:auto; margin:0 auto; }

/* 모바일 */
@media (max-width:720px) {
    .sj-grid-wrap { padding:80px 35px 0; }
    .sj-grid { grid-template-columns:1fr; row-gap:70px; }
}

/* 핵심경쟁력 스크롤 등장 효과 */
.sj-grid-item { opacity:1; transform:translateY(0); }
.sj-grid-item.sj-ready { opacity:0; transform:translateY(90px); transition:opacity 1s ease, transform 1s cubic-bezier(0.22,1,0.36,1); }
.sj-grid-item.sj-ready.sj-show { opacity:1; transform:translateY(0); }
