/* ベース設定 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  background-color: #eaf2fb;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* カードデザイン */
.container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

/* タイトル */
.container h1 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #1e3a8a;
}

/* ラベルと入力欄 */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: #333;
  font-weight: bold;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  padding: 0.7rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 4px rgba(37, 99, 235, 0.25);
}

/* ログインボタン */
button[type="submit"] {
  width: 100%;
  padding: 0.8rem;
  background-color: #2563eb;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.1s ease;
}

button[type="submit"]:hover {
  background-color: #1d4ed8;
}

button[type="submit"]:active {
  transform: scale(0.98);
}

/* 補足リンク */
.login-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.login-link a {
  color: #2563eb;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* スマホ対応 */
@media screen and (max-width: 480px) {
  .container {
    padding: 1.5rem;
    margin: 1rem;
  }

  .container h1 {
    font-size: 1.4rem;
  }
}