/* member-auth.css: 会員登録・ログイン（本文のみ） */

.member-auth-main{
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.member-auth-wrap{
  width: min(100%, calc(var(--bs-content-width, 1040px) + var(--bs-content-pad, 20px) + var(--bs-content-pad, 20px)));
  margin: 0 auto;
  padding: 0 var(--bs-content-pad, 20px);
  box-sizing: border-box;
}

.member-auth-breadcrumb-bar{
  background: #cfe4f6;
}

.member-auth-breadcrumb{
  margin: 0;
  padding: 18px 0;
  font-size: 12px;
  color: #5e6f80;
}

.member-auth-stage{
  padding: 108px 0 115px;
  background: #fff;
}

.member-auth-title{
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  color: #1f1f20;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.member-auth-title::after{
  content: "";
  display: block;
  width: 68px;
  height: 3px;
  margin: 12px auto 0;
  background: #2933b2;
}

.member-auth-note{
  margin: 75px auto 50px;
  max-width: none;
  background: #FDF9F1;
  padding: 18px 26px;
  text-align: center;
  color: #222;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
}

.member-auth-cards{
  display: grid;
  grid-template-columns: repeat(2, 500px);
  justify-content: center;
  gap: 32px;
  max-width: none;
  margin: 0 auto;
}

.member-auth-card{
  width: 500px;
  height: 560px;
  border-radius: 10px;
  padding: 50px 62px 22px;
  box-sizing: border-box;
}

.member-auth-card.is-login{
  background: #F2F2F2;
}

.member-auth-card.is-register{
  background: #EBF5FE;
}

.member-auth-card__title{
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 500;
  color: #2232b2;
}

.member-auth-card.is-login .member-auth-card__title{
  color: #333;
}

.member-auth-card.is-login .member-auth-card__text{
  margin-bottom: 40px;
}

.member-auth-card__text{
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.75;
  color: #2f2f2f;
  font-weight: 400;
}

.member-auth-card.is-register .member-auth-card__text{
  font-size: 16px;
  font-weight: 400;
  color: #2428A6;
}

.member-auth-login-form{
  color: #222;
}

.member-auth-login-form :where(form){
  margin: 0;
}

.member-auth-login-form :where(fieldset){
  margin: 0;
  padding: 0;
  border: 0;
}

.member-auth-login-form :where(legend){
  display: none;
}

.member-auth-login-form :where(label){
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin: 0 0 6px;
}

.member-auth-login-form :where(input[type="text"], input[type="email"], input[type="password"]){
  width: 100%;
  height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
}

.member-auth-login-form :where(p){
  margin: 0 0 12px;
}

.member-auth-login-form form > p:first-of-type{
  margin-bottom: 26px;
}

.member-auth-login-form :where(.login-remember){
  margin: 0 0 24px;
  font-size: 14px;
}

.member-auth-login-form p.login-password{
  margin-bottom: 24px;
}

.member-auth-login-form p.login-submit{
  margin: 0;
}

.member-auth-login-form :where(.login-remember label){
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  margin: 0;
}

.member-auth-login-form :where(input[type="checkbox"]){
  width: 14px;
  height: 14px;
  margin: 0;
}

.member-auth-login-form :where(input[type="submit"], button[type="submit"], .buttons input, .button_div input){
  width: min(100%, 370px);
  height: 52px;
  border-radius: 3px;
  border: 0;
  background: #2732b2;
  background-image: url("../img/top/arrow_w.svg");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 7px 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

/* WP-Members output normalization (avoid plugin layout drift) */
.member-auth-login-form #wpmem_login,
.member-auth-login-form #wpmem_msg,
.member-auth-login-form #wpmem_err{
  margin: 0;
}

.member-auth-login-form #wpmem_login form{
  margin: 0;
}

.member-auth-login-form #wpmem_login fieldset{
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.member-auth-login-form #wpmem_login legend{
  display: none;
}

.member-auth-login-form #wpmem_login label{
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  margin: 0 0 6px;
}

.member-auth-login-form #wpmem_login .div_text{
  margin: 0 0 12px;
}

.member-auth-login-form #wpmem_login .div_text:first-of-type{
  margin-bottom: 26px;
}

.member-auth-login-form #wpmem_login .div_text:last-of-type{
  margin-bottom: 24px;
}

.member-auth-login-form #wpmem_login .div_text input[type="text"],
.member-auth-login-form #wpmem_login .div_text input[type="email"],
.member-auth-login-form #wpmem_login .div_text input[type="password"]{
  width: 100%;
  height: 52px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
}

