@charset "utf-8";
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap'); */
/* NotoSans 쓸 경우 주석 풀고, body 적용 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url(https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css);

@font-face {
    font-family: "Pretendard";
    src: url("fonts/Pretendard-ExtraLight.otf") format("opentype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url("fonts/Pretendard-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url("fonts/Pretendard-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url("fonts/Pretendard-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url("fonts/Pretendard-SemiBold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url("fonts/Pretendard-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Pretendard";
    src: url("fonts/Pretendard-ExtraBold.otf") format("opentype");
    font-weight: 800;
    font-style: normal;
}
/*
BREAKPOINT
sm  : 640px
md  : 768px
lg  : 1024px
xl  : 1280px
2xl : 1536px
*/

:root {
    --primary: #1e1e1e;
    --seconday: #666;
    --ca-color: #333;
    --full-h: calc(var(--vh, 1vh) * 100);
    --full-w: calc(var(--vw, 1vw) * 100);
    --header-h: 80px;
    --lnb-h: 48px;
    --point:#00AFEF;
    --dark: #080a12;
    --screen-w: 1920;
}

* {
    word-break: keep-all !important;
    box-sizing: border-box;
}

body {
    font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(14px, calc(16 / var(--screen-w)) * 100vw, 16px);
}

/* 초기화 */
body.lock {
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    overflow: hidden;
}

html,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
img {
    margin: 0;
    padding: 0;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 1em;
    font-family: inherit !important;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ul,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
    list-style: none;
}

legend {
    position: absolute;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
    text-indent: -9999em;
    overflow: hidden;
}

label,
input,
button,
select,
img {
    vertical-align: middle;
    font-size: 1em;
}

input,
button {
    margin: 0;
    padding: 0;
    font-family: inherit !important;
}

input[type="submit"] {
    cursor: pointer;
}

button {
    cursor: pointer;
}

textarea,
select {
    font-family: inherit !important;
}

select {
    margin: 0;
}

p {
    margin: 0;
    padding: 0;
    word-break: break-all;
}

pre {
    overflow-x: scroll;
    font-size: 1.1em;
}

a {
    color: inherit;
    text-decoration: none;
}

/*head.sub.php로 셋팅하는 값 = full-h, full-w*/

.en {
    font-family: "Montserrat", sans-serif;
}


.container {
    max-width: 100% !important;
     margin: 0 auto;
    padding: 0 max(2.9167vw, 3.2rem) ;
}

@media screen and (max-width: 767px) {
    .container {
        padding: 0 min(5.1282vw, 3.6rem);
    }
}


.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index:1;
    pointer-events: none;
}

@keyframes slide-up2 {
    0% {
        transform: translateX(40px);
        opacity: 0;
    }

    30% {
        transform: translateX(40px);
        opacity: 1;
    }
}
#banner-title .char {
    display: inline-block;
    animation: slide-up2 1.2s cubic-bezier(0.5, 0, 0.5, 1) both;
    animation-delay: calc(100ms * var(--char-index));
}

/* 해더 관련 */

.menu-icon span {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    max-height: 5px;
    background: #fff;
    transition: all ease 200ms;

}

.menu-icon .first {
    top: 0%;
    transition: transform 100ms;
}

.menu-icon .second {
    top: 50%;
}

.menu-icon .third {
    top: 100%;
}

body.mobile-nav-open .menu-icon .first {
    transform: translateY(13px) translateX(0) rotate(45deg);
    transition: all ease 200ms;
}

body.mobile-nav-open .menu-icon .second {
    opacity: 0;
    transition: all ease 200ms;
}

body.mobile-nav-open .menu-icon .third {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    transition: all ease 200ms;
}

.site-wrap {
    position: relative;
}

body.mobile-nav-open .site-wrap .menu-bg {
    height: var(--full-h);
    transition: 0.5s;
    opacity: 1;
    visibility: visible;
}

body.mobile-nav-open .site-wrap .menu-bg::before {
    opacity: 1;
    transition: 0.5s;
}

.main-nav {
    position: fixed;
    left: 0;
    top: var(--header-h);
    z-index: 0;
    height: calc(var(--full-h) - var(--header-h));
    width: 100%;
    padding: 1.5em 2em;
    opacity: 0;
    transform: scale(0.85);
    transition: 0.5s;
    visibility: hidden;
    background: var(--primary);
}

body.mobile-nav-open .main-nav {
    visibility: visible;
    z-index: 100;
    transform: scale(1);
    opacity: 1;
    transition: 0.5s;
}

/* 모바일 메뉴 열림 시 헤더 배경 (기존 Tailwind !bg-dark 토글 대체) */
body.mobile-nav-open #header {
    background-color: var(--primary) !important;
}

.main-nav>ul>li>a {

    color: #fff;
    font-weight: 300;
    display: block;
    transition: 0.5s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.main-nav>ul>li:last-child>a {
    border-bottom: none;
}

.main-nav>ul>li>a:hover {
    opacity: 0.45;
    transition: 0.5s;
    padding: 0.8em;
}



body.scroll-down #header {
    transform: translateY(-100%) !important;
}

