﻿/* (LandingMain.css) */

body {
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-family: inherit;
}


/* 전체 컨테이너: max-width를 1920으로 제한 (-> 1280으로 변경)하고 가운데 정렬 */
#divContainer.clsContainer {
    width: 100%;
    height: auto;
    /*height: 9999px;*/
    max-width: 1280px;
    margin: 0 auto;
    /*border: 1px solid red;*/
    /* 약간그림자 */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05), 0 0 6px rgba(0, 0, 0, 0.03);
    /* 미세한 배경색 차이 */
    background-color: #ffffff;
    border-radius: 8px;
}

/* Floating image 문의하기 고정된 이미지  */
#divFloatImage {
    position: fixed;
    /* 스크롤해도 화면 한 위치에 고정 */
    top: 400px;
    /* 화면 상단에서 400px 아래 */
    right: 0px;
    /* 화면 오른쪽에서 20px 떨어짐 */
    display: none;
    /* 초기에는 숨김 */
    opacity: 0;
    /* 초기 투명도 0 (보이지 않음) */
    transition: opacity 0.5s ease;
    /* 서서히 나타나고 사라지게 */
    z-index: 9999;
    /* 다른 요소보다 위 */
}

/* 실제 이미지 스타일 */
#divFloatImage img {
    width: 70px;
    /* 원하는 크기로 조정 */
    height: auto;
    display: block;
}


/* 헤더 전체 */
#headerSite.clsHeader {
    z-index: 9999;
    width: 100%;
    margin: 0 auto;
    /*height: 80px; Commented out, will be controlled by max-height */
    display: flex;
    justify-content: center;
    /* 내부 래퍼를 중앙 정렬 */
    align-items: center;
    position: fixed;
    top: 0 !important;
    left: 0;

    /* New for CSS transition */
    background-color: #F4F4F4;
    /* Added for opacity transition */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Added base shadow for PC */
    max-height: 200px;
    /* Adjust if header can be taller */
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    overflow: hidden;
    /* Important for max-height trick */
    /* padding-top: 0; Let divHeaderInner handle its padding */
    /* padding-bottom: 0; */
    transition: max-height 0.3s ease-in-out,
        opacity 0.3s ease-in-out,
        transform 0.3s ease-in-out,
        visibility 0s linear 0s,
        /* Apply visibility change immediately when becoming visible */
        box-shadow 0.3s ease-in-out;
    /* Transition for shadow if needed */
    /* padding-top 0.3s ease-in-out, */
    /* padding-bottom 0.3s ease-in-out; */
}

/* Hidden State for Header */
#headerSite.clsHeader.header-hidden {
    max-height: 0;
    opacity: 0;
    transform: translateY(-100%);
    /* Slide up completely to fully hide */
    visibility: hidden;
    padding-top: 0;
    /* Collapse padding when hidden */
    padding-bottom: 0;
    box-shadow: none;
    /* Hide shadow when hidden */
    /* Delay visibility change until fully hidden */
    transition: max-height 0.3s ease-in-out,
        opacity 0.3s ease-in-out,
        transform 0.3s ease-in-out,
        visibility 0s linear 0.3s,
        padding-top 0.3s ease-in-out,
        padding-bottom 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
}

#divMain {
    margin-top: 75px;
    /* header 가 fixed 라 마진 줘야됌 태블릿은 60 모바일은 50 */
}

@media (max-width: 1024px) and (min-width: 768px) {
    #divMain {
        margin-top: 65px;
    }
}

@media (max-width: 767px) {
    #divMain {
        margin-top: 55px;
    }
}


/* 헤더 내부 래퍼 */
#divHeaderInner.clsHeaderInner {
    width: 100%;
    /*max-width: 1280px; /* or 1920px 등 원하는 최대 폭 */
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    /* 기본적으로 왼쪽 정렬 */
    justify-content: flex-start;
    /* justify-content: space-between; 로고 왼쪽, 메뉴+버튼 오른쪽 배치 */
    padding: 0.5rem 0;
    /* 위아래 0.5rem씩 */
    /*border: 3px solid green;*/
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); Removed, moved to #headerSite */
    background-color: transparent;
    /* Should be transparent as parent #headerSite has background */
}

/* 로고 영역 */
#divLogo.clsLogo {
    display: flex;
    align-items: center;
    margin-right: auto;
    /* 로고를 왼쪽, 나머지는 오른쪽*/
    margin-left: 4rem;
    /* 로고 주변 여백을 주고 싶다면 padding 또는 margin 조정 */
}

/* 로고 이미지: 77x77 px */
#imgLogo.clsImg {
    width: 55px;
    height: 55px;
    object-fit: cover;
    /* 필요에 따라 contain/cover 등 조정 */
}

/* 내비게이션 */
#navSite.clsNav {
    /* 별도 스타일이 필요하면 여기에 */
}

/* 메뉴 리스트 */
#ulMenu.clsMenu {
    list-style: none;
    display: flex;
    gap: 2rem;
    /* 메뉴 간 간격 */
    margin: 0;
    padding: 0;
}

/* 메뉴 항목 링크 스타일 */
#ulMenu.clsMenu li a {
    color: #303030;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: none;
}

/* 학습/진단 신청 버튼 감싸는 영역 */
.clsRegister {
    /* 버튼과 메뉴 사이 여백 등을 조정할 수 있음 */
    margin-left: 2rem;
    margin-right: 4rem;
}

/* 학습/진단 신청 버튼 */
.btn.clsBtnRegister {
    display: inline-block;
    background: #333333;
    border-radius: 35.5px;
    text-decoration: none;
    /* 버튼 안쪽 여백 (세로/가로) */
    padding: 0.5rem 1.7rem;
    /* 글자 스타일 */
    color: #00FF26;
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    /* 글자 줄바꿈 처리 */
    white-space: nowrap;
    /* 또는 word-wrap: break-word; -> 고정 폭이 있을 때 */
    /* 그림자 효과 추가 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    /* 부드러운 테두리 */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* 텍스트에 미묘한 그림자 */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* 호버 효과 */
.btn.clsBtnRegister:hover {
    background: linear-gradient(to bottom, #444444, #333333);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #2bff49;
    /* 약간 더 밝은 녹색 */
    transform: translateY(-1px);
}

/* 클릭 효과 */
.btn.clsBtnRegister:active {
    background: linear-gradient(to bottom, #292929, #333333);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transform: translateY(1px);
}

/* 모바일 Nav 메뉴 스타일링*/
#navMobileSite.clsMovileNav {
    display: none;
    /* 기본은 안보이게 */
    position: fixed;
    /* 헤더가 fixed이므로 메뉴도 fixed로 설정 */
    top: 55px;
    /* 헤더 높이에 맞춰 조정 (헤더 높이에 따라 값 조정) */
    left: 0;
    right: 0;
    background-color: #F4F4F4;
    /* 헤더와 동일한 배경색 */
    width: 100%;
    border-radius: 0 0 2rem 2rem;
    /* 아래쪽만 radius 적용 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    z-index: 999;
    /* 헤더보다 낮은 z-index */
}

/* 모바일 메뉴 리스트 */
#ulMobileMenu.clsMobileMenu {
    list-style: none;
    padding: 0;
    margin: 0 20px;
}

#ulMobileMenu.clsMobileMenu li {
    margin: 0;
    padding: 0;
}

/* 메뉴 항목 스타일 */
#ulMobileMenu.clsMobileMenu li a {
    display: block;
    padding: 15px 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* 실선 구분선 */
}

/* 마지막 메뉴 항목은 구분선 없음 */
#ulMobileMenu.clsMobileMenu li:last-child a {
    border-bottom: none;
}

/* 언어 선택 섹션 */
.clsLanguage {
    display: flex;
    justify-content: center;
    margin: 15px 20px 5px;
    padding-top: 15px;
    /*border-top: 1px solid rgba(0, 0, 0, 0.1);*/
}

.clsLanguage a {
    display: flex;
    align-items: center;
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.clsLanguage img {
    width: 20px;
    height: 15px;
    margin-right: 8px;
}

/* 헤더 내부 요소 정리 (float 사용 후 clear) */
#divHeaderInner.clsHeaderInner:after {
    content: "";
    display: table;
    clear: both;
}

@media (min-width: 767px) {
    #navMobileSite.clsMovileNav {
        display: none !important;
    }
}

/* ============================ */
/* 햄버거 메뉴 아이콘 (기본 PC 상태에서 숨김) 
    .clsHamburgerMenu {
        display: none; 
        width: 28px;
        height: 28px;
        background: url('contents/img/header-hamberger.png') no-repeat center center;
        background-size: cover;
        margin-right: 2rem; 
        cursor: pointer;
    }
*/
.clsHamburgerMenu {
    display: none;
    /* 기본은 안보이게 */
    width: 2rem;
    height: 1.5rem;
    padding: .15rem;
    background-color: #F4F4F4;
    /* 배경색 변경 */
    /*border: solid 1px rgba(200, 200, 200, 0.7); */
    position: relative;
    margin-right: 1rem;
}

.clsHamburgerMenu span {
    width: 1.5rem;
    height: .563rem;
    position: absolute;
    top: calc(.25rem + .563rem - 1px);
    left: calc(.25rem - 1px);
    transition: transform 0.5s cubic-bezier(.86, 0, .07, 1),
        /* 전환 시간 단축 */
        transform-origin 0.5s cubic-bezier(.86, 0, .07, 1);
}

.clsHamburgerMenu span:before,
.clsHamburgerMenu span:after {
    content: "";
    width: .95rem;
    height: .175rem;
    background-color: black;
    /* 화살표 색상을 블랙으로 변경 */
    position: absolute;
    bottom: 0;
    transition: transform 0.5s cubic-bezier(.86, 0, .07, 1),
        /* 전환 시간 단축 */
        transform-origin 0.5s cubic-bezier(.86, 0, .07, 1);
}