.member-auth-login-form #wpmem_login .button_div{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 6px;
  row-gap: 24px;
  margin: 0;
}

.member-auth-login-form #wpmem_login .button_div label{
  display: inline-flex;
  align-items: center;
  font-weight: 400;
  margin: 0;
  font-size: 14px;
  color: #444;
}

.member-auth-login-form #wpmem_login .button_div input[type="checkbox"]{
  width: 14px;
  height: 14px;
  margin: 0;
}

.member-auth-login-form #wpmem_login .button_div input[type="submit"],
.member-auth-login-form #wpmem_login .button_div .buttons{
  width: min(100%, 370px);
  height: 52px;
  border-radius: 3px;
  border: 0;
  background: #2732b2;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  margin: 0 auto;
}

/* Use the dedicated link under the form in page-login.php */
.member-auth-login-form #wpmem_login .link-text{
  display: none;
}

.member-auth-login-form #wpmem_msg,
.member-auth-login-form #wpmem_err{
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.member-auth-forgot{
  margin: 36px 0 0;
  font-size: 14px;
}

.member-auth-forgot a{
  color: #2732b2;
  text-decoration: underline;
}

.member-auth-register-btn{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 370px);
  height: 52px;
  border-radius: 3px;
  background: #45b55e;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 16px auto 0;
}

.member-auth-register-btn:hover,
.member-auth-register-btn:focus,
.member-auth-register-btn:focus-visible,
.member-auth-register-btn:active{
  background: #45b55e;
  color: #fff;
  text-decoration: none;
}

.member-auth-card.is-register .member-auth-register-btn{
  margin-top: 55px;
}

.member-auth-register-btn::before{
  content: "";
  width: 7px;
  height: 12px;
  background: url("../img/top/arrow_w.svg") center / contain no-repeat;
  display: inline-block;
}

.member-auth-register-note-title{
  margin: 30px 0 6px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.member-auth-register-note-list{
  margin: 0;
  padding: 0 0 0 1.25em;
  list-style: disc;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  color: #333;
}

.member-auth-register-note-list li{
  margin: 0 0 8px;
}

.member-auth-register-note-list li:last-child{
  margin-bottom: 0;
}

.member-auth-outsider{
  max-width: none;
  margin: 80px auto 0;
  text-align: center;
}

.member-auth-outsider__title{
  margin: 0 0 58px;
  color: #2a2a2a;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.member-auth-outsider__title::after{
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 10px auto 0;
  background: #9ca1e6;
}

.member-auth-outsider__buttons{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.member-auth-outsider__btn{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 10px;
  background: #fff;
  border: 2px solid #9495CF;
  color: #8f95de;
  text-decoration: none;
  text-align: center;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.member-auth-support{
  background: #5ea4e7;
  padding: 44px 0 52px;
}

.member-auth-support__title{
  margin: 0 0 18px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.member-auth-support__buttons{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.member-auth-support__btn{
  height: 42px;
  background: #fff;
  color: #456fd0;
  border: 1px solid #d3e4f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  position: relative;
  text-decoration: none;
}

.member-auth-support__btn::after{
  content: "";
  width: 7px;
  height: 12px;
  background: url("../img/top/arrow_b.svg") center / contain no-repeat;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 980px){
  .member-auth-wrap{
    padding: 0 16px;
  }

  .member-auth-stage{
    padding: 44px 0 56px;
  }

  .member-auth-note{
    margin: 34px auto 24px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }

  .member-auth-cards{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .member-auth-card{
    width: 100%;
    height: auto;
    padding: 20px 18px;
  }

  .member-auth-card.is-register .member-auth-card__text{
    font-size: 15px;
  }

  .member-auth-register-btn{
    width: min(100%, 370px);
    height: 52px;
    font-size: 15px;
  }

  .member-auth-register-note-title{
    font-size: 14px;
  }

  .member-auth-register-note-list{
    font-size: 14px;
    line-height: 1.7;
  }

  .member-auth-outsider{
    margin-top: 34px;
  }

  .member-auth-outsider__title{
    font-size: 22px;
    letter-spacing: 0.08em;
  }

  .member-auth-outsider__buttons,
  .member-auth-support__buttons{
    grid-template-columns: 1fr;
  }

  .member-auth-outsider__btn{
    min-height: 56px;
    font-size: 15px;
  }
}

@media (max-width: 767px){
  .member-auth-title{
    font-size: 22px;
  }

  .member-auth-title::after{
    margin-top: 10px;
  }

  .member-auth-note{
    font-size: 13px;
    line-height: 1.9;
  }
}
