@charset "utf-8";

/* CSS Document */
[id^="sect_0"] {
    /*padding: calc(var(--sec_pd) / 1.25) 0;*/
    transition: all var(--q_trans);
}

.half {
    width: 48% !important;
}

.sect_tit {
    line-height: 1.125;
}


/*섹션1_상품설명*/
#sect_01 {
    padding: calc(var(--sec_pd) / 2) 0 var(--sec_pd);
}

    #sect_01 .sect_01_cont.container {
        display: grid;
        grid-template-columns: repeat(6, 1fr); /*6칸*/
        grid-auto-rows: minmax(100px, auto);
    }

        #sect_01 .sect_01_cont.container .item {
			grid-column: span 2;/*각 2칸 차지*/
            position: relative;
            background-color: var(--point_litht);
            border-radius: var(--br_r);
            box-shadow: 0px 4px 5px 1px rgba(0,0,0,0.050);
            padding: 1.3rem 1.5rem;
            line-height: 1.25;
			align-items: center;
			min-height: 200px;
        }
            #sect_01 .sect_01_cont.container .item img {
                width: 80px;
                aspect-ratio: 1 / 1 !important;
                margin: auto 0;
            }

            #sect_01 .sect_01_cont.container .item:before {
                position: absolute;
                content: '';
                display: block;
                width: 5px;
                height: 100%;
                max-height: 60px;
                left: 0;
                top: 50%;
                transform: translateY(-50%);
                background-color: var(--point_dark);
            }

			#sect_01 .sect_01_cont.container .item:nth-child(2){
				grid-column: 3 / span 4; /*3부터~ 4칸 차지*/
				grid-row: 1 / 2;
			}
			#sect_01 .sect_01_cont.container .item:nth-child(9),
			#sect_01 .sect_01_cont.container .item:nth-child(10){
				grid-column: span 3; /*각 3칸 차지*/
				grid-row: 4 / 5;
			}
            #sect_01 .sect_01_cont.container .item:last-child {
                grid-column: span 6; /*6칸 차지*/
                grid-row: 5 / 6;
            }
/*섹션_돼지배너 calc(var(--sec_pd) / 2) 0*/
#sect_pig {
    padding:  0;
    background-image: url("../images/banner_bg.png");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


    #sect_pig .sect_pig_cont {
        width: 100%;
        max-width: 600px;
        position: relative;
        margin-top: -5rem;
    }
#sect_pig .sect_pig_cont img{
    margin-bottom: 1.5rem;
}
    #sect_pig .sect_tit {
        /* margin-top: calc(var(--sec_pd) / 1.5); */
    }

    #sect_pig .txt_bg1, .txt_bg2 {
        position: relative;
        display: inline-block;
    }

        #sect_pig .txt_bg1:before {
            content: '';
            position: absolute;
            z-index: -1;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: block;
            background-image: url('../images/banner_text_bg_01.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            pointer-events: none;
            width: 120%;
            height: 140%;
        }

    #sect_pig .txt_bg2:before {
        content: '';
        position: absolute;
        z-index: -1;
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: block;
        background-image: url('../images/banner_text_bg_02.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        pointer-events: none;
        width: 110%;
        height: 140%;
    }

    #sect_pig .banner_pig {
        margin-bottom: calc(var(--sec_pd) / 3);
        max-width: 600px;
        width: 100%;
    }


/*섹션3*/
#sect_house {
    padding: var(--sec_pd) 0;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto;
    /* background-image: url("../images/house_bg.png");*/
    background-image: url("../images/watermark_blue.png");
}
  #sect_house .sect_tit {
            /* padding-top: var(--sec_pd) ; */
        }
    #sect_house .sect_house_cont {
        width: 100%;
        max-width: 580px;
    }
#sect_csman{
    padding: var(--sec_pd) 0 0;
    background-color: #f2f6fa;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto;
    background-image: url("../images/watermark_white.png");
}

/*섹션_슬라이드 sect_slide calc(var(--sec_pd) / 2)*/
#sect_slide {
    padding: var(--sec_pd) 0 var(--sec_pd) ;
}
#sect_slide .sect_slide_cont{
    position: relative;
	overflow: hidden;
}
#sect_slide .sect_slide_cont:after{
    position: absolute;
	right: 0;
	top: 0;
	display: block;
	content: '';
	width: 100px;
	height: 100%;
	background-image: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1) 80%);
	z-index: 9
}


