﻿/*
.faq-line {
    display: flex;
    align-items: flex-start;
}

@media (max-width: 769px) {
    .faq-line {
        flex-wrap: wrap;
    }
}
.faq-actvty-txt {
    margin: 0 20px;
    flex-basis: 70%;
}
*/

.faq-answer {
    margin: 20px;
    line-height: 2;
    font-size: 1.1em;
}

@media (max-width: 769px) {
    .faq-answer {
        margin: 0;
        margin-top: 10px;
    }
    .faq-actvty-txt {
        margin: 0 10px;
        flex-basis: 100%;
    }
}

@media screen and (min-width: 768px) {
    .faq-container {
        position: relative;
        overflow: hidden;
        margin-bottom: 20px;
    }

    .faq-fade-out {
        display: none;
    }

    .faq-read-more {
        display: none;
    }
}

/* スマホ用 */
@media screen and (max-width: 767px) {
    .faq-container {
        position: relative;
        max-height: 120px; /* 初期表示する高さ */
        overflow: hidden;
        margin-bottom: 20px;
    }

    .faq-fade-out {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px; /* グラデーションの高さ */
        background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    }

    .faq-read-more {
        cursor: pointer;
        font-weight: 500;
        display: block;
        margin: auto;
        width: 90%;
        text-align: center;
        border: solid 2px #26466d;
        color: #26466d;
        margin-top: 15px;
        margin-bottom: 20px;
        padding: 5px;
        font-size: 16px;
    }
}

.faq-search-panel {
    text-align:center;
}
.faq-search-box {
    margin-top: 20px;
    width: 50%;
    display: inline-block;
}
@media screen and (max-width: 767px) {
    .faq-search-box {
        margin-top: 20px;
        margin-left: 0;
        width: 100%;
        padding: 10px
    }
}
.btn-faq {
    padding: 0 30px;
    display: inline-block;
    border: 1px solid white;
    line-height: 46px;
    border-radius: 3px;
    color: #26466d;
    background-color: #fff;
    font-size: 16px;
    font-weight: 700;
    transition: .3s;
    background: linear-gradient(-225deg, #26466d 0%, #26466d 100%);
    color: #fff !important;
    border-color: lightgray;
}
a.btn-faq{
    text-decoration:none;
}
button.btn-faq div {
    display: inline;
}
a.btn-faq div {
    display:inline;
}
@media screen and (max-width: 767px) {
    button.btn-faq div {
        display: none;
    }
    a.btn-faq div {
        display: none;
    }
}
.faq-search-word-box {
    margin-top: 30px;
}
@media screen and (max-width: 767px) {
    .faq-search-word-box {
        margin-top: 15px;
        margin-left: 0;
    }
}
.faq-search-word-title {
    margin-bottom: 10px;
}

span.search-word-txt {
    margin: 0 15px;
    cursor: pointer;
    font-weight: 500;
    color: #26466d;
}

.faq-search-word-title h5 {
    color: var(--bs-body-color);
}

.faq-tag-container {
    width: 50%;
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media screen and (max-width: 767px) {
    .faq-tag-container {
        width: 100%;
        margin-top: 0;
        padding: 10px;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.faq-tag-button {
    width: 100%;
    padding: 14px 8px;
    border-radius: 6px;
    background: #fff;
    border: 2px solid #26466d;
    color: #26466d;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

.faq-tag-button:hover {
    background: #f8f9fa;
}

.faq-tag-button.is-active {
    background-color: #26466d;
    border-color: #26466d;
    color: #fff;
}

.faq-tag-button.is-active:hover {
    background-color: #335c91;
}

.faq-tag-more-wrap {
    width: 50%;
    margin: 20px auto 0;
}

@media screen and (max-width: 767px) {
    .faq-tag-more-wrap {
        width: 100%;
        margin-top: 0;
        padding: 10px;
    }
}

.faq-tag-more-btn {
    width: 42%;
    max-width: 360px;
    margin: 0 auto;
    padding: 10px 8px;
    background: #f9fafb;
    border: 1.5px solid #b0bccf;
    border-radius: 6px;
    text-align: center;
    color: #5b6f8f;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
}

.faq-tag-more-btn:hover {
    background: #eef2f7;
}

.faq-tag-more-btn.is-open {
    background: #eef2f7;
    color: #26466d;
    border-color: #26466d;
}

@media screen and (max-width: 767px) {
    .faq-tag-more-btn {
        width: 100%;
        max-width: none;
    }
}

.faq-tag-container.is-single {
    grid-template-columns: 1fr;
    justify-items: center;
}

.faq-tag-container.is-single .faq-tag-button {
    width: 100%;
    max-width: 420px;
}

.faq-tag-change-wrap {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.faq-tag-change-btn {
    border: 0;
    background: transparent;
    color: #26466d;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.4;
    padding: 12px 16px;
    text-decoration: underline;
    cursor: pointer;
}

.faq-tag-change-btn:hover {
    opacity: 0.8;
}

.faq-qrow {
    display: block;
}

.faq-qtitle {
    margin: 0;
}

.faq-qtags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 8px;
}

.faq-result-tag {
    border: 1px solid #26466d;
    background: #f5f8fc;
    color: #26466d;
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: nowrap;
}

.faq-result-head {
    margin: 12px 0 10px;
    padding: 10px 12px;
    border-left: 6px solid #26466d;
    background: #f7f9fc;
    font-weight: 800;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #26466d;
}