/* ==========================================
   FAQ チャットボット風セクション
   ========================================== */

/* FAQセクション全体 */
.faq-chatbot-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F3E5F5 0%, #E1BEE7 100%);
    position: relative;
    overflow: hidden;
}

.faq-chatbot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(156, 39, 176, 0.5) 50%, 
        transparent 100%
    );
}

/* FAQヘッダー */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-top: 15px;
    line-height: 1.8;
}

/* カテゴリボタングリッド */
.faq-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-category-btn {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8BBD0 100%);
    border: 2px solid rgba(156, 39, 176, 0.3);
    border-radius: 15px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.15);
}

.faq-category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(156, 39, 176, 0.1), 
        transparent
    );
    transition: left 0.5s ease;
}

.faq-category-btn:hover::before {
    left: 100%;
}

.faq-category-btn:hover {
    border-color: var(--primary-pink);
    background: linear-gradient(135deg, #FFE0F0 0%, #F8BBD0 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.4);
}

.faq-category-btn i {
    font-size: 32px;
    color: var(--primary-pink);
    transition: all 0.3s ease;
}

.faq-category-btn:hover i {
    transform: scale(1.2);
    color: var(--accent-gold);
}

.faq-category-btn span {
    font-size: 16px;
    font-weight: 600;
    color: #4A148C;
    text-align: center;
}

/* FAQ回答エリア */
.faq-answers {
    max-width: 900px;
    margin: 0 auto;
    min-height: 400px;
}

.faq-category-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.faq-category-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 戻るボタン */
.faq-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(156, 39, 176, 0.1);
    border: 1px solid rgba(156, 39, 176, 0.3);
    border-radius: 25px;
    color: var(--primary-pink);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.faq-back-btn:hover {
    background: rgba(156, 39, 176, 0.2);
    border-color: var(--primary-pink);
    transform: translateX(-5px);
}

/* カテゴリタイトル */
.faq-category-title {
    font-size: 28px;
    font-weight: 700;
    color: #4A148C;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(156, 39, 176, 0.3);
}

.faq-category-title i {
    color: var(--primary-pink);
    font-size: 32px;
}

/* FAQ項目 */
.faq-item {
    background: linear-gradient(135deg, #FFFFFF 0%, #F3E5F5 100%);
    border: 1px solid rgba(156, 39, 176, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(156, 39, 176, 0.1);
}

.faq-item:hover {
    border-color: var(--primary-pink);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.2);
    transform: translateX(5px);
}

/* FAQ質問 */
.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.faq-question i {
    color: var(--primary-pink);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.faq-question strong {
    color: #4A148C;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

/* FAQ回答 */
.faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 32px;
}

.faq-answer i {
    color: var(--accent-gold);
    font-size: 18px;
    margin-top: 4px;
    flex-shrink: 0;
}

.faq-answer p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 10px;
}

.faq-answer strong {
    color: #6A1B9A;
    font-weight: 600;
}

.faq-answer ul,
.faq-answer ol {
    color: var(--text-gray);
    line-height: 1.8;
    margin-top: 10px;
    margin-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer code {
    background: rgba(156, 39, 176, 0.2);
    color: var(--accent-gold);
    padding: 3px 10px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
}

/* 問い合わせセクション */
.faq-contact {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E1BEE7 100%);
    border: 2px solid rgba(156, 39, 176, 0.3);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.15);
}

.faq-contact h3 {
    font-size: 24px;
    font-weight: 700;
    color: #4A148C;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.faq-contact h3 i {
    color: var(--primary-pink);
    font-size: 28px;
}

.faq-contact p {
    color: #6A1B9A;
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #9C27B0 0%, #E91E63 100%);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(156, 39, 176, 0.5);
}

.btn-contact i {
    font-size: 20px;
}

/* ==========================================
   動画セクション
   ========================================== */

.video-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(156, 39, 176, 0.5) 50%, 
        transparent 100%
    );
}

.video-intro {
    text-align: center;
    margin-bottom: 50px;
}

