@charset "UTF-8";

/* ベース設定 */
body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  margin: 0;
  padding: 0;
}

/* コンテナ全体 */
.login-container {
  max-width: 500px;
  margin: 130px auto;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
}

/* タイトル */
h2 {
  text-align: center;
  color: #004d7a;
  margin-bottom: 20px;
}

/* フォーム */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ラベルと入力 */
label {
  font-weight: bold;
  margin-top: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
  padding: 10px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  padding: 10px;
  background-color: #007bcd;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
}

button:hover {
  background-color: #005fa3;
}

/* エラーメッセージ */
.error {
  color: red;
  text-align: center;
  margin-top: 15px;
}

/* ラジオボタン横並び */
.radio-group {
  display: flex;
  gap: 20px;
  margin-left: 10px;
}

.radio-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
}

/* 生年月日選択グループ */
.select-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
  margin-left: 10px;
}
