* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: none;
}

.highlight {
    color: #e74c3c;
    text-shadow: none;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.quiz-card, .result-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    backdrop-filter: none;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress {
    height: 100%;
    background: #495057;
    width: 0%;
    transition: width 0.5s ease;
}

.question-container {
    margin-bottom: 2rem;
}

#question-text {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #333;
}

.options {
    display: grid;
    gap: 1rem;
}

.option {
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: left;
}

.option:hover {
    border-color: #495057;
    background: #f8f9fa;
    transform: translateY(-2px);
}

.option.selected {
    border-color: #495057;
    background: #495057;
    color: white;
}

.navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: #495057;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(73, 80, 87, 0.2);
    background: #343a40;
}

.btn-secondary {
    background: #e9ecef;
    color: #495057;
}

.btn-secondary:hover:not(:disabled) {
    background: #dee2e6;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hidden {
    display: none;
}

.result-card {
    text-align: center;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-recommendation {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin: 1rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.service-link {
    display: inline-block;
    background: #495057;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(73, 80, 87, 0.2);
    background: #343a40;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .quiz-card, .result-card {
        padding: 1.5rem;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}