.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  padding: 100px 20px 120px;
  box-sizing: border-box;
}

.img_error {
  width: 100%;
  max-width: 996px;
}

.error .ct {
  text-align: center;
}
.error h1 {
  font-weight: 600;
  font-size: 150px;
  line-height: 100%;
  text-align: center;
  color: #557aff;
  margin: 32px 0 40px;
}
.error h2 {
  font-weight: 600;
  font-size: 54px;
  line-height: 100%;
  text-align: center;
  color: #557aff;
  margin: 32px 0 12px;
}
.error span.system {
  font-weight: 300;
  font-size: 24px;
  line-height: 100%;
  text-align: center;
  color: #1a1a1a;
}
.error span.err_404 {
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  text-align: center;
  color: #1a1a1a;
}
.error p {
  max-width: 500px;
  font-weight: 500;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  color: #828282;
  margin: 40px auto 50px;
  word-break: keep-all;
}
.error.err_404 p {
  margin-top: 12px;
}
.error .btn_ct {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.error .btn_wrap {
  display: flex;
  align-items: center;
}
.error .btn_wrap button {
  width: 50%;
  height: 50px;
  border-radius: 8px;
  background: #375ff0;
  font-weight: 600;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  color: #ffffff;
}
.error .btn_wrap button + button {
  margin-left: 12px;
}
.error .btn_wrap .btn_prev {
  background: #ffffff;
  border: 1px solid #375ff0;
  color: #375ff0;
}
.error .btn_ct .err_txt {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #4f4f4f;
  margin-top: 24px;
}
.error .btn_ct .err_txt br {
  display: none;
}
.error .btn_ct .err_txt a {
  color: #2f80ed;
  text-decoration-line: underline;
}

@media all and (max-width: 540px) {
  .error {
    padding: 100px 20px 32px;
  }
  .error h1 {
    font-size: 80px;
    margin: 32px 0;
  }
  .error h2 {
    font-size: 32px;
    margin: 32px 0 8px;
  }
  .error span.system {
    font-size: 16px;
  }
  .error span.err_404 {
    font-size: 18px;
  }
  .error p {
    font-size: 14px;
    line-height: 17px;
    margin: 32px auto 80px;
  }
  .error.err_404 p {
    margin-top: 8px;
  }
  .error .btn_wrap button {
    height: 48px;
    font-size: 16px;
    line-height: 19px;
  }
  .error .btn_wrap button + button {
    margin-left: 8px;
  }

  .error .btn_ct .err_txt {
    font-size: 12px;
    line-height: 14px;
    margin-top: 20px;
  }
  .error .btn_ct .err_txt br {
    display: block;
  }
}
