@charset "UTF-8";

/* 폰트연결 */
/* 가나초콜릿 */
@font-face {
    font-family: 'GanaChocolate';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ghanachoco.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}
/* SUIT */
@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Suit';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Heavy.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* 프리텐다드 */
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* 온글잎 류뚱체 */
@font-face {
    font-family: 'OngleipRyudung';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2405-2@1.0/Ownglyph_ryuttung-Rg.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}


/* ==================== 기본 설정 ==================== */
html { font-size:10px; }
body { margin:0 auto; padding:0;}

html, h1, h2, h3, h4, h5, h6, form, fieldset, img { margin:0; padding:0; border:0 }
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; }
input, button { margin:0; padding:0;}
input[type="submit"] {cursor:auto;}
button {cursor: auto;word-break: keep-all;}
select {margin:0}
p { margin:0; padding:0;}
hr { display:none }
a { text-decoration:none; color: var(--text);}
a:hover { text-decoration: none;}
.un_reboot_a { color: var(--text); text-decoration: underline; }
*, :after, :before {
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    word-break: normal;
    word-wrap: break-word;
}

img { max-width:100%; display:inline-block; height: auto; }

/* iOS에서 input date 텍스트정렬 */
input[type="date"]::-webkit-date-and-time-value{
    text-align: left;
    vertical-align: center;
}

div::-webkit-scrollbar {
    width: 0.6rem;
    height: 0.6rem;
}
div::-webkit-scrollbar-thumb {
    background-color: var(--light);
    border-radius: 100px;
}

/* ==================== 공통 class 설정 ==================== */
.font_gana{ font-family: 'GanaChocolate';}
.font_gangwon{ font-family: 'OngleipRyudung', Pretendard;}

.wh_pre{ white-space: pre-line;}
.break_word{ word-wrap: break-word;}
.keep_all{ word-break: keep-all;}
.text_underline{ text-decoration: underline;}

.rect{ aspect-ratio: 1/1; object-fit: cover;}

/* 스크롤바 none */
.scroll_bar_none {
    -ms-overflow-style: none;
}
.scroll_bar_none::-webkit-scrollbar {
    display: none;
}

/* gap */
.gap_4{ gap: 0.4rem;}
.gap_5{ gap: 0.5rem;}
.gap_6{ gap:0.6rem;}
.gap_8{ gap:0.8rem;}
.gap_10{ gap:1.0rem;}
.gap_12{ gap:1.2rem;}
.gap_14{ gap:1.4rem;}
.gap_15{ gap:1.5rem;}
.gap_16{ gap:1.6rem;}
.gap_20{ gap: 2.0rem;}
.gap_24{ gap: 2.4rem;}
.gap_25{ gap:2.5rem;}
.gap_30{ gap:3.0rem;}
.gap_40{ gap:4.0rem;}
.gap_50{ gap:5.0rem;}
.gap_60{ gap:6.0rem;}

/* 아이콘 너비 */
.icon_4{ width: 0.4rem; height: auto; flex-shrink: 0;}
.icon_6{ width: 0.6rem; height: auto; flex-shrink: 0;}
.icon_7{ width: 0.7rem; height: auto; flex-shrink: 0;}
.icon_8{ width: 0.8rem; height: auto; flex-shrink: 0;}
.icon_10{ width: 1.0rem; height: auto; flex-shrink: 0;}
.icon_12{ width: 1.2rem; height: auto; flex-shrink: 0;}
.icon_14{ width: 1.4rem; height: auto; flex-shrink: 0;}
.icon_15{ width: 1.5rem; height: auto; flex-shrink: 0;}
.icon_16{ width: 1.6rem; height: auto; flex-shrink: 0;}
.icon_18{ width: 1.8rem; height: auto; flex-shrink: 0;}
.icon_20{ width: 2.0rem; height: auto; flex-shrink: 0;}
.icon_24{ width: 2.4rem; height: auto; flex-shrink: 0;}
.icon_25{ width: 2.5rem; height: auto; flex-shrink: 0;}
.icon_28{ width: 2.8rem; height: auto; flex-shrink: 0;}
.icon_30{ width: 3.0rem; height: auto; flex-shrink: 0;}
.icon_32{ width: 3.2rem; height: auto; flex-shrink: 0;}
.icon_35{ width: 3.5rem; height: auto; flex-shrink: 0;}
.icon_36{ width: 3.6rem; height: auto; flex-shrink: 0;}
.icon_38{ width:3.8rem;  height: auto; flex-shrink: 0;}
.icon_40{ width: 4.0rem; height: auto; flex-shrink: 0;}
.icon_48{ width:4.8rem; height: auto; flex-shrink: 0;}
.icon_50{ width: 5.0rem; height: auto; flex-shrink: 0;}
.icon_56{ width:5.6rem; height: auto; flex-shrink: 0;}
.icon_60{ width: 6.0rem; height: auto; flex-shrink: 0;}
.icon_120{ width:12.0rem; height: auto; flex-shrink: 0;}

