/* ========================================
  첫 번째 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:0; bottom:0; display:block; height:auto; z-index:0; opacity:0; animation:ptRiseUp 0.9s 0.6s cubic-bezier(.16,1,.3,1) both; }
.intro-section-bg01 { background:#eff2f2 url('https://img.jongroeclass.co.kr/img23/img2611sjtbg.png') no-repeat center top; background-size:auto; }

@keyframes ptZoomFade {
    0% { opacity:0; transform:translate(100px,250px) 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); }
}


/* 공통 인트로 */
.intro-section { width:100%; background:#fff; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:0; }
.intro-container { position:relative; width:100%; max-width:var(--content-width, 870px); margin:0 auto; }
.intro-banner-img { max-width:var(--content-width); width:100%; height:auto; display:block; margin:0 auto; }
.intro-media-block { position:relative; text-align:center; }
.intro-slider-block { width:100%; margin:0 auto; }
.intro-video-wrapper { position:relative; width:calc(100% - 70px); 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; }

/* 하단 콘텐츠 */
.content { width:100%; padding-top:90px; background:#fff; }
.content img { width:100%; }
.content section { padding:60px 0 0; max-width:var(--content-width); margin:0 auto; min-height:100px; }
.content section:first-child { padding-top:0; }
.content section:last-child { padding-bottom:150px; margin-bottom:0; min-height:0; }

/* 롤링 슬라이더 */
.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; }

/* 배경영상 및 타이틀 */
.hero-container { position:relative; width:100%; height:870px; 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; }
.title-hero::before { content:""; position:absolute; top:0; left:0; width:100%; height:80px; background:linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.85) 25%, rgba(0,0,0,0.4) 65%, transparent 100%); z-index:3; pointer-events:none; }
.title-hero .hero-video { max-width:1920px; max-height:1080px; }
.hero-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:radial-gradient(circle, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.75) 100%); z-index:2; }
.hero-title { position:relative; z-index:3; text-align:center; max-width:90%; }
.hero-title img { max-width:100%; height:auto; display:block; margin:0 auto; }

/* 섹션 배경 */
.intro-section_02 { padding:150px 0; background:#fff url('https://img.jongroeclass.co.kr/img23/img2611sj0204bg.jpg') no-repeat center top; }
.intro-section-bg04 { background:#f2f2f2 url('https://img.jongroeclass.co.kr/img23/img2611sj0401bg.png') no-repeat center top;  }
.intro-section-bg05 { display:block; background:#000; }
.intro-section-bg06 { display:block; background:#efefef url('https://img.jongroeclass.co.kr/img23/img2611p0602bg.png') no-repeat center top; padding-bottom:0; }

/* 스태킹 배너 */
.stack-banner-wrap { width:calc(100% - 90px); max-width:790px; margin:0 auto; padding:80px 0 150px; box-sizing:border-box; }
.stack-banner { position:sticky; top:60px; width:100%; margin:0 auto 40px; overflow:hidden; }
.stack-banner:last-child { margin-bottom:0; }
.stack-banner img { display:block; width:100%; height:auto; }

/* 팽이 영상 */
.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; }

/* 스크롤 페이드 배너 - JS에서 opacity/transform 제어 */
.fade-banner-wrap { position:relative; width:100%; max-width:870px; height:100%; padding-top:150px; 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; }

/* 모바일 */
@media (max-width:720px) {
    :root { --content-width:720px; }
    .intro-video-wrapper { width:calc(100% - 70px); }
    .hero-container { height:700px; }
    .hero-title { max-width:95%; }
    .intro-section_02 { height:960px; }
    .title-hero .hero-video { transform:translate(-50%, -50%) scale(1.2); }
    .intro-section-bg04 { padding-bottom:100px; }
    .stack-banner-wrap { width:calc(100% - 70px); max-width:790px; padding:20px 0 0}
    .stack-banner { top:60px; margin-top:0; }
    .stack-banner:first-child { margin-top:60px; }
    .hero-top { height:900px; }
    .hero-top-content { gap:30px; }
    .hero-top .hero-title { max-width:95%; }
    .hero-top .intro-video-wrapper { width:calc(100% - 70px); }
    .fade-banner-wrap { max-width:720px; }
    .fade-banner-sticky { top:200px; }
    .pt-title-bottom { right:0; width:49%; }
}

/* 핵심경쟁력 이미지 */
.sj-grid-wrap { width:100%; max-width:870px; margin:0 auto; padding:80px 40px 150px; 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 150px; }
    .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); }