body.scroll-up #header {
    /* 불투명 #000이면 뒤가 안 비쳐 blur가 거의 안 보임 → 살짝 투명 + saturate로 유리 느낌 강화 */
    background: rgb(0 0 0 / 50%) ;
    -webkit-backdrop-filter: blur(36px) saturate(160%) ;
    backdrop-filter: blur(36px) saturate(160%) ;

}

body.no-visual #header {
     background:var(--primary) ;
    -webkit-backdrop-filter: blur(36px) saturate(160%) ;
    backdrop-filter: blur(36px) saturate(160%) ;
}

/* 해더 메뉴 호버 */
.gnb-link__label .char{
            display: inline-block;
                            position: relative;
                            color: transparent;
                            overflow: hidden;
}
.gnb-link__label .char:before,.gnb-link__label .char:after{
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    content: attr(data-char);
    transition: transform 0.35s;
    transition-delay: calc(30ms * var(--char-index));
}
.gnb-link__label .char:before{
                            transform: translateY(100%);

                        }
                        
.gnb-link:hover  .char:before{
                        transform: translateY(0%);
                        opacity: 1;
                    }
.gnb-link:hover .char:after{
                        transform: translateY(-100%);
                    }
/* 아이콘 있는 경우 header.active * {color: #000 !important;} 해주시면 됩니다. */

/* 애니메이션 관련 */
[data-aos="blur"] {
    opacity: 0;
    filter: blur(16px);
    transform: translateY(18px);
    transition-property: opacity, filter, transform;
}

[data-aos="blur"].aos-animate {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* 버튼 */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #fff;
    color: var(--primary);
    outline: 1px solid var(--primary);
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
}

.btn-primary:active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary {
    background-color: var(--seconday);
    color: #fff;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #fff;
    color: var(--seconday);
    outline: 1px solid var(--seconday);
    box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
}

.btn-secondary:active {
    background: var(--seconday);
    color: #fff;
    box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.btn-primary-outline {
    background-color: transparent;
    color: var(--primary);
    outline: 1px solid var(--primary);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-primary-outline:hover,
.btn-primary-outline:focus {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(96, 165, 250, 0.15);
    outline: none;
}

.btn-primary-outline:active {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 1px 4px rgba(96, 165, 250, 0.1);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--seconday);
    outline: 1px solid var(--seconday);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-secondary-outline:hover,
.btn-secondary-outline:focus {
    background: var(--seconday);
    color: #fff;
    box-shadow: 0 2px 8px rgba(156, 163, 175, 0.15);
    outline: none;
}

.btn-secondary-outline:active {
    background: #fff;
    color: var(--seconday);
    box-shadow: 0 1px 4px rgba(156, 163, 175, 0.1);
}

.button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-primary-outline:disabled,
.btn-secondary-outline:disabled,
.btn-animation:disabled {
    background: #e5e7eb !important;
    /* Tailwind gray-200 */
    color: #b0b0b0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(0.2);
}

.btn-collision {
    --btn-width: 120px;
    --btn-height: 42px;
    --btn-circle-size: 20px;
    --btn-circle-expand: 1.5;
    --btn-transition-duration: 0.5s;
    --btn-animation-duration: 0.8s;
    border-radius: 9999px;
    position: relative;
    color: var(--btn-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: var(--btn-height);
    max-width: var(--btn-width);
    border: 1px solid var(--btn-circle);
    transition: all var(--btn-transition-duration) ease-in-out;
    z-index: 1;

}


.btn-collision span {
    position: relative;
    z-index: 1;
}

.btn-collision:before,
.btn-collision:after {
    content: '';
    position: absolute;
    top: 50%;
    width: var(--btn-circle-size);
    height: var(--btn-circle-size);
    background-color: var(--btn-circle);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

.btn-collision:before {
    left: calc(var(--btn-circle-size) * -1);
}

.btn-collision:after {
    right: calc(var(--btn-circle-size) * -1);
}

@keyframes criss-cross-left {
    0% {
        left: -20px;
        width: 20px;
        height: 20px;
    }

    50% {
        left: 50%;
        width: 20px;
        height: 20px;
        transform: translate(-50%, -50%);
    }

    100% {
        left: 50%;
        width: calc(var(--btn-width) * 1.5);
        height: calc(var(--btn-width) * 1.5);
        transform: translate(-50%, -50%);
    }
}

@keyframes criss-cross-right {
    0% {
        right: -20px;
        width: 20px;
        height: 20px;
    }

    50% {
        right: 50%;
        width: 20px;
        height: 20px;
        transform: translate(50%, -50%);
    }

    100% {
        right: 50%;
        width: calc(var(--btn-width) * 1.5);
        height: calc(var(--btn-width) * 1.5);
        transform: translate(50%, -50%);
    }
}

.btn-collision:hover {
    color: var(--btn-color);
}

.btn-collision:hover:before {
    animation: criss-cross-left var(--btn-animation-duration) both;
    animation-direction: alternate;
}

.btn-collision:hover:after {
    animation: criss-cross-right var(--btn-animation-duration) both;
    animation-direction: alternate;
}

.button-reveal {
    --btn-width: 120px;
    --btn-height: 42px;
    --btn-color: #fff;
    --text-color: #000;
    --btn-gradient-angle: 30deg;
    --btn-gradient-size: 500px;
    --btn-transition-duration: 0.5s;
    border-radius: 9999px;
    width: var(--btn-width);
    height: var(--btn-height);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    border: 1px solid var(--btn-color);
    background-image: -webkit-linear-gradient(var(--btn-gradient-angle), var(--btn-color) 50%, transparent 50%);
    background-image: linear-gradient(var(--btn-gradient-angle), var(--btn-color) 50%, transparent 50%);
    background-size: var(--btn-gradient-size);
    background-repeat: no-repeat;
    background-position: 0%;
    transition: background var(--btn-transition-duration) ease-in-out;
}

.button-reveal:hover {
    background-position: 100%;
    color: var(--btn-color);
}

@media (max-width: 991px) {
    .btn-collision {
        --btn-width: 180px !important;
        --btn-height: 32px !important;
        font-size: 14px !important;
    }

    .button-reveal {
        --btn-width: auto !important;
        --btn-height: 32px !important;
        font-size: 14px !important;
    }
}

.sit_icon {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;
}

.editor-content img {
    display: initial;
}

#sev_himg * {
    font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif !important;
}

.sev_admin {
    display: none;
}



/* 구글 번역 부분 커스텀 css - 번역기능 있을 경우만 사용 */


.goog-logo-link {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    display: none !important;
}

body>.skiptranslate,
.goog-logo-link,
.gskiptranslate,
.goog-te-gadget span,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt- {
    display: none !important;
}

.goog-te-gadget {
    color: transparent !important;
    font-size: 0px;
    width: 100px;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

#google_translate_element select {
    background: transparent;
    color: #000;
    border: none;
    font-weight: bold;
    border-radius: 0px;
    padding: 8px 12px;
}

.notranslate {
    translate: no !important;
}

/* custom */


.ctt_admin {
    display: none;
}


#captcha #captcha_key {
    width: auto !important;
    min-width: 90px !important;
    height: 32px !important;
    border-radius: 12px !important;
}

#captcha {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
}

#captcha #captcha_info {
    width: 100% !important;
    font-size: 12px !important;
    color: #666 !important;
}

