* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Noto Sans JP', sans-serif;
        }

/* モーダル用スタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
}

.modal-body {
    margin-top: 20px;
}

.modal-body h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: #4A00E0;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 5px;
}

.footer-links {
    margin-top: 10px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #4A00E0;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}
        
        body {
            background-color: #f8f4f0;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            background: linear-gradient(135deg, #2c3e50, #4a6572);
            color: white;
            text-align: center;
            padding: 40px 20px;
            border-radius: 5px;
            margin-bottom: 30px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            font-weight: 700;
        }
        
        h2 {
            font-size: 1.8rem;
            margin: 30px 0 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #4a6572;
        }
        
        p {
            margin-bottom: 20px;
            font-size: 1.1rem;
        }
        
        .cta-primary {
            display: inline-block;
            background: linear-gradient(135deg, #8E2DE2, #4A00E0);
            color: white;
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.2rem;
            margin: 20px 0;
            box-shadow: 0 4px 15px rgba(142, 45, 226, 0.4);
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }
        
        .cta-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(142, 45, 226, 0.6);
        }
        
        .testimonial {
            background-color: white;
            padding: 20px;
            border-radius: 5px;
            margin: 30px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .testimonial p {
            font-style: italic;
        }
        
        .testimonial-author {
            text-align: right;
            font-weight: bold;
            color: #4a6572;
        }
        
        .wizard-container {
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin: 30px 0;
            display: none;
        }
        
        .wizard-step {
            display: none;
        }
        
        .wizard-step.active {
            display: block;
        }
        
        .question {
            font-size: 1.2rem;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .options {
            margin-bottom: 20px;
        }
        
        .option {
            display: block;
            margin: 10px 0;
        }
        
        .option input {
            margin-right: 10px;
        }
        
        .wizard-nav {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
        }
        
        .wizard-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        
        .prev-btn {
            background-color: #e0e0e0;
            color: #333;
        }
        
        .next-btn {
            background-color: #4A00E0;
            color: white;
        }
        
        .submit-btn {
            background-color: #22c55e;
            color: white;
            display: none;
        }
        
        .wizard-progress {
            height: 8px;
            background-color: #e0e0e0;
            border-radius: 4px;
            margin: 20px 0;
            overflow: hidden;
        }
        
        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, #8E2DE2, #4A00E0);
            width: 0%;
            transition: width 0.3s ease;
        }
        
        .benefit-box {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin: 40px 0;
        }
        
        .benefit {
            flex-basis: 48%;
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .benefit h3 {
            color: #4A00E0;
            margin-bottom: 10px;
        }
        
        .symptoms-list {
            list-style-type: none;
            margin: 20px 0;
        }
        
        .symptoms-list li {
            padding: 10px 0 10px 30px;
            position: relative;
        }
        
        .symptoms-list li:before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #4A00E0;
            font-weight: bold;
        }
        
        .result-container {
            display: none;
            background-color: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin: 30px 0;
        }
        
        .result-header {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .result-score {
            font-size: 2rem;
            font-weight: bold;
            color: #4A00E0;
            text-align: center;
            margin: 20px 0;
        }
        
        .result-explanation {
            margin-bottom: 20px;
        }
        
        .result-recommendation {
            background-color: #f0f9ff;
            padding: 20px;
            border-radius: 5px;
            border-left: 4px solid #4A00E0;
        }
        
        .loading {
            text-align: center;
            padding: 40px;
            display: none;
        }
        
        .loading-spinner {
            border: 6px solid #f3f3f3;
            border-top: 6px solid #4A00E0;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .faq-item {
            margin-bottom: 20px;
        }
        
        .faq-question {
            font-weight: bold;
            cursor: pointer;
            padding: 15px;
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            position: relative;
        }
        
        .faq-question:after {
            content: '+';
            position: absolute;
            right: 15px;
            transition: transform 0.3s ease;
        }
        
        .faq-item.active .faq-question:after {
            content: '-';
        }
        
        .faq-answer {
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            background-color: #f9f9f9;
            border-radius: 0 0 5px 5px;
        }
        
        .faq-item.active .faq-answer {
            padding: 15px;
            max-height: 1000px;
        }
        
        footer {
            text-align: center;
            padding: 30px 0;
            color: #666;
            font-size: 0.9rem;
            margin-top: 50px;
        }
        
        .follow-up-question {
            display: none;
            margin-top: 10px;
            padding: 15px;
            background-color: #f5f0ff;
            border-radius: 5px;
            border-left: 3px solid #4A00E0;
        }
        
        .follow-up-question textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            min-height: 80px;
            margin-top: 8px;
        }
        
        .feedback-message {
            background-color: #e8f5e9;
            padding: 20px;
            border-radius: 5px;
            text-align: center;
            margin: 20px 0;
        }
        
        .input-error {
            border: 1px solid #ff0000 !important;
        }
        
        .error-message {
            color: #ff0000;
            font-size: 0.9rem;
            margin-top: 5px;
        }
        
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            
            h2 {
                font-size: 1.5rem;
            }
            
            .benefit {
                flex-basis: 100%;
            }
        }