/* 폰트컬러 */
/* 부트스트랩 class는 --var값으로 설정이 되어 있지 않아서 따로 만들었습니다. 필요시 추가해서 사용 */
.fc_primary{color: var(--primary);}
.fc_primary_light{color: var(--primary-light);}
.fc_primary_dark{color: var(--primary-dark);}
.fc_secondary{color: var(--secondary);}
.fc_text{color: var(--text);}
.fc_gray_100{color: var(--gray-100);}
.fc_gray_200{color: var(--gray-200);}
.fc_gray_300{color: var(--gray-300);}
.fc_gray_400{color: var(--gray-400);}
.fc_gray_500{color: var(--gray-500);}
.fc_gray_600{color: var(--gray-600);}
.fc_gray_700{color: var(--gray-700);}
.fc_red{color: var(--red);}


/* 배경컬러 */
.bg-primary{background-color: var(--primary) !important;}


/* 라인 헤이트 */
.line_h1 { line-height:1.0; }
.line_h1_1 { line-height:1.1; }
.line_h1_2 { line-height:1.2; }
.line_h1_3 { line-height:1.3; }
.line_h1_4 { line-height:1.4; }
.line_h1_5 { line-height:1.5; }
.line_h1_6 { line-height:1.6; }
.line_h1_7 { line-height:1.7; }
.line_h1_8 { line-height:1.8; }
.line_h1_9 { line-height:1.9; }
.line_h2 { line-height:2.0; }


.fs_8 { font-size: 0.8rem; }
.fs_9 { font-size: 0.9rem; }
.fs_10 { font-size: 1.0rem; }
.fs_11 { font-size: 1.1rem }
.fs_12 { font-size: 1.2rem }
.fs_13 { font-size: 1.3rem }
.fs_14 { font-size: 1.4rem }
.fs_15 { font-size: 1.5rem }
.fs_16 { font-size: 1.6rem }
.fs_17 { font-size: 1.7rem }
.fs_18 { font-size: 1.8rem }
.fs_19 { font-size: 1.9rem }
.fs_20 { font-size: 2.0rem }
.fs_21 { font-size: 2.1rem }
.fs_22 { font-size: 2.2rem; }
.fs_23 { font-size: 2.3rem; }
.fs_24 { font-size: 2.4rem; }
.fs_25 { font-size: 2.5rem; }
.fs_26 { font-size: 2.6rem; }
.fs_27 { font-size: 2.7rem; }
.fs_28 { font-size: 2.8rem; }
.fs_29 { font-size: 2.9rem; }
.fs_30 { font-size: 3.0rem; }
.fs_31 { font-size: 3.1rem; }
.fs_32 { font-size: 3.2rem; }
.fs_33 { font-size: 3.3rem; }
.fs_34 { font-size: 3.4rem; }
.fs_35 { font-size: 3.5rem; }
.fs_36 { font-size: 3.6rem; }
.fs_37 { font-size: 3.7rem; }
.fs_38 { font-size: 3.8rem; }
.fs_39 { font-size: 3.9rem; }
.fs_40 { font-size: 4.0rem; }
.fs_41 { font-size: 4.1rem; }
.fs_42 { font-size: 4.2rem; }
.fs_43 { font-size: 4.3rem; }
.fs_44 { font-size: 4.4rem; }
.fs_45 { font-size: 4.5rem; }
.fs_46 { font-size: 4.6rem; }
.fs_47 { font-size: 4.7rem; }
.fs_48 { font-size: 4.8rem; }
.fs_49 { font-size: 4.9rem; }
.fs_50 { font-size: 5.0rem; }
.fs_51 { font-size: 5.1rem; }
.fs_52 { font-size: 5.2rem; }

.fw_100 { font-weight: 100; }
.fw_200 { font-weight: 200; }
.fw_300 { font-weight: 300; }
.fw_400 { font-weight: 400; }
.fw_500 { font-weight: 500; }
.fw_600 { font-weight: 600; }
.fw_700 { font-weight: 700; }
.fw_800 { font-weight: 800; }
.fw_900 { font-weight: 900; }

/*글자 줄임말/자르기*/
.line_text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; word-break: break-all;word-break: break-all;}
.line1_text { white-space: normal; overflow: hidden; text-overflow: ellipsis;word-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;word-break: break-all;}
.line2_text { white-space: normal; overflow: hidden; text-overflow: ellipsis;word-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;word-break: break-all;}
.line3_text { white-space: normal; overflow: hidden; text-overflow: ellipsis;word-wrap: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;word-break: break-all;}