/* 기본 구조 */
#slideTrack {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 60px;
    padding: 0;
	/*transition: transform 0.4s ease-in-out;*/
}
/* 슬라이드 항목 */
#slideTrack li {
    flex: 0 0 calc((100% - 120px) / 3); /* gap: 60px x 2 (3개 → 2개 gap) */

}
/* 반응형: 모바일에서는 1개씩 */
@media (max-width: 768px) {
	/*섹션4*/
	#sect_slide {
		padding: calc(var(--sec_pd) / 2) 1rem var(--sec_pd) ;
	}
	#sect_slide .wrap{
		padding: 0!important;
	}
	#slideTrack {
    gap: 0;
  }
    #slideTrack li {
        flex: 0 0 100%;
    }
}
.slide_item{
	width: 100%
}
.slide_item img{
	width: 428px;
	aspect-ratio: 16 / 9!important
}
.slide_item_text{
	padding-left: 1.25rem;
	border-left: 5px solid var(--point);
}
#slidePrevBtn, #slideNextBtn{
	cursor:pointer;
}
#slidePrevBtn:hover, #slideNextBtn:hover{
	filter: invert(49%) sepia(99%) saturate(1507%) hue-rotate(157deg) brightness(89%) contrast(101%);
}

/* ==================== 해상도 1280px 이상 ==================== */
@media screen and (min-width: 1280px) and (max-width: 1480px) {

    /*섹션1*/
    #sect_01 {
        padding-top: var(--sec_pd);
    }

    .sect5_slide_control {
        max-width: 57.5%;
    }
}

/* ==================== 모바일 레이아웃 ==================== */
@media(max-width: 1280px) {
    .sect_tit .fs_32 {
        margin: 0.5rem 0 1.5rem;
    }
    /*섹션1*/
    #sect_01 {
        padding-top: var(--sec_pd);
    }

        #sect_01 .sect_01_cont.container {
            grid-template-columns: 1fr !important; /* 한 줄 */
        }

            #sect_01 .sect_01_cont.container .item {
                padding: 2.5rem;
                gap: 2.5rem !important;
				min-height: unset;
				grid-column: auto !important; /* 2칸 span 제거 */
				grid-row: auto !important;
            }

                #sect_01 .sect_01_cont.container .item img {
                    width: 50px;
                }

                #sect_01 .sect_01_cont.container .item:before {
                    max-height: 45px;
                    width: 3px;
                }

    /*섹션_돼지배너*/
    #sect_pig {
        padding: var(--sec_pd) 0;
        background-image: url("../images/banner_bg_m.png");
        background-position: bottom center;
        background-repeat: no-repeat;
        background-size: contain;
    }

        #sect_pig > .wrap.d_flex {
            flex-direction: column
        }


        #sect_pig .sect_pig_cont {
            width: 100%;
            max-width: 400px;
        }

        #sect_pig .sect_tit {
            margin-top: unset;
        }

        #sect_pig .banner_pig {
            margin-bottom: calc(var(--sec_pd) / 5);
            max-width: 600px;
            width: 100%;
        }

	 #sect_house {
        padding: 0 1rem var(--sec_pd) ;

    }
    #sect_house .sect_house_cont {
        width: 70%;
        margin: 0 auto;
    }

	#sect_house .wrap{
		flex-direction: column
	}
	#sect_house .sect_tit{
		text-align: center!important
	}

	.sect_tit_pack{align-items: flex-end}
	.sect_slide_slide_control{gap:40px}
    .half {
        width: 100% !important;
    }
}

@media(max-width: 900px) {






}

@media(max-width: 600px) {


}

@media screen and (max-width: 400px) and (orientation: portrait) {

}

/* ========================================================================== */
/***** 가로모드 *****/
@media screen and (orientation: landscape) and (max-width: 900px) {
}

