@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.min.css");


/* ==========================
   RESET
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Pretendard", sans-serif;
    color: #3A2A00; /* 신뢰감 있는 브라운 톤 */
    background: #fff;
}

/* ==========================
   HEADER
=========================== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #e8e6dd;
    z-index: 9999;
}

.nav-inner {
    max-width: 1300px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    width:200px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu ul li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    font-size: 17px;
	font-weight:700;
    color: #3A2A00;
}

/* ==========================
   SUBMENU
=========================== */
.nav-menu ul li {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 140%;
    left: 0;

    min-width: 200px;
    background: #ffffff; 
    padding: 14px 0;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;  
}

.nav-menu ul li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}

.sub-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.sub-menu li a {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500 !important;
    white-space: nowrap;
    display: block;
    color: #3A2A00;
}

.sub-menu li a:hover {
    background: #f8f6f2;
    color: #E74A2F;
}


/* ==========================
   HEADER BACKGROUND IMAGE / SUB
========================== */ 
.hero {
    margin-top: 70px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* 영상 16:9 박스 */
.yt-bg {
    position: relative;
    width: 100%;
    padding-top: 48%; /* 16:9 = 9/16 = 0.5625 */
    background: #ffffff; /* 여백이 보일 때 흰색 (사이트 배경색과 맞춤) */
}

/* 확대 금지 — contain 적용 */
.yt-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);

    object-fit: contain;   /* ❗영상을 확대하지 않음 */
    background: #ffffff;   /* 영상 주변 여백 흰색 */
    pointer-events: none;
}

/* ===========================================
   재생 버튼 + 안내문
=========================================== */
.hero-play-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center; /* 세로 정중앙 */
    align-items: center;     /* 가로 정중앙 */

    text-align: center;
    z-index: 20;
    pointer-events: auto;
}

/* ===== 재생 버튼 ===== */
.play-btn {
    width: 85px;
    height: 85px;
    background: rgba(255,255,255,0.88);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
    animation: pulse 1.8s infinite ease-in-out;
    box-shadow: 0 0 25px rgba(255,255,255,0.45);
}

/* 버튼 안의 재생 아이콘 */
.play-btn::before {
    content: "";
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: 26px solid #ff8c00;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

/* ===== 펄스 효과 ===== */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* ===== 안내 문구 ===== */
.play-caption {
    margin-top: 12px;
    font-size: 18px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    font-weight: 500;
}


/* ===========================================
   라이트박스
=========================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;

    justify-content: center;
    align-items: center;
    animation: fadeIn 0.35s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 900px;
}

.lightbox-content iframe {
    width: 100%;
    height: 55vw; /* 모바일 대응 */
    max-height: 500px;
    background: #000;
    border-radius: 10px;
}

/* 닫기 버튼 */
.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

/* ==========================
   LOGIN / JOIN BUTTON (PC)
=========================== */
.nav-auth ul {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
}

.nav-auth ul li a {
    border: 1px solid #ccc;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    color: #555;
    transition: 0.2s;
}

.nav-auth ul li a:hover {
    background: #3A2A00;
    color: #fff;
    border-color: #3A2A00;
}

.nav-auth .admin-btn {
    background: #ffcf5a;
    border-color: #ffcf5a;
    color: #3A2A00;
    font-weight: 600;
}

 

/* ==========================
   CHARACTER BANNER
=========================== */


.character-banner { 
background: #FFCF5A; /* 부드러운 톤다운 옐로우 */
padding: 120px 20px 140px;
text-align: center;
position: relative;
}

/* 상단 스캘럽 물결 */
.character-banner::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    width: 100%;
    height: 45px;

    background: radial-gradient(circle, #FFCF5A 22px, transparent 23px);
    background-size: 45px 45px;
    background-repeat: repeat-x;

    /* 패턴 시작점을 정확히 가운데로 보정 → 반응형에서도 양 끝이 깔끔하게 맞음 */
    background-position: center bottom;

    z-index: 1;
}



.character-center {
    max-width: 900px;
    margin: 0 auto;
}

.char-title {
    font-size: 40px;
    font-weight: 900;
    color: #3A2A00;
    margin-bottom: 10px;
}

.char-subtitle {
    font-size: 52px;
    font-weight: 900;
    color: #E74A2F; /* 따뜻한 감성 강조컬러 */
    margin-bottom: 25px;
}

.char-desc {
    font-size: 20px;
    color: #4B3A00;
    line-height: 1.6;
    margin-bottom: 50px;
}