#captcha #captcha_mp3,
#captcha #captcha_reload {
    margin: 0;
    padding: 0;
    width: 32px !important;
    height: 32px !important;
    border: 0;
    background: transparent;
    vertical-align: middle;
    overflow: hidden;
    cursor: pointer;
    background: url(../img/captcha2.png) no-repeat;
    text-indent: -999px;
    border-radius: 3px;
}

#captcha #captcha_mp3 {
    background: url(../img/icons/captcha.png) no-repeat !important;
}

#captcha #captcha_reload {
    background: url(../img/icons/captcha.png) no-repeat 0 -32px !important;
}

.chk_box input[type="checkbox"]+label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}



.chk_box input[type="checkbox"]+label span {

    width: 18px;
    height: 18px;
    display: block;
    background: #fff;
    border: 1px solid #d0d4df;
    border-radius: 3px
}

.chk_box input[type="checkbox"]:checked+label {
    color: #000
}

.chk_box input[type="checkbox"]:checked+label span {
    background: url(../img/icons/checked.png) no-repeat center;
    border-radius: 3px;
    border: none;
}

/* 세미나 신청 폼 스타일 */
#contact form input[type="checkbox"] {
    position: relative;
}

#contact form input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

#contact form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23757575' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
}

#contact form input::placeholder,
#contact form textarea::placeholder,
#contact form select {
    color: #78716c;
}

#contact form input:focus,
#contact form textarea:focus,
#contact form select:focus {
    outline: none;
}



#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
    text-decoration: none;
    background: var(--primary);
    color: #fff
}

/* ============================================
   스크롤 리빌 — clip-path 기반
   GSAP ScrollTrigger 와 함께 사용
============================================ */
.scroll-reveal {
    clip-path: inset(0% 100% 100% 0%);
    -webkit-clip-path: inset(0% 100% 100% 0%);
    will-change: clip-path;
}

.scroll-reveal img,
.scroll-reveal video {
    color: transparent;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.visual-title {
    cursor: default;
}

/* ============================================
   Team accordion — details / summary 토글
   - 기본 disclosure 마커 제거
   - 셰브론 회전(open 상태)
============================================ */
.team-card > summary {
    list-style: none;
    cursor: pointer;
}

.team-card > summary::-webkit-details-marker {
    display: none;
}

.team-card[open] .team-card__chevron {
    transform: rotate(180deg);
}

html, body {
    overscroll-behavior-y: none;
}
@media (min-width: 1024px) {
    html, body {
        overscroll-behavior-y: initial ;
    }
}

