/* ========== Design Tokens ========== */
:root {
    --mc: #d8371d;
    --sc: #fdd001;
    --tc: #2b201e;
    --fc: #f5efe3;
    --fifc: #a8453a;

    --mf: 'Pretendard Variable';
    --sf: 'Vitro_core';
    --tf: 'Paperozi';
    --ff: 'sandoll-press-basic';
    --fiff: 'sandoll-press-original';
    --of: 'Montserrat';
}

.fwrap {
    flex-wrap: wrap;
}

@font-face {
    font-family: 'Saenggeojincheon';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2212@1.0/SaenggeoJincheon.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "sandoll-press-basic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "sandoll-press-original", sans-serif;
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'Vitro_core';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10-21@1.0/Vitro_core.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'YeogiOttaeJalnan';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MungyeongGamhongApple';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2410-2@1.0/Mungyeong-Gamhong-Apple.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'SolmoeKimDaegeon';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts-20-12@1.0/kdg_Light.woff') format('woff');
    font-weight: 300;
    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;
}

/* Prefer visible focus; override where necessary with a custom ring */
:focus-visible {
    outline: 2px solid var(--mc);
    outline-offset: 2px;
}

/* ========== 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: 300;
    line-height: 1.5
}

.sf {
    font-family: var(--sf);
    font-weight: 300;
    line-height: 1.25
}

.tf {
    font-family: var(--tf);
    font-weight: 300;
}

/* fixed: was var(--tc) */
.ff {
    font-family: var(--ff);
    font-weight: 300;
}

/* fixed: was var(--tc) */
.fiff {
    font-family: var(--fiff);
    font-weight: 300;
}

/* fixed: was var(--tc) */
.of {
    font-family: var(--of);
}

/* Optional semantic weight */
.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;
}

section img {
    width: 100%;
}

.exsm {
    font-size: 0.9vw;
}

.sm {
    font-size: 1.1vw;
}

.sm-md {
    font-size: 1.3vw;
}

.semimd {
    font-size: 1.7vw;
}

.md {
    font-size: 2vw;
}

.exmd {
    font-size: 2.8vw;
}

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

.fifcbg {
    background: var(--fifc);
}

.mc {
    color: var(--mc);
}

.sc {
    color: var(--sc);
}

.tc {
    color: var(--tc);
}

.fc {
    color: var(--fc);
}

.fifc {
    color: var(--fifc);
}


/* ========== Layout Utilities ========== */
.vcline {
    height: 100%;
    width: 0.01vw;
}

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

.absol {
    position: absolute;
}

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

.pc-mobile {
    display: flex;
}

.mobile-pc {
    display: none;
}

html {
    scroll-behavior: smooth !important;
}

/* ========== 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;
}

.scrX.slow .scrX_item {
    animation-duration: 40s;
}

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

/* keep only once */

/* Buttons (new) */
.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;
}

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

.absol {
    position: absolute;
}

/* Board */
#bo_v>header {
    display: block;
    position: relative;
    background: transparent;
    padding: 0;
    border-bottom: 1px solid #000;
    font-family: var(--mf);
    /* de-duped */
}

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



/* Content wrap */
#content_wrap {
    padding-bottom: 0 !important;
}

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

/* ========== Fonts ========== */
@font-face {
    font-family: 'SfHambakneun';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2106@1.1/SF_HambakSnow.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    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: 'Paperozi';
    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: 'Paperozi';
    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: 'Paperozi';
    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: 'Paperozi';
    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: 'Paperozi';
    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: 'Paperozi';
    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: 'Paperozi';
    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: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* ========== 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: 0;
    }
}

@keyframes insertHeader {
    from {
        top: 0;
    }

    to {
        top: -7rem;
    }
}


.white {
    color: white;
}


.face .face_top_2nd {
    margin-left: 0%;
    width: 75.5%;
    overflow: hidden;
    margin-top: 1.3% !important;
    font-size: 0.9vw;
}

.face .face_top_3rd {
    margin-left: 0%;
    width: 76%;
    margin-top: 0.2%;
    overflow: hidden;
}

.face .face_top_4th {
    margin-left: 0%;
    overflow: hidden;
    width: 75.6%;
    margin-top: 0.3%;
}

.face .face_top {
    height: 14.4vw;
    margin-top: 5.7%;
    margin-left: -75.3%;
    background: white;
    width: 0.01vw;
}

.semilg .line {
    overflow: hidden;
}

.md-lg .line {
    overflow: hidden;
}

.bold .line {
    overflow: hidden;
}

.sf .line {
    overflow: hidden;
}

.tf .line {
    overflow: hidden;
}


.menu_2nd .con7_mid_top_cate {
    display: flex;
    justify-content: center;
    align-items: center;
    width: unset;
    white-space: nowrap;
    height: 100%;
    transition: 0.3s all;
    cursor: pointer;
}


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

/* gsap에서 넣을 class */
.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%);
}


/* ========== Responsive ========== */
@media (max-width:1023px) {
    #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;
    }
}


header h1 {
    margin: 50px 0;
    font-size: 0.7em;
    font-weight: 100;
    text-align: center;
    font-family: 'pretendard Variable';
}

header ul {
    width: 16vw;
    margin: 0 auto;
    right: -16%;
}

header ul li {
    float: left;
    list-style: none;
    position: relative;
    width: 100%;
}

header ul li a {
    font-family: 'pretendard Variable';
    font: 700 0.9vw 'pretendard Variable';
    text-transform: uppercase;
    position: relative;
    color: #d90000;
    text-decoration: none;
    border: 3px solid #d90000;
    letter-spacing: 1px;
    padding: 0.5vw 1.8vw;
    display: block;
    width: 150px;
    z-index: 5000;
    width: 100%;
    box-sizing: border-box;
}

