fieldset legend {
  display: none;
}

#wpmem_login input[type="submit"] {
  border: none;
  border-color: transparent;
  border-radius: 0;
  background: transparent;
  color: #fff;
  line-height: 1.8;
  padding: 0;
}

#wpmem_login {
  width: 100% !important;
  padding: 0 200px;
  margin-top: 40px !important;
}

#wpmem_login fieldset {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100% !important;
  background-color: #F3F7DE;
  padding: 40px 90px !important;
  border-radius: 4px;
  justify-content: center !important;
}

#wpmem_login fieldset label {
  width: 100%;
  text-align: left;
  margin-bottom: 8px;
}

#wpmem_login fieldset .div_text {
  margin-bottom: 32px;
  width: 100%;
}

#wpmem_login fieldset input[type="text"],
#wpmem_login fieldset input[type="password"] {
  flex: 1;
  min-width: 0;
  width: 100%;
  background-color: #FFF !important;
  border: none !important;
  text-align: left;
}

#wpmem_login input[type=checkbox]{
  background-color: #fff;
}

#wpmem_login fieldset .submit_btn input[type="submit"] {
  padding: 12px 40px;
  width: 280px;
  display: block;
  text-align: center;
  background-color: transparent;
  border: none;
  color: #fff;
}

#wpmem_login fieldset .submit_btn {
  border-radius: 8px;
  border: none;
  font-size: 112.5%;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(90deg, rgba(107, 165, 175, 1), rgba(112, 188, 112, 1) 50%, rgba(218, 233, 181, 1));
}

#wpmem_login fieldset .submit_btn::before {
  background: linear-gradient(270deg, rgba(107, 165, 175, 1), rgba(112, 188, 112, 1) 50%, rgba(218, 233, 181, 1));
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

#wpmem_login fieldset .submit_btn:hover::before {
  opacity: 1;
}

#wpmem_login fieldset .submit_btn::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 14px;
  background-color: #fff;
  clip-path: path("M.355,11.855,5.069,6.994.355,2.133a1.278,1.278,0,0,1,0-1.767A1.186,1.186,0,0,1,2.032.33l.036.036L7.645,6.117a1.276,1.276,0,0,1,0,1.767l-5.577,5.75a1.184,1.184,0,0,1-1.674.039l-.039-.039a1.3,1.3,0,0,1,0-1.779");
  right: 16px;
  top: calc(50% - 7px);
  transition: 0.3s;
}

#wpmem_login fieldset .submit_btn:hover::after {
  transform: translateX(4px);
}

#wpmem_login fieldset .flex_wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

#wpmem_login .button_div {
  text-align: center !important;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

#wpmem_login fieldset .flex_wrap>label {
  margin-bottom: 0;
}

#wpmem_login fieldset .link-text {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

#wpmem_login fieldset .link-text .link-text-register {
  text-align: center;
}

#wpmem_login fieldset .link-text a {
  display: inline-block;
  padding-bottom: 1px;
  position: relative;
}

#wpmem_login fieldset .link-text a::before {
  content: '';
  position: absolute;
  background-color: #FF7600;
  width: 100%;
  height: 1px;
  bottom: 0;
  transition: 0.3s;
}

#wpmem_login fieldset .link-text a:hover::before {
  opacity: 0;
}

#wpmem_login fieldset .regist_button {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

#wpmem_login fieldset .regist_button a {
  border-radius: 8px;
  border: none;
  line-height: 1.8;
  padding: 12px 40px;
  font-size: 112.5%;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 280px;
  background: linear-gradient(90deg, rgba(255, 118, 0, 1), rgba(255, 118, 0, 1) 30%, rgba(239, 239, 102, 1));
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.16);
}

#wpmem_login fieldset .regist_button a::before {
  background: linear-gradient(270deg, rgba(255, 118, 0, 1), rgba(255, 118, 0, 1) 30%, rgba(239, 239, 102, 1));
  content: "";
  position: absolute;
  width: auto;
  height: auto;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

#wpmem_login fieldset .regist_button a::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 14px;
  background-color: #fff;
  clip-path: path("M.355,11.855,5.069,6.994.355,2.133a1.278,1.278,0,0,1,0-1.767A1.186,1.186,0,0,1,2.032.33l.036.036L7.645,6.117a1.276,1.276,0,0,1,0,1.767l-5.577,5.75a1.184,1.184,0,0,1-1.674.039l-.039-.039a1.3,1.3,0,0,1,0-1.779");
  right: 16px;
  top: calc(50% - 7px);
  transition: 0.3s;
}

#wpmem_login fieldset .regist_button a:hover {
  box-shadow: none;
  color: #fff;
}

#wpmem_login fieldset .regist_button a:hover::before {
  opacity: 1;
}

#wpmem_login fieldset .regist_button a:hover::after {
  transform: translateX(4px);
}

#wpmem_msg,
.wpmem_msg {
  text-align: center !important;
  margin: 40px auto !important;
  border: 2px solid #FF0108!important;
}

@media screen and (max-width: 1199px) {
  #wpmem_login {
    padding: 0;
  }
}

@media screen and (max-width: 991px) {
  #wpmem_login fieldset .checkbox {
    max-width: none;
  }
}

@media screen and (max-width: 720px) {
  #wpmem_login label.checkbox {
    width: 100%;
  }

  #wpmem_login .div_checkbox {
    width: auto !important;
  }

  #wpmem_login .button_div {
    width: 100% !important;
  }

  #wpmem_login fieldset .regist_button a {
    width: 100%;
  }
}

@media screen and (max-width: 575px) {
  #wpmem_login fieldset {
    padding: 40px 20px !important;
  }
}