@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://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@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;
}

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

body {
    font-family: "Pretendard", "Noto Emoji", "Segoe UI Emoji", sans-serif;
    color: #0B1020;
    font-weight: 400;
    font-style: normal;
    font-size: var(--fs-body);
    /* 14→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*/
:root {
    --primary: #3829cc;
    --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;
    --screen-w: 1920;
    /* (레거시) 일부 컴포넌트 arbitrary value에서 사용 중 */

    /* =========================================================
     Fluid 토큰 — 360px 화면에서 min, 1920px 화면에서 max
     공식: clamp(min, b + a·vw, max)  (a = (max-min)/1560, b = min - a·360)
     → 360~1920 사이 모든 폭에서 선형으로 자연스럽게 변화
     → rem 기반이라 브라우저 글꼴 크기 설정(접근성)도 반영
     값 변경 시 주석의 px 범위를 기준으로 재계산
     Tailwind 클래스로도 사용: text-h1~h6 / text-large / text-body / text-small,
     p-fluid-16, gap-fluid-24, py-section 등 (head.sub.php tailwind.config)
  ========================================================= */

    /* font size */
    --fs-h1: clamp(2.75rem, 1.6538rem + 4.8718vw, 7.5rem);
    /* 44→120px */
    --fs-h2: clamp(2rem, 1.5385rem + 2.0513vw, 4rem);
    /* 32→64px */
    --fs-h3: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem);
    /* 28→48px */
    --fs-h4: clamp(1.5rem, 1.2692rem + 1.0256vw, 2.5rem);
    /* 24→40px */
    --fs-h5: clamp(1.125rem, 1.0385rem + 0.3846vw, 1.5rem);
    /* 18→24px */
    --fs-h6: clamp(1rem, 0.9423rem + 0.2564vw, 1.25rem);
    /* 16→20px */
    --fs-large: clamp(1rem, 0.9712rem + 0.1282vw, 1.125rem);
    /* 16→18px */
    --fs-body: clamp(0.875rem, 0.8462rem + 0.1282vw, 1rem);
    /* 14→16px */
    --fs-small: clamp(0.8125rem, 0.7981rem + 0.0641vw, 0.875rem);
    /* 13→14px */
    --fs-rolling: clamp(2.25rem, 1.8462rem + 1.7949vw, 4rem);
    /* 36→64px */
    --fs-hero: clamp(3rem, 2.4231rem + 2.5641vw, 5.5rem);
    /* 48→88px 메인 비주얼 카피 */
    --fs-display: clamp(3.5rem, 2rem + 6.6667vw, 10rem);
    /* 56→160px 초대형 외곽선 카피 */

    /* section padding (큰 섹션 ≥ sm ≥ xs 순서 유지) */
    --pad-section: clamp(4.5rem, 3.2308rem + 5.641vw, 10rem);
    /* 72→160px */
    --pad-section-sm: clamp(3.5rem, 2.5769rem + 4.1026vw, 7.5rem);
    /* 56→120px */
    --pad-section-xs: clamp(2.5rem, 1.9231rem + 2.5641vw, 5rem);
    /* 40→80px */

    /* space */
    --space-4: clamp(0.1875rem, 0.1731rem + 0.0641vw, 0.25rem);
    /* 3→4px */
    --space-6: clamp(0.3125rem, 0.2981rem + 0.0641vw, 0.375rem);
    /* 5→6px */
    --space-8: clamp(0.375rem, 0.3462rem + 0.1282vw, 0.5rem);
    /* 6→8px */
    --space-10: clamp(0.5rem, 0.4712rem + 0.1282vw, 0.625rem);
    /* 8→10px */
    --space-12: clamp(0.625rem, 0.5962rem + 0.1282vw, 0.75rem);
    /* 10→12px */
    --space-14: clamp(0.75rem, 0.7212rem + 0.1282vw, 0.875rem);
    /* 12→14px */
    --space-16: clamp(0.875rem, 0.8462rem + 0.1282vw, 1rem);
    /* 14→16px */
    --space-18: clamp(0.875rem, 0.8173rem + 0.2564vw, 1.125rem);
    /* 14→18px */
    --space-20: clamp(1rem, 0.9423rem + 0.2564vw, 1.25rem);
    /* 16→20px */
    --space-24: clamp(1.125rem, 1.0385rem + 0.3846vw, 1.5rem);
    /* 18→24px */
    --space-28: clamp(1.25rem, 1.1346rem + 0.5128vw, 1.75rem);
    /* 20→28px */
    --space-32: clamp(1.375rem, 1.2308rem + 0.641vw, 2rem);
    /* 22→32px */
    --space-36: clamp(1.5rem, 1.3269rem + 0.7692vw, 2.25rem);
    /* 24→36px */
    --space-40: clamp(1.625rem, 1.4231rem + 0.8974vw, 2.5rem);
    /* 26→40px */
    --space-48: clamp(1.875rem, 1.6154rem + 1.1538vw, 3rem);
    /* 30→48px */
    --space-56: clamp(2.125rem, 1.8077rem + 1.4103vw, 3.5rem);
    /* 34→56px */
    --space-64: clamp(2.5rem, 2.1538rem + 1.5385vw, 4rem);
    /* 40→64px */
}

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

