/* FX Quiz Plugin Styles */
.fxq-wrap {
  max-width: 720px;
  margin: 24px auto;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.fxq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.fxq-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.fxq-progress {
  font-size: 14px;
  color: #666;
  background: #f5f5f5;
  padding: 6px 12px;
  border-radius: 20px;
}

.fxq-question {
  font-size: 20px;
  font-weight: 600;
  margin: 24px 0 20px;
  color: #222;
  line-height: 1.6;
}

.fxq-choices {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.fxq-choice {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fff;
}

.fxq-choice:hover {
  border-color: #4a90e2;
  background: #f8f9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(74, 144, 226, 0.1);
}

.fxq-choice-selected {
  border-color: #4a90e2;
  background: #f0f7ff;
  font-weight: 600;
}

.fxq-choice input[type="radio"] {
  transform: scale(1.2);
  cursor: pointer;
  accent-color: #4a90e2;
}

.fxq-choice span {
  flex: 1;
  font-size: 16px;
  color: #333;
}

.fxq-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.fxq-btn {
  padding: 14px 24px;
  border-radius: 8px;
  border: 2px solid;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.fxq-btn-main {
  background: #4a90e2;
  color: #fff;
  border-color: #4a90e2;
  flex: 1;
}

.fxq-btn-main:hover:not(:disabled) {
  background: #357abd;
  border-color: #357abd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.fxq-btn-sub {
  background: #fff;
  color: #666;
  border-color: #ddd;
}

.fxq-btn-sub:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #999;
}

.fxq-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 結果ページスタイル */
.fxq-result {
  padding: 32px;
}

.fxq-result-box {
  margin-top: 24px;
  padding: 24px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  background: #fafafa;
}

.fxq-result-type {
  font-size: 20px;
  font-weight: 700;
  color: #4a90e2;
  margin-bottom: 12px;
  padding: 8px 16px;
  background: #fff;
  border-radius: 6px;
  display: inline-block;
}

.fxq-result-scores {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
  display: inline-block;
}

.fxq-result-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-top: 16px;
}

.fxq-result-text p {
  margin-bottom: 12px;
}

.fxq-result-text strong {
  color: #4a90e2;
  font-weight: 600;
}

.fxq-cta {
  margin-top: 32px;
  text-align: center;
  padding: 24px;
  background: #f8f9ff;
  border-radius: 12px;
  border: 2px dashed #4a90e2;
}

.fxq-cta-btn {
  display: inline-block;
  min-width: 280px;
  padding: 16px 32px;
  font-size: 18px;
  margin-bottom: 16px;
}

.fxq-note {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.fxq-link {
  color: #4a90e2;
  text-decoration: underline;
}

.fxq-link:hover {
  color: #357abd;
}

/* メルマガ登録フォーム */
.fxq-mailmag {
  margin-top: 32px;
  padding: 24px;
  background: #fff;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
}

.fxq-mailmag-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
}

.fxq-mailmag-desc {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.fxq-mailmag-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

.fxq-mailmag-input {
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.fxq-mailmag-input:focus {
  outline: none;
  border-color: #4a90e2;
}

/* 登録完了ページスタイル */
.fxq-thanks {
  text-align: center;
  padding: 48px 24px;
}

.fxq-thanks-icon {
  font-size: 64px;
  color: #4a90e2;
  margin-bottom: 24px;
  font-weight: bold;
}

.fxq-thanks-message {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 24px 0;
}

.fxq-thanks-message p {
  margin-bottom: 12px;
}

.fxq-thanks-cta {
  margin-top: 32px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .fxq-wrap {
    margin: 12px;
    padding: 16px;
  }

  .fxq-title {
    font-size: 20px;
  }

  .fxq-question {
    font-size: 18px;
  }

  .fxq-choice {
    padding: 14px;
  }

  .fxq-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .fxq-footer {
    flex-direction: column;
  }

  .fxq-btn-main,
  .fxq-btn-sub {
    width: 100%;
  }

  .fxq-cta-btn {
    min-width: 100%;
  }
}