.header {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    z-index: 7777;
    background: #fff;
}
.header h1 {
    width: 13rem;
}
.header h1 a {
    width: 100%;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
}
.header h1 a img {
    width: 100%;
}

.subHeader {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    z-index: 7777;
    background: #fff;
}
.subHeader h1 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.subHeader h1 span {
    font-size: 2.2rem;
    font-weight: bold;
}
.subHeader h1 button {
    position: absolute;
    left: 0;
}
.subHeader h1 button img {
    width: 2rem;
}


nav {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 7rem;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
}
nav a {
    width: 25%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}
nav a img {
    height: 2rem;
    margin-bottom: 1rem;
}
nav a span {
    font-size: 1.5rem;
    font-weight: 500;
    color: #dadada;
}

main {
    padding: 6rem 1.5rem 10rem;
}


/* common */
h2 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
}
h6 {
    font-size: 1.7rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #7070ff;
}














/* home.php */
.section.title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
}
.section.title span {
    font-size: 1.6rem;
    font-weight: 300;
    color: #c9c9c9;
    margin-left: 1.5rem;
}
.section.title1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.section.title1 a {
    font-size: 1.6rem;
    font-weight: 300;
    color: #c9c9c9;
    margin-left: 1.5rem;
}
.section.home-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow-x: scroll;
    white-space: nowrap;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}
.section.home-top::-webkit-scrollbar {
    height: 1rem;
}
.section.home-top::-webkit-scrollbar-track {
    background-color: #fff;
    border: 0.1rem solid #e4e4e4;
    border-radius: 3rem;
}
.section.home-top::-webkit-scrollbar-thumb {
    background-color: #6660ff;
    border-radius: 3rem;
    border: 0.1rem solid #6660ff;
}

.section.home-top a {
    flex-shrink: 0;
    width: 12rem;
    height: 12rem;
    margin-right: 2.5rem;
    background-color: #f7f7ff;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.section.home-top a:last-child {
    margin: 0;
}
.section.home-top a img {
    width: 4.5rem;
    margin-bottom: 1rem;
}
.section.home-top a:nth-of-type(1) img {
    width: 3.5rem;
}
.section.home-top a:nth-of-type(4) img {
    width: 2.5rem;
}
.section.home-top a:nth-of-type(5) img {
    width: 5.5rem;
}
.section.home-top a p {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.section.home-top a span {
    font-size: 1.8rem;
    font-weight: 500;
    color: #5f59ff;
}

.swiper.qnaSwiper {
    height: 10rem;
}
.swiper.qnaSwiper .swiper-wrapper {
    height: fit-content;
}
.swiper.qnaSwiper .swiper-wrapper .swiper-slide {
    font-size: 1.6rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: 0.1rem solid #f3f3f3;
    border-radius: 1rem;
    line-height: 1.4;
}
.swiper.qnaSwiper .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.5rem;
}
.swiper.qnaSwiper .swiper-pagination-bullet-active {
    background-color: #625cff;
}
.section.service {
    margin-bottom: 3.5rem;
}
.section.service > a {
    position: relative;
    display: block;
    /* margin-bottom: 3rem; */
}
.section.service > a img{
    width: 100%;
}
.section.service > a span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 500;
    color: #fff;
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
}
.section.service > a span img {
    width: 1.7rem;
    margin-left: 1rem;
}
.section.service .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section.service .wrapper a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: calc(100% / 3 - 1rem);
    border-radius: 1rem;
    background-color: #6660ff;
    height: 10rem;
    padding: 2rem;
}
.section.service .wrapper a:nth-of-type(2) {
    background-color: #8080ff;
}
.section.service .wrapper a:nth-of-type(3) {
    background-color: #a2a2fc;
}
.section.service .wrapper a span {
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 1rem;
    color: #fff;
}
.section.service .wrapper a img {
    width: 4.5rem;
}
.section.service .wrapper a:nth-of-type(2) img {
    width: 4rem;
}
.section.service .wrapper a:nth-of-type(3) img {
    width: 3.5rem;
}
.two-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.two-btn span {
    font-size: 1.6rem;
    font-weight: 500;
    border: 0.1rem solid #655fff;
    border-radius: 3rem;
    color: #655fff;
    padding: 0.5rem 0;
    width: 10rem;
    text-align: center;
}
.two-btn a {
    font-size: 1.6rem;
    font-weight: 500;
    background-color: #655fff;
    border-radius: 3rem;
    color: #fff;
    padding: 0.5rem 0;
    width: 10rem;
    text-align: center;
}








