@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

/* 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    //background: #f5f5f5;
   background: white;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sound_only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 상단 배너 */
.top-banner {
    background: #f5f5f5;
    color: #333;
    padding: 5px 0;
    font-size: 12px;
    border-bottom: 1px solid #ddd;
}

.top-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-banner-left {
    font-size: 11px;
    line-height: 1.4;
}

.top-banner-right {
    background: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 3px;
}

.top-banner-right i {
    margin-right: 5px;
}

/* 헤더 */
#hd_wrapper {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hd_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* 로고 */
#logo {
    font-size: 24px;
    font-weight: 700;
}

#logo a {
    display: flex;
    align-items: center;
    color: #ff6b6b;
}

.logo-icon {
    font-size: 30px;
    margin-right: 10px;
}

/* 메인 메뉴 */
#gnb {
    flex: 1;
    margin: 0 50px;
}

#gnb h2 {
    display: none;
}

#gnb_1dul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.gnb_1dli {
    position: relative;
}

.gnb_1da {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s;
}

.gnb_1dli:hover .gnb_1da,
.gnb_1dli.on .gnb_1da {
    color: #ff6b6b;
}

/* 2차 메뉴 */
.gnb_2dul {
    position: absolute;
    top: 100%;
    left: -20px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
}

.gnb_1dli:hover .gnb_2dul,
.gnb_1dli.on .gnb_2dul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gnb_2dul li {
    padding: 0 20px;
}

.gnb_2dul a {
    display: block;
    padding: 8px 0;
    color: #666;
    transition: color 0.3s;
}

.gnb_2dul a:hover {
    color: #ff6b6b;
}

/* 회원 메뉴 */
.hd_right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn_member, .btn_search, .btn_login, .btn_admin {
    padding: 8px 16px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn_search {
    background: #f5f5f5;
    border: none;
}

.btn_login {
    background: white;
    color: #333;
}

.btn_admin {
    background: #333;
    color: white;
    border-color: #333;
}

/* 모바일 메뉴 버튼 */
.mobile_menu_btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* 모바일 메뉴 */
#gnb_all {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 2000;
    overflow-y: auto;
}

.gnb_all_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.gnb_close_btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.gnb_al_ul {
    list-style: none;
}

.gnb_al_li {
    border-bottom: 1px solid #eee;
}

.gnb_al_a {
    display: block;
    padding: 15px 20px;
    font-weight: 500;
}

.gnb_al_ul2 {
    list-style: none;
    background: #f5f5f5;
}

.gnb_al_ul2 a {
    display: block;
    padding: 12px 40px;
    font-size: 13px;
    color: #666;
}

/* 메인 비주얼 */
.main_visual {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
    overflow: hidden;
}

.visual_inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.visual_text {
    color: white;
}

.visual_title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.highlight {
    color: #ffe66d;
}