/* ==================== 공통 여백 class ==================== */
/*마진*/
.mt_8{margin-top:0.8rem;}
.mt_12{margin-top:1.2rem;}
.mt_16{margin-top:1.6rem;}
.mt_20{margin-top:2.0rem;}
.mt_24{margin-top:2.4rem;}
.mt_25{margin-top:2.5rem;}
.mt_28{margin-top:2.8rem;}
.mt_35{margin-top:3.5rem;}
.mt_36{margin-top:3.6rem;}
.mt_40{margin-top:4.0rem;}
.mt_60{margin-top:6.0rem;}
.mt_70{margin-top:7.0rem;}
.mt_80{margin-top:8.0rem;}


.mb_4{margin-bottom:0.4rem;}
.mb_6{margin-bottom:0.6rem;}
.mb_8{margin-bottom:0.8rem;}
.mb_12{margin-bottom:1.2rem;}
.mb_14{margin-bottom:1.4rem;}
.mb_16{margin-bottom:1.6rem;}
.mb_18{margin-bottom:1.8rem;}
.mb_20{margin-bottom:2.0rem;}
.mb_24{margin-bottom:2.4rem;}
.mb_25{margin-bottom:2.5rem;}
.mb_30{margin-bottom:3.0rem;}
.mb_40{margin-bottom:4.0rem;}
.mb_50{margin-bottom:5.0rem;}
.mb_60{margin-bottom:6.0rem;}
.mb_70{margin-bottom:7.0rem;}
.mb_90{margin-bottom:9.0rem;}


.mr_4{margin-right:0.4rem;}
.mr_6{margin-right:0.6rem;}
.mr_8{margin-right:0.8rem;}
.mr_12{margin-right:1.2rem;}
.mr_16{margin-right:1.6rem;}
.mr_20{margin-right:2.0rem;}


.ml_6{margin-left:0.6rem;}
.ml_8{margin-left:0.8rem;}
.ml_16{margin-left:1.6rem;}
.ml_20{margin-left:2.0rem;}


.mx_n16{margin-left:-1.6rem;margin-right:-1.6rem;}
.mx_n20{margin-left:-2.0rem;margin-right:-2.0rem;}



/*패딩*/
.pt_6{padding-top:0.6rem;}
.pt_14{ padding-top: 1.4rem;}
.pt_20{ padding-top: 2.0rem;}
.pt_24{padding-top:2.4rem;}
.pt_25{padding-top:2.5rem;}
.pt_28{padding-top:2.8rem;}
.pt_40{ padding-top: 4.0rem;}
.pt_50{ padding-top: 5.0rem;}
.pt_60{ padding-top: 6.0rem;}
.pt_80{padding-top:8.0rem;}
.pt_120{padding-top:12.0rem;}


.pb_8 { padding-bottom: 0.8rem;}
.pb_14 { padding-bottom: 1.4rem;}
.pb_16 { padding-bottom: 1.6rem;}
.pb_18{padding-bottom:1.8rem;}
.pb_20{padding-bottom:2.0rem;}
.pb_24{ padding-bottom: 2.4rem;}
.pb_25{padding-bottom:2.5rem;}
.pb_40{padding-bottom:4.0rem;}
.pb_50{padding-bottom:5.0rem;}
.pb_60{padding-bottom:6.0rem;}
.pb_70{padding-bottom:7.0rem;}
.pb_80{padding-bottom:8.0rem;}
.pb_90{padding-bottom:9.0rem;}
.pb_100{padding-bottom:10.0rem;}


.pl_16 { padding-left: 1.6rem;}


.pr_16{padding-right:1.6rem;}


.py_8{ padding-top: 0.8rem; padding-bottom: 0.8rem;}
.py_20{padding-top:2.0rem;padding-bottom:2.0rem;}
.py_35{padding-top:3.5rem;padding-bottom:3.5rem;}


.px_8{padding-left:0.8rem;padding-right:0.8rem;}
.px_12{padding-left:1.2rem;padding-right:1.2rem;}
.px_18{padding-left:1.8rem;padding-right:1.8rem;}
.px_16{padding-left:1.6rem;padding-right:1.6rem;}
.px_20{padding-left:2.0rem;padding-right:2.0rem;}


.p_20{ padding: 2rem;}



/* ==================== 공통 요소 설정 ==================== */
/* 컨테이너 */
.container, .container-fluid, .container-xl, .container-lg, .container-md, .container-sm{ padding-right: 0; padding-left: 0;}
.container-lg{ max-width: 1196px;}
.container{ max-width: 1096px;}
.container-md{ max-width: 960px;}
.container-sm{ max-width: 560px;}

