@charset "utf-8";
:root {
    --black: #333333;
    --black-90: #1a1a1a;

    --gray-10: #f5f5f5;
    --gray-20: #d9d9d9;
    --gray-60: #666666;
    --gray-80: #888888;
    --gray-90: #999999;

    --primary-10: #eaf5f6;
    --primary-20: #d4f2f4;
    --primary-30: #74e7da;
    --primary: #04445f;

    --blue: #4987ff;
    --yellow-light: #ffc700;
    --yellow: #ff8f0c;
    --red-light: #ff7b7b;
    --red: #ff4f4f;

    --disabled: #e8e8e8;
}

/* hide */
.hide { display: none !important; } 

/* gap */
.mt0 { margin-top: 0 !important; }
.mt04 { margin-top: 4px !important; }
.mt08 { margin-top: 8px !important; }
.mt12 { margin-top: 12px !important; }
.mt16 { margin-top: 16px !important; }
.mt24 { margin-top: 24px !important; }
.mt36 { margin-top: 36px !important; }
.mt48 { margin-top: 48px !important; }
.mb0 { margin-bottom: 0 !important; }
.pl20 { padding-left: 20px; }

.ft_poppins { font-family:'Poppins'; }


/*? btn */
.btn { position: relative; font-weight: 500; line-height: 24px; text-align: center; border-radius: 6px; pointer-events: all; transition: all 0.1s ease-in-out; }
.btn_primary { color: #fff; background: var(--primary); border: 2px solid var(--primary); }
.btn_basic { color: var(--primary); background: #fff; border: 2px solid var(--primary); }
.btn.disabled { color: var(--gray-60); background: var(--gray-05); border: 2px solid var(--gray-05); cursor: auto; pointer-events: none; }
.btn.ic_enter::after { background: url(../image/icon/icon_enter.svg) no-repeat center center; background-size: contain; content: ''; display: inline-block; margin-left: 8px; }
.btn_sub_box { position: relative; }
.btn_sub_box .btn { font-size: 16px; padding: 10px 24px; display: inline-block; }
.btn_sub_box .btn + .btn { margin-left: 30px; }

/*? tag */
.tag_list_box { display: flex; flex-wrap: wrap; }
.tag_list_box .tag { margin: 0 6px 6px 0; }
.tag { font-size: 16px; font-weight: 700; line-height: 22px; text-align: center; padding: 4px 8px; border-radius: 4px; display: inline-block; }
.tag.small { font-size: 12px; line-height: 12px; padding: 4px 8px; }
.tag.blue { color: var(--blue); background: #dce8ff; }
.tag.yellow { color: var(--yellow); background: #ffe9cf; }
.tag.yellow_light { color: var(--yellow-light); background: #FFF4CC; }
.tag.red { color: var(--red); background: #fee2e2; }
.tag.red_light { color: var(--red-light); background: #FFEFEF; }
.tag.gray { color: var(--gray-60); background: #e6e6e6; font-weight: 400; }

/*? inform */
.inform_box { width: 100%; display: flex; flex-wrap: wrap; align-items: center; padding: 10px 8px; background: var(--gray-10); border-radius: 8px; }
.inform_box::before { width: 16px; height: 16px; background: url(../image/icon/icon_inform.svg) no-repeat center center; background-size: contain; content: ''; display: inline-block; margin-right: 8px; }
.inform_box p { font-size: 12px; font-weight: 400; color: var(--gray-80); line-height: 20px; }
.inform_box .tag { margin-right: 6px; }



/*! ─────────────────── Layout ─────────────────── */
html,body { width: 100%; height: 100%; background: #333333; }
#wrap { position: relative; min-height: 100%; }
#header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; }
#header .btn_exit { position: absolute; right: 24px; top: 24px; width: 48px; height: 48px; text-indent: -9999px; border-radius: 50%; background: url(../image/btn/btn_exit.svg) no-repeat center center ,#fff; overflow: hidden; box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3); }
#container { position: relative; background: #fff; margin: 0 auto; }
#container section { position: relative; }
#nav { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); min-width: 164px; text-align: center; padding: 8px 16px; background: var(--primary); border-radius: 20px; overflow: hidden; box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); z-index: 1000;}
#nav > a { font-size: 16px; font-weight: 500; color: #fff; line-height: 24px; padding: 0 8px; display: inline-block; }
#nav > a.disabled { opacity: 0.2; pointer-events: none; }
#nav > .btn_prev::before,
#nav > .btn_next::after { width: 16px; height: 16px; vertical-align: -2px; content: ''; display: inline-block; }
#nav > .btn_prev::before { background: url(../image/icon/icon_arrow_left.svg) no-repeat center center; background-size: 18px; margin-right: 4px; }
#nav > .btn_next::after { background: url(../image/icon/icon_arrow_right.svg) no-repeat center center; background-size: 18px; margin-left: 4px; }
#footer { position: absolute; left: 0; bottom: 0; width: 100%; padding: 0 48px 40px; }
#footer .footer_wrap { display: flex; justify-content: space-between; padding-top: 8px; border-top: 2px solid #ededed; }
#footer .footer_wrap p { font-size: 12px; font-weight: 400; color: var(--gray-60); line-height: 12px; }
#footer .footer_wrap p .page_numb { font-weight: 700; color: var(--gray-60); }



/*! ─────────────────── Components - 로딩 ─────────────────── */
#loading { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); overflow: hidden; z-index: 3000; }
#loading .loading_wrap { position: fixed; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); width: auto; min-width: 360px; text-align: center; padding: 16px; z-index: 3000; overflow: hidden; }
#loading .loading_wrap h2 { position: relative; font-size: 38px; font-weight: 700; color: #fff; line-height: 40px; letter-spacing: -1px; display: inline-block; margin-bottom: 32px; }
#loading .loading_wrap h2::before,
#loading .loading_wrap h2::after { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 8px; background: url(../image/icon/icon_dot.svg) no-repeat center center; background-size: contain; content: ''; display: inline-block; }
#loading .loading_wrap h2::before { left: -100px; }
#loading .loading_wrap h2::after { right: -100px; }
#loading .loading_wrap p { font-size: 28px; font-weight: 400; color: #fff; line-height: 38px; letter-spacing: -1px; }


/* PC */
@media screen and (min-width: 800px){ 
    #container { width: 800px; min-height: 1132px; }
}

/* M */
@media screen and (max-width: 799px) {

    .pl20 { padding-left: 12px !important; }
    .mt36 { margin-top: 16px !important; }

    .tag { min-width: 37px; font-size: 12px; line-height: 14px; }

    /*!  Layout  */
    html, body { background: #fff; }
    #wrap,
    #header { min-width: 360px; }
    #container { width: 100%; min-height: fit-content; }
    #header .btn_exit { right: 20px; top: 20px; width: 32px; height: 32px; background-size: 18px; }
    #nav { bottom: 24px; min-width: 150px; padding: 8px 12px; }
    #nav > a { font-size: 14px; line-height: 22px; }
    #nav > .btn_prev::before, 
    #nav > .btn_next::after { vertical-align: -2.5px;}
    #footer { bottom: 68px; padding: 0 20px 20px; }
    #footer .footer_wrap { border-top: 1px solid #ededed; }

    /*!  Loading  */
    #loading .loading_wrap h2 { font-size: 24px; line-height: 32px; letter-spacing: -0.5px; margin-bottom: 12px; }
    #loading .loading_wrap h2::before,
    #loading .loading_wrap h2::after { width: 30px; height: 6px; }
    #loading .loading_wrap h2::before { left: -60px; }
    #loading .loading_wrap h2::after { right: -60px; }
    #loading .loading_wrap p { font-size: 16px; letter-spacing: 0; line-height: 24px; }
}
