@charset "utf-8"; /* CSS Document */
@import "wide_slide.css";
/* ==================== (공통) ==================== */
main section {
  /* 스타일 적용 */
  padding-top: 130px;
  padding-bottom: 130px;
}
@media ( max-width: 991px ) {
    main section {
    padding-top: 100px;
    padding-bottom: 100px;
    }
}
@media ( max-width: 767px ) {
    main section {
    padding-top: 70px;
    padding-bottom: 70px;
    }
}
/* ==================== (공통) ==================== */
/* ★★★ --- 메인 비주얼 섹션 (#sect_visual) --- ★★★ */
/* 슬라이드 */
#sect_visual {
    margin-top: 80px;
    padding-top: 60px;
    background-color: var(--gray_f);
}
@media ( max-width: 991px ) {
    #sect_visual{
        padding-top: 20px;
    }
    #sect_visual .btn_detail img {
        width: 12px;
        height: 12px;
    }
}

#sect_visual .visual_left {
     background-color: var(--gray_e);
}
#sect_visual .swiper-slide{
    position: relative;
    height: 100%;
    padding: 60px 70px;
}
.swiper_ctrl_pack{
    bottom: 60px;
    left: 70px;
}
#sect_visual .txt_box,
#sect_visual .img_box,
.swiper_ctrl_pack{
    transition: all var(--q_trans);
}
#sect_visual .img_box{
    height: 320px;
    position: absolute;
    right: 5rem;
    margin-left: 1rem;
}
#sect_visual .img_box .sect_visual_img{
    height: 100%;
}

/* 모바일 대응 */
@media ( max-width: 1199px ) {
    #sect_visual .visual_left {
        /* min-height: fit-content; */
    }
    #sect_visual .swiper-slide{
        height: 360px;
        padding: 40px 50px;
    }
    #sect_visual .img_box{
        right: 4rem;
    }
    #sect_visual .txt_box{
        align-self: start;
        flex-shrink: 0 !important;
        /* padding: 2rem 0; */
    }
    #sect_visual .txt_box h2 {
        margin-bottom: 2rem;
    }
    #sect_visual .img_box{
        max-height: 300px;
        right: 3rem;
    }
}
@media ( max-width: 991px ) {
    #sect_visual .swiper-slide{
        height: 250px;
        padding: 30px 40px;
    }
    #sect_visual .txt_box h2 {
        font-size: calc(28px + (40 - 28) * ((100vw - 767px) / (991 - 767))) !important;
        margin-bottom: 1.5rem;
    }

    #sect_visual .txt_box p {
        /* 20px -> 16px */
        font-size: calc(16px + (20 - 16) * ((100vw - 767px) / (991 - 767))) !important;
        line-height: 1.4;
    }
    #sect_visual .img_box{
        max-height: 200px;
        right: 2rem;
    }
    #sect_visual .visual_right {
        width: 100% !important;
    }
    .swiper_ctrl_pack{
        bottom: 40px;
        left: 50px;
    }

}
@media ( max-width: 767px ) {
    #sect_visual .swiper-slide{
        padding:30px;
    }
    /* 모바일 최하단 마지노선 (24px / 14px) */
    #sect_visual .txt_box h2 {
        font-size: calc(24px + (28 - 24) * ((100vw - 320px) / (767 - 320))) !important;
        margin-bottom: 1rem;
    }

    #sect_visual .txt_box p {
        font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (767 - 320))) !important;
        word-break: keep-all;
    }
    #sect_visual .img_box{
        max-height: 150px;
        right: 1rem;
    }
    .swiper_ctrl_pack{
        bottom: 30px;
        left: 30px;
    }
}
/* Swiper 페이지네이션 커스텀 */
#sect_visual .swiper-pagination-bullet {
    background: var(--gray_c);
    opacity: 1;
}
#sect_visual .swiper-pagination-bullet-active {
    background: var(--point);
    width: 25px;
    border-radius: 5px;
    transition: all 0.3s;
}
#sect_visual .btn_detail {
    color: var(--point);
    background-color: var(--gray_f);
    transition:
        background-color var(--q_trans),
        color var(--q_trans),
        box-shadow var(--q_trans),
        transform var(--q_trans),
        border-color var(--q_trans);
    text-decoration: none;
}

#sect_visual .btn_detail img {
    transition:
        filter var(--q_trans),
        transform var(--q_trans);
}

