/* ==========================================================================
   WP-Members カスタムスタイル
   Figmaデザイン準拠
   Desktop: node-id 1637-28619
   Mobile: node-id 1637-31425
   
   使用方法:
   WP-Members管理画面 > スタイル > カスタムスタイルシートに以下URLを設定:
   https://kenkoh-jutaku.sakura.ne.jp/wp/wp-content/themes/plug-tailwind/lib/css/dist/wpmem-custom.css
   ========================================================================== */

/* ログインフォームコンテナ */

#wpmem_login {
  background-color: #FFFFFF;
  border: 1px solid #CCCCCC;
  padding: 40px 32px;
  max-width: 800px;
  margin: 0 auto 32px;
}

@media (min-width: 1024px) {
  #wpmem_login,
    #wpmem_login_form {
    padding: 48px 80px;
  }
}

/* fieldsetのデフォルトスタイルをリセット */

#wpmem_login fieldset,
#wpmem_login_form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* legendスタイル - 非表示ではなく見出しとしてスタイリング */

#wpmem_login legend,
#wpmem_login_form legend {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #333333;
  margin-bottom: 24px;
  display: block;
  width: 100%;
}

/* フォーム入力グループ */

#wpmem_login .div_text,
#wpmem_login .div_text_box,
#wpmem_login_form .div_text,
#wpmem_login_form .div_text_box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  #wpmem_login .div_text,
    #wpmem_login .div_text_box,
    #wpmem_login_form .div_text,
    #wpmem_login_form .div_text_box {
    margin-bottom: 24px;
  }
}

/* ラベル */

#wpmem_login label,
#wpmem_login_form label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 2;
}

/* 入力フィールド */

#wpmem_login input.username,
#wpmem_login input.password,
#wpmem_login input[type="text"],
#wpmem_login input[type="password"],
#wpmem_login input[type="email"],
#wpmem_login_form input.username,
#wpmem_login_form input.password,
#wpmem_login_form input[type="text"],
#wpmem_login_form input[type="password"],
#wpmem_login_form input[type="email"] {
  width: 100%;
  height: 41px;
  border: 1px solid #dfdfdf;
  border-radius: 0;
  padding: 0 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  background-color: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  #wpmem_login input.username,
    #wpmem_login input.password,
    #wpmem_login input[type="text"],
    #wpmem_login input[type="password"],
    #wpmem_login input[type="email"],
    #wpmem_login_form input.username,
    #wpmem_login_form input.password,
    #wpmem_login_form input[type="text"],
    #wpmem_login_form input[type="password"],
    #wpmem_login_form input[type="email"] {
    height: 48px;
    font-size: 16px;
  }
}

#wpmem_login input:focus,
#wpmem_login_form input:focus {
  outline: none;
  border-color: #FFD800;
  box-shadow: 0 0 0 1px #FFD800;
}

#wpmem_login input::-moz-placeholder, #wpmem_login_form input::-moz-placeholder {
  color: #999999;
}

#wpmem_login input::placeholder,
#wpmem_login_form input::placeholder {
  color: #999999;
}

/* チェックボックス行（ログイン状態を保存する） */

#wpmem_login .div_checkbox,
#wpmem_login_form .div_checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;
  margin-bottom: 32px;
}

#wpmem_login input[type="checkbox"],
#wpmem_login input#rememberme,
#wpmem_login_form input[type="checkbox"],
#wpmem_login_form input#rememberme {
  width: 24px;
  height: 24px;
  margin: 0;
  border: 2px solid #CCCCCC;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #484343;
  flex-shrink: 0;
  vertical-align: middle;
}

#wpmem_login .div_checkbox label,
#wpmem_login label[for="rememberme"],
#wpmem_login_form .div_checkbox label,
#wpmem_login_form label[for="rememberme"] {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 1;
  vertical-align: middle;
}

/* ログインボタン */

#wpmem_login input.buttons,
#wpmem_login input[type="submit"],
#wpmem_login_form input.buttons,
#wpmem_login_form input[type="submit"] {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
  max-width: 240px;
  margin: 32px auto 0;
  background-color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #484343;
  border: 2px solid #484343;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.15s ease-in-out;
  letter-spacing: 1.4px;
  text-align: center;
}

