header{
    /* max-width: 1200px; */
    margin: 0 auto;
}
.sub_header_top{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    border-bottom: 1px solid #EAEAEA;
}
header img {
    width: 15rem;
}
.sub_header_botm {
    display: flex;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
    justify-content: center;
    gap: 5rem;
}
.sub_header_botm a {
    font-size: 18px;
    font-weight: 600;
    padding: 2rem;
}
.main_titles {
    max-width: 1200px;
    font-size: 22px;
    margin: 0 auto;
    padding: 2.5rem 0;
    color: #fff;
    font-weight: 700;
}
.titles_box {
    background-image: url(../img/sub-banner.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.max_width1200 {
    max-width: 1200px;
    margin: 0 auto;
}
.sub1_contents {
    padding: 3rem 0;
}
.sub1_contents pre {
    font-size: 17px;
    line-height: 1.4;
}
.sub1_btn_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 0 8rem;
}
.sub1_btn_box a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    color: #fff;
    font-size: 20px;
    height: 5rem;
    font-weight: 600;
    height: 16rem;
    border-radius: 1rem;
}
.sub1_btn_box a:nth-of-type(1) {
    background-image: url(../img/sub-btn-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.sub1_btn_box a:nth-of-type(2) {
    background-image: url(../img/sub-btn-2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.category_btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7rem 0;
}
.category_btn a {
    display: flex;
    flex-flow: column nowrap;
    width: 24%;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    box-shadow: .1rem .2rem .5rem rgba(61, 62, 77, 0.2);
    height: 14rem;
    border-radius: 1rem;
    background-color: #fff;
}
.category_btn span {
    font-size: 20px;
    font-weight: 600;
} 
.category_btn img {
    height: 5rem;
}
.sub1_contents pre span {
    font-size: 19px;
    font-weight: 600;
}
.category2_btn{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-flow: row wrap;
}
.category2_btn a{
    width: 32%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-weight: 600;
    color: #fff;
    font-size: 20px;
    background-position: center;
}

.category2_btn a {
    height: 13em;
    border-radius: 1rem;
    margin-bottom: 1rem;
}
.category2_btn1 a:nth-of-type(1){
    background-image: url(../img/sub-btn-4.png);
}
.category2_btn1 a:nth-of-type(2){
    background-image: url(../img/sub-btn-5.png);
}
.category2_btn1 a:nth-of-type(3){
    background-image: url(../img/sub-btn-6.png);
}
.category2_btn1 a:nth-of-type(4){
    background-image: url(../img/sub-btn-7.png);
}
.category2_btn1 a:nth-of-type(5){
    background-image: url(../img/sub-btn-8.png);
}
.category2_btn1 a:nth-of-type(6){
    background-image: url(../img/sub-btn-9.png);
}

.sub3_cate_box{
    padding: 7rem 0;
}
.sub3_wrap {
    padding: 3rem 0;
}
.sub3_titles{
    margin: 2rem 0;
    font-size: 17px;
    line-height: 1.4;
}
.sub3_btn_box{
    width: 100%;
    margin-top: 5rem;
}
.sub3_btn_box a {
    width: 100%;
    display: flex;
    align-items: center;
    background-image: url(../img/sub-btn-3.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 7rem;
    padding: 2rem;
    background-position: center;
    border-radius: 1rem;
    gap: 1rem;
}
.sub3_btn_box a span {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}
/*  */
.index_btn_box {
    max-width: 1200px ;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 0;
}
.index_btn_box p {
    width: 32%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    background-color: rgba(230, 230, 230, 0.8); 
    border-radius: 1rem;
    padding: 3rem;
}
.index_btn_box p  img {
    height: 8rem;
    width: auto !important;
}
.index_btn_box span{
    font-size: 22px;
    font-weight: 900;
}
.main_header {
    background-image: url(../img/main-banner.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.index_text {
    background-color: #FFF3F3;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 2rem 0;
}
.index_text p{
    line-height: 1.6;
    font-size: 18px;
}
.index_main_btn1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 0;
}
.index_main_btn1 a {
    width: 32%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 16rem;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
}
.index_main_btn1 a:nth-of-type(1){
    background-image: url(../img/main-img-1.png);

}
.index_main_btn1 a:nth-of-type(2){
    background-image: url(../img/main-img-2.png);

}
.index_main_btn1 a:nth-of-type(3){
    background-image: url(../img/main-img-3.png);
}
.index_bottom2 {
    max-width: 1200px;
    margin: 0 auto;
}
.index_bottom2 h2 {
    padding-top: 1rem;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
}

.index_no_width{
    background-color: #F4F4F4;
    padding: 3rem 0 6rem;
}
.index_btn_box br {
    display: none;
}

/* 반응형 */
@media (min-width: 768px) and (max-width: 1200px){
    .main_titles {
        padding: 2.5rem 2rem;
    }
    .max_width1200 {
        padding: 0 2rem;
    }
    .category_btn {
        flex-flow: row wrap;
    }
    .category_btn a {
        width: 49%;
        margin-bottom: 1rem;
    }
    .category2_btn a{
        width: 49%;
    }
    .index_btn_box p {
        height: 16rem;
    }
    .index_btn_box {
        padding: 5rem 2rem;
    }

    .index_main_btn1 a {
        width: 100%;
        padding-left: 4rem;
        justify-content: left;
    }

    .index_main_btn1  {
        display: flex;
        flex-flow: column;
        gap: 2rem;
    }
    .index_main_btn1 a:nth-of-type(1) {
        background-image: url(../img/mo/main-btn-1.png);
    }
    .index_main_btn1 a:nth-of-type(2) {
        background-image: url(../img/mo/main-btn-2.png);
    }
    .index_main_btn1 a:nth-of-type(3) {
        background-image: url(../img/mo/main-btn-3.png);
    }
    .index_btn_box span {
        text-align: center;
        font-size: 20px;
        font-weight: 900;
        line-height: 1.4;
    }
    .index_btn_box br {
        display: block;
    }
    .index_bottom2 {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    .index_text p {
        line-height: 1.6;
        font-size: 18px;
        padding: 0 2rem;
    }
    .sub3_btn_box a {
        background-image: url(../img/mo/sub-btn-5.png);
    }
}

@media screen and (max-width: 768px){
    .main_titles {
        padding: 2.5rem 2rem;
        font-size: 18px;
    }
    .max_width1200 {
        padding: 0 2rem;
    }
    .category_btn {
        flex-flow: row wrap;
        padding: 4rem 0;
    }
    .category_btn a {
        width: 49%;
        margin-bottom: 1rem;
    }
    .category2_btn a{
        width: 49%;
    }
    .sub_header_botm {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }
    .sub_header_botm a {
        font-size: 16px;
        font-weight: 600;
        padding: 2rem 1.5rem;
    }
    .category2_btn a {
        height: 8em;
        border-radius: 1rem;
        margin-bottom: 1rem;
        font-size: 16px;
    }
    .sub3_cate_box {
        padding: 4rem 0;
    }
    .sub3_btn_box a span {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
    }
    .category_btn span {
        font-size: 18px;
        font-weight: 600;
    }
    .category_btn img {
        height: 4rem;
    }
    .sub1_btn_box a {
        height: 8em;
        font-size: 16px;
    }
    .sub_header_botm2  {
        gap: 0 !important;
        justify-content: space-around !important;
    }
    .sub_header_botm2  a{
        font-size: 16px !important;
        padding: 2rem 1.5rem !important;
    }
    .index_btn_box p {
        height: 16rem;
        padding: 3rem 1rem;
    }
    .index_btn_box {
        padding: 5rem 2rem;
    }

    .index_main_btn1 a {
        width: 100%;
        padding-left: 2rem;
        justify-content: left;
        height: 10rem;
        font-size: 18px;
    }

    .index_main_btn1  {
        display: flex;
        flex-flow: column;
        gap: 2rem;
    }
    .index_main_btn1 a:nth-of-type(1) {
        background-image: url(../img/mo/main-btn-1.png);
    }
    .index_main_btn1 a:nth-of-type(2) {
        background-image: url(../img/mo/main-btn-2.png);
    }
    .index_main_btn1 a:nth-of-type(3) {
        background-image: url(../img/mo/main-btn-3.png);
    }
    .index_btn_box span {
        text-align: center;
        font-size: 18px;
        font-weight: 900;
        line-height: 1.4;
    }
    .index_btn_box br {
        display: block;
    }
    .index_bottom2 {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    .index_btn_box p img {
        height: 6rem;
    }
    .index_text p {
        line-height: 1.6;
        font-size: 16px;
        padding: 0 7rem;
    }
    .sub3_btn_box a {
        background-image: url(../img/mo/sub-btn-5.png);
        gap: 1rem;
    }
    .sub3_btn_box a img {
        width: 2rem;
    }
    .main_header{
        padding: 0 0 2rem;
    }
    .sub_header_botm {
        justify-content: space-around;
    }
}
