#footer {
    width: 100%;
    background-color: #0588ce;
    color: #fff;
    text-align: center;
    font-size: 20px;
    margin: 70px 0 0 0;
}

.footer-wrap {
    display: flex;
    flex-direction: row;
    gap: 50px;
    width: 1540px;
    margin: 0 auto;
    padding: 60px;
}

.footer-logo {
    text-align: left;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;

    text-align: left;
    font-size: 16px;

    margin: 0 0 0 40px;
    color: #fff;
}

/*=================================================================================
 * 스테이
 =================================================================================*/
.stay-wrap {
    width: 1540px;
    margin: 0 auto;
    padding: 100px 40px 0 40px;
}
.stay-title {
    overflow: hidden;
    width: 100%;
    height: 300px;
    padding: 65px 0 0 0;
    background: url('../dgnfolder/images/stay_01.png') no-repeat right center;
}

.stay-title h2 {
    width: 920px;
    box-sizing: border-box;
    border-bottom: 6px solid #f3c903;
    color: #0099ff;
    font-size: 60px;
    font-weight: 600;
    padding: 0 0 10px 0;
    margin: 0 0 15px 0;
}

.stay-title li {
    box-sizing: border-box;
    width: 725px;
    padding: 0;
    font-size: 26px;
    font-weight: 300;
}

.stay-thumb-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 30px;
}

.stay-thumb {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 70px 0 0 0;
    gap: 30px;
}
.stay-thumb ul {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    width: 100%;
    height: 280px;
    background-size: cover;
    aspect-ratio: 1.1 / 1;
}

.stay-thumb ul p {
    display: inline-block;
    margin: 0 auto 15px auto;
    background-color: #f3c903;
    color: #fff;
    font-size: 25px;
    padding: 5px 20px;
    text-align: center;
}

.stay-thumb ul li {
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 153, 255, 0.8);
    color: #fff;
    font-size: 19px;
}

.stay-thumb01 {
    background: url('../dgnfolder/images/stay_02.png') no-repeat center;
}

.stay-thumb02 {
    background: url('../dgnfolder/images/stay_03.png') no-repeat center;
}
.stay-thumb03 {
    background: url('../dgnfolder/images/stay_04.png') no-repeat center;
}
.stay-thumb04 {
    background: url('../dgnfolder/images/stay_05.png') no-repeat center;
}

/*=================================================================================
 * 카운셀링
 =================================================================================*/

.counsel-wrap {
    width: 1540px;
    margin: 0 auto;
    padding: 100px 40px 0 40px;
}
.counsel-title {
    overflow: hidden;
    width: 100%;
    height: 300px;
    padding: 65px 0 0 0;
    background: url('../dgnfolder/images/counsel_01.png') no-repeat right center;
}

.counsel-title h2 {
    width: 920px;
    box-sizing: border-box;
    border-bottom: 6px solid #9933cc;
    color: #9933cc;
    font-size: 60px;
    font-weight: 800;
    padding: 0 0 10px 0;
    margin: 0 0 15px 0;
}

.counsel-title li {
    box-sizing: border-box;
    width: 725px;
    padding: 0;
    font-size: 26px;
    font-weight: 300;
}

.counsel-thumb {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin: 30px auto 0 auto;
    width: 80%;
    gap: 35px;
}
.counsel-thumb ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 100%;
    height: 360px;
    background-size: cover;
}

.counsel-thumb ul p.counsel {
    display: block;
    color: #333;
    font-size: 33px;
    margin: 0 0 10px 30px;
    font-weight: 600;
    text-align: left;
}

.counsel-thumb ul li.counsel {
    width: 100%;
    color: #333;
    font-size: 18px;
    margin: 0 0 10px 30px;
    padding: 0;
}

.counsel-thumb01 {
    background: url('../dgnfolder/images/counsel_02.png') no-repeat center;
}

.counsel-thumb02 {
    background: url('../dgnfolder/images/counsel_03.png') no-repeat center;
}
.counsel-thumb03 {
    background: url('../dgnfolder/images/counsel_04.png') no-repeat center;
}
.counsel-thumb04 {
    background: url('../dgnfolder/images/counsel_05.png') no-repeat center;
}