/* guide-filter */
/* .section.guideMenu {
    margin: 2.5rem 0;
} */
.section.guideMenu h2 {
    margin: 2.5rem 0;
}
.guide-filter {
    display: flex;
    flex-direction: column;
    border: 0.1rem solid #f3f3f3;
    border-radius: 1rem;
}
.guide-filter a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 1.5rem;
    padding: 2.5rem 0;
    border-bottom: 0.1rem solid #f3f3f3;
}
.guide-filter a .left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.guide-filter a .left img {
    width: 2.5rem;
    margin-right: 1rem;
}
.guide-filter a .left span {
    font-size: 1.8rem;
    font-weight: bold;
}
.guide-filter a .right{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.guide-filter a .right img {
    width: 0.8rem;
    margin-left: 2rem;
}
.guide-filter a .right span {
    font-size: 1.6rem;
    font-weight: 500;
    color: #9d9d9d;
}

.section.category {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: #fff;
    position: fixed;
    top: 8%;
    left: 1.5rem;
    right: 1.5rem;
    width: calc(100% - 3rem);
}
.section.category button {
    font-size: 1.8rem;
    font-weight: 500;
    color: #939393;
    padding: 2rem 1rem;
    margin-top: 1.5rem;
    border-bottom: 0.1rem solid #e8e8e8;
}
.section.category button.active {
    color: #655fff;
    border-bottom: 0.2rem solid #655fff;
}
.section.guide {
    margin-top: 7rem;
}
.section.guide h4 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-top: 0.1rem solid #f2f2f2;
}
.section.guide h4:first-child {
    /* margin: 1.5rem 0;
    padding: 0; */
    border: 0;
}
.section.guide pre {
    font-size: 1.6rem;
    font-weight: 300;
    color: #75758e;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
.section.guide img {
    width: 100%;
}
.section.guide pre em {
    font-size: 1.4rem;
    font-weight: 500;
    color: #e9679c;
    display: block;
    text-align: right;
    margin-top: 0.5rem;
}













/* search.php */
.search-wrapper {
    width: 100%;
}
.search-wrapper .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.top .dropdown {
    width: calc(100% / 2 - 1rem);
    border: 0.1rem solid #f3f3f3;
    border-radius: 1rem;
    position: relative;
}
.top .dropdown button {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.top .dropdown button span {
    font-size: 1.4rem;
    font-weight: 600;
    width: 80%;
    text-align: left;
    word-wrap: break-word;
    color: #75758e;
}
.top .dropdown button img {
    width: 1.3rem;
}
.top .dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
    background-color: #fff;
    border: 0.1rem solid #f3f3f3;
    border-radius: 1rem;
    max-height: 30rem;
    overflow-y: scroll;
    z-index: 9999;
}
.top .dropdown .dropdown-content::-webkit-scrollbar {
    display: none;
}
.top .dropdown .dropdown-content li {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 1.5rem 1rem;
    border-bottom: 0.1rem solid #f3f3f3;
    word-wrap: break-word;
    color: #75758e;
}
.dropdown-content {
    display: none;
}

.search-wrapper .middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-bar {
    width: 80%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border: 0.1rem solid #f3f3f3;
    border-radius: 1rem;
    margin: 1.5rem 0;
    padding: 0 1.5rem;
}
.search-bar img {
    width: 2rem;
    margin-right: 1rem;
}
.search-content {
    font-size: 1.6rem;
    font-weight: 500;
    color: #000;
    width: 100%;
    border-radius: 1rem;
    padding: 1.5rem 0;
}
#openFilter{
    width: 4.8rem;
    height: 4.8rem;
    border: 0.1rem solid #f3f3f3;
    border-radius: 1rem;
}
#openFilter img{
    width: 1.3rem;
}




.result-wrapper {
    border: 0.1rem solid #f3f3f3;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
    width: 100%;
}
.result-wrapper .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.result-wrapper .title h2 {
    margin: 0;
    white-space: normal; /* 줄바꿈 허용 */
    word-wrap: break-word; /* 긴 단어가 있으면 자동으로 줄바꿈 */
    overflow-wrap: break-word; /* 긴 단어가 있으면 자동으로 줄바꿈 */
    width: 83%;
}
.result-wrapper .title img {
    width: 5rem;
}
.result-wrapper .item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 1.5rem;
}
.result-wrapper .item span {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
    margin-right: 1rem;
    overflow-wrap: break-word;
}
.result-wrapper .item span:nth-of-type(1) {
    padding: 1rem;
    border-radius: 1rem;
    color: #fff;
    width: 9rem;
    background-color: #e2377d;
}
.result-wrapper .item:last-child span:first-of-type {
    background-color: #6660ff;
}
/* .result-wrapper .scrap-btn {
    z-index: 1000;
} */

.search-result .pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}
.search-result .pagination a img {
    height: 1.5rem;
}
.search-result .pagination a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #a6a6a6;
    padding: 0 0.5rem;
}
.search-result .pagination a.active {
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2377d;
}
.search-result .no {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8rem;
}
.search-result .no img {
    width: 20%;
}
.search-result p {
    font-size: 2rem;
    font-weight: 700;
    color: #a6a6a6;
    text-align: center;
    margin-top: 1rem;
}
.moveTop {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    position: fixed;
    bottom: 12%;
    right: 4%;
}
.moveTop img {
    width: 5rem;
}







/* scrap.php */
.scrap-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}
.scrap-filter span {
    width: calc(100% / 5 - 1.5rem);
    height: 6rem;
    background-color: #e6e6e6;
    color: #b0b0b0;
    border-radius: 1rem;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3;
    display: flex;
    justify-content: center;
    align-items: center;
}
.scrap-filter span.active {
    background-color: #6660ff;
    color: #fff;
}








/* qna.php */
.section.qna {
    padding: 3rem 0;
}
.section.qna .qna {
    border-top: 0.1rem solid #000;
    border-bottom: 0.1rem solid #000;
}
.qna .qna-wrapper h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 500;
    padding: 1.5rem;
    border-bottom: 0.1rem solid #f9f9f9;
}
.qna .qna-wrapper h3 img {
    width: 1.5rem;
    margin-left: 1rem;
}
.qna .qna-wrapper pre {
    font-size: 1.8rem;
    font-weight: 500;
    padding: 1.5rem;
    line-height: 1.4;
}