.u-section-5 {
    /*min-height: 726px;*/
}

.u-section-5 .u-group-1 {
    margin-top: 0;
    margin-bottom: 0;
    min-height: 700px;
    height: auto;
}

.u-section-5 .u-container-layout-1 {
    padding: 40px 30px;
}

.u-section-5 .u-group-elements-1 {
    width: 320px;
    min-height: 66px;
    height: auto;
    margin: -66px auto 0 50px;
}

.u-section-5 .u-text-1 {
    font-family: Pretendard-ExtraBold;
    font-size: 3rem;
    margin: 0 0 0 auto;
}

.u-section-5 .u-image-1 {
    width: 167px;
    height: 53px;
    margin: -53px auto 0 0;
}

.u-section-5 .u-group-elements-2 {
    width: 781px;
    min-height: 53px;
    height: auto;
    margin: 0 auto;
}

.u-section-5 .u-text-2 {
    font-family: Pretendard-ExtraBold;
    font-size: 3rem;
    margin: 0 0 0 146px;
}

.u-section-5 .u-image-2 {
    width: 167px;
    height: 53px;
    margin: -53px auto 0 0;
}

.u-section-5 .u-layout-wrap-1 {
    width: 1140px;
    box-shadow: 2px 0 0 0 rgba(0, 0, 0, 0);
    margin: 74px auto 0;
}

.u-section-5 .u-layout-cell-1 {
    min-height: 266px;
    background-image: none;
}

.u-section-5 .u-container-layout-2 {
    box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.4);
    padding: 29px 20px;
}

.u-section-5 .u-icon-1 {
    height: 78px;
    width: 78px;
    background-image: none;
    color: rgb(255, 255, 255) !important;
    margin: 1px auto 0;
    padding: 15px;
}

.u-section-5 .u-text-3 {
    font-size: 1.875rem;
    font-family: Pretendard-Bold;
    margin: 57px 0 0;
}

.u-section-5 .u-layout-cell-2 {
    min-height: 266px;
}

.u-section-5 .u-container-layout-3 {
    box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.4);
    padding: 28px 15px;
}

.u-section-5 .u-icon-2 {
    height: 78px;
    width: 78px;
    color: rgb(255, 255, 255) !important;
    background-image: none;
    margin: 0 auto;
    padding: 15px;
}

.u-section-5 .u-text-4 {
    font-size: 1.875rem;
    font-family: Pretendard-Bold;
    margin: 58px 5px 0;
}

.u-section-5 .u-layout-cell-3 {
    min-height: 208px;
}

.u-section-5 .u-container-layout-4 {
    box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.4);
    padding: 24px 0;
}

.u-section-5 .u-icon-3 {
    height: 79px;
    width: 79px;
    color: rgb(255, 255, 255) !important;
    background-image: none;
    margin: 5px auto 0;
    padding: 15px;
}

.u-section-5 .u-text-5 {
    font-size: 1.875rem;
    font-family: Pretendard-Bold;
    margin: 39px 20px 0;
}

.u-section-5 .u-layout-cell-4 {
    min-height: 208px;
}

.u-section-5 .u-container-layout-5 {
    box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.4);
    padding: 27px 20px;
}

.u-section-5 .u-icon-4 {
    height: 81px;
    width: 81px;
    color: rgb(255, 255, 255) !important;
    background-image: none;
    margin: 0 auto;
    padding: 16px;
}

.u-section-5 .u-text-6 {
    font-size: 1.875rem;
    font-family: Pretendard-Bold;
    margin: 38px 0 0;
}

.u-section-5 .u-group-elements-3 {
    width: 859px;
    min-height: 66px;
    height: auto;
    margin: 58px auto 0;
}

.u-section-5 .u-text-7 {
    font-family: Pretendard-Medium;
    font-size: 1.875rem;
    --text-color-var: #000000;
    margin: 0;
}

.u-section-5 .u-text-8 {
    font-family: Pretendard-Medium;
    font-size: 1.875rem;
    margin: -66px 141px 33px auto;
}

