/* ========== 게시판 레이아웃 ========== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.container_content { width: 100%; min-height: 500px; }
#bo_vc_empty { width: 100%; }

/* ========== Design Tokens (elephantcafe) ========== */
:root{
    --mc:#2e4557;       /* 다크블루 (메인) */
    --sc:#203342;       /* 진한블루 (호버) */
    --tc:#241c16;       /* 진갈색 (GNB 텍스트) */
    --fc:#ffffff;       /* 흰색 */
    --mf:'Pretendard Variable', 'Pretendard', sans-serif;
    --sf:'KERIS KEDU';
    --tf:'Paperlogy';

    --table-header: #f5f5f5;
    --table-footer: #2e4557;
    --table-border: #d1d1d1;
    --font-black: #1a1a1a;
}

/* ========== @font-face ========== */
@font-face {
    font-family: 'KERIS KEDU';
    src: url('/font/KERISKEDU_R.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'KERIS KEDU';
    src: url('/font/KERISKEDU_B.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2'); font-weight:100; font-display:swap; }
@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2'); font-weight:200; font-display:swap; }
@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2'); font-weight:300; font-display:swap; }
@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2'); font-weight:800; font-display:swap; }
@font-face{ font-family:'Paperlogy'; src:url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2'); font-weight:900; font-display:swap; }

/* ========== Resets & Base ========== */
*,
*::before,
*::after{ box-sizing:border-box; }

html, body { margin:0; padding:0; }

p{ word-break:keep-all; }

section p{ letter-spacing:-0.04vw; }

section img{
    width: 100%;
    max-width: 100%;
    min-width: 100%;
}

:focus-visible{
    outline:2px solid var(--mc);
    outline-offset:2px;
}

html { scroll-behavior: auto !important; } /* Lenis가 smooth scroll 제어 */

/* ========== Typography Utilities ========== */
.sst{ font-family:var(--sf); font-weight:400; font-size:1vw; line-height:1.5; }
.tst{ font-family:var(--tf); font-weight:400; font-size:1vw; line-height:1.5; }
.mst{ font-family:var(--mf); font-weight:400; font-size:1vw; line-height:1.5; }

.mf{ font-family:var(--mf); font-weight:400; line-height: 1.5}
.sf{ font-family:var(--sf); font-weight:400; line-height: 1.25}
.tf{ font-family:var(--tf); font-weight:400; }

.black{ font-weight:900; }
.extrabold{ font-weight:800; }
.bold{ font-weight:700; }
.semibold{ font-weight:600; }
.medium{ font-weight:500; }
.regular{ font-weight:400; }
.light{ font-weight:300; }
.extralight{ font-weight:200; }
.thin{ font-weight:100; }

.underline{
    line-height: 1.15;
    border-bottom: 0.1vw solid black;
}
.mc.underline{
    border-bottom: 0.1vw solid var(--mc);
    line-height: 1.15;
}

.exsm{ font-size:0.85vw; }
.sm{ font-size:0.95vw; }
.sm-md{ font-size:1.3vw; }
.semimd{ font-size:1.7vw; }
.md{ font-size:2vw; }
.exmd{ font-size:2.5vw; }
.md-lg{ font-size:3.4vw; }
.semilg{ font-size:3.9vw; }
.lg{ font-size:4.3vw; }
.exlg{ font-size:5vw; }

/* ========== Color Utilities ========== */
.mcbg{ background:var(--mc); }
.scbg{ background:var(--sc); }
.tcbg{ background:var(--tc); }
.fcbg{ background:var(--fc); }

.mc{ color:var(--mc); }
.sc{ color:var(--sc); }
.tc{ color:var(--tc); }
.fc{ color:var(--fc); }
.white{ color: white; }
.whitebg{ background: white; }

/* ========== Layout Utilities ========== */
section{ overflow:hidden; display:flex; justify-content:center; align-items:center; width:100%; flex-direction:column; }
.main{ margin-top:0; margin-left:0; width:100%; display:flex; justify-content:flex-start; align-items:center; flex-direction:column; }

.vcline{ height:100%; width:0.01vw; }
.hzline{ width:100%; height:0.01vw; }

.absol{ position:absolute; }
.rltv{ position:relative; }
.zin{ z-index: 2; position: relative; }

.flexrow{
    width:100%; display:flex; justify-content:center; align-items:center; flex-direction:row;
}
.flexcol{
    width:100%; display:flex; justify-content:center; align-items:center; flex-direction:column;
}
.fwrap{ flex-wrap: wrap; }

.pc-mobile{ display:flex; }
.mobile-pc{ display:none; }

.scaleX{ transform: scaleX(-1); }
.scaleY{ transform: scaleY(-1); }
.scaleanti{ transform: scale(-1); }

/* ========== Background Image ========== */
.bgimg {
    width: 106% !important;
    height: 100% !important;
    position: absolute;
    object-fit: cover;
    display: block;
    pointer-events: none;
    z-index: 0;
}

/* ========== Clip Animations ========== */
.clip_left { clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%); transition: all 0.8s; }
.clip_right { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); transition: all 0.8s; }
.clip_mid { clip-path: polygon(50% 0, 50% 0, 50% 100%, 50% 100%); transition: all 0.8s; }
.clip_circle { clip-path: circle(0% at 50% 50%); transition: all 2s !important; }
.clip_bottom { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%); transition: all 0.8s; }
.clip_top { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: all 0.8s; }
.clip_on { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }
.clip_on2 { clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0) !important; }
.clip_on3 { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }
.clip_on4 { clip-path: circle(100.0% at 50% 50%) !important; }
.clip_right_on { clip-path: polygon(100% 0, 0 0, 0 100%, 100% 100%); }

