/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0fdfa; /* 非常に薄いシアン背景 */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
}

/* ヘッダー */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h1 {
    font-size: 2.5rem;
    color: #0891b2; /* シアン系 */
    font-weight: 800;
}

.form-header p {
    color: #666;
    margin-top: 5px;
}

/* カードスタイル */
.form-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 40px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    border-top: 6px solid #22d3ee;
}

/* ステップの切り替えアニメーション */
.step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    margin-bottom: 25px;
}

.step-title h2 {
    font-size: 1.4rem;
    color: #1f2937;
}

/* ボタン・入力項目 */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-btn {
    background: #fff;
    border: 2px solid #f3f4f6;
    padding: 18px;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.category-btn:hover {
    border-color: #22d3ee;
    background-color: #ecfeff;
}

.btn-title {
    display: block;
    font-weight: bold;
    color: #111827;
}

.btn-desc {
    font-size: 0.8rem;
    color: #9ca3af;
}

.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #4b5563;
}

input, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

input:focus, textarea:focus {
    border-color: #22d3ee;
}

/* 送信・戻るボタン */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

.back-link {
    background: none;
    border: none;
    color: #0891b2;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* 完了画面 */
.success-icon {
    font-size: 4rem;
    color: #22d3ee;
    margin-bottom: 20px;
    text-align: center;
}

.success-msg {
    text-align: center;
    color: #4b5563;
    line-height: 1.6;
}

.footer-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    color: #9ca3af;
}

.help-link {
    color: #06b6d4;
    font-size: 0.8rem;
    text-decoration: underline;
    margin-top: 5px;
    display: inline-block;
}

.alert { color: #ef4444; font-size: 0.8rem; background: #fef2f2; padding: 10px; border-radius: 8px; }
.note { color: #f87171; font-size: 0.7rem; margin-top: 4px; }
.captcha-container { margin: 20px 0; }