body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #333;
  color: white;
}

.title {
  font-size: 1.5rem;
  margin: 0;
}

.retire-button {
  padding: 8px 16px;
  font-size: 1rem;
  background-color: #ff4d4d;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.retire-button:hover {
  background-color: #ff1a1a;
}

.game-container {
  text-align: center;
  margin-top: 20px;
}

.header-info {
  width: 600px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.question-counter,
.timer {
  font-size: 1.2rem;
  color: #333;
}

.prompt {
  font-size: 2rem;
  margin: 20px 0;
}

.input-area {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

textarea {
  width: 80%;
  max-width: 600px;
  height: 3.2em;
  font-size: 1.5rem;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: centerr;
  resize: none; /* ユーザーがサイズを変更できないようにする */
}

.history-container {
  margin-top: 20px;
  padding: 0 20px;
  text-align: left;
}

.history-container h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  margin: 0 auto;
  width: 600px;
  color: #555;
}

.correct {
  color: green !important; /* 緑色を適用 */
}

.default {
  color: black; /* 通常の文字色 */
}

.history-container ul {
  list-style-type: none;
  padding: 0;
  width: 600px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.history-container li {
  display: flex;
  justify-content: space-between; /* 左右に配置 */
  margin-bottom: 5px;
}

.history-container .time {
  text-align: right;
  color: #555; /* 時間部分の色を薄く設定 */
}

/* テキストが溢れた場合に折り返し表示 */
.history-container li span {
  word-wrap: break-word;
}

.button-container {
  display: flex;
  gap: 10px;
}

.pass-button {
  padding: 8px 16px;
  font-size: 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.pass-button:hover {
  background-color: #45a049;
}