/* ========== Scroller (Marquee) ========== */
.scrX{
    width:100%; display:flex; justify-content:center; align-items:center;
}
.scrX .scrX_item{
    animation:marqueeX 20s linear infinite; width:100%;
}
.scrX .scrX_item_absol{ right:-100%; width:100%; }
.scrX.reverse .scrX_item{ animation-direction:reverse; }
.scrY.reverse .scrY_item{ animation-direction:reverse; }
.scrX.slow .scrX_item{ animation-duration:40s; }

/* ========== Components ========== */
#bo_v > header{ display:none; }

.k_new_btn{
    display:flex; justify-content:center; align-items:center; width:100%; margin:2% 0 6%;
}
.k_btn_inner{
    font-size:1.5vw; background:#000; color:#fff; padding:1% 3%;
    border-radius:30px; display:inline-flex; align-items:center; gap:.5em;
    white-space: nowrap;
}
.k_btn_inner > a{ color:#fff; text-decoration:none; }
.k_new_btn > .k_btn_inner:nth-child(2){
    background:#0000008f; margin-left:2%; padding:.7% 2% !important;
}
.k_btn_inner > input{
    outline:none; appearance:none; border:0; background:transparent; color:#fff; font-size:1.1em;
}

#content_wrap{ padding-bottom:0 !important; }

/* Board */
#bo_v > header{
    display:block; position:relative; background:transparent; padding:0;
    border-bottom:1px solid #000; font-family:var(--mf);
}
#bo_v_title .bo_v_tit,
.board_title{
    font-family:var(--mf); font-weight:700; letter-spacing:-1px;
}
#bo_v_title .bo_v_tit{ font-size:17px; margin:5px 0 0; word-break:break-all; }

#bo_v_con{
    margin:30px 0; width:100%; min-height:200px; overflow:hidden;
    line-height:1.7; font-size:1.3em; font-family:var(--mf); word-break:break-all;
}

#bo_w .bo_w_tit .frm_input{ padding-right:0; }

/* Popups */
#hd_pop > div{ border-radius:30px; overflow:hidden; background:#000; }
.hd_pops img{ width:100% !important; }
#hd_pop > div > div > iframe{ height:100%; }
.hd_pops_footer{ font-size:.9vw !important; }
.hd_pops_footer .hd_pops_reject{ font-family:var(--mf); font-weight:700; }
.hd_pops_footer .hd_pops_close{ background:#000; bottom:0; }

#hd_pop:not(:has(div)) {
    pointer-events: none;
}

/* ========== Header (elephantcafe — Figma 정확값) ========== */
/* 캔버스 1920px 기준, 네비배경 1800px(93.7500%), 높이 100px, 배경 #ffffff */
header{
    position: absolute;
    top: 2.7083vw;              /* 52/1920: 섹션 상단~헤더 간격 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 93.7500%;            /* 1800/1920 */
    height: 5.2083vw;           /* 100/1920 */
    background: #ffffff;
    border-radius: 2.6042vw;    /* 50/1920 */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: top 0.3s;
}
header.drop{ position:fixed; animation:dropHeader .3s forwards; top:2.7083vw; }
header.insert{ position:fixed; animation:insertHeader .3s forwards; top:-7rem; }

/* 로고: page_x=123, w=229, h=37 (1800px 내부 기준) */
.header_logo{
    display: flex;
    align-items: center;
    margin-left: 3.5000%;       /* (123-60)/1800 */
}
.header_logo_1{
    width: 11.9271vw;           /* 229/1920 */
}