.visual_desc {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.visual_buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn_primary, .btn_secondary {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn_primary {
    background: white;
    color: #ff6b6b;
}

.btn_primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn_secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn_secondary:hover {
    background: white;
    color: #ff6b6b;
}

.visual_bg {
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* 정보 배너 */
.info_banner {
    padding: 30px 0;
    background: white;
}

.info_banner .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.banner_box {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-radius: 10px;
    gap: 20px;
}

.banner_box i {
    font-size: 32px;
}

.banner_box.warning {
    background: #fff3cd;
    color: #856404;
}

.banner_box.info {
    background: #d1ecf1;
    color: #0c5460;
}

.banner_box strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

/* 대출 업체 섹션 */
.company_section {
    padding: 60px 0;
    background: white;
}

.company_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.company_item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.company_item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.company_img {
    position: relative;
    height: 140px;
    background: #f5f5f5;
    overflow: hidden;
}

.company_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
}

.company_overlay h3 {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.company_info {
    padding: 15px;
}

.company_desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.company_contact {
    font-size: 14px;
    font-weight: 500;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.company_contact i {
    margin-right: 5px;
}

.company_meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.meta_area {
    color: #666;
}

.meta_area i {
    color: #ffa726;
    margin-right: 3px;
}

.meta_region {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
}

/* 더보기 업체 */
.more_companies {
    margin-top: 60px;
}

.more_title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 30px;
}

.more_title span {
    color: #ff6b6b;
}

.company_item.small {
    height: 120px;
}

.company_item.small .company_img {
    height: 100%;
}

.company_item.small .company_overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.company_item.small .company_overlay p {
    font-size: 12px;
    text-align: center;
    margin: 0;
}

/* 팝업 스타일 */
.popup_layer {
    position: fixed;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    border-radius: 8px;
    overflow: hidden;
}

.popup_header {
    background: #ff6b6b;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup_header h3 {
    margin: 0;
    font-size: 16px;
}

.popup_close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.popup_content {
    padding: 20px;
}

.popup_footer {
    background: #f5f5f5;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.popup_footer label {
    display: flex;
    align-items: center;
    gap: 5px;
}

#popup1 {
    top: 100px;
    left: 50px;
    width: 400px;
}

#popup2 {
    top: 100px;
    right: 50px;
    width: 400px;
}

/* 주의사항 섹션 */
.caution_section {
    padding: 80px 0;
    background: white;
}

.caution_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.caution_item {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.caution_item.animated {
    opacity: 1;
    transform: translateY(0);
}

.caution_item:hover {
    border-color: #ff6b6b;
    box-shadow: 0 5px 20px rgba(255,107,107,0.1);
}

.caution_number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 15px;
}

.caution_item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.caution_item p {
    color: #666;
    line-height: 1.8;
}

/* 최신글 섹션 */
.latest_section {
    padding: 80px 0;
    background: #f9f9f9;
}

.latest_wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.latest_box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.latest_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.latest_title i {
    margin-right: 8px;
    color: #ff6b6b;
}

.more_btn {
    font-size: 13px;
    color: #999;
    transition: color 0.3s;
}

.more_btn:hover {
    color: #ff6b6b;
}

/* 서비스 특징 */
.feature_section {
    padding: 60px 0;
    background: #ff6b6b;
    color: white;
}

.feature_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature_item {
    opacity: 0;
    transform: translateY(30px);
}

.feature_item.animated {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.feature_item i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.feature_item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature_item p {
    opacity: 0.8;
}

/* 푸터 */
#ft {
    background: #2c3e50;
    color: white;
}

.ft_banner {
    background: #34495e;
    padding: 40px 0;
}

.banner_wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.banner_item i {
    font-size: 36px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.banner_item h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.banner_item p {
    font-size: 13px;
    opacity: 0.7;
}

#ft_wrap {
    padding: 50px 0 30px;
}

.ft_inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.ft_info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.ft_info p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.ft_contact {
    margin-top: 20px;
}

.ft_contact p {
    margin-bottom: 5px;
}

.ft_contact i {
    margin-right: 8px;
}

.ft_links h4,
.ft_warning h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.ft_links ul,
.ft_warning ul {
    list-style: none;
}

.ft_links li,
.ft_warning li {
    margin-bottom: 8px;
}

.ft_links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.ft_links a:hover {
    color: white;
}

.ft_warning li {
    font-size: 13px;
    opacity: 0.7;
}

.ft_copy {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
}

/* 맨위로 버튼 */
#top_btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    display: none;
    z-index: 999;
    transition: all 0.3s;
}

#top_btn:hover {
    background: #ff5252;
    transform: translateY(-3px);
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
}

