@charset "utf-8";
/* CSS Document */

      /* --- 既存のFAQスタイル --- */

        /* Header and Title (Matching the uploaded image design) */
        h1 {
            font-size: 3rem; /* Larger */
            font-weight: 800; /* Bolder */
            color: var(--color-text-dark); /* Darker text */
            text-align: center;
            margin-bottom: 15px; 
            position: relative;
        }
        
        /* New underline style for h1 */
        h1::after {
            content: '';
            display: block;
            width: 60px; /* Short line */
            height: 4px;
            background-color: var(--color-primary);
            margin: 10px auto 0 auto;
            border-radius: 2px;
        }

        .subtitle {
            font-size: 1.0rem; 
            color: var(--color-text-light);
            text-align: center;
            margin-bottom: 40px;
        }


        /* Category Styling */
        h2 {
            font-size: 1.6rem;
            font-weight: 600;
            color: var(--color-primary);
            border-bottom: 3px solid var(--color-primary);
            padding-bottom: 8px;
            margin-top: 40px;
            margin-bottom: 25px;
            scroll-margin-top: 100px; /* スクロール時のヘッダー高さを考慮 */
        }


        /* FAQ Item (Accordion) Styling */
        .faq-item {
            background-color: var(--color-card-bg);
            border: 1px solid var(--color-border);
            border-radius: var(--border-radius-large);
            margin-bottom: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: box-shadow 0.3s ease;
            overflow: hidden; 
        }

        .faq-item:hover {
            box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
        }

        /* Question (Summary) Styling - Ensuring Left Alignment */
        .faq-item summary {
            display: flex;
            align-items: center;
            padding: 18px 25px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            outline: none;
            user-select: none;
            position: relative;
            list-style: none;
            color: var(--color-text-dark);
            text-align: left;
        }
        
        /* Custom marker for the question */
        .faq-item summary::before {
            content: 'Q';
            color: var(--color-primary);
            font-weight: 700;
            margin-right: 15px;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        /* Icon container for open/close state */
        .faq-icon {
            margin-left: auto;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--color-primary);
            transition: transform 0.3s ease;
            line-height: 1;
        }

        /* Icon rotation when open */
        .faq-item[open] .faq-icon {
            transform: rotate(45deg);
        }
        
        /* Answer Content Styling - Setup for JS Animation */
        .faq-answer {
            padding: 0 25px; 
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
            color: var(--color-text-light);
        }

        .faq-item[open] .faq-answer {
            padding: 25px;
        }

        /* Separator line when open */
        .faq-item[open] summary {
            border-bottom: 1px solid var(--color-border);
            padding-bottom: 15px;
            margin-bottom: 0;
        }

        /* Answer formatting details */
        .faq-answer p {
            margin: 0 0 10px 0;
        }
        
        .faq-answer ul {
            padding-left: 20px;
            margin-top: 10px;
            list-style: disc;
        }
        
        .faq-answer ul li {
            margin-bottom: 5px;
        }

        /* Highlighted text */
        .highlight {
            color: var(--color-accent);
            font-weight: 700;
        }

        /* Specific list styles for Q1.3 */
        .faq-answer ul.business-list {
            list-style: decimal;
            padding-left: 25px;
            color: var(--color-text-dark);
        }
        .faq-answer ul.business-list li {
            font-weight: 600;
            color: var(--color-text-dark);
            margin-bottom: 10px;
        }