.video-subtitle {
    font-size: 16px;
    color: #1565C0;
    margin-top: 15px;
    line-height: 1.8;
}

/* 動画コンテナ */
.video-container {
    max-width: 900px;
    margin: 0 auto 50px;
}

/* YouTube埋め込み用 */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 アスペクト比 */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(156, 39, 176, 0.3);
    border: 3px solid rgba(156, 39, 176, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* プレースホルダー（準備中） */
.video-placeholder {
    background: linear-gradient(135deg, #FFFFFF 0%, #E1F5FE 100%);
    border: 3px dashed rgba(33, 150, 243, 0.4);
    border-radius: 15px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.15);
}

.placeholder-content i {
    font-size: 80px;
    color: var(--primary-pink);
    margin-bottom: 20px;
    opacity: 0.7;
}

.placeholder-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1565C0;
    margin-bottom: 15px;
}

.placeholder-content p {
    font-size: 16px;
    color: #1976D2;
    line-height: 1.8;
    margin-bottom: 25px;
}

.placeholder-note {
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 12px 24px;
    color: var(--accent-gold);
    font-size: 14px;
    font-weight: 600;
}

/* 動画のベネフィット */
.video-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E1F5FE 100%);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.1);
}

.benefit-item:hover {
    border-color: #2196F3;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
}

.benefit-item i {
    font-size: 40px;
    color: #2196F3;
    margin-bottom: 15px;
    display: block;
}

.benefit-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1565C0;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 14px;
    color: #1976D2;
    line-height: 1.6;
}

/* ==========================================
   レスポンシブデザイン
   ========================================== */

@media (max-width: 968px) {
    /* FAQカテゴリ */
    .faq-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .faq-category-btn {
        padding: 25px 15px;
    }

    .faq-category-btn i {
        font-size: 28px;
    }

    .faq-category-btn span {
        font-size: 14px;
    }

    /* FAQ項目 */
    .faq-item {
        padding: 20px;
    }

    .faq-question strong {
        font-size: 16px;
    }

    .faq-answer {
        padding-left: 0;
    }

    /* 動画ベネフィット */
    .video-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    /* FAQセクション */
    .faq-chatbot-section {
        padding: 60px 0;
    }

    .faq-header {
        margin-bottom: 30px;
    }

    .faq-subtitle {
        font-size: 16px;
    }

    /* FAQカテゴリ */
    .faq-categories {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .faq-category-btn {
        padding: 20px 15px;
    }

    /* カテゴリタイトル */
    .faq-category-title {
        font-size: 22px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* FAQ項目 */
    .faq-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .faq-question {
        flex-direction: column;
        gap: 8px;
    }

    .faq-question i {
        font-size: 18px;
    }

    .faq-question strong {
        font-size: 15px;
    }

    .faq-answer {
        flex-direction: column;
        gap: 8px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    /* 問い合わせセクション */
    .faq-contact {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .faq-contact h3 {
        font-size: 20px;
        flex-direction: column;
        gap: 8px;
    }

    .faq-contact p {
        font-size: 14px;
    }

    .btn-contact {
        padding: 12px 30px;
        font-size: 14px;
    }

    /* 動画セクション */
    .video-section {
        padding: 60px 0;
    }

    .video-intro {
        margin-bottom: 30px;
    }

    .video-subtitle {
        font-size: 14px;
    }

    .video-placeholder {
        padding: 60px 20px;
    }

    .placeholder-content i {
        font-size: 60px;
    }

    .placeholder-content h3 {
        font-size: 22px;
    }

    .placeholder-content p {
        font-size: 14px;
    }

    .placeholder-note {
        font-size: 12px;
        padding: 10px 15px;
    }

    .benefit-item {
        padding: 25px 15px;
    }

    .benefit-item i {
        font-size: 32px;
    }

    .benefit-item h4 {
        font-size: 16px;
    }

    .benefit-item p {
        font-size: 13px;
    }
}