@media (min-width: 1024px) {
  #wpmem_login input.buttons,
    #wpmem_login input[type="submit"],
    #wpmem_login_form input.buttons,
    #wpmem_login_form input[type="submit"] {
    font-size: 16px;
    letter-spacing: 0.8px;
    max-width: 260px;
    height: 56px;
  }
}

#wpmem_login input.buttons:hover,
#wpmem_login input[type="submit"]:hover,
#wpmem_login_form input.buttons:hover,
#wpmem_login_form input[type="submit"]:hover {
  opacity: 0.9;
}

/* ボタンコンテナ（矢印アイコン追加用） */

#wpmem_login .button_div,
#wpmem_login_form .button_div {
  position: relative;
  text-align: center;
  margin: 32px 0;
  /* マージン突き抜け防止 */
  padding-top: 1px;
}

/* 矢印アイコンの適用範囲拡大 */

.wpmem_msg+form .button_div::after,
.wpmem_login .button_div::after,
#wpmem_pwdreset .button_div::after,
#wpmem_change_password .button_div::after {
  content: '';
  position: absolute;
  right: calc(50% - 120px + 10px);
  /* top基準だと親要素の高さ変動の影響を受けるためbottom基準に変更 */
  /* ボタン高さ48px - アイコン20px = 残り28px / 2 = 14px */
  top: auto;
  bottom: 14px;
  transform: translateY(0);
  /* translateY不要 */
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.91683 13.75L12.0835 9.58333L7.91683 5.41667' stroke='%23484343' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  transition: transform 0.3s ease-in-out;
}

.wpmem_msg+form .button_div:hover::after,
.wpmem_login .button_div:hover::after,
#wpmem_pwdreset .button_div:hover::after,
#wpmem_change_password .button_div:hover::after {
  /* translateY除去に伴い修正 */
  transform: translateX(4px);
}

@media (min-width: 1024px) {
  .wpmem_msg+form .button_div::after,
    .wpmem_login .button_div::after,
    #wpmem_pwdreset .button_div::after,
    #wpmem_change_password .button_div::after {
    right: calc(50% - 130px + 10px);
    /* ボタン高さ56px - アイコン20px = 残り36px / 2 = 18px */
    top: auto;
    bottom: 18px;
  }
}

/* リンク（パスワードを忘れた方） */

#wpmem_login a,
#wpmem_login_form a {
  color: #484343;
  text-decoration: underline;
  font-size: 14px;
  transition: opacity 0.15s ease-in-out;
}

#wpmem_login a:hover,
#wpmem_login_form a:hover {
  opacity: 0.8;
}

.link-text {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-bottom: 16px;
}

.link-text a {
  display: block;
}

@media (min-width: 1024px) {
  .link-text a {
    display: inline-block;
  }
}

/* エラーメッセージ */

.wpmem_msg {
  background-color: #FEF2F2;
  border: 1px solid #D64545;
  color: #D64545;
  padding: 16px;
  margin-bottom: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ログインステータス */

.login_status,
.register_status {
  text-align: center;
  line-height: 2;
}

/* ログアウトリンク（黄色テキスト + 下線） */

.login_status a {
  color: #FFD800;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.3s ease;
  display: inline-block;
  margin-top: 16px;
}

.login_status a:hover {
  opacity: 0.8;
}

/* 登録リンク（ボタンスタイル） */

.register_links a {
  border-radius: 9999px;
  border-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(72 67 67 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(72 67 67 / var(--tw-text-opacity, 1));
  height: 48px;
  width: 240px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: opacity 0.3s ease;
}

/* 矢印アイコン（登録リンクのみ） */

.register_links a::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 15L12.5 10L7.5 5' stroke='%23484343' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: transform 0.3s ease-in-out;
}

@media (min-width: 1160px) {
  .register_links a {
    height: 56px;
    width: 260px;
    font-size: 16px;
  }
}

.register_links a:hover {
  opacity: 0.8;
}

/* 矢印スライドアニメーション */

.register_links a:hover::after {
  transform: translateX(4px) translateY(-50%);
}

.register_links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  text-align: center;
  line-height: 2;
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .register_links {
    flex-direction: row;
  }
}