/* =========================
   메인 (index.php) — Tailwind로 표현이 어려운 것만
========================= */

/* 메인 비주얼 배경 (영상 없을 때 기본) */
.hero-bg {
    /* (미사용) */
    background: radial-gradient(ellipse at 72% 38%, #3A4A86 0%, #16204A 32%, #0A0F24 62%, #05070F 100%);
}

/* fullpage 모드(메인 PC, js/index.js 가 body.is-fullpage 부여)
   — 헤더 항상 노출·투명, 밝은 섹션 위에서는 글자색만 전환(.header-light) */
#header {
    transition: color .4s, background-color .4s, transform .4s;
}

body.is-fullpage #header {
    transform: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
}

body.is-fullpage #header.header-light,
body.is-fullpage #header.header-light .text-white {
    color: #0B1020;
}

body.is-fullpage #header.header-light .bg-white {
    background-color: #0B1020;
}

/* 로고 — 세로형 마크(1657×857)라 폭이 아닌 높이 기준으로 크기 지정 (헤더 80px 안 여백 확보) */
#header #logo {
    display: block;
    background-image: url(../img/logo_w.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    aspect-ratio: 1657/857;
    height: 36px;
    width: auto;
}

@media (min-width: 1024px) {
    #header #logo {
        height: 46px;
    }
}

/* 밝은 섹션 위(헤더 글자 어두워질 때) 컬러 로고 */
body.is-fullpage #header.header-light #logo {
    background-image: url(../img/logo.png);
}

/* 섹션 점 네비 */
.section-dots a i {
    transition: all .3s;
}

