@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
  background: #456;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.login {
  width: 400px;
  /*margin:auto;*/
  font-size: 16px;
}

/* Reset top and bottom margins from certain elements */
.login-header,.login-header p,
.login p {
  margin-top: 0;
  margin-bottom: 0;
}

/* The triangle form is achieved by a CSS hack */
.login-triangle {
  width: 0;
  margin-right: auto;
  margin-left: auto;
  border: 12px solid transparent;
  border-bottom-color:#D40000;
}

.login-header {
  background: #D40000;
  padding: 10px;
  font-size: 1.4em;
  font-weight: normal;
  text-align: center;
  /*text-transform: uppercase;*/
  color: #fff;
}

.login-container {
  background: #ebebeb;
  padding: 12px;
}
.login-container .regi{
  font-size: 0.8em;
  color: #515050;
}
.login-container .regi a{
  text-decoration: none;
}

/* Every row inside .login-container is defined with p tags */
.login p {
  padding: 12px;
}

.login input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  padding: 16px;
  outline: 0;
  font-family: inherit;
  font-size: 0.95em;
}

.login input[type="email"],
.login input[type="password"] {
  background: #fff;
  border-color: #bbb;
  color: #555;
}

/* Text fields' focus effect */
.login input[type="email"]:focus,
.login input[type="password"]:focus {
  border-color: #888;
}

.login input[type="submit"] {
  background: #D40000;
  border-color: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
}

.login input[type="submit"]:hover {
  background:#F51616;
}

/* Buttons' focus effect */
.login input[type="submit"]:focus {
  border-color:#BF0505;
}
header {
  background-color: #C00;
  padding: 10px;
  text-align: center;
}
@media screen and (min-width: 769px) {
  .logostr {
    width: 400px;
    margin: 0 auto 10px auto;
  }
}
@media screen and (max-width:768px) {
  .logostr {
    width: 80%;
    margin: 0 auto;
  }
}
footer {
  background-color: #999;
  height: 30px;
  border-top-width: 5px;
  border-top-style: solid;
  border-top-color: #666;
  padding-top: 50px;
  padding-right: 10px;
  padding-bottom: 50px;
  padding-left: 10px;
  color: #E3E3E3;
  font-size: 0.8em;
  font-weight: normal;
  text-align: center;
  /*position: absolute;
    bottom: 0;*/
  width: 100%;
  box-sizing: border-box;
}

.red{
    color: red;
    text-align: center;
}
.alginright {
  text-align: right;
  font-size: 0.8em;
}
.alginright a{
  text-decoration: none;
}
.acountbutton-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    /*margin:0 auto;*/
    margin-right: 20px;
    padding: .7em 2em;
    /*border: none;*/
    border-radius: 5px;
    /*background-color:#B7B7B7;*/
    color: #fff;
    background-color:#F77503;
    font-weight:normal;
    font-size: 1em;
}

.acountbutton-3::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: '';
}

.acountbutton-3:hover {
    background-color:#F7A103;
}