.sc-quiz-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin-top: 40px;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #333;
  border-top: 1px solid #eee;
  padding-top: 30px;
}
.sc-quiz-header {
  text-align: center;
  margin-bottom: 40px;
  color: #0073aa;
  font-size: 1.5em;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}
.sc-quiz-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #0073aa;
}
.sc-question-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: border-color 0.3s;
}
.sc-question-item:hover {
  border-color: #bce8f1;
}
.sc-question-text {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: 20px;
  border-left: 5px solid #0073aa;
  padding-left: 15px;
  color: #2c3e50;
}
.sc-options-list {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-option-label {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #fff;
}
.sc-option-label:hover {
  background-color: #f0f8ff;
  border-color: #add8e6;
}
.sc-option-input {
  display: none;
}
.sc-radio-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  margin-right: 12px;
  position: relative;
  transition: all 0.2s;
}
.sc-option-text {
  font-size: 1em;
}

/* ヒント */
.sc-hint-area {
  margin-top: 15px;
  margin-bottom: 15px;
}
.sc-hint-toggle {
  color: #0073aa;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9em;
  background: none;
  border: none;
  padding: 0;
}
.sc-hint-content {
  display: none;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #f0f8ff;
  border-left: 4px solid #87ceeb;
  font-size: 0.95em;
  color: #555;
}

/* 結果表示 */
.sc-feedback-area {
  display: none;
  margin-top: 20px;
  padding: 20px;
  border-radius: 8px;
  background-color: #f8f9fa;
  border-left: 5px solid #ccc;
  animation: sc-slide-down 0.3s ease-out;
}
@keyframes sc-slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.sc-feedback-correct {
  border-left-color: #28a745;
  background-color: #d4edda;
}
.sc-result-title-correct { color: #155724; }
.sc-result-title-correct::before { content: "\2705"; margin-right: 8px; }

.sc-feedback-wrong {
  border-left-color: #dc3545;
  background-color: #f8d7da;
}
.sc-result-title-wrong { color: #721c24; }
.sc-result-title-wrong::before { content: "\274C"; margin-right: 8px; }

.sc-result-title {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.sc-explanation-container {
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #eee;
  color: #333;
  font-size: 0.95em;
  margin-bottom: 20px;
}
.sc-explanation-label {
  font-weight: bold;
  color: #0073aa;
  display: block;
  margin-bottom: 8px;
}
.sc-other-rationales-container {
  background-color: #fff;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #eee;
  color: #333;
  font-size: 0.95em;
  margin-top: 15px;
}
.sc-other-rationales-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}
.sc-other-rationales-list li {
  margin-bottom: 15px;
}
.sc-other-option-text {
  font-weight: bold;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

/* 回答後のスタイル */
.sc-question-item.answered .sc-option-label { cursor: default; pointer-events: none; }
.sc-question-item.answered .sc-option-label.not-selected { opacity: 0.6; background-color: #f9f9f9; border-color: #eee; }
.sc-question-item.answered .sc-option-label.correct-option {
  background-color: #e6f3fa;
  border-color: #0073aa;
  color: #0073aa;
  font-weight: bold;
}
.sc-question-item.answered .sc-option-label.correct-option .sc-radio-mark { border-color: #0073aa; background-color: #0073aa; }
.sc-question-item.answered .sc-option-label.correct-option .sc-radio-mark::after {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.sc-question-item.answered .sc-option-label.selected-wrong {
  background-color: #fdf2f2;
  border-color: #dc3545;
  color: #dc3545;
}
.sc-question-item.answered .sc-option-label.selected-wrong .sc-radio-mark { border-color: #dc3545; background-color: #dc3545; }
