@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");


/* gothic a1 폰트 */
@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'GothicA1';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2205@1.0/GothicA1-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}



/* 루트 색상 설정 */

:root {
    --color-primary: #EA5414;  
    --color-secondary: #FF8800;     
    --color-backcolor: #FEF5F1;
}


.sound_only {
    display: none;
}


body {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    color: #212121;
}

@media (max-width: 1023px) {
    #hd.site-hd.is-menu-open {
        background: #fff !important;
        background-color: #fff !important;
        box-shadow: none !important;
    }

    #hd.site-hd.is-menu-open .site-hd__bar {
        background-color: #fff;
    }
}


/* break-keep, letter-spacing 스타일 */

p,
div,
label,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.02rem;
} 


/* span 태그는 상위 태그의 letter-spacing 값을 상속받음 */
span {
    letter-spacing: inherit;
}


/*모바일, 태블릿 뷰에서 lenis 새로고침 중지*/
html,
body {
    overscroll-behavior-y: none;
}

@media (min-width:1024px) {

    html,
    body {
        overscroll-behavior-y: initial;
    }
}



/* 게시판 글쓰기 - 파일 첨부 스타일 */
#bo_w .bo_w_flie .frm_file {padding-left:50px; margin-top:-1px;}


/* 에디터 콘텐츠 내 텍스트, 이미지 정렬 - 에디터에서 설정한 정렬 그대로 반영 */

.editor_content p,
.editor_content div,
#bo_v_con p,
#bo_v_con div {
    margin: 0;
    text-align: inherit;
    font-family: inherit !important;
}

.editor_content img,
#bo_v_con img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}


/* 게시판 본문 첨부 이미지 확대 링크는 이미지 크기만 클릭되도록 제한 */
#bo_v_img a.view_image {
    display: inline-block !important;
    width: auto !important;
    max-width: 100%;
}

#bo_v_img a.view_image img {
    display: block;
}


/* 게시글 상세 우측상단 메뉴 스타일 */

#bo_v_top .bo_v_com {
    margin: 0;
}

/* 게시글 파일첨부, 링크 공통 스타일 */
#bo_v_file h2,
#bo_v_link h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#bo_v_file ul,
#bo_v_link ul {
    margin: 0;
    list-style: none;
}

#bo_v_file li,
#bo_v_link li {
    padding: 15px;
    position: relative;
    margin: 10px 0;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    box-shadow: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 72px;
    gap: 10px;
    font-size: 1rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

#bo_v_file li br,
#bo_v_link li br {
    display: none;
}

#bo_v_file li i,
#bo_v_link li i {
    flex-shrink: 0;
    color: #000;
    font-size: 2.35rem;
    line-height: 1;
    transition: color 0.2s ease;
}

#bo_v_file a,
#bo_v_link a {
    flex: 1;
    min-width: 0;
    display: block;
    text-decoration: none;
    word-wrap: break-word;
    color: #000;
    transition: color 0.2s ease;
}

#bo_v_file a:focus,
#bo_v_file li:hover a,
#bo_v_file a:active,
#bo_v_link a:focus,
#bo_v_link li:hover a,
#bo_v_link a:active {
    text-decoration: underline;
    color: var(--color-primary);
}

#bo_v_file img {
    flex-shrink: 0;
    margin: 0 10px 0 0;
}

#bo_v_file .bo_v_file_cnt,
#bo_v_link .bo_v_link_cnt {
    color: #000;
    font-size: 0.92em;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
    transition: color 0.2s ease;
}

#bo_v_file li:hover,
#bo_v_link li:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

#bo_v_file li:hover i,
#bo_v_link li:hover i {
    color: var(--color-primary);
}

#bo_v_file li:hover .bo_v_file_cnt,
#bo_v_link li:hover .bo_v_link_cnt {
    color: var(--color-primary);
}





/* 체크박스 체크 시 색상 변경 */

input[type="checkbox"] {
    accent-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked+label span {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="checkbox"]+label:hover {
    color: var(--color-primary) !important;
}


/* input, select, textarea focus 시 파란색 outline 제거 및 색상 변경 */
input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

input[type="text"]:focus-visible,
input[type="password"]:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

select:focus,
select:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}

textarea:focus,
textarea:focus-visible {
    outline: none !important;
    box-shadow: none;
    border: 1px solid var(--color-primary) !important;
}


/*캡챠 오버라이딩*/
#captcha {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;
    position: relative;
}

#captcha .captcha_box {
    color: #000;
}

#captcha legend,
#captcha legend label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: 0 !important;
}

#captcha #captcha_mp3,
#captcha #captcha_reload {
    font-size: 0;
    line-height: 0;
    color: transparent;
    text-indent: 0;
    overflow: hidden;
}

#captcha #captcha_mp3 span,
#captcha #captcha_reload span {
    display: none;
}

