/* =============================================================
   FOOTER + QUICK BAR — PSD sibling_원본.psd 정확 매핑
   canvas 1905 · footer y 26849~27273 (h 424) · quick y 27221~27350 (h 129)
   bg footer #fff6e0 · bg quick #e60012
   ============================================================= */

#bo_v > header { display: none; }

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

/* ===== FOOTER ===== */
.footer {
    width: 100%;
    background: #fff6e0 url('/images/f_logo.png') center bottom / 100% auto no-repeat;
    padding-top: 4.4094vw;
    padding-bottom: 9.7769vw;
    display: flex;
    flex-direction: column;
    z-index: 11;
    align-items: center;
    overflow: hidden;
    color: #000;
    font-family: 'Pretendard Variable', sans-serif;
    box-sizing: border-box;
}

.footer_logo {
    width: 14.5407%;                /* 277/1905 */
    aspect-ratio: 277 / 46;
    align-self: center;
    margin-top: 0;
    cursor: pointer;
    z-index: 2;
}
.footer_logo img { width: 100%; display: block; }

.footer_top_line {
    width: 100%;
    height: 1px;               /* 4/1905 */
    background: #000;
    opacity: 0.102;                 /* PSD 선 857 */
    margin-top: 2vw;           /* (27013 - 26979)/1905 = 34 */
    align-self: stretch;
    z-index: 1;
}

.footer_info {
    margin: 0;
    margin-top: 2.4672vw;           /* (27064 - 27017)/1905 = 47 */
    align-self: center;
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 500;
    font-size: 0.8399vw;            /* 16/1905 */
    line-height: 1.563;             /* PSD lineHeight */
    letter-spacing: -0.05em;
    color: #000;
    text-align: center;
    z-index: 2;
}
.footer_info .footer_title {
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 600;
}

.footer_copy {
    margin: 0;
    margin-top: 1.8898vw;           /* (27140 - 27104)/1905 = 36 */
    align-self: center;
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 400;
    font-size: 0.8399vw;            /* 16/1905 */
    line-height: 1.563;
    color: #000;
    text-align: center;
    opacity: 0.6;
    z-index: 2;
}

.footer_mid {
    top: auto;
    bottom: 1.8vw;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 0.7349vw;
    color: #000;
    text-decoration: underline;
    opacity: 0.7;
    cursor: pointer;
    display: none;                  /* PSD 미존재 — 모바일 등에서 노출 가능 */
}
.footer_mid a { color: inherit; text-decoration: underline; }


/* ===== QUICK BAR (fixed bottom) ===== */
.contact_service {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4vw;               /* (27350 - 27267)/1905 = 83 */
    background: #e60012;
    z-index: 999;
    font-family: 'Pretendard Variable', sans-serif;
}

/* TOP 버튼 — 빨강 바 위로 솟은 검정 박스 (tt.png 106×46) */
.tothetop {
    position: absolute;
    top: -2.4147vw;
    right: 0;
    width: 5.5643vw;
    aspect-ratio: 106 / 46;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 11;
    cursor: pointer;
}
.tothetop img { width: 100%; display: block; }

/* 좌측 로고 (q_logo 277×46) — top PSD 정확값, 좌측 여백 여유 */
.quick_logo {
    top: 0.8vw;
    left: 10.5vw;
    width: 14.5407%;
    aspect-ratio: 277 / 46;
    cursor: pointer;
    z-index: 3;
}
.quick_logo img { width: 100%; display: block; }

/* 전화 아이콘 + 1800.8797 — top PSD 정확값 */
.quick_call_absol {
    top: 0.9vw;
    left: 25.8vw;
    display: flex;
    align-items: center;
    gap: 0.2vw;
    cursor: pointer;
    z-index: 3;
}
.q_call_icon {
    width: 1.9948vw;                /* 38/1905 */
    aspect-ratio: 1 / 1;
    display: block;
    filter: brightness(0) invert(1); /* PSD colorOverlay #ffffff 효과 */
}
.q_call_num {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 2.2740vw;            /* 43.32/1905 */
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
}

/* 입력 폼 (3개 흰 박스, stroke #000 1px) — fixed bar top 27267 기준
   wrapper height는 자식 input height로 자연 결정 */
.contact_mid {
    top: 0.85vw;                  /* (27286 - 27267)/1905 = 19 */
    left: 38vw;                     /* quick_call 우측 여백 후 시작 */
    width: 29.6588%;                /* (1317 - 768)/1905 = 549/1905 */
    z-index: 2;
}
.footer-form,
.footer_input_form {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 0.3675vw;                  /* (954 - 947)/1905 = 7 */
}
.footer_input {
    width: 9.3963vw;                /* 179/1905 */
    height: 2.4147vw;               /* 46/1905 */
    border: 0.0525vw solid #000;    /* PSD stroke 1px */
    background: #ffffff;
    box-sizing: border-box;
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 500;
    font-size: 0.8399vw;
    color: #060606;
    letter-spacing: -0.05em;
    text-align: center;
    outline: none;
    border-radius: 0;
    flex: 0 0 auto;
}
.footer_input::placeholder {
    color: #060606;
    opacity: 1;
    font-family: 'Pretendard Variable', sans-serif;
    font-size: 0.8399vw;
}
.footer_input:focus::placeholder { opacity: 0.4; }

