.section1 {
    background-color: #f5fbf7;
}
.section1 .contents {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
}
.section1 .contents img{
    width: 45%;
}
.section1 .right p{
    font-size: 35px;
    font-weight: 900;
    font-family: "Freesentation-7Bold" !important;
}
.section1 .right p span{
    font-size: 35px;
    font-weight: 900;
    font-family: "Freesentation-7Bold" !important;
    color: #478b76;
}
.section1 .right pre{
    font-size: 20px;
    color: #949795;
    margin-top: 20px;
    line-height: 1.2;
}
.section2, .section3, .section4 {
    text-align: center;
    margin: 60px auto 50px;
    width: 100%;
    max-width: 1200px;
}
h2{
    font-size: 22px;
    font-weight: 600;
}
.btn_wrap {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.btn_wrap a{
    display: flex;
    flex-direction: column;
    width: 33%;
    padding: 40px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
}
.btn_wrap a img{
    width: auto;
    height: 50%;
    margin-bottom: 20px;
}

.section2 .btn_wrap a:nth-child(1){
    background-color: #dff8f2;
    color: #418771;
}
.section2 .btn_wrap a:nth-child(2){
    background-color: #fff6db;
    color: #efa800;
}
.section2 .btn_wrap a:nth-child(3){
    background-color: #f9e5e6;
    color: #f36c7a;
}
.section3 .btn_wrap a:nth-child(1){
    background-color: #feefea;
    color: #df7d5d;
}
.section3 .btn_wrap a:nth-child(2){
    background-color: #e8f2fb;
    color: #0d90ed;
}
.section3 .btn_wrap a:nth-child(3){
    background-color: #f3f4f8;
    color: #7266dd;
}
.section4 .btn_wrap2 {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}
.section4 .btn_wrap2 .left, .section4 .btn_wrap2 .right{
    width: 50%;
    padding: 40px;
    border-radius: 10px;
    text-align: left;
    background-position: right 40px bottom 40px; /* 오른쪽, 바닥에서 40px 떨어지게 설정 */
    background-repeat: no-repeat; /* 이미지 반복을 방지 */
    background-size: auto 50%; /* 이미지 크기 자동 조정 (필요시 조정 가능) */
}
.section4 .btn_wrap2 .left {
    background-color: #d8eaff; /* 기본 배경 색상 */
    background-image: url('../img/icon7.png'); /* 배경 이미지 설정 */
}
.section4 .btn_wrap2 .right {
    background-color: #e4e2ff;
    background-image: url('../img/icon8.png'); /* 배경 이미지 설정 */
}
.section4 .btn_wrap2 .left h3, .section4 .btn_wrap2 .right h3{
    font-size: 22px;
    font-weight: 600;
}
.section4 .btn_wrap2 .left a, .section4 .btn_wrap2 .right a{
    font-size: 18px;
    background-color: #fff;
    border-radius: 5px;
    margin-top: 40px;
    display: inline-block;
    padding: 5px 20px;
}
@media (min-width: 768px) and (max-width: 1200px) {
    .section1 .contents {
        width: 90%;
        max-width: 100%;
        gap: 40px;
    }
    .section2, .section3, .section4 {
        width: 90%;
        max-width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .section1 .contents {
        width: 90%;
        max-width: 100%;
        padding: 40px 0;
        gap: 30px;
        flex-direction: column-reverse;
        text-align: center;
    }
    .section1 .contents img {
        width: 70%;
    }
    .section1 .right p {
        font-size: 23px;
    }
    .section1 .right p span {
        font-size: 23px;
    }
    .section1 .right pre {
        font-size: 18px;
    }
    h2 {
        font-size: 20px;
    }

    .section2, .section3, .section4 {
        margin: 60px auto 50px;
        width: 90%;
        max-width: 100%;
    }
    .section4 .btn_wrap2 {
        gap: 10px;
    }
    .section4 .btn_wrap2 .left h3, .section4 .btn_wrap2 .right h3 {
        font-size: 18px;
        font-weight: 600;
    }
    .section4 .btn_wrap2 .left, .section4 .btn_wrap2 .right {
        width: 50%;
        padding: 20px 15px;
        border-radius: 10px;
        text-align: left;
        background-position: right 10px bottom 30px;
        background-repeat: no-repeat;
        background-size: auto 30%;
    }
    .section4 .btn_wrap2 .left a, .section4 .btn_wrap2 .right a {
        font-size: 16px;
        background-color: #fff;
        border-radius: 5px;
        margin-top: 9px;
        display: inline-block;
        padding: 5px 7px;
    }
    .btn_wrap a img {
        width: auto;
        height: 25%;
        margin-bottom: 20px;
    }
    .btn_wrap {
        display: flex;
        gap: 5px;
        margin-top: 30px;
    }
    .btn_wrap a {
        padding: 0px;
        font-size: 18px;
    }
}