.page-faq {
    background-color: #0A0A0A; /* Background color from custom配色 */
    color: #FFF6D6; /* Text Main color from custom配色 */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Top padding 10px as per rule, bottom 60px */
    max-width: 1400px; /* Max width for content */
    margin: 0 auto; /* Center the section */
    box-sizing: border-box;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    margin-bottom: 40px; /* Space between image and content */
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.page-faq__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Clamp for H1 as per rule */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF6D6; /* Ensure light text on dark background */
}

.page-faq__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
    color: #111111; /* Dark text for contrast on bright button */
    border: none;
}

.page-faq__btn-primary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.page-faq__btn-secondary {
    background: #111111; /* Card BG color */
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #3A2A12; /* Border color */
}

.page-faq__btn-secondary:hover {
    transform: translateY(-2px);
    background: #222222;
    color: #FFF6D6;
}

.page-faq__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #111111; /* Card BG color */
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border color */
}

.page-faq__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-faq__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFF6D6;
}

.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for items */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    overflow: hidden;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #111111; /* Card BG color */
    color: #FFF6D6;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: #222222;
}

.page-faq__faq-question h3 {
    margin: 0;
    font-size: 1.1em; /* Adjust H3 size within question */
    color: #FFF6D6;
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD36B; /* Glow color for toggle icon */
}

.page-faq__faq-item.active .page-faq__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect, or can be '−' */
}

.page-faq__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.03); /* Lighter background for answer */
    color: #FFF6D6;
}

.page-faq__faq-answer p {
    margin: 0;
    padding-bottom: 10px; /* Spacing for paragraphs within answer */
    color: #FFF6D6;
}

.page-faq__faq-answer a {
    color: #FFD36B; /* Glow color for links in answer */
    text-decoration: underline;
}

.page-faq__faq-answer a:hover {
    text-decoration: none;
}

.page-faq__faq-item.active .page-faq__faq-answer {
    max-height: 1000px !important; /* Ensure it expands sufficiently */
    padding: 15px 25px;
}

.page-faq__cta-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    background-color: #111111; /* Card BG color */
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border color */
    box-sizing: border-box;
}

.page-faq__cta-content {
    text-align: center;
    margin-bottom: 30px;
}

.page-faq__cta-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFF6D6;
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-faq__cta-image-wrapper {
    width: 100%;
    max-width: 800px; /* Limit image width */
    margin-top: 30px; /* Space between content and image */
}

.page-faq__cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* Responsive Styles */
@media (min-width: 769px) {
    .page-faq__cta-section {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
        text-align: left;
    }

    .page-faq__cta-content {
        flex: 1;
        margin-bottom: 0;
        text-align: left;
    }

    .page-faq__cta-buttons {
        justify-content: flex-start;
    }

    .page-faq__cta-image-wrapper {
        flex: 1;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 10px 15px 40px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-faq__description {
        font-size: 1em;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-faq__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-faq__faq-section,
    .page-faq__cta-section {
        margin: 20px auto;
        padding: 20px 15px;
    }

    .page-faq__section-title {
        font-size: 2em;
    }

    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-faq__faq-question h3 {
        font-size: 1em;
    }

    .page-faq__faq-answer {
        padding: 0 20px;
    }

    .page-faq__faq-item.active .page-faq__faq-answer {
        padding: 15px 20px;
    }

    .page-faq__cta-title {
        font-size: 1.8em;
    }

    /* Images responsiveness */
    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__hero-image-wrapper,
    .page-faq__cta-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-faq__section,
    .page-faq__card,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}