/* 상담 필요 상황 카드 */
#sect_needs {
    padding: clamp(7rem, 10vw, 11rem) 0;
    background: linear-gradient(180deg, #eff6fc 0%, #ffffff 100%);
}
#sect_needs #needs_title {
    color: #333;
    font-size: 48px !important;
    font-weight: 700;
}
#sect_needs #needs_title .fc_point_dark { color: #123776; }
#sect_needs .needs_intro {
    margin-top: 1.5rem;
    color: #333;
    font-size: 20px !important;
    font-weight: 500;
}
#sect_needs .needs_grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin-top: 4.8rem;
}
#sect_needs .needs_card {
    min-height: 320px;
    padding: 2.2rem 1.7rem;
    border: 0;
    border-radius: 17px;
    background: #fff;
    text-align: left;
    transition: transform .22s ease;
}
#sect_needs .needs_card:hover {
    transform: translateY(-4px);
}
#sect_needs .needs_card img {
    width: 64px;
    height: 64px;
    margin-bottom: 1.2rem;
    object-fit: contain;
}
#sect_needs .needs_label {
    color: #333;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
}
#sect_needs .needs_card h3 {
    margin: .35rem 0 .8rem;
    color: var(--card-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    word-break: keep-all;
}
#sect_needs .needs_card > p:last-child {
    color: #444;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    word-break: keep-all;
}
#sect_needs .needs_card_blue { --card-color: #0066ef; }
#sect_needs .needs_card_red { --card-color: #00afaf; }
#sect_needs .needs_card_orange { --card-color: #ff2d55; }
#sect_needs .needs_card_purple { --card-color: #ff8d28; }
#sect_needs .needs_card_navy { --card-color: #5f38aa; }

/* 금리 절감 저금통 섹션 */
#sect_rate {
    position: relative;
    overflow: hidden;
    padding: var(--sec_pd) 0 0;
    background: #f2f6fa url("../images/watermark_white.png") no-repeat left bottom / auto;
}
#sect_rate .wrap { min-height: 590px; }
#sect_rate .sect_tit {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    flex: 0 1 620px;
    padding: 0;
}
#sect_rate .rate_title {
    margin: 0;
    color: #333;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -.035em;
    word-break: keep-all;
}
#sect_rate .rate_navy { color: #123776; }
#sect_rate .rate_blue { color: #0066ef; }
#sect_rate .rate_desc {
    margin-top: 2.1rem;
    color: #333;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.45;
}
#sect_rate .rate_cta {
    margin-top: .65rem;
    color: #333;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
}
#sect_rate .rate_cta strong { color: #4b8dff; font-weight: 700; }
#sect_rate .sect_rate_cont {
    align-self: flex-end;
    flex: 0 1 610px;
    width: 48%;
    margin-left: auto;
    line-height: 0;
}
#sect_rate .sect_rate_cont img {
    display: block;
    width: 100%;
    max-height: 590px;
    object-fit: contain;
    object-position: center bottom;
}

/* FAQ */
#faq {
    scroll-margin-top: calc(var(--header_h) + 20px);
    padding: var(--sec_pd) 0;
    background: #fff;
}
#faq #faq_title {
    color: #333;
    font-size: 48px !important;
    font-weight: 700;
}
#faq #faq_title .fc_point_dark { color: #123776; }
#faq .faq_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1240px;
    margin: 3.5rem auto 0;
}
#faq .faq_item {
    padding: 2rem 2.2rem;
    border-radius: 14px;
    background: #f0f5fa;
}
#faq .faq_item h3 {
    margin: 0 0 .65rem;
    color: #123776;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}
#faq .faq_item h3 span { margin-right: .25rem; }
#faq .faq_answer {
    color: #444;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.65;
    word-break: keep-all;
}

