.section1 {
    position: relative;
    background: linear-gradient(to bottom, #ebf2fc, #fff);
    width: 100%;
    height: 400px;
}
.section1 .overlay-text{
    width: 60%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding: 40px 0;
}
.section1 .overlay-text h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #064078;
    z-index: 3;
    line-height: 1.5;
    font-family: 'GongGothicBold' !important;
}
.section1  .con{
    line-height: 1.5;
}
.ul_mo{
    display: none;
}
.section2 {
    width: 60%; /* 부모 컨테이너 너비를 넓혀서 a 태그를 한 줄에 세 개 배치 */
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section2 a {
    display: inline-block;
    position: relative;
    width: 32%; /* 요소의 너비를 30%로 설정하여 한 줄에 세 개 배치 */
    text-align: center;
    border-radius: 15px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 800;
    box-sizing: border-box;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}
.image_mo {
    display: none;
}

.tit {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 5px;
    width: 90%; /* 텍스트 박스의 너비 조정 */
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    font-family: 'GongGothicBold' !important;
    font-size: 20px;
}
.text {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 5px;
    width: 90%; /* 텍스트 박스의 너비 조정 */
    box-sizing: border-box;
    text-align: center;
    line-height: 1.5;
}

@media screen and (max-width: 1020px) {
    .section1 .overlay-text {
        width: 100%;
        padding: 20px;
    }
    .section1 .overlay-text h1 {
        font-size: 22px;
        margin-top: 10px;
    }
    .section1 .con {
        line-height: 1.5;
        font-size: 16px;
    }
    .ul_mo {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        height: 50px;  
        align-items: center;
    }
    
    .ul_mo::-webkit-scrollbar {
        display: none;
    }
    
    .ul_mo li a {
        font-size: 15px;
        white-space: nowrap;
        border: 1px solid #818891;
        padding: 10px 5px;
        background-color: #fff0;
        border-radius: 3rem;
        padding: 5px 10px;
        font-weight: 700;
        color: #656564;
    }
    
    .section2 {
        width: 100%;
        padding: 20px;
        margin: 0 auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
    }
    .section2 a {
        display: block;
        position: relative;
        width: 100%;
        text-align: center;
        border-radius: 15px;
        font-size: 18px;
        line-height: 1.5;
        font-weight: 800;
        box-sizing: border-box;
    }
    .image {
        display: none;
    }
    .image_mo {
        display: block;
        width: 100%;
        height: 200px;
    }
    .tit {
        top: 35%;
        font-size:18px;
    }
    .text {
        font-size: 15px;
    }
    
}