/* 背景 */
body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  background: linear-gradient(160deg, #ffffff 0%, #1E4C9F 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  color: #333; 
}

/* ログイン画面 */
.login-container {
  background: #fff;
  padding: 40px 50px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  width: 420px;
  border-top: 6px solid #1E4C9F;
} 

.title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 5px 0 24px;   /* 上下に余白を追加 */
}

.title img {
  width: auto;
  height: auto;
  display: block;
}

.footer {
  text-align: center;
  margin-top: 20px;
}

.footer img {
  width: 180px;     /* 固定幅 */
  max-width: 100%;  /* 小さい画面では縮小 */
  height: auto;
  display: block;
  margin: 0 auto;
}

.error {
  background-color: #ffecec;
  color: #d32f2f;
  border: 1px solid #f5c2c2;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 18px;
  text-align: center;
  font-size: 14px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  display: block;              /* ブロック要素化して margin が効くように */
  margin: 0 auto 12px auto;    /* 上0 下12px 左右自動 → 中央配置 */
  padding: 10px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

input[type="submit"] {
  width: 50%;
  display: block;              /* ブロック要素化して margin が効くように */
  margin: 0 auto 12px auto;    /* 上0 下12px 左右自動 → 中央配置 */
  padding: 10px 30px;          /* 横は自動で余白確保、縦10px */
  background: #1E4C9F;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px !important;
}

input[type="submit"]:hover {
  background: #3E7CDF;
}

.footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #999;
}

.login-desc {
  font-size: 10px;         /* 文字サイズ */
  color: #666;           /* 薄めのグレー */
  text-align: center;      /* 中央揃え */
  margin-top: 12px;        /* ボタンとの間隔 */
  line-height: 1.5;
}

.login-desc a {
  color: blue;          /* リンク色 */
  text-decoration: underline;
}