/* 기존 메인 섹션 반응형 */
@media (max-width: 1280px) {
    #sect_needs { padding: 7rem 0; }
    #sect_needs .needs_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3.5rem; }
    #sect_needs .needs_card { min-height: 260px; }
    #sect_needs .needs_card:last-child { grid-column: 1 / -1; }
    #sect_rate .wrap { min-height: 520px; }
    #sect_rate .sect_tit { flex-basis: 52%; padding-left: 1rem; }
    #sect_rate .rate_title { font-size: 40px; }
    #sect_rate .rate_desc, #sect_rate .rate_cta { font-size: 24px; }
    #sect_rate .sect_rate_cont { flex-basis: 48%; width: 48%; }
}
@media (max-width: 900px) {
    #sect_house .wrap, #sect_csman .wrap { flex-direction: column; align-items: center; gap: 2.5rem; }
    #sect_house .sect_tit, #sect_csman .sect_tit { text-align: center !important; }
    #sect_csman { padding: 5rem 0 0; }
    #sect_csman .sect_csman_cont { width: min(78%, 520px); margin: 0 auto; }
    #sect_pig .sect_pig_cont { margin-top: 0; }
    #sect_slide .sect_tit_pack { margin-bottom: 3rem !important; }
    .slide_item img { width: 100%; height: auto; object-fit: cover; }
    #sect_house, #sect_csman, #sect_rate { background-size: 100% auto; }
    #sect_rate .wrap { min-height: 0; flex-direction: column; align-items: center; }
    #sect_rate .sect_tit { flex: none; width: 100%; padding: 0; text-align: center !important; }
    #sect_rate .sect_rate_cont { flex: none; width: min(88%, 560px); margin: 2.5rem auto 0; }
    #sect_rate .sect_rate_cont img { max-height: none; }
    #faq .faq_item h3 { font-size: 22px; }
    #faq .faq_answer { font-size: 17px; }
}
@media (max-width: 600px) {
    #sect_needs, #faq { padding: 8rem 0; }
    #sect_needs #needs_title, #faq #faq_title { font-size: 32px !important; }
    #sect_needs .needs_intro { font-size: 16px !important; }
    #sect_needs .needs_grid { grid-template-columns: 1fr; gap: 12px; margin-top: 2.4rem; }
    #sect_needs .needs_card, #sect_needs .needs_card:last-child { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 1.4rem; grid-column: auto; min-height: 0; padding: 1.5rem; border-radius: 14px; }
    #sect_needs .needs_card img { grid-column: 1; grid-row: 1 / span 3; align-self: center; width: 54px; height: 54px; margin: 0; }
    #sect_needs .needs_card .needs_label, #sect_needs .needs_card h3, #sect_needs .needs_card > p:last-child { grid-column: 2; }
    #sect_needs .needs_label { font-size: 16px; }
    #sect_needs .needs_card h3 { font-size: 20px; }
    #sect_needs .needs_card > p:last-child { font-size: 14px; }
    #sect_rate .rate_title { font-size: 31px; line-height: 1.3; }
    #sect_rate .rate_desc { margin-top: 1.5rem; font-size: 19px; }
    #sect_rate .rate_cta { font-size: 19px; }
    #sect_rate .sect_rate_cont { width: 92%; margin-top: 2rem; }
    #sect_rate .sect_rate_cont img { width: 70%; margin-right: auto; margin-left: auto; }
    #faq .faq_list { gap: 12px; margin-top: 2.1rem; }
    #faq .faq_item { padding: 1.4rem 1.2rem; border-radius: 12px; }
    #faq .faq_item h3 { font-size: 19px; }
    #faq .faq_answer { font-size: 15px; }
    #sect_house { padding: 4.5rem 0; }
    #sect_house .sect_house_cont { width: 70%; }
    #sect_house .sect_tit .fs_40, #sect_pig .sect_tit .fs_40 { font-size: 25px !important; }
    #sect_house .sect_tit .fs_48, #sect_pig .sect_tit .fs_48, #sect_csman .sect_tit .fs_48, #sect_slide .sect_tit .fs_48 { font-size: 32px !important; }
    #sect_house .sect_tit .fs_32, #sect_pig .sect_tit .fs_32, #sect_csman .sect_tit .fs_32 { font-size: 21px !important; }
    #sect_pig { padding: 4.5rem 0 5rem; background-size: cover; }
    #sect_pig .sect_pig_cont { max-width: 280px; }
    #sect_csman .sect_csman_cont { width: 70%; }
    #sect_slide { padding: 4.5rem 1rem; }
    .sect_slide_slide_control { gap: 25px; margin-right: 8px !important; }
    .slide_item_text { padding-left: 1rem; }
    .slide_item_text .fs_24 { font-size: 18px !important; }
    .slide_item_text .fs_20 { font-size: 15px !important; }
}