.character-img-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.character-img {
    width: 80%;
    max-width: 650px;
    height: auto;
    display: block;
    margin-bottom: 40px;
}

.btn-more {
    background: #ffffff;
    padding: 18px 50px;
    font-size: 20px;
    border-radius: 40px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    color: #245F3C;
    transition: 0.25s ease;
}

.btn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* ==========================
   NAVY DIVIDER → 신뢰배너(그린)
=========================== */
.navy-divider {
    height: 230px;
    background: linear-gradient(135deg, #2B7A4B, #3E9C5C); /* 안정+교육 컬러 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.navy-divider-inner h2 {
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.navy-divider-inner p {
    font-size: 22px;
    color: #E9FFE9;
    opacity: 0.95;
}

/* ==========================
   INTRO SECTION
=========================== */
.intro-section {
    padding: 80px 20px;
    text-align: center;
    background: #FFF4DD; /* 동화적 따뜻함 */
}

.intro-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #3A2A00;
}

.intro-section p {
    font-size: 16px;
    max-width: 800px;
    margin: auto;
    color: #4B3A00;
}

.intro-img {
    margin-top: 40px;
    width: 850px;
    max-width: 90%;
}

/* ==========================
   FEATURE SECTION (3)
=========================== */
.feature-section {
    padding: 80px 20px;
    text-align: center;
    background: #CFF3FF; /* 파스텔 민트블루 */
}

.feature-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #3A2A00;
}

.feature-box-wrap {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-box {
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    overflow: hidden;
    text-align: center;
}

.feature-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.feature-box h3 {
    padding: 15px 0 8px;
    font-size: 18px;
    color: #3A2A00;
}

.feature-box p {
    padding: 0 15px 20px;
    color: #666;
}

/* ==========================
   CURRICULUM SECTION
=========================== */
.curr-section {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
}

.curr-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #3A2A00;
}

.curr-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.curr-item {
    width: 260px;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.curr-item h3 {
    margin-bottom: 10px;
    color: #2B7A4B; /* 교육신뢰 그린 */
}

/* ==========================
   STORY SECTION
=========================== */
.story-section {
    text-align: center;
    background: #F7F2EB; /* 아이보리 톤 */
    padding: 80px 20px;
}

.story-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #3A2A00;
}

.story-img {
    margin-top: 30px;
    width: 850px;
    max-width: 90%;
}

/* ==========================
   GALLERY SECTION
=========================== */
.gallery-section {
    text-align: center;
    padding: 20px 10px;
}

.gallery-grid {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ==========================
   TEACHER SECTION
=========================== */
.teacher-section {
    padding: 80px 20px;
    background: #FFF4DD; /* 따뜻함 */
    text-align: center;
}

.teacher-wrap {
    max-width: 900px;
    margin: auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.teacher-img {
    width: 300px;
    border-radius: 12px;
}

.teacher-info {
    max-width: 400px;
    text-align: left;
    color: #3A2A00;
}

/* ==========================
   REVIEW SECTION
=========================== */
.review-section {
    text-align: center;
    padding: 80px 20px;
}

.review-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #3A2A00;
}

.orange {
    color: #E74A2F;
    font-weight: 700;
}

.review-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.review-card {
    width: 260px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.review-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.review-card h3 {
    padding: 15px;
    font-size: 16px;
    color: #3A2A00;
}

.review-card p {
    padding: 0 15px 20px;
    color: #666;
}

/* ==========================
   CONTACT CTA
=========================== */
.contact-section {
    padding: 80px 20px;
    background: #FFCF5A; /* 부드러운 옐로우 CTA */
    text-align: center;
}

.contact-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #3A2A00;
}

.contact-btn {
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    background: #245F3C;
    color: #ffffff;
    border-radius: 30px;
    cursor: pointer;
}

/* ==========================
   FOOTER
=========================== */

.footer {
    background: #F7F7F7;
    padding: 60px 20px;
    border-top: 1px solid #e6e6e6;
}

.footer-inner {
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

/* 왼쪽 회사 정보 */
.footer-left {
    flex: 1;
    font-size: 15px;
    color: #4A3A20;
}

.footer-logo {
    width: 160px;
    margin-bottom: 15px;
}

.footer-left p {
    margin-bottom: 6px;
    line-height: 1.4;
}

.footer-copy {
    margin-top: 18px;
    font-size: 13px;
    color: #888;
}

/* 중앙 바로가기 */
.footer-middle {
    flex: 1;
}

.footer-middle h4,
.footer-right h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #245F3C;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
}

.footer-middle ul li {
    margin-bottom: 8px;
}

.footer-middle ul li a {
    text-decoration: none;
    color: #3A2A00;
    font-size: 15px;
}

.footer-middle ul li a:hover {
    color: #2B7A4B;
}

/* SNS 아이콘 */
.footer-sns {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}

.sns-btn img {
    width: 28px;
    height: 28px;
    opacity: 0.85;
    transition: 0.2s;
}

.sns-btn img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* 오른쪽 고객센터 */
.footer-right {
    flex: 1;
}

.footer-tel {
    font-size: 30px;
    font-weight: 800;
    color: #245F3C;
    margin-bottom: 10px;
}

.footer-right p {
    font-size: 15px;
    color: #444;
    margin-bottom: 4px;
}

/* 버튼 */
.footer-btn-wrap {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.footer-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 25px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    color: #245F3C;
    text-decoration: none;
    transition: 0.2s;
}

.footer-btn:hover {
    background: #E8F6EA;
    border-color: #2B7A4B;
    color: #2B7A4B;
}

 
/* ================================
   SECTION 기본 레이아웃
================================ */
.content-section {
    width: 100%;
    padding: 100px 0;
    position: relative;
}

.section-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

/* ================================
   이미지
================================ */
.section-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 40px;
    object-fit: cover;
}

