/* LP離脱時アンケート ダイアログ スタイル */
.exit-survey-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.exit-survey-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.exit-survey-dialog {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 24px 24px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.2s ease;
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
}

.exit-survey-overlay.is-open .exit-survey-dialog {
  transform: translateY(0) scale(1);
}

.exit-survey-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 4px 8px;
}

.exit-survey-close:hover {
  color: #555;
}

.exit-survey-dialog {
  position: relative;
}

.exit-survey-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.5;
}

.exit-survey-sub {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 18px;
}

.exit-survey-options {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exit-survey-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.exit-survey-option:hover {
  border-color: #06c755;
  background: #f5fdf8;
}

.exit-survey-option input {
  margin-top: 3px;
  accent-color: #06c755;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.exit-survey-option span {
  font-size: 0.92rem;
  line-height: 1.5;
}

.exit-survey-comment {
  display: none;
  width: 100%;
  min-height: 84px;
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
  margin: 0 0 16px;
  box-sizing: border-box;
}

.exit-survey-comment:focus {
  outline: none;
  border-color: #06c755;
}

.exit-survey-comment.is-visible {
  display: block;
}

.exit-survey-submit {
  width: 100%;
  border: none;
  border-radius: 50px;
  padding: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #06c755 0%, #00b900 100%);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.exit-survey-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.exit-survey-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.exit-survey-thanks {
  text-align: center;
  padding: 12px 0;
}

.exit-survey-thanks-emoji {
  font-size: 2rem;
  margin-bottom: 8px;
}

.exit-survey-thanks-text {
  font-size: 1rem;
  font-weight: 600;
}
