/* ========== 기본 초기화 ========== */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 16px;
    letter-spacing: 0px;
    background-color: #fff;
    box-sizing: border-box;
    line-height: 1;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* ========== 전체 wrap ========== */
.wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ========== 상단 영역 ========== */
.top-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dropdown {
    width: 100%;
    text-align: right;
}

.txt1 {
    text-align: center;
    font-size: 3.1rem;
    font-weight: 800;
    margin-top: 3.5rem;
    margin-bottom: 2.9rem;
    padding: 0 1rem;
    word-break: keep-all;
}

.txt1 span {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: #888;
    margin-top: 1rem;
}

/* ========== 중간 영역 ========== */
.middle-area {
    margin-top: 5.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.step-1,
.step-5 {
    width: 300px;
    height: 370px;
    padding: 30px 0;
    border: 1px #e3e3e3 solid;
    border-radius: 20px;
    text-align: center;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc((100% - 100px) / 5);
}

.step-2 {
    background-color: #fdffff;
}
.step-3 {
    background-color: #f7fefe;
}
.step-4 {
    background-color: #f0fdfd;
}
.step-5 {
    background-color: #e8fcfc;
}

/* ========== 텍스트 블록 ========== */
.txt2 {
    font-size: 1.25rem;
    font-weight: 500;
    height: 8.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 1rem;
    word-break: keep-all;
    text-align: center;
    line-height: 1.2;
}

/* ========== 이미지 영역 ========== */
.img-area {
    height: 9.18rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* ========== 하단 영역 ========== */
.bottom-area {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
    padding: 0 1rem;
    text-decoration: underline;
}

.bottom-area a {
    color: #666;
    font-size: 0.95rem;
}
.custom-btn {
    display: inline-block;
    padding: 10px 32px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #6ee7e7 0%, #3b82f6 100%);
    border: none;
    border-radius: 28px;
    text-align: center;
    text-decoration: none;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
    cursor: pointer;
    letter-spacing: -1px;
}

.custom-btn:hover {
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.16);
    opacity: 0.95;
}
/* ========== 반응형 대응 ========== */
@media (max-width: 1280px) {
    .txt1 {
        font-size: 2.4rem;
    }

    .txt1 span {
        font-size: 1rem;
    }

    .step-1,
    .step-5 {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .txt1 {
        font-size: 2rem;
    }

    .txt2 {
        font-size: 1.1rem;
    }

    .step-1,
    .step-5 {
        width: 100%;
    }

    .bottom-area {
        flex-direction: column;
        align-items: flex-end;
    }
}

.hidden {
    display: none !important;
}
