body {
    background-color: #f0f0f0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fade-in { 
    animation: fadeIn 1.5s ease-in-out forwards; 
    opacity: 0; 
}

.slide-up { 
    opacity: 0; 
    animation: slideUp 2s ease-in-out forwards; 
}

/* 進捗バーのスタイル */
#progressWrapper {
    display: none;
    margin-top: 20px;
    text-align: center;
}

progress {
    width: 100%;
    height: 20px;
    border-radius: 10px;
    background: #f3f3f3;
    appearance: none;
}

progress::-webkit-progress-bar {
    background: #f3f3f3;
    border-radius: 10px;
}

progress::-webkit-progress-value {
    background: linear-gradient(to right, #4caf50, #8bc34a);
    border-radius: 10px;
}

/* ステータスメッセージ */
#status {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
    color: rgb(0, 0, 0); /* 初期の色 */
    transition: color 0.3s ease;
}

/* ステータスメッセージの進捗に応じた色変更 */
.status-warning { color: #ff9800; }
.status-success { color: #4caf50; }
.status-error { color: #f44336; }

/* 広告 */
.advertisement { 
    margin-top: 20px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

/* 説明セクション */
.description {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
    border-radius: 10px;
    background-color: #313338;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .description { 
        flex-direction: row; 
    }
    .description img { 
        margin-right: 20px; 
        margin-bottom: 0; 
    }
}

.description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.description .text { 
    max-width: 50%; 
    text-align: left; 
}

.description h3 { 
    font-size: 1.5rem; 
    margin-bottom: 10px; 
}

.description p { 
    font-size: 1rem; 
}

/* アラート */
.alert { 
    margin-top: 20px; 
    font-size: 1rem; 
    font-weight: bold; 
}

/* フォームグループのラベル */
.form-group label { 
    font-weight: bold; 
}
