/* ============================================================
   モギセン ログイン画面 共通レイアウト（operator / rdi_admin / auth_action 共有）
   サービスサイト(LP)からの連続性を持たせた lg- クラス群。各 HTML は <head> で
   この後に自前 <style> を置き、ページ固有分（背景色・ヘッダーリンク・フッター・
   パスワード表示トグル等）だけを上書き／追加する。
   前提：ホスト側 <style> で `*{box-sizing:border-box}` を設定済み（3ページとも有）。
   ・.lg-main 背景の既定は #f1fafa（rdi/auth）。operator は自前 <style> で #f7f6f2 に上書き。
   ・.lg-header .lg-wrap は既定でロゴのみ左寄せ。operator は justify-content:space-between を上書き。
   ============================================================ */
.lg-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 clamp(20px,5vw,40px); }
.lg-header { flex: 0 0 auto; height: 64px; display: flex; align-items: center; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.08); }
.lg-header .lg-wrap { display: flex; align-items: center; gap: 20px; }
.lg-brand img { height: 28px; width: auto; display: block; }
.lg-main { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: clamp(36px,6vw,72px) 20px; background: #f1fafa; }
.lg-card { width: 100%; max-width: 760px; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 18px;
  box-shadow: 0 8px 30px rgba(20,60,62,0.08); padding: clamp(40px,6vw,72px) clamp(28px,6vw,64px); }
.lg-form { max-width: 420px; margin: 0 auto; }
.lg-title { text-align: center; font-size: 1.5rem; font-weight: 900; color: #1a1a18; line-height: 1.4; margin: 0 0 8px; }
.lg-sub { text-align: center; font-size: 0.98rem; color: #5f5e5a; line-height: 1.7; margin: 0 0 32px; }
.lg-field { margin-bottom: 20px; }
.lg-field label { display: block; font-size: 0.95rem; font-weight: 700; color: #1a1a18; margin-bottom: 8px; }
.lg-input { width: 100%; padding: 13px 15px; border: 1.5px solid rgba(0,0,0,0.18); border-radius: 10px;
  font-size: 1rem; font-family: inherit; background: #fff; color: #1a1a18; box-sizing: border-box; }
.lg-input:focus { outline: none; border-color: #009ca2; box-shadow: 0 0 0 3px rgba(0,156,162,0.15); }
.lg-error { display: none; background: #fcebeb; border: 1px solid #f09595; border-radius: 8px; padding: 11px 14px;
  font-size: 0.92rem; color: #a32d2d; line-height: 1.7; margin-bottom: 16px; }
/* .lg-btn は <button>（operator/rdi/auth）でも <a>（auth の「ログインページへ」）でも使えるよう
   display:block / text-align:center / text-decoration:none を持たせる（ボタン表示には無害） */
.lg-btn { display: block; width: 100%; padding: 15px; border: none; border-radius: 10px; background: #009ca2; color: #fff;
  font-size: 1.05rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; font-family: inherit; transition: background 0.2s; }
.lg-btn:hover:not(:disabled) { background: #007a7f; }
.lg-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.lg-links { text-align: center; margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.lg-links a { font-size: 0.95rem; color: #007a7f; font-weight: 700; text-decoration: none; }
.lg-links a:hover { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .lg-card { padding: 32px 22px; } }
