@charset "utf-8";

body {
  background: url("../img/bg-body.png") repeat 0 0;
  color: #545b63;
  margin: 45px 0;
}

/* -- form#login-form -------------------------------------------------------------------------------- */

form#login-form {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  z-index: auto;
  margin: 50px auto;
  width: 100%;
  max-width: 900px;
  background: #ffffff;
  border: 1px solid #cccccc;
  padding: 45px;
}

@media screen and (max-width: 1000px) {
  form#login-form {
    padding: 25px;
  }
}

h1 {
  margin: 0;
  font-size: clamp(1rem, 0.706rem + 1.47vw, 1.625rem);
  text-align: left;
  font-family: "Sawarabi Mincho", serif;
  line-height: 1;
  letter-spacing: -0.01em;
  border-bottom: solid 1px #cccccc;
}

h1 span {
  display: inline-block;
}

p.logp {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: bold;
  font-size: clamp(0.938rem, 0.79rem + 0.74vw, 1.25rem);
  text-align: left;
  letter-spacing: 0;
  line-height: 2;
}

p.logo {
  margin-top: 35px;
}

dl {
  margin-bottom: 15px;
}
dl dt {
  flex: 0 0 8em;
  text-align: left;
  padding-right: 0.75rem;
}

dl dd {
  margin: 0;
  padding: 0;
}

input {
  display: block;
  width: 100%;
  padding: 2px 2%;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background: #fafafa;
  line-height: 3;
  font-size: 1.15em !important;
}

input:focus {
  box-shadow: 0px 0px 5px #55ccff;
  border: 1px solid #55ccff;
  background: #ffffff;
}

p.submit {
  width: 100%;
  text-align: center;
  margin-top: 25px;
  margin-bottom: 0;
}

p.submit input {
  display: inline-block;
  width: 100%;
  max-width: 250px;
  padding: 20px 45px;
  vertical-align: middle;
  line-height: 1;
  border-radius: 3px;
  color: #ffffff;
  font-family: inherit;
  background: #f35d40;
  border: 1px solid #f35d40;
}

p.submit input:hover {
  cursor: pointer;
  background: #f07861;
  border: 1px solid #f35d40;
}

/* ワンタイムパスワード */
.otp-wrapper {
  margin: 0;
}
.otp-wrapper dt {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.otp-wrapper dd {
  margin: 0;
}

.otp-inputs {
  display: flex;
  gap: 0.5em;
}

.otp-input {
  width: 2.5em !important;
  height: 2.5em !important;
  padding: 0 !important;
  font-size: 1.5em !important;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-input:focus {
  border-color: #66afe9;
  box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}

#resend-code {
  background-color: #fff;
  border-color: #333;
  color: #333;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

#resend-code:hover,
#resend-code:focus {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

/* -- 送信エラー ------*/

@keyframes border {
  0% {
    border: medium solid #da3c41;
  }
  100% {
    border: medium solid #da3c4152;
  }
}

div.notinput {
  width: 100%;
  color: #da3c41;
  line-height: 2;
  padding: 25px !important;
  animation: border 0.5s ease infinite alternate;
  text-align: center;
}

div.notinput ul{
  list-style: none;
}

div.notinput p.blinking {
  display: inline-block;
  text-align: left;
  margin: 0 0 1em;
  font-weight: bold;
  line-height: 1.45;
  padding-left: 1em;
  text-indent: -1em;
}

div.notinput ul.error-list {
  display: inline-block;
  margin: 0 auto;
  padding-left: 1.2em;
  text-align: left;
  list-style-type: square;
  list-style-position: outside;
}

div.notinput ul.error-list li {
  margin: 0.5em 0;
  line-height: 1.45;
}
.alert_wrap{
  display: flex;
}

.alert_wrap p{
  margin-bottom: 0 !important;
}

.msg_close_btn{
  margin-left: auto;
	cursor: pointer;
	color: #707070;
  font-size: 24px;
}

.align-center{
  display: flex;
  align-items: center;
}

/* --responsive------------------------------------------- */

/* 1000pixel start */
@media screen and (max-width: 1000px) {
  form#login-form {
    width: 95%;
    margin: 40px auto;
    position: static;
    transform: translate(0, 0);
  }

  div.notinput {
    width: 95%;
    padding: 15px 0 !important;
  }
}
/* 1000pixel end */