header ul li a i {
    font-size: 0.7em !important;
    position: absolute;
    right: 1.6vw;
    top: 40%;
}

header ul li .drop-down {
    position: absolute;
    padding: 0;
    display: none;
    margin: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    background: white;
}

header ul li .drop-down li {
    position: relative;
    float: none;
    width: 100%;

}

header ul li .drop-down li a {
    border-top: none;
    width: 150px;
    width: 100%;

}

header ul li .drop-down li a:hover {
    background: #d90000;
    color: #ffffff;
}

header ul li .drop-down li:nth-of-type(1) a {
    border-top: none;
}

header .accent {
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #d90000;
    position: absolute;
    transition: 0.3s ease;
}

header .animate {
    width: 100%;
    transition: 0.3s ease;
}

header .item:hover {
    color: #ffffff;
}

header>ul {
    right: 1.2vw;
    top: 6.3vw;
    background: white;
}



/* ------------------------------- PC header 커스텀 시작 ------------------------------------ */


.header {
    width: 100%;
    height: 6.2vw;

    position: fixed;
    top: 1vw;
    z-index: 999999999;

    display: flex;
    justify-content: center;
    align-items: center;

    transition-duration: 0.3s;
}

.header_logo {
    width: 8.542vw;
}

.hd_twrap {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.header_tel {
    width: 1.719vw;
    margin-right: -0.104vw;
}

.header_tel_txt {
    font-size: 1.7vw;
}

.header_wrap {
    position: relative;

    width: calc(100% - 2.6vw);
    height: 100%;

    border: 1px solid #fff;
    background: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 0.625vw;
    box-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.08);
}

.header_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    height: 97%;

    border: 0.156vw solid #d8371d;
    background: #fff;

    border-radius: 0.625vw;

    padding: 0 5vw;
}

.header_menu {
    width: 40vw;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_menu_1 {
    width: fit-content;
    height: 100%;

    display: flex;
    justify-content: flex-start;
    align-items: center;

    position: relative;

    color: #000;
    transition: color 0.4s;

    cursor: pointer;
}

.header_menu_1>p {
    z-index: 100;
    font-size: 1.1vw;
    font-weight: 600;
    padding: 0 0.5vw;

}

.header_menu_1::before {
    content: '';

    width: 0;
    height: 30%;

    position: absolute;
    transition: width 0.3s;

    background: #d8371d;
}

.header_menu_1.remote_on::before {
    width: 100%;
}

.header_menu_1.remote_on {
    color: #fff;
}


@media (min-width: 599px) {
    .header_menu_1:hover {
        color: #fff;
    }

    .header_menu_1:hover::before {
        width: 100%;
    }

}



/* ------------------- PC header 커스텀 끝------------------- */



@media screen and (max-width: 599px) {
    .header_wrap {
        border: none;
        border-radius: 0;
        width: 100%;
        height: 100%;

        box-shadow: 0 0.5vw 5vw rgba(0, 0, 0, 0.08);
    }

    .header_inner {
        width: 100%;
        border: none;
        border-radius: 0;

        padding: 0;
        padding-left: 3vw;
    }

    .menu-hide {
        display: none !important;
    }

    .menu-show {
        display: flex !important;
    }

    .hamburger-top {
        top: 13% !important;
    }

    .hamburger {
        position: absolute;
        top: 33%;
        right: 5%;
    }

    .hamburger-menu {
        width: 8vw;
        height: 4.5vw;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    div.line {
        background: #d90000;
        width: 100%;
        height: 2px;
        border-radius: 0px;
        position: relative;
        transition: all 0.3s;
        transform-origin: center;
        position: absolute;
        margin: 0 !important;
    }

    div.line.mid-reverse {
        background-color: #d90000;
    }


    .top-reverse {
        top: 0%;
    }

    .bot-reverse {
        bottom: 0%;
    }

    .line_change.top-reverse {
        top: 50%;
        transform: translate(0, -50%) rotate(45deg);
        background-color: #d8371d;
    }

    .line_change.mid-reverse {
        opacity: 0;
    }

    .line_change.bot-reverse {
        bottom: 50%;
        transform: translate(0, 50%) rotate(-45deg);
        background-color: #d8371d;
    }


    .header.top0 .line_change.bot-reverse {
        background: #d8371d;
    }

    .header.top0 .line_change.top-reverse {
        background: #d8371d;
    }


    /* ------------------- 모바일 header 커스텀 시작------------------- */

    .header {
        height: 15vw;
        position: fixed;
        top: 0;
        font-size: 4.5vw;
        background: #fff;
    }


    .header_logo {
        width: 24vw;
    }

    .header_menu {
        position: fixed !important;
        right: -100%;
        pointer-events: none;
        padding-left: 10%;
        width: 63%;
        box-sizing: border-box;
        transition: all 0.3s;
        clear: both;

        height: 100vh;
        flex-wrap: wrap;
        gap: 5vh;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        top: 0%;

        border-left: 0.1vw solid #d8371d;
        background: #fff;
        color: #d8371d;
    }

    .header_menu.header_menu_drop {
        top: 0%;
        pointer-events: initial !important;
        opacity: 1;
        right: 0;

        padding: 0;
    }

    .header_menu_1 {
        height: auto;
        padding-bottom: 0;
    }

    .header_quick {
        position: fixed;
        bottom: 19%;
        right: 2%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 33333;
        gap: 1.5vw;
    }

    .header_quick_item {
        width: 13vw;
    }

    .header_menu_1>p {
        font-size: 4.3vw;
        padding: 0 2vw;
    }

    .header_menu_1::before {
        height: 7vw;
    }

    /* -------------------header 커스텀 끝------------------- */

}