/* グローバルスタイル */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* エラーコンテナ */
.error-container {
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.5s ease;
}

/* タイトル */
.error-container h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ff4757;
}

/* メッセージ */
.error-container p {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ボタン */
.back-button {
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.back-button:hover {
    background: linear-gradient(135deg, #0056b3, #003f7f);
    transform: scale(1.05);
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .error-container {
        padding: 20px;
    }

    .error-container h1 {
        font-size: 1.5rem;
    }

    .back-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}
