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

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

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

header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.scenario-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.2s ease;
}

.scenario-card:hover {
    transform: translateY(-2px);
}

.scenario-content h2 {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

#scenario-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.thinking-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.thinking-section h3 {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#thinking-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color 0.3s ease;
    margin-bottom: 1rem;
}

#thinking-input:focus {
    outline: none;
    border-color: #3498db;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn.primary {
    background: #3498db;
    color: white;
}

.btn.primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.btn.secondary {
    background: #27ae60;
    color: white;
}

.btn.secondary:hover {
    background: #229954;
    transform: translateY(-1px);
}

.btn.outline {
    background: transparent;
    color: #7f8c8d;
    border: 2px solid #bdc3c7;
}

.btn.outline:hover {
    background: #7f8c8d;
    color: white;
}

.hints-section, .saved-thoughts {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.hints-section h4, .saved-thoughts h4 {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

#hints-list {
    list-style: none;
}

#hints-list li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #ecf0f1;
}

#hints-list li:before {
    content: "💡 ";
    margin-right: 0.5rem;
}

.thought-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #27ae60;
}

.thought-meta {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .scenario-card, .thinking-section, .hints-section, .saved-thoughts {
        padding: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

