.login {
  position: relative;
  padding: 157px 20px 100px;
}

.login-container {
  position: relative;
  max-width: 100%;
  margin: 50px auto 0;
  max-width: 600px;
}

.login-section__wrap {
  background-color: #fff;
  padding: 30px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.login-header {
  margin-bottom: 20px;
}

.login-header__title {
  font-size: 16px;
  line-height: 28px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin-bottom: 10px;
  max-width: 600px;
}

.login-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.login-avatar__image {
  width: 90px;
  height: 90px;
  background-image: url(../img/login/icon-login.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.login-form__group {
  margin-bottom: 20px;
}

.login-form__input {
  width: 100%;
  padding: 10px;
  border: 1px solid #999999;
  border-radius: 4px;
  font-size: 14px;
  height: 40px;
}

.login-form__checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  margin-top: -10px;
  font-weight: 700;
}

.login-form__checkbox-input {
  margin: 0 5px 0 0;
  width: 14px;
  height: 14px;
}

.login-form__checkbox-label {
  font-size: 14px;
  line-height: 26px;
}

.button {
  display: block;
  width: 100%;
  height: 60px;
  background-color: #870101;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 15px;
  font-size: 19px;
  line-height: 60px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.21);
}

.button--primary {
  margin-bottom: 8px;
}

.menu-login .button--primary {
  margin-bottom: 18px;
}

.button--secondary {
  margin-bottom: 0;
}

.login-link {
  font-size: 14px;
  line-height: 26px;
  color: #870101;
  text-decoration: none;
  display: block;
  margin-bottom: 40px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.login--menu .login-link {
  text-decoration: none;
  margin-bottom: 0;
}

.guest-purchase {
  margin: 20px 0 0;
}

.guest-purchase__text {
  font-size: 14px;
  line-height: 26px;
  margin-bottom: 8px;
}

.registration {
  margin-top: 50px;
}

.registration__title {
  font-size: 16px;
  line-height: 28px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin: 0 auto 10px;
  max-width: 600px;
}

.registration__note {
  font-size: 14px;
  line-height: 26px;
  margin-top: 10px;
}

.form-check-label {
  font-size: 14px;
}

.login-actions {
  margin-top: 10px;
}

@media (min-width: 930px) {
  .login {
    padding: 189px 20px 150px;
  }

  .login-container {
    display: flex;
    max-width: 796px;
    justify-content: space-between;
    margin: 72px auto 0;
    flex-shrink: 0;
  }

  .login-section {
    width: 49%;
  }

  .login-menu .login-container {
    max-width: 694px;
    margin-top: 70px;
  }

  .login--menu .login-section {
    width: 100%;
  }

  .login--menu .login-header__title {
    display: none;
  }

  .registration-section {
    border-left: 1px solid #f0f0f0;
    width: 44.1%;
  }

  .guest-purchase {
    margin-top: 30px;
  }

  .registration {
    margin-top: 0;
  }

  .login-form {
    max-width: 505px;
    margin: 0 auto;
  }

  .login-actions {
    display: flex;
    gap: 54px;
  }

  .login-actions .button--primary {
    max-width: 230px;
    height: 50px;
    line-height: 46px;
    font-size: 16px;
  }

  .button {
    transition: 0.2s;
  }

  .button:hover {
    background-color: rgb(175, 1, 1);
  }

  .login--menu .login-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .login-link {
    position: relative;
    width: fit-content;
  }

  .login--menu .login-link {
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
  }

  .login-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #870101;
    transition: all 0.3s;
  }

  .login--menu .login-link::after {
    bottom: -4px;
  }

  .login-link:hover::after {
    width: 100%;
  }

  .login--menu .login-form__checkbox {
    margin-bottom: 30px;
  }

  .button {
    height: 50px;
    line-height: 50px;
    max-width: 350px;
    font-size: 18px;
  }

  .login-link {
    text-decoration: none;

    margin-bottom: 50px;
  }
}