.clsHamburgerMenu span:before {
    right: 50%;
    border-radius: 2px 0 0 2px;
    transform-origin: 100% 100%;
    transform: rotate(40deg);
}

.clsHamburgerMenu span:after {
    left: 50%;
    border-radius: 0 2px 2px 0;
    transform-origin: 0 100%;
    transform: rotate(-40deg);
}

.clsHamburgerMenu.open span {
    transform: translateY(-8px);
}

.clsHamburgerMenu.open span:before {
    transform-origin: 100% 0;
    transform: rotate(-40deg);
}

.clsHamburgerMenu.open span:after {
    transform-origin: 0 0;
    transform: rotate(40deg);
}



/****** 슬라이드 *****/
/* 모든 슬라이드 공통 스타일 */
#divMainSlide {
    /*height: 500px;*/
    max-width: 1280px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    /*border: 3px solid red;*/
    /* height: 300px !important; 안먹힘*/
}

#divMainSlide.clsMainSlide {
    /* Slick 컨테이너 역할 (별도 스타일 필요 시) */
    /*border: 3px solid blue;*/
}

/*****************************************
 * Slick 슬라이드 컨테이너
 *****************************************/
.clsDivMainSlides {
    /* Slick이 .clsDivMainSlides를 슬라이드로 인식 */
    background-color: #000;
    color: #fff;
    /*height: 300px !important; 여기에 주어야만 height가 잡힘 */
    height: 100vh !important;
    /* 전체 높이를 화면 높이로 설정 */
    max-height: 409px;
    /*427px;*/
    overflow: hidden;
    /* 내용이 넘치면 잘림 (원하는 경우에만) */
    /* 전체 레이아웃: 가운데 정렬 (선택) */
    display: flex;
    align-items: center;
    justify-content: center;
    /* 안쪽 여백 */
    padding: 40px 40px;
    box-sizing: border-box;
}

/* 공통 버튼 스타일 */
.clsBtnMoreInfo {
    /*자세히 보기*/
    display: inline-block;
    color: #fff;
    text-decoration: none;
    padding: 4px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-radius: 50em;
    font-size: 17px;
    font-weight: 500;
    background-color: #00D251;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

/* 호버 상태 */
.clsBtnMoreInfo:hover {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 호버 시 미묘한 광택 효과 */
.clsBtnMoreInfo:hover:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 80%);
    transform: rotate(30deg);
    pointer-events: none;
    transition: all 0.6s ease;
}

/* 액티브 상태 (버튼 클릭 시) */
.clsBtnMoreInfo:active {
    transform: translateY(1px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* 포커스 상태 (접근성 향상) */
.clsBtnMoreInfo:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 0 3px rgba(0, 210, 81, 0.3);
}


/*****************************************
 * 1번째 슬라이드
 *****************************************/
/* 첫 번째 슬라이드 배경 */
.clsDivMainSlides:nth-child(1) {
    background: url("Contents/img/slide_Img_CoreMain.png") no-repeat center center;
    background-size: cover;
    border: 0px solid black;
    position: relative;
    /* absolute 절대위치 부모는 relative */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 수평 중앙 정렬 */
    justify-content: center;
    /* 수직 중앙 정렬 */
}

/* 클릭 가능한 슬라이드 - 호버 시 글래스 효과 */
.clsSlideClickable {
    cursor: pointer;
}

.clsSlideClickable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.clsSlideClickable:hover::before {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(0.5px);
}

#divSlideTextWrap {
    /* 세로 방향으로 변경 */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 수평 중앙 정렬 */
    justify-content: center;
    /* 수직 중앙 정렬 */
    width: 100%;
    text-align: center;
    margin-top: -25px;
    /* 텍스트 좀 위로 */
}

/*****************************************
 * 왼쪽 텍스트 묶음 (이제 중앙 텍스트로 변경)
 *****************************************/
#divLeftTexts {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    /* 텍스트 영역 넓이 확장 */
    margin: 0 auto;
    /* 중앙 정렬 */
    padding: 20px;
}

/* 강조 색상 */
.clsHighlight {
    color: #00D251;
}

/* 첫 번째 슬라이드: 제목 */
#divFirstSlideTitle {
    font-size: 35px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 5px;
    text-align: center;
}

/* 첫 번째 슬라이드: 부제목 */
#divFirstSlideSubTitle {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

/* 버튼 감싸는 영역 - 절대 위치로 변경 */
#divMoreInfo {
    position: absolute;
    bottom: 20px;
    /* 하단에서 20px 위 */
    left: 50%;
    transform: translateX(-50%);
    /* 가운데 정렬 */
}


/* 커스텀 네비게이션 UI - 절대 위치로 변경 -> 모든 슬라이드 속성으로 변경 */
.clsDivMainSlides:nth-child(1) .clsCustomSlideNav {
    position: absolute;
    bottom: 55px;
    left: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}



/*****************************************
 * 2번째 슬라이드 - 텍스트+이미지 래퍼 padding 0 40(위아래 없게)
 *****************************************/

/* 두 번째 슬라이드 배경 */
.clsDivMainSlides:nth-child(2) {
    background: #F6F6F6;
    /*background: #fafaf5;*/
    /*padding: 0px 40px;  PC 일때만 */
}

#divSlideTextWrap2 {
    display: flex;
    flex-direction: row;
    /* 왼쪽 텍스트, 오른쪽 이미지 -> 이미지 없음 */
    align-items: flex-start;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    gap: 10px;
    /* 원하는 여백이나 테두리 */
    /*border: 1px solid yellow; */
}

/* 제목+뱃지 감싸는 래퍼 */
#divSceondSlideTitleWrap {
    position: relative;
    /* 배지(이미지)를 절대 배치할 부모 */
    display: inline-block;
    /* 필요하다면 block, inline-block 선택 */
}

#imgSchoolBadge {
    position: absolute;
    top: 55px;
    /* 적절히 조정 */
    left: 75px;
    /* 적절히 조정 */
    width: 85px;
    /* 뱃지 크기 */
    /* height: auto; // 비율 유지 */
    /* border: 1px solid red */
}

/* 왼쪽 텍스트 묶음 */
#divLeftTexts2 {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    /* 텍스트 영역을 전체의 절반으로 제한 */
    margin-top: 40px;
    margin-left: 50px;
    /* border: 1px solid purple; */
}

/* 두 번째 슬라이드: 제목 */
#divSecondSlideTitle {
    font-size: 35px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #000;
}

.parallelogram-background {
    position: relative;
    display: inline-block;
    color: #ffffff;
}

.parallelogram-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #00c73c;
    /* Bright green color from the image */
    transform: skewX(-15deg);
    /* Adjust the angle as needed */
    z-index: -1;
}


/* 두 번째 슬라이드: 부제목 */
#divSecondSlideSubTitle {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #000;
}

/* 버튼 감싸는 영역 */
#divMoreInfo2 {
    margin-bottom: 20px;
}

/* 오른쪽 이미지 영역 */
#divGirlWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 1px solid green;*/
}

/* 실제 이미지 */
#imgGirl {
    max-width: 400px;
    height: 100%;
    /*border: 1px solid green; */
}

/* 버튼 스타일 */
.clsDivMainSlides:nth-child(2) .clsBtnMoreInfo {
    background-color: #159957;
}



/*****************************************
 * 3번째 슬라이드 - 텍스트+이미지 래퍼 
 *****************************************/

/* 세 번째 슬라이드 배경 */
.clsDivMainSlides:nth-child(3) {
    background: url("Contents/img/slide_Img_coreTwithF.png") no-repeat center bottom;
    background-size: cover;
    border: 0px solid black;
}

/* 3번째 슬라이드 래퍼 */
#divSlideTextWrap3 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    gap: 10px;
    /*border: 1px solid red;*/
}

/* 왼쪽 텍스트 묶음 */
#divLeftTexts3 {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    margin-top: 40px;
    margin-left: 50px;
}

#imgwithFBadge {
    position: absolute;
    top: -30px;
    /* 적절히 조정 */
    left: -50px;
    /* 적절히 조정 */
    width: 85px;
    /* 뱃지 크기 */
    /* height: auto; // 비율 유지 */
    /* border: 1px solid red */
}

/* 제목+아이콘 감싸는 래퍼 */
#divThirdSlideTitleWrap {
    position: relative;
    /* 아이콘 절대 배치 기준 */
    display: inline-block;
}

/* 세 번째 슬라이드: 제목 */
#divThirdSlideTitle {
    font-size: 33px;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
}

.style_CoreTalking {
    font-family: "Mochiy Pop One", sans-serif;
    font-weight: 400;
    font-size: 37px;
    font-style: normal;
    font-weight: bold;
    color: #00c000;
    /* 초록색 텍스트 */
    text-shadow: -3px -3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, 3px 3px 0 #fff, -3px 0 0 #fff, 3px 0 0 #fff, 0 -3px 0 #fff, 0 3px 0 #fff;
}

/* 세 번째 슬라이드: 부제목 */
#divThirdSlideSubTitle {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #000;
}

/* 버튼 감싸는 영역 */
#divMoreInfo3 {
    margin-bottom: 20px;
}

/* 오른쪽 이미지 영역 */
#divGirlWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 1px solid green;*/
}

/* 실제 이미지 */
#imgGirl {
    max-width: 400px;
    height: 100%;
}


/* 버튼 스타일 (3번째 슬라이드) -> 1번 슬라이드와 동일한 초록색 버튼으로 예시 */
.clsDivMainSlides:nth-child(3) .clsBtnMoreInfo {
    background-color: rgba(51, 51, 51, 1);
}

/*****************************************
 * 4번째 슬라이드 - 배경 이미지 + 왼쪽 텍스트
 *****************************************/

