
/******************************/
/*****mb*********** #qa_area **/
/******************************/

@media (max-width:600px) {

    #qa_area {
        margin-bottom: 120px;
    }

    .qa_inner {
        max-width: 800px;
        margin: 10px auto;
    }

    .qa_inner h2 {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 50px 0;
        text-align: center;
        letter-spacing: 0.5rem;

    }

    .accordion {
        border: 2px dashed var(--accentColor);
        padding: 20px 25px;
    }


    .qa_title {
        font-size: 1.1rem;
        font-weight: bold;
        margin: 20px 0;
        text-align: center;
        margin-top: 70px;
        letter-spacing: 0.2rem;

    }

    .qa_title img {
        width: 50px;
        height: auto;
        transform: translateY(-15px);
        padding-right: 18px;
    }


    .accordion_item {
        padding: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);

    }

    .accordion_item:last-child {
        border-bottom: none;
    }

    .accordion_menu {
        display: flex;
        align-items: center;
        padding: 15px;
        gap: 12px;
        cursor: pointer;
    }

    /* ▼ ぬるっと開閉（ゆっくり＆なめらか） */
    .accordion_content {
        display: flex;
        align-items: center;
        color: var(--accentColor);
        padding: 0;

    }

    /* 開いた時 */
    .accordion_item.active .accordion_content {
        max-height: 500px;
        /* 長文なら大きめにしとくと安心 */
        opacity: 1;
    }

    .qa_left {
        width: 48px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Q/Aの丸アイコン（共通） */
    .qa_q,
    .qa_a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        font-weight: 700;
        line-height: 1;
        flex-shrink: 0;
    }

    /* Q：塗りつぶし */
    .qa_q {
        background: var(--accentColor);
        color: #fff;
        margin-right: 30px;
    }

    /* A：白抜き */
    .qa_a {
        background: #fff;
        color: var(--accentColor);
        border: 2px solid var(--accentColor);
    }

    .qa_answer {
        position: relative;
        margin-left: 28px;
        font-size: 0.8rem;
        margin-right: 35px;
        line-height: 1.2rem;
        margin-left: 20px;

    }

    .qa_question {
        margin-left: -10px;
        line-height: 1.4rem;
        font-size: 0.9rem
    }


    /* 矢印の箱 */
    .qa_arrow {
        margin-left: auto;
        width: 18px;
        height: 18px;
        position: relative;
        display: inline-block;
    }

    /* 線2本 */
    .qa_arrow::before,
    .qa_arrow::after {
        content: "";
        position: absolute;
        width: 12px;
        height: 2px;
        background: var(--accentColor);
        left: 50%;
        transform-origin: center;
        transition: transform .25s ease;
    }



    /* ★ここが肝：上下にズラす（同じ高さにしない） */
    /* 閉：∨ */
    .qa_arrow::before {
        top: 6px;
        /* 上の線 */
        transform: translateX(-105%) rotate(45deg);
    }

    .qa_arrow::after {
        top: 6px;
        /* 下の線 */
        transform: translateX(-50%) rotate(-45deg);
    }


    /* 開：∧ */
    .accordion_item.active .qa_arrow::before {
        transform: translateX(-105%) rotate(-45deg);
    }

    .accordion_item.active .qa_arrow::after {
        transform: translateX(-50%) rotate(45deg);
    }


}


/******************************/
/*****pc*********** #qa_area **/
/******************************/

@media (min-width:600px) {

    #qa_area {
        margin-bottom: 120px;
    }


    .qa_inner {
        max-width: 800px;
        margin: 10px auto;

    }

    .qa_inner h2 {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 50px 0;
        text-align: center;
        letter-spacing: 0.5rem;

    }

    .accordion {
        border: 2px dashed var(--accentColor);
        padding: 30px 25px;
    }

    .qa_title {
        font-size: 1.1rem;
        font-weight: bold;
        margin: 20px 0;
        text-align: center;
        margin-top: 70px;
        letter-spacing: 0.2rem;

    }

    .qa_title img {
        width: 45px;
        height: auto;
        transform: translateY(-10px);
        padding-right: 20px;
    }

    .accordion_item {
        padding: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);

    }

    .accordion_item:last-child {
        border-bottom: none;
    }

    .accordion_menu {
        display: flex;
        align-items: center;
        padding: 15px;
        gap: 12px;
        cursor: pointer;
    }

    /* ▼ ぬるっと開閉（ゆっくり＆なめらか） */
    .accordion_content {
        display: flex;
        align-items: center;
        color: var(--accentColor);
        padding: 0;
    }

    /* 開いた時 */
    .accordion_item.active .accordion_content {
        max-height: 500px;
        /* 長文なら大きめにしとくと安心 */
        opacity: 1;

    }

    .qa_left {
        width: 48px;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .accordion_item:not(.active) .accordion_content {
        transition:
            max-height 1.0s cubic-bezier(.22, 1, .36, 1),
            opacity 0.8s ease,
            padding 0.6s ease,
            transform 0.6s ease;
    }

    /* Q/Aの丸アイコン（共通） */
    .qa_q,
    .qa_a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;

        font-weight: 700;
        line-height: 1;
        flex-shrink: 0;
    }

    /* Q：塗りつぶし */
    .qa_q {
        background: var(--accentColor);
        color: #fff;
    }

    /* A：白抜き */
    .qa_a {
        background: #fff;
        color: var(--accentColor);
        border: 2px solid var(--accentColor);
        margin-left: 30px;
    }

    .qa_answer {
        position: relative;
        margin-left: 28px;
        font-size: 0.8rem;
    }

    .qa_question,
    .qa_answer {
        line-height: 1.6rem;
    }

    /* 矢印の箱 */
    .qa_arrow {
        margin-left: auto;
        width: 18px;
        height: 18px;
        position: relative;
        display: inline-block;
    }

    /* 線2本 */
    .qa_arrow::before,
    .qa_arrow::after {
        content: "";
        position: absolute;
        width: 12px;
        height: 2px;
        background: var(--accentColor);
        left: 50%;
        transform-origin: center;
        transition: transform .25s ease;
    }



    /* ★ここが肝：上下にズラす（同じ高さにしない） */
    /* 閉：∨ */
    .qa_arrow::before {
        top: 6px;
        /* 上の線 */
        transform: translateX(-105%) rotate(45deg);
    }

    .qa_arrow::after {
        top: 6px;
        /* 下の線 */
        transform: translateX(-50%) rotate(-45deg);
    }


    /* 開：∧ */
    .accordion_item.active .qa_arrow::before {
        transform: translateX(-105%) rotate(-45deg);
    }

    .accordion_item.active .qa_arrow::after {
        transform: translateX(-50%) rotate(45deg);
    }
}