/* css/web/reservation.css */
/* 予約フォーム共通スタイル */

/* ステップインジケーター */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px 0;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.5;
}
.step.active,
.step.completed {
    opacity: 1;
}
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ccc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 5px;
}
.step.active .step-number {
    background: #c9a86c;
}
.step.completed .step-number {
    background: #28a745;
}
.step-label {
    font-size: 12px;
    color: #666;
}
.step-line {
    width: 40px;
    height: 2px;
    background: #ccc;
    margin: 0 10px;
}
.step-line.active {
    background: #28a745;
}

/* ページタイトル */
.form_title {
    font-size: 20px;
    font-weight: bold;
    color: #3a3a3a;
    padding: 10px 15px;
    margin-bottom: 25px;
    border-left: 5px solid #c9a86c;
    background: #fdf8f0;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 768px) {
    .form_title {
        font-size: 17px;
        padding: 8px 12px;
    }
}

/* フォームセクション */
.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.section-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c9a86c;
}
.section-title .required {
    color: #dc3545;
    font-size: 12px;
    margin-left: 10px;
}

/* フォームリスト */
.form_list {
    margin-bottom: 15px;
}
.form_list dt {
    font-weight: bold;
    margin-bottom: 5px;
}
.form_list dt .required {
    color: #dc3545;
    font-size: 12px;
    margin-left: 5px;
}
.form_list dd input[type="text"],
.form_list dd input[type="email"],
.form_list dd input[type="tel"],
.form_list dd input[type="date"],
.form_list dd input[type="number"],
.form_list dd select,
.form_list dd textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background: #fff;
}
.form_list dd textarea {
    resize: vertical;
}

/* ラジオボタングループ */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.radio-group.vertical {
    flex-direction: column;
    gap: 10px;
}
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.radio-label input {
    margin-right: 8px;
}
.radio-label input[type="radio"] {
    width: auto;
    margin-right: 10px;
}

/* エラーメッセージ */
.error {
    color: #dc3545;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}
.error_read {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* 注釈 */
.note {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* 注意文（赤文字） */
.note.caution-note {
    color: #dc3545;
    font-weight: bold;
}

/* 通知エリア */
.notice {
    background: #fff3cd;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.notice p {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

/* 警告表示エリア */
.warning-note {
    margin-top: 10px;
    padding: 10px;
    background: #fff5f5;
    border: 1px solid #dc3545;
    border-radius: 4px;
}
.warning-note p {
    color: #dc3545;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

/* 会員情報 */
.member-info {
    background: #e8f4e8;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.member-note {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 4px;
}
.member-notice {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}
.member-notice a {
    color: #c9a86c;
}
.readonly-field {
    background: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

/* 合流方法表示 */
.confluence-info {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

/* ボタン */
.form-buttons {
    text-align: center;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn {
    padding: 15px 40px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary {
    background: #c9a86c;
    color: #fff;
}
.btn-primary:hover {
    background: #b89555;
}
.btn-secondary {
    background: #6c757d;
    color: #fff;
}
.btn-secondary:hover {
    background: #5a6268;
}

/* ポイントセクション */
.point-section {
    background: #fff8e8;
}
.point-section .section-title {
    border-bottom-color: #f0ad4e;
}
.point-info {
    background: #fff;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    border: 2px solid #f0ad4e;
}
.point-balance {
    margin: 0;
    font-size: 16px;
}
.point-balance strong {
    font-size: 24px;
    color: #f0ad4e;
}
.point-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 250px;
}
.point-input {
    max-width: 180px;
    text-align: right;
}
.point-unit {
    font-size: 16px;
    font-weight: bold;
    color: #666;
}
.no-point-message {
    color: #666;
    font-style: italic;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .step-indicator {
        flex-wrap: wrap;
    }
    .step-line {
        width: 20px;
    }
    .step-label {
        font-size: 10px;
    }
    .form-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .point-input-wrap {
        max-width: 100%;
    }
    .point-input {
        max-width: 100%;
        flex: 1;
    }
}
