/*---FAQページ---*/
.p-faq h2 {
    padding: 0 0 0 16px;
    border-left: 2px solid #08a7c4;
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.p-faq__section {
    margin-top: 2em;
}
.p-faq__main-title {
    margin-bottom: 25px;
}
.p-faq__post-list {
    margin-top: 30px;
    list-style: none;
}
.p-faq__post-list > li {
    border-bottom: 1px solid #EEEEEE;
    margin-top: 15px;
}
.p-faq__post-list >li a {
    display: inline-block;
    /*margin-bottom: 20px;*/
    margin-bottom: 10px;
    color: #333;
    background-color: transparent;
    transition: all .3s;
}
.p-faq__post-list-item::before {
    content: 'Q';
    color: #fff;
    background-color: #08a7c4;
    /*width: 1.8em;*/
    /*height: 1.8em;*/
    width: 1.4em;
    height: 1.4em;
    display: inline-flex;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    text-indent: 0;
    font-size: 14px;
}
.p-faq__post-list >li a:hover {
    color: #08a7c4;
}
.p-faq .c-taxList__link {
    color: #08a7c4;
    text-decoration: underline;
    padding-right: 0;
    padding-left: 0;
}
.p-faq .c-taxList__link:hover {
    opacity: .8;
}
.p-articleMetas__termList {
    background-color: transparent;
    padding-left: 2.3em;
    font-size: 12px;
}
.p-faq__search-form {
    margin-bottom: 60px;
    padding: 15px;
    background-color: #f6f6f6;
}

/*---FAQ会員様向け---*/
.p-faq__tabs {
    width: 100%;
    .c-tabList {
        margin: 0;
        justify-content: flex-start !important;
        gap: 20px;
        position: relative;
        border-bottom: 2px solid #08a7c4;
        padding-left: 18px !important;
    }
    .c-tabList__item {
        flex: 0 0 30%;
        margin: 0;
        text-align: center;
        position: relative;
        transform: translateY(2px);
    }
    .c-tabList__button {
        border: 2px solid #ccc;
        border-radius: 8px 8px 0 0;
        box-sizing: border-box;
        display: block;
        padding: 10px 20px !important;
        font-size: 18px;
        font-weight: 700;
        color: #aaa;
        height: 100%;
        line-height: 1;
        position: relative;
        transition: background-color .25s, color .25s;
        width: 100%;
        opacity: 1 !important;
        background-color: #eee !important;
    }
    .c-tabList__button::before,.c-tabList__button::after {
        content: none !important;
    }
    .c-tabList__button:hover,
    .c-tabList .c-tabList__button:hover,
    .c-tabList .c-tabList__button[aria-selected=true] {
        color: #08a7c4;
        border: 2px solid #08a7c4;
        font-weight: 700;
        background-color: transparent !important;
    }
    .c-tabList .c-tabList__button[aria-selected=true] {
        border-bottom: 2px solid #FDFDFD;
    }
    .c-tabList .c-tabList__button[aria-selected=false] {
        border-bottom: 2px solid #08a7c4;
    }
}

.p-faq__post-total {
    font-weight: bold;
    font-size: 16px;
}
.p-faq__post-total > span {
    color: #08a7c4;
    font-size: 24px;
    display: inline-block;
    padding-right: 10px;
}
.p-faq__post-list .label, .p-faq__category-item .label {
    padding: 4px;
    margin-right: 10px;
    background-color: #08a7c4;
    font-size: 11px;
    color: #fff;
}
.p-faq__post-list-item {

}
.p-faq__post-list[aria-hidden="true"] {
    display: none;
}
.p-faq__category-child-item[aria-hidden="true"] {
    display: none;
}
/*---FAQ会員様向け(ここまで)---*/

/*---------SPN（FAQページ）---------*/
@media screen and (max-width: 600px) {
    .p-faq h2 {
        font-size: 1.05rem;
        margin-top: 10px;
    }
    .p-faq__category-item > .txt-faq {
        font-size: 12px !important;
    }
}

/*---------カテゴリー---------*/
.p-faq__category {
    margin-top: 6em;
}
.p-faq__category-parent {
    margin-top: 20px;
}
.p-faq__category-parent-list {
    margin-bottom: 20px;
    line-height: 1;
    border: 1px solid #bbb;
}
.p-faq__category-item.parent {
    background-color: #f6f6f6;
    display: grid;
    grid-template-columns: 1fr 56px;
    align-items: center;
}
.p-faq__category-item.parent a {
    padding: 20px 15px;
    display: block;
    width: 100%;
    font-weight: bold;
}
.p-faq__category-item.child {
    /*padding: 15px 15px 15px 40px;*/
    padding: 10px 15px;
    position: relative;
}
.p-faq__category-item.child a {
    font-size: 14px;
    position: relative;
}
.p-faq__category-item.child a::before {
    content: '';
    width: 8px;
    height: 8px;
    display: block;
    position: absolute;
    top: 50%;
    left: -20px;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    transform: translateY(-50%) rotate(-45deg)
}
.p-faq__category-btn {
    cursor: pointer;
    width: 56px;
    height: 56px;
    padding: 5px;
    transition: all .3s;
    background-color: #08a7c4;
    border: none;
    position: relative;
}
.p-faq__category-btn::before {
    content: '';
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all .3s;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, calc(-50% - 3px)) rotate(45deg)
}
.p-faq__category-btn[aria-expanded=true]::before {
    transform: translate(-50%, calc(-50% + 3px)) rotate(-135deg)
}
.p-faq__category-btn:hover {
    opacity: .8;
}
.p-faq__category-toggle {
    height: 0;
    overflow: hidden;
}
.p-faq__category-child-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    list-style: none;
    padding: 10px;
}

/*リンク*/
.p-faq__category a {
    color: #333;
    transition: all .3s;
}
.p-faq__category a:hover {
    color: #08a7c4;
}
.p-faq__category a:hover:before {
    border-color: #08a7c4;
}
/*---------SPN（カテゴリー）---------*/
@media screen and (max-width: 600px) {
    .p-faq__category-child-list {
        grid-template-columns: 1fr;
    }
    .p-faq__category-item.parent {
        grid-template-columns: 1fr 40px;
    }
    .p-faq__category-item.parent a {
        padding: 5px 15px;
    }
    .p-faq__category-item.child {
        padding: 10px 15px 10px 30px;
    }
    .p-faq__category-btn {
        width: 40px;
        height: 40px;
    }
}