header{
position: relative;
/* height: 50rem; */
}
.back {
    width: 100%;
    /* position: absolute; */
    left: 0 ;
    z-index: -1;
    top: 0;
}
.header_all{
    position: absolute;
    align-items: center;
    justify-content: space-between;
    top: 0; 
    left: 50%; 
    width: 100%;
    transform: translateX(-50%); 
}
.header_wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    padding: 3rem;
    gap: 2rem;
}
header img{
width: 12rem;
}
nav {
    width: 70rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:  0 auto;
    gap: 6rem;
    padding: 1.3rem 0;
    border-radius: 5rem;
}

nav a {
    font-size: 1.4rem;
    font-weight: 800;
    padding: .5rem 1rem;
    border-radius: 5rem;
}

.active {
    background: linear-gradient(to right, #06117B, #3659D5);
    color: #fff;
    font-weight: 800;
}

/* 반응형 */
@media (min-width: 768px) and (max-width: 1200px){
    nav{
        width: 93%;
    }
    .index_top {
        padding: 5rem 2rem !important ;
    }
    .index_text_box {
        padding: 4rem 2rem ;
    }
    .index_bottom_width {
        padding:  0 2rem;
    }
    .sub1_width_wrap{
        padding: 4rem 2rem !important;
    }
    .category_wrap {
        padding: 6rem 2rem !important;
    }
}
@media screen and (max-width: 960px){
    .index_btn3, .index_btn6 {
        width: 100%  !important;
    }
    .index_btn {
        flex-flow:  row wrap;
    }
    .index_btn1, .index_btn2, .index_btn4, .index_btn5 {
        width: 48%  !important;
        margin-bottom: 2rem;
    }
    .index_btn a {
        height: auto !important;
    }
    .index_bottom {
        height: 0 ;
    }
    .hidden_bottom{
        height: 14rem;
        background: #2B3246;
        margin-top: -10rem;
    }
    .index_bottom_width {
        max-width: 1200px !important;
        margin: 0 auto !important;
        margin-top: -12rem !important;
        position: relative !important;
        width: 100%;
        transform: translateX(0) !important;
        left: auto !important;
    }
    .index_bottom {
        background-color: #fff  !important;
        height: auto;
    }
}
@media screen and (max-width: 768px){
    .qna_box h2 {
        font-size: 1.7rem !important;
    }
    .sub1_box h2 {
        font-size: 2.3rem !important;
    }
    .index_text_box span {
        font-size: 1.5rem !important;
        font-weight: 600;
        line-height: 1.4;
    }
    nav a {
        font-size: 1.5rem;
        font-weight: 800;
        padding: .5rem 1rem;
        border-radius: 5rem;
    }
    .qna_box h2 {
        padding: 2rem !important;
        line-height: 1.4;
    }
    nav{
        width: 93%;
        justify-content: space-around;
        gap: 0;
        padding: 1rem 2rem;
    }
    .index_top {
        padding: 5rem 2rem  !important;
    }
    .index_text_box {
        padding: 4rem 2rem  !important;
    }
    .index_bottom_width {
        padding:  0 2rem !important;
    }
    .sub1_width_wrap  {
        padding: 4rem 2rem !important;
    }
}

