body {
  font-family: sans-serif;
  background-color: #0a0a0a;
}

h1 {
  text-align: center;
    color: white;
}

.buttons {
  text-align: center;
  margin-bottom: 20px;
}

button {
  padding: 8px 16px;
  margin: 0 5px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 8px;
  /* 見た目を整えつつ、アニメーション用の初期設定 */
  background: white;
  transition: transform 180ms cubic-bezier(.2,.9,.2,1), box-shadow 180ms ease;
  will-change: transform;
}

/* ホバーで少し上にジャンプさせる */
button:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.08);
}

/* クリックやキーボード操作時は短い押し込みを表現 */
button:active,
button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
  outline: none;
}

/* アクティブ / 押下状態の色付け（マウス/キーボード/状態属性対応） */
button:active,
button.active,
button[aria-pressed="true"],
button:focus-visible {
  background-color: #e91e63; /* ピンク系のアクセント */
  color: white;
  border-color: #e91e63;
}

/* :hover と組み合わせたときの見た目調整 */
button:hover:active,
button.active:hover,
button[aria-pressed="true"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

#product-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  width: 220px;
  background: white;
  border-radius: 8px;
  text-align: center;
  padding: 15px;
}

.card img {
  max-width: 100%;
  height: 150px;
  object-fit: contain;
}

.card h2 {
  font-size: 1.2em;
  margin: 10px 0;
}

.price {
  font-weight: bold;
  color: #e91e63;
}

footer {
  text-align: center;
}

