/*---------------------------------------------------------
                共通css
---------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
}

a {
    display: inline-block;
    text-decoration: none;
    transition: 0.3s;
}

html {
    color: #181733;
    font-family: "Noto Sans JP", serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;

}

ul {
    list-style: none;
}

p {
    font-family: "Noto Sans JP", serif;
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

.subfont {
    font-family: "Onest", serif;
    font-style: normal;
}

main .top_content {
    padding: 124px 0 60px;
}

main .top_content p.main_txt {
    font-size: max(2.6vw, 26px);
    line-height: 1.6;
    text-align: center;
}

main .top_content .faq_form_box {
    position: relative;
    margin: 60px auto 0;
    width: 714px;
}

main .top_content .faq_form_box input#search-box {
    padding: 20px 25px 20px 62px;
    width: 100%;
    border: 1px solid #98A1B2;
    border-radius: 60px;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.1em;
    outline: 0;
}

main .top_content .faq_form_box input#search-box:focus {
    border: 1px solid #2A3142;
}

main .top_content .faq_form_box input#search-box::placeholder {
    color: #98A1B2;
}

main .top_content .faq_form_box .ic_box {
    position: absolute;
    top: 50%;
    left: 25px;
    transform: translateY(-50%);
    width: 22px;
}

main .top_content .faq_form_box .ic_box img {
    width: 100%;
}

main .top_content .faq_cate_box {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 18px;
    margin: 80px auto 0;
    width: 75%;
}

main .top_content .faq_cate_box a {
    color: #98A1B2;
}



main .top_content .faq_cate_box .item {
    position: relative;
    padding: 15px 28px;
    width: calc((100% - 36px)/3);
    color: #98A1B2;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.12em;
    border: 1px solid #98A1B2;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

main .top_content .faq_cate_box .item:hover {
    background-color: #2A3142;
    color: #FFFFFF;
}

main .top_content .faq_cate_box .item.active {
    background-color: #2A3142;
    color: #FFFFFF;
}

main .top_content .faq_cate_box .cate_child_list {
    display: none;
    margin: 10px auto 0;
    width: 90%;
}

main .top_content .faq_cate_box .cate_child_list li {
    padding: 16px 0;
    border-bottom: 1px solid #98A1B2;
}

main .top_content .faq_cate_box .cate_child_list li:first-of-type {
    padding: 0 0 16px 0;
}

main .top_content .faq_cate_box .cate_child_list li:last-of-type {
    border-bottom: none;
}

main .top_content .faq_cate_box .cate_child_list li a {
    color: #98A1B2;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.12em;
    transition: 0.3s;
}

main .top_content .faq_cate_box .cate_child_list li a:hover {
    color: #FFF;
}

main .top_content .faq_cate_box .item .arrow_box {
    position: absolute;
    top: 26px;
    right: 28px;
    width: 12px;
    height: 8px;
    transition: 0.3s;
}

main .top_content .faq_cate_box .item.active .arrow_box {
    transform: rotate(180deg);
}

main .top_content .faq_cate_box .item .arrow_box::before {
    position: absolute;
    top: 3.5px;
    left: -1px;
    transform: rotate(50deg);
    content: "";
    display: block;
    width: 8.8px;
    height: 1px;
    background-color: #98A1B2;
    transition: 0.3s;
}

main .top_content .faq_cate_box .item .arrow_box::after {
    position: absolute;
    top: 3.5px;
    right: -1px;
    transform: rotate(-50deg);
    content: "";
    display: block;
    width: 8.8px;
    height: 1px;
    background-color: #98A1B2;
    transition: 0.3s;
}

main .top_content .faq_cate_box .item:hover .arrow_box::before,
main .top_content .faq_cate_box .item:hover .arrow_box::after {
    background-color: #FFFFFF;
}

/* リスト */
.faq_list_container {
    padding: 130px 0 70px;
    background-color: #F0F1F2;
}

.faq_list_container .inner {
    margin: 0 auto;
    width: 80%;
    max-width: 1000px;
}

.faq_list_container .inner h2 {
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
}

.faq_list_container .inner h3 {
    margin-top: 24px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.12em;
}

.faq_list_container .inner .faq_list {
    margin-top: 60px;
}

.faq_list_container .inner .faq_list .faq_item {
    margin-top: 18px;
    padding: 38px 40px;
    background-color: #FFF;
    border-radius: 10px;
    cursor: pointer;
}

.faq_list_container .inner .faq_list .faq_item:first-of-type {
    margin-top: 0;
}

.faq_list_container .inner .faq_list .faq_item .faq_title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.faq_list_container .inner .faq_list .faq_item .faq_title p.q_txt {
    color: #3D5399;
    font-size: 43px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
}

