.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* クイズ画面 */
#progress-bar {
  width: 100%;
  height: 6px;
  background-color: #e0d5c8;
  border-radius: 3px;
  margin: 1rem 0 2rem;
  overflow: hidden;
}

#progress-fill {
  height: 100%;
  background-color: #8b5e3c;
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 0%;
}

#question-number {
  font-size: 1.3rem;
  color: #8b7355;
  margin-bottom: 0.8rem;
}

#question-text {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 2.4rem;
  color: #3a2e1e;
}

#choices {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.choice-btn {
  background-color: #fff;
  border: 2px solid #c8b49a;
  border-radius: 8px;
  padding: 1.4rem 1.9rem;
  font-size: 1.5rem;
  color: #3a2e1e;
  cursor: pointer;
  text-align: left;
  transition:
    background-color 0.15s,
    border-color 0.15s;
  line-height: 1.5;
}

.choice-btn:hover {
  background-color: #f5ede3;
  border-color: #8b5e3c;
}

/* 結果画面 */
#result-screen {
  text-align: center;
  margin-top: 2rem;
}

#result-label {
  font-size: 1.4rem;
  color: #8b7355;
  margin-bottom: 0.8rem;
}

#result-name {
  font-size: 3.2rem;
  color: #5c3d1e;
  margin-bottom: 0.6rem;
}

#result-rank {
  font-size: 1.4rem;
  color: #8b7355;
  margin-bottom: 2.4rem;
}

#result-description {
  font-size: 1.5rem;
  line-height: 1.8;
  color: #3a2e1e;
  background-color: #fff;
  border: 1px solid #e0d5c8;
  border-radius: 8px;
  padding: 1.9rem;
  margin-bottom: 3.2rem;
  text-align: left;
}

.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
