@charset "UTF-8";
/* COMMUNITY_YB-869 (1) メール認証画面（メアド入力 / 認証コード入力）スタイル
   ※ reset.css の全称セレクタ(font-size/line-height を各要素へ直指定)に打ち勝つため、
     leaf 要素にもサイズ/行間を明示する。.register-main の text-align:center も個別に打ち消す。
   ※ 両画面共通は親の .register-email-auth に、画面固有は .email-auth-screen / .email-code-screen に書く。 */

/* ───────────── 両画面共通（親に .register-email-auth を付与） ───────────── */
/* 下部固定ボタン(下58px+高さ50px)ぶんの余白を本文下に確保し重なりを防ぐ */
.register-email-auth { padding-bottom: 132px; }

/* エラー/通知ボックス（Figma: bg#FFEEF2・角丸8・padding8/12・#F44741 14px/160%） */
.register-email-auth .register-error {
  display: block; width: auto; margin: 24px 24px 0; padding: 8px 12px;
  border-radius: 8px; background: #FFEEF2; color: #F44741;
  font-size: 14px; line-height: 1.6; font-weight: 400; text-align: left;
}

/* 見出し「〜を入力してください」（Figma: 24px/700/line-height38px） */
.register-email-auth .question {
  text-align: left; margin: 24px 0 12px; padding: 0 24px;
  color: #1B1E1B; font-size: 24px; line-height: 38px; letter-spacing: 0;
}

/* 入力ラベル */
.register-email-auth .register-form-label {
  text-align: left; margin: 24px 0 0; padding: 0 24px;
  color: #1B1E1B; font-size: 14px; font-weight: bold; line-height: 1.4;
}

/* 入力欄まわり（左端24px揃え・既定の中央寄せ/max-widthを解除） */
.register-email-auth .common-form { margin: 8px 0 0; max-width: none; }
.register-email-auth .common-input { margin-bottom: 8px; }

/* 下部固定の送信/次へボタン（全幅・高さ50px・下58px固定。既定のabsolute右下固定を解除） */
/* 広い画面でも固定フッターを max-width:400px・中央寄せにして、ボタンが横に伸びすぎないようにする
   （モバイルは画面幅いっぱいのまま）。 */
.register-email-auth .ea-footer {
  position: fixed; left: 0; right: 0; bottom: 58px;
  display: flex; justify-content: center; padding: 0 24px;
  max-width: 400px; margin-left: auto; margin-right: auto;
}
.register-email-auth .ea-submit {
  position: static; right: auto; bottom: auto;
  width: 100%; max-width: none; height: 50px; justify-content: center;
}
.register-email-auth .ea-submit:disabled { background: #BBBBBB; } /* 無効色。有効時は nav-btn-next のオレンジを流用 */

/* ───────────── メアド入力画面 固有 ───────────── */
/* 緑チェック2行（#20BC6F・12px） */
.email-auth-screen .register-note-check {
  list-style: none; padding: 0 24px; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.email-auth-screen .register-note-check li {
  display: flex; align-items: center; color: #20BC6F; font-size: 12px; margin: 0;
}
.email-auth-screen .register-note-check__icon { width: 20px; height: 20px; margin-right: 8px; flex: 0 0 auto; }
/* 入力欄下の注記（共通 .common-note を左24pxで入力欄に揃える） */
.email-auth-screen .email-auth-note { padding: 0 24px; margin: 0; }

/* 送信完了モーダル（Figma: 343x280・角丸12・オレンジチェック・#5C5647文字。overlayは.register-email-auth外のため共通クラスを使わない） */
.ea-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 0 24px; }
.ea-modal { background: #fff; border-radius: 12px; width: 100%; max-width: 343px; padding: 29px 24px 24px; text-align: center; box-sizing: border-box; }
.ea-modal__icon { width: 54px; height: 54px; }
.ea-modal__title { font-size: 16px; font-weight: 700; color: #5C5647; margin: 28px 0 20px; }
.ea-modal__body { font-size: 14px; color: #5C5647; line-height: 1.6; margin: 0 0 24px; }
.ea-modal__btn { display: flex; align-items: center; justify-content: center; width: 240px; max-width: 100%; margin: 0 auto; height: 50px; border-radius: 40px; background: #f89641; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; box-sizing: border-box; }

/* ───────────── 認証コード入力画面 固有 ───────────── */
/* 見出し→緑チェックの間隔は 20px（共通の12pxを上書き） */
.email-code-screen .question { margin-bottom: 20px; }
/* 緑チェックが上の余白を持つためラベル上余白なし（共通の24pxを上書き） */
.email-code-screen .register-form-label { margin: 0; }
/* 緑チェック1行（p要素・#20BC6F・12px） */
.email-code-screen .code-sent-note {
  display: flex; align-items: flex-start; gap: 8px; margin: 0 0 24px; padding: 0 24px;
  color: #20BC6F; font-size: 12px; line-height: 1.5;
}
.email-code-screen .code-sent-note__icon { width: 20px; height: 20px; flex: 0 0 auto; }
/* 「認証コードが届かない場合」ヘルプ */
.email-code-screen .code-help { margin: 24px 0 0; padding: 0 24px; text-align: left; }
.email-code-screen .code-help__title { margin: 0 0 4px; color: #1B1E1B; font-size: 14px; font-weight: bold; }
.email-code-screen .code-help__list { list-style: none; padding: 0; margin: 0; color: #727472; }
.email-code-screen .code-help__list li { margin: 0; font-size: 12px; line-height: 1.8; font-weight: 400; }
/* 「戻ってメールアドレスを修正する」（Figma: 12px/underline・矢印24px・上下padding12px） */
.email-code-screen .code-back { margin: 28px 0 0; padding: 0 24px; font-size: 13px; text-align: left; }
.email-code-screen .code-back a { display: inline-flex; align-items: center; gap: 4px; padding: 12px 0; color: #727472; text-decoration: none; }
.email-code-screen .code-back__arrow { flex: 0 0 auto; }
.email-code-screen .code-back__text { text-decoration: underline; font-size: 12px; line-height: 19px; font-weight: 400; }
