@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap');

body.login {
  font-family: 'Zen Old Mincho', serif;
  background: #fcfcfc;
}

body.login #login {
  padding: 0;
  width: 820px;
  max-width: 90%;
  margin-top: 5%;
}

body.login h1 a {
  background-image: url('../images/samurai-logo-black.png') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  width: 107px !important;
  height: 120px !important;
  margin: 0 auto;
  display: block;
}

body.login #loginform {
  background: #fff;
  border: none;
  box-shadow: none;
  padding: 5%;
  margin-top: 5%;
}

body.login .login-action-login #loginform label {
  font-family: 'Zen Old Mincho', serif;
  font-size: 16px;
  color: #2f2f2f;
  letter-spacing: 0.02em;
}

body.login input[type="text"],
body.login input[type="password"] {
  font-family: 'Zen Old Mincho', serif;
  height: 50px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 16px;
  color: #2f2f2f;
  box-shadow: none;
  padding: 0 16px;
  background: #fff;
  margin-bottom: 20px;
}

body.login input[type="text"]:hover,
body.login input[type="password"]:hover {
  background: #fff;
}

body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
  box-shadow: none !important;
  outline: none;
  border: 2px solid #007aff !important;
  background: #fff;
}

.login .button.wp-hide-pw {
  top: 5px;
}

.login form input.button.button-large {
  background: #2f2f2f;
  font-family: 'Zen Old Mincho', serif;
  font-size: clamp(16px, 1.8vw, 18px);
  letter-spacing: 0.02em;
  transition: 0.5s;
  padding: 8px 0;
  height: auto !important;
  border-color: #2f2f2f;
}

.login form input.button.button-large:hover {
  opacity: 0.7;
}

body.login #nav a {
  font-family: 'Zen Old Mincho', serif;
  color: #d11f1f;
  font-size: 14px;
  letter-spacing: 0.02em;
}

body.login #backtoblog a {
  font-family: 'Zen Old Mincho', serif;
  color: #858585;
  font-size: 13px;
}

body.login #login_error,
body.login .message {
  font-family: 'Zen Old Mincho', serif;
  border-left: none;
}

body.login .message {
  box-shadow: none;
  padding: 0;
  background-color: #fcfcfc;
}

body.login .message p {
  font-size: clamp(18px, 1.8vw, 24px);
  text-align: center;
}

.login #login #login_error {
  background-color: #fbece9 !important;
  box-shadow: none;
}

.login #login #login_error strong {
  color: #ba0d14;
  font-size: clamp(15px, 1.8vw, 16px);
  line-height: 1.8;
}

.login form label {
  color: #2F2F2F !important;
  font-size: clamp(15px, 1.8vw, 18px);
}

.login .forgetmenot label {
  font-size: 15px;
}

#login form p.submit {
  clear: both;
}

.login .button-primary {
  float: none;
  display: block;
  width: 100%;
  margin-top: 8%;
}

.wp-core-ui #lostpasswordform input.button-primary {
  border-color: #2F2F2F;
}

.login #lostpasswordform .button-primary {
  margin-top: 4%;
}

.login form {
box-shadow: none !important;
}

body.login .notice-info.message p {
  font-size: clamp(16px, 1.8vw, 18px);
  background-color: #fbece9;
  padding: 10px;
}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 768px) {

  body.login h1 a {
    width: 80px !important;
    height: 90px !important;
  }

  .login form input.button.button-large {
    padding: 6px 0;
  }

  .login .button-primary {
    margin-top: 12%;
  }

  body.login .notice-info.message p {
    text-align: left;
  }

}