* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Meiryo', 'Hiragino Kaku Gothic Pro', sans-serif;
}

body {
    background-color: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 30px;
    width: 90%;
    max-width: 600px;
    text-align: center;
}

h1 {
    color: #4a4a4a;
    margin-bottom: 20px;
    font-size: 28px;
}

.category-selector {
    margin-bottom: 20px;
    text-align: center;
}

.category-selector label {
    margin-right: 10px;
    font-weight: bold;
    color: #4a4a4a;
}

.category-selector select {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 16px;
    color: #4a4a4a;
    cursor: pointer;
}

.category-selector select:focus {
    outline: none;
    border-color: #ff9966;
}

.excuse-box {
    background-color: #ffefd5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px dashed #ffb380;
}

#excuse {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    text-align: left;
    width: 100%;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

button {
    background-color: #ff9966;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ff7733;
}

.secondary-btn {
    background-color: #66aaff;
}

.secondary-btn:hover {
    background-color: #3388ff;
}

.copy-status {
    height: 20px;
    color: #4a4a4a;
    font-size: 16px;
    margin-top: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    #excuse {
        font-size: 16px;
    }
    
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    button {
        width: 100%;
        max-width: 250px;
    }
}