/* 반응형 */
@media (max-width: 1024px) {
    .region_grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ft_inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* 모바일 헤더 */
    #gnb {
        display: none;
    }
    
    .hd_right {
        display: none;
    }
    
    .mobile_menu_btn {
        display: block;
    }
    
    /* 모바일 비주얼 */
    .main_visual {
        height: 400px;
    }
    
    .visual_title {
        font-size: 32px;
    }
    
    .visual_desc {
        font-size: 16px;
    }
    
    .visual_buttons {
        flex-direction: column;
        width: 200px;
        margin: 0 auto;
    }
    
    /* 모바일 그리드 */
    .info_banner .container {
        grid-template-columns: 1fr;
    }
    
    .company_grid {
      grid-template-columns: 1fr; /* 2fr에서 1fr로 변경 - 한 줄에 하나씩 */
        gap: 20px; /* 15px에서 20px로 증가 */
        padding: 0 10px; /* 좌우 여백 추가 */
    }



 /* 업체 카드 크기 조정 */
    .company_item {
        min-height: 280px; /* 최소 높이 설정 */
    }
    
    .company_img {
        height: 120px; /* 140px에서 120px로 조정 */
    }
    
    .company_overlay h3 {
        font-size: 14px; /* 13px에서 14px로 증가 */
        line-height: 1.4;
    }
    
    .company_info {
        padding: 20px; /* 15px에서 20px로 증가 */
    }
    
    .company_desc {
        font-size: 13px; /* 12px에서 13px로 증가 */
        margin-bottom: 15px; /* 10px에서 15px로 증가 */
    }
    
    .company_contact {
        font-size: 16px; /* 14px에서 16px로 증가 */
        margin-bottom: 15px; /* 10px에서 15px로 증가 */
    }
    
    .company_meta {
        font-size: 12px; /* 11px에서 12px로 증가 */
    }
    
    .meta_region {
        padding: 4px 10px; /* 2px 8px에서 4px 10px으로 증가 */
    }
    
    .caution_grid {
        grid-template-columns: 1fr;
    }
    
    .latest_wrap {
        grid-template-columns: 1fr;
    }
    
    .feature_list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner_wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ft_inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .region_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .region_item {
        padding: 20px;
    }
    
    .region_icon {
        width: 50px;
        height: 50px;
    }
    
    .region_icon i {
        font-size: 24px;
    }
    
    .section_title {
        font-size: 28px;
    }


    .company_grid {
        padding: 0 5px;
        gap: 15px;
    }
    
    .company_item {
        min-height: 260px;
    }
    
    .company_section {
        padding: 40px 0; /* 60px에서 40px로 축소 */
    }
    
    .section_title {
        font-size: 24px; /* 크기 조정 */
        margin-bottom: 20px;
    }
}







    .premium-header {
      background-color: #ff8000;
      color: #fff;
      border-radius: 10px 10px 0 0;
      padding: 10px 15px;
      font-size: 16px;
      font-weight: 500;
    }

    .premium-box {
      text-align: center;
      font-size: 24px;
      font-weight: 500;
      background-color: #fff;
      padding: 20px;
      border-radius: 10px;
      margin-bottom: 20px;
    }

    .premium-content span.title {
      color: #ff8000;
      font-size: 22px;
      font-weight: bold;
    }

    .premium-content span.description {
      color: #333;
      font-size: 16px;
    }

    .live-item {
      border-bottom: 1px solid #ccc;
      padding: 8px 0;
      font-size: 14px;
    }

    .live-item span.location {
      color: #ff8000;
      font-weight: bold;
    }

    .customer-box {
      background-color: #fff;
      padding: 20px;
      border-radius: 10px;
      font-size: 18px;
      line-height: 1.6;
    }

    .customer-box .phone {
      color: #ff8000;
      font-weight: bold;
      font-size: 20px;
    }

    @media (max-width: 768px) {
      .premium-box,
      .customer-box {
        font-size: 16px;
        text-align: center;
      }
    }



.mb-4, .my-4 {
    margin-bottom: 1.5rem !important;
}

@media (min-width: 768px) {
    .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}


.mt-4, .my-4 {
    margin-top: 1.5rem !important;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px;
    }
}



.row {
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

#container_wr {
background-color:white;
}
















    .main-container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: 0 auto;
      gap: 20px;
    }

    .box {
      flex: 1;
      min-width: 300px;
    }

    .box h2 {
      font-size: 18px;
      margin-bottom: 10px;
      border-bottom: 3px solid #f97316; /* 주황색 라인 */
      display: inline-block;
      padding-bottom: 4px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 10px;
    }

    th, td {
      text-align: left;
      padding: 10px;
      font-size: 15px;
    }

    thead {
      font-weight: bold;
      border-bottom: 1px solid #ddd;
    }

    tbody tr {
      border-bottom: 1px dotted #ccc;
    }

    tbody td:last-child {
      color: #f97316; /* 날짜 컬러: Tailwind orange-500 */
      text-align: right;
    }

    @media (max-width: 768px) {
      .main-container {
        flex-direction: column;
      }
    }