.button-container {
  display: flex; /* 子要素（ボタン）を横並びにする */
  gap: 20px;     /* ボタン間のスペース */
  justify-content: center; /* ボタン全体を中央寄せ */
  flex-wrap: wrap; /* 画面幅が足りない場合に子要素を折り返す */
}

.long-button {
  display: block;
  width: 300px; /* 幅を広く設定 */
  padding: 15px 30px;
  background-color: #c0c0c0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  /* ボタン内部のフレックスボックス設定 */
  display: flex;
  justify-content: center;
  align-items: center;
}

.long-button:hover {
  background-color: #e0e0e0;
}

.long-button:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: translateY(2px);
}

.button-link {
  text-decoration: none; /* リンクの下線を消す */
  color: #191970;          /* リンクの文字色を白に */
  font-size: 18px;       /* リンクのフォントサイズをボタンに合わせる */
  font-weight: bold;     /* 文字を太くする（任意） */
}

.button-link:hover {
  text-decoration: none; /* リンクの下線を消す */

}

@media (max-width: 768px) { /* 画面幅が768px以下の場合に適用 */
  .button-container {
    flex-direction: column; /* 子要素（ボタン）を縦並びにする */
    align-items: center;    /* 縦並びになったボタンを中央寄せ */
    gap: 15px;              /* 縦並びになったときのボタン間のスペース */
  }

  .long-button {
    width: 90%; /* スマホでは幅を画面の90%にするなど調整 */
    max-width: 300px; /* ただし、最大幅は300px */
  }
}