/* ==========================================================================
   プロフィールページのリンク（登録情報の変更・パスワードを変更）
   WP-Membersの出力HTMLに対応する複数のセレクタ
   ========================================================================== */

/* プロフィールページのリンクコンテナ */

#wpmem_profile-edit,
.wpmem_profile_links,
.wpmem-profile-edit,
.div_link,
#wpmem_reg .div_link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 16px;
}

@media (min-width: 1024px) {
  #wpmem_profile-edit,
    .wpmem_profile_links,
    .wpmem-profile-edit,
    .div_link,
    #wpmem_reg .div_link {
    flex-direction: row;
    gap: 24px;
  }
}

/* プロフィールページのリンクをボタン化（パスワードリセットは除外） */

#wpmem_profile-edit a,
.wpmem_profile_links a,
.wpmem-profile-edit a,
.div_link a,
#wpmem_reg .div_link a,
/* プロフィール編集・パスワード変更リンクのみボタン化（パスワードリセットは除く） */
.max-w-200>a[href*="pwdchange"],
.max-w-200>a[href*="?a=edit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 240px;
  height: 48px;
  background-color: #FFFFFF;
  border: 2px solid #484343;
  border-radius: 50px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #484343;
  text-decoration: none;
  transition: opacity 0.3s ease;
  padding-right: 24px;
  margin: 8px auto;
}

@media (min-width: 1024px) {
  #wpmem_profile-edit a,
    .wpmem_profile_links a,
    .wpmem-profile-edit a,
    .div_link a,
    #wpmem_reg .div_link a,
    .max-w-200>a[href*="pwdchange"],
    .max-w-200>a[href*="?a=edit"] {
    width: 260px;
    height: 56px;
    font-size: 16px;
  }
}

#wpmem_profile-edit a:hover,
.wpmem_profile_links a:hover,
.wpmem-profile-edit a:hover,
.div_link a:hover,
#wpmem_reg .div_link a:hover,
.max-w-200>a[href*="pwdchange"]:hover,
.max-w-200>a[href*="?a=edit"]:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* 矢印アイコン */

#wpmem_profile-edit a::after,
.wpmem_profile_links a::after,
.wpmem-profile-edit a::after,
.div_link a::after,
#wpmem_reg .div_link a::after,
.max-w-200>a[href*="pwdchange"]::after,
.max-w-200>a[href*="?a=edit"]::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 15L12.5 10L7.5 5' stroke='%23484343' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: transform 0.3s ease-in-out;
}

#wpmem_profile-edit a:hover::after,
.wpmem_profile_links a:hover::after,
.wpmem-profile-edit a:hover::after,
.div_link a:hover::after,
#wpmem_reg .div_link a:hover::after,
.max-w-200>a[href*="pwdchange"]:hover::after,
.max-w-200>a[href*="?a=edit"]:hover::after {
  transform: translateX(4px) translateY(-50%);
}

.max-w-200 ul:not(.wp-block-list) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

@media (min-width: 1024px) {
  .max-w-200 ul:not(.wp-block-list) {
    flex-direction: row;
    gap: 24px;
  }
}

/* プロフィールページ内のリストリンクをボタン化 */

.max-w-200 ul:not(.wp-block-list) li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 240px;
  height: 48px;
  background-color: #FFFFFF;
  border: 2px solid #484343;
  border-radius: 50px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #484343;
  text-decoration: none;
  transition: opacity 0.3s ease;
  padding-right: 24px;
}

@media (min-width: 1024px) {
  .max-w-200 ul:not(.wp-block-list) li a {
    width: 260px;
    height: 56px;
    font-size: 16px;
  }
}

.max-w-200 ul:not(.wp-block-list) li a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* 矢印アイコン */

.max-w-200 ul:not(.wp-block-list) li a::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 15L12.5 10L7.5 5' stroke='%23484343' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: transform 0.3s ease-in-out;
}

.max-w-200 ul:not(.wp-block-list) li a:hover::after {
  transform: translateY(-50%) translateX(4px);
}

/* ==========================================================================
   新規登録フォーム
   ========================================================================== */

#wpmem_reg,
#wpmem_reg_form,
.wpmem_register_form {
  background-color: #FFFFFF;
  border: 1px solid #CCCCCC;
  padding: 40px 32px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 32px;
}

