/* ===== クイズ全体の背景と基本スタイル ===== */
.quizForm1 {
  margin-bottom: -30px;
}

.qsm-page {
  background: #dbedf6;
  padding: 40px 20px;
  font-family: "Helvetica Neue", sans-serif;
  margin-bottom: -20px;
}

/* ===== タイトルメッセージ ===== */
.mlw_qmn_message_before p {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin: 30px 0 10px 0 !important;
  color: #003366;
}

/* ===== 各問題ブロック（幅980pxに制限） ===== */
.quiz_section.qsm-question-wrapper {
  display: block;
  max-width: 980px;
  margin: 0 auto 30px;
  background: #fff;
  border: 2px solid #005bac;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quiz_section {
  max-width: 980px;
  margin: 0 auto 20px !important;
}

/* ===== 問題文（質問） ===== */
.mlw_qmn_new_question {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #005bac;
}

/* ===== 選択肢の各ラジオボタン ===== */
.qmn_mc_answer_wrap {
  margin: 5px 0 10px 0 !important;
}

.qsm-input-label {
  font-size: 16px !important;
  padding-left: 8px;
  color: #333;
  display: inline-block;
}

.qmn_quiz_radio {
  transform: scale(1.2);
  margin-right: 6px;
  vertical-align: baseline !important;
}

/* ===== フォーム入力欄（Name, Email, Phone 共通） ===== */
.qsm_contact_div {
  text-align: left;
  max-width: 600px;
  margin: 30px auto 20px auto;
  padding: 10px;
  box-sizing: border-box;
}

/* ラベル（共通） */
.qsm_contact_div label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 16px;
  color: #003366;
}

/* 入力欄（共通） */
.qsm_contact_div input[type="text"],
.qsm_contact_div input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 2px solid #005bac;
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
}



/* ===== 最終メッセージ ===== */
.qsm-after-message {
  text-align: center;
  font-size: 18px;
  color: #005bac;
  margin-top: 20px;
}

/* ===== 送信ボタン ===== */
.qsm-pagination {
  text-align: center !important;
  background: #dbedf6;
  padding: 30px 0 60px 0 !important;
  margin-bottom: 0 !important;
}

.qsm-pagination input.qsm-submit-btn[type="submit"] {
  display: inline-block;
  margin: 0 auto;
  background-color: #005bac;
  color: #fff;
  padding: 20px 150px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.qsm-pagination input.qsm-submit-btn[type="submit"]:hover {
  background-color: #004b97;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* ===== 他のページ送りボタン非表示 ===== */
.qsm-pagination .qsm-btn:not(.qsm-submit-btn) {
  display: none !important;
}