#wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    height: 100%;
    background: linear-gradient(to bottom, #1663b0, #20a294);
}
#wrap .img_wrap {
    width: 25rem;
}
#wrap .img_wrap img {
    width: 100%;
}
#wrap a {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    background: #718cfb;
    padding: 1.5rem 6rem;
    border-radius: 1rem;
}
.inner {
    padding: 0 1.5rem;
}
.index_page {
    width: 100%;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.index_page img {
    width: 70%;
}
.page {
    padding: 2rem 0 4rem 0;
}
.qna_page .qna {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.qna_page .sub_title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
}
.qna_page .title {
    color: #2C66F7;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 1rem 0;
}


.home_page .menuWrap {
    padding: 2rem 0 4rem 0;
}
.home_page .menuWrap h2 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 2rem;
}
.home_page .menuWrap .menu {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 1.5rem;
}

.home_page .menuWrap .menu a.red {
    background-image: url(../img/main-btn-1.png);
}
.home_page .menuWrap .menu a.blue {
    background-image: url(../img/main-btn-2.png);
}
.home_page .menuWrap .menu a.green {
    background-image: url(../img/main-btn-3.png);
}
.home_page .menuWrap .menu a.purple {
    background-image: url(../img/main-btn-4.png);
}
.home_page .menuWrap .menu a.pink {
    background-image: url(../img/main-btn-5.png);
}
.home_page .menuWrap .menu a.yellow {
    background-image: url(../img/main-btn-6.png);
}
.home_page .menuWrap .menu a {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 1.5rem;
    border-radius: 1rem;
}
.home_page .menuWrap .menu a p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.home_page .menuWrap .menu a h3 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
}
.home_page .menuWrap .menu a span {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #fff;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    border-radius: 0.5rem;
}
.home_page .menuWrap .menu a.red span {
    background: #D95354;
}
.home_page .menuWrap .menu a.blue span {
    background: #5E7BE3;
}
.home_page .menuWrap .menu a.green span {
    background: #16B2B0;
}
.home_page .menuWrap .menu a.purple span {
    background: #A260E2;
}
.home_page .menuWrap .menu a.pink span {
    background: #FF76EF;
}
.home_page .menuWrap .menu a.yellow span {
    background: #FFB000;
}

