@charset "UTF-8";
/**********************
 よくある質問について 
***********************/

/*******************************************/
/** 共通タイトル 引用
/*******************************************/
.category_faq .com-ttl01:before {
    content: none;
    /* position: absolute; */
    display: none;
    /* width: 100%; */
    /* height: 0.5rem; */
    /* background-color: #5abef7; */
    /* top: 0; */
    /* left: 0; */
}

/*******************************************/

/* よくある質問 font指定 */
.category_faq * {
    font-family: "Noto Sans JP", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

/* コンテンツラッパー */
.category_faq {
    margin-left: 1.5rem;
    margin-right: 1rem;
}

.category_list+.category_list {
    margin-top: 2rem;
}

/* カテゴリ */
.category_ttl {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    height: 5rem;
    background-color: #058884;
    border-radius: 1rem;
    font-weight: bold;
    color: #FFFFFF;
}

.category_label {
    line-height: 2.6rem;
    margin: 1.2rem 0 1.2rem 2rem;
    font-size: 1.8rem;
    color: inherit;
}

/* main_faq */
.qa_content {
    border-bottom: 0.1rem solid #7C7C7C;
    padding: 2rem 0 1.8rem 0;
}

.qa_content:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.question {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: default;
}

.answer {
    display: flex;
    justify-content: space-between;
    min-height: 4.4rem;
    margin-top: 1rem;
}

.question::before,
.answer::before {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 3rem;
    height: 3rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    line-height: 2.6rem;
    border-radius: 0.6rem;
    flex-shrink: 0; /* flexコンテナ内でも縮まないようにする */
}

.question::before {
    content: 'Q';
    background-color: #058884;
    color: #FFFFFF;
}

.answer::before {
    content: "A";
    background-color: #E7F8E7;
    color: #058884;
}

.q_info,
.a_info {
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
    font-size: 1.6rem;
    color: #000000;
}

.q_info {
    margin-left: 1rem;
    padding: 0.4rem 0 0.2rem 0;
    line-height: 2.4rem;
    font-weight: bold;
}

.a_info {
    margin-left: 1.1rem;
    padding-top: 0.3rem;
}

.a_info a {
    text-decoration: underline;
}

/* カテゴリ アコーディオン開閉アイコン（＋／ーの形）*/
.toggle_icon {
    box-sizing: border-box;
    position: relative;
    width: 1.6rem;
    height: 1.6rem;
    margin: 1.7rem 1.5rem 1.7rem 0;
}

.toggle_icon::before,
.toggle_icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0.2rem;
    top: 50%;
    left: 50%;
    background-color: #FFFFFF;
}

.toggle_icon::before {
    width: 100%;
    height: 0.2rem;
    transform: translate(-50%, -50%);
}

.toggle_icon::after {
    width: 0.2rem;
    height: 100%;
    transform: translate(-50%, -50%);
}

/* QA アコーディオン開閉アイコン（＋／ーの形）*/
.qa_toggle_icon {
    box-sizing: border-box;
    position: relative;
    width: 1.8rem;
    height: 1.8rem;
    background-color: #E7F8E7;
    border-radius: 50%;
    flex-shrink: 0; /* テキストが長くなってもアイコンが潰されないようにする */
    margin: 0.8rem 1rem 0 1rem;
}

.qa_toggle_icon::before,
.qa_toggle_icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #000000;
}

.qa_toggle_icon::before {
    width: 0.8rem;
    height: 0.1rem;
    transform: translate(-50%, -50%);
}

.qa_toggle_icon::after {
    width: 0.1rem;
    height: 0.8rem;
    transform: translate(-50%, -50%);
}

/* 開いている状態 */
.js-slide.state-open .toggle_icon::after {
    transform: translate(-50%, -50%) scale(0);
}

.js-slide.state-open .qa_toggle_icon::after {
    transform: translate(-50%, -50%) scale(0);
}

.toggle_wrapper:has(.state-open) + .toggle_wrapper {
    /* margin-top: 0; */
}

/* 回答を初期で非表示にする */
.toggle-area {
    display: none;
}

/* state-open が付いたら表示する */
.toggle-area.state-open {
    display: block;
}

.answer.toggle-area.state-open {
    display: flex;
}