* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body {
  background-color: #e6e6fa; /* 淡い水色背景色 */
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* 上に配置 */
  height: auto; /* 自動調整 */
  overflow: hidden; /* スクロールを防止 */
  margin-top: 10px; /* 10px下にずらす */
}

.card {
  width: calc(100% - 20px); /* 横幅を画面幅の100%から左右10pxを引いた値に */
  max-width: 1000px;
  text-align: center;
  padding-top: 20px; /* タイトルの位置調整 */
  overflow: auto; /* 内容が溢れた時にスクロール可能に */
}

h2 {
  position: relative;
  background-color: #fffaf0; /* 巻物風の背景 */
  color: #000;
  padding: 20px 40px;
  padding-left: 40px; /* タイトルと緑の縦棒の間に余白を追加 */
  font-size: 24px;
  border: 5px solid #255a25; /* 緑系の枠 */
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 影 */
}

/* 巻物の左側の緑の縦棒 */
h2::after {
  content: "";
  position: absolute;
  left: -5px; /* 左側の位置調整 */
  top: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 120%; /* 緑の縦棒の高さ */
  background-color: #255a25; /* 緑系の枠 */
  border-radius: 10px;
}

/* 緑棒の上下に茶色の縦棒 */
h2::before {
  content: "";
  position: absolute;
  left: 0px; /* 左側の位置調整 */
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 130%; /* 茶色の縦棒の高さ */
  background-color: #a67c52; /* 茶色の棒 */
  border-radius: 10px;
}

/* 選択肢の配置 */
.choices-container {
  display: grid;
  grid-template-columns: 1fr; /* 1列に変更 */
  grid-template-rows: repeat(4, 1fr); /* 4行に分けて配置 */
  gap: 20px; /* 各選択肢の間隔 */
}

.choice button {
  width: 100%;
  padding: 20px;
  font-size: 20px;
  background-color: #fffaf0;
  border: 2px solid #333;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  transition: background-color 0.3s;
}

.choice button:hover {
  background-color: #f0f0f0;
}

.choice button:focus {
  outline: none;
  box-shadow: none;
  background-color: #fffaf0; /* 通常の背景に戻す */
}
