/* ========================================
   01. 기본 설정
======================================== */
:root { --content-width:870px; }
html { background-color:#000; overflow-x:clip; }
body { overflow-x:clip; }



/* ========================================
   03. 콘텐츠 영역
======================================== */
.content { width:100%; padding-top:90px; background:#fff; }
.content img { width:100%; }
.content section:last-child { padding-bottom:150px; margin-bottom:0; min-height:0; }
.content section:first-child { padding-top:0; }
section { padding:60px 0 0; max-width:var(--content-width); margin:0 auto; min-height:100px; }
.section-title { font-size:2.5rem; margin-bottom:30px; padding-bottom:15px; border-bottom:3px solid #333; }
footer { width:100%; background:#333; color:#777; text-align:center; padding:80px 0; font-size:1.2rem; }


/* ========================================
   04. 유튜브 영상
======================================== */
.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; }

@media (max-width:720px) {
    .intro-video-wrapper { width:calc(100% - 70px); }
}


/* ========================================
   05. 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; }


/* ========================================
   06. 히어로 영상 / 타이틀
======================================== */
.hero-container { position:relative; width:100%; height:950px; overflow:hidden; display:flex; justify-content:center; align-items:center; background:#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,.85) 25%,rgba(0,0,0,.4) 65%,transparent 100%); z-index:3; pointer-events:none; }
.hero-overlay { position:absolute; inset:0; background:radial-gradient(circle,rgba(0,0,0,.6) 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; }

@media (max-width:720px) {
    :root { --content-width:720px; }
    .hero-container { height:700px; }
    .hero-title { max-width:95%; }
    .intro-section_02 { height:700px; background:#fff; }
}


/* ========================================
   07. 소수정예차이 / 스태킹 배너
======================================== */
.intro-section-bg04 { background:#f2f2f2 url('https://img.jongroeclass.co.kr/img23/img2611p04bg.png') no-repeat center top; background-size:auto; padding-bottom:150px; }
.stack-banner-wrap { width:calc(100% - 90px); max-width:790px; margin:0 auto; margin-top:60px; padding:0; box-sizing:border-box; }
.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; }

@media (max-width:720px) {
    .intro-section-bg04 { padding-bottom:100px; }
    .stack-banner-wrap { width:calc(100% - 70px); max-width:790px; padding:20px 0 0; margin-top:0;}
    .stack-banner { top:60px; margin-top:0; }
    .stack-banner:first-child { margin-top:60px; }
}


/* ========================================
   08. 팽이 영상 영역
======================================== */
.hero-top { height:1100px; }
.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; }

@media (max-width:720px) {
    .hero-top { height:850px; }
    .hero-top-content { gap:30px; }
    .hero-top .hero-title { max-width:95%; }
    .hero-top .intro-video-wrapper { width:calc(100% - 70px); }
}


/* ========================================
   09. 소수정예 5대 핵심차별화 / 페이드 배너
======================================== */
.intro-section-bg05 { display:block; padding-bottom:150px; background:#efefef url('https://img.jongroeclass.co.kr/img23/img2611p0602bg.png') no-repeat center top; background-size:auto; }
/* 일반 배너 세로 나열 */
.fade-banner-wrap { width:100%; max-width:870px; height:auto; margin:80px auto 0; display:flex; flex-direction:column; gap:0; }
.fade-banner-wrap img { display:block; width:100%; height:auto; }

/* 모바일 */
@media (max-width:720px) {
    .fade-banner-wrap { margin-top:40px; }
}