@charset "UTF-8";

body * {
  margin: 0;
  padding: 0;
  font-family:'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
}

body {
  background-color: #002060;
}

div.s_login_container {
  background-color: #002060;
  display:flex;
  flex-direction:column;
  width: 100%;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 435px;
  min-height: auto;
  margin: 0 auto auto auto;
}
form.s_logo {
  min-height: 350px;
}

.s_logo {
  width: 215px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.s_logo img.s_logo {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
}

div.s_login_box {
  display:flex;
  flex-direction:row;
  justify-content: center;
}

div.s_login_box > input {
  display: block;
  background: #bfc7d7;
  border: 2px solid #fff;
  color: black;
  width: 460px;
  height: 55px;
  padding: 6px 12px;
  max-width: 237px;
  box-sizing: border-box;
  font-size: 20px;
}

div.s_login_box > input.s_login_name {
  margin: 0 0.5em 0 0;
}
div.s_login_box > input.s_login_pass {
  margin: 0 0 0 0.5em;
}

button.s_login_button {
  display: block;
  margin: 32px auto;
  background: #005ca8;
  border: 2px solid #fff;
  color: #fff;
  width: 460px;
  height: 64px;
  font-size: 20px;
  max-width: 200px;
  padding: 12px;
}

button.s_login_button:hover {
  background-color: #00c0e0;
}

/* エラーメッセージ */
div.s_error{
  display: hidden;
  animation-name: fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
  border-radius: 5px;
  padding: 10px 20px;
  background-color: #ff0000;
  color: #fff;
  margin: 0 auto;
  text-align: center;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (max-width: 570px) {
  div.s_login_container {
    height: 510px;
  }

  div.s_login_box {
    display: block;
  }

  div.s_login_box > input.s_login_name {
    width: 90%;
    max-width: 320px;
    margin: 0 auto 1em;
  }

  div.s_login_box > input.s_login_pass {
    width: 90%;
    max-width: 320px;
    margin: 0 auto;
  }
}