/* 네 번째 슬라이드 (전체 배경 이미지) */
.clsDivMainSlides:nth-child(4) {
    /* 배경 이미지 경로: 실제 파일명 확인 */
    background: url("contents/img/slide_Img_pad.png") no-repeat center center;
    background-size: cover;
    border: 0px solid black;
}

/* 4번째 슬라이드 래퍼 */
#divSlideTextWrap4 {
    display: flex;
    flex-direction: row;
    /* 왼쪽 텍스트만 사용 */
    align-items: flex-start;
    /* 상단 정렬 */
    justify-content: flex-start;
    /* 왼쪽 정렬 */
    width: 100%;
    /* border: 1px solid yellow; */
}

/* 왼쪽 텍스트 묶음 */
#divLeftTexts4 {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    /* 텍스트 영역을 전체 절반 정도로 제한 */
    margin-top: 40px;
    margin-left: 50px;
    /*border: 1px solid purple; */
}

/* 제목+뱃지 감싸는 래퍼 */
#divFourthSlideTitleWrap {
    position: relative;
    /* 배지(이미지)를 절대 배치할 부모 */
    display: inline-block;
    /* 필요하다면 block, inline-block 선택 */
}

/* 네 번째 슬라이드: 제목 */
#divFourthSlideTitle {
    font-size: 40px;
    line-height: 1.4;
    /*margin-bottom: 70px;*/
    margin-top: 30px;
    margin-bottom: 25px;
    /*color: #000;*/
    background: linear-gradient(to right, rgba(0, 255, 136, 1), rgba(208, 255, 0, 1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    word-wrap: break-word
}

#imgLevelupBadge {
    position: absolute;
    top: 10px;
    /* 적절히 조정 */
    left: 0px;
    /* 적절히 조정 */
    width: 85px;
    /* 뱃지 크기 */
    /* height: auto; // 비율 유지 */
    /* border: 1px solid red */
}

/* 네 번째 슬라이드: 부제목 */
#divFourthSlideSubTitle {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #FFFFFF;
}

/* 버튼 감싸는 영역 */
#divMoreInfo4 {
    margin-top: 15px;
    margin-bottom: 15px;
}

/* 네 번째 슬라이드의 버튼 (검정 배경) */
.clsDivMainSlides:nth-child(4) .clsBtnMoreInfo {
    background-color: #00D251;
    color: #fff;
}


/*****************************************
 * 5번째 슬라이드 - 왼쪽 텍스트 + 오른쪽 이미지
 *****************************************/

/* 다섯 번째 슬라이드 배경 (필요하면 추가) */
/* 다섯 번째 슬라이드 */
.clsDivMainSlides:nth-child(5) {
    /*background: #9CD9FF;*/
    /*background: linear-gradient(180deg, black 0%, #005285 100%);*/
    background: url("contents/img/slide_Img_ted.png") no-repeat center center;
    background-size: cover;
}

/* 5번째 슬라이드 래퍼 */
#divSlideTextWrap5 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 100%;
    width: 100%;
    gap: 10px;
    /* border: 1px solid red; // 디버그용 */
}

/* 왼쪽 텍스트 묶음 */
#divLeftTexts5 {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    margin-top: 40px;
    /* 상단 여백 */
    margin-left: 50px;
    /* 왼쪽 여백 */
    /* border: 1px solid purple; */
}

/* 제목+아이콘 감싸는 래퍼 */
#divFifthSlideTitleWrap {
    position: relative;
    /* 아이콘 절대 배치 기준 */
    display: inline-block;
}

/* 5번째 슬라이드: 제목 */
#divFifthSlideTitle {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #FFFFFF;
    /* 원하는 텍스트 색상 */
}

/* 부제목 */
#divFifthSlideSubTitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #FFFFFF;
}

/* TED 아이콘*/
#imgTedIcon {
    display: inline-block;
    max-width: 80px;
    vertical-align: middle;
    /*border: 1px solid blue;*/
}

/* 버튼 감싸는 영역 */
#divMoreInfo5 {
    margin-bottom: 20px;
}

/* 오른쪽 이미지 영역 */
#divTedWrap {
    /* border: 1px solid blue; */
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

/* 5번째 슬라이드의 버튼 (레드) */
.clsDivMainSlides:nth-child(5) .clsBtnMoreInfo {
    background-color: #FF0000;
    color: #fff;
}




/*****************************************
 * 6번째 슬라이드 - 왼쪽 텍스트 + 오른쪽 이미지
 *****************************************/

/* 여섯 번째 슬라이드 배경 (필요하면 추가) */
/* 여섯 번째 슬라이드 */
.clsDivMainSlides:nth-child(6) {
    /*background: #9CD9FF;*/
    background: linear-gradient(180deg, black 0%, #005285 100%);
}

/* 6번째 슬라이드 래퍼 */
#divSlideTextWrap6 {
    display: flex;
    flex-direction: row;
    /*align-items: flex-start;*/
    justify-content: space-between;
    max-width: 100%;
    width: 85%;
    gap: 10px;
    /* border: 1px solid red; // 디버그용 */
}

/* 왼쪽 텍스트 묶음 */
#divLeftTexts6 {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    margin-top: 40px;
    /* 상단 여백 */
    margin-left: 50px;
    /* 왼쪽 여백 */
    /* border: 1px solid purple; */
}

/* 제목+아이콘 감싸는 래퍼 */
#divSixthSlideTitleWrap {
    position: relative;
    /* 아이콘 절대 배치 기준 */
    display: inline-block;
}

/* 6번째 슬라이드: 제목 */
#divSixthSlideTitle {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #FFFFFF;
    /* 원하는 텍스트 색상 */
}

/* 아이콘(Zoom) */
#imgZoomBadge2 {
    position: absolute;
    top: -45px;
    /* 적절히 조정해서 '학' 글자 근처에 */
    left: -45px;
    width: 55px;
    /* 아이콘 크기 */
    /* height: auto;  // 비율 유지 */
    /* border: 1px solid blue; */
}

/* 부제목 */
#divSixthSlideSubTitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #FFFFFF;
}

/* 버튼 감싸는 영역 */
#divMoreInfo6 {
    margin-bottom: 20px;
}

/* 오른쪽 이미지 영역 */
#divClassImageWrap2 {
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid green; // 디버그용 */
}

/* 실제 이미지 */
#imgClass2 {
    max-width: 400px;
    height: auto;
}

/* 6번째 슬라이드의 버튼 (파랑 #008BFD) */
.clsDivMainSlides:nth-child(6) .clsBtnMoreInfo {
    background-color: #008BFD;
    color: #fff;
}


/*****************************************
 * 7번째 슬라이드 - 준산 특별 리뷰 페이지 (260107 추가)
 * 
 * 구조 설명:
 * - 슬라이드 전체(.clsDivMainSlides:nth-child(7))가 flex container
 * - divSlideTextWrap7은 전체 영역을 차지하며 flex로 하단 정렬
 * - divLeftTexts7은 왼쪽 하단에 배치되며 버튼과 네비게이션 포함
 * - 네비게이션은 슬라이드 기준 절대 위치로 왼쪽 하단에 고정
 *****************************************/

/* 일곱 번째 슬라이드 배경 - PC 버전 */
.clsDivMainSlides:nth-child(7) {
    background: url('Images/JunSanBanner-PC.png') no-repeat center center;
    background-size: cover;
    position: relative;
    /* 슬라이드 전체를 flex container로 설정 */
    display: flex;
    align-items: flex-end;
    /* 하단 정렬 */
    justify-content: flex-start;
    /* 왼쪽 정렬 */
    /* padding은 공통 스타일(.clsDivMainSlides)에서 상속받음 - 중복 제거 */
}

/* 7번째 슬라이드 래퍼 - 전체 영역 차지 */
#divSlideTextWrap7 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 왼쪽 정렬 */
    justify-content: flex-end;
    /* 하단 정렬 */
    width: 100%;
    height: 100%;
    /* border: 1px solid red; */
    /* 디버그용 */
}

/* 왼쪽 텍스트 묶음 - 하단에 배치 */
#divLeftTexts7 {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    /* PC에서 왼쪽 절반만 차지 */
    margin-left: 50px;
    /* 왼쪽 여백 */
    margin-bottom: 10px;
    /* 네비게이션 공간 확보 - 80px에서 축소 */
    /* border: 1px solid blue; */
    /* 디버그용 */
}

/* Hide Title and Subtitle for Slide 7 as they are in background image */
#divSeventhSlideTitleWrap,
#divSeventhSlideSubTitle {
    display: none !important;
}

/* 제목 영역 (배경 이미지에 포함되어 있어 주석처리됨) */
#divSeventhSlideTitleWrap {
    position: relative;
    display: inline-block;
}

#divSeventhSlideTitle {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #FFFFFF;
}

/* 부제목 (배경 이미지에 포함되어 있어 주석처리됨) */
#divSeventhSlideSubTitle {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #FFFFFF;
}

/* 버튼 감싸는 영역 - 공통 규칙 사용 (특별 규칙 제거됨) */
/* #divMoreInfo7 - 다른 슬라이드와 동일하게 margin 추가 */
#divMoreInfo7 {
    margin-bottom: 20px;
}

/* 커스텀 네비게이션 UI - 공통 규칙 사용 (특별 규칙 제거됨) */
/* .clsDivMainSlides:nth-child(7) .clsCustomSlideNav - 특별 규칙 제거, 다른 슬라이드와 동일하게 처리 */

/* 7번째 슬라이드의 버튼 (초록색) */
.clsDivMainSlides:nth-child(7) .clsBtnMoreInfo {
    background-color: #00D251;
    color: #fff;
}

/* 7번째 슬라이드 - 2~6번 슬라이드와 동일한 공통 CSS 사용 */
/* PC, 태블릿, 모바일 모두 공통 규칙 적용 (개별 규칙 제거) */



