body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #f4f7f6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.body, html {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #f4f7f6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  overflow-x: hidden;
}

.container {
  padding: 20px;
  width: 100%;
  max-width: 500px; /* カードの最大幅 */
}

.thank-you-container {
  padding: 20px;
  width: 100%;
  max-width: 500px; /* カードの最大幅 */
}

.thank-you-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thank-you-card h1 {
  white-space: nowrap; /* 改行をしないように設定 */
  font-size: 24px; /* 必要に応じてフォントサイズを調整 */
  overflow: hidden; /* コンテンツがオーバーフローした場合は非表示にする */
  text-overflow: ellipsis; /* オーバーフローしたテキストの末尾に三点リーダーを表示 */
}

h1 {
  color: #37a864; /* タイトルの色 */
  margin-bottom: 20px;
}

p {
  color: #626262; /* パラグラフの色 */
  line-height: 1.5;
}

#order-number {
  color: #333333; /* 注文番号の色 */
  font-weight: bold;
}

.continue-shopping-btn, .repeat-order-btn {
  display: inline-block;
  margin-top: 25px;
  margin-right: 10px; /* ボタンの間隔 */
  padding: 10px 30px;
  background-color: #37a864; /* ボタンの背景色 */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  border: none; /* ボーダーがないことを確認 */
  cursor: pointer; /* ホバー時にカーソルをポインタに */
  transition: background-color 0.3s;
}

.continue-shopping-btn:hover, .repeat-order-btn:hover {
  background-color: #2e8b57; /* ホバー時のボタンの色 */
}

.contact-info {
  margin-top: 20px; /* 上の要素からの余白 */
  background-color: #f0f0f0; /* 背景色 */
  padding: 10px; /* パディング */
  border-radius: 5px; /* 角の丸み */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 影をつける */
  text-align: center; /* テキストを中央揃えに */
}

/* メディアクエリでスマホ用に調整 */
@media (max-width: 1000px) {

  .thank-you-card {
      padding: 20px; /* パディングを適度に */
  }

  .thank-you-card h1 {
      font-size: 24px; /* 見出しのフォントサイズ */
  }

  .continue-shopping-btn, .repeat-order-btn {
      font-size: 16px; /* ボタンのフォントサイズ */
      padding: 10px 20px; /* ボタンのパディング */
  }

  .contact-info {
      padding: 5px; /* パディングを小さく */
      font-size: 14px; /* フォントサイズを小さく */
  }

  .contact-info p {
      font-size: 14px; /* 連絡先情報のフォントサイズを小さく */
  }

  .thank-you-container h1 {
    font-size: 18px; /* h1のフォントサイズを変更 */
  }

  .thank-you-container p {
    font-size: 12px; /* pのフォントサイズを変更 */
  }
}





