/* アコーディオン */
.faq-item {
    border: 1px solid var(--color-outline); /* Tailwind gray-200 */
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
    transition: box-shadow 0.2s ease-in-out;
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem; /* 16px */
    cursor: pointer;
    background-color: var(--color-surface-variant); /* Tailwind gray-50 */
    font-weight: 600; /* semibold */
    text-align: left;
}

.faq-question:hover {
    background-color: var(--color-base-border-divider); /* Tailwind gray-100 */
}

.faq-icon {
    transition: transform 0.3s ease-in-out;
    color: var(--color-on-surface-variant); /* Tailwind gray-500 */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    padding: 0 1rem;
}

.faq-item.is-open .faq-answer {
    max-height: 1000px; /* 十分な高さを確保 */
    padding: 1.5rem 1rem; /* 24px 16px */
    border-top: 1px solid var(--color-outline);
    line-height: 1.6;
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
}

/* フィードバックUI */
.feedback-section {
    margin-top: 1.5rem; /* 24px */
    padding-top: 1rem; /* 16px */
    border-top: 1px dashed var(--color-outline); /* Tailwind gray-300 */
    text-align: center;
    font-size: 0.875rem; /* 14px */
    color: var(--color-on-surface-variant); /* Tailwind gray-600 */
}

.feedback-buttons button {
    margin: 0 0.5rem; /* 8px */
    padding: 0.25rem 0.75rem; /* 4px 12px */
    border-radius: 9999px; /* rounded-full */
    border: 1px solid var(--color-outline); /* Tailwind gray-300 */
    cursor: pointer;
    transition: background-color 0.2s;
}

.feedback-buttons button:hover {
    background-color: var(--color-surface-variant); /* Tailwind gray-100 */
}

.feedback-buttons button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.feedback-thanks {
    font-weight: 500; /* medium */
}
