#wrap .content{
    padding: 0 1.5rem 4rem;
}
#wrap .content .sub_box{ 
    display: flex;
    border-bottom: 1.5px solid #e6e6e6;
    width: 100%;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-top: 2rem;
 }
 
 #wrap .content .sub_box a { 
     padding: 1rem 0;
     font-size: 23px;
     font-weight: 600;
     background-color: #fff;
     color: #a6a6a6;
     width: 50%;
     border: 1px solid #e4e4e4;
 }
 
 #wrap.content_A .content .sub_box a:nth-child(1) { 
     border-bottom: 2px solid #ff8a0a;
     background-color: #fafafa;
     color: #124ca3;
     font-weight: 600;
     border-left: none;
     border-right: none;
     border-top: none;
 }
 #wrap.content_B .content .sub_box a:nth-child(2){ 
     border-bottom: 2px solid #ff8a0a;
     background-color: #fafafa;
     color: #124ca3;
     font-weight: 600;
 }
 #wrap.content_C .content .sub_box a:nth-child(3){ 
     border-bottom: 2px solid #ff8a0a;
     background-color: #fafafa;
     color: #124ca3;
     font-weight: 600;
 }
 #wrap.content_D .content .sub_box a:nth-child(4){ 
     border-bottom: 2px solid #ff8a0a;
     background-color: #fafafa;
     color: #124ca3;
     font-weight: 600;
 }
 #wrap.content_E .content .sub_box a:nth-child(5){ 
     border-bottom: 2px solid #ff8a0a;
     background-color: #fafafa;
     color: #124ca3;
     font-weight: 600;
 }
 #wrap.content_F .content .sub_box a:nth-child(6){ 
     border-bottom: 2px solid #ff8a0a;
     background-color: #fafafa;
     color: #124ca3;
     font-weight: 600;
 }
 #wrap .qna_wrap {
   margin-top: 3rem;
   
}
 #wrap .qna {
    padding: 1.5rem; 
    background-color: #f6f9ff;
    border: 1px solid #cedaea;
    border-radius:0.5rem;
    margin-top: 1rem;
}

#wrap .qna .q {
    font-size: 18px;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: flex-start;
    line-height: 1.3;
    padding-right: 3rem;
    
  
    
}

#wrap .qna.on .q {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding-bottom: 1.5rem;
    border-bottom:  1px solid #cedaea;
}

#wrap .qna .q::after {
    content: '';
    background-image: url('../img/down-arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 1.2rem;
    height: 1.5rem;
    right: 1rem;
    top: 40%;
}

#wrap .qna.on .q::after {
    background-image: url('../img/up-arrow.png');
    margin-top: -0.6rem;
}

#wrap .qna.on .a {
    font-size: 16px;
    display: flex;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-top: none;
    padding-top: 1.5rem;
    align-items: flex-start;
}

#wrap .qna .a {
    display: none;
    line-height: 1.5;
}
#wrap .qna img {
    width: 3%;
    margin-right: 0.5rem;
}
#wrap .qna .a_img {
    margin-bottom: -0.3rem;
}
@media screen and (max-width: 900px) {
    #wrap .content .sub_box { 
        display: flex;
        border-bottom: 1.5px solid #e6e6e6;
        width: 100%;
        justify-content: center; /* 요소 간의 간격을 일정하게 배치 */
        text-align: center;
        align-items: center;
        margin-top: 2rem;
        flex-wrap: wrap; /* 요소가 넘칠 경우 다음 줄로 이동 */
    } 
    
    #wrap .content .sub_box a { 
        padding: 1rem 0;
        font-size: 16px;
        font-weight: 600;
        background-color: #fff;
        color: #a6a6a6;
        width: 30%; /* a 태그의 너비를 30%로 설정하여 한 줄에 3개 배치 */
        box-sizing: border-box; /* 패딩과 보더를 포함한 너비 계산 */
        margin-bottom: 1rem; /* 요소 간의 간격을 위해 하단에 마진 추가 */
    }
    
    
    #wrap .qna img {
        width: 8%;
        margin-right: 1rem;
    }
    #wrap .qna .a_img {
        width: 8%;
        margin-bottom: -0.6rem;
    }
    #wrap .qna .q {
        font-size: 16px;
    }
}