/*노데이터*/
.no_data {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


/* ==================== 버튼 / 인풋 디자인 ==================== */
/* 버튼 */
.btn {
    height: var(--height);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 500;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    word-break: keep-all;
    border-radius: 1.2rem;
}

.btn-sm {
    height: var(--height_sm);
    font-size: 1.4rem;
    font-weight: 400;
    padding-left: 1.0rem;
    padding-right: 1.0rem;
    border-radius: 0.6rem;
}

.btn-md {
    height: var(--height_md);
}

.btn-lg {
    height: var(--height_lg);
    font-size: 1.6rem;
    font-weight: 600;
}

.btn-link {
    height: auto;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 0;
    background: transparent;
    flex-shrink: 0;
    border: 0;
}

.btn-icon {
    height: auto;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 0;
    background: transparent;
    flex-shrink: 0;
    border: 0;
}
.btn-icon img{flex-shrink: 0;}

.btn_auto {
    padding: 0;
    width: auto;
    height: auto;
}

/* 버튼 disabled */
.btn.disabled, .btn:disabled {
    opacity: 1;
    color: var(--gray-300) !important;
    background: var(--gray-200) !important;
    border-color: var(--gray-200) !important;
}

/* 버튼 색상 커스텀 */
.btn:active, .btn:focus {
    outline:none !important;
    box-shadow:none !important;
}

.btn-primary {
    color: #fff !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.btn-primary:not(:disabled):hover {
    color: #fff !important;
    background-color: #124321 !important;
    border-color: #124321 !important;
}
.btn-primary:not(:disabled):focus, .btn-primary:not(:disabled).focus, .btn-primary:not(:disabled):active {
    color: #fff !important;
    background-color: #124321 !important;
    border-color: #124321 !important;
}

.btn-outline-gray-100 {
    color: var(--gray-300) !important;
    background: #fff !important;
    border-color: var(--gray-100) !important;
}
.btn-outline-gray-100:not(:disabled):hover {
    color: var(--gray-300) !important;
    background-color: var(--light) !important;
    border-color: var(--gray-100) !important;
}
.btn-outline-gray-100:not(:disabled):focus, .btn-outline-gray-100:not(:disabled).focus,.btn-outline-gray-100:not(:disabled):active {
    color: var(--gray-300) !important;
    background-color: var(--light) !important;
    border-color: var(--gray-100) !important;
}


/* 인풋 자동완성 초기화 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0px 1000px var(--bg) inset;
    box-shadow: 0 0 0px 1000px var(--bg) inset;
    transition: background-color 5000s ease-in-out 0s;
}

input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0px 1000px var(--bg) inset;
    box-shadow: 0 0 0px 1000px var(--bg) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* 입력 인풋 */
/* .form-control { height: var(--height);}
.form-control-sm { height: var(--height_sm);}
.form-control-md { height: var(--height_md);}
.form-control-lg { height: var(--height_lg); border-radius: 1.0rem;}
.form-control-auto { height: auto;} */

.form-control {
    height: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    border: 0;
    background-color: transparent;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1;
    font-family: 'OngleipRyudung', 'Pretendard';
    padding: 0;
}
.form-control::placeholder{ color: var(--gray-200);}
.form-control:not(:disabled):focus, .form-control:not(:disabled):active{
    border: 0;
    background-color: transparent;
    outline: 0;
    box-shadow: none;
}
.form-control:disabled, .form-control[readonly]{
    border: 0;
    background-color: transparent;
    color: var(--gray-400);
}

/* textarea */
textarea.form-control{ resize: none; white-space: pre-line; min-height: 10rem; line-height: 1.1; overflow: auto;}


/* 이미지 업로드 */
.image_upload{ display: inline-block; position: relative;}
.upload_box{
    width: 10rem;
    height: 10rem;
    overflow: hidden;
    cursor: pointer;
    background: url(../img/btn_add_img.png) no-repeat center / 4.0rem;
    background-color: var(--light);
    border-radius: 1.2rem;
    position: relative;
}
.upload_box .max_img {
    position: absolute;
    bottom: 20%;
    width: 100%;
    left: 0;
    font-size: 1.5rem;
    text-align: center;
    color: var(--gray-500);
    font-weight: 500;
}
.image_upload.on .upload_box{background: none;}
.upload_del {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    width: 2.0rem;
    height: 2.0rem;
    border-radius: 50%;
    background-color: transparent;
    padding: 0 !important;
    display: none;
}
.upload_del img{width:100%;}
.image_upload.on .upload_del{display: flex;}

.ip_tit{ font-size: 1.8rem; line-height: 1.3; margin-bottom: 0.8rem; font-family: 'GanaChocolate';}
/* form-text */
.form-text {
    display: none;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--gray-300);
    margin-top: 0.8rem;
}
.form-text.help_text{ display: block;}