@media screen and (max-width: 1023px) {
    .is_captcha_use {
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        word-break: keep-all;
    }

    .is_captcha_use__label {
        display: block;
        margin-bottom: 8px;
    }

    #captcha {
        flex-wrap: wrap;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    #captcha audio,
    #captcha.m_captcha audio {
        display: block;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        height: 40px;
    }

    #captcha_img {
        display: block;
        width: auto;
        max-width: 100% !important;
        height: 60px;
        margin: 0 auto;
        object-fit: contain;
        flex: 0 0 100%;
    }

    #captcha_key {
        display: inline-block;
        flex-shrink: 0;
        height: 40px !important;
        max-width: calc(100% - 56px);
        box-sizing: border-box;
    }

    #captcha_reload {
        display: inline-block;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        overflow: hidden;
    }

    #captcha #captcha_info {
        display: block;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
        letter-spacing: -0.02em;
        line-height: 1.5;
        text-align: center;
        padding: 0 4px;
    }
}

/* 공지사항 목록 테이블 */
#bo_list .notice-list table {
    border-collapse: collapse;
    border: 1px solid #eaeaea;
}

#bo_list .notice-list thead th {
    border: 1px solid #e4e6e6;
    border-top-color: var(--color-primary);
    border-bottom: 0;
}

#bo_list .notice-list tbody td {
    border: 1px solid #eaeaea;
}

#bo_list .notice-list tbody tr:first-child td {
    border-top: 0;
}

#bo_list .notice-list table th,
#bo_list .notice-list table td {
    vertical-align: middle;
}

#bo_list .notice-list .all_chk,
#bo_list .notice-list .td_chk {
    text-align: center;
}

#bo_list .notice-list .chk_box input[type="checkbox"] + label {
    display: flex;
    justify-content: center;
    align-items: center;
}

#bo_list .notice-list .chk_box input[type="checkbox"] + label span {
    float: none;
    margin: 0 auto;
}

#bo_list .notice-list table a:hover {
    text-decoration: none;
}

/* 서브페이지 탭 네비 (145:3990) */
.site-tabnav__list {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.site-tabnav__list::-webkit-scrollbar {
    display: none;
}

/* 메인 풀페이지 */
body.is-main-page #wrapper.is-main-wrap,
body.is-main-page #wrapper.is-main-wrap #container_wr,
body.is-main-page #wrapper.is-main-wrap #container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: 0;
    float: none;
}

#fullpage.main-page,
#fullpage.main-page .section {
    width: 100%;
}

@media (min-width: 1024px) {
    html.fp-enabled:not(.fp-responsive),
    html.fp-enabled:not(.fp-responsive) body {
        overflow: hidden !important;
    }

    html.fp-enabled:not(.fp-responsive) #fullpage.main-page,
    html.fp-enabled:not(.fp-responsive) #fullpage.main-page .fp-section,
    html.fp-enabled:not(.fp-responsive) #fullpage.main-page .section {
        overflow: hidden !important;
    }
}

html.fp-enabled body.fp-responsive,
body.fp-responsive,
html.fp-responsive,
html.fp-enabled body.fp-responsive #fullpage.main-page,
html.fp-enabled body.fp-responsive #fullpage.main-page .fp-section,
html.fp-enabled body.fp-responsive #fullpage.main-page .section {
    overflow: visible !important;
    height: auto !important;
}

@media (min-width: 1024px) {
    .main-section--quick .lecture-intro {
        flex: 1 1 auto;
        min-height: 0;
        max-height: 516px;
    }

    .main-section--class .class-block {
        height: min(630px, calc(100vh - 280px));
        max-height: 630px;
        grid-template-rows: minmax(0, 1fr);
        align-items: stretch;
    }

    .main-section--class .class-panel,
    .main-section--class .class-thumb {
        height: auto;
        min-height: 0;
        align-self: stretch;
    }

    .main-section--teacher .teacher-photo {
        width: min(322px, 32vh);
    }
}

#fullpage.main-page .main-section--footer {
    background: #fff8f2;
}

.main-section--class .class-thumb .class-thumb__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1023px) {
    .main-section--class .class-thumb .class-thumb__img {
        filter: blur(6px);
    }
}

@media (min-width: 1024px) {
    .main-section--class .class-thumb:hover .class-thumb__img {
        filter: blur(6px);
    }
}

.teacher-swiper {
    overflow: hidden;
}

.notice-cs {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.quick-menu__item + .quick-menu__item {
    border-left: 0;
}

@media (min-width: 1024px) {
    .quick-menu__item + .quick-menu__item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 1px;
        height: 60px;
        background: #e5e7eb;
        transform: translateY(-50%);
    }
}

@media (max-width: 1023px) {
    html.fp-enabled,
    html.fp-enabled body,
    body.is-main-page,
    body.is-main-page #wrapper.is-main-wrap,
    body.is-main-page #fullpage.main-page,
    #fullpage.main-page,
    #fullpage.main-page .section,
    #fullpage.main-page .fp-section {
        overflow: visible !important;
        height: auto !important;
    }

    #fullpage.main-page .main-section--hero {
        min-height: 100vh;
    }
}