/* common */
html {
  /* 背景をhtml（一番外側）に持たせる */
  background: linear-gradient(to right, #f59090, #fcd7a1, #fff9b1, #a5d4ad, #a3bce2, #a59aca, #cfa7cd) fixed;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  /* -webkit-text-size-adjust: 100%; */
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100dvh;
  background: transparent !important;
  /* 変なスクロールを徹底排除 */
  overflow: hidden;
  /* iPhone特有のタップハイライトやテキストサイズ調整を抑える */
  /* -webkit-text-size-adjust: 100%; */
  -webkit-tap-highlight-color: transparent;
  font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: -webkit-fill-available;
  /* iOS Chrome/Safari向けの古い指定ですが、今でも効くことがあります */
  touch-action: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: #00B7FF;
}

/* ボタンの共通スタイル */
.game-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s;
}

.game-button:active {
  transform: scale(0.95);
}

.primary {
  background-color: #007bff;
  color: white;
}

.secondary {
  background: rgba(255, 255, 255, 0.3);
  color: #333;
}




/* common */
.fade-in {
  animation: fade-in 1s;
  animation-fill-mode: forwards;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* end of common */