/* .r-titlebox.faq {
    width: 27%;
} */
.faq_pagewrap {
    padding: 100px 0;
}
.qalist_container {
    padding: 0 8vw;
}
.qa_title {
    padding: 30px 15px;
}
.qalist_container h2 {
    margin: 18px 0;
    /* font-size: 3.7vw;
    font-size: min(3.7vw, 40px); */
    font-size: 40px;
    margin-top: 0;
}
.qalist_container .box_title {
    height: 2.1vw;
    min-height: 18px;
    max-height: 25px;
}
.qa_box {
    width: 100%;
    /* margin-bottom: 3.2vw; */
    margin-bottom: 2.5vw;
}
.q_check {
    display: none;
}
.q_label {
    display: block;
    margin: 0;
    /* padding: 24px 30px; */
    padding: 20px 30px;
    padding-right: 8vw;
    font-size: 1.8vw;
    font-weight: bold;
    color: white;
    background: #8e3333;
    border-bottom: solid 7px #4b090a;
    cursor: pointer;
    position: relative;
    transition: all 0.1s;
}
.q_label br, .q_label .space1 {
    display: none;
}
.q_label:hover {
    transform: translateY(4px);
    border-bottom: solid 7px white;
}
/*開くボタン*/
.circle_btn {
    display: inline-block;
    position: relative;
    width: 3.5vw;
    height: 3.5vw;
    min-width: 30px;
    min-height: 30px;
    max-width: 46px;
    max-height: 46px;
    border-radius: 50%;
    background: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 6%;
}
.circle_btn::before,
.circle_btn::after {
    content: '';
    display: block;
    width: 15px;
    height: 3px;
    border-radius: 5px;
    background: #8e3333;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.circle_btn::after {
    transform: rotate(90deg);
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

.answer_content {
    height: 0;
    margin: 0;
    padding: 0 60px;
    font-size: 18px;
    background: #EFEFEF;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
.answer_content p {
    height: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
}
/*エントリーボタン*/
.answer_content .btn_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 0;
    margin: 40px auto;
    text-align: center;
}
.answer_content .btn_wrap .btn {
    margin: 10px 0;
}
.answer_content .btn_wrap .btn a {
    color: white;
    background: #095133;
    padding: 20px 60px;
    font-size: 1.5vw;
    position: relative;
    opacity: 0;
    visibility: hidden;
}
.answer_content .btn_wrap .btn a::before {
    content: "";
    position: absolute;
    z-index: 30;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    width: 5%;
    height: 1px;
    background: rgba(255,255,255, .7);
    transition: .3s;
}
.answer_content .btn_wrap .btn a:hover {
    background: #249163;
    transition: .3s;
}
.answer_content .btn_wrap .btn a:hover::before {
    width: 0;
}


/*リスト開いた状態*/
.q_check:checked + .q_label {
    background: #206e88;
    border-bottom: solid 7px #123d4c;
}
.q_check:checked + .q_label .circle_btn::after {
    transform: rotate(0);
    background: #206e88;
}
.q_check:checked + .q_label:hover {
    transform: translateY(0);
}
.q_check:checked + .q_label + .answer_content {
    height: auto;
    margin: 0;
    padding: 35px 60px;
}
.q_check:checked + .q_label + .answer_content p {
    height: auto;
    margin: 18px 0;
    opacity: 1;
    visibility: visible;
}
.q_check:checked + .q_label + .answer_content .btn_wrap {
    height: auto;
}
.q_check:checked + .q_label + .answer_content .btn_wrap .btn a {
    opacity: 1;
    visibility: visible;
}

@media screen and (min-width: 1300px) {
    .qalist_container {
        padding: 0 6vw 0 3vw;
    }
    .qalist_container h2 {
        /* font-size: 60px; */
        /* font-size: 40px; */
    }
    /* .qalist_container .box_title {
        height: 67px;
    } */
    .q_label {
        /* font-size: 24px; */
        font-size: 20px;
    }
    .answer_content .btn_wrap .btn a {
        font-size: 20px;
    }
}
@media screen and (max-width: 1024px) {
    .qalist_container {
        padding: 0 6vw;
    }
    .qalist_container h2 {
        font-size: 3.7vw;
    }
    .answer_content p {
        font-size: 16px;
        line-height: 1.7;
    }
    .answer_content .btn_wrap .btn a {
        font-size: 16px;
    }
}
@media screen and (max-width: 900px) {
    .q_label {
        font-size: 17px;
    }
    .circle_btn {
        right: 4%;
    }
}
@media screen and (max-width: 780px) {
    .faq_pagewrap {
        padding: 100px 0;
    }
    .qalist_container h2 {
        margin: 0;
        font-size: 30px;
    }
    .qa_title {
        padding-top: 35px;
        padding-bottom: 15px;
    }
    .q_label {
        padding: 2vw 9vw 2vw 4vw;
    }
}
@media screen and (max-width: 700px) {
    .q_label {
        font-size: 16px;
    }
    .circle_btn {
        min-width: 26px;
        min-height: 26px;
    }
    .circle_btn::before, .circle_btn::after {
        width: 13px;
    }
}
@media screen and (max-width: 600px) {
    .faq_pagewrap {
        padding: 60px 0;
    }
    .circle_btn {
        min-width: 23px;
        min-height: 23px;
    }
    .answer_content {
        padding: 0 35px;
    }
    .q_check:checked + .q_label + .answer_content {
        padding: 20px 35px;
    }
    .answer_content p {
        font-size: 15px;
    }
}
@media screen and (max-width: 480px) {
    .r-titlebox.faq {
        width: 60%;
    }
    .qalist_container {
        padding: 0 4vw;
    }
    .circle_btn {
        min-width: 18px;
        min-height: 18px;
    }
    .circle_btn::before, .circle_btn::after {
        width: 12px;
        height: 2px;
    }
    .answer_content p {
        font-size: 14px;
    }
    .answer_content .btn_wrap .btn a {
        font-size: 14px;
        width: 100%;
        box-sizing: border-box;
        padding: 15px 0;
    }
}
@media screen and (max-width: 400px) {
    .q_label {
        font-size: 14px;
    }
    .qalist_container h2 {
        font-size: 25px;
    }
    .answer_content {
        padding: 0 20px;
    }
    .q_check:checked + .q_label + .answer_content {
        padding: 20px;
    }
    .answer_content p {
        font-size: 13px;
        line-height: 1.5;
    }
}