/* ==================== 모달 디자인 ==================== */
/* ===== 모달 공통 ===== */
body{ padding-right: 0px !important;}
body.modal-open[style]{ overflow-y: scroll;
    position: fixed;
    top: 0px;
    width: 100%;
}
.modal{ padding-right: 0px !important; overflow-y: auto;}
.modal-dialog { max-height: 100%; height: 100%;}
.modal .modal-dialog-scrollable .modal-body {
    overscroll-behavior: none;	/* 모달 내에서만 스크롤 */
    -webkit-overflow-scrolling: touch;	/* 아이폰에서 스크롤 부드럽게 */
}
.modal-backdrop{
    background: rgb(0 0 0 / 50%);
    backdrop-filter: blur(1rem);
}
.modal-backdrop.show{ opacity: 1;}

/* ===== modal-default ===== */
.modal-default {
    max-width: calc(54.0rem + 3.2rem);
    margin: 0 auto;
    padding: 2.0rem 1.6rem;
}

.modal .modal-header {
    padding: 2.0rem 2.0rem;
    align-items: center;
    justify-content: space-between;
}
.modal .modal-header .modal-title {
    font-size: 2.4rem;
    line-height: 1.3;
    flex: 1 1 auto;
}
.modal .modal-header .close {
    text-shadow: none;
    opacity: 1;
    width: 2.4rem;
    padding: 0;
    margin: 0;
    transition: .2s;
}

.modal .modal-content { border: 0; border-radius: 3rem;}
.modal .modal-body { position: relative; flex: 1 1 auto; padding: 0 2.0rem 2.0rem;}
.modal .modal-body .close_bar{ width:4.4rem;height:0.4rem;background:#E3E3E3;border-radius:1.0rem;margin:0 auto 1.0rem;border: 0;display: block;}

.modal .modal-footer > *{ margin:0;}
.modal .modal-footer { padding: 1.5rem 2.0rem 2.0rem; border:0; display: block;}

.modal_bd_tit{
    font-size: 1.8rem;
    line-height: 1.3;
}
.modal_bd_tit.font_gana{ font-size: 2.4rem}
.modal_bd_text{
    font-size: 1.5rem;
    color: var(--gray-300);
    line-height: 1.5;
    white-space: pre-line;
}
.modal_bd_text.fc_red{ color: var(--red);}


/* ===== modal-sm ===== */
.modal-sm {
    max-width: calc(38.0rem + 3.2rem);
    margin: 0 auto;
    padding: 2.0rem 1.6rem;
}
.modal .modal-sm .modal-header{ padding: 0; border: 0;}
.modal .modal-sm .modal-body{ border:0; padding: 3rem 3rem 1.5rem; margin-top: 0; text-align: center;}
.modal .modal-sm .modal-footer{ padding: 1.5rem 3rem 3rem;}


/* ===== modal-md ===== */
.modal-md {
    max-width: calc(56.0rem + 3.2rem);
    margin: 0 auto;
    padding: 2.0rem 2rem;
    /*max-height: calc(100% - 3.5rem);
    min-height: calc(100% - 3.5rem);*/
}

.modal .modal-md .modal-body{ padding: 4.4rem 3rem 2rem;}
.modal .modal-md .modal-footer{ padding: 2rem 3rem 3rem;}


/* 토스트팝업 */
/* toast */
.toast{
    width: 100%;
    max-width: 40rem;
    position: fixed;
    top: 8rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 1.4rem;
    box-shadow: none;
    font-weight: 300;
    z-index: 9999;
    border: 0;
    background: transparent;
}
.toast-body {
    padding: 1.2rem 3rem;
    background-color: rgba(0 0 0 / 70%);
    backdrop-filter: blur(0.8rem);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.5px;
    border-radius: 2.5rem;
    text-align: center;
}
.toast-body p{
    display: flex;
    align-items: center;
    line-height: 1.3;
    justify-content:center;
}
.toast-body p i{
    margin-right: 0.6rem;
}




/* ==================== 메인 페이지 ==================== */
.idx_pg{ min-height: 100vh;}
.main_bg_pg{ background: url(../img/main_bg.jpg) no-repeat center / cover;}
.main_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    padding-top: 18rem;
}
.main_tit .big_tit{
    font-size: 8.0rem;
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 0.4rem 0.4rem rgb(0 0 0 / 7%);
    margin-bottom: 1.6rem;
}
.main_tit p{
    font-size: 2.0rem;
    letter-spacing: 0.5px;
    line-height: 1.7;
    white-space: pre-line;
    text-shadow: 0 0 0.2rem rgb(0 0 0 / 15%);
}
.main_tit p span{ font-weight: 600;}