#sect_visual .btn_detail:hover,
#sect_visual .btn_detail:focus-visible {
    background-color: var(--point);
    color: var(--gray_f) !important;
    box-shadow: 0 10px 24px rgba(0, 94, 161, 0.18);
    transform: translateY(-2px);
}

#sect_visual .btn_detail:hover img,
#sect_visual .btn_detail:focus-visible img {
    filter: brightness(0) invert(1);
    transform: rotate(45deg);
}
#sect_visual .swiper_ctrl .curr_num,
#sect_visual .swiper_ctrl .total_num {
    display: inline-block;
    min-width: 1.25ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
    -moz-font-feature-settings: "tnum";
    -webkit-font-feature-settings: "tnum";
}


/* ★★★ --- 절차 안내 섹션 (#sect_process) --- ★★★ */
/* 절차 안내 */
#sect_process {
    overflow: hidden;
}

#sect_process .process_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

#sect_process .process_card {
    width: calc((100% - 72px) / 5);
    max-width: calc((100% - 72px) / 5);
    background-color: var(--gray_f);
    border-radius: var(--br_10);
    min-height: 220px;
    padding: 0 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

#sect_process .process_num {
    min-width: 40px;
    height: 40px;
    border-radius: 0 0 7px 7px;
    background-color: var(--point);
    color: var(--gray_f);
    text-align: center;
    flex-shrink: 0;
}

#sect_process .process_icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

#sect_process .process_icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#sect_process .process_tit {
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin: 1rem 0 1.25rem;
    word-break: keep-all;
}

#sect_process .process_desc {
    line-height: 1.35;
    letter-spacing: -0.03em;
    word-break: keep-all;
}

/* 1199 이하 */
@media (max-width: 1199px) {
    #sect_process .process_list {
        gap: 16px;
    }

    #sect_process .process_card {
        width: calc((100% - 32px) / 3);
        max-width: calc((100% - 32px) / 3);
        min-height: 210px;
        padding: 0 20px 22px;
    }

    #sect_process .process_icon {
        width: 52px;
        height: 52px;
    }

    #sect_process .process_tit {
        margin: 0.9rem 0 1rem;
    }
}

/* 991 이하 */
@media (max-width: 991px) {
    #sect_process .process_list {
        gap: 14px;
    }

    #sect_process .process_card {
        width: calc((100% - 14px) / 2);
        max-width: calc((100% - 14px) / 2);
        min-height: 200px;
        padding: 0 18px 20px;
    }

    #sect_process .process_num {
        min-width: 36px;
        height: 36px;
    }

    #sect_process .process_icon {
        width: 48px;
        height: 48px;
    }

    #sect_process .process_tit {
        margin: 0.85rem 0 0.9rem;
    }
}

/* 767 이하 */
@media (max-width: 767px) {
    #sect_process .process_list {
        gap: 12px;
        max-width: 28rem;
        margin: 0 auto;
    }

    #sect_process .process_card {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 0 18px 18px;
    }

    #sect_process .process_num {
        min-width: 34px;
        height: 34px;
        border-radius: 0 0 6px 6px;
    }

    #sect_process .process_icon {
        width: 44px;
        height: 44px;
    }

    #sect_process .process_tit {
        margin: 0.75rem 0 0.75rem;
    }

    #sect_process .process_desc br {
        display: none;
    }
}


/* ★★★ --- F&A 섹션 (#sect_fna) --- ★★★ */
/* F&A */
#sect_fna {
    overflow: hidden;
}

#sect_fna .fna_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#sect_fna .fna_item {
    background-color: #f7f8fa;
    border: 1px solid transparent;
    border-radius: 18px;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

#sect_fna .fna_item.is_open {
    border-color: var(--point);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}
#sect_fna .fna_item:not(.is_open):hover,
#sect_fna .fna_item:not(.is_open):has(.fna_q:hover) {
    border-color: var(--point_lighter);
}
#sect_fna .fna_q {
    width: 100%;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    background: transparent;
    border: 0;
}

#sect_fna .fna_item.is_open .fna_q {
    padding-bottom: 0;
}

#sect_fna .fna_q_txt {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.45;
    letter-spacing: -0.035em;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

#sect_fna .fna_arrow {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    position: relative;
    margin-top: 0.2em;
    color: var(--gray_4);
    transition: color 0.25s ease;
}