.section-dots a.is-on {
    color: var(--dots-on, #1F6BFF);
}

.section-dots a.is-on .dot-label {
    display: inline;
}

.section-dots a.is-on i {
    width: 12px;
    height: 12px;
    background: transparent;
    border-color: var(--dots-on, #1F6BFF);
}

.section-dots.is-dark {
    --dots-on: #1F6BFF;
}

/* ---------- Visual ---------- */
.visual-bg-1 {
    background: radial-gradient(ellipse at 72% 38%, #2E4577 0%, #16223F 34%, #0F1830 62%, #0B1020 100%);
}

@keyframes visualZoom {
    from {
        transform: scale(1.12);
    }

    to {
        transform: scale(1);
    }
}

.visual-media {
    animation: visualZoom 7s ease-out forwards;
}

@keyframes visualFadeUp {
    from {
        transform: translate3d(0, 120%, 0);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.visual-txt {
    opacity: 0;
    animation: visualFadeUp 1.5s .7s cubic-bezier(.16, 1, .3, 1) forwards;
}

/* ---------- Technology (3단 이미지, PC hover — js/index.js 가 .is-hover 토글) ---------- */
@media (min-width: 1024px) {
    .tech-item-bg {
        transition: right .6s, opacity .6s;
    }

    .tech-sec.is-hover .tech-item-bg {
        right: 100%;
        opacity: 0;
    }

    .tech-sec.is-hover li:nth-child(2) .tech-item-bg {
        transition-delay: .1s;
    }

    .tech-sec.is-hover li:nth-child(3) .tech-item-bg {
        transition-delay: .2s;
    }

    .tech-bg.is-on {
        opacity: 1;
    }

    .tech-divider {
        transition: opacity .3s;
    }

    .tech-sec.is-hover .tech-divider {
        opacity: .5;
    }

    /* 구분선을 따라 흐르는 점 — 섹션 활성 시 반복, hover 중에는 이미지 위로 */
    .tech-dot {
        z-index: -1;
    }

    .tech-sec.is-hover .tech-dot {
        z-index: 3;
    }

    .tech-sec.is-active .tech-dot-1 {
        animation: techDotUp 12s linear infinite reverse;
    }

    .tech-sec.is-active .tech-dot-2 {
        animation: techDotUp 8s linear .4s infinite;
    }
}

@keyframes techDotUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100vh);
    }
}

/* ---------- 게시판 페이지 번호 (skin/board/basic, 그누보드 $write_pages 마크업) ---------- */
.board-paging .pg_wrap {
    float: none;
    display: flex;
    justify-content: center;
    margin: 0;
}

.board-paging .pg_wrap:after {
    display: none;
}

.board-paging .pg {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.board-paging .pg_page,
.board-paging .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    margin: 0;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    font-size: var(--fs-body);
    line-height: 1;
    color: #5B6475;
    transition: background-color .2s, color .2s;
}

.board-paging .pg_page:hover {
    background: #F2F4F8;
    color: #0B1020;
}

.board-paging .pg_current {
    background: #1F6BFF;
    color: #fff;
    font-weight: 700;
}

/* 처음·이전·다음·맨끝 → 아이콘 (Remix Icon) */
.board-paging .pg_start,
.board-paging .pg_prev,
.board-paging .pg_next,
.board-paging .pg_end {
    font-size: 0;
    text-indent: 0;
    background-image: none;
}

.board-paging .pg_start::before,
.board-paging .pg_prev::before,
.board-paging .pg_next::before,
.board-paging .pg_end::before {
    font-family: "remixicon";
    font-size: 18px;
    line-height: 1;
}

.board-paging .pg_start::before {
    content: "\f2e3";
}

/* ri-arrow-left-double-line */
.board-paging .pg_prev::before {
    content: "\ea64";
}

/* ri-arrow-left-s-line */
.board-paging .pg_next::before {
    content: "\ea6e";
}

/* ri-arrow-right-s-line */
.board-paging .pg_end::before {
    content: "\f2e5";
}

/* ri-arrow-right-double-line */

/* ---------- News (제목 → 리스트, 항목 hover 시 원형 MORE) ---------- */
.news-sec svg circle {
    fill: none;
    stroke: #1F6BFF;
    stroke-width: 1px;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset .8s;
}

.news-row:hover svg circle {
    stroke-dashoffset: 45;
}

@media (max-width: 767px) {
    .news-sec svg circle {
        stroke-dasharray: 155;
        stroke-dashoffset: 155;
    }
}

/* ---------- Products 카드: 마우스 따라 원형 마스크 ---------- */
.prod-hole {
    box-shadow: 0 0 0 999vw rgba(255, 255, 255, .5);
}

/* ---------- 외곽선 텍스트 (Join) ---------- */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    transition: color 1s 1.7s;
}

.aos-animate .text-outline,
.text-outline.aos-animate {
    color: #fff;
}

@keyframes rotateSlow {
    to {
        transform: rotate(360deg);
    }
}

.rotate-slow {
    animation: rotateSlow 12s linear infinite;
}

/* About 배경 MR — 섹션 진입 시 진하게 보였다가 → 옅고 흐릿하게 (AOS data-aos="mr-dim" 이 .aos-animate 부여) */
/* 섹션 재진입 연출용 즉시 초기화 (js/index.js resetAos) */
.aos-no-transition,
.aos-no-transition * {
    transition: none !important;
}

/* #fullpage 붙여 AOS 전역 duration/delay(body[data-aos-*] [data-aos]) 보다 우선 */
#fullpage .join-symbol {
    opacity: 1;
    filter: blur(0);
    transition: filter 1.6s ease-out .4s, opacity 1.6s ease-out .4s;
}

