/* モバイル用・シンプルスタイル */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.8;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a { color: inherit; text-decoration: none; }

/* main を中央寄せ */
.story-center {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* フレーム */
.story-frame {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 20px 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  text-align: center;
}

#story-text {
  font-size: 18px;
  margin: 0 0 12px;
  word-break: keep-all;
}

/* 選択肢（ボタン） */
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  background: #fafafa;
  min-width: 44px;
  min-height: 44px; /* タップサイズ確保 */
  line-height: 1;
  touch-action: manipulation;
  user-select: none;
  transition: transform 0.08s ease, filter 0.15s ease, background 0.2s ease;
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid #99c2ff; outline-offset: 2px; }
.btn:hover { filter: brightness(1.05); }

/* ちょい大きめの画面で文字を少し大きく */
@media (min-width: 480px) {
  #story-text { font-size: 19px; }
  .btn { font-size: 17px; padding: 14px 18px; }
}
