/* ベース設定 */
body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background: #f0f2f5;
  color: #333;
}

/* 中央に白いカードを表示 */
.form-container {
  width: 90%;
  max-width: 420px;
  margin: 60px auto;
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  text-align: left;
}

/* 見出し */
.form-container h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

/* ラベル */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

/* 入力欄 */
input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

/* 小さな注釈 */
.small {
  font-size: 12px;
  color: #555;
}

/* ボタン */
button {
  width: 100%;
  padding: 12px;
  background-color: #38a169; /* グリーン */
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #2f855a;
}

/* エラー表示 */
.error {
  color: red;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: center;
}

/* 下部リンク */
.form-container p.small {
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

.form-container a {
  color: #2b6cb0;
  text-decoration: none;
}

.form-container a:hover {
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .form-container {
    padding: 20px 15px;
  }

  button {
    font-size: 14px;
  }
}
