.p-faq {
    padding: 0 0 120px;
    /* margin-top: 100px; */
    display: flex;
    justify-content: space-between;
    /* @include media-breakpoint-down(xs) {
		padding: 0 0 70px;
		margin-top: 30px;
	} */
}

.p-faq__inner {
    margin-top: 7vw;
    padding: 0 6.4vw 0 0;
    margin-left: 2vw;

    @media (max-width: 768.98px) {
        margin-left: 0;
        padding: 0 4vw;
    }

    @media (max-width: 575px) {
        padding: 0;
    }
}

.p-faq-wrapper01-right {
    width: calc(90% - 240px);

    @media (max-width: 768.98px) {
        padding: 0 16px;
        width: 100%;
    }
}

.p-faq-block {
    /* margin-bottom: 160px; */
    position: relative;
}

/* 非表示 */
.p {
    margin: 0;
    padding: 0;
}

.p-faq-item__answer {
    display: none;
}

.p-faq-item__answer__inner {
    display: flex;
    gap: 20px;
}

.p-faq-block {
    padding-top: 70px;
    margin-top: -100px;
}

/* カード全体 */
.p-faq-item {
    background: #fff;
    border-radius: 16px;
    padding:  24px 30px ;
    margin: 30px 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin-left: auto;
    cursor: pointer;

    @media (max-width: 768.98px) {
    padding:  24px 30px ;
    }

    @media (max-width: 575px) {
        padding:  15px 23px 15px 20px;
    }
}
.p-faq-category{
    max-width: 1000px;
    margin: 70px 0px 30px auto;;
    color: #E50012;
    font-weight: 700;
    p{
     font-size: 36px;   
     @media (max-width: 768.98px) {
        font-size: 28px;
    }

    @media (max-width: 575px) {
        font-size: 26px;

    }
    }
}
.p-faq-category::before {
    content: "";
    width: 100%;
    height: 12px;
    background-color: #fff;
    border-radius: 30px;
    -webkit-box-shadow: rgba(229, 0, 18, 0.1) 0px 7px 29px 0px;
    box-shadow: rgba(229, 0, 18, 0.1) 0px 7px 29px 0px;
    display: block;
    margin-bottom: 30px;
}

/* ヘッダー全体 */
.p-faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* cursor: pointer; */
}

/* カテゴリ（赤い小見出し） */
.p-faq-item__question-category {
    
    text-align: right;
    display: inline-flex;
    padding: 3px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 85px;
    border: 1px solid #E50012;
    @media (max-width: 768.98px) {
        padding: 3px 15px;
    }

    @media (max-width: 575px) {
        padding: 0px 10px;
    }
    p{
    color: #C80000;
        font-size: 12px;
        font-weight: 700;

    @media (max-width: 768.98px) {
        font-size: 12px;
    }

    @media (max-width: 575px) {
        font-size: 12px;
    }
    }



}

/* Qアイコン＋タイトル */
.p-faq-item__question-title {
    display: flex;
    gap: 22px;
    margin-top: 8px;
    font-size: 20px;
    line-height: 1.6;
    align-items: center;

    @media (max-width: 575px) {
        gap: 15px;
        font-size: 18px;
    }
}
.p-faq-item__question-headline{
    font-size: 18px;
    color: #C80000;
    font-weight: 700;
     @media (max-width: 768.98px) {
    font-size: 16px;
    }

    @media (max-width: 575px) {
        font-size: 14px;
    }
}
.p-faq-item__question-text {
    width: 100%;
    font-size: 22px;
    font-weight: 700;
    padding-right: 60px;

    @media (max-width: 768.98px) {
        font-size: 20px;
        padding-right: 10px;

    }

    @media (max-width: 575px) {
        font-size: 16px;
    }

}

/* 左の赤丸Qアイコン */
.p-faq-item__question-icon {
    font-family: "Urbanist";
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #C80000;
    color: #fff;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;

    @media (max-width: 768.98px) {
        min-width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* 右の + アイコン */
.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: #C80000;
    width: 20px;
    height: 4px;
    top: 70%;
    left: 70%;
    transform: translate(-50%, -50%);
    transition: 0.25s;

    @media (max-width: 575px) {
        width: 15px;
        height: 3px;
    }
}

/* 縦線 */
.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* 開いた時 → ただの「−」にする */
.p-faq-item__question.active .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* 内容部分 */
.p-faq-item__answer {
    /* margin-top: 16px; */
    /* padding-left: 40px; */
    line-height: 1.8;
    margin-top: 20px;
}

.p-faq-item__answer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #C80000; */
    color: #C80000;
    width: 50px;
    height: 50px;
    /* border-radius: 50%; */
    font-size: 24px;
    font-weight: bold;

    @media (max-width: 768.98px) {
        width: 35px;
        height: 35px;
        font-size: 22px;
    }
}

.p-faq-item__answer-text {
    width: 83%;
    padding-right: 40px;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;

    @media (max-width: 768.98px) {
        font-size: 13px;
        padding-right: 30px;
    }
}

.p-faq-item__answer-text a {
    color: #0693e3;
}

.l-wrapper01-right {
    width: calc(70% - 240px);
}

.p-faq-block#section01 {
    z-index: 6;
}

.p-faq-block#section02 {
    z-index: 5;
}

.p-faq-block#section03 {
    z-index: 4;
}

.p-faq-block#section04 {
    z-index: 3;
}

.p-faq-block#section05 {
    z-index: 2;
}

.p-faq-block#section06 {
    z-index: 1;
}