/* GNB: 6개 메뉴, Paperlogy SemiBold 20px, #241c16 */
/* 1800px 내부 기준: start=859.5, width=553.2 */
.header_menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--tf);     /* Paperlogy */
    font-weight: 600;
    font-size: 1.0417vw;        /* 20/1920 */
    color: var(--tc);           /* #241c16 */
    width: 30.7333%;            /* 553.2/1800 */
    margin-left: 31.5278%;     /* (859.5-292)/1800 */
    height: 100%;
    text-decoration: none;
}
.header_menu_1{
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--tc);           /* #241c16 */
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.3s;
}
.header_menu_1 p{
    margin: 0;
}
.header_menu_1:hover{
    color: var(--sc);           /* #203342 호버 */
}

/* 전화: 원형아이콘(49x49 #2e4557) + 번호(KERIS KEDU 31.3px #2e4557) */
/* page_x=1543(circle), gap 11.1px, 번호 page_x=1603.1 */
.header_tel{
    display: flex;
    align-items: center;
    margin-left: 3.9056%;      /* (1483-1412.7)/1800 */
    text-decoration: none;
    gap: 0.5781vw;              /* 11.1/1920 */
}
.container .header_tel{
    margin-left: auto;
}
.header_tel_icon{
    width: 2.5521vw;           /* 49/1920 */
    height: 2.5521vw;
    border-radius: 50%;
    background: var(--mc);      /* #2e4557 */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.header_tel_icon img{
    width: 1.3542vw;           /* 26/1920 */
    height: 1.3542vw;
}
.header_tel_number{
    font-family: var(--sf);    /* KERIS KEDU */
    font-weight: 700;
    font-size: 1.6302vw;       /* 31.3/1920 */
    color: var(--mc);          /* #2e4557 */
    white-space: nowrap;
    letter-spacing: 0;
}

/* Quick */
.header_quick{
    position:fixed; top:30%; right:2%; display:flex; flex-direction:column;
    gap:.5vw; z-index:33333;
}
.header_quick_item{
    width:4vw; height:4vw; display:flex; justify-content:center; align-items:center;
    border-radius:50%; font-size:1vw; color:#fff; font-family:var(--mf); cursor:pointer; transition:.3s;
}
.header_quick_item img{ width:100%; }
.header_quick_item02{ width:5vw; height:5vw; font-size:1.4vw; }

/* ========== Animations ========== */
@keyframes marqueeX{ from{ transform:translateX(0); } to{ transform:translateX(-100%);} }
@keyframes marquee3{ from{ transform:translateX(0);} to{ transform:translateX(-100%);} }
@keyframes blk{ 0%,30%{opacity:0;} 31%,99%{opacity:1;} 100%{opacity:0;} }
@keyframes blk2{ 0%,49%{opacity:0;} 50%,99%{opacity:1;} 100%{opacity:0;} }

@keyframes ddm_m{ 0%{transform:scale(1);} 50%{transform:matrix(1.05,0.01,0.01,1.05,0,-15);} 100%{transform:scale(1);} }
@keyframes ddm_m_reverse{ 0%{transform:scale(1);} 50%{transform:matrix(0.8,0.01,0.01,0.8,0,-5);} 100%{transform:scale(1);} }

@keyframes line-top{ from{ transform:translateY(0);} to{ transform:translateY(13px);} }
@keyframes line-top-reverse{ from{ transform:translateY(13px);} to{ transform:translateY(0);} }
@keyframes line-top-rotate{ from{ transform:translateY(13px) rotateZ(0);} to{ transform:translateY(13px) rotateZ(45deg);} }
@keyframes line-top-rotate-reverse{ from{ transform:translateY(13px) rotateZ(45deg);} to{ transform:translateY(13px) rotateZ(0);} }
@keyframes line-mid{ from{ transform:scale(1);} to{ transform:scale(0);} }
@keyframes line-mid-reverse{ from{ transform:scale(0);} to{ transform:scale(1);} }
@keyframes line-mid-invisible{ from{ transform:scale(0);} to{ transform:scale(0);} }
@keyframes line-bot{ from{ transform:translateY(0);} to{ transform:translateY(-13px);} }
@keyframes line-bot-reverse{ from{ transform:translateY(-13px);} to{ transform:translateY(0);} }
@keyframes line-bot-rotate{ from{ transform:translateY(-13px) rotateZ(0);} to{ transform:translateY(-13px) rotateZ(135deg);} }
@keyframes line-bot-rotate-reverse{ from{ transform:translateY(-13px) rotateZ(135deg);} to{ transform:translateY(-13px) rotateZ(0);} }

@keyframes dropHeader{ from{ top:-7rem;} to{ top:2.7083vw;} }
@keyframes insertHeader{ from{ top:2.7083vw;} to{ top:-7rem;} }

/* ========== Responsive (Mobile) ========== */
@media (max-width:1023px){

}

@media (max-width:599px){
    #hd_pop{ width:90% !important; height:100vh; position:absolute; width:100% !important; top:3% !important; display:flex; justify-content:center; align-items:center; }
    #hd_pop > div{ margin:0 auto !important; left:auto !important; top:5% !important; width:85% !important; border-radius:22px; overflow:hidden; }
    .hd_pops_con{ width:100% !important; height:auto !important; }
    .hd_pops_footer{ font-size:2.6vw !important; }
    .pc-mobile{ display:none !important; }
    .mobile-pc{ display:flex !important; }

    header{
        position:fixed !important; top:0 !important; left:0 !important;
        z-index:9999; width:100% !important;
        height: 15vw;
        display:flex; justify-content:center; align-items:center;
        background:#ffffff; padding:0;
        border-radius: 0 !important;
        transform: none !important;
        box-shadow: 0 0.5vw 2vw rgba(0,0,0,0.06);
    }
    header.drop{
        position:fixed !important; top:0 !important;
        animation:none !important; background-color:#ffffff; transition:none;
    }
    header.insert{
        animation:none !important; top:0 !important;
    }

    .header_logo{
        width:39%;
        margin-left:-47%;
        margin-bottom:0;
    }
    .header_logo_1{
        width: 100%;
    }

    .header_menu{
        display:flex !important;
        position:fixed !important;
        right:-100%; left:auto !important; top:0 !important;
        width:60% !important; height:100vh !important;
        margin-left: 0 !important;
        padding:20% 4% 0 10%;
        flex-direction:column; flex-wrap:wrap;
        justify-content:flex-start !important; align-items:flex-start !important;
        gap:3vh;
        background:var(--mc); color:#fff;
        font-family: var(--tf); font-weight: 600; font-size:4.5vw;
        box-sizing: border-box;
        z-index: 99999;
        pointer-events:none;
        transition: right .3s;
    }
    .header_menu_drop{ right:0 !important; pointer-events:auto !important; }
    .header_menu_1{ color:#fff !important; justify-content:flex-start !important; width:100%; height:auto !important; }
    .header_menu_1:hover{ color:#ffe254 !important; }

    .header_menu_1{
        width:100%; display:flex; justify-content:flex-start; align-items:center;
        margin:0; font-weight:600; color:#fff; text-align:start; transition:color .3s;
        height: unset;
    }
    .header_menu_1:hover{ color:#fff; font-weight:600; }

    .hamburger {
        position: fixed;
        top: 0;
        right: 5%;
        height: 15vw;
        display: flex;
        align-items: center;
        z-index: 999999;
    }
    .hamburger-menu {
        width: 8vw;
        height: 4.5vw;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    div.line {
        background: var(--mc);
        width: 100%;
        height: 2px;
        border-radius: 0px;
        position: absolute;
        transition: all 0.3s;
        transform-origin: center;
        margin: 0 !important;
    }
    .top-reverse { top: 0%; }
    .bot-reverse { bottom: 0%; }
    .line_change.top-reverse { top: 50%; transform: translate(0, -50%) rotate(45deg); background: #fff; }
    .line_change.mid-reverse { opacity: 0; }
    .line_change.bot-reverse { bottom: 50%; transform: translate(0, 50%) rotate(-45deg); background: #fff; }

    #line-mid { background-color: var(--mc) !important; }

    .header_quick{ top:48%; right:0%; gap:1.5vw; }
    .header_quick_item{ width:13vw; height:13vw; }
    .header_quick_item02{ width:16vw; height:16vw; }

    #hd_pop{ top:5% !important; }
    #hd_pop > div{ width:90% !important; }

    .exsm { font-size: 3.1vw; }
    .sm { font-size: 3.45vw; }
    .sm-md { font-size: 3.8vw; }
    .semimd { font-size: 4.2vw; }
    .md { font-size: 5.8vw; }
    .exmd { font-size: 6.5vw; }
    .md-lg { font-size: 8.5vw; }
    .semilg { font-size: 9.7vw; }
    .lg { font-size: 12.3vw; }
    .exlg { font-size: 14vw; }

    .mst {
        font-family: var(--mf);
        font-weight: 400;
        font-size: 3.3vw;
        line-height: 1.5;
    }
}