/* 곡선이나 변형된 백그라운드 느낌 */
.section-image {
    position: relative;
}

.section-image::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -40px;
    width: 120%;
    height: 120%;
    background: url('<?php echo G5_URL ?>/images/shape_bg.svg') no-repeat center/contain;
    opacity: 0.25;
    z-index: -1;
}

/* ================================
   TEXT
================================ */
.section-text h2 {
    font-size: 36px;
    color: #3A2A00;
    line-height: 1.4;
    font-weight: 900;
    margin-bottom: 25px;
}

.section-text .highlight {
    color: #F6871F; /* 포인트 컬러 */
}

.section-text p {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
    word-break: keep-all;
}

.section-text .strong {
    font-weight: 700;
    color: #E74A2F;
}

 



/* ==========================
   MOBILE LOGIN BAR (두 번째 이미지 형태)
=========================== */
/* ==========================
   MOBILE LOGIN BAR FIXED
=========================== */
@media (max-width: 1024px) {

    /* PC 로그인 버튼 강제 숨김 */
    .nav-auth {
        display: none !important;
    }

    /* 모바일 로그인 영역 */
    .nav-auth-mobile {
        display: flex !important;
        justify-content: flex-start;
        align-items: center;
        background: #2B7A4B;
        padding: 14px 20px;
        width: 100%;
    }

    .nav-auth-mobile ul {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 18px !important;
        width: 100%;
    }

    .nav-auth-mobile ul li {
        border: none !important;
        padding: 0 !important;
    }

    .nav-auth-mobile ul li a {
        color: #fff !important;
        font-size: 15px !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        display: inline-block !important;
    }	
	
	 .section-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .section-text h2 {
        font-size: 28px;
    }

    .section-text p {
        font-size: 16px;
    }

    .section-image img {
        max-width: 400px;
        margin: 0 auto;
    }

}



/* ==========================
   PC : hover 시 서브메뉴 표시
=========================== */
@media (min-width: 901px) {
    .has-sub:hover .sub-menu {
        display: block !important;
        visibility: visible;
        opacity: 1;
    }
	
}

/* ==========================
   MOBILE NAVIGATION
=========================== */
.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #000;
}

@media (max-width: 900px) {

    .mobile-toggle {
        display: block;
    }
 .header {
        height: 90px; /* 실제 UI에 맞춰 조정 가능 */
    }
    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: block;
        width: 100%;
        background: #ffffff;
        position: absolute;
           top: 90px !important;
        left: 0;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 99999;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: left;
        gap: 0;
    }

    .nav-menu ul li {
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
    }

    .sub-menu {
        display: none !important;
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
        background: #f3f2ea;
        border-radius: 0;
        box-shadow: none;
    }

    .has-sub.open .sub-menu {
        display: block !important;
        visibility: visible;
        opacity: 1;
    }

}

