.section1 {
    background-color: #f5f4fc;
}
.section1 .contents{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0 0;
}
.main-img {
    width: 45%;
}
.section1 .contents p{
    font-size: 22px;
    color: #595959;
}
.section1 .contents h1{
    font-size: 39px;
    font-family: '8ExtraBold' !important;
    margin-top: 10px;
    color: #595959;
}
.section1 .contents .btn{
    font-size: 18px;
    color: #fff;
    margin-top: 30px;
    padding: 12px 30px;
    border-radius: 30px;
    background-color: #6539d8;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.section1 .contents .btn img{
    width: 12px;
}
.section2 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    display: flex;
    align-items: stretch; /* 자식 요소들의 높이를 동일하게 맞춤 */
    justify-content: space-between;
}

.section2 h2 {
    font-size: 24px;
    font-family: '6SemiBold' !important;
    
}

.section2 .left,
.section2 .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 50%;
    flex: 1; /* 두 영역이 동일한 높이를 가질 수 있도록 설정 */
    justify-content: space-between;
}

.section2 .left img {
    width: 65%;
}

.section2 .right a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 40px;
    border-radius: 15px;
    color: #fff;
    font-size: 22px;
    font-family: '6SemiBold' !important; 
}

.section2 .right a:nth-child(1) {
    background-color: #633ad6;
}

.section2 .right a:nth-child(2) {
    background-color: #504476;
}

.section2 .right a:nth-child(3) {
    background-color: #00b2ff;
}
.btn_wrap{
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
}
.btn_wrap a{
    padding: 30px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f5f4fc;
    width: 50%;
    border-radius: 15px;
    font-size: 22px;
    font-family: '6SemiBold' !important; 
}
.btn_wrap a img{
    width: 15%;
}
.btn_mo {
    display: none !important;
}
@media (min-width: 768px) and (max-width: 1200px) {
    .section1 .contents, .section2, .btn_wrap {
        width: 90%;
    }
}
@media screen and (max-width: 767px) {
    .section1 .contents {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        padding: 30px 0;
        flex-direction: column;
        text-align: center;
    }
    .section1 .contents p {
        font-size: 17px;
    }
    .section1 .contents h1 {
        font-size: 30px;
    }
    .btn {
        display: none !important;
    }
    .btn_mo {
        display: flex !important;
        font-size: 18px;
        color: #fff;
        padding:20px 30px;
        border-radius: 10px;
        background-color: #6539d8;
        width: 100%;
        justify-content: center;
        
    }
    .main-img {
        width: 75%;
        margin-top: 30px;
    }
    .section2 {
        max-width: 100%;
        width: 90%;
        margin: 0 auto;
        padding: 40px 0 30px;
        align-items: stretch;
        justify-content: space-between;
        flex-direction: column;
    }
    .section2 .left, .section2 .right {
        width: 100%;
        align-items: center;
    }
    .section2 .right {
        gap: 13px;
    }
    .section2 h2 {
        font-size: 20px;
        text-align: center;
    }
    .section2 .right a {
        padding: 25px 35px;
        border-radius: 10px;
        font-size: 18px;
    }
    .section2 .right a img {
        width: 4%;
    }
    .btn_wrap {
        gap: 13px;
        max-width: 100%;
        width: 90%;
        margin: 0 auto 40px;
    }
    .btn_img {
        display: none !important;
    }
    .btn_wrap a {
        padding: 25px;
        border-radius: 10px;
        font-size: 18px;
        height: 140px;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start; /* 텍스트가 중앙에 오도록 설정 */
        background-repeat: no-repeat;
        background-position: right 25px bottom 25px; /* 배경 이미지 오른쪽 30px, 바닥에서 25px 위치 */
        background-size: 40%;
    }
    .btn_wrap a:nth-child(1) {
        background-image: url('../img/main-btn-1.png');
    }
    .btn_wrap a:nth-child(2) {
        background-image: url('../img/main-btn-2.png');
        background-size: 43%;
    }
}