.content1 {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 80px;
}
.title_box .title{
    display: block;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}


form {
    display: flex;
    width: 100%; /* 폼의 전체 너비를 100%로 설정 */
}
.search-container {
    position: relative;
    display: flex;
    width: 100%; /* 검색창 길이 조정 */
    margin-bottom: 20px ;
    justify-content: center;
}

.search-input {
    padding: 20px 40px 20px 32px; 
    border: 1px solid #ddd;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    border-radius:10px;
    width: 100%; /* 입력창을 100%로 설정 */
    flex: 1; /* 입력창이 가변적으로 늘어나도록 설정 */
}


.search-button {
    padding: 8px 15px; 
    position: absolute;
    border: none;
    right: 10px; /* 버튼을 입력 필드의 오른쪽에 위치시키기 */
    top: 50%; /* 버튼을 수직 중앙에 위치시키기 */
    transform: translateY(-50%); /* 중앙 정렬을 위한 변환 */
    color: white; 
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
}

.search-button img{
    width: 50%;
}

.search-button:hover {
}
.result_box {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 400px; 
    flex-direction: column;
    gap: 30px;
}
.result_box img{
    width: 10%;
}
.result_box .no-results {
    text-align: center; 
    font-size: 18px; 
    color: #7a7a7a; 
}

.qna .q{ 
    font-size: 18px;
    border-bottom: 2px solid #c7c7c7;
    padding: 1rem;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 1.3;
    padding-right: 3rem;
}

.qna.first .q { 
    border-top: 2px solid #1b8ba1; /* 첫 번째 항목의 질문에만 스타일 적용 */
}

.qna.last .q{
    border-bottom: 2px solid #1b8ba1; /* 마지막 항목에 하단 경계 추가 */
}

.qna  img{ 
    width: 3%;
    margin-right: 10px;
}

.qna .q::after{ 
    content: '';
    background-image: url('../img/arrow-12.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    right: 1rem;
    top: 55%;
    transform: translateY(-50%);

}
.qna.on .q::after{ 
    background-image: url('../img/arrow-11.png');
}

.qna.on .a { 
    font-size: 18px;
    display: block;
    padding: 1rem;
    align-items: flex-start;
    display: flex;
    background-color: #f3f3f3;
    color: #808080;
}
.qna .a { 
    display: none;
    line-height: 1.5;
    border-bottom:2px solid #c7c7c7;
}
.top_button_wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
}
.top_button {
    display: inline-block;
    text-align: right;
}
.top_button img{
    width: 60%;
}
.pagination {
    display: flex;
    text-align: center;
    margin: 0 auto;
    justify-content: center;
    gap: 5px;
    margin-top: 100px;
    align-items: flex-start;
}

.pagination a {
    text-decoration: none;
    padding: 2px 10px;
    transition: background-color 0.3s;
    color: #808080;
    font-size: 18px;
    font-weight: 500;
}
.pagination .arrow {
    background-color: unset;
    color: unset;
}
.pagination .current {
    color: #1b8ba1;
    border-bottom: 1px solid #1b8ba1;
    font-size: 18px;
    padding: 2px 10px;
}

@media screen and (max-width: 767px) {
   
    .title_box .title {
        display: block;
        margin: 0 auto 20px;
        font-size: 20px;
        font-weight: 600;
    }
    .content1 {
        width: 90%;
        max-width: 100%;
    }
    .search-container {
        position: relative;
        display: flex;
        width: 99%;
        margin: 15px auto;
        justify-content: center;
    }
    .search-input {
        font-size: 16px;
    }
    .search-button {
        font-size: 16px;
    }
    .qna img {
        width: 8%;
        margin-right: 10px;
    }
    .qna .q {
        justify-content: flex-start;
        align-items: flex-start;
    }
    .pagination {
        margin-top: 40px;
    }
    .top_button img{
        width: 40%;
    }
}