.home_page .menuWrap .menu a.red h3, .home_page .menuWrap .menu a.red p {
    color: #D95354;
}
.home_page .menuWrap .menu a.blue h3, .home_page .menuWrap .menu a.blue p {
    color: #5E7BE3;
}
.home_page .menuWrap .menu a.green h3, .home_page .menuWrap .menu a.green p {
    color: #16B2B0;
}
.home_page .menuWrap .menu a.purple h3, .home_page .menuWrap .menu a.purple p {
    color: #A260E2;
}
.home_page .menuWrap .menu a.pink h3, .home_page .menuWrap .menu a.pink p {
    color: #FF76EF;
}
.home_page .menuWrap .menu a.yellow h3, .home_page .menuWrap .menu a.yellow p {
    color: #FFB000;
}
.home_page .home_top_wrap {
    padding: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.home_page .home_top_wrap .search_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F4F4F4;
    border-radius: 0.8rem;
    padding: 1.5rem 1.6rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
}
.home_page .home_top_wrap .search_box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    color: #333;
    outline: none;
    padding: 0;
    margin: 0;
}
.home_page .home_top_wrap .search_box input::placeholder {
    color: #999;
}
.home_page .home_top_wrap .search_box img {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
}
.home_page .home_top_wrap .cont_box a{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home_page .home_top_wrap .cont_box .type {
    background: #F5F4FC;
    border-radius: 0.5rem;
    color: #5F7CE3;
    padding: 0.5rem 2rem;
    font-size: 1.4rem;
    text-align: center;
    white-space: nowrap;
}

.home_page .home_top_wrap .cont_box .post_title {
    font-size: 1.4rem;
    font-weight: 800;
    white-space: nowrap;      
    overflow: hidden;       
    text-overflow: ellipsis; 
}

.home_page .title_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}
.home_page .menu2Wrap .title_box h2 {
    font-size: 1.6rem;
    font-weight: 900;
}
.home_page .menu2Wrap .title_box a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}
.home_page .menu2Wrap .title_box a img {
    width: 1rem;
}
.home_page .menu2Wrap .news {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.home_page .menu2Wrap .news a {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.home_page .menu2Wrap .news a .date {
    color: #5F7CE3;
    font-size: 1.2rem;
    font-weight: 600;
}
.home_page .menu2Wrap .news a h3 {
    font-size: 1.4rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* notice_page 스타일 */
.notice_page {

}
.notice_page .noitce_swiper {
    margin: 1.5rem 0;
    padding: 0;
    height: 4rem;
    overflow: visible;
}
.notice_page .noitce_swiper .swiper-wrapper {
    align-items: center;
}
.notice_page .noitce_swiper .swiper-slide {
    width: auto;
    height: auto;
}
.notice_page .noitce_swiper .filter-btn {
    display: inline-block;
    padding: 1rem 2.4rem;
    border-radius: 5rem;
    border: 1px solid #CCCCCC;
    background: #FFFFFF;
    color: #888888;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.notice_page .noitce_swiper .filter-btn.active {
    background: #EEF2FF;
    color: #4285F4;
    border-color: #A0C4FF;
}
.notice_page #filterFrm {
    margin-bottom: 3rem;
}
.notice_page #filterFrm input {
    display: block;
    height: 5rem;
    border-radius: 1rem;
    padding: 0 1.5rem;
    background-image: url(../img/search.png);
    background-color: #F4F4F4;
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 1.5rem;
    font-size: 1.4rem;
    width: 100%;
}

.notice_page .result {
    display: flex;
    flex-flow: column nowrap;
    gap: 3rem;
}
.notice_page .result a {
    border-bottom: 1px solid #9b9b9b;
    padding: 0 0 3rem 0;
}
.notice_page .result a .typeWrap {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}
.notice_page .result a .typeWrap .type {
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    background: #F5F4FC;
    color: #5E7BE3;
    font-size: 1.4rem;
}
.notice_page .result a h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.4;
}
.notice_page .result a .detailWrap {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
}
.notice_page .result a .detailWrap p {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.notice_page .result a .detailWrap p img {
    width: 1.5rem;
}
.notice_page .result a .detailWrap p span {
    font-size: 1.4rem;
}
.notice_page .pagination {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4rem;
}
.notice_page .pagination a {
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #fff;
}
.notice_page .pagination a img {
    height: 1rem;
}
.notice_page .pagination strong {
    font-size: 1.6rem;
    color: #0f5eae;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 상세 */
.notice_sub_page .top {
    padding: 0 0rem 3rem 0;
}
.notice_sub_page .top .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.notice_sub_page .top .title h2 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
}
.notice_sub_page .top .title a {
    display: block;
}
.notice_sub_page .top .detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.notice_sub_page .top .detail:last-child {
    margin: 0;
}
.notice_sub_page .top .detail h3 {
    width: 27%;
    background: #F5F4FC;
    border-radius: 0.5rem;
    color: #5F7CE3;
    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
}
.notice_sub_page .top .detail p {
    font-size: 1.4rem;
    font-weight: 600;
}
 .content {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
 .content .accordion-item {
    background: #F4F4F4;
    border-radius: 1rem;
    overflow: hidden;
}
 .content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem;
    background: #F4F4F4;
    border-radius: 1rem;
}
 .content h3 img {
    width: 1.5rem;
    transition: transform 0.3s ease;
}
 .content .description {
    display: none;
    border-radius: 0 0 1rem 1rem;
    padding: 2rem;
    background: #F5F4FC;
}
 .content .description:last-child {
    margin: 0;
}
 .content .description p {
    font-size: 1.4rem;
    line-height: 1.6;
}
.content .description p b {
    display: block;
    color: #5F7CE3;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1rem;
}
 .content .description figure {
    display: none;
}
.notice_sub_page > a {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    padding: 3rem 0;
    border-radius: 1rem;
    display: block;
    width: calc(100% - 3rem);
    text-align: center;
    margin: 4rem auto 0;
}
.notice_sub_page > a.new_banner {
    /* background-image: url(../img/.notice_sub_page-banner.png); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin: 0;
    width: 100%;
    text-align: left;
    /* padding: 2rem; */
}
.notice_sub_page > a.new_banner * {
    color: #fff;
}
.notice_sub_page > a.new_banner p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: -1px;
    margin-bottom: 1rem;
}
.notice_sub_page > a.new_banner h2 {
    font-size: 2.12rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}