.counsel-thumb05 {
    background: url('../dgnfolder/images/counsel_06.png') no-repeat center;
}

/*=================================================================================
 * 송금
 =================================================================================*/

.remittance-wrap {
    width: 1540px;
    margin: 0 auto;
    padding: 100px 40px 0 40px;
}
.remittance-title {
    overflow: hidden;
    width: 100%;
    height: 300px;
    padding: 65px 0 0 0;
    background: url('../dgnfolder/images/remittance_01.png') no-repeat right center;
}

.remittance-title h2 {
    width: 920px;
    box-sizing: border-box;
    border-bottom: 6px solid #ffcc00;
    color: #ffcc00;
    font-size: 60px;
    font-weight: 800;
    padding: 0 0 10px 0;
    margin: 0 0 15px 0;
}

.remittance-title li {
    box-sizing: border-box;
    width: 725px;
    padding: 0;
    font-size: 26px;
    font-weight: 300;
}

.remittance-thumb {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin: 50px auto 0 auto;
    width: 80%;
    gap: 35px;
}
.remittance-thumb ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 100%;
    height: 360px;
    background-size: cover;
}

.remittance-thumb ul p.remittance {
    display: block;
    color: #fff;
    font-size: 30px;
    margin: 100px 0 10px 60px;
    font-weight: 500;
    text-align: left;
}

.remittance-thumb ul li.remittance {
    width: 100%;
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px 60px;
    padding: 0;
    font-weight: 300;
}

.remittance-thumb01 {
    background: url('../dgnfolder/images/remittance_02.png') no-repeat left center;
}

.remittance-thumb02 {
    background: url('../dgnfolder/images/remittance_03.png') no-repeat left center;
}

/*=================================================================================
 * 커뮤니티
 =================================================================================*/

.community-wrap {
    width: 1540px;
    margin: 0 auto;
    padding: 100px 40px 0 40px;
}
.community-title {
    overflow: hidden;
    width: 100%;
    height: 300px;
    padding: 65px 0 0 0;
    background: url('../dgnfolder/images/community_01.png') no-repeat right center;
}

.community-title h2 {
    width: 920px;
    box-sizing: border-box;
    border-bottom: 6px solid #00cc66;
    color: #00cc66;
    font-size: 60px;
    font-weight: 800;
    padding: 0 0 10px 0;
    margin: 0 0 15px 0;
}

.community-title li {
    box-sizing: border-box;
    width: 725px;
    padding: 0;
    font-size: 26px;
    font-weight: 300;
}

.community-thumb {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    margin: 70px auto 0 auto;
    width: 80%;
    gap: 35px;
}
.community-thumb ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 280px;
    background-size: cover;
    aspect-ratio: 4 / 3;
}

.community-thumb ul p.community {
    display: block;
    width: 100%;
    color: #00cc66;
    font-size: 33px;
    margin: 100px 0 10px 0;
    font-weight: 500;
    text-align: center;
}

.community-thumb ul li.community {
    width: 100%;
    color: #000;
    font-size: 20px;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: 300;
    text-align: center;
}

.community-thumb01 {
    background: url('../dgnfolder/images/community_02.png') no-repeat center;
}

.community-thumb02 {
    background: url('../dgnfolder/images/community_03.png') no-repeat center;
}

.community-thumb03 {
    background: url('../dgnfolder/images/community_04.png') no-repeat center;
}

/*=================================================================================
 * 메인
 =================================================================================*/

.main-wrap {
    width: 1540px;
    margin: 0 auto;
    padding: 100px 40px 0 40px;
}
.main-title {
    overflow: hidden;
    width: 100%;
    height: 300px;
    padding: 67px 0 0 0;
    background: url('../dgnfolder/images/main_02.jpg') no-repeat right center;
}

.main-title li {
    box-sizing: border-box;
    width: 900px;
    padding: 40px 0 0 50px;
    font-size: 40px;
    font-weight: 500;
}

.main-thumb-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    gap: 30px;
}

.main-thumb {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 70px 0 0 0;
    gap: 30px;
}
.main-thumb ul {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
    width: 100%;
    height: 280px;
    background-size: cover;
    aspect-ratio: 1.1 / 1;
}

