/* FAQ Page Styles */

/* Hero */
.faq-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.faq-hero-title {
    font-size: 40px;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
}

.faq-hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* Main Content */
.faq-main {
    padding: 60px 0 100px;
    background: #f8fafc;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

/* FAQ Sections */
.faq-section {
    margin-bottom: 48px;
}

.faq-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

/* FAQ Items */
.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 16px;
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #6366f1;
    border-radius: 2px;
    transition: transform 0.3s;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 14px;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 12px 0;
    padding-left: 0;
    list-style: none;
}

.faq-answer li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #475569;
    line-height: 1.8;
}

.faq-answer li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6366f1;
    font-weight: bold;
}

.faq-answer strong {
    color: #1a1a2e;
}

/* CTA */
.faq-cta {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-cta-text {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-hero {
        padding: 120px 0 40px;
    }

    .faq-hero-title {
        font-size: 28px;
    }

    .faq-hero-description {
        font-size: 15px;
    }

    .faq-main {
        padding: 40px 0 60px;
    }

    .faq-content {
        padding: 0 16px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }
}
