/* Q&Aページ専用スタイル */



.faq-item {
   
   
    margin-bottom: 15px;
    overflow: hidden;
   
}


.faq-question {
    padding: 20px 25px;
   
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question span {
    color: var(--secondary-color);
    margin-right: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

.faq-question i {
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
   
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p, .faq-answer ul {
    padding: 10px 25px 25px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer ul {
    padding-left: 40px;
}

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

.faq-answer li:before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--secondary-color);
}

.faq-answer strong {
    color: var(--primary-color);
}

/* FAQ CTAセクション */
.faq-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
}

.cta-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    
    .faq-answer p, .faq-answer ul {
        padding: 0 20px 20px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-contact,
    .cta-buttons .btn-detail {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .faq-question span {
        margin-right: 10px;
        font-size: 1rem;
    }
    
    .faq-answer p, .faq-answer ul {
        padding: 0 15px 15px;
        font-size: 0.85rem;
    }
    
    .faq-cta {
        padding: 25px 15px;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
}








/* 口コミセクション */
.testimonials-section {
    padding: 80px 0;
    background-color: #fefdfd;
    position: relative;
}

.testimonials-scroll-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    white-space: nowrap;
    padding: 10px 0;
    cursor: grab;
    margin: 40px 0;
}

.testimonials-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.testimonials-track {
    display: inline-flex;
    gap: 30px;
    padding: 0 20px;
}

.testimonial-card {
    flex: 0 0 300px;
    background: var(--white);

    overflow: hidden;
   
    transition: var(--transition);
    white-space: normal;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.testimonial-image {
    height: 200px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
}

.testimonial-content {
    padding: 25px;
    text-align: center;
}

.rating {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 0.6rem;
    text-align: left;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.client-name {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
    }
    
    .testimonial-image {
        height: 180px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonial-card {
        flex: 0 0 250px;
    }
    
    .testimonial-image {
        height: 160px;
    }
    
    .testimonial-content {
        padding: 15px;
    }
    
    .testimonial-text {
        font-size: 0.8rem;
    }
    
    .client-name {
        font-size: 0.8rem;
    }
}



/* 口コミセクションのサブタイトル */
.testimonials-subtitle {

    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 20px;
}



.testimonials-subtitle p {
   
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .testimonials-subtitle {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .testimonials-subtitle p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials-subtitle {
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .testimonials-subtitle p {
        font-size: 0.8rem;
    }
}




/* カテゴリナビゲーション */
/* カテゴリナビゲーションの横スクロール対応 */
.faq-category-nav {
    margin: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    overflow-x: auto; /* 横スクロールを有効化 */
    -webkit-overflow-scrolling: touch; /* iOSでスムーズスクロール */
    scrollbar-width: none; /* Firefoxでスクロールバー非表示 */
    -ms-overflow-style: none; /* IE/Edgeでスクロールバー非表示 */
}

.faq-category-nav::-webkit-scrollbar {
    display: none; /* Chrome/Safariでスクロールバー非表示 */
}

.faq-category-nav ul {
    display: flex;
    justify-content: flex-start; /* 左寄せに変更 */
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: max-content; /* コンテンツに合わせた最小幅 */
    white-space: nowrap; /* テキストを折り返さない */
}

.faq-category-nav li {
    margin: 0 10px;
    flex: 0 0 auto; /* 自動サイズ調整 */
}

.faq-nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap; /* テキストを折り返さない */
}

.faq-nav-link.active,
.faq-nav-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-category-nav {
        margin: 20px -20px; /* コンテナの余白を拡張 */
        padding: 0 20px; /* 内側の余白を追加 */
    }
    
    .faq-category-nav ul {
        justify-content: flex-start; /* 左寄せを維持 */
    }
    
    .faq-category-nav li {
        margin: 0 8px;
    }
    
    .faq-nav-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .faq-category-nav {
        margin: 15px -15px;
        padding: 0 15px;
    }
    
    .faq-category-nav li {
        margin: 0 5px;
    }
    
    .faq-nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}