/* ==================== */
/* CANDLEブランドカラー  */
/* ==================== */
:root {
  --candle-red: #E63946;
  --candle-red-dark: #D62828;
  --candle-red-light: #FF6B77;
  --candle-white: #FFFFFF;
  --candle-gray-light: #F8F9FA;
  --candle-gray: #6C757D;
  --candle-dark: #2B2D42;
}

/* ==================== */
/* リセット & 基本設定   */
/* ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", 
               "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: linear-gradient(135deg, var(--candle-red) 0%, var(--candle-red-dark) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--candle-dark);
}

.container {
  background: var(--candle-white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 500px;
  width: 100%;
  padding: 40px 30px;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== */
/* ロゴ                 */
/* ==================== */
.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.candle-logo {
  max-width: 280px;
  height: auto;
  display: inline-block;
}

/* ==================== */
/* ヘッダー             */
/* ==================== */
header {
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  font-size: 28px;
  color: var(--candle-red);
  margin-bottom: 10px;
  font-weight: bold;
}

.subtitle {
  font-size: 16px;
  color: var(--candle-gray);
}

.back-link {
  display: inline-block;
  color: var(--candle-red);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.back-link:hover {
  color: var(--candle-red-dark);
}

/* ==================== */
/* 料金案内             */
/* ==================== */
.price-info {
  background: linear-gradient(135deg, var(--candle-red) 0%, var(--candle-red-dark) 100%);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  color: var(--candle-white);
}

.price-info h3 {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.price-list {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.price-item .category {
  font-size: 16px;
  font-weight: bold;
}

.price-item .price {
  font-size: 28px;
  font-weight: bold;
}

/* ==================== */
/* ボタン               */
/* ==================== */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding: 20px;
  margin-bottom: 20px;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.button-primary {
  background: linear-gradient(135deg, var(--candle-red) 0%, var(--candle-red-dark) 100%);
  color: var(--candle-white);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.button-secondary {
  background: linear-gradient(135deg, var(--candle-red-light) 0%, var(--candle-red) 100%);
  color: var(--candle-white);
}

.button-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 119, 0.4);
}

.button-submit {
  background: linear-gradient(135deg, var(--candle-red) 0%, var(--candle-red-dark) 100%);
  color: var(--candle-white);
  margin-top: 30px;
}

.button-submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.button-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.emoji {
  font-size: 24px;
}

/* ==================== */
/* フォーム             */
/* ==================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-weight: bold;
  font-size: 16px;
  color: var(--candle-dark);
}

.required {
  color: var(--candle-red);
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--candle-gray-light);
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--candle-red);
}

textarea {
  resize: vertical;
  font-family: inherit;
}

small {
  font-size: 13px;
  color: var(--candle-gray);
}

/* ==================== */
/* 区分ボタン           */
/* ==================== */
.category-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 15px;
  border: 2px solid var(--candle-gray-light);
  border-radius: 15px;
  background: var(--candle-white);
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn:hover {
  border-color: var(--candle-red);
  background: #FFF5F5;
  transform: translateY(-2px);
}

.category-btn.active {
  border-color: var(--candle-red);
  background: linear-gradient(135deg, var(--candle-red) 0%, var(--candle-red-dark) 100%);
  color: var(--candle-white);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.category-label {
  font-size: 16px;
  font-weight: bold;
}

.category-price {
  font-size: 20px;
  font-weight: bold;
}

.category-btn.active .category-price {
  color: var(--candle-white);
}

/* ==================== */
/* 料金表示             */
/* ==================== */
.price-display {
  background: linear-gradient(135deg, var(--candle-red) 0%, var(--candle-red-dark) 100%);
  color: var(--candle-white);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.price-label {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.price-amount {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.price-note {
  font-size: 13px;
  opacity: 0.9;
}

/* ==================== */
/* 受付内容（レシート） */
/* ==================== */
.receipt {
  background: var(--candle-gray-light);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #DEE2E6;
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-row.total {
  margin-top: 10px;
  padding-top: 15px;
  border-top: 2px solid var(--candle-red);
  font-size: 18px;
  font-weight: bold;
}

.receipt-row .label {
  color: var(--candle-gray);
}

.receipt-row .value {
  color: var(--candle-dark);
  font-weight: bold;
}

.receipt-row.total .value.price {
  color: var(--candle-red);
  font-size: 24px;
}

.payment-note {
  text-align: center;
  color: var(--candle-red);
  font-weight: bold;
  margin: 15px 0;
  font-size: 16px;
}

/* ==================== */
/* 完了画面             */
/* ==================== */
.success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.message-box {
  text-align: center;
  margin: 30px 0;
  padding: 30px;
  background: var(--candle-gray-light);
  border-radius: 15px;
}

.message-box h3 {
  color: var(--candle-red);
  margin-bottom: 20px;
}

.message {
  font-size: