@charset "UTF-8";

/* =========================================
   FAQ Section - よくある質問
   ========================================= */

.faq {
    background-color: var(--c-bg-gray);
    padding-top: 19.1rem;
    padding-bottom: 14rem;
    position: relative;
    overflow: hidden;
}

.faq__inner {
    max-width: var(--w-content);
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
    position: relative;
}

/* Background decorative text (Companyエリアと完全統一) */
.faq__bg-text {
    font-family: var(--font-decorative);
    font-size: 16.4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: var(--c-bg-pink-text);
    position: absolute;
    top: 7.5rem;
    left: 55%;
    margin-left: -70rem;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

/* Section title */
.faq__title {
    font-family: var(--font-base);
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    color: var(--c-text-main);
    margin-bottom: 7.6rem;
    position: relative;
    z-index: 1;
}

/* FAQ list container */
.faq__list {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    position: relative;
    z-index: 1;
}

/* FAQ item (accordion) */
.faq__item {
    background-color: #FFFFFF;
    border-radius: var(--radius-sm);
    box-shadow: none; 
    overflow: hidden;
}

/* Reset details/summary default styles */
.faq__item summary {
    list-style: none;
    cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::marker {
    display: none;
}

/* Question area (summary) */
.faq__question {
    display: flex;
    align-items: center;
    padding: 3.4rem 4rem;
    gap: 3.1rem;
    position: relative;
}

/* Q/A icon base styles */
.faq__icon {
    width: 5rem;
    height: 5rem;
    min-width: 5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-base);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 2.9rem;
    letter-spacing: 0.1em;
}

/* Q icon styles */
.faq__icon--q {
    background-color: var(--c-primary);
    color: var(--c-text-white);
}

/* A icon styles */
.faq__icon--a {
    background-color: var(--c-border-gray);
    color: var(--c-primary);
}

/* Question text */
.faq__question-text {
    font-family: var(--font-base);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.1em;
    color: var(--c-text-main);
    flex: 1;
}

/* Arrow icon */
.faq__arrow {
    width: 2.4rem;
    height: 2.4rem;
    min-width: 2.4rem;
    margin-left: auto;
    margin-right: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq__arrow::before {
    content: '';
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    border-right: 2px solid var(--c-primary);
    border-bottom: 2px solid var(--c-primary);
    transform: rotate(45deg);
    margin-top: -0.4rem;
}

/* Arrow rotation when open */
.faq__item[open] .faq__arrow::before {
    transform: rotate(-135deg);
    margin-top: 0.4rem;
}

/* Answer area */
.faq__answer {
    display: flex;
    align-items: center;
    padding: 0 4rem 3.4rem 4rem;
    gap: 3.1rem;
}

/* Answer text */
.faq__answer-text {
    font-family: var(--font-base);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.375;
    letter-spacing: 0.1em;
    color: var(--c-text-main);
    padding-top: 0rem;
}





/* =========================================
   Tablet/Small PC (819px - 1024px) Adjustments
   ========================================= */
@media screen and (min-width: 819px) and (max-width: 1024px) {
    .faq {
        padding-top: 10rem;
        padding-bottom: 10rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .faq__title,
    .bottom-cta__title {
        font-size: 4.8rem !important;
    }
    
    /* Companyと完全統一 */
    .faq__bg-text {
        font-size: 16.4rem !important;
        top: 4rem;
    }
}


/* =========================================
   SP Responsive (768px以下)
   ========================================= */
@media (max-width: 76.8rem) {
    .faq {
        padding-top: 9.1rem;
        padding-bottom: 6.7rem; 
    }

    .faq__inner {
        padding: 0 1.5rem;
    }

    /* Background decorative text (Companyと完全統一) */
    .faq__bg-text {
        font-size: 8rem;
        top: 1.5rem;
        left: -1rem;
        margin-left: 0;
    }

    .faq__title {
        font-size: 2.2rem;
        margin-bottom: 2.1rem; /* Companyと統一 */
    }

    .faq__list {
        gap: 2rem;
    }

    .faq__item {
        border-radius: 0.8rem;
    }

    .faq__question {
        padding: 2rem 1.5rem;
        gap: 1rem;
        align-items: flex-start;
    }

    .faq__icon {
        width: 2.4rem;
        height: 2.4rem;
        min-width: 2.4rem;
        border-radius: 0.5rem;
        font-size: 1.4rem;
        line-height: 1;
        letter-spacing: 0.1em;
    }

    .faq__question-text {
        font-size: 1.6rem;
        line-height: 1.4;
        letter-spacing: 0.1em;
    }

    .faq__arrow {
        width: 1.5rem;
        height: 0.8rem;
        min-width: 1.5rem;
        margin-right: 0;
        margin-top: 0.4rem;
    }

    .faq__arrow::before {
        width: 0.8rem;
        height: 0.8rem;
        border-width: 2px;
        margin-top: -0.3rem;
    }

    .faq__item[open] .faq__arrow::before {
        margin-top: 0.3rem;
    }

    .faq__answer {
        padding: 0 1.5rem 2.1rem 1.5rem;
        gap: 1rem;
        align-items: flex-start;
    }

    .faq__answer-text {
        font-size: 1.4rem;
        line-height: 1.4;
        padding-top: 0.2rem;
    }


}
	
	
	
/* =========================================
   Bottom CTA Area (赤背景エリア)
   ========================================= */

.bottom-cta {
    background-color: var(--c-primary);
    width: 100%;
    padding: 8rem 0; 
    position: relative;
}

.bottom-cta__inner {
    max-width: var(--w-content);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

/* 上部（見出しとテキスト） */
.bottom-cta__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

/* 見出し */
.bottom-cta__title {
    font-family: var(--font-base);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--c-text-white);
    width: 55%;
}

/* CTAテキスト */
.bottom-cta__text {
    width: 45%;
}

.bottom-cta__text p {
    font-family: var(--font-base);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2.2;
    letter-spacing: 0.05em;
    color: var(--c-text-white);
}

/* ボタンエリア */
.bottom-cta__btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center; 
}

/* Entry button */
.bottom-cta__entry-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 38.9rem;
    height: 7.4rem; /* 8.8remから7.4remに高さを縮小 */
    background-color: var(--c-text-white);
    border-radius: 9999px; 
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-left: 0;
    padding-right: 6rem;
}

.bottom-cta__entry-btn:hover {
    opacity: 0.9;
    transform: translateY(-0.2rem);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bottom-cta__entry-label {
    font-family: var(--font-base);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.2em;
    color: var(--c-primary);
    margin-bottom: 0.2rem; /* 高さに合わせて余白を0.6remから0.2remに縮小 */
}

.bottom-cta__entry-text {
    font-family: var(--font-base);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    color: var(--c-primary);
}

.bottom-cta__entry-line {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 4rem; 
    width: 8rem;
    height: 2px;
    background-color: var(--c-primary);
}

/* =========================================
   Tablet/Small PC (819px - 1024px) Adjustments
   ========================================= */
@media screen and (min-width: 819px) and (max-width: 1024px) {
    .bottom-cta__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    
    .bottom-cta__title,
    .bottom-cta__text {
        width: 100%;
    }
}

/* =========================================
   SP Responsive (768px以下)
   ========================================= */
@media (max-width: 76.8rem) {
    .bottom-cta {
        padding: 6rem 0; 
    }

    .bottom-cta__inner {
        gap: 4rem;
        padding: 0 1.5rem; 
    }

    .bottom-cta__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .bottom-cta__title {
        width: 100%;
        font-size: 2.2rem; 
        line-height: 1.6;
    }

    .bottom-cta__text {
        width: 100%;
    }

    .bottom-cta__text p {
        font-size: 1.4rem;
        line-height: 1.8;
    }

    .bottom-cta__entry-btn {
        width: 100%;
        max-width: 32rem;
        height: 6.4rem;
        padding-right: 5rem;
    }

    .bottom-cta__entry-label {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .bottom-cta__entry-text {
        font-size: 2rem;
    }

    .bottom-cta__entry-line {
        width: 5rem;
        right: 3rem;
    }
}