header{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}
nav{
    display: flex;
    align-items: center;
    gap: 2rem;
}
nav a {
    font-size: 16px;
    color: #CCCCCC;
    font-weight: 800;
}
header h1 a {
    display: block;
    width: 10rem;
}
header h1 a img {width: 100%;}
.index_banner img {
    width: 100%;
}
.width_1200 {
    max-width: 1200px;
    margin:  0 auto;
}
.index_mid_banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mid_one {
    display: flex;
    width: 48%;
    flex-flow: column nowrap;
    background-color: #FFBC00;
    height: 500px;
    border-radius: 1rem;
    padding: 2.5rem;
    justify-content: space-between;
}
.mid_one:nth-of-type(2) {
    background-color: #F7F3E8;
}
.bnr_mid_btm {
    display: flex;
    align-items: center;
    justify-content: right;
}
.bnr_mid_top span {
    font-size: 20px;   
    color: #F6F8FB;
    font-weight: 600;
}
.bnr_mid_top {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
}
.bnr_mid_top p {
    line-height: 1.4;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}
.mid_one:nth-of-type(2) span {
    color: #FFBB00;
}
.mid_one:nth-of-type(2) p {
    color: #262624;
} 
.bnr_mid_btm img {
    width: 20rem;
}
.index_mid_banner {
    margin: 5rem 0;
}
.index_mid_btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row wrap;
}
.index_mid_btn a {
    width: 31.5%;
    display: flex;
    flex-flow: column nowrap;
    background-color: #F2F2F2;
    height: 300px;
    margin-bottom: 2rem;
    justify-content: space-between;
    padding: 2rem;
    border-radius: 1rem;
}
.index_mid_btn a span {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.4;
}
.index_mid_btn .btn_box {
    display: flex;
    justify-content: right;
}
.index_mid_btn .btn_box img {
    width: 7rem;
}
.main_titles{
    font-size: 25px;
    font-weight: 900;
    padding: 3rem 0;
}
.index_btm_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4rem;
}
.index_btm_btn a {
    display: flex;
    width: 29%;
    flex-flow: column nowrap;
    border-radius: 1rem;
    border: 1px solid #ECECEC;
    padding: 2rem;
    justify-content: space-between;
    height: 240px;
}
.index_btm_btnbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.index_btm_btnbox img:nth-of-type(1){
    width: 2rem;
}
.index_btm_btnbox img:nth-of-type(2){
    width: 4rem;
}
.index_btm_btn a span {
    font-size: 22px;
    font-weight: 900;
}
.sub_titles_box {
    padding: 1rem 2rem;
    background-color: #FFBC00;
    margin-bottom: 3rem;
}
.sub_titles_box h2 {
    margin: 0 auto; 
    max-width: 1200px;
    font-size: 22px;
    color: #fff;
    font-weight: 600;
}
.sub1_btn_box a{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: #F2F2F2;
    padding: 1.5rem;
    border-radius: 1.5rem;
}
.sub1_btn_box a span {
    font-size: 24px;
    color: #6F6359;
    font-weight: 600;
}
.sub1_btn_box {
    padding: 0  0 3rem;
    display: flex;
    align-items: center;
    flex-flow: column nowrap;
    gap: 2rem;
}
.sub1_btn_box img{
    width: 2rem;
}
.sub1_box {
    padding: 2rem;
    border: 1px solid #E3E3E3;
    border-radius: 1rem;
}
.sub1_box pre{
    line-height: 1.4;
    font-size: 16px;
}
.sub1_titles {
    font-size: 18px;
    font-weight: 900;
    color: #E37621;
    line-height: 1.2;
    padding: 2rem 0;
}
.sub1_box span {
    line-height: 1.4;
    font-size: 16px;
    color: #E47825;
}
main{
    padding-bottom: 3rem;
}
.sub3_btn{
    display: flex;
    width: 60%;
    background-color: #3A2B20;
    padding: 1.5rem;
    color: #fff;
    border-radius: .5rem;
    text-align: center;
    font-size: 19px;
    font-weight: 900;
    margin: 2rem auto 1rem; 
    justify-content: center;
}

@media screen and (max-width: 1200px){
    header{
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        gap: 1rem;
    }
    .width_1200 {
        padding: 0 2rem;
    }
    .index_mid_banner {
        display: flex;
        flex-flow: column nowrap;
        gap: 2rem;
    }
    .index_mid_banner .mid_one {
        width: 100%;
        height: 40rem;
    }
    .index_mid_btn a{
        width: 48%;
    }
    .index_btm_btn{
        flex-flow: column nowrap;
        gap: 2rem;
    }
    .index_btm_btn a{
        width: 100%;
    }
}

@media screen and (max-width: 768px){
    .bnr_mid_top p {
        line-height: 1.4;
        color: #fff;
        font-size: 19px;
        font-weight: 900;
    }
    .mid_one{
        height: 32rem !important;
    }
    .index_mid_btn a{
        height: 17rem;
    }
    .index_mid_btn a span {
        font-size: 1.8rem;
    }
    .index_mid_btn .btn_box img {
        width: 6rem;
    }
    .index_btm_btn a{
        height: 18rem;
    }
    .index_btm_btn a span {
        font-size: 17px;
    }
    header{
        gap: 2rem;
        padding: 2rem 0 3rem;
    }
    .index_mid_banner {
        margin: 2rem 0;
    }
    .sub_titles_box h2{
        font-size: 1.8rem;
    }
    .sub1_btn_box a span{
        font-size: 1.8rem;
    }
    .sub3_btn{
        width: 100%;
        font-size: 1.8rem;
    }
}