/* ==========================================================
   ITO メッセージカード — お題つきバージョン
   ---
   第4回で作ったITOカードに、 配列から選んだ「お題」 を表示するエリアを追加しています。
   色や大きさは自由に書き換えてOKです。
   ========================================================== */

body {
  background: #f7f8fc;
  font-family: "Noto Sans JP", sans-serif;
  color: #2c2c2c;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

.card {
  background: #ffffff;
  width: 280px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-title {
  font-size: 20px;
  margin: 0 0 12px;
}

.card-image {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 12px;
}

.card-number {
  font-size: 56px;
  font-weight: 700;
  margin: 0 0 12px;
}

.topic {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e1;
  color: #92410c;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #2d4084;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.message {
  width: 100%;
  min-height: 72px;
  box-sizing: border-box;
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 8px;
  background: #eef2ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}
