@charset "utf-8";

/*
  File Name : login.css
*/

body {
  line-height: 1.7;
  text-align: center;
  font-size: 14px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background: #a60000 url(../img/login/body-bg.png) no-repeat 50% 25%;
}

.login-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  -webkit-transform: translate(-50%, -50%); /* Safari用 */
  transform: translate(-50%, -50%);
}

header h1 {
  line-height: 1;
  margin: 0 0 20px;
  padding: 0;
}

header h1 img {
  vertical-align: top;
  width: 201px;
  height: auto;
}

header p {
  margin: 0 0 30px;
  color: #fff;
}

.input-email {
  margin: 0 0 3px;
}

.input-email input {
  width: 500px;
  vertical-align: top;
  margin: 0;
  padding: 20px 10px;
  border: none;
  border-radius: 5px 5px 0 0;
  box-sizing: border-box;
  transition: 0.4s;
}

.input-password input {
  width: 500px;
  vertical-align: top;
  margin: 0;
  padding: 20px 10px;
  border: none;
  border-radius: 0 0 5px 5px;
  box-sizing: border-box;
  transition: 0.4s;
}

.input-email input:focus,
.input-password input:focus {
  padding: 20px;
  outline: none;
  box-shadow: 0 0 10px rgba(255, 255, 255, 1);
  transition: 0.4s;
}

.forget {
  width: 500px;
  margin: 10px auto 20px;
  font-size: 13px;
  text-align: right;
}

.forget a {
  color: #fff;
}

.forget a:hover {
  text-decoration: none;
}

.btn-login {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto;
  border: 3px solid #fff;
  border-radius: 90px;
  background: url(../img/login/login.svg) no-repeat 50% 50%;
  -webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;
  -moz-transition: -moz-transform ease-out 0.1s, background 0.2s;
  transition: transform ease-out 0.1s, background 0.2s;
  z-index: 1;
}

.btn-login:after {
	pointer-events: none;
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	content: '';
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	top: 0;
	left: 0;
	padding: 0;
	z-index: -1;
	box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
	opacity: 0;
	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	-ms-transform: scale(0.9);
	transform: scale(0.9);
}

.btn-login:hover {
	-webkit-transform: scale(0.93);
	-moz-transform: scale(0.93);
	-ms-transform: scale(0.93);
	transform: scale(0.93);
	color: #fff;
}

.btn-login:hover:after {
	-webkit-animation: sonarEffect 1s ease-out 75ms;
	-moz-animation: sonarEffect 1s ease-out 75ms;
	animation: sonarEffect 1s ease-out 75ms;
}

@-webkit-keyframes sonarEffect {
	0% {
		opacity: 0.3;
	}
	40% {
		opacity: 0.5;
		box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #d80100, 0 0 0 10px rgba(255,255,255,0.5);
	}
	100% {
		box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #d80100, 0 0 0 10px rgba(255,255,255,0.5);
		-webkit-transform: scale(1.5);
		opacity: 0;
	}
}
@-moz-keyframes sonarEffect {
	0% {
		opacity: 0.3;
	}
	40% {
		opacity: 0.5;
		box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #d80100, 0 0 0 10px rgba(255,255,255,0.5);
	}
	100% {
		box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #d80100, 0 0 0 10px rgba(255,255,255,0.5);
		-moz-transform: scale(1.5);
		opacity: 0;
	}
}
@keyframes sonarEffect {
	0% {
		opacity: 0.3;
	}
	40% {
		opacity: 0.5;
		box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #d80100, 0 0 0 10px rgba(255,255,255,0.5);
	}
	100% {
		box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #d80100, 0 0 0 10px rgba(255,255,255,0.5);
		transform: scale(1.5);
		opacity: 0;
	}
}

.btn-login input {
  display: block;
  width: 90px;
  height: 90px;
  margin: 0;
  padding: 0 0 10px;
  border: none;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-indent: -9999px;
  background: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

footer {
  margin: 50px 0 0;
  color: #fff;
}

footer img {
  vertical-align: text-bottom;
  width: auto;
  height: 26px;
}


@media screen and (max-width: 767px) {
  header {
    margin-top: 30px;
  }
  h1 img {
    width: 120px;
    height: auto;
  }
  header p br {
    display: none;
  }
  .login-wrap {
    padding: 20px;
    position: static;
    margin-right: 0;
    -webkit-transform: translate(0, 0); /* Safari用 */
    transform: translate(0, 0);
  }
  .input-email input {
    width: 100%;
    vertical-align: top;
    margin: 0;
    padding: 20px 10px;
    border: none;
    border-radius: 5px 5px 0 0;
    box-sizing: border-box;
    transition: 0.4s;
  }
  .input-password input {
    width: 100%;
    vertical-align: top;
    margin: 0;
    padding: 20px 10px;
    border: none;
    border-radius: 0 0 5px 5px;
    box-sizing: border-box;
    transition: 0.4s;
  }
  .forget {
    font-size: 13px;
    margin: 10px auto 20px;
    text-align: right;
    width: 100%;
  }

}

#error {
  padding: 2px;
  color: #fff;
  background-color: #313140;
  border-radius: 6px;
  margin: 0 0 20px;
}

#error img,
#error span {
  display: inline-block;
  vertical-align: middle;
}

#error img {
  margin: 0 5px 0 0;
}

.error-wrap {
  padding: 10px;
  border-radius: 4px;
  /*border: solid 1px #ce0000;*/
}

@media screen and (max-width: 767px) {
  #error {
    font-size: 12px;
  }
}