.u-section-5 .u-btn-1 {
    background-image: none;
    --radius: 50px;
    font-size: 1rem;
    font-family: Pretendard-Bold;
    margin: 49px auto 0;
    padding: 14px 71px 16px 70px;
}

.u-section-5 .u-group-elements-4 {
    width: 859px;
    min-height: 66px;
    height: auto;
    margin: 0 auto 0 373px;
}

.u-section-5 .u-text-9 {
    font-family: Pretendard-Medium;
    font-size: 1.875rem;
    --text-color-var: #000000;
    margin: 0;
}

.u-section-5 .u-text-10 {
    font-family: Pretendard-Medium;
    font-size: 1.875rem;
    margin: -66px 141px 0 auto;
}

@media (max-width: 1199px) {
    .u-section-5 {
        min-height: 783px;
    }
    .u-section-5 .u-group-1 {
        height: auto;
    }
    .u-section-5 .u-layout-wrap-1 {
        width: 880px;
    }
    .u-section-5 .u-layout-cell-1 {
        min-height: 209px;
    }
    .u-section-5 .u-icon-1 {
        transition-duration: 0.5s;
    }
    .u-section-5 .u-layout-cell-2 {
        min-height: 209px;
    }
    .u-section-5 .u-icon-2 {
        transition-duration: 0.5s;
    }
    .u-section-5 .u-text-4 {
        margin-left: 0;
        margin-right: 0;
    }
    .u-section-5 .u-layout-cell-3 {
        min-height: 209px;
    }
    .u-section-5 .u-icon-3 {
        transition-duration: 0.5s;
    }
    .u-section-5 .u-text-5 {
        margin-left: 0;
        margin-right: 0;
    }
    .u-section-5 .u-layout-cell-4 {
        min-height: 209px;
    }
    .u-section-5 .u-icon-4 {
        transition-duration: 0.5s;
    }
    .u-section-5 .u-btn-1 {
        --color-var: #ef6464;
    }
    .u-section-5 .u-group-elements-4 {
        margin-left: 21px;
    }
}