/* 모바일/태블릿 반응형 (768px 이하) */
@media (max-width: 768px) {

    /* 모바일 배경 이미지 */
    .clsDivMainSlides:nth-child(7) {
        background-image: url('Images/JunSanBanner-Mobile.png');
    }

    /* 7번 슬라이드 특별 규칙 제거 - 공통 규칙 사용 */
    /* 다른 슬라이드(2-6번)와 동일하게 처리됨 */
}







/*****************************************
 * 커스텀 네비게이션 (.clsCustomSlideNav)
 *****************************************/
.clsCustomSlideNav {
    display: flex;
    align-items: center;
    gap: 8px;
    /* 상단과의 간격을 조금 더 줄이고 싶으면 값을 조정 */
    margin-top: 0px;
    /* 왼쪽에 붙이려면: justify-content: flex-start; */
    justify-content: flex-start;
    /*background: linear-gradient(to bottom, #f0f0f0, #e6e6e6);*/
    filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, 0.5));
    /* border: 3px solid red; */
}


.clsCustomSlideNav button:hover {
    transform: scale(1.05);
}

/* 인덱스 표시 (예: 1/5) */
.clsSlideIndexDisplay {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    /* 배경이 어두우면 밝은 색 */
}

/* 프로그레스 바 컨테이너 */
.clsSlideProgressOuter {
    position: relative;
    width: 120px;
    /* 전체 너비 */
    height: 6px;
    /* 높이 */
    background: #555;
    /* 배경색 */
    border-radius: 3px;
    overflow: hidden;
}

/* 프로그레스 바 채워지는 부분 */
.clsSlideProgressInner {
    /* width: 0; /* JS에서 동적으로 업데이트 */
    height: 100%;
    /* 세로는 100% */
    background: #00D251;
    /* 채워지는 색상 (녹색 예시) */
    border-radius: 3px;
    transition: width 0.3s ease;
    /* 부드럽게 늘어남 */
}

/* 버튼 (아이콘) 스타일 - 필요 시 */
.clsCustomSlideNav button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.clsCustomSlideNav button:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}



/* 공통 버튼 아이콘 크기 (기본) */
.clsCustomSlideNav button img {
    width: 15px;
    height: auto;
}

/* 일시정지/재생 버튼만 크기 재정의 */
.clsCustomSlideNav .btnPause img {
    width: 18px;
    /* 원하는 크기로 변경 */
    height: auto;
}

/*****************************************
 * 서브 슬라이드 
 *****************************************/

/* 서브 슬라이드 전체 래퍼 */
.clsSubSlide {
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    background-color: white;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/*****************************************
 * 서브 슬라이드 전체 래퍼
 *****************************************/
.clsSubSlide {
    margin: 0 auto;
    display: flex;
    /* Slick가 적용될 때, slick-track 등이 들어올 컨테이너 */
    overflow: hidden;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}


/*****************************************
 * 서브 슬라이드 리뷰 부분 subslide
 *****************************************/
.clsSubSlide {
    margin: 0 auto;
    overflow: hidden;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.clsSubItem {
    display: flex !important;
    /* flex 속성 안멱혀서 줌.. 이거 해야 의도대로 보임*/
    align-items: center !important;
    /* 디자인 */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    /* 은은한 그림자 */
}

/* 아이템 내 이미지 (왼쪽) */
.clsSubItem img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    /* 꽉 채움 */
    border-radius: 50%;
    /* 동그란 프로필 */
    flex-shrink: 0;
    /* 이미지가 줄어들지 않도록 */
}

/* 이름(학년) - 초록색 굵은 글씨 (같은 줄) */
.clsNameGreen {
    color: #00D251;
    font-size: 13px;
    font-weight: 600;
    margin-right: 4px;
    /* 이름 뒤 간격 */
}

/* 텍스트 */
.clsSubItem p {
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
    /* 줄간격 최소화 */
    color: #333;
}



/*****************************************
 * 섹션1 스타일
 *****************************************/
#divSection1.clsSection.clsLandingMain {
    margin: 0 auto;
    padding-top: 150px;
    /* 상하 */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Inter', sans-serif;
    margin-bottom: 30px;
    /* 섹션2와의 간격 */
}

/* 헤더 섹션 스타일 */
.clsSection1Header {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.clsGreen-bar {
    width: 50px;
    height: 6px;
    background-color: #01B144;
    margin: 0 auto 15px;
}

.clsSection1Subtitle {
    font-size: 16px;
    color: #333333;
    margin-bottom: 1px;
}

.clsSection1Title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* 대화형 섹션 스타일 - 컨테이너 */
.clsSection1DialogueContainer {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* 각 대화 행 */
.clsDialogueRow {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

/* 흐리게 표시할 행 */
.clsFaded {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

/* 캐릭터 이미지 스타일 */
.clsCharacterLeft,
.clsCharacterRight {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #4CD964;
    flex-shrink: 0;
}

.clsCharacterLeft img,
.clsCharacterRight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 메시지 스타일 */
.clsMessageLeft,
.clsMessageRight {
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 18px 27px;
    max-width: 80%;
}

.clsMessageLeft {
    margin-left: 15px;
}

.clsMessageRight {
    margin-right: 15px;
}

.clsMessageLeft p,
.clsMessageRight p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

/* 점 표시 스타일 - 수직 정렬 */
.clsSection1Dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.clsDot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 5px 0;
    /* 세로 간격 */
}

/* 왼쪽/오른쪽 레이아웃 설정 */
.clsDialogueRow:nth-child(odd) {
    justify-content: flex-start;
}

.clsDialogueRow:nth-child(even) {
    justify-content: flex-end;
}


/*****************************************
 * 섹션2 스타일
 *****************************************/

#divSection2 {
    width: 100%;
    padding: 60px 20px;
    /* Added horizontal padding for PC */
    position: relative;
}

#divSection2 .clsQuestion {
    text-align: center;
    /*margin-bottom: 10px;*/
}

#divSection2 .clsQuestion p {
    font-size: 18px;
    color: #000;
}

#divSection2 .clsAnswer {
    text-align: center;
    margin-bottom: 40px;
}

#divSection2 .clsAnswer h2 {
    font-size: 28px;
    font-weight: bold;
    color: #2ecc71;
    margin-top: -10px;
}

#divSection2 .clsMethodTitle .clsGreen-bar {
    height: 5px;
    width: 50px;
    background-color: #2ecc71;
    margin-bottom: 0px;
    margin-left: 0;
    /* 왼쪽 마진을 0으로 설정 */
    margin-right: auto;
    /* 오른쪽 마진을 자동으로 설정 */
}

.clsLearningMethod {
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 30px;
    /* Increased padding for PC */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 1100px;
    /* Set max-width for PC to create side margins */
    margin: 0 auto;
    /* Center the element */
    display: flex;
    flex-direction: row;
    /* align-items: center; OLD, changed in previous step */
    align-items: stretch;
    /* Align items to stretch to container height */
}

.clsMethodLeft {
    width: 30%;
    padding-right: 20px;
}

.clsMethodTitle {
    margin-bottom: 15px;
}

.clsMethodTitle h3 {
    font-size: 25px;
    font-weight: bold;
    color: #000;
    line-height: 1.1;
}

#imgZoom {
    height: 25px;
    margin-left: 5px;
    vertical-align: middle;
}

.clsMethodDesc {
    /*border: 1px solid #2ecc71;*/
}

.clsMethodDesc p {
    font-size: 14px;
    line-height: 1.3;
    color: #555;
    font-weight: bold;
}

.clsMethodSteps {
    display: flex;
    justify-content: space-between;
    width: 70%;
    /* Adjusted for PC */
    margin-bottom: 0;
    /* Removed bottom margin for PC, steps are inside */
    align-items: stretch;
    /* Make all .clsStep children same height */
}

.clsStep {
    text-align: center;
    width: 23%;
    /* Adjusted for 4 steps on PC with space-between */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clsStepContainer {
    background-color: #fff;
    border-radius: 10px;
    /* padding: 15px 0px; USER EDIT: 15px top/bottom, 0 left/right */
    padding: 0 0 15px 0;
    /* Top 0, Right 0, Bottom 15px, Left 0 for PC top alignment */
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    /* Removed top margin, spacing handled by parent */
    flex-grow: 1;
    /* Allow container to grow to fill .clsStep height */
}

.clsStepNumber {
    font-size: 15px;
    color: #555;
    margin: 10px 0px;
    font-weight: 500;
}

.clsStepImg {
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.clsStepImg img {
    max-width: 100%;
    max-height: 100%;
}

.clsStepTitle {
    background-color: #2ecc71;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 5px;
    white-space: nowrap;
    min-height: 36px;
    /* Ensure consistent button height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/*
@media (max-width: 768px) {
    .clsMethodSteps {
        flex-wrap: wrap;
    }

    .clsStep {
        width: 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .clsStep {
        width: 100%;
    }

    .clsMethodTitle h3 {
        font-size: 18px;
    }

    .clsMethodDesc p {
        font-size: 14px;
    }
}
*/


/*****************************************
 * 섹션3 스타일
 *****************************************/

#divSection3.clsSection {
    margin: 0 auto;
    padding: 60px 0;
    /* 상하 여백 */
    margin-bottom: 50px;
    /* 아래쪽 */
    box-sizing: border-box;
    text-align: center;
    /* 텍스트 중앙 정렬 (질문, 답변, 버튼 등) */
    background-color: #000000;
    /* 버튼이 섹션 범위를 벗어나도 보이도록 */
    position: relative;
    overflow: visible;
    /*border: 1px solid red;*/
}

/* 질문(상단 문구) */
#divSection3 .clsQuestion p {
    font-size: 18px;
    color: #ECFFF3;
    margin: 0 0 15px 0;
    /* 아래 여백 15px */
    font-weight: 500;
}

/* 답변(중간 큰 제목) */
#divSection3 .clsAnswer h2 {
    font-size: 28px;
    color: #00D251;
    /* Core 강조 색상(초록) */
    margin: 0 0 40px 0;
    /* 아래 여백 40px */
    font-weight: 800;
}

