body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}

.wrapper {
  width: 100%;
  max-width: 968px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  /* 画面いっぱいの高さになるように */
  min-height: 100vh;
  padding-bottom: 100px; /* フッターの高さ分の余白を追加 */
}

.container {
  width: 100%;
  max-width: clamp(600px, 90vw, 800px);
  margin: 0 auto;
  padding-bottom: 100px; /* フッターの高さ分の余白を追加 */
}

.flex {
  display: flex;
  gap: 10px; /* input要素間のスペースを調整 */
}

.flex input {
  flex: 1; /* input要素が均等に幅を取るようにする */
  box-sizing: border-box; /* パディングとボーダーを含めて幅を計算 */
}

.container form {
  display: flex;
  flex-direction: column;
}

.container form label {
  margin-top: 10px;
  font-weight: bold;
}

.container form input,
.container form select,
.container form button {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 24px;
}

.container form button {
  background-color: #28a745;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.container form button:hover {
  background-color: #218838;
}

.error {
  border: 2px solid red;
}

.pay-method {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pay-method label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.pay-method input[type="radio"] {
  display: none;
}

.pay-method img {
  width: 100px;
  /* 画像の幅を調整 */
  height: auto;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.pay-method input[type="radio"]:checked+img {
  border-color: #007bff;
  /* 選択されたときの枠線の色 */
}
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: fixed;
  bottom: 0;
  width: 100%;
}

footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer nav ul li {
  display: inline;
}

footer nav ul li a {
  color: #fff;
  text-decoration: none;
}

footer nav ul li a:hover {
  text-decoration: underline;
}

footer p {
  margin: 10px 0 0;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}