
#login {
  width: 300px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  border : 4px dashed #3f51b5;
  border-radius: 20px;
}

.title {
  font-size: 38px;
  width: 300px;
  text-align: center;
  color: darkblue;
  margin-bottom: 5px;
}

.message {
  font-size: 20px;
  width: 300px;
  text-align: center;
  color: red;
  margin-top: 0px;
}

/* mailアニメーション */
.mail_box {
  display: flex; 
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  border-radius: 5px;
  border: 1px solid lightgray;
  margin-bottom: 20px;
}

.mail_inner {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: transparent;
}

#mail {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  top: 0; left: 0; bottom: 0; right: 0;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 16px;
  background-color: transparent;
  box-sizing: border-box;
}

.mail_string {
  position: absolute;
  height: 100%;
  width: 140px;
  top: 0; left: 0; bottom: 0; right: 0;
  padding-left: 10px;
  font-size: 16px;
  line-height: 50px;
  background-color: transparent;
  color: #80868b;
  box-sizing: border-box;
  transition: all 0.3s;
  text-align: left;
}

/* passwordアニメーション */
.password_box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50px;
  border-radius: 5px;
  border: 1px solid lightgray;
  margin-bottom: 20px;
}

.password_inner {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: transparent;
}

#password {
  position: absolute;
  z-index: 1;
  height: 100%;
  width: 100%;
  top: 0; left: 0; bottom: 0; right: 0;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 16px;
  background-color: transparent;
  box-sizing: border-box;
}

.password_string {
  position: absolute;
  height: 100%;
  width: 140px;
  top: 0; left: 0; bottom: 0; right: 0;
  padding-left: 10px;
  font-size: 16px;
  line-height: 50px;
  background-color: transparent;
  color: #80868b;
  box-sizing: border-box;
  transition: all 0.3s;
  text-align: left;
}

.not-empty {
  color: #3be5ae;
  z-index: 2;
  font-size: 15px;
  line-height: 10px;
  width: 140px;
  height: 10px;
  padding: 0 2px;
  background-color: white;
  transform:translate3d(5px, -6px, 0);
}


/* loginボタン */
.btn-gradation {
  display: block;
  margin: 0 auto;
  text-align: left;
  background-image: linear-gradient(#eaeaea 0%, #c6c6c6 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.5), 0 2px 2px rgba(0, 0, 0, 0.19);
  color: #a5a5a5;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 16px;
  border: none;

}
.container { 
  margin-bottom: 20px;
}

.logo-mobile {
  display: none;
}

.btn-login-mobile {
  display: none;
}

.forget-password {
  display: none;
}

@media screen and (max-width: 480px) {
  .title {
    display: none;
  }

  .btn-gradation {
    display: none;
  }

  .logo-mobile {
    display: block;
  }

  #login {
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%); 
    width: initial;
    margin: initial;
    border : initial;
    border-radius: initial;
  }
  
  .btn-login-mobile {
    display: block;
    border: none;
    background: none;
  }

  .btn-login-mobile img{
    width: 100%;
  }

  .forget-password {
    display: initial;
    text-align: center;
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
  }

  label {
    font-family: ＭＳ Ｐゴシック;
  }

  .forget-password-alert {
    color: red;
    display: none;
    font-family: ＭＳ Ｐゴシック;
  }

  .container {
    margin-top: 5%;
  }
}