#fullpage .join-symbol.aos-animate {
    opacity: .25;
    filter: blur(30px);
}

/* About 모바일·태블릿 로고 — 진하게 보였다가 → 옅고 흐린 워터마크 (data-aos="mr-dim-m") */
#fullpage .about-m-logo {
    opacity: .9;
    filter: blur(0);
    transition: opacity 1.2s ease-out .2s, filter 1.2s ease-out .2s;
}

#fullpage .about-m-logo.aos-animate {
    opacity: .14;
    filter: blur(6px);
}

@media (prefers-reduced-motion: reduce) {
    .visual-txt {
        animation: none;
        opacity: 1;
    }

    .visual-media,
    .rotate-slow {
        animation: none;
    }
}

/* =========================
   Typography
========================= */

/* 기존 클래스 호환용 — Tailwind text-h1 등과 동일한 값 (line-height 포함) */
.rolling-text {
    font-size: var(--fs-rolling);
}

.heading-1 {
    font-size: var(--fs-h1);
    line-height: 0.95;
}

.heading-2 {
    font-size: var(--fs-h2);
    line-height: 1;
}

.heading-3 {
    font-size: var(--fs-h3);
    line-height: 1.08;
}

.heading-4 {
    font-size: var(--fs-h4);
    line-height: 1.15;
}

.heading-5 {
    font-size: var(--fs-h5);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.heading-6 {
    font-size: var(--fs-h6);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.large {
    font-size: var(--fs-large);
    line-height: 1.4;
}

.small {
    font-size: var(--fs-small);
    line-height: 1.5;
}

.space-section {
    padding-block: var(--pad-section);
}

.space-section-sm {
    padding-block: var(--pad-section-sm);
}

.space-section-xs {
    padding-block: var(--pad-section-xs);
}

/* container 커스텀 */
/* 좌우 여백: 360px 화면 20px → 1920px 화면 56px 선형 (중간 폭에서 튀지 않음, 1rem = 16px 기준)
   390px ≈ 21px / 768px ≈ 29px / 1024px ≈ 35px / 1440px ≈ 45px / 1920px = 56px */
.container {
    padding-inline: clamp(1.25rem, 0.7308rem + 2.3077vw, 3.5rem);
}


/* 서브 비주얼 */
#visual.sub-visual .visual-img-inner {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(1.1);
    transform-origin: center center;
    transition: transform 5s linear;
    will-change: transform;
}

#visual.sub-visual.active .visual-img-inner {
    transform: scale(1) rotate(0.002deg);
}

/* 인터렉션 디폴트  */
.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%;
}

/* 해더 & 모바일 네비게이션
   is-sub-visual: 헤더가 .sub-visual 위에 있을 때 (common.js) */
body.scroll-down #header {
    transform: translateY(-100%) !important;
}

/* 위로 스크롤 시 흰 배경 헤더 (서브 페이지 섹션 탭 #company-tabs 와 같은 색) */
body.scroll-up #header {
    background: rgb(255 255 255 / 95%) !important;
    backdrop-filter: blur(20px) !important;
    color: #212121 !important;
    box-shadow: inset 0 -1px 0 #DCE0E8; /* 하단 구분선 (높이 변화 없게 inset shadow) */
}

body.no-visual #header {
    background: rgb(255 255 255 / 20%) !important;
    color: #212121 !important;
    box-shadow: inset 0 -1px 0 #DCE0E8;
}
body.no-visual #header #logo{
    background-image: url(../img/logo.png) !important;
}
body.scroll-up #header .gnb-line {
    background: #212121 !important;
}

body.scroll-up #header #logo {
    background-image: url(../img/logo.png);
}