.main-thumb ul p.main {
    display: block;
    color: #fff;
    font-size: 38px;
    margin: 20px 20px 40px 0;
    font-weight: 800;
    text-align: right;
}

.main-thumb ul li.main {
    width: 90%;
    color: #000;
    font-size: 14px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 20px 10px;
    font-weight: 300;
    text-align: center;
}

.main-thumb01 {
    background: url('../dgnfolder/images/main_02.png') no-repeat center;
}

.main-thumb02 {
    background: url('../dgnfolder/images/main_03.png') no-repeat center;
}

.main-thumb03 {
    background: url('../dgnfolder/images/main_04.png') no-repeat center;
}

.main-thumb04 {
    background: url('../dgnfolder/images/main_05.png') no-repeat center;
}

@media screen and (max-width: 1080px) {
    #footer {
        width: 100%;
        background-color: #0588ce;
        color: #fff;
        text-align: center;
        font-size: 20px;
        margin: 100px 0 0 0;
    }

    .footer-wrap {
        display: flex;
        flex-direction: column;
        gap: 50px;
        width: auto;
        margin: 0 auto;
        padding: 60px;
    }

    .footer-logo {
        text-align: left;
    }

    .footer-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
        border-left: none;
        text-align: left;
        font-size: 16px;
        padding: 0 0 0 100px;
        margin: 0;
        color: #fff;
    }

    /*=================================================================================
 * 스테이
 =================================================================================*/

    .page-wrapper {
        width: 100% !important;
        min-width: 375px !important;
    }

    .stay-wrap {
        width: 100%;
        margin: 0 auto;
        padding: 130px 20px;
    }
    .stay-title {
        overflow: hidden;
        width: 100%;
        height: 384px;
        padding: 20px 0 0 0;
        background-size: 600px;
        background-position: bottom right;
    }

    .stay-title h2 {
        font-size: 2rem;
        font-weight: 600;
        padding: 0 0 10px 0;
        margin: 0 0 15px 0;
    }

    .stay-title li {
        padding: 0;
        font-size: 16px;
    }
    .stay-thumb-box {
        gap: 10px;
    }
    .stay-thumb {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin: 80px 0 0 0;
        width: 100%;
        gap: 10px;
    }
    .stay-thumb ul {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: baseline;
        width: 100%;
        height: auto;
        background-size: cover;
        aspect-ratio: 4 / 3;
    }

    .stay-thumb ul p {
        font-size: 15px;
    }

    .stay-thumb ul li {
        font-size: 13px;
        height: 35px;
    }

    /*=================================================================================
 * 카운셀링
 =================================================================================*/

    .counsel-wrap {
        width: 100%;
        margin: 0 auto;
        padding: 130px 20px;
    }
    .counsel-title {
        overflow: hidden;
        width: 100%;
        height: 384px;
        padding: 20px 0 0 0;
        background-size: 600px;
        background-position: bottom right;
    }

    .counsel-title h2 {
        font-size: 2rem;
        font-weight: 600;
        padding: 0 0 10px 0;
        margin: 0 0 15px 0;
    }

    .counsel-title li {
        padding: 0;
        font-size: 16px;
    }

    .counsel-thumb {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        margin: 80px 0 0 0;
        width: 100%;
        gap: 10px;
    }
    .counsel-thumb ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: baseline;
        width: 49%;
        height: 360px;
        background-size: cover;
    }

    /*=================================================================================
 * 송금
 =================================================================================*/

    .remittance-wrap {
        width: 100%;
        margin: 0 auto;
        padding: 130px 20px;
    }
    .remittance-title {
        overflow: hidden;
        width: 100%;
        height: 384px;
        padding: 20px 0 0 0;
        background-size: 600px;
        background-position: bottom right;
    }

    .remittance-title h2 {
        font-size: 2rem;
        font-weight: 600;
        padding: 0 0 10px 0;
        margin: 0 0 15px 0;
    }

    .remittance-title li {
        padding: 0;
        font-size: 16px;
    }

    .remittance-thumb {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin: 80px 0 0 0;
        width: 100%;
        gap: 30px;
    }
    .remittance-thumb ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        width: 100%;
        height: 300px;
        background-size: cover;
    }

    .remittance-thumb01 {
        background: url('../dgnfolder/images/remittance_02.png') no-repeat left;
        background-size: cover !important;
    }

    .remittance-thumb02 {
        background: url('../dgnfolder/images/remittance_03.png') no-repeat left;
        background-size: cover !important;
    }

    /*=================================================================================
 * 커뮤니티
 =================================================================================*/

    .community-wrap {
        width: 100%;
        margin: 0 auto;
        padding: 130px 20px;
    }
    .community-title {
        overflow: hidden;
        width: 100%;
        height: 384px;
        padding: 20px 0 0 0;
        background-size: 600px;
        background-position: bottom right;
    }

    .community-title h2 {
        font-size: 2rem;
        font-weight: 600;
        padding: 0 0 10px 0;
        margin: 0 0 15px 0;
    }

    .community-title li {
        padding: 0;
        font-size: 16px;
    }

    .community-thumb {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        margin: 80px 0 0 0;
        width: 100%;
        gap: 10px;
    }
    .community-thumb ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: baseline;
        width: 49%;
        height: auto;
        background-size: cover;
        aspect-ratio: 4 / 3;
    }

    /*=================================================================================
 * 메인
 =================================================================================*/

    .main-wrap {
        width: 100%;
        margin: 0 auto;
        padding: 130px 20px;
    }
    .main-title {
        overflow: hidden;
        width: 100%;
        height: 384px;
        padding: 150px 0 0 20px;
        background-size: cover;
        background-position: bottom center;
    }

    .main-title li {
        width: 100%;
        padding: 0;
        font-size: 30px;
    }

    .main-thumb-box {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .main-thumb {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin: 40px 0 0 0;
        width: 100%;
        gap: 10px;
    }
    .main-thumb ul {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: baseline;
        width: 100%;
        height: auto;
        background-size: cover;
        aspect-ratio: 4 / 3;
    }
    .main-thumb ul p.main {
        width: 95%;
    }
    .main-thumb ul p.main {
        font-size: 25px;
    }

    .main-thumb ul li.main {
        font-size: 15px;
        padding: 15px 10px;
    }
}

