@charset "utf-8";
#faq{
    margin-top: 20rem;
}
#faq .title-box{
    width: calc(50% - 7rem);
}
#faq .title{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14rem;
}
#faq .title h1{
    font-size: 3.6rem;
    font-weight: 300;
}
#faq .title p{
    color: var(--grey-color-);
    font-size: 1.8rem;
    margin-top: 2rem;
}
#faq .title p span{
    display: block;
}
#faq .title p b{
    color: var(--black-color-);
}
#faq-search{
    display: block;
    position: relative;
    width: calc(50% - 7rem);
}
#faq-search .search-field{
    position: relative;
}
#faq-search .sch_bar{
    display: flex;
}
#faq-search .sch_bar i{
    font-size: 2rem;
}
#faq-search input{
    border: none;
    border-bottom: 1px solid var(--black-color-);
    padding: 1rem;
    font-size: 2rem;
    color: var(--black-color-);
    width: 100%;
}
#category{
    margin-top: 8rem;
}
#category-item{
    display: flex;
    gap: 1.4rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
#category-item li a{
    font-size: 1.6rem;
    border: 1px solid var(--black-color-);
    display: block;
    padding: 1rem 2rem;
    border-radius: 10rem;
}
#category-item li a#bo_cate_on{
    background-color: var(--black-color-);
    color: white;
}
#faq-item{
    margin-top: 8rem;
}
#faq-item h2{
    font-size: 2rem;
    font-weight: 300;
}
#faq-item .page-faq{
    display: flex;
    flex-direction: column;
}
#faq-item .page-faq-list{
    border-top: 1px solid var(--black-color-);
    padding: 3rem 0;
    width: calc(50% + 50%);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}
#faq-item .page-faq-list a{
    position: absolute;
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    text-indent: -99999px;
    right: 0;
    top: 50%;
    transform: translate(0,-50%);
}
#faq-item .page-faq-list.active a{
    position: relative;
    top: auto;
}
#faq-item .page-faq-list a::before,
#faq-item .page-faq-list a::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: 100%;
    background-color: var(--black-color-);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}
#faq-item .page-faq-list a::after {
    width: 100%;
    height: 1px;
}
#faq-item .page-faq-list.active a::before {
    display: none;
}
#faq-item .page-faq-list h2.page-faq-subject::before{
    content: 'Q.';
    display: inline-block;
    margin-right: 0.5rem;
}
#faq-item .page-faq-list .page-faq-content{
    height: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-2rem);
    transition: transform .5s, opacity 1s;
}
#faq-item .page-faq-list .page-faq-content p{
    color: var(--grey-color-);
    padding: 2rem;
    border-radius: 0 10rem 10rem 10rem;
    margin-top: 0;
    font-size: 1.6rem;
}

#faq-item .page-faq-list.active .page-faq-content{
    height: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

#faq-item .page-faq-list.active .page-faq-content p{
    margin-top: 2rem;
}
.sch_word{
    background-color: var(--blue-color-);
    font-weight: 300;
}
#faq-view-subject{
    font-size: 3.6rem;
    line-height: 1.4;
}
#faq-view-subject .q-mark{
    color: var(--blue-color-)
}
#faq-view-contents{
    font-size: 1.8rem;
    margin-top: 3rem;
    padding: 5rem;
    background-color: #f5f5f5;
    border-radius: 2rem;
}
.highlight{
    color: #fff;
    background-color: var(--blue-color-);
    padding: 2px 5px 3px;
    margin: 0 2px;
}
.faq-category-label{
    background-color: #f5f5f5;
    color: #aaa;
    font-size: 1.3rem;
    align-self: flex-start;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 0.4rem;
}
@media (max-width: 768px) {
    .box{
        padding: 0;
    }
    #faq{
        margin-top: 12rem;
    }
    #faq .title{
        gap: 5rem;
        padding: 0 4rem;
        width: 100%;
    }
    #faq .title-box{
        width: 100%;
    }
    #faq-search{
        width: 100%;
    }
    #category{
        width: 100%;
        padding-left: 4rem;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #category::-webkit-scrollbar {
        display: none;
    }
    #category-item{
        /*flex-wrap: nowrap;*/
    }
    #category-item li:last-child{
        padding-right: 4rem;
    }
    #faq-item{
        padding: 0 4rem; 
    }
    #faq-item .page-faq-list{
        padding: 2rem 0;
    }
    #faq-item .page-faq-list .page-faq-content p{
        padding: 0;
        padding-bottom: 3rem;
    }
    #faq-item .page-faq-list a{
        width: 1.4rem;
        height: 1.4rem;
    }
    #faq-view{
        padding: 0 4rem;
    }
    #faq-view-subject{
        font-size: 2.6rem;
        line-height: 1.4;
    }
    #faq-view-contents{
        padding: 3rem;
    }
}