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

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.8rem;
    color: #667eea;
    font-weight: 500;
}

.description {
    color: #718096;
    font-size: 1.1rem;
    margin-top: 15px;
}

.input-section {
    margin-bottom: 30px;
}

.label {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.3s ease;
}

.select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.intensity-slider {
    display: flex;
    align-items: center;
    gap: 15px;
}

.intensity-label {
    color: #718096;
    font-size: 0.9rem;
    white-space: nowrap;
}

.slider {
    flex: 1;
    height: 8px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.generate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.generate-btn:active {
    transform: translateY(0);
}

.result {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.result:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

.hidden {
    display: none;
}

.excuse-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e2e8f0;
}

.excuse-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    display: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.excuse-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #2d3748;
    margin-bottom: 25px;
    font-weight: 500;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    text-align: left;
    font-family: 'Times New Roman', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
}

.excuse-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.copy-btn {
    background: #48bb78;
    color: white;
}

.copy-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
}

.regenerate-btn {
    background: #ed8936;
    color: white;
}

.regenerate-btn:hover {
    background: #dd7724;
    transform: translateY(-2px);
}

.disclaimer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    color: #718096;
}

.evaluation-section {
    margin: 25px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.evaluation-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    text-align: center;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pros, .cons {
    padding: 15px;
    border-radius: 8px;
}

.pros {
    background: #f0fff4;
    border-left: 4px solid #48bb78;
}

.cons {
    background: #fef5e7;
    border-left: 4px solid #ed8936;
}

.pros-title, .cons-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.pros-list, .cons-list {
    list-style: none;
    padding: 0;
}

.pros-list li, .cons-list li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: #4a5568;
    position: relative;
    padding-left: 15px;
}

.pros-list li::before {
    content: "•";
    color: #48bb78;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cons-list li::before {
    content: "•";
    color: #ed8936;
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 640px) {
    .container {
        padding: 20px;
        margin: 10px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    .excuse-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}