.section1 {
    background-color: #e4e2e5;
    background-image: url('../img/backimg.png');
    background-repeat: no-repeat;
    background-position: calc(100% - 250px) bottom;
    background-size: auto 310px;
    height: 250px;
}
.section2, .section2_2, .section4 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.section2 .btn_wrap, .section2_2 .btn_wrap {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}
.section2 .btn_wrap .left, .section2_2 .btn_wrap .left{
    width: 50%;
}
.section2 .btn_wrap img,.section2_2 .btn_wrap img{
    width: 100%;
}
.section2 .btn_wrap .txt_wrap, .section2_2 .btn_wrap .txt_wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
    gap: 20px;
}
.section2 .btn_wrap .txt_wrap span, .section2_2 .btn_wrap .txt_wrap span{
    font-size: 22px;
    font-weight: 800;
    color: #540e1e;
}
.section2 .btn_wrap .txt_wrap pre, .section2_2 .btn_wrap .txt_wrap pre{
    font-size: 18px;
    line-height: 1.5;
}
.section2 .btn_wrap .txt_wrap a, .section2_2 .btn_wrap .txt_wrap a{
    font-size: 18px;
    display: flex;
    background-color: #1a1a1a;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    color: #fff;
    white-space: nowrap;
    border-radius: 15px;
}
.section2 .btn_wrap .txt_wrap a img{
    width: 20%;
    margin-left: 10px;
}
.section3 {
    padding: 60px 0;
    background-color: #f2efea;
}
.section3 .content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.section3 .content .btn_wrap{
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.section3 .content pre, .section4 pre{
    text-align: center;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}
.section3 .btn_wrap a {
    position: relative;
    display: block;
    width: 50%;
}

.section3 .btn_img {
    width: 100%;
    height: auto;
    display: block;
}

.section3 .text-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.section3 .text-overlay p {
    margin: 0;
    font-size: 20px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: #fff;
    text-align: left;
}

.section3 .text-overlay img {
    margin-left: 10px;
    width: 10%;
    vertical-align: middle;
}
.section4 {
    padding: 60px 0;
}
.section4 .btn_wrap{
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.section4 .btn_wrap a{
    width: 33%;
    text-align: center;
}
.section4 .btn_wrap a p{
    font-size: 18px;
    line-height: 1.5;
    margin-top: 20px;
}
.section4_mo {
    display: none;
}
@media (min-width: 768px) and (max-width: 1200px) {
    .section1 {
        background-position: center bottom !important;
    } 
    .section2, .section2_2, .section4 {
        width: 90%;
        max-width: unset;
    }
    .section2 .btn_wrap {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin: 40px 0;
        width: 100%;
    }
    .section2_2 .btn_wrap {
        display: flex;
        width: 100%;
        flex-direction: column-reverse
    }
    .section2 .btn_wrap .left, .section2_2 .btn_wrap .left  {
        width: 100%;
    }
    .section2 .btn_wrap .txt_wrap, .section2_2 .btn_wrap .txt_wrap {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .section2 .btn_wrap .txt_wrap a, .section2_2 .btn_wrap .txt_wrap a {
        font-size: 22px;
        padding: 10px 20px;
        border-radius: 10px;
    }
    .section2 .btn_wrap .txt_wrap a img {
        width: 15%;
    }
    .section2 .btn_wrap .txt_wrap span, .section2_2 .btn_wrap .txt_wrap span {
        font-size: 28px;
    }
    .section2 .btn_wrap .txt_wrap pre, .section2_2 .btn_wrap .txt_wrap pre {
        font-size: 22px;
        line-height: 1.3;
    }
    .section3 {
        padding: 40px 0;
    }
    .section3 .content {
        width: 90%;
        max-width: unset;
    }
    .section3 .content pre, .section4_mo pre {
        font-size: 25px;
        text-align: center;
        line-height: 1.3;
        font-weight: 600;
    }
    .section3 .content .btn_wrap {
        display: flex;
        gap: 20px;
        margin-top: 30px;
        flex-direction: column;
    }
    .section3 .btn_wrap a {
        width: 100%;
    }
    .section3 .text-overlay {
        padding: 30px;
    }
    .section3 .text-overlay p {
        font-size: 25px;
    }
    .section3 .text-overlay img {
        width: 5%;
    }
    .section4 {
        display: none;
    }
    .section4_mo {
        width: 90%;
        max-width: unset;
        display: block;
        margin: 0 auto;
        padding: 40px 0;
    }
    .section4_mo .btn_wrap  {
        margin: 30px 0;
        gap: 15px;
        display: flex;
        flex-direction: column;
    }
    .section4_mo .btn_wrap a {
        position: relative;
        display: block;
        width: 100%;
    }
    .section4_mo .btn_wrap a img {
        width: 100%;
    }
    .section4_mo .btn_img {
        width: 100%;
        height: auto;
        display: block;
    }

    .section4_mo .text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        z-index: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .section4_mo .text-overlay p {
        margin: 0;
        font-size: 22px;
        line-height: 1.4;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
    }

    .section4_mo .text-overlay img {
        margin-left: 10px;
        width: 10%;
        vertical-align: middle;
    }
}
@media screen and (max-width: 767px) {
    .section1 {
        background-position: center bottom !important;
        background-size: auto 260px;
    }
    .section2, .section2_2, .section4 {
        width: 90%;
        max-width: unset;
    }
    .section2 .btn_wrap {
        display: flex;
        flex-direction: column;
        gap: 30px;
        margin: 40px 0;
        width: 100%;
    }
    .section2_2 .btn_wrap {
        display: flex;
        width: 100%;
        flex-direction: column-reverse
    }
    .section2 .btn_wrap .left, .section2_2 .btn_wrap .left  {
        width: 100%;
    }
    .section2 .btn_wrap .txt_wrap, .section2_2 .btn_wrap .txt_wrap {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .section2 .btn_wrap .txt_wrap a, .section2_2 .btn_wrap .txt_wrap a {
        font-size: 16px;
        padding: 10px 20px;
        border-radius: 10px;
    }
    .section2 .btn_wrap .txt_wrap a img {
        width: 15%;
    }
    .section2 .btn_wrap .txt_wrap span, .section2_2 .btn_wrap .txt_wrap span {
        font-size: 20px;
    }
    .section2 .btn_wrap .txt_wrap pre, .section2_2 .btn_wrap .txt_wrap pre {
        font-size: 16px;
        line-height: 1.3;
    }
    .section3 {
        padding: 40px 0;
    }
    .section3 .content {
        width: 90%;
        max-width: unset;
    }
    .section3 .content pre, .section4_mo pre {
        font-size: 16px;
        text-align: center;
        line-height: 1.3;
        font-weight: 600;
    }
    .section3 .content .btn_wrap {
        display: flex;
        gap: 20px;
        margin-top: 30px;
        flex-direction: column;
    }
    .section3 .btn_wrap a {
        width: 100%;
    }
    .section3 .text-overlay {
        padding: 20px;
    }
    .section3 .text-overlay p {
        font-size: 16px;
    }
    
    .section4 {
        display: none;
    }
    .section4_mo {
        width: 90%;
        max-width: unset;
        display: block;
        margin: 0 auto;
        padding: 40px 0;
    }
    .section4_mo .btn_wrap  {
        margin: 30px 0;
        gap: 15px;
        display: flex;
        flex-direction: column;
    }
    .section4_mo .btn_wrap a {
        position: relative;
        display: block;
        width: 100%;
    }
    .section4_mo .btn_wrap a img {
        width: 100%;
    }
    .section4_mo .btn_img {
        width: 100%;
        height: auto;
        display: block;
    }

    .section4_mo .text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        z-index: 1;
        width: 100%;
        box-sizing: border-box;
    }

    .section4_mo .text-overlay p {
        margin: 0;
        font-size: 16px;
        line-height: 1.4;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-align: center;
    }

    .section4_mo .text-overlay img {
        margin-left: 10px;
        width: 10%;
        vertical-align: middle;
    }
}