.main_btn_gr{
    margin-top: 2.8rem;
    display: flex;
    gap: 1.5rem;
}
.main_btn{
    font-size: 2.0rem;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    padding: 1.6rem 3.6rem;
    border-radius: 2.8rem;
    border: 2px solid #fff;
    background: rgb(255 255 255 / 3%);
    backdrop-filter: blur(0.5rem);
}
.main_btn:hover{ color: #fff;}

/* 브금 재생용 유튜브 */
#player{ width: 0; height: 0; visibility: hidden; position: absolute; bottom: 0; left: 0;}

/* ID 입력 모달 */
.login_md_ip{
    height: var(--height);
    border: 1px solid var(--gray-100);
    background: #fff;
    border-radius: 1.2rem;
    padding: 0.5rem 1.5rem;
    font-size: 1.5rem;
    color: var(--text);
    text-align: center;
    font-family: 'Suit', 'Pretendard';
}
.form-control.login_md_ip:not(:disabled):focus, .form-control.login_md_ip:not(:disabled):active{
    border: 1px solid var(--gray-100);
    background: #fff;
}

/* 눈 내리는 효과 */
.snow_wrap .snow_div {
    position: fixed;
    top: -10%;
    z-index: 9999;
    color: #fff;
    text-shadow : 0 0 5px rgba(0, 0, 0, 0.25);
    animation: snow_shake 3s ease-in-out infinite;
    user-select: none;
}
.snow_wrap .snow_div p { animation: snow_fall 10s linear infinite; }

.snow_wrap .snow_div:nth-of-type(0) { left: 0%; animation-delay: 0s; }
.snow_wrap .snow_div:nth-of-type(0) p { animation-delay: 0s; }
.snow_wrap .snow_div:nth-of-type(1) { left: 10%; animation-delay: 1s; }
.snow_wrap .snow_div:nth-of-type(1) p { animation-delay: 1s; }
.snow_wrap .snow_div:nth-of-type(2) { left: 20%; animation-delay: 0.5s; }
.snow_wrap .snow_div:nth-of-type(2) p { animation-delay: 6s; }
.snow_wrap .snow_div:nth-of-type(3) { left: 30%; animation-delay: 2s; }
.snow_wrap .snow_div:nth-of-type(3) p { animation-delay: 4s; }
.snow_wrap .snow_div:nth-of-type(4) { left: 40%; animation-delay: 2s; }
.snow_wrap .snow_div:nth-of-type(4) p { animation-delay: 2s; }
.snow_wrap .snow_div:nth-of-type(5) { left: 50%; animation-delay: 3s; }
.snow_wrap .snow_div:nth-of-type(5) p { animation-delay: 8s; }
.snow_wrap .snow_div:nth-of-type(6) { left: 60%; animation-delay: 2s; }
.snow_wrap .snow_div:nth-of-type(6) p { animation-delay: 6s; }
.snow_wrap .snow_div:nth-of-type(7) { left: 70%; animation-delay: 1s; }
.snow_wrap .snow_div:nth-of-type(7) p { animation-delay: 2.5s; }
.snow_wrap .snow_div:nth-of-type(8) { left: 80%; animation-delay: 0s; }
.snow_wrap .snow_div:nth-of-type(8) p { animation-delay: 1s; }
.snow_wrap .snow_div:nth-of-type(9) { left: 90%; animation-delay: 1.5s; }
.snow_wrap .snow_div:nth-of-type(9) p { animation-delay: 3s; }
.snow_wrap .snow_div:nth-of-type(10) { left: 25%; animation-delay: 0.5s; }
.snow_wrap .snow_div:nth-of-type(10) p { animation-delay: 2s; }
.snow_wrap .snow_div:nth-of-type(11) { left: 65%; animation-delay: 2.5s; }
.snow_wrap .snow_div:nth-of-type(11) p { animation-delay: 4s; }
.snow_wrap .snow_div:nth-of-type(12) { left: 85%; animation-delay: 2s; }
.snow_wrap .snow_div:nth-of-type(12) p { animation-delay: 7.5s; }
.snow_wrap .snow_div:nth-of-type(13) { left: 5%; animation-delay: 0s; }
.snow_wrap .snow_div:nth-of-type(13) p { animation-delay: 2.5s; }
.snow_wrap .snow_div:nth-of-type(14) { left: 45%; animation-delay: 1.5s; }
.snow_wrap .snow_div:nth-of-type(14) p { animation-delay: 3.5s; }
.snow_wrap .snow_div:nth-of-type(15) { left: 75%; animation-delay: 1s; }
.snow_wrap .snow_div:nth-of-type(15) p { animation-delay: 2s; }
.snow_wrap .snow_div:nth-of-type(16) { left: 35%; animation-delay: 2.5s; }
.snow_wrap .snow_div:nth-of-type(16) p { animation-delay: 4.5s; }
.snow_wrap .snow_div:nth-of-type(17) { left: 15%; animation-delay: 1s; }
.snow_wrap .snow_div:nth-of-type(17) p { animation-delay: 3s; }
.snow_wrap .snow_div:nth-of-type(18) { left: 95%; animation-delay: 0s; }
.snow_wrap .snow_div:nth-of-type(18) p { animation-delay: 2s; }

@keyframes snow_shake {
    0% {
        transform: translateX(0px);
    }
    50% {
        transform: translateX(80px);
    }
    100% {
        transform: translateX(0px);
    }
}

@keyframes snow_fall {
    0% {
        transform: translateY(0vh);
    }
    100% {
        transform: translateY(110vh);
    }
}

/* fade up 애니메이션 */
.fade_up_enter {
    opacity: 0;
    transform: translateY(20px);
}

.fade_up_enter_active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}