.faq_list_container .inner .faq_list .faq_item .faq_title a {
    width: calc(100% - 110px);
    color: #181733;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

.faq_list_container .inner .faq_list .faq_item .faq_title .arrow_box {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
}

.faq_list_container .inner .faq_list .faq_item .faq_title .arrow_box::before {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #181733;
    transition: 0.3s;
}

.faq_list_container .inner .faq_list .faq_item.active .arrow_box::before {
    transform: translateX(-50%) rotate(0);
}

.faq_list_container .inner .faq_list .faq_item .faq_title .arrow_box::after {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #181733;
}

.faq_list_container .inner .faq_list .faq_item .faq_content {
    display: none;
    margin-top: 24px;
    border-top: 1px solid #98A1B2;
}

.faq_list_container .inner .faq_list .faq_item .faq_content .content_inner {
    display: flex;
    gap: 30px;
    margin-top: 24px;
}

.faq_list_container .inner .faq_list .faq_item .faq_content .content_inner p.a_txt {
    color: #BF3968;
    font-size: 43px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
}

.faq_list_container .inner .faq_list .faq_item .faq_content .content_inner .content {
    display: block;
}

.faq_list_container .inner .faq_list .faq_item .faq_content .content_inner .content img {
    width: 100%;
    max-width: 500px;
}

.faq_list_container.notfound {
    padding: 154px 0 140px;
}

.faq_list_container.notfound p {
    text-align: center;
    font-size: 20px;
}

/* ページネーション */
.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.wp-pagenavi span.current {
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.12em;
    border: none;
}

.wp-pagenavi a {
    margin: 0 !important;
    padding: 0 !important;
    color: #98A1B2;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.12em;
    border: none !important;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
    position: relative;
    width: 8px;
    height: 12px;
}

.wp-pagenavi a.nextpostslink::before {
    position: absolute;
    top: 3px;
    left: 0;
    transform: rotate(40deg);
    content: "";
    display: block;
    width: 8.5px;
    height: 1px;
    background-color: #98A1B2;
}

.wp-pagenavi a.nextpostslink::after {
    position: absolute;
    bottom: 3px;
    left: 0;
    transform: rotate(-40deg);
    content: "";
    display: block;
    width: 8.5px;
    height: 1px;
    background-color: #98A1B2;
}

.wp-pagenavi a.previouspostslink::before {
    position: absolute;
    top: 3px;
    left: 0;
    transform: rotate(-40deg);
    content: "";
    display: block;
    width: 8.5px;
    height: 1px;
    background-color: #98A1B2;
}

.wp-pagenavi a.previouspostslink::after {
    position: absolute;
    bottom: 3px;
    left: 0;
    transform: rotate(40deg);
    content: "";
    display: block;
    width: 8.5px;
    height: 1px;
    background-color: #98A1B2;
}

@media screen and (max-width:990px) {
    main .top_content {
        padding: 100px 0 60px;
    }

    main .top_content .faq_form_box {
        margin-top: 33px;
        width: 90%;
    }

    main .top_content .faq_cate_box {
        margin-top: 70px;
        width: 90%;
    }

    main .top_content .faq_cate_box .item {
        width: calc((100% - 18px) / 2);
    }

    .faq_list_container {
        padding: 60px 0;
    }

    .faq_list_container .inner {
        width: 90%;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_title p.q_txt {
        font-size: 32px;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_content .content_inner p.a_txt {
        font-size: 32px;
    }
}

@media screen and (max-width:768px) {
    main .top_content .faq_cate_box .item {
        width: 100%;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_title {
        flex-direction: column;
        align-items: baseline;
        gap: 20px;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_title a {
        width: 100%;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_title .arrow_box {
        top: 0;
        transform: unset;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_content {
        margin-top: 20px;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_content .content_inner {
        flex-direction: column;
        align-items: baseline;
        gap: 20px;
        margin-top: 24px;
    }
}

@media screen and (max-width:500px) {
    p {
        font-size: 16px;
        line-height: 1.6;
        letter-spacing: 0.1em;
    }

    main .top_content .faq_cate_box .cate_child_list li a {
        font-size: 14px;

    }

    .faq_list_container .inner h2 {
        font-size: 24px;
    }

    .faq_list_container .inner h3 {
        font-size: 16px;
    }

    .faq_list_container .inner .faq_list {
        margin-top: 20px;
    }

    .faq_list_container .inner .faq_list .faq_item {
        padding: 20px 16px;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_title p.q_txt {
        font-size: 26px;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_title a {
        line-height: 1.6;
    }

    .faq_list_container .inner .faq_list .faq_item .faq_content .content_inner p.a_txt {
        font-size: 26px;
    }

    .faq_list_container.notfound {
        padding: 90px 0;
    }

    .faq_list_container.notfound p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/*---------------------------------------------------------
                質問フォーム
---------------------------------------------------------*/
main.contact_container .inner {
    margin: 0 auto;
    padding: 124px 0 60px;
    width: 90%;
}

main.contact_container p.main_txt {
    font-size: max(2.6vw, 26px);
    line-height: 1.6;
    text-align: center;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 90%;
    margin: 50px auto 0;
}

main.contact_container .contact_content textarea {
    width: 100%;
    padding: 20px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    display: block;
    position: relative;
    margin: 30px auto 0;
    padding: 15px 28px;
    width: 200px;
    color: #98A1B2;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.12em;
    border: 1px solid #98A1B2;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-response-output {
    display: none;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.active {
    background-color: #98A1B2;
    color: #FFF;
}

.btn_back{
    display: block;
    position: relative;
    margin: 30px auto 0;
    padding: 15px 28px;
    width: 200px;
    color: #98A1B2;
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.12em;
    text-align: center;
    border: 1px solid #98A1B2;
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.btn_back:hover{
    background-color: #98A1B2;
    color: #FFF;
}

@media screen and (max-width:990px) {
    main.contact_container .inner {
        padding: 100px 0 60px;
    }
}

@media screen and (max-width:620px) {
    main.contact_container p.main_txt{
        font-size: max(2.6vw, 20px);
    }
}

@media screen and (max-width:500px) {
    main.contact_container p.main_txt{
       text-align: left;
    }
}

/*---------------------------------------------------------
                質問フォームリンク
---------------------------------------------------------*/
.contact_link{
    margin-top: 30px;
    font-size: 14px;
    text-align: center;
}

.contact_link a{
    color: #181733;
    text-decoration: underline;
    transition: 0.3s;
}

.contact_link a:hover{
    opacity: 0.7;
}