/* Core 이미지 */
.clsCoreImg {
    margin: 0 auto 40px auto;
    /* 아래 여백 40px */
    width: 100%;
    /* 컨테이너 폭에 맞춤 (1280px) */
    /* text-align: center; // 이미 상위에서 center, 필요 시 */
}

/* Core 이미지 내 .full-width (이미지) */
.clsCoreImg-width {
    max-width: 1080px;
    /* 예: 다이어그램 최대 600px */
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* 이미지 자체 중앙 정렬 */
}

/* 버튼 영역 */
.clsButtonContainer {
    position: absolute;
    bottom: -10px;
    /* 섹션 하단에서 -20px 내려가게 (오버랩) */
    left: 50%;
    transform: translateX(-50%);
    /* 수평 중앙 정렬 */
}

/* 버튼 스타일 (배경 흰색, 초록 글씨) */
.clsCoreSectionBtn {
    background-color: #fff;
    /* 흰색 배경 */
    color: #00D251;
    /* 초록 텍스트 */
    font-size: 1rem;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 1px solid #333;
}

/* 호버 시 배경/글씨 색상 반전 */
.clsCoreSectionBtn:hover {
    background-color: #00D251;
    color: #fff;
    border-color: #00D251;
    /* 호버 시 테두리 색상도 변경 */
}

.clsCoreSectionBtn:active {
    background-color: #00b23e;
    transform: scale(0.98);
}


/*****************************************
 * 섹션4 스타일
 *****************************************/
#divSection4.clsSection.clsLandingMain {
    /* 배경: 왼→오른쪽 연한 연두색 → 연한 초록색 */
    background: linear-gradient(to right, #9fe0a2, #c6f098);
    margin: 0 auto;
    padding: 60px 0;
    /* 상하 여백 */
    box-sizing: border-box;
    text-align: center;
    /* 텍스트 중앙 정렬 */
    position: relative;
    /* 자식 절대 배치(.clsPointingImg) 위해 */
}

/* 질문(상단 문구) */
#divSection4 .clsQuestion p {
    font-size: 20px;
    color: #666;
    margin: 0 0 15px;
    font-weight: 400;
}

/* 답변(중간 큰 제목) */
#divSection4 .clsAnswer h2 {
    font-size: 32px;
    color: #00D251;
    margin: 0 0 40px;
    font-weight: 700;
}

/* 결과 이미지 래퍼 */
.clsResultImg {
    margin: 0 auto 40px auto;
    width: 100%;
    /* text-align: center; // 이미 상위에서 center */
}

/* 결과 이미지 크기 조정 */
.clsResultImg-width {
    max-width: 600px;
    /* 다이어그램 최대 폭 */
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/*****************************************
 * 오른쪽 하단 포인팅 캐릭터
 *****************************************/
.clsPointingImg {
    position: absolute;
    /* 섹션 내부에서 절대 배치 */
    bottom: -40px;
    right: 0px;
    width: 300px;
    /* 캐릭터 이미지 크기 (임의) */
    height: auto;
    /* z-index 필요 시 9999 등으로 올릴 수 있음 */
}

.clsPointingImg img {
    width: 100%;
    height: auto;
    display: block;
}


/*****************************************
 * 섹션5 스타일
 *****************************************/
#divSection5 {
    padding: 50px 20px;
}

.clsContainer {
    max-width: 800px;
    margin: 0 auto;
}

.clsRow {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Introduction Box */
#divCurriculumIntro {
    flex: 1;
    padding: 30px 0;
}

#divCurriculumIntro h2 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
}

.clsSubtitle {
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    margin: 0;
}

/* Card Styles */
.clsCardBox {
    flex: 1;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.clsBlackCard {
    background-color: #000;
    color: white;
    flex: 2;
    /* Makes black card twice as wide */
}

.clsGreenCard {
    background-color: #00aa44;
    color: white;
}

.clsCardBox h3 {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 30px;
}

/* Shapes */
.clsShapeContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
    margin-top: auto;
}

.clsShape {
    background-color: white;
}

.clsCircle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.clsSmallCircle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.clsSquare {
    width: 40px;
    height: 40px;
}

.clsRoundedSquare {
    width: 40px;
    height: 40px;
    border-radius: 15px;
}

.clsWavySquare {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    position: relative;
}

.clsWavySquare::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 0;
    height: 100%;
    width: 16px;
    background: repeating-linear-gradient(to bottom, white 0px, white 5px, transparent 5px, transparent 10px);
}

/* More Button */
.clsMoreBtn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .clsRow {
        flex-wrap: wrap;
    }

    #divCurriculumIntro {
        flex: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .clsContainer {
        display: flex;
        flex-direction: column;
    }

    .clsRow {
        flex-direction: column;
        margin-bottom: 0;
    }

    #divCurriculumIntro {
        order: 0;
        margin-bottom: 20px;
    }

    #divElementary,
    #divMiddle,
    #divHigh,
    #divAdult,
    #divCurriculumFinder {
        margin-bottom: 20px;
    }

    /* Mobile order */
    #divElementary {
        order: 1;
    }

    #divMiddle {
        order: 2;
    }

    #divHigh {
        order: 3;
    }

    #divAdult {
        order: 4;
    }

    #divCurriculumFinder {
        order: 5;
    }

    .clsCardBox {
        min-height: 180px;
    }
}

/*****************************************
 * 섹션6 스타일
 *****************************************/
#divSection6 {
    position: relative;
    padding: 60px 20px;
    margin: 0 auto;
}

/* Slick 컨테이너 */
#divBestReviewSlide {
    background-color: #EEEEEE;
    /* (추가) 가로 여백 주고 싶다면:
     margin: 0 20px; 
     or .slick-list { margin: 0 20px; } 
  */
}

/* 녹색 바 & 타이틀 */
#divSection6 .clsGreen-bar {
    position: absolute;
    right: 30px;
    width: 60px;
    height: 6px;
    background-color: #00c73c;
}

#divSection6 .clsTitle {
    text-align: right;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
}

/* 슬라이드 아이템 = .clsReviewContainer */
.clsReviewContainer {
    /* slick가 각 .clsReviewContainer를 슬라이드 아이템으로 인식 */
    /* 굳이 display:flex;는 불필요. 
     Slick가 width 계산해서 배치하므로, we can set a width or max-width if we want. */
    width: 320px;
    margin: 0 auto;
    /* 각 카드 가운데 정렬 (optional) */
    box-sizing: border-box;
    border-radius: 50px;
}

/* 카드 본체 */
.clsReviewItem {
    position: relative;
    padding: 10px !important;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    display: flex;
    /* Added for consistent height */
    flex-direction: column;
    /* Added for consistent height */
    height: 400px;
    /* Added for consistent height - adjust as needed for PC */
}

/* 리뷰어 정보 */
.clsReviewerInfo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-shrink: 0;
    /* Added for consistent height */
}

#imgReviewer {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    /* 잘리는 부분 없이 꽉 채움 */
    margin-right: 15px;
}

.clsReviewerName {
    font-weight: bold;
    margin-bottom: 5px;
}

.clsReviewerIntro {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

/* 후기 본문 */
.clsReviewContent {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    /* height: 200px; Removed for consistent card height, replaced by flex-grow */
    overflow: hidden;
    flex-grow: 1;
    /* Added for consistent height */
}

.clsReviewContent p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

/* 페이드 오버레이 */
.clsFadeOverlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

/* 더보기 버튼 */
#divSection6 .clsMoreBtn {
    position: relative;
    width: 50%;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00c73c;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
    z-index: 2;
    text-decoration: none;
    /* Added to remove underline */
}

/* Slick가 각 .clsReviewContainer를 슬라이드로 인식, 
   카드 간 간격을 주려면 .slick-slide 패딩/마진을 사용 */
#divSection6 .slick-slide {
    margin: 10px 10px !important;
    /* 상하 좌우 10 10 */
}



/*****************************************
 * 섹션7 스타일 - FAQ
 *****************************************/
#divSection7.clsMainFaq {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

#divSection7 .clsTitle {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* FAQ 메뉴 */
.clsFaqMenu {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.clsFaqMenu span {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.clsFaqMenu .clsActive {
    color: #00c73c;
    position: relative;
}

.clsFaqMenu .clsActive::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00c73c;
}

/* FAQ 아이템 */
.clsFaqList {
    border-top: 1px solid #ddd;
}

.clsFaqItem {
    margin-bottom: 10px;
    border-bottom: 0px solid #ddd;
}

#divSection7 .clsQuestion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    background-color: #EEEEEE;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#divSection7 .clsQuestion p {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

/* 화살표 아이콘 */
.clsArrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    display: block;
    flex-shrink: 0;
}

/* 활성화된 질문의 화살표 */
.clsFaqItem.active .clsArrow {
    transform: rotate(-135deg);
}

/* 답변 영역 (기본적으로 숨김) */
#divSection7 .clsAnswer {
    display: none;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    margin-top: -5px;
}

.clsAnswer p {
    margin: 0 0 10px 0;
    line-height: 1.6;
    color: #555;
}

.clsAnswer p:last-child {
    margin-bottom: 0;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .clsQuestion p {
        font-size: 15px;
        padding-right: 20px;
    }
}


/*****************************************
 * 섹션8 스타일 
 *****************************************/
#divSection8 {
    padding: 60px 0;
    margin-bottom: 100px;
    position: relative;
}