@media (min-width: 1024px) {
  #wpmem_reg,
    #wpmem_reg_form,
    .wpmem_register_form {
    padding: 48px 80px;
  }
}

#wpmem_reg fieldset,
#wpmem_reg_form fieldset,
.wpmem_register_form fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

#wpmem_reg legend,
#wpmem_reg_form legend,
.wpmem_register_form legend {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #333333;
  margin-bottom: 24px;
  display: block;
  width: 100%;
}

#wpmem_reg .div_text,
#wpmem_reg .div_text_box,
#wpmem_reg_form .div_text,
#wpmem_reg_form .div_text_box,
.wpmem_register_form .div_text,
.wpmem_register_form .div_text_box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  #wpmem_reg .div_text,
    #wpmem_reg .div_text_box,
    #wpmem_reg_form .div_text,
    #wpmem_reg_form .div_text_box,
    .wpmem_register_form .div_text,
    .wpmem_register_form .div_text_box {
    margin-bottom: 24px;
  }
}

#wpmem_reg label,
#wpmem_reg_form label,
.wpmem_register_form label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 2;
}

#wpmem_reg input[type="text"],
#wpmem_reg input[type="password"],
#wpmem_reg input[type="email"],
#wpmem_reg_form input[type="text"],
#wpmem_reg_form input[type="password"],
#wpmem_reg_form input[type="email"],
.wpmem_register_form input[type="text"],
.wpmem_register_form input[type="password"],
.wpmem_register_form input[type="email"] {
  width: 100%;
  height: 41px;
  border: 1px solid #dfdfdf;
  border-radius: 0;
  padding: 0 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #333333;
  background-color: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  #wpmem_reg input[type="text"],
    #wpmem_reg input[type="password"],
    #wpmem_reg input[type="email"],
    #wpmem_reg_form input[type="text"],
    #wpmem_reg_form input[type="password"],
    #wpmem_reg_form input[type="email"],
    .wpmem_register_form input[type="text"],
    .wpmem_register_form input[type="password"],
    .wpmem_register_form input[type="email"] {
    height: 48px;
    font-size: 16px;
  }
}

#wpmem_reg input:focus,
#wpmem_reg_form input:focus,
.wpmem_register_form input:focus {
  outline: none;
  border-color: #FFD800;
  box-shadow: 0 0 0 1px #FFD800;
}

#wpmem_reg input.buttons,
#wpmem_reg input[type="submit"],
#wpmem_reg_form input.buttons,
#wpmem_reg_form input[type="submit"],
.wpmem_register_form input.buttons,
.wpmem_register_form input[type="submit"] {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
  max-width: 240px;
  margin: 24px auto 0;
  background-color: #FFD800;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #484343;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.15s ease-in-out;
  letter-spacing: 1.4px;
  text-align: center;
}

@media (min-width: 1024px) {
  #wpmem_reg input.buttons,
    #wpmem_reg input[type="submit"],
    #wpmem_reg_form input.buttons,
    #wpmem_reg_form input[type="submit"],
    .wpmem_register_form input.buttons,
    .wpmem_register_form input[type="submit"] {
    font-size: 16px;
    letter-spacing: 0.8px;
    max-width: 260px;
    height: 56px;
  }
}

#wpmem_reg input.buttons:hover,
#wpmem_reg input[type="submit"]:hover,
#wpmem_reg_form input.buttons:hover,
#wpmem_reg_form input[type="submit"]:hover,
.wpmem_register_form input.buttons:hover,
.wpmem_register_form input[type="submit"]:hover {
  opacity: 0.9;
}

#wpmem_reg .button_div,
#wpmem_reg_form .button_div,
.wpmem_register_form .button_div,
.wpmem_msg+form .button_div,
.wpmem_login .button_div,
#wpmem_pwdreset .button_div,
#wpmem_change_password .button_div {
  position: relative;
  text-align: center;
  /* マージン突き抜け防止＆高さ確保 */
  padding-top: 1px;
  /* input.buttonsのmargin-top:24pxが内部で効くようになるため、
       コンテナ全体の高さは 1px + 24px + 48px = 73px となる */
}

/* 矢印アイコンの適用範囲拡大 */

