.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  border-radius: 4px;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  text-align: center;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* ボタン全体の幅を調整 */
  max-width: 400px;
  min-width: 200px; /* 必要に応じて調整 */
  white-space: nowrap;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 8px; /* アイコンとテキストの間隔を調整 */
  min-width: 20px;
  width: 20px;
  flex-shrink: 0; /* アイコンが縮小されないように設定 */
}

.gsi-material-button .gsi-material-button-contents {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  flex-grow: 1; /* テキスト部分が均等にスペースを取る */
}

.gsi-material-button:not(:disabled):hover {
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-container {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.input-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 5px;
    font-size: 14px;
}

.btn-login {
    width: 100%;
    padding: 10px;
    background-color: #e60023;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #006400;
}

.register-link {
    color: #007BFF;
    text-decoration: none;
    font-size: 14px;
}

.register-link:hover {
    text-decoration: underline;
}

/* 各フォームグループ全体のスタイル */
div[style*="margin-bottom: 15px;"] {
    text-align: left; /* ラベルと入力フィールドを左揃え */
    margin-bottom: 15px; /* フォーム間のスペースを設定 */
}

/* ラベルのスタイル */
.form-label {
    display: block; /* ラベルをブロック要素として扱う */
    font-weight: bold; /* ラベルを太字に */
    margin-bottom: 0px; /* ラベルと入力欄の間にスペースを設定 */
    text-align: left; /* ラベルを明示的に左揃え */
    color: #333; /* ラベルの文字色 */
}

/* 入力フィールドのスタイル */
.input-field {
    width: 100%; /* フィールドを親要素の幅に合わせる */
    padding: 10px; /* フィールド内の余白を設定 */
    border: 1px solid #ccc; /* フィールドの境界線を設定 */
    border-radius: 5px; /* 角丸を設定 */
    font-size: 14px; /* フォントサイズを指定 */
    box-sizing: border-box; /* パディングを幅に含める */
}

.error-messages {
    color: red;
    background-color: #ffe6e6;
    border: 1px solid red;
    padding: 10px;
    border-radius: 5px;
    list-style: none;
    margin-bottom: 20px;
}
.error-messages li {
    font-size: 12px;
}


.btn-login {
    background-color: #28a745; /* 緑色 */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    font-size: 1em;
    cursor: pointer;
    text-align: center;
    width: 100%; /* 親要素に対して80%の幅 */
}

.btn-register:hover {
    background-color: #218838; /* 少し濃い緑でホバー効果 */
}

