#ogawa-roulette-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ogawa-roulette-phone {
  width: 320px;
  background: #f0f4ff;
  border-radius: 28px;
  border: 3px solid #c7d0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 18px 24px;
  box-sizing: border-box;
}

.og-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 10px;
}

.og-head {
  font-size: 18px;
  font-weight: 700;
  color: #1e1b4b;
  text-align: center;
  margin: 0 0 4px;
  line-height: 1.5;
}

.og-sub {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 16px;
}

#og-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid #6366f1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  margin-bottom: 14px;
}

#og-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px dashed #a5b4fc;
}

#og-amount {
  font-size: 48px;
  font-weight: 800;
  color: #4f46e5;
  font-family: 'Arial Black', sans-serif;
  line-height: 1;
}

.og-yen {
  font-size: 16px;
  color: #818cf8;
  font-weight: 600;
  margin-top: 2px;
}

#og-label {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 14px;
}

/* ===== ルーレットボタン（目立つ版） ===== */
#og-spin-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff6a00, #ff3d00);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 20px;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  letter-spacing: 1px;
  box-shadow: 0 8px 0 #c22900, 0 8px 20px rgba(255, 77, 0, 0.4);
  animation: og-pulse 1.4s ease-in-out infinite;
}

#og-spin-btn:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #c22900;
}

#og-spin-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff7d1f, #ff5320);
}

#og-spin-btn:disabled {
  background: #fca98a;
  box-shadow: 0 4px 0 #d4856a;
  cursor: not-allowed;
  animation: none;
}

@keyframes og-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}

.og-badge {
  background: #fef3c7;
  color: #d97706;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  padding: 5px 16px;
  margin-bottom: 12px;
  border: 1.5px solid #fcd34d;
}

.og-number-box {
  background: #ede9fe;
  border-radius: 12px;
  padding: 10px 20px;
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.og-number-label {
  font-size: 12px;
  color: #7c3aed;
  font-weight: 500;
  margin-bottom: 2px;
}

.og-number-val {
  font-size: 20px;
  font-weight: 800;
  color: #4f46e5;
  letter-spacing: 3px;
}

.og-msg {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #e0e7ff;
  padding: 12px 14px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.og-msg-line1,
.og-msg-line2 {
  font-size: 12px;
  color: #1e1b4b;
  font-weight: 600;
  margin: 0 0 2px;
  white-space: nowrap;
}

.og-msg-sub {
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
}

#og-close-btn {
  background: transparent;
  border: 1.5px solid #c7d2fe;
  color: #6366f1;
  border-radius: 10px;
  padding: 8px 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}

#og-close-btn:hover {
  background: #e0e7ff;
}

@keyframes og-flash {
  0%   { transform: scale(1);    color: #4f46e5; }
  40%  { transform: scale(1.2);  color: #8b5cf6; }
  100% { transform: scale(1);    color: #4f46e5; }
}

.og-flash {
  animation: og-flash 0.7s ease-in-out;
}

@keyframes og-spin {
  0%   { border-color: #6366f1; }
  50%  { border-color: #8b5cf6; }
  100% { border-color: #6366f1; }
}

.og-spinning {
  animation: og-spin 0.4s ease-in-out infinite;
}

/* ボタンの見切れ対策（CF7の送信ボタン） */
#formbtn {
  width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  font-size: 16px;
  line-height: 1.5;
  padding: 16px 8px;
  text-align: center;
}

.btnArea {
  width: 100%;
  box-sizing: border-box;
}