/* 트리 슬라이드 */
.tree_wr {
    position: relative;
    padding: 6rem 5.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.tree_slide .swiper-slide{ position: relative; display: flex; justify-content: center; align-items: center;}

.tree_slide_btn{ position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;}
.tree_slide_prev{ left: 1.9rem;}
.tree_slide_next{ right: 1.9rem;}

/* 트리 오너먼트 */
.ornament_btn{
    position: relative;
    aspect-ratio: 1/1;
    width: 8.4rem;
    flex-shrink: 0;
}
.ornament_btn img{ filter: drop-shadow(0 0.4rem 0.5rem rgb(0 0 0 / 25%));}

/* 내 오너먼트 효과 */
.ornament_btn.my_onmt img{ filter: drop-shadow(0 0 3rem rgb(255 255 0 / 48%)) drop-shadow(0 0 1.5rem rgb(255 255 0 / 30%)) drop-shadow(0 0 1rem rgba(255, 246, 196, 0.5)) drop-shadow(0 0 0.5rem rgb(255 255 255 / 60%)) drop-shadow(0 0 0.2rem rgb(0 0 0 / 25%));}


/* 투표한 오너먼트 표시 */
.vote_icon{
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 1;
    background: rgb(255 255 255 / 70%);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    width: 4.5rem;
    height: 4.5rem;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 30%);
    box-shadow: 0 0 24px rgb(255 255 255 / 61%);
}
.vote_icon.tree{ font-size: 3.6rem;}
.vote_icon.smile{ font-size: 3rem;}
.vote_icon.good{ font-size: 3rem;}
.ornament_btn.voted .vote_icon{ display: flex;}

.ornament_wr {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 6rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* 제출된 폼 결과 모달 */
#form_result .modal-content{
    border-radius: 0;
    background: unset;
}
#form_result .modal-header{ border: 0; padding: 0;}
#form_result .modal-footer{ padding: 0;}

#form_result .modal-header img, #form_result .modal-footer img{ width: 100%;}
#form_result .modal-body{
    position: relative;
    padding: 0 5rem 0;
    text-align: center;
    background: url(../img/message_bg_bd.png) repeat-y center / 100% auto;
}
#form_result .modal-body img{ border-radius: 1rem; margin-bottom: 2rem;}
#form_result .modal-body .result_tit{ font-size: 1.8rem; line-height: 1.3; margin-bottom: 1rem; color: var(--text); font-family: 'GanaChocolate';}
#form_result .modal-body .result_answer{ font-size: 2.4rem; font-weight: 500; line-height: 1.2; color: var(--gray-400); white-space: pre-line; font-family: 'OngleipRyudung', 'Pretendard';}

.reward_tit{ font-size: 2.8rem; line-height: 1.3;}


/* 투표버튼 */
.vote_btn_gr{ background: url(../img/message_bg_bd.png) repeat-y center / 100% auto; padding-top: 15px;}
.vote_btn{ padding: 0.6rem 1.0rem; border: 1px solid var(--gray-200); border-radius: 1.6rem; font-size: 1.4rem; font-weight: 500; color: var(--gray-300); line-height: 1.2; text-align: center; flex-shrink: 0;}
.vote_btn:hover, .vote_btn:focus{ color: var(--gray-300);}
.vote_btn.vote_red.active{ border-color: var(--red); color: var(--red);}
.vote_btn.vote_yellow.active{ border-color: var(--yellow); color: var(--yellow);}
.vote_btn.vote_green.active{ border-color: var(--primary); color: var(--primary)}