#sect_fna .fna_arrow::before,
#sect_fna .fna_arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.5px;
    background-color: currentColor;
    border-radius: 999px;
    transform-origin: center;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

#sect_fna .fna_arrow::before {
    transform: translate(-78%, -50%) rotate(45deg);
}

#sect_fna .fna_arrow::after {
    transform: translate(-18%, -50%) rotate(-45deg);
}

#sect_fna .fna_q:hover .fna_arrow,
#sect_fna .fna_q:focus-visible .fna_arrow,
#sect_fna .fna_item.is_open .fna_arrow {
    color: var(--point);
}

#sect_fna .fna_item.is_open .fna_arrow::before {
    transform: translate(-78%, -50%) rotate(-45deg);
}

#sect_fna .fna_item.is_open .fna_arrow::after {
    transform: translate(-18%, -50%) rotate(45deg);
}

#sect_fna .fna_a_wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
}

#sect_fna .fna_a {
    padding: 0 50px 50px;
    width: 90%;
}

#sect_fna .fna_item.is_open .fna_a {
    padding-top: 35px;
}

#sect_fna .fna_a_txt,
#sect_fna .fna_bullet li {
    line-height: 1.35;
    letter-spacing: -0.035em;
    word-break: keep-all;
}

#sect_fna .fna_bullet {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
    padding-left: 2.5em;
}

#sect_fna .fna_bullet li {
    position: relative;
    list-style: none;
}

#sect_fna .fna_bullet li::before {
    content: "-";
    position: absolute;
    left: -.8em;
    top: 0;
}

#sect_fna .fna_bullet .fna_note::before {
    content: "";
}

#sect_fna .fna_bullet .fna_note {
    padding-left: 0;
}

@media (max-width: 1199px) {
    #sect_fna .fna_q {
    padding: 40px;
    }

    #sect_fna .fna_a {
        padding: 30px 40px 40px;
    }
}

@media (max-width: 991px) {
    #sect_fna .fna_q {
        padding: 28px;
        gap: 16px;
    }

    #sect_fna .fna_arrow {
        width: 18px;
        height: 18px;
    }

    #sect_fna .fna_arrow::before,
    #sect_fna .fna_arrow::after {
        width: 10px;
        height: 1.5px;
    }

    #sect_fna .fna_a {
        padding: 24px 28px 28px;
    }

    #sect_fna .fna_item.is_open .fna_a {
        padding-top: 24px;
    }

    #sect_fna .fna_bullet {
        gap: 10px;
        margin-top: 14px;
    }
}

@media (max-width: 767px) {
    #sect_fna .fna_list {
        gap: 12px;
    }

    #sect_fna .fna_item {
        border-radius: 14px;
    }

    #sect_fna .fna_q {
        padding: 20px 18px;
        gap: 10px;
    }

    #sect_fna .fna_arrow {
        width: 16px;
        height: 16px;
    }

    #sect_fna .fna_arrow::before,
    #sect_fna .fna_arrow::after {
        width: 9px;
        height: 1.25px;
    }

    #sect_fna .fna_a {
        padding: 18px 18px 20px;
    }

    #sect_fna .fna_item.is_open .fna_a {
        padding-top: 18px;
    }
    #sect_fna .fna_bullet {
        gap: 8px;
        margin-top: 12px;
        padding-left: 1em;
    }
}

#sect_fna .fna_q_txt {
    font-size: var(--fs_20);
}

#sect_fna .fna_a_txt,
#sect_fna .fna_bullet li {
    font-size: var(--fs_20);
}

#sect_fna .fna_note {
    font-size: var(--fs_18);
}

@media (max-width: 1100px) {
    html,
    body.is-main {
        overflow-x: hidden;
        max-width: 100%;
    }

    body.is-main main {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.is-main #header,
    body.is-main #header > .wrap,
    body.is-main #header .wrap,
    body.is-main #header .m_nav,
    body.is-main #header .m_action_group,
    body.is-main #sect_wide_slide,
    body.is-main #sect_wide_slide .wrap,
    body.is-main #sect_wide_slide .loan_slider_stage,
    body.is-main #sect_wide_slide .loan_slider_track {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.is-main #sect_wide_slide .loan_slide_card,
    body.is-main #sect_wide_slide .loan_slide_card.is-active {
        max-width: 85vw;
    }
}