/* 개인정보취급방침 동의 — top PSD 정확값 */
.quick_agree {
    top: 1.5vw;
    left: auto;
    right: 24vw;
    display: flex;
    align-items: center;
    gap: 0.5249vw;
    z-index: 2;
    white-space: nowrap;
}
.quickAgree_checkbox {
    width: 0.7349vw;
    height: 0.7349vw;
    border: 0.0787vw solid #ffffff;
    background: transparent;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
    border-radius: 0;
}
.quickAgree_checkbox:checked {
    background: #ffffff;
}
.quickAgree_fornt {
    font-family: 'SUIT', 'Pretendard Variable', sans-serif;
    font-weight: 500;
    font-size: 0.8399vw;            /* 16/1905 */
    color: #ffffff;
    letter-spacing: -0.05em;
    cursor: pointer;
}
.quickAgree_fornt a { color: inherit; text-decoration: none; }

/* 창업 문의하기 (PSD 사각형 815 복사 3 178×45 + 텍스트) — height = font 17 + padding 14×2 = 45 */
.quick_submit_div {
    top: 0.85vw;                  /* (27287 - 27267)/1905 = 20 */
    left: auto;
    right: 13.5vw;                    /* TOP 박스 옆 여백 확보 */
    width: 9.3438%;                 /* 178/1905 */
    padding: 0.7349vw 0;            /* (45-17)/2 / 1905 = 14/1905 */
    border: 0;
    background: #000000;
    color: #ffffff;
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 600;
    font-size: 0.8924vw;            /* 17/1905 */
    letter-spacing: -0.04em;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
}


/* ===== Footer body padding (quick bar 가림 방지) ===== */
body {
    padding-bottom: 4.3570vw;
}


/* ===== modal (개인정보처리방침 — 기존 유지) ===== */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: rgba(0,0,0,0.4);
    z-index: 10000;
}
.modal-content {
    background: #fefefe;
    margin: 5% auto;
    padding: 1.9423vw;
    border: 1px solid #888;
    width: 48%;
    border-radius: 30px;
    padding-top: 0;
}
.close {
    color: #aaa;
    float: right;
    font-size: 1.7323vw;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1vw;
    position: relative;
    z-index: 1;
}
.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
#policy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    height: 27.821vw;
    margin: 0 auto;
    padding: 0.0525vw;
    text-align: left;
}
#policy div.policy_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 3.937vw;
    background: #fff;
    border-radius: 10px;
    margin-top: -3vw;
}
#policy div.policy_title h2 {
    font-weight: 700;
    font-size: 1.3123vw;
    color: #000;
}
#policy div.policy_con {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 0.5249vw;
    padding: 1.0499vw 0;
    background: #fff;
    border-radius: 10px;
}
#policy p.policy_text {
    overflow-y: scroll;
    height: 21vw;
    padding-right: 1.0499vw;
    font-size: 0.7349vw;
    text-align: justify;
    line-height: 0.9449vw;
}


/* ===== 모바일 (max-width: 599px) ===== */
@media screen and (max-width: 599px) {
    body { padding-bottom: 22vw; }

    .footer {
        padding-top: 8vw;
        padding-bottom: 30vw;
    }
    .footer_logo { width: 32%; }
    .footer_top_line {
        margin-top: 4vw;
        height: 1px;
    }
    .footer_info {
        margin-top: 4vw;
        font-size: 3.2vw;
        line-height: 1.7;
        white-space: normal;
        padding: 0 6vw;
    }
    .footer_copy {
        margin-top: 3vw;
        font-size: 3vw;
        line-height: 1.6;
    }

    .contact_service {
        height: 18vw;
    }
    .tothetop {
        top: -8vw;
        right: 0;
        width: 18vw;
    }
.quick_call_absol {
    top: 1.9vw;
    left: 34%;
    transform: none;
    gap: 1vw;
}
    .q_call_icon { width: 5vw; }
    .q_call_num { font-size: 5.5vw; }

    .contact_mid {
        top: auto;
        bottom: 1vw;
        left: 2%;
        width: 64%;
        height: 8vw;
    }
    .footer-form,
    .footer_input_form {
        gap: 1vw;
    }
    .footer_input {
        width: 22.5vw;
        height: 7vw;
        font-size: 2.8vw;
    }
    .footer_input::placeholder { font-size: 2.5vw; }

    .quick_agree {
        top: 3.1vw;
        left: auto;
        right: 3.5vw;
        transform: none;
    }
    .quick_logo {
    top: 1.9vw;
    left: -4.9vw;
    width: 34%;
}
    .quickAgree_fornt { font-size: 3vw; }
    .quickAgree_checkbox { width: 3vw; height: 3vw; }

.quick_submit_div {
    top: auto;
    bottom: 1.4vw;
    left: 73%;
    width: 24vw;
    font-size: 3.2vw;
    height: 7vw;
}

    .modal-content {
        margin: 14% auto;
        padding: 2.5vw 4vw 6vw 4vw;
        width: 90%;
        border-radius: 5vw;
    }
    .close {
        font-size: 7vw;
        margin-top: 1vw;
    }
    #policy {
        height: 130vw;
        padding: 0;
    }
    #policy div.policy_title {
        height: 12vw;
        margin-top: -8vw;
        border-radius: 2.5vw;
    }
    #policy div.policy_title h2 {
        font-size: 4.5vw;
    }
    #policy div.policy_con {
        margin-top: 3vw;
        padding: 4vw 0;
        border-radius: 2.5vw;
    }
    #policy p.policy_text {
        height: 100vw;
        padding-right: 3vw;
        font-size: 3.2vw;
        line-height: 5vw;
    }
}