/* 서브비주얼 이미지 위에서는 흰 글자 + 반투명 유리 유지 */
body.is-sub-visual.scroll-up #header {
    background: rgb(255 255 255 / 20%) !important;
    color: #fff !important;
    box-shadow: inset 0 -1px 0 rgb(255 255 255 / 20%);
}

body.is-sub-visual.scroll-up #header .gnb-line {
    background: #fff !important;
}

body.is-sub-visual.scroll-up #header #logo {
    background-image: url(../img/logo_w.png);
}

@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));
}

#header {
    z-index: 101;
}

/* 메인 모바일·태블릿(1024px 미만, 일반 스크롤) 섹션 상하 여백 — 390px ≈ 88px / 820px ≈ 116px
   #fullpage 로 Tailwind py-section 유틸보다 우선 */
@media (max-width: 1023.98px) {
    #fullpage > .section[data-anchor="about"],
    #fullpage > .section[data-anchor="products"],
    #fullpage > .section[data-anchor="news"] {
        padding-block: clamp(8rem, 4rem + 6vw, 8.5rem);
    }
}

/* ============================================================
 * 모바일·태블릿 내비 (1024px 미만) — head.php #nav-toggle / #mobile-nav
 * 토글: 두 줄 → X / 패널: 토글 위치에서 원형으로 펼쳐짐(clip-path) + 메뉴 순차 등장
 * ============================================================ */
.nav-toggle {
    --line: currentColor;
}

.nav-toggle-lines {
    position: relative;
    display: block;
    width: 26px;
    height: 12px;
}

.nav-toggle-lines span {
    position: absolute;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--line);
    transition: transform .45s cubic-bezier(.65, 0, .35, 1), width .45s cubic-bezier(.65, 0, .35, 1), top .45s cubic-bezier(.65, 0, .35, 1);
}

.nav-toggle-lines span:nth-child(1) { top: 0; width: 100%; }
.nav-toggle-lines span:nth-child(2) { top: 10px; width: 62%; }
.nav-toggle:hover .nav-toggle-lines span:nth-child(2) { width: 100%; }

body.nav-open .nav-toggle-lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
body.nav-open .nav-toggle-lines span:nth-child(2) { top: 5px; width: 100%; transform: rotate(-45deg); }

.mobile-nav {
    clip-path: circle(0px at calc(100% - 44px) calc(var(--header-h) / 2));
    visibility: hidden;
    transition: clip-path .7s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .7s;
}

body.nav-open .mobile-nav {
    clip-path: circle(150vmax at calc(100% - 44px) calc(var(--header-h) / 2));
    visibility: visible;
    transition: clip-path .8s cubic-bezier(.65, 0, .35, 1), visibility 0s;
}

/* 메뉴·하단 정보 순차 등장 (--i: 순번) */
.mobile-nav .mnav-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s, transform .5s;
}

body.nav-open .mobile-nav .mnav-reveal {
    opacity: 1;
    transform: none;
    transition: opacity .6s ease calc(.25s + var(--i, 0) * .07s), transform .7s cubic-bezier(.22, 1, .36, 1) calc(.25s + var(--i, 0) * .07s);
}

/* 2차 메뉴 아코디언 */
.mobile-nav .mnav-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s ease;
}

.mobile-nav .is-open > .mnav-sub { grid-template-rows: 1fr; }
.mobile-nav .is-open .mnav-plus { transform: rotate(45deg); }

/* 메뉴 열림 — 헤더는 패널 위에서 투명 + 흰 글자/로고, 숨김 해제 */
body.nav-open #header {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    color: #fff !important;
    transform: none !important;
}

body.nav-open #header #logo {
    background-image: url(../img/logo_w.png) !important;
}

/* 메뉴 열림 동안 플로팅 버튼(맨 위로 등) 숨김 */
body.nav-open #floating-top-btn,
body.nav-open .section-dots {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 아이콘 있는 경우 header.active * {color: #000 !important;} 해주시면 됩니다. */

/* 애니메이션 관련 */

/* 버튼 */
.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;
    }
}

/* custom */


[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);
}

.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;
}