* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  background: #f5f5f0;
  color: #333;
  line-height: 1.7;
}
#app { max-width: 720px; margin: 0 auto; padding: 16px; }
header { text-align: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 2px solid #8b7355; }
header h1 { font-size: 1.4rem; color: #4a3520; }
#progress { margin-top: 8px; font-size: 0.85rem; color: #888; }
#score { margin-top: 4px; font-size: 0.85rem; color: #8b7355; font-weight: bold; }
main { background: #fff; border-radius: 8px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.phase-title { font-size: 1.1rem; color: #4a3520; margin-bottom: 12px; font-weight: bold; }
.case-title { font-size: 1.3rem; color: #4a3520; margin-bottom: 16px; }
.presentation { font-size: 1.05rem; margin-bottom: 20px; padding: 16px; background: #faf8f0; border-radius: 6px; border-left: 4px solid #8b7355; }
.interview-list { margin-bottom: 20px; }
.interview-list li { list-style: none; padding: 8px 0 8px 24px; position: relative; }
.interview-list li::before { content: "▸"; position: absolute; left: 8px; color: #8b7355; }

.options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.option-btn {
  padding: 14px 20px; border: 2px solid #ddd; border-radius: 6px;
  background: #fff; font-size: 1rem; cursor: pointer; text-align: left;
  transition: all 0.2s; font-family: inherit;
}
.option-btn:hover { border-color: #8b7355; background: #faf8f0; }
.option-btn.selected { border-color: #8b7355; background: #f0ebe0; }
.option-btn.correct { border-color: #4a8; background: #e6f5ec; }
.option-btn.wrong { border-color: #c44; background: #fce8e8; }

.feedback { padding: 16px; border-radius: 6px; margin-bottom: 16px; }
.feedback.correct { background: #e6f5ec; border-left: 4px solid #4a8; }
.feedback.wrong { background: #fce8e8; border-left: 4px solid #c44; }
.feedback p { margin-bottom: 8px; }
.feedback .label { font-weight: bold; }
.feedback .trap { color: #c44; font-weight: bold; }
.feedback .safety { color: #c80; font-weight: bold; }
.feedback .explanation { color: #4a3520; }

.next-btn {
  display: block; width: 100%; padding: 14px; border: none; border-radius: 6px;
  background: #8b7355; color: #fff; font-size: 1.05rem; cursor: pointer;
  font-family: inherit; transition: background 0.2s;
}
.next-btn:hover { background: #6b5340; }
.next-btn:disabled { background: #ccc; cursor: not-allowed; }

.final-screen { text-align: center; padding: 20px; }
.final-screen h2 { color: #4a3520; margin-bottom: 12px; }
.final-score { font-size: 2rem; color: #8b7355; margin: 16px 0; }
.restart-btn {
  padding: 12px 32px; border: none; border-radius: 6px;
  background: #8b7355; color: #fff; font-size: 1rem; cursor: pointer; font-family: inherit;
}
.restart-btn:hover { background: #6b5340; }