.notice_sub_page > a.new_banner span {
    display: inline-block;
    padding: .7rem 1.5rem;
    background: #fff;
    color: #2162A0;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 600;
}
.page_title {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;

}
.page_sub_title {
    color: #5F7CE3;
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 1rem;
}
.sub_wrap .text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #555;
    padding: 1rem 0 3rem 0;
}

.sub_wrap .img_box {
    overflow: auto;
    width: 100%;
    margin-top: 1rem;
    padding-bottom: 3rem;
}
.sub_wrap .img_box img {
    max-width: 45rem;
}

.sub_page3 {
    padding: 2rem 0;
    min-height: 100vh;
    background-color: #fff;
}

.sub_page3 .inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sub_page3 .page_title {

}

/* 탭 메뉴 스타일 */
.tab_menu {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.tab_btn {
    flex: 1;
    padding: 1.5rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #999;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50rem;
}

.tab_btn.active {
    color: #5F7CE3;
    background: #F5F4FC;
    border: 1px solid #5F7CE3;
}

/* 탭 컨텐츠 스타일 */
.tab_content_wrap {
    background: #fff;
    padding: 2rem 0;
}

.tab_content {
    display: none;
}

.tab_content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 섹션 스타일 */
.info_section {
}

.info_section:last-child {
    margin-bottom: 0;
}

.section_title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

/* 정보 박스 스타일 */
.info_box {
    background: #F4F4F4;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    line-height: 1.8;
}

.info_box p {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info_box p:last-child {
    margin-bottom: 0;
}

/* 유의사항 박스 스타일 */
.notice_box {
    background: #FFF8E1;
    border-left: 4px solid #FFB000;
}

/* 프로세스 스타일 */
.process_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0;
}

.process_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    background: #F4F4F4;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.process_icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5F7CE3;
    border-radius: 50%;
    margin-bottom: 1.2rem;
}

.process_icon img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.process_text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

/* 대출약관 스타일 */
.terms_box {
    background: #F4F4F4;
}

.terms_box h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms_box h5:first-child {
    margin-top: 0;
}

.terms_box p {
    color: #555;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

#main {
    padding: 2rem 0 4rem 0;
}

#main h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

#regionFrm {
    padding: 0 1.5rem;
}

#regionFrm select {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.4rem;
    border: 1px solid #ddd;
    border-radius: 1rem;
    background: #F4F4F4;
    margin-bottom: 1.5rem;
    outline: none;
}

#regionFrm button {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background: #5F7CE3;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
}

.center {
    padding: 0 1.5rem;
}

.center h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.center table {
    width: 100%;
    border-collapse: collapse;
}

.center table tr {
    border-bottom: 1px solid #eee;
}

.center table th {
    width: 30%;
    padding: 1.5rem 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    background: #F4F4F4;
    vertical-align: top;
}

.center table td {
    padding: 1.5rem 1rem;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.6;
}

/* 지도 스타일 */
#map {
    width: 100%;
    height: 40rem;
    min-height: 40rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Leaflet 팝업 커스터마이징 */
.leaflet-popup-content-wrapper {
    border-radius: 1rem;
    box-shadow: 0 3px 14px rgba(0,0,0,0.4);
}

.leaflet-popup-content {
    margin: 1.2rem;
    font-family: inherit;
}

/* 모달 스타일 */
#centerModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    padding: 3rem 2rem 2rem 2rem;
    width: 90%;
    max-width: 40rem;
    z-index: 2;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.modal-table tr {
}

.modal-table tr:last-child {
    border-bottom: none;
}

.modal-table th {
    width: 30%;
    padding: 1.5rem 0rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #666;
    text-align: left;
    vertical-align: top;
    background: transparent;
}

.modal-table td {
    padding: 0rem 1rem;
    font-size: 1.4rem;
    color: #333;
    line-height: 1.6;
    font-weight: 500;
}

.modal-close-btn {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background: #5F7CE3;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:active {
    background: #4a67d1;
    transform: scale(0.98);
}