#wpmem_reg .button_div::after,
#wpmem_reg_form .button_div::after,
.wpmem_register_form .button_div::after,
.wpmem_msg+form .button_div::after,
.wpmem_login .button_div::after,
#wpmem_pwdreset .button_div::after,
#wpmem_change_password .button_div::after,
#wpmem_login .button_div::after,
#wpmem_login_form .button_div::after {
  content: '';
  position: absolute;
  /* top基準だと親要素の高さ変動の影響を受けるためbottom基準に変更 */
  /* ボタン高さ48px - アイコン20px = 残り28px / 2 = 14px */
  top: auto;
  bottom: 14px;
  right: calc(50% - 104px);
  transform: translateY(0);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 15L12.5 10L7.5 5' stroke='%23484343' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  transition: transform 0.3s ease-in-out;
}

#wpmem_reg .button_div:hover::after,
#wpmem_reg_form .button_div:hover::after,
.wpmem_register_form .button_div:hover::after,
.wpmem_msg+form .button_div:hover::after,
.wpmem_login .button_div:hover::after,
#wpmem_pwdreset .button_div:hover::after,
#wpmem_change_password .button_div:hover::after,
#wpmem_login .button_div:hover::after,
#wpmem_login_form .button_div:hover::after {
  transform: translateX(4px);
}

@media (min-width: 1024px) {
  #wpmem_reg .button_div::after,
    #wpmem_reg_form .button_div::after,
    .wpmem_register_form .button_div::after,
    .wpmem_msg+form .button_div::after,
    .wpmem_login .button_div::after,
    #wpmem_pwdreset .button_div::after,
    #wpmem_change_password .button_div::after,
    #wpmem_login .button_div::after,
    #wpmem_login_form .button_div::after {
    right: calc(50% - 130px + 10px);
    /* ボタン高さ56px - アイコン20px = 残り36px / 2 = 18px */
    top: auto;
    bottom: 18px;
  }
}

/* リンク */

#wpmem_reg a,
#wpmem_reg_form a,
.wpmem_register_form a {
  color: #484343;
  text-decoration: underline;
  font-size: 14px;
  transition: opacity 0.15s ease-in-out;
}

#wpmem_reg a:hover,
#wpmem_reg_form a:hover,
.wpmem_register_form a:hover {
  opacity: 0.8;
}

/* ==========================================================================
   プロフィール編集フォーム（?a=edit）
   ========================================================================== */

/* 編集フォームのフィールドグループを横並びに */

#wpmem_reg .div_text,
#wpmem_reg .div_text_box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

/* ラベルの幅を固定 */

#wpmem_reg label {
  min-width: 80px;
  text-align: right;
  flex-shrink: 0;
}

/* 入力フィールドの幅 */

#wpmem_reg input[type="text"],
#wpmem_reg input[type="email"],
#wpmem_reg input[type="tel"] {
  flex: 1;
}

/* 送信ボタンを白背景+ボーダースタイルに変更 */

#wpmem_reg input.buttons,
#wpmem_reg input[type="submit"] {
  background-color: #FFFFFF !important;
  border: 2px solid #484343 !important;
  color: #484343 !important;
}

#wpmem_reg input.buttons:hover,
#wpmem_reg input[type="submit"]:hover {
  opacity: 0.8;
}

/* 矢印アイコンの色を変更 */

#wpmem_reg .button_div::after {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.5 15L12.5 10L7.5 5' stroke='%23484343' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   会員登録ページ（my-stage）専用スタイル
   Figmaデザインに合わせて黄色ボタンを適用
   ========================================================================== */

.my-stage-register-section #wpmem_reg input.buttons,
.my-stage-register-section #wpmem_reg input[type="submit"] {
  background-color: #FFD800 !important;
  border: none !important;
  color: #484343 !important;
}

.my-stage-register-section #wpmem_reg input.buttons:hover,
.my-stage-register-section #wpmem_reg input[type="submit"]:hover {
  opacity: 0.9;
}

/* メッセージ */

#wpmem_restricted_msg {
  padding: 32px 0;
}

/* 必須項目 */

.req-text,
.req {
  color: #D64545;
}

.req-text {
  margin-top: 16px;
}