#divCta {
    position: relative;
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

#imgArrow {
    position: absolute;
    top: -20px;
    left: 5%;
    width: 200px;
    height: auto;
    z-index: 2;
}

#divSpeechBubble {
    background-color: #000000;
    border-radius: 16px;
    width: 100%;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* 말풍선 삼각형 부분 (오른쪽 아래) */
#divSpeechBubble:after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 120px;
    border-width: 20px 0 0 20px;
    border-style: solid;
    border-color: #000000 transparent transparent transparent;
}

#divCtaContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.clsCtaTitle {
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00FF88;
    line-height: 1.4;
}

.clsCtaDescription {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: white;
}

#btnCtaAction {
    background-color: #00ffaa;
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#btnCtaAction:hover {
    background-color: #00cc88;
}

#imgMan {
    position: absolute;
    bottom: -150px;
    right: 0;
    height: 150px;
    width: auto;
    z-index: 3;
}

@media (max-width: 768px) {
    #divSpeechBubble {
        padding: 30px 15px;
    }

    .clsCtaTitle {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .clsCtaDescription {
        font-size: 13px;
        margin-bottom: 20px;
    }

    #btnCtaAction {
        padding: 10px 20px;
        font-size: 9px;
    }

    #imgArrow {
        width: 90px;
        top: -10px;
    }

    #imgMan {
        bottom: -100px;
        height: 100px;
    }

    #divSpeechBubble:after {
        right: 80px;
        border-width: 15px 0 0 15px;
        bottom: -15px;
    }
}

/* 푸터 스타일 */
#divFooter {
    background-color: #222222;
    color: #999999;
    padding: 0;
}

/* 푸터 상단 영역 - 메뉴와 소셜 링크 */
#divFooterTop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 1px solid #333333;
}

.clsFooterMenu {
    display: flex;
    gap: 20px;
}

.clsFooterLink {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.clsFooterLink:hover {
    color: #00FF88;
}

.clsFooterSocial {
    display: flex;
    gap: 15px;
}

.clsSocialLink img {
    width: 50px;
    height: auto;
    transition: opacity 0.3s;
}

.clsSocialLink:hover img {
    opacity: 0.7;
}

/* 푸터 하단 영역 - 회사 정보와 로고 */
#divFooterInfo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
}

.clsCompanyInfo {
    flex: 1;
    font-size: 12px;
    line-height: 1.8;
}

.clsInfoLine {
    margin: 0;
    color: #999999;
}

.clsFooterLogo {
    margin-left: 40px;
}

.clsFooterLogo img {
    width: 100px;
    height: auto;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    #divFooterTop {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .clsFooterMenu {
        width: 100%;
        justify-content: center;
    }

    #divFooterInfo {
        flex-direction: column-reverse;
        text-align: center;
        padding: 20px;
    }

    .clsCompanyInfo {
        margin-top: 20px;
        font-size: 11px;
    }

    .clsFooterLogo {
        margin-left: 0;
        margin-bottom: 10px;
    }
}


/* 상단으로 가기 clsMoveTopBtn */
.clsMoveTopBtn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(34, 139, 34);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(144, 238, 144, 0.3);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    display: none;
}

.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: white;
}


/* ----- 여기까지가 PC (데스크톱) 기본 스타일 ----- */

/*****************************************
 태블릿 (768px ~ 1024px)
 *****************************************/
@media (max-width: 1024px) and (min-width: 768px) {

    /* ----- 헤더 영역 ----- */
    /* 로고 크기 조금 줄임 */
    #imgLogo.clsImg {
        width: 45px;
        height: 45px;
    }

    /* 메뉴 폰트/버튼 조금 축소 */
    #ulMenu.clsMenu li a {
        font-size: 14px;
    }

    a.btn.clsBtnRegister {
        font-size: 18px;
        padding: 0.4rem 1.2rem;
    }

    /* 헤더 여백 조정 */
    #divLogo.clsLogo {
        margin-left: 1rem;
    }

    .clsRegister {
        margin-right: 1rem;
    }

    #navMobileSite {
        display: none;
    }

    /* ----- 메인 영역 ----- */

    /* ------------------------------------------------
       메인 슬라이드 스타일 (모든 슬라이드)
     ------------------------------------------------*/

    /* 슬라이드 높이 / 패딩 조절 */
    .clsDivMainSlides {
        /* 예: 높이를 조금 줄이고, 패딩 축소 */
        max-height: 360px;
        /* 기존 427px → 360px */
    }

    .clsDivMainSlides:nth-child(2) {
        /* TED 부분 */
        /* 태블릿 이하에서는 패딩을 없애거나 축소 */
        /*padding: 40px 40px;*/
    }

    /* 슬라이드 텍스트 (제목, 부제목) 축소 */
    /* 1~5 슬라이드 공통 제목 크기 ↓ */
    #divFirstSlideTitle,
    #divSecondSlideTitle,
    #divThirdSlideTitle,
    #divFourthSlideTitle,
    #divFifthSlideTitle,
    #divSixthSlideTitle {
        font-size: 28px;
        /* 원래 35~36px → 28px */
        line-height: 1.3;
        /* 줄 간격 약간 조정 */
    }

    /* 공통 부제목 크기 ↓ */
    #divFirstSlideSubTitle,
    #divSecondSlideSubTitle,
    #divThirdSlideSubTitle,
    #divFourthSlideSubTitle,
    #divFifthSlideSubTitle,
    #divSixthSlideSubTitle {
        font-size: 16px;
        /* 원래 18px → 16px */
    }

    /* 각 슬라이드의 왼쪽 텍스트 래퍼 마진 ↓ */
    /*#divLeftTexts, 구조 변경으로 margin-left 제외! */
    #divLeftTexts2,
    #divLeftTexts3,
    #divLeftTexts4,
    #divLeftTexts5,
    #divLeftTexts6 {
        margin-top: 20px;
        /* 원래 40~80px → 20px */
        margin-left: 20px;
        /* 원래 50px 등 → 20px */
        max-width: 60%;
        /* 텍스트 폭을 60%로 변경 */
    }

    /* 이미지 크기 ↓ (아이패드, TED, 소녀, 화상수업 등) */
    #imgIpad,
    #imgTed,
    #imgGirl,
    #imgClass,
    #imgClass2 {
        max-width: 280px;
        /* 원래 400px 등 → 280px */
    }

    /* ------------------------------------------------
       슬라이드별 추가 조정 (예: 2번 슬라이드)
     ------------------------------------------------*/

    /* 1번째 슬라이드 예외 처리 */
    .clsDivMainSlides:nth-child(1) {
        /* 중앙 정렬 유지 */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 360px;
        /* 다른 슬라이드와 일관성 유지 */
    }

    /* 1번째 슬라이드의 텍스트 래퍼는 중앙 정렬 유지 */
    .clsDivMainSlides:nth-child(1) #divSlideTextWrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        margin-top: -40px;
        /* 태블릿에 맞게 조정 */
    }

    /* 1번째 슬라이드의 텍스트 묶음은 중앙 정렬 유지 */
    .clsDivMainSlides:nth-child(1) #divLeftTexts {
        max-width: 100%;
        /* 태블릿에서는 더 넓게 */
        text-align: center;
    }

    /* 1번째 슬라이드의 제목 및 부제목은 중앙 정렬 유지 */
    .clsDivMainSlides:nth-child(1) #divFirstSlideTitle,
    .clsDivMainSlides:nth-child(1) #divFirstSlideSubTitle {
        text-align: center;
    }

    /* 1번째 슬라이드의 버튼 위치 조정 */
    .clsDivMainSlides:nth-child(1) #divMoreInfo {
        bottom: 15px;
        /* 태블릿에서는 살짝 위로 */
    }

    /* 1번째 슬라이드의 네비게이션 위치 조정 */
    .clsDivMainSlides:nth-child(1) .clsCustomSlideNav {
        bottom: 55px;
        left: 60px;
        /* 태블릿에서는 조금 더 왼쪽으로 */
    }

    /* 7번째 슬라이드 - 2~6번과 동일한 공통 규칙 사용 (개별 규칙 제거) */


    .clsDivMainSlides:nth-child(2) {
        /* padding: 10px 20px; 2번 슬라이드: 예시로 padding을 조금 더 줄임 */
    }

    .clsDivMainSlides:nth-child(2) #imgSchoolBadge {
        position: absolute;
        top: 40px;
        /* 적절히 조정 */
        left: 50px;
        /* 적절히 조정 */
        width: 70px;
        /* 뱃지 크기 */
    }

    #divLeftTexts2 {
        /* margin-top: 30px; 살짝 여백 다르게 하고 싶다면 */
    }


    /* 3번쨰 슬라이드 coretalking */
    .style_CoreTalking {
        font-size: 28px;
    }

    /* 세 번째 슬라이드: 제목 */
    #divThirdSlideTitle {
        margin-bottom: 15px;
    }

    /* 4번째 슬라이드: 제목 */
    #divFourthSlideTitle {
        margin-bottom: 20px;
    }


    /*****************************************
 * 서브 슬라이드 리뷰 부분 subslide
 *****************************************/
    /* 아이템 내 이미지 (왼쪽) */
    .clsSubItem img {
        width: 35px;
        height: 35px;
        object-fit: cover;
        /* 꽉 채움 */
        border-radius: 50%;
        /* 동그란 프로필 */
        flex-shrink: 0;
        /* 이미지가 줄어들지 않도록 */
    }

    /* 이름(학년) - 초록색 굵은 글씨 (같은 줄) */
    .clsNameGreen {
        color: #00D251;
        font-size: 11px;
        font-weight: 600;
        margin-right: 4px;
        /* 이름 뒤 간격 */
    }

    /* 텍스트 */
    .clsSubItem p {
        margin: 0;
        font-size: 10px;
        line-height: 1.2;
        /* 줄간격 최소화 */
        color: #333;
    }

    /* Section2 학습단계 부분*/
    .clsMethodSteps {
        flex-wrap: wrap;
    }

    .clsStep {
        width: 45%;
        margin-bottom: 20px;
    }
}


