/* =========================================================
   WordPress ログインページ カスタムスタイル
   Public AGENDA デザイン準拠
   ========================================================= */

/* ページ全体 */
body.login {
  background: #f6f6f4;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

/* ロゴエリア */
#login h1 a {
  background-image: none !important;
  background-color: transparent;
  width: auto;
  height: auto;
  text-indent: 0;
  font-size: 22px;
  font-weight: 900;
  color: #1a1a2e;
  letter-spacing: -0.3px;
  display: block;
  text-align: center;
  padding: 0;
  margin-bottom: 4px;
  line-height: 1;
}
#login h1 a::before {
  content: none;
}

/* ロゴ下のサブテキスト */
.login-logo-sub {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-bottom: 28px;
  display: block;
}

/* ログインボックス全体の位置 */
#login {
  width: 100%;
  max-width: 440px;
  padding: 48px 24px;
  box-sizing: border-box;
}

/* フォームボックス */
#loginform,
#lostpasswordform,
#registerform {
  background: #fff;
  border: 1px solid #e4e4e0 !important;
  border-radius: 8px !important;
  padding: 36px 40px !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.08) !important;
  margin-top: 0 !important;
}

/* フォームタイトル（ページ見出し） */
.login-title {
  font-size: 22px;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 6px;
  display: block;
}
.login-subtitle {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 24px;
  display: block;
}

/* ラベル */
#loginform label,
#lostpasswordform label,
#registerform label {
  font-size: 13px;
  font-weight: 700;
  color: #444;
  margin-bottom: 6px;
}

/* インプット */
#loginform input[type=text],
#loginform input[type=password],
#loginform input[type=email],
#lostpasswordform input[type=text],
#lostpasswordform input[type=email],
#registerform input[type=text],
#registerform input[type=email],
#registerform input[type=password] {
  width: 100%;
  padding: 11px 14px !important;
  border: 1.5px solid #ccc !important;
  border-radius: 4px !important;
  font-size: 15px !important;
  color: #1a1a1a;
  background: #fafafa;
  box-shadow: none !important;
  font-family: inherit;
  transition: border-color .15s;
  box-sizing: border-box;
}
#loginform input[type=text]:focus,
#loginform input[type=password]:focus,
#loginform input[type=email]:focus,
#lostpasswordform input[type=text]:focus,
#lostpasswordform input[type=email]:focus,
#registerform input[type=text]:focus,
#registerform input[type=email]:focus,
#registerform input[type=password]:focus {
  border-color: #1a1a2e !important;
  background: #fff;
  box-shadow: none !important;
  outline: none;
}

/* ログイン状態を保持する */
.forgetmenot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.forgetmenot label {
  font-size: 13px !important;
  color: #666 !important;
  font-weight: 400 !important;
}
.forgetmenot input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1a1a2e;
}

/* ログインボタン */
#loginform .button-primary,
#lostpasswordform .button-primary,
#registerform .button-primary,
input#wp-submit {
  width: 100%;
  padding: 13px !important;
  background: #1a1a2e !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer;
  letter-spacing: .3px;
  font-family: inherit;
  box-shadow: none !important;
  text-shadow: none !important;
  height: auto !important;
  line-height: 1.4 !important;
  transition: opacity .15s;
  float: none !important;
}
#loginform .button-primary:hover,
#lostpasswordform .button-primary:hover,
#registerform .button-primary:hover,
input#wp-submit:hover {
  background: #2d2d4e !important;
  color: #fff !important;
}

/* パスワードをお忘れ・その他リンク */
#nav, #backtoblog {
  text-align: center;
  margin-top: 16px;
}
#nav a, #backtoblog a {
  font-size: 13px;
  color: #888;
  text-decoration: underline;
}
#nav a:hover, #backtoblog a:hover {
  color: #1a1a2e;
}

/* エラー・メッセージ */
#login_error,
.message {
  border-left: 4px solid #B91C1C !important;
  border-radius: 4px;
  font-size: 14px;
  padding: 12px 16px !important;
  margin-bottom: 16px !important;
}
.message {
  border-left-color: #1E448A !important;
}

/* パスワード表示トグル */
.wp-pwd button.button {
  background: transparent;
  border: none;
  color: #888;
  padding: 0 8px;
  box-shadow: none !important;
}

/* フッター下部リンク */
.login #login_footer,
.privacy-policy-page-link {
  text-align: center;
  font-size: 12px;
  color: #aaa;
}
.privacy-policy-page-link a {
  color: #aaa;
}

/* サイトに戻るリンク非表示（任意） */
/* #backtoblog { display: none; } */