/* 결과 발표 오너먼트 */
.reword_container{ height: 100vh;}
.reword_ornament{
    display: flex;
    gap: 10rem;
    flex-wrap: wrap;
    justify-content: center;
}
.reword_ornament .font_gangwon {
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 0 0.2rem rgb(0 0 0 / 25%);
}
.reword_ornament .ornament_btn{ width: 15.7rem;}

/* 홈으로 버튼 */
.go_home{ position: fixed; bottom: 7rem; left: 50%; transform: translateX(-50%); width: 100%; max-width: 15rem; z-index: 1;}


/* ==================== 반응형==================== */
/*반응형 max 1200 xl*/
@media (max-width: 1199.98px) {}

/*반응형 max 992px lg*/
@media (max-width: 991.98px) {}

/*반응형 max 767px md*/
@media (max-width: 767.98px) {
    /* toast */
    .toast{ top: 5rem;}
    /* 메인 텍스트 */
    .main_tit .big_tit{ font-size: 6rem; word-break: break-all;}
    .main_tit p{ font-size: 1.8rem;}
    /* 메인 버튼 */
    .main_btn{ font-size: 1.8rem; padding: 1.2rem 2.6rem;}

    /* 폼 제출 결과 모달 */
    #form_result .modal-body{ padding-left: 4rem; padding-right: 4rem;}

    /* 결과 발표 오너먼트 */
    .reword_ornament{ gap: 8rem;}
    .reword_ornament .ornament_btn{ width: 10rem;}
}

/*반응형 max 576px sm*/
@media (max-width: 575.98px) {
    /* 메인 텍스트 */
    .main_tit .big_tit{ font-size: 5rem;}

    /* 모달 */
    .modal .modal-md .modal-body{ padding: 4rem 2rem 2rem;}
    /* 폼제출 모달 */
    .wish_modal .modal-body .mb_40{ margin-bottom: 2rem;}
    .modal_bd_tit.font_gana{ font-size: 1.6rem;}
    /* 폼 제출 결과 모달 */
    #form_result .modal-body .result_tit{ font-size: 1.7rem;}
    #form_result .modal-body .result_answer{ font-size: 2.0rem;}
    .vote_btn_gr{ padding-left: 1.6rem; padding-right: 1.6rem; gap: 0.5rem;}
    .vote_btn{ padding: 0.4rem 0.6rem; font-size: 1.3rem; letter-spacing: -0.5px;}
    #vote_btn_result .vote_btn{ padding: 0.4rem 1rem;}

    .reward_tit{ font-size: 2.2rem;}
    .ip_tit{ font-size: 1.6rem;}

    /* 트리 슬라이드 */
    /* 트리 오너먼트 */
    .ornament_btn{ width: 16vw;}
    .ornament_wr .ornament_gr{ gap: 1.6rem;}

    /* 결과 발표 오너먼트 */
    .reword_ornament{ gap: 5rem;}
    .reword_ornament .font_gangwon { font-size: 3rem;}
}

@media (max-width: 460px){
    /* 트리 슬라이드 */
    .tree_wr{ padding-right: 3.5rem; padding-left: 3.5rem;}
    /* 트리 오너먼트 */
    .ornament_wr{ row-gap: 5rem;}
    .ornament_wr .ornament_gr{ gap: 1.2rem;}

    /* 폼 제출 결과 모달 */
    #form_result .modal-body{ padding-left: 3rem; padding-right: 3rem;}

    /* 결과 발표 오너먼트 */
    .reword_container{ padding-bottom: 10.6rem !important; height: auto;}
    .reword_ornament{ flex-direction: column; align-items: center;}
    .reword_ornament .rst_onmt_gr{ flex-direction: row !important; flex-wrap: wrap; justify-content: center;}

    /* 홈으로 버튼 */
    .go_home{ height: 4.6rem; font-size: 1.6rem; max-width: 12rem; bottom: 2rem;}
}

/*반응형 max 375px*/
@media (max-width: 375px) {
    /* 메인 텍스트 */
    .main_tit .big_tit{ font-size: 4rem;}
    .main_tit p{ font-size: 1.6rem;}
    /* 메인 버튼 */
    .main_btn{ font-size: 1.6rem; padding: 1.2rem 2.4rem;}

    /* 트리 슬라이드 */
    .tree_slide_btn{ width: 3rem;}
}


#mt_id-error {
    display: block;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 0.8rem;
    color: var(--danger);
    position: relative;
    padding-left: 15px;
    letter-spacing: 0;
}
#err-text {
    display: block;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 0.8rem;
    color: var(--danger);
    position: relative;
    padding-left: 15px;
    letter-spacing: 0;
}
label.error{
    display: block;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 0.8rem;
    color: var(--danger);
    position: relative;
    padding-left: 15px;
    letter-spacing: 0;
}