/* ====================================
   Page FAQ Styles
   ==================================== */

   .faq-container {
    width: 85%;
    max-width: 1000px; /* 読みやすさ重視で少し狭めに */
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- Breadcrumb --- */
.faq-breadcrumb {
    padding-top: 120px;
    padding-bottom: 20px;
}
.faq-breadcrumb__nav {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}
.faq-breadcrumb__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.faq-breadcrumb__link:hover { color: #4CAF50; }
.faq-breadcrumb__current { color: #4CAF50; }
.faq-breadcrumb__separator { margin: 0 10px; font-size: 0.7em; }


/* --- Hero --- */
.faq-hero {
    text-align: center;
    padding: 2rem 0 4rem;
}
.faq-hero__title {
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}
.faq-hero__subtitle {
    font-size: 1rem;
    color: #4CAF50;
    letter-spacing: 0.2em;
}


/* --- Category Nav (Anchor Links) --- */
.faq-nav-section {
    margin-bottom: 4rem;
    position: sticky;
    top: 80px; /* ヘッダーの高さに合わせて調整 */
    z-index: 10;
}

.faq-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 1rem 0;
    margin: 0;
    /* 背景にぼかしを入れて読みやすく */
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-nav__link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 30px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.faq-nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}


/* --- FAQ Content --- */
.faq-content {
    padding-bottom: 8rem;
}

.faq-category {
    margin-bottom: 6rem;
    scroll-margin-top: 160px; /* スムーススクロールの位置調整 */
}

.faq-category__title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-category__title .icon {
    color: #4CAF50;
    margin-right: 0.5rem;
}

/* 既存の faq.css のスタイルを微調整したい場合はここに追記 */
.faq__q-text {
    line-height: 1.6;
}


/* --- CTA --- */
.faq-cta {
    margin-bottom: 8rem;
}
.faq-cta__inner {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 4rem;
    text-align: center;
}
.faq-cta__title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}
.faq-cta__text {
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.faq-cta__btn {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: bold;
}
.faq-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
    color: #fff;
}


/* --- Responsive --- */
@media (max-width: 768px) {
    .faq-hero__title { font-size: 3rem; }
    
    .faq-nav {
        gap: 0.5rem;
        padding: 0.8rem;
        border-radius: 20px;
    }
    .faq-nav__link {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .faq-category__title { font-size: 1.5rem; }
    
    .faq-cta__inner { padding: 3rem 1.5rem; }
    .faq-cta__title { font-size: 1.6rem; }
}