@media screen and (max-width: 640px) {
    /*=================================================================================
 * 스테이
 =================================================================================*/

    .stay-title {
        height: 300px;
        background-size: 340px;
        background-position: bottom right;
    }

    /*=================================================================================
 * 카운셀링
 =================================================================================*/
    .counsel-title {
        height: 300px;
        background-size: 340px;
        background-position: bottom right;
    }

    .counsel-thumb ul {
        width: 100%;
    }

    /*=================================================================================
 * 송금
 =================================================================================*/
    .remittance-title {
        height: 300px;
        background-size: 340px;
        background-position: bottom right;
    }
    .remittance-thumb {
        flex-direction: row;
        gap: 10px;
    }
    .remittance-thumb ul {
        height: 200px;
    }

    .remittance-thumb ul p.remittance {
        margin: 100px 0 10px 40px;
        font-size: 20px;
    }

    .remittance-thumb ul li.remittance {
        margin: 0 0 20px 40px;
        font-size: 15px;
    }
    /*=================================================================================
 * 커뮤니티
 =================================================================================*/
    .community-title {
        height: 300px;
        background-size: 340px;
        background-position: bottom right;
    }
    .community-thumb ul {
        width: 100%;
    }
    .community-thumb ul p.community {
        font-size: 20px;
    }

    .community-thumb ul li.community {
        font-size: 15px;
    }

    /*=================================================================================
 * 메인
 =================================================================================*/
    .main-title {
        height: 300px;
        background-size: cover;
        background-position: bottom center;
        padding: 120px 20px 0 20px;
    }
    .main-thumb-box {
        margin: 80px 0 0 0;
    }
    .main-thumb ul p.main {
        font-size: 15px;
        margin: 20px 20px 20px 0;
    }
    .main-title li {
        font-size: 18px;
    }
    .main-thumb ul li.main {
        padding: 5px;
        font-size: 12px;
    }

    .main-thumb {
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    .footer-wrap {
        padding: 40px 20px;
        gap: 20px;
    }

    .footer-logo img {
        width: 130px;
    }
}
