.rest-section {
    padding: 120px 0 0;
}
.rest-section .bgi {
    width: 40%;
    aspect-ratio: 2/3;
    background-size: contain;   /* 잘리지 않고 전체가 보임 */
    background-position: center;
	background-repeat: no-repeat;
}

.rest-section .text-wrap {
    width: 45%;
    text-align: center;
}

.rest-section .text-wrap .wrap {
    display: inline-block;
    width: 456px;
    text-align: left;
}

.rest-section > div {
	padding-left: 100px;
    padding-bottom: 50px;
	padding-right:100px;
}

.flex-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.rest-section > div:nth-child(2n) .bgi {
    order: 1;
}

#sub-top .sub-swiper{ position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
#sub-top .sub-swiper .swiper-slide{ height: 100%; }
#sub-top .sub-swiper .bgi{ width: 100%; height: 100%; }

.facs-section.rest-section .bgi{ width: 40%; height: auto; aspect-ratio: auto; }
.rest-section .bgi img{ display: block; width: 100%; height: auto; }

/* =================== 1024px =================== */
@media (max-width: 1024px) {
    #section01{ padding-top: 0; }

    .rest-section .fac{
        display: flex !important;
        flex-direction: column !important;   /* 위 → 아래로 쌓기 */
        align-items: stretch !important;
        padding: 0 15px 50px !important;
        text-align: left !important;
    }
    .rest-section .fac .bgi{
		line-height: 0;
        order: 1 !important;                 /* 글 다음에 이미지 */
        width: 100% !important;
        height: auto !important;
    }
    .rest-section .fac .bgi img{
        display: block;
        width: 100%;
        height: auto;
    }
    .rest-section .fac .text-wrap{
        order: 0 !important;                 /* 글먼저  */
        width: 100% !important;
    }
    .rest-section .fac .text-wrap .wrap{
        width: 100% !important;
        padding: 0 0 16px !important;        /* 글 아래, 이미지와의 간격 */
        text-align: left !important;
    }
    .rest-section .fac .text-wrap h3{ padding-top: 4px !important;                           /* 이미지와 제목 사이 (기존 16px) */
		padding-bottom: 2px !important;
		line-height: 1.3;      }
    .rest-section .fac .text-wrap p{ -webkit-line-clamp: unset; }
	.rest-section .bgi{
		height: auto !important;
		aspect-ratio: auto !important;
	}

    #sub-top .sub-swiper{ position: relative; height: 100vw; }
}