/* ===================================
   FAQページ専用CSS
   =================================== */

/* ページヒーロー */
.faq-hero {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 120px 20px 80px;
    text-align: center;
    color: #fff;
    margin-top: 80px;
}

.faq-hero-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-hero-lead {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* パンくずリスト */
.breadcrumb-section {
    background: #f9fafb;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb-list a {
    color: #2563eb;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

.breadcrumb-list i {
    font-size: 10px;
    color: #9ca3af;
}

/* FAQ導入セクション */
.faq-intro {
    padding: 60px 0;
    background: #fff;
}

.faq-intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.faq-intro-text {
    flex: 1;
}

.faq-intro-title {
    margin-bottom: 20px;
}

.faq-intro-title .sub {
    display: block;
    font-size: 16px;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-intro-title .main {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    position: relative;
}

.faq-intro-title .main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 2px;
}

.faq-intro-text p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-top: 30px;
}

.faq-intro-image {
    flex-shrink: 0;
}

.faq-intro-image img {
    width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FAQカテゴリナビ */
.faq-nav {
    background: #f9fafb;
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.faq-nav-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.faq-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.faq-nav-btn:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

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

/* FAQセクション */
.faq-section {
    padding: 80px 0;
    background: #fff;
}

.faq-section-alt {
    background: #f9fafb;
}

.faq-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2563eb;
}

.faq-section-title i {
    color: #2563eb;
    font-size: 32px;
}

.faq-section-title.title-green {
    border-bottom-color: #2563eb;
}

.faq-section-title.title-green i {
    color: #2563eb;
}

/* FAQリスト */
.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-section-alt .faq-item {
    background: #fff;
}

.faq-item:hover {
    border-color: #2563eb;
}

.faq-item.active {
    border-color: #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

/* 質問部分 */
.faq-question {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

.q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 15px;
}

.faq-question h3 {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
    margin: 0;
}

.toggle-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.toggle-icon i {
    color: #6b7280;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    background: #2563eb;
}

.faq-item.active .toggle-icon i {
    color: #fff;
}

/* 回答部分 */
.faq-answer {
    display: flex;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.faq-item.active .faq-answer {
    border-top: 1px solid #e5e7eb;
}

.a-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
    margin: 20px 15px 20px 25px;
}

.faq-answer p {
    flex: 1;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
    padding: 20px 25px 20px 0;
}

/* CTA セクション */
.faq-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    text-align: center;
}

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

.faq-cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.5;
}

.faq-cta-title span {
    color: #fbbf24;
}

.faq-cta-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

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

.faq-cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-cta-buttons .btn-primary {
    background: #fff;
    color: #2563eb;
}

.faq-cta-buttons .btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.faq-cta-buttons .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.faq-cta-buttons .btn-secondary:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-3px);
}

/* 対応エリアセクション */
.faq-area {
    padding: 80px 0;
    background: #f9fafb;
}

.faq-area .section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.faq-area .section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 40px;
}

.area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.area-category {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.area-category h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.area-category ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-category ul li a {
    display: inline-block;
    padding: 8px 16px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
}

.area-category ul li a:hover {
    background: #2563eb;
    color: #fff;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .faq-intro-content {
        flex-direction: column;
        text-align: center;
    }

    .faq-intro-title .main::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .faq-intro-image {
        order: -1;
    }

    .area-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq-hero {
        padding: 100px 20px 60px;
        margin-top: 0;
    }

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

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

    .faq-intro {
        padding: 40px 0;
    }

    .faq-intro-title .main {
        font-size: 24px;
    }

    .faq-intro-image img {
        width: 200px;
    }

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

    .faq-nav-list {
        gap: 10px;
    }

    .faq-nav-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-section-title {
        font-size: 22px;
        flex-direction: column;
        gap: 8px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .q-icon,
    .a-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

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

    .a-icon {
        margin: 15px 10px 15px 20px;
    }

    .faq-answer p {
        font-size: 14px;
        padding: 15px 20px 15px 0;
    }

    .faq-cta {
        padding: 60px 0;
    }

    .faq-cta-title {
        font-size: 24px;
    }

    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .area-category {
        padding: 20px;
    }

    .area-category h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .faq-nav-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .faq-nav-btn i {
        font-size: 14px;
    }

    .toggle-icon {
        width: 26px;
        height: 26px;
    }
}