/* ==========================
   CHARACTER BANNER — MOBILE
=========================== */
@media (max-width: 768px) {
.gallery-section {
    text-align: center;
    padding: 10px 10px;
}

    .character-banner {
        padding: 80px 20px 100px;
        text-align: center;
    }

    .char-title {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .char-subtitle {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .char-desc {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .character-img {
        width: 90%;
        max-width: 350px;
        margin-bottom: 30px;
    }

    .btn-more {
        padding: 14px 40px;
        font-size: 17px;
        border-radius: 30px;
    }

    /* 상단 물결 패턴 모바일 보정 */
    .character-banner::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    width: 100%;
    height: 45px;

    background: radial-gradient(circle, #FFCF5A 22px, transparent 23px);
    background-size: 45px 45px;
    background-repeat: repeat-x;

    /* 패턴 시작점을 정확히 가운데로 보정 → 반응형에서도 양 끝이 깔끔하게 맞음 */
    background-position: center bottom;

    z-index: 1;
    }
    
 .hero {
    margin-top: 70px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* 영상 16:9 박스 */
.yt-bg {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 = 9/16 = 0.5625 */
    background: #ffffff; /* 여백이 보일 때 흰색 (사이트 배경색과 맞춤) */
}

/* 확대 금지 — contain 적용 */
.yt-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);

    object-fit: contain;   /* ❗영상을 확대하지 않음 */
    background: #ffffff;   /* 영상 주변 여백 흰색 */
    pointer-events: none;
}
}

/* 초소형 디바이스 */
@media (max-width: 480px) {
    .char-title { font-size: 22px; }
    .char-subtitle { font-size: 28px; }
    .char-desc { font-size: 14px; }
	
}

/* ==========================
   NAVY DIVIDER — MOBILE
=========================== */
@media (max-width: 768px) {

    .navy-divider {
        height: 230px;
        padding: 30px 20px;
    }

    .navy-divider-inner h2 {
        font-size: 26px;
        margin-bottom: 6px;
    }

    .navy-divider-inner p {
        font-size: 15px;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .navy-divider {
        height: 230px;
    }

    .navy-divider-inner h2 {
        font-size: 22px;
    }

    .navy-divider-inner p {
        font-size: 14px;
    }
}

/* ==========================
   FINAL MOBILE FOOTER
=========================== */
@media (max-width: 768px) {

    .footer {
        background: #F7F7F7;
        padding: 45px 22px;
        border-top: 1px solid #e6e6e6;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        width: 100%;
    }

    /* 로고 */
    .footer-logo {
        width: 150px !important;
        margin-bottom: 15px;
    }

    /* 회사 정보 */
    .footer-left {
        width: 100%;
        font-size: 15px;
        line-height: 1.55;
        color: #222;
    }

    .footer-left p {
        margin-bottom: 4px;
        font-weight: 500;
    }

    .footer-copy {
        margin-top: 10px;
        font-size: 13px;
        color: #777;
    }

    /* 바로가기 */
    .footer-middle {
        width: 100%;
        margin-top: 10px;
    }

    .footer-middle h4 {
        font-size: 17px;
        color: #245F3C;
        margin-bottom: 14px;
        font-weight: 700;
    }

    .footer-middle ul li {
        margin-bottom: 8px;
    }

    .footer-middle ul li a {
        font-size: 15px;
        color: #245F3C;
    }

    /* SNS */
    .footer-sns {
        margin-top: 12px;
        display: flex;
        gap: 12px;
    }

    .sns-btn img {
        width: 32px;
        height: 32px;
    }

    /* 고객센터 */
    .footer-right {
        width: 100%;
    }

    .footer-right h4 {
        font-size: 17px;
        color: #245F3C;
        margin-bottom: 12px;
    }

    .footer-tel {
        font-size: 28px !important;
        font-weight: 800;
        color: #245F3C;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .footer-right p {
        font-size: 14px;
        margin-bottom: 3px;
        color: #444;
    }

    /* 버튼 — 가로 2개 */
    .footer-btn-wrap {
        margin-top: 20px;
        width: 100%;
        display: flex;
        flex-direction: row !important; 
        gap: 12px;
    }

    .footer-btn {
        flex: 1;
        text-align: center;
        padding: 14px;
        font-size: 15px;
        border-radius: 30px;
        background: #fff;
        border: 1px solid #ccc;
        color: #245F3C;
        font-weight: 600;
        white-space: nowrap;
    }
}

/* 초소형 */
@media (max-width: 480px) {
    .footer {
        padding: 40px 18px;
    }

    .footer-tel {
        font-size: 24px !important;
    }

    .footer-btn {
        padding: 12px;
        font-size: 14px;
    }
}


/*----------------- 도담도담 소개 --------*/

 
/* =====================================
   WRAP & INNER
===================================== */
.dodam_wrap {
    width:100%;
    overflow:hidden;
}
.inner {
    width:100%;
    max-width:1200px;
    padding:0 40px;
    margin:0 auto;
}

/* =====================================
   WAVES (CSS ONLY, NO IMAGES)
===================================== */
.wave_top {
    width: 100%;
    height: 70px;
    position: relative;
}

.wave_top::before {
    content: "";
    position: absolute;
    top:15px;bottom: 0; /* 아래에서 올라오게 */
    left: 0;
    width: 100%;
    height: 70px; 
    background:radial-gradient(circle,#FFCB2F 28px,transparent 29px);
background-size:58px 58px;
    background-repeat: repeat-x;
    background-position: center bottom;

    z-index: 1;
}

/* 노랑 웨이브 BOTTOM */
.wave_bottom::before {
    content:"";
    position:absolute;
    top:-5px;
    left:0;
    width:100%;
    height:140px;
    background:#FFCB2F; 
    transform:translateY(-50%);
}

/* 아이보리 웨이브 */
.wave_top_ivory::before {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:140px;
    background:#fff5e6;
    border-bottom-left-radius:55% 40%;
    border-bottom-right-radius:55% 40%;
    transform:translateY(50%);
}


/* =====================================
   HERO
===================================== */
.sec_hero {
    padding:100px 0 50px;
    background:#fff;
    position:relative;
}
.sec_hero h1 {
    font-size:42px;
    font-weight:900;
    color:#ff9d1f;
    text-align:center;
}
.sec_hero .sub {
    text-align:center;
    margin-top:10px;
    color:#555;
    font-size:17px;
}


/* =====================================
   INTRO (노랑)
===================================== */
.sec_intro {
    background:#ffcb2f;
    padding:80px 0 100px; /* 간격 축소됨 */
    position:relative;
}

.white_card {
    background:#fff;
    padding:30px;
    border-radius:28px;
    box-shadow:0 10px 35px rgba(0,0,0,0.07);
}

.white_card h2 {
    font-size:30px;
    font-weight:900;
    margin-bottom:20px;
}

.white_card p,
.white_card li {
    font-size:17px;
    line-height:1.75;
    margin-bottom:10px;
}

.info_list {
    margin-top:20px;
}


/* 세로형 도담도담 소개 */
.intro_vertical {
    text-align:center;
}

/* 핵심 문장 */
.intro_core {
    font-size:18px;
    line-height:1.6;
    margin-bottom:40px;
    color:#333;
}

.intro_core b {
    font-weight:900;
}

/* 세로 카드 리스트 */
.intro_value_list {
    display:flex;
    flex-direction:column;
    gap:26px;
}

/* 카드 하나 */
.intro_value_item {
    background:#fff4df;
    border-radius:22px;
    padding:32px 24px;
}

/* 카드 제목 */
.intro_value_item h3 {
    font-size:22px;
    font-weight:900;
    margin-bottom:10px;
    color:#222;
}

/* 카드 설명 */
.intro_value_item p {
    font-size:16px;
    line-height:1.6;
    color:#444;
    margin:0;
}

/* 모바일 */
@media (max-width:768px) {
    .intro_core {
        font-size:16px;
    }

    .intro_value_item {
        padding:26px 20px;
    }

    .intro_value_item h3 {
        font-size:20px;
    }
}

/* =====================================
   CEO SECTION
===================================== */
.sec_ceo {
    background:#fff5e6;
    padding:110px 0;
}

.ceo_card {
    background:#fff;
    padding:40px 50px;
    border-radius:28px;
    display:flex;
    gap:40px;
    align-items:flex-start;
    box-shadow:0 10px 35px rgba(0,0,0,0.07);
}

.ceo_photo img {
    width:240px;
    border-radius:22px;
}

.ceo_text h2 {
    font-size:28px;
    font-weight:900;
}

.ceo_text .role {
    margin:6px 0 16px;
    font-weight:700;
	font-size:20px;
    color:#ff9d1f;
}

.ceo_text .desc {
    font-size:16px;
    line-height:1.8;
    white-space:pre-line;
}


/* =====================================
   TEACHERS GRID
===================================== */
.sec_teachers {
    background:#fff;
    padding:90px 0;
}

.center_title {
    text-align:center;
    font-size:30px;
    font-weight:900;
    margin-bottom:40px;
}

.teacher_grid {
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:30px;
}

.teacher_card {
    background:#fff;
    border-radius:20px;
    padding:22px 18px;
    text-align:center;
    box-shadow:0 6px 25px rgba(0,0,0,0.06);
}

.teacher_card img {
    width:100%;
    border-radius:18px;
    margin-bottom:12px;
}

.teacher_card .name {
    font-size:17px;
    font-weight:700;
}

.teacher_card .small {
    font-size:17px;
	 font-weight:700;
    color:#ff9d1f
}


/* =====================================
   RESPONSIVE (반응형)
===================================== */

/* 1024px ↓ */
@media (max-width:1024px) {

    .inner { padding:0 24px; }

    .ceo_card {
        flex-direction:column;
        text-align:center;
        align-items:center;
    }

    .teacher_grid {
        grid-template-columns:repeat(2, 1fr);
    }

}

/* 768px ↓ */
@media (max-width:768px) {

    .sec_hero h1 { font-size:32px; }

    .white_card { padding:32px; }

    .teacher_grid {
        grid-template-columns:repeat(2, 1fr);
        gap:22px;
    }
}

/* 480px ↓ */
@media (max-width:480px) {

    .sec_hero h1 { font-size:26px; }
    .sec_hero .sub { font-size:14px; }

    .white_card { padding:22px; }

    .ceo_photo img { width:180px; }

    .teacher_grid { grid-template-columns:1fr; }
}




/*--------- 프로그램 ----------------*/

/* =====================================
   COMMON WRAP
===================================== */
.dodam_wrap { width:100%; overflow:hidden; }
.inner { width:100%; max-width:1200px; padding:0 40px; margin:0 auto; }

/* =====================================
   WAVE
===================================== */
.program_wave_top {
    width: 100%;
    height: 0px;
    position: relative;
}
.program_wave_top::before {
   content: "";
    position: absolute;
    top:18px;bottom: 0; /* 아래에서 올라오게 */
    left: 0;
    width: 100%;
    height: 70px; 
    background:radial-gradient(circle,#FFCB2F 28px,transparent 29px);
background-size:58px 58px;
    background-repeat: repeat-x;
    background-position: center bottom;

    z-index: 1;
}



/* =====================================
   HERO
===================================== */
.sec_hero {
    padding:100px 0 50px;
    background:#fff;
    text-align:center;
}
.sec_hero h1 { font-size:42px; font-weight:900; color:#ff9d1f; }
.sec_hero .sub { margin-top:10px; color:#555; font-size:17px; }



/* =====================================
   INTRO 2 (이미지 텍스트 기반)
===================================== */
.program_intro2 { padding:80px 0; background:#FFCB2F;	 }
.program_title1 {
    font-size:36px;
    font-weight:900;
	color:#ff9d1f;
    margin-bottom:25px;
    text-align:center;
}
.program_title {
    font-size:36px;
    font-weight:900;
    margin-bottom:25px;
    text-align:center;
}

.program_text {
    font-size:18px;
    line-height:1.7;
    text-align:center;
    margin-bottom:40px;
}
.program_text.small { font-size:16px; }

/* 카드 래퍼 – 세로 한 줄 */
.program_strength_wrap {
    display:flex;
    flex-direction:column;
    gap:26px;
    max-width:720px;
    margin:0 auto;
}

/* 카드 하나 */
.program_strength_card {
    background:#fff4df;
    border-radius:24px;
    padding:34px 28px;
    text-align:center;
}

/* 카드 제목 */
.program_strength_card h3 {
    font-size:22px;
    font-weight:900;
    margin-bottom:10px;
    color:#222;
}

/* 카드 설명 */
.program_strength_card p {
    font-size:16px;
    line-height:1.6;
    color:#444;
    margin:0;
}

.program_font {margin-left:13px;font-size:22px;font-weight:900;}

/* 태블릿 */
@media (max-width:768px) {
    .program_title {
        font-size:28px;
    }

    .program_text {
        font-size:16px;
        margin-bottom:46px;
    }

    .program_strength_card {
        padding:28px 22px;
    }

    .program_strength_card h3 {
        font-size:20px;
    }
}

/* 모바일 */
@media (max-width:480px) {
    .sec_program {
        padding:70px 0 90px;
    }

    .program_title {
        font-size:24px;
    }

    .program_text {
        font-size:15px;
    }

    .program_strength_wrap {
        gap:20px;
    }
}

/* =====================================
 퍼포먼스 그래프 (공백 구조 해결 최종본)
===================================== */
.program_performance_chart {
  padding: 28px 0 52px;     /* 상단 여백 더 줄임 */
  background: #fff;
}

/* 그래프 2열 */
.chart_row {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

/* 개별 그래프 */
.chart_box {
  flex: 1;
  margin: 0;
  padding: 0;
}

/* 질문 문구 */
.chart_question {
  font-size: 18px;
  font-weight: 800;
  text-align:center;
  line-height: 1.35;
  margin: 45px 0 6px 0;        /* 🔥 여기 중요 */
  padding: 0;
}

/* =========================
   그래프 영역 (핵심 수정)
========================= */
.bar_area {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 160px;            /* 🔥 기존 210px → 구조적으로 축소 */
  padding: 0 8px;
  border-bottom: 1px solid #ddd;
  margin: 0 0 12px 0;       /* 아래 여백도 축소 */
  box-sizing: border-box;
}

/* 막대 */
.bar_item {
  flex: 1;
  max-width: 14%;
  margin: 0 4px;
  height: var(--h);
  border-radius: 6px 6px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

/* =========================
   색상
========================= */
.c1 { background:#4f81bd; }
.c2 { background:#c0504d; }
.c3 { background:#9bbb59; }
.c4 { background:#8064a2; }
.c5 { background:#4bacc6; }
.c6 { background:#f79646; }

/* =========================
   범례
========================= */
.chart_legend {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.chart_legend li {
  display: flex;
  align-items: center;
  font-size: 15px;
  margin-bottom: 15px;
}

.chart_legend span {
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border-radius: 3px;
  display: inline-block;
}

/* =========================
   모바일
========================= */
@media (max-width:768px) {
  .program_performance_chart {
    padding: 24px 0 44px;
  }

  .chart_row {
    flex-direction: column;
    gap: 0px;
  }

  .chart_question {
    font-size: 15px;
	text-align:center;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

   .chart_question + .bar_area {
    margin-top: -170px !important;   /* 🔥 여기서 체감 차이 남 */
  }

  .bar_area {
    height: 340px;          /* 🔥 모바일도 구조적으로 줄임 */
    padding: 0 4px;
  }

  .bar_item {
    max-width: none;
    margin: 0 3px;
    font-size: 13px;
  }
}


/* =====================================
   CURRICULUM
===================================== */
.program_curriculum { padding:100px 0; background:#fffcf5; }

.program_week { margin-bottom:60px; }



.program_week_badge {
    display:inline-block;
    padding:8px 18px;
    border-radius:18px;
    color:#fff;
    font-weight:800;
    margin-bottom:15px;
}
.week1 { background:#ff6f4e; }
.week2 { background:#ffa452; }
.week3 { background:#54b05c; }
.week4 { background:#3b7bff; }

.program_week_text {
    font-size:18px;
    margin-bottom:20px;
}

.program_img_grid {
    display:grid;
    grid-template-columns:repeat(1,1fr);
    gap:18px;
}
.program_img_grid img {
    width:100%;margin-top:50px;
    border-radius:30px;
}



/* =====================================
   FEATURES
===================================== */
.program_features { padding:30px 0; background:#fff; }

.program_features_list {
    margin-bottom:35px;
    font-size:18px;
    line-height:1.7;
}



/* =====================================
   PAINT & NATURE
===================================== */
.program_paint,
.program_nature {
    padding:20px 0;
    background:#fff;
}

.program_subtitle {
    font-size:24px;
    font-weight:900;
    text-align:center;
    margin-bottom:12px;
}



/* =====================================
   PERFORMANCE
===================================== */
.program_performance { padding:100px 0; background:#fff5e6; }

.program_info_box {
    background:#fff;
    padding:30px;
    border-radius:22px;
    max-width:600px;
    margin:30px auto;
    line-height:1.7;
}



/* =====================================
   RESPONSIVE
===================================== */
@media (max-width:1024px) {
    .inner { padding:0 24px; }
    .program_strength_wrap { flex-direction:column; }
    .program_img_grid { grid-template-columns:repeat(1,1fr); }
	.program_img_grid img {
    width:100%;margin-top:50px;
    border-radius:10px;
}
}

@media (max-width:768px) {
    .sec_hero h1 { font-size:27px;  }
	.sec_hero .sub {
    text-align:center;
    margin-top:10px;
    color:#555;
    font-size:14px;
}
.center_title {
    text-align:center;
    font-size:19px;
    font-weight:900;
    margin-bottom:40px;
}
    .program_title { font-size:26px; }
}


@media (max-width:480px) {
    .program_img_grid { grid-template-columns:1fr; }
    .program_strength_wrap { gap:12px; }
	.program_img_grid img {
    width:100%;margin-top:50px;
    border-radius:10px;
}
}




/*---------- 선생님 모집 -------------*/

/* =========================================
   RESET
========================================= */
.vote_wrap * {
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
    margin: 0;
    padding: 0;
}

.vote_inner {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
}

/* =========================================
   HERO
========================================= */
.vote_hero {
    background: #FFF7DA;
    padding: 80px 0 100px;
}

.vote_hero_img {
    width: 360px;
    max-width: 100%;
}

.vote_hero {
    display: flex;
    justify-content: center;
}

.vote_hero .vote_inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.vote_hero_text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
}

.vote_hero_text h1 {
    font-size: 42px;
    font-weight: 900;
    color: #FF7A00;
    margin-bottom: 20px;
}

.vote_hero_text p {
    font-size: 17px;
    color: #555;
    line-height: 1.7;
}


/* =========================================
   BENEFIT SECTION
========================================= */
.vote_benefit {
    background: #FAE18B;
    padding: 100px 0;
    text-align: center;
}

.vote_benefit_title {
    font-size: 22px;
    font-weight: 700;
    color: #6B5B30;
    margin-bottom: 5px;
}

.vote_benefit_highlight {
    font-size: 36px;
    font-weight: 900;
    color: #FF7A00;
    margin-bottom: 50px;
}

.vote_benefit_grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.vote_benefit_card {
    background: #fff;
    width: 280px;
    padding: 35px 20px;
    border-radius: 22px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.06);
}

.vote_benefit_card img {
    height: 60px;
    margin-bottom: 15px;
}

.vote_benefit_card h4 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 6px;
}

.vote_benefit_card p {
    font-size: 15px;
    color: #555;
}


/* =========================================
   RECRUIT INFO
========================================= */
.vote_recruit {
    padding: 100px 0;
}

.vote_section_title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 40px;
    color: #333;
}

.vote_table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.06);
}

.vote_table th {
    background: #FFE4B2;
    width: 200px;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    padding: 22px;
    vertical-align: top;
}

.vote_table td {
    padding: 22px;
    background: #fff;
}

.vote_ul li {
    margin-bottom: 8px;
    font-size: 16px;
    color: #555;
}


/* =========================================
   APPLY SECTION
========================================= */
.vote_apply {
    background: #FFF7DA;
    padding: 100px 0;
}

.vote_step_title {
    font-size: 20px;
    font-weight: 800;
    margin: 30px 0 15px;
    color: #444;
}

.vote_step_flow {
    display: flex;
    gap: 50px;
    align-items: center;
    margin: 30px 0;
}

.vote_step_item {
    text-align: center;
}

.vote_step_item p {
    margin-top: 10px;
    font-size: 15px;
}

.circle {
    width: 26px;
    height: 26px;
    border: 4px solid #FF7A00;
    border-radius: 50%;
    display: inline-block;
}

.circle.active {
    background: #FF7A00;
}

.vote_notice {
    margin-top: 30px;
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

.vote_call {
    font-size: 24px;
    font-weight: 900;
    color: #FF7A00;
    margin-top: 10px;
}


/* =========================================
   APPLY BUTTON
========================================= */
.vote_btn_wrap {
    text-align: center;
    padding: 70px 0 100px;
}

.vote_apply_btn {
    display: inline-block;
    background: #FF7A00;
    color: #fff;
    padding: 18px 45px;
    font-size: 22px;
    font-weight: 900;
    border-radius: 15px;
    transition: 0.2s;
}

.vote_apply_btn:hover {
    background: #FF8F20;
}


.vote_benefit_card .vote_icon {
    font-size: 50px;
    color: #FF7A00;
    margin-bottom: 18px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .vote_hero .vote_inner {
        flex-direction: column;
        text-align: center;
    }

    .vote_benefit_grid {
        flex-direction: column;
        gap: 25px;
    }

    .vote_step_flow {
        flex-direction: column;
        gap: 20px;
    }

    .vote_table th {
        width: 140px;
    }
}

@media (max-width: 600px) {

    .vote_inner { padding: 0 20px; }

    .vote_hero_text h1 { font-size: 32px; }

    .vote_benefit_highlight { font-size: 28px; }

    .vote_benefit_card { width: 100%; }

    .vote_section_title { font-size: 26px; }

    .vote_apply_btn {
        font-size: 20px;
        padding: 16px 35px;
    }
}