/*****************************************
모바일 (767px 이하)
 *****************************************/
@media (max-width: 767px) {

    /* 헤더 부분 */
    #headerSite.clsHeader {
        border-radius: 2rem;
        /* Consistent rounded border for mobile (closed state) */
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        /* Adjusted shadow for mobile */
        /* background-color: #F4F4F4; Already set in base .clsHeader */
    }

    /* 헤더가 열렸을 때는 아래쪽 radius 없애기 + Ensure visibility */
    #headerSite.clsHeader.clsHeaderOpen {
        border-radius: 2rem 2rem 0 0;
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
        /* Adjusted shadow for open menu */
        max-height: 150px;
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        transition: max-height 0.3s ease-in-out,
            opacity 0.3s ease-in-out,
            transform 0.3s ease-in-out,
            visibility 0s linear 0s,
            border-radius 0.1s linear 0s,
            /* Apply border-radius change immediately */
            box-shadow 0.3s ease-in-out;
    }

    /* 로고 크기 */
    #imgLogo.clsImg {
        width: 40px;
        height: 40px;
    }

    /* 메뉴 숨김 */
    #navSite.clsNav {
        display: none;
        /* 모바일에서 숨김 */
    }

    #ulMenu.clsMenu {
        display: none;
    }

    /* 햄버거 아이콘 보이기 */
    .clsHamburgerMenu {
        display: block;
    }

    /* 버튼 크기 더 축소 */
    a.btn.clsBtnRegister {
        font-size: 16px;
        padding: 0.3rem 1rem;
    }

    /* 헤더 내부 여백 축소 */
    #divLogo.clsLogo {
        margin-left: 0.5rem;
    }

    .clsRegister {
        margin-right: 0.5rem;
    }


    /*******************/


    /* ----- 메인 영역 ----- */

    /* ------------------------------------------------
       메인 슬라이드 스타일 (모든 슬라이드)
     ------------------------------------------------*/

    /* 전역 슬라이드 컨테이너 */
    .clsDivMainSlides {
        /* max-height: none; PC/태블릿에서 강제했던 높이 해제 */
        /* 일관된 높이 보장: 가장 긴 슬라이드에 맞게 */
        min-height: 500px !important;
        /* 예: 550px, 필요 시 조정 */
        overflow: hidden;
        /* 내용 초과 시 잘릴지, scroll로 보일지 결정 */
        border-radius: 2rem;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
        border-bottom: 1px solid rgba(0, 0, 0, 0.12);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08), 0 -2px 3px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(0, 0, 0, 0.02);
        margin: 0.5rem 0.5rem;
        /***** 상하/좌우 여백 메인 양 옆 테블릿(초기)은 1.5rem 모바일  0em *****/
        padding: 1rem;
        padding: 40px;
        /* 패딩도 조금 축소(예시) */
    }

    /* 1) 전 슬라이드 이미지 오른쪽 붙이기 (배경은 왼쪽 텍스트) */
    #divIpadWrap,
    /*#divTedWrap,*/
    #divGirlWrap,
    #divClassImageWrap,
    #divClassImageWrap2 {
        display: flex;
        max-width: 50%;
        /* margin-left: -80px;  오른쪽에 붙이기 */
        margin-top: 150px;
        /* 원하는 만큼 아래로 내림 (예: 40px) */
        display: flex;
        align-items: flex-start;
        /* 이미지 상단 기준 align-items: center; 등 조정 가능 */
    }

    /* 2) 2번 슬라이드 패딩 통일 */
    .clsDivMainSlides:nth-child(2) {
        /*padding: 40px 40px;*/
    }

    /* -------------------- */
    /*슬라이드 배경 모바일 배경으로 변경 1,3,4,5번 250402*/

    /* 1 첫번째 슬라이드 배경(모바일) */
    .clsDivMainSlides:nth-child(1) {
        /*코어 오각형 실용 시험*/
        background: url("contents/img/slide_img_CoreMain_mobile.png") no-repeat center center;
        background-size: cover;
    }

    .clsDivMainSlides:nth-child(3) {
        /* 3번째 Core Talking */
        background: url("Contents/img/slide_Img_coreTwithF_mobile.png") no-repeat center bottom !important;
        background-size: cover !important;
    }

    .clsDivMainSlides:nth-child(4) {
        /* 4번째 Core Grammar */
        background: url("contents/img/slide_Img_pad_mobile.png") no-repeat center center;
        background-size: cover;
    }

    .clsDivMainSlides:nth-child(5) {
        /* 5번째 TED */
        background: url("contents/img/slide_Img_ted_mobile.png") no-repeat center center;
        background-size: cover;
    }


    /*
        .clsDivMainSlides:nth-child(5) {
            /* 같은 높이를 가지되, 배경위치/크기 재조정 
            background-position: center center !important; /* 4번째 슬라이드: 배경이미지가 잘리는 문제 방지 
            background-size: cover !important;
            /* 만약 이미지가 너무 잘리면 contain이나 top center로 조정 
            /* background-size: contain; background-position: center top; 
        }
        */



    /* 슬라이드 텍스트+이미지 래퍼 (#divSlideTextWrap 등) 세로 배치 */
    #divSlideTextWrap,
    #divSlideTextWrap2,
    #divSlideTextWrap3,
    #divSlideTextWrap4,
    #divSlideTextWrap5,
    #divSlideTextWrap6,
    #divSlideTextWrap7 {
        display: flex;
        flex-direction: row;
        /* 가로 배치 */
        /*flex-direction: column;  텍스트 위, 이미지 아래 */
        align-items: flex-start;
        /* 수직 가운데 정렬 */
        /*align-items: flex-start;*/
        justify-content: flex-start;
        /* 텍스트 왼, 이미지 오른 */
        /*justify-content: flex-start;*/
        gap: 2rem;
        /* 요소 간 간격 */
        width: 100%;
        /* 슬라이드 폭 전체 사용 */
        height: auto;
        /* 높이 자동 */
        padding: 0;
        /* 필요 시 */
    }

    /* 왼쪽 텍스트 래퍼: 폭 100%, 마진 해제 */
    /*#divLeftTexts, 가운데 정렬 위해서 주석처리*/
    #divLeftTexts2,
    #divLeftTexts3,
    #divLeftTexts4,
    #divLeftTexts5,
    #divLeftTexts6,
    #divLeftTexts7 {
        max-width: 60%;
        /*100%*/
        margin: 0 !important;
        z-index: 99;
    }

    #divLeftTexts #divFirstSlideTitle {
        /*max-width: 164px; 모바일 줄바꿈처럼 처리 - off */
        margin: 0 auto;
    }

    /* 제목폰트 더 축소 (예: 기존 35px) */
    #divFirstSlideTitle,
    #divSecondSlideTitle,
    #divThirdSlideTitle,
    #divFourthSlideTitle,
    #divFifthSlideTitle,
    #divSixthSlideTitle,
    #divSeventhSlideTitle {
        font-size: 21px !important;
        /* @@@ 모바일 수정*/
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    /* 부제목 폰트 축소*/
    #divFirstSlideSubTitle,
    #divSecondSlideSubTitle,
    #divThirdSlideSubTitle,
    #divFourthSlideSubTitle,
    #divFifthSlideSubTitle,
    #divSixthSlideSubTitle,
    #divSeventhSlideSubTitle {
        font-size: 12px !important;
        line-height: 1.4;
        /*margin-bottom: 1rem;*/
    }

    #divFirstSlideSubTitle {
        margin-top: 0.5rem;
        /*첫번째 슬라이드 부제목*/
    }

    #divFifthSlideSubTitle {
        margin-bottom: 2.5rem;
    }

    /* 배지 이미지 */
    #imgSchoolBadge {
        position: absolute;
        top: 18px;
        /* 적절히 조정 */
        left: 25px;
        /* 적절히 조정 */
        width: 65px;
        /* 뱃지 크기 */
    }

    #imgwithFBadge {
        position: absolute;
        top: -25px;
        /* 적절히 조정 */
        left: -35px;
        /* 적절히 조정 */
        width: 65px;
        /* 뱃지 크기 */
    }

    #imgLevelupBadge {
        position: absolute;
        left: -10px;
        /* 적절히 조정 */
        width: 65px;
        /* 뱃지 크기 */
    }

    #imgZoomBadge2 {
        /*#imgZoomBadge, */
        position: absolute;
        top: -30px;
        /* 적절히 조정 */
        left: -20px;
        /* 적절히 조정 */
        width: 35px;
        /* 뱃지 크기 */
    }

    /* 3번쨰 슬라이드 coretalking */
    .style_CoreTalking {
        font-size: 18px;
    }

    /* 상세 이미지 크기 조정*/
    #imgIpad,
    #imgTed,
    #imgGirl,
    #imgClass,
    #imgClass2 {
        display: block;
        height: auto;
        max-width: 250px;
        /*margin: 0 auto;*/
        /*margin-left: auto;*/
        /*margin-right: 180px;*/
    }

    #imgTedIcon {
        width: 35px;
    }

    /* "자세히 보기" 버튼도 조금 더 작게 */
    .clsBtnMoreInfo {
        font-size: 14px;
        padding: 0.4rem 1rem;
    }

    /* 슬라이드 네비게이션 (커스텀) */
    .clsCustomSlideNav {
        margin-top: auto;
        /* 텍스트 아래쪽에 배치 */
        justify-content: flex-start;
    }

    /* 네비게이션 내부 아이콘 크기 조금 줄임 */
    .clsCustomSlideNav button img {
        width: 14px;
    }

    .clsCustomSlideNav .btnPause img {
        width: 16px;
    }

    /***************************************/
    /* 모든 슬라이드 프로그레스 바 및 자세히 보기 버튼 가운데정렬 */
    /* 버튼 감싸는 영역 - 절대 위치로 변경 */
    div[id^="divMoreInfo"] {
        position: absolute;
        bottom: 0px;
        /* 하단에서 20px 위 */
        left: 50%;
        /* 가운데 정렬 */
        transform: translateX(-50%);
        /* 가운데 정렬 */
    }


    /* 커스텀 네비게이션 UI - 절대 위치로 변경 */
    .clsDivMainSlides .clsCustomSlideNav {
        position: absolute;
        bottom: 65px;
        left: 50%;
        /*가운데정렬*/
        transform: translateX(-50%);
        /*가운데정렬*/
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 커스텀 네비게이션 UI - 절대 위치로 변경 -> 모든 슬라이드 속성으로 변경 */
    .clsDivMainSlides:nth-child(1) .clsCustomSlideNav {
        position: absolute;
        bottom: 65px;
        left: 50%;
        /*가운데정렬*/
        transform: translateX(-50%);
        /*가운데정렬*/
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 7번째 슬라이드 - 2~6번과 동일한 공통 규칙 사용 (개별 규칙 제거) */
    /* div[id^="divMoreInfo"] 와 .clsDivMainSlides .clsCustomSlideNav 공통 규칙 적용됨 */



    /*****************************************
 * 서브 슬라이드 리뷰 부분 subslide
 *****************************************/

    /* 아이템 내 이미지 (왼쪽) */
    .clsSubItem img {
        width: 35px;
        height: 35px;
        object-fit: cover;
        /* 꽉 채움 */
        border-radius: 50%;
        /* 동그란 프로필 */
        flex-shrink: 0;
        /* 이미지가 줄어들지 않도록 */
    }

    /* 이름(학년) - 초록색 굵은 글씨 (같은 줄) */
    .clsNameGreen {
        color: #00D251;
        font-size: 10px;
        font-weight: 600;
        margin-right: 4px;
        /* 이름 뒤 간격 */
    }

    /* 텍스트 */
    .clsSubItem p {
        margin: 0;
        font-size: 10px;
        line-height: 1.2;
        /* 줄간격 최소화 */
        color: #333;
    }

    /* Section 1 */
    /**************/
    .clsSection1Subtitle {
        font-size: 16px;
        color: #333333;
        margin-bottom: 10px;
    }

    .clsSection1Title {
        font-size: 20px;
        font-weight: 700;
        color: #333;
        margin: 0;
    }

    /* 대화형 섹션 스타일 - 컨테이너 */
    .clsSection1DialogueContainer {
        width: 80%;
    }

    /* 각 대화 행 */
    .clsDialogueRow {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        width: 100%;
    }

    /* 캐릭터 이미지 스타일 */
    .clsCharacterLeft,
    .clsCharacterRight {
        width: 30px;
        height: 30px;
    }

    .clsCharacterLeft img,
    .clsCharacterRight img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 메시지 스타일 */
    .clsMessageLeft,
    .clsMessageRight {
        background-color: #f0f0f0;
        border-radius: 20px;
        padding: 14px 23px;
        max-width: 60%;
    }

    .clsMessageLeft {
        margin-left: 10px;
    }

    .clsMessageRight {
        margin-right: 10px;
    }

    .clsMessageLeft p,
    .clsMessageRight p {
        margin: 0;
        font-size: 13px;
        color: #333;
        line-height: 1.3;
    }

    /* 점 표시 스타일 - 수직 정렬 */
    .clsSection1Dots {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
    }

    .clsDot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #ddd;
        margin: 5px 0;
        /* 세로 간격 */
    }





    /* Section2 학습단계부분 */
    #divSection2 {
        width: 100%;
        padding: 30px 10px;
        /* Adjusted padding for mobile */
        position: relative;
    }

    #divSection2 .clsQuestion {}

    #divSection2 .clsQuestion p {
        font-size: 16px;
        /* Adjusted font size */
    }

    #divSection2 .clsAnswer {
        text-align: center;
        margin-bottom: 40px;
    }

    #divSection2 .clsAnswer h2 {
        font-size: 24px;
        /* Adjusted font size */
    }

    .clsLearningMethod {
        flex-direction: column;
        /* Stack elements on mobile */
        padding: 20px 15px;
        /* Adjusted padding */
        align-items: center;
        /* Center items when stacked */
    }

    .clsMethodLeft {
        width: 100%;
        /* Full width for mobile */
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
        /* Center text content */
    }

    #divSection2 .clsMethodTitle .clsGreen-bar {
        margin: 0 auto 10px auto;
        /* Center green bar */
    }

    .clsMethodTitle h3 {
        font-size: 20px;
        /* Adjusted font size */
    }

    .clsMethodDesc p {
        font-size: 14px;
        /* Adjusted font size */
    }

    .clsMethodSteps {
        flex-wrap: wrap;
        justify-content: space-around;
        /* Space out step items */
        width: 100%;
        /* Full width for mobile */
    }

    .clsStep {
        width: 48%;
        /* Two items per row */
        margin-bottom: 20px;
    }

    .clsStepNumber {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .clsStepImg {
        width: 80px;
        /* Smaller images */
        height: 80px;
        margin-bottom: 8px;
    }

    .clsStepImg img {
        max-width: 100%;
        max-height: 100%;
    }

    .clsStepTitle {
        font-size: 12px;
        /* Smaller font for buttons */
        padding: 7px 13px;
        /* Adjust button padding */
        white-space: normal;
        /* Allow text to wrap */
        min-height: 30px;
        /* Ensure consistent button height */
        line-height: 1.2;
    }

    /* Section 3*/
    /* Core 이미지 내 .full-width (이미지) */
    /* 질문(상단 문구) */
    #divSection3 .clsQuestion p {
        font-size: 13px;
        color: #ECFFF3;
        margin: 0 0 15px 0;
        /* 아래 여백 15px */
        font-weight: 500;
    }

    /* 답변(중간 큰 제목) */
    #divSection3 .clsAnswer h2 {
        font-size: 26px;
        color: #00D251;
        /* Core 강조 색상(초록) */
        margin: 0 0 40px 0;
        /* 아래 여백 40px */
        font-weight: 800;
    }


    /* Core 이미지 내 .full-width (이미지) */
    .clsCoreImg-width {
        width: 100%;
    }

    /* 버튼 스타일 (배경 흰색, 초록 글씨) */
    .clsCoreSectionBtn {
        font-size: 0.8rem;
        padding: 8px 18px;
    }

    /* Section 4*/
    #divSection4.clsSection {}

    /* 질문(상단 문구) */
    #divSection4 .clsQuestion p {
        font-size: 13px;
    }

    /* 답변(중간 큰 제목) */
    #divSection4 .clsAnswer h2 {
        font-size: 26px;
    }

    /* 결과 이미지 래퍼 */
    .clsResultImg {
        width: 80%;
    }

    /* 결과 이미지 크기 조정 */
    .clsResultImg-width {
        max-width: 500px;
        /* 다이어그램 최대 폭 */
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    /*****************************************
 * 오른쪽 하단 포인팅 캐릭터
 *****************************************/
    .clsPointingImg {
        position: absolute;
        /* 섹션 내부에서 절대 배치 */
        bottom: -20px;
        right: 0px;
        width: 200px;
        /* 캐릭터 이미지 크기 (임의) */
        height: auto;
        /* z-index 필요 시 9999 등으로 올릴 수 있음 */
    }

    .clsPointingImg img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/*****************************************
 * 스크롤 페이드 인 효과
 *****************************************/

/* 1) 기본 js-scroll */
.js-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 2) 등장 후 기본은 불투명(opacity: 1) */
.js-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3) 만약 .clsFaded가 함께 있으면 최종 opacity를 0.5로 */
.js-scroll.clsFaded.is-visible {
    /* opacity: 0.5;  반투명 */
}

