/* ====================== LOGIN PAGE ====================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* body */
body {
  height: 100vh; /* 画面の高さに合わせる */
  margin: 0;
  display: flex;
  justify-content: center; /* 横方向に中央揃え */
  align-items: center;     /* 縦方向に中央揃え */
  color: #9c9a9a;
  font: 400 87.5%/1.5em 'Open Sans', sans-serif;
}

/* Form Layout */
.form-wrapper {
  background: #fafafa;
  margin: 0em auto; /* 横センタリングの補助 */
  padding: 0 1em;
  max-width: 370px;
  width: 100%;
}

h2 {
  text-align: center;
  padding: 0.5em 0;
}

form {
  padding: 0 1.5em;
}

.form-item {
  margin-top: 1.2em;
  margin-bottom: 1.0em;
  width: 100%;
}

.form-item input {
  background: #fafafa;
  border: none;
  border-bottom: 2px solid #e9e9e9;
  color: #666;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  height: 35px;
  transition: border-color 0.3s;
  width: 100%;
}

.form-item input:focus {
  border-bottom: 1px solid #c0c0c0;
  outline: none;
}

.button-panel {
  margin: 2em 0 0;
  width: 100%;
}

.button-panel .button {
  background: #b6b3b4;
  border: none;
  color: #fff;
  cursor: pointer;
  height: 50px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: uppercase;
  transition: background 0.3s ease-in-out;
  width: 100%;
}

.button:hover {
  background: #706e6f;
}

.form-footer {
  font-size: 1em;
  padding: 2em 0;
  text-align: center;
}

.form-footer a {
  color: #8c8c8c;
  text-decoration: none;
  transition: border-color 0.3s;
}

.form-footer a:hover {
  border-bottom: 1px dotted #8c8c8c;
}