@media (max-width: 991px) {
    .u-section-5 {
        min-height: 991px;
    }
    .u-section-5 .u-container-layout-1 {
        padding-top: 65px;
        padding-bottom: 30px;
    }
    .u-section-5 .u-group-elements-2 {
        width: 660px;
    }
    .u-section-5 .u-layout-wrap-1 {
        width: 660px;
    }
    .u-section-5 .u-layout-cell-1 {
        min-height: 100px;
    }
    .u-section-5 .u-layout-cell-2 {
        min-height: 100px;
    }
    .u-section-5 .u-layout-cell-3 {
        min-height: 100px;
    }
    .u-section-5 .u-layout-cell-4 {
        min-height: 100px;
    }
    .u-section-5 .u-group-elements-3 {
        width: 660px;
    }
    .u-section-5 .u-group-elements-4 {
        width: 660px;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .u-section-5 {
        min-height: 1255px;
    }
    .u-section-5 .u-container-layout-1 {
        padding-top: 60px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .u-section-5 .u-text-1 {
        font-size: 2.25rem;
    }
    .u-section-5 .u-group-elements-2 {
        width: 520px;
    }
    .u-section-5 .u-text-2 {
        font-size: 2.25rem;
    }
    .u-section-5 .u-layout-wrap-1 {
        width: 520px;
    }
    .u-section-5 .u-container-layout-3 {
        padding-left: 20px;
        padding-right: 20px;
    }
    .u-section-5 .u-group-elements-3 {
        width: 520px;
    }
    .u-section-5 .u-group-elements-4 {
        width: 520px;
    }
}

@media (max-width: 575px) {
    .u-section-5 {
        min-height: 0;
    }
    .u-section-5 .u-group-1 {
        min-height: 800px;
    }
    .u-section-5 .u-container-layout-1 {
        padding-top: 0;
        padding-bottom: 28px;
    }
    .u-section-5 .u-group-elements-1 {
        width: 303px;
        margin-top: 49px;
        margin-left: auto;
    }
    .u-section-5 .u-text-1 {
        font-size: 1.875rem;
        width: 303px;
        margin-right: auto;
    }
    .u-section-5 .u-image-1 {
        width: 97px;
        height: 31px;
        margin-top: -66px;
        margin-left: 37px;
    }
    .u-section-5 .u-group-elements-2 {
        width: 320px;
    }
    .u-section-5 .u-text-2 {
        font-size: 1.875rem;
    }
    .u-section-5 .u-layout-wrap-1 {
        width: 320px;
        margin-top: 31px;
    }
    .u-section-5 .u-layout-cell-1 {
        min-height: 189px;
    }
    .u-section-5 .u-container-layout-2 {
        padding-left: 10px;
        padding-right: 10px;
    }
    .u-section-5 .u-text-3 {
        font-size: 1.5rem;
        width: auto;
        margin-top: 15px;
    }
    .u-section-5 .u-layout-cell-2 {
        min-height: 189px;
    }
    .u-section-5 .u-container-layout-3 {
        padding-left: 10px;
        padding-right: 10px;
    }
    .u-section-5 .u-text-4 {
        font-size: 1.5rem;
        width: auto;
        margin-top: 16px;
    }
    .u-section-5 .u-layout-cell-3 {
        min-height: 213px;
    }
    .u-section-5 .u-text-5 {
        font-size: 1.5rem;
        width: auto;
        margin-top: 16px;
    }
    .u-section-5 .u-layout-cell-4 {
        min-height: 208px;
    }
    .u-section-5 .u-container-layout-5 {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 19px;
    }
    .u-section-5 .u-text-6 {
        font-size: 1.5rem;
        width: auto;
        margin-top: 15px;
    }
    .u-section-5 .u-group-elements-3 {
        width: 320px;
        min-height: 198px;
        margin-top: 53px;
    }
    .u-section-5 .u-text-7 {
        font-size: 1.25rem;
    }
    .u-section-5 .u-text-8 {
        font-size: 1.25rem;
    }
    .u-section-5 .u-btn-1 {
        margin-top: 208px;
    }
    .u-section-5 .u-group-elements-4 {
        width: 380px;
        min-height: 88px;
        margin-top: -198px;
        margin-right: 15px;
        margin-left: auto;
    }
    .u-section-5 .u-text-9 {
        font-size: 1.25rem;
        width: auto;
    }
    .u-section-5 .u-text-10 {
        font-size: 1.25rem;
        width: auto;
        margin-top: -67px;
        margin-right: 128px;
    }
}

/* Fonts */
@font-face {
    font-family: 'NanumSquareNeoOTF-Rg';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/NanumSquareNeoOTF-Rg.otf);
}
@font-face {
    font-family: 'Pretendard-SemiBold';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Pretendard-SemiBold.ttf);
}
@font-face {
    font-family: 'Pretendard-ExtraBold';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Pretendard-ExtraBold.ttf);
}
@font-face {
    font-family: 'Pretendard-Regular';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Pretendard-Regular.ttf);
}
@font-face {
    font-family: 'Pretendard-Bold';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Pretendard-Bold.ttf);
}
@font-face {
    font-family: 'Pretendard-Medium';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Pretendard-Medium.ttf);
}

/* =========================
   ▶ 최종 오버라이드 (통일/중앙정렬/아이콘 50px/모바일 폭 250px)
   ========================= */

/* 모든 박스 높이 동일 + 중앙정렬 */
.u-section-5 .u-layout-cell-1,
.u-section-5 .u-layout-cell-2,
.u-section-5 .u-layout-cell-3,
.u-section-5 .u-layout-cell-4 {
    min-height: 240px !important;        /* 데스크톱 높이 통일 */
    display: flex;
    align-items: center;                  /* 세로 중앙 */
    justify-content: center;              /* 가로 중앙 */
}

/* 내부 컨텐츠도 중앙 정렬 */
.u-section-5 .u-container-layout-2,
.u-section-5 .u-container-layout-3,
.u-section-5 .u-container-layout-4,
.u-section-5 .u-container-layout-5 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 아이콘 50px (원형 유지) */
.u-section-5 .u-icon-1,
.u-section-5 .u-icon-2,
.u-section-5 .u-icon-3,
.u-section-5 .u-icon-4 {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
    padding: 8px !important;
    margin: 0 auto 10px;
    border-radius: 50%;
    background-image: none;
}