/*메인 섹션1 말풍선 Fade 처리*/
.js-scroll.clsFromLeftToRight.clsFaded.is-visible {
    opacity: 0.5;
    /* 반투명 */
}

/*메인 섹션1 말풍선 Fade 처리*/
.js-scroll.clsFromRightToLeft.clsFaded.is-visible {
    opacity: 0.5;
    /* 반투명 */
}


/* 왼쪽에서 오른쪽으로 나타나는 효과 */
.js-scroll.clsFromLeftToRight {
    transform: translate(-50px, 50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-scroll.clsFromLeftToRight.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* 오른쪽에서 왼쪽으로 나타나는 효과 */
.js-scroll.clsFromRightToLeft {
    transform: translate(50px, 50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-scroll.clsFromRightToLeft.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* UT-Review 페이지의 비디오 플레이어 모달 기본 숨김 처리 */
#reviewVideoPlayerModal {
    display: none;
}

/* Styles for when mobile menu is active */
body.mobile-menu-active {
    overflow: hidden !important;
    /* Prevents body scroll */
}

body.mobile-menu-active #headerSite.clsHeader {
    /* Ensure header stays visible and on top, overriding .header-hidden */
    max-height: 200px !important;
    /* Match original or a suitable open height */
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    /* Reset any other properties that .header-hidden might set, e.g., padding */
    padding-top: '' !important;
    /* Assuming padding was 0.5rem 0 initially for #divHeaderInner not #headerSite */
    padding-bottom: '' !important;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1) !important;
    /* Match .clsHeaderOpen shadow or a suitable one */
}

/* Ensure the mobile navigation itself is visible */
body.mobile-menu-active #navMobileSite.clsMovileNav {
    display: block !important;
    /* Or flex, depending on its usual display type when open */
}