/* 페이퍼로지(Paperlogy) - 굵기 대비가 압도적인 핀테크 스타일 고딕  Pretendard -> Paperlogy*/
@import url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy.css');


*{margin:0;padding:0;box-sizing:border-box;}
* {
    font-family: "Paperlogy", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

img{max-width:100%;display:block;}

/* ========== PC/모바일 전환 (최우선 순위) ========== */
.visible-m {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

.hidden-m {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
}

.form-mobile {
    display: none;
}

.form-pc .fixed-form-container {
    flex-direction:unset;

}
.form-pc .fixed-form-row-1{
    font-size: 25px;
}

@media only screen and (max-width: 700px) {
    .hidden-m {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }

    .form-pc {
        display: none;
    }

    .form-mobile  {
        display: block;
    }

    .visible-m {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        left: auto !important;
    }
}
.pos-r{position: relative;}
.pos-a{position: absolute; left: 0; top: 0;}
.z-1{z-index: -1}
.bg-color01{background-color: #f8f8f8;}

.visible-m .pos-r,
.visible-m .pos-a,
.visible-m .img-responsive{
    width:100%;
}

.swiper-container{width:100%;overflow:hidden;}
.swiper-slide img{width:100%;}

.section2 {
    text-align: center;
    font-family: 'Pretendard';
    padding: 50px 10px;
    max-width: 1200px;
    margin: 0 auto;
}
.section2-text1 {
    font-size: 32px;
    color: #333;
}
.section2-text2 {
    font-size: 52px;
    color: #A26B77;
    font-weight: bold;
    margin: 10px 0;
}
.section2-text3 {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 50px;
}

/* 카드 영역 */
.section2-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin-top: 40px;
    flex-direction: column;
}

.section2-card {
    flex: 1;
    background: linear-gradient(135deg, #D87093 0%, #B05072 100%);
    border-radius: 20px;
    padding: 30px 35px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section2-card:nth-child(even) {
    background: linear-gradient(135deg, #C74B67 0%, #A3364D 100%);
}



.card-content {
    flex: 1;
    text-align: left;
}

.card-title {
    font-size: 42px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 12px;
}

.card-text {
    font-size: 25px;
    color: #ffffff;
    line-height: 1.6;
    opacity: 0.95;
}

.card-icon {
    flex-shrink: 0;
}

.icon-placeholder {

    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #6B9FEB;
    font-weight: bold;
}

.section2-cards-icons {
    width: 200px;
}




/* 모바일 대응 - visible-m 내부에만 적용 */
@media screen and (max-width: 700px) {
    .visible-m .section2 {
        padding: 20px 10px;
    }

    .visible-m .section2-text1 {
        font-size: 16px;
    }

    .visible-m .section2-text2 {
        font-size: 24px;
    }

    .visible-m .section2-text3 {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .visible-m .section2-cards {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 20px;
        margin: 0 auto;
        width: 90%;
    }

    .visible-m .section2-card {
        max-width: 100%;
        width: 100%;
        padding: 15px;
        flex-direction: column-reverse;
    }

    .visible-m .card-content {
        flex: 1;
    }

    .visible-m .card-title {
        font-size: 18px;
        margin-bottom: 5px;
        text-align: center;
    }

    .visible-m .card-text {
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
    }

    .visible-m .card-icon {
        flex-shrink: 0;
    }

    .visible-m .section2-cards-icons {
        width: 100px;
    }
}

/* ========== Section3 - 간편한 대출 절차 ========== */
.section3 {
    text-align: center;
    font-family: 'Pretendard';
    padding: 80px 20px;
    background: linear-gradient(180deg, #B14A7B 0%, #8C355E 100%);
    margin: 50px auto;
}

.section3-header {
    margin-bottom: 60px;
}

.section3-subtitle {
    font-size: 32px;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 15px;
}

.section3-title {
    font-size: 52px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
}

.section3-description {
    font-size: 17px;
    color: #ffffff;
    line-height: 1.8;
    opacity: 0.95;
}

/* STEP 카드들 */
.section3-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

.section3-step {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section3-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-badge {
    background: linear-gradient(135deg, #82535E 0%, #A26B77 100%);
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.step-icon {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.step-icon img{
    width: 200px;
}

.step-icon-placeholder {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: #f0f7ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #A26B77;
    font-weight: bold;
}

.step-title {
    font-size: 22px;
    font-weight: bold;
    color: #333333;
    margin: 15px 0;
}

.step-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* Section3 모바일 대응 - visible-m 내부에만 적용 */
@media screen and (max-width: 1024px) {
    .visible-m .section3-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media screen and (max-width: 700px) {
    .visible-m .section3 {
        padding: 30px 10px;
        margin: 20px 0;
    }

    .visible-m .section3-header {
        margin-bottom: 30px;
    }

    .visible-m .section3-title {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .visible-m .section3-subtitle {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .visible-m .section3-description {
        font-size: 12px;
        line-height: 1.6;
    }

    .visible-m .section3-steps {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 90%;
    }

    .visible-m .section3-step {
        padding: 20px 15px;
    }

    .visible-m .step-badge {
        font-size: 14px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .visible-m .step-icon img {
        width: 100px;
    }

    .visible-m .step-title {
        font-size: 25px;
        margin: 10px 0;
    }

    .visible-m .step-description {
        font-size: 17px;
        line-height: 1.5;
    }
}

/* ========== Section4 - 실시간 상담신청 ========== */
.section4 {
    display: flex;
    gap: 50px;
    max-width: 1400px;
    margin: 80px auto;
    padding: 0 20px;
    align-items: center;
    margin-bottom: 0px;
}

.section4-left {
    flex: 1;
}

.section4-subtitle {
    font-size: 20px;
    color: #ff6b6b;
    font-weight: 700;
    margin-bottom: 15px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ffe5e5 0%, #fff0f0 100%);
    border-left: 4px solid #ff6b6b;
    display: inline-block;
    border-radius: 5px;
}

.section4-title {
    font-size: 56px;
    color: #222;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 0px rgba(90, 141, 206, 0.1);
}

.section4-title span {
    color: #A26B77;
    position: relative;
}

.section4-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(135deg, rgba(90, 141, 206, 0.3) 0%, rgba(123, 166, 237, 0.3) 100%);
    z-index: -1;
    border-radius: 5px;
}

.section4-description {
    font-size: 20px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 500;
}

.section4-button {
    display: inline-block;
    padding: 22px 50px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    background: linear-gradient(135deg, #A26B77 0%, #82535E 100%);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(90, 141, 206, 0.4);
}

.section4-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(90, 141, 206, 0.5);
}

.section4-button i {
    margin-right: 10px;
}

.section4-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
}

.phone-frame-image {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.phone-screen {
    position: absolute;
    top: 0%;
    left: 6%;
    width: 89%;
    height: 100%;
    background: #fff;
    padding: 30px 0px;
    overflow: hidden;
    z-index: 1;
    border-radius: 50px 50px 0px 0px;
}

.consultation-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 50px;
}

.consultation-brand {
    font-size: 28px;
    font-weight: bold;
    color: #A26B77;
    margin: 20px;
    text-align: left;
    margin-bottom: 5px;
}

.consultation-title {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin-bottom: 0;
    text-align: left;
    margin-left: 20px;
}

.consultation-list-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.consultation-list {
    animation: scrollUp 60s linear infinite;
}

.consultation-list:hover {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.consultation-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 18px 15px;
    margin-bottom: 0;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s ease;
}

.consultation-item:hover {
    background: #ebebeb;
}

.consultation-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.consultation-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.consultation-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.consultation-amount {
    font-size: 20px;
    font-weight: bold;
    color: #8D5B84;
    margin-top: 2px;
}

.consultation-status-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.consultation-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

.consultation-status {
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-waiting {
    background: #fff3e0;
    color: #f57c00;
}

.status-consulting {
    background: #e3f2fd;
    color: #1976d2;
}

.status-completed {
    background: #e8f5e9;
    color: #388e3c;
}

.status-approved {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Section4 모바일 대응 - visible-m 내부에만 적용 */
@media screen and (max-width: 1024px) {
    .visible-m .section4 {
        flex-direction: column;
        gap: 30px;
    }

    .visible-m .section4-title {
        font-size: 36px;
    }
}

@media screen and (max-width: 700px) {
    .visible-m .section4 {
        margin: 30px auto;
        padding: 0 10px;
        margin-bottom: 0px;
    }

    .visible-m .section4-subtitle {
        font-size: 14px;
        padding: 5px 12px;
        margin-bottom: 10px;
        border-left: unset;
    }

    .section4-title span::after{
        bottom: 3px;
        height: 6px;
    }

    .visible-m .section4-title {
        font-size: 27px;
        margin-bottom: 15px;
        text-align: center;
    }

    .visible-m .section4-left {
        text-align: center;
    }

    .visible-m .section4-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 25px;
    }

    .visible-m .section4-button {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        font-size: 16px;
    }

    .visible-m .section4-right {
        padding: 15px;
        padding-bottom: 0px;
    }

    .visible-m .phone-frame {
        max-width: 350px;
    }

    .visible-m .consultation-brand {
        font-size: 20px;
        margin: 15px;
    }

    .visible-m .consultation-title {
        font-size: 16px;
        margin-left: 15px;
    }

    .visible-m .consultation-name {
        font-size: 13px;
    }

    .visible-m .consultation-amount {
        font-size: 16px;
    }

    .visible-m .consultation-date {
        font-size: 10px;
    }

    .visible-m .consultation-status {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* ========== 법적 고지사항 ========== */
.legal-notice {
    background: #f8f8f8;
    padding: 30px 20px;
    text-align: center;
    margin-top: 80px;
}

.legal-notice p {
    font-size: 11px;
    color: #666;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== Footer ========== */
.footer {
    background: #2c2c2c;
    color: #aaa;
    padding: 50px 20px 30px;
    padding-bottom: 120px;
    font-size: 13px;
    line-height: 1.8;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-container p {
    color: #fff;
    line-height: 1.8;
}

.footer-company {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #444;
}

.footer-company-name {
    font-size: 22px;
    font-weight: bold;
    color: #82535E;
    margin-bottom: 15px;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-info-item {
    display: flex;
    gap: 8px;
}

.footer-info-label {
    color: #888;
    font-weight: 600;
}

.footer-info-value {
    color: #aaa;
}

.footer-notice {
    background: #252525;
    border-left: 3px solid #82535E;
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
}

.footer-notice-title {
    font-size: 15px;
    font-weight: bold;
    color: #82535E;
    margin-bottom: 12px;
}

.footer-notice p {
    margin: 8px 0;
    color: #999;
    line-height: 1.8;
}

.footer-warning {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.footer-warning p {
    margin: 8px 0;
    color: #999;
    line-height: 1.8;
}

.footer-warning strong {
    color: #ff6b6b;
    font-weight: 700;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #666;
    font-size: 12px;
}

/* Footer 모바일 대응 - visible-m 내부에만 적용 */
@media screen and (max-width: 768px) {
    .visible-m .footer {
        padding: 40px 15px 20px;
        margin-bottom: 100px;
    }

    .visible-m .footer-info {
        flex-direction: column;
        gap: 8px;
    }

    .visible-m .footer-company-name {
        font-size: 18px;
    }

    .visible-m .footer-notice,
    .visible-m .footer-warning {
        padding: 15px;
    }
}


    body { overflow-x: hidden; padding-bottom: 80px; }
    #form-area { max-width: 700px; margin: 0 auto; background-color: #fff; transition: 0.3s all; }
    #form-area .img { max-width: 700px; margin: 0 auto; transition: 0.3s all; }
    @media (max-width: 700px) { #form-area { max-width: 440px; } #form-area .img { max-width: 440px; } }

    /* 하단 고정 신청폼 스타일 */
    .fixed-application-form {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #B3768E 0%, #82535E 100%);
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        padding: 15px 20px;
    }

    .fixed-form-container {
        max-width: 1400px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    /* 첫 번째 줄 */
    .fixed-form-row-1 {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        flex-wrap: nowrap;
    }

    .form-title-text {
        font-weight: 700;
        white-space: nowrap;
    }

    .form-divider {
        opacity: 0.5;
        flex-shrink: 0;
    }

    .form-privacy-text {
        text-decoration: underline;
        cursor: pointer;
        font-weight: 400;
        white-space: nowrap;
    }

    /* 두 번째 줄 */
    .fixed-form-row-2 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }

    .fixed-input {

        padding: 14px 20px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        outline: none;
        background: #fff;
        flex-shrink: 0;
    }

    .fixed-input::placeholder {
        color: #999;
    }

    .privacy-checkbox {
        display: flex;
        align-items: center;
        margin: 0;
        flex-shrink: 0;
    }

    .privacy-checkbox input[type="checkbox"] {
        cursor: pointer;
        width: 20px;
        height: 20px;
        margin: 0;
        flex-shrink: 0;
    }

    .fixed-submit-btn {
        padding: 14px 45px;
        background: #fff;
        color: #82535E;
        border: none;
        border-radius: 50px;
        font-size: 17px;
        font-weight: 900;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .fixed-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    /* 개인정보방침 팝업 */
    .privacy-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 2000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .privacy-modal-content {
        background: #fff;
        border-radius: 20px;
        max-width: 600px;
        width: 100%;
        max-height: 80vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .privacy-modal-header {
        padding: 20px;
        background: linear-gradient(135deg, #82535E 0%, #A26B77 100%);
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .privacy-modal-header h3 {
        margin: 0;
        font-size: 20px;
    }

    .privacy-close-btn {
        background: none;
        border: none;
        color: #fff;
        font-size: 30px;
        cursor: pointer;
        line-height: 1;
    }

    .privacy-modal-body {
        padding: 30px;
        overflow-y: auto;
        flex: 1;
    }

    .privacy-modal-body h4 {
        color: #A26B77;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .privacy-modal-body ul {
        padding-left: 20px;
        line-height: 1.8;
    }

    .privacy-modal-footer {
        padding: 20px;
        border-top: 1px solid #eee;
        text-align: center;
    }

    .privacy-agree-btn {
        padding: 12px 40px;
        background: linear-gradient(135deg, #82535E 0%, #A26B77 100%);
        color: #fff;
        border: none;
        border-radius: 25px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .privacy-agree-btn:hover {
        background: linear-gradient(135deg, #8BB4F1 0%, #6A9DD8 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(90, 141, 206, 0.4);
    }

    /* 모바일 대응 - 작은 폰부터 큰 폰까지 대응 */
    @media (max-width: 700px) {
        .fixed-application-form {
            padding: 12px 10px;
        }

        .fixed-form-container {
            gap: 10px;
            max-width: 100%;
        }

        .fixed-form-row-1 {
            font-size: 11px;
            gap: 6px;
            flex-wrap: nowrap;
            justify-content: center;
        }

        .form-title-text {
            font-size: 11px;
        }

        .form-divider {
            font-size: 11px;
        }

        .form-privacy-text {
            font-size: 11px;
        }

        .fixed-form-row-2 {
            gap: 6px;
            justify-content: center;
            flex-wrap: nowrap;
        }

        .fixed-input {
            width: 105px;
            padding: 11px 10px;
            font-size: 13px;
        }

        .privacy-checkbox input[type="checkbox"] {
            width: 18px;
            height: 18px;
        }

        .fixed-submit-btn {
            padding: 11px 22px;
            font-size: 14px;
        }
    }

    /* 중간 크기 모바일 (375px 이상) */
    @media (min-width: 375px) and (max-width: 700px) {
        .fixed-form-row-1 {
            font-size: 12px;
        }

        .form-title-text {
            font-size: 12px;
        }

        .form-privacy-text {
            font-size: 12px;
        }

        .fixed-input {
            width: 115px;
            padding: 12px 12px;
            font-size: 14px;
        }

        .fixed-submit-btn {
            padding: 12px 26px;
            font-size: 15px;
        }
    }

    /* 큰 모바일 (414px 이상) */
    @media (min-width: 414px) and (max-width: 700px) {
        .fixed-application-form {
            padding: 14px 12px;
        }

        .fixed-form-row-1 {
            font-size: 13px;
            gap: 8px;
        }

        .form-title-text {
            font-size: 15px;
        }

        .form-privacy-text {
            font-size: 13px;
        }

        .fixed-form-row-2 {
            gap: 8px;
        }

        .fixed-input {
            width: 130px;
            padding: 13px 14px;
            font-size: 14px;
        }

        .fixed-submit-btn {
            padding: 13px 28px;
            font-size: 15px;
        }
    }