/* 아이콘 내부 이미지도 축소 */
.u-section-5 .u-icon-1 img,
.u-section-5 .u-icon-2 img,
.u-section-5 .u-icon-3 img,
.u-section-5 .u-icon-4 img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    display: block;
}

/* 제목 중앙 & 여백 리셋 */
.u-section-5 .u-text-3,
.u-section-5 .u-text-4,
.u-section-5 .u-text-5,
.u-section-5 .u-text-6 {
    margin: 0 !important;
    text-align: center;
}

/* 모바일(≤575px): 폭 250px, 높이 더 작게 */
@media (max-width: 575px) {
    .u-section-5 .u-layout-wrap-1 {
        width: 250px !important;         /* 카드 컨테이너 폭 */
    }
    .u-section-5 .u-layout-cell-1,
    .u-section-5 .u-layout-cell-2,
    .u-section-5 .u-layout-cell-3,
    .u-section-5 .u-layout-cell-4 {
        min-height: 150px !important;    /* 모바일 높이 통일 */
    }
    /* 아이콘은 모바일에서도 50px 유지 (요청사항) */
    .u-section-5 .u-icon-1,
    .u-section-5 .u-icon-2,
    .u-section-5 .u-icon-3,
    .u-section-5 .u-icon-4 {
        width: 50px !important;
        height: 50px !important;
        padding: 8px !important;
        margin-bottom: 17px;
    }
    .u-section-5 .u-text-3,
    .u-section-5 .u-text-4,
    .u-section-5 .u-text-5,
    .u-section-5 .u-text-6 {
        font-size: 1.25rem !important;
    }
}
/* ── 이중 박스 해결: 안쪽 컨테이너 그림자/배경 제거 ── */
.u-section-5 .u-container-layout-2,
.u-section-5 .u-container-layout-3,
.u-section-5 .u-container-layout-4,
.u-section-5 .u-container-layout-5 {
    box-shadow: none !important;
    background: transparent !important;
}

/* 바깥 카드에만 그림자 적용(한 겹) */
.u-section-5 .u-layout-cell-1,
.u-section-5 .u-layout-cell-2,
.u-section-5 .u-layout-cell-3,
.u-section-5 .u-layout-cell-4 {
    box-shadow: 5px 5px 20px rgba(0,0,0,0.18) !important; /* 살짝 부드럽게 */
    background: #fff;               /* u-white 보강 */
    border-radius: 30px;            /* u-radius-30 보강 */
    overflow: hidden;               /* 둥근모서리 밖 그림자/내용 잘림 방지 */
}

/* 안쪽 여백은 유지 */
.u-section-5 .u-container-layout-2,
.u-section-5 .u-container-layout-3,
.u-section-5 .u-container-layout-4,
.u-section-5 .u-container-layout-5 {
    padding: 24px 20px !important;  /* 기존 패딩 유지/보정 */
}

/* 박스 간 간격 (row 사이) */
.u-section-5 .u-layout-row {
    gap: 20px; /* 카드 사이 여백 */
    margin-bottom: 20px; /* 행 사이 간격 */
}

/* 카드 기본 높이 조금 줄이기 */
.u-section-5 .u-layout-cell-1,
.u-section-5 .u-layout-cell-2,
.u-section-5 .u-layout-cell-3,
.u-section-5 .u-layout-cell-4 {
    min-height: 200px !important;  /* 너무 크지 않게 */
    flex: 1 1 0%;                  /* 카드 폭 균등 분배 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 모바일에서 더 작게 */
@media (max-width: 575px) {
    .u-section-5 .u-layout-wrap-1 {
        width: 250px !important;
    }
    .u-section-5 .u-layout-cell-1,
    .u-section-5 .u-layout-cell-2,
    .u-section-5 .u-layout-cell-3,
    .u-section-5 .u-layout-cell-4 {
        min-height: 130px !important;  /* 모바일은 더 컴팩트 */
    }
}
