* {
  box-sizing: border-box;
}

body {
  margin: 40px 20px;
  font-family: Arial, sans-serif;
  font-size: 24px;
  color: #333;
  background-color: #F8F9FA;
}

.login-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 12px;
}

.login-container h2 {
  text-align: center;
  font-size: 28px;
}

.error-message {
  color: red;
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

label {
  display: block;
  font-size: 22px;
  margin-bottom: 2px;
  color: #2C3E50;
}

input[type="password"],
input[type="tel"],
input[type="text"] {
  width: 100%;
  font-size: 22px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}

input[type="password"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus {
  border-color: #007BFF;
  outline: none;
}

button[type="submit"] {
  width: 100%;
  font-size: 24px;
  padding: 12px;
  background: #0000CD;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type="submit"]:hover {
  background: #0000b0;
}

button[type="submit"]:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.form-group .note {
    display: block;       /* 改行してラベルの下に表示 */
    font-size: 0.5em;    /* 小さめの文字にする */
    color: #666;          /* 薄めの色にして補足感を出す */
    margin-bottom: 1px;   /* 入力欄との間に余白 */
}
