/* ================================================================
   ログイン / 会員登録 / パスワード再設定 の共通スタイル

   デザイン元: IMP修正\aiimport-test\mypage\（新デザイン デモ）
   既存の style.css / style_mypage.css の後に読み込む。

   ※ クラス名はすべて .auth- で始めてある。既存CSSに .card / .note / .btn
     などがあり、そのまま使うと他画面へ影響が出るため。
   ================================================================ */
:root{
	--auth-blue:   #185FA5;
	--auth-blue2:  #0C447C;
	--auth-line:   #e3e3e0;
	--auth-gray:   #f4f4f1;
	--auth-tx:     #222;
	--auth-muted:  #777;
	--auth-danger: #C0392B;
}

.auth{ max-width:520px; margin:20px auto 40px; padding:0 16px; }
.auth-card{
	background:#fff; border:1px solid var(--auth-line); border-radius:12px;
	padding:28px 30px; box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.auth h1{
	font-size:20px; text-align:center; margin:0 0 4px; color:var(--auth-tx); font-weight:700;
}
.auth-lead{ text-align:center; color:var(--auth-muted); font-size:13px; margin:0 0 18px; }

/* 会員種別のチップ */
.auth-memwrap{ text-align:center; margin-bottom:18px; }
.auth-memchip{
	display:inline-flex; align-items:center; gap:6px;
	background:#e8f6ec; color:#1a9c46; border-radius:20px;
	padding:3px 12px; font-size:12px; font-weight:700;
}

/* 入力欄 */
.auth-field{ margin-top:12px; }
.auth label{ display:block; font-size:12px; color:#555; font-weight:600; margin:0 0 4px; }
.auth input[type="text"],
.auth input[type="email"],
.auth input[type="password"],
.auth select{
	width:100%; height:42px; border:1px solid var(--auth-line); border-radius:8px;
	padding:8px 12px; font-size:14px; background:#fff; color:var(--auth-tx);
}
.auth input:focus, .auth select:focus{ outline:2px solid var(--auth-blue); outline-offset:1px; }
.auth-hint{ font-size:11px; color:var(--auth-muted); margin-top:3px; }
.auth-err{ color:var(--auth-danger); font-size:11px; margin-top:3px; }
.auth-field.bad input, .auth-field.bad select{ border-color:var(--auth-danger); }

/* 名・姓を横並びに。狭い画面では1列へ折り返す */
.auth-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:440px){ .auth-grid2{ grid-template-columns:1fr; } }

/* チェックボックス行 */
.auth-check{
	display:flex; align-items:flex-start; gap:8px; margin:14px 0 4px;
	font-size:13px; color:#444;
}
.auth-check input{ width:auto; height:auto; margin-top:3px; }
.auth-check label{ margin:0; font-weight:400; font-size:13px; color:#444; }

/* ボタン */
.auth-btn{
	width:100%; height:46px; font-size:15px; margin-top:16px;
	background:var(--auth-blue); color:#fff; border:none; border-radius:8px;
	cursor:pointer; font-weight:600;
}
.auth-btn:hover{ background:var(--auth-blue2); }
.auth-btn:disabled{ background:#b9c4cf; cursor:not-allowed; }
.auth-btn.ghost{
	background:#fff; color:var(--auth-blue2); border:1px solid var(--auth-blue);
}
.auth-btn.ghost:hover{ background:#f2f7fc; }

/* 補助リンク・区切り */
.auth-foot{ text-align:center; font-size:13px; margin-top:14px; }
.auth-foot a{ color:var(--auth-blue); text-decoration:underline; }
.auth-or{
	display:flex; align-items:center; gap:10px;
	color:var(--auth-muted); font-size:12px; margin:18px 0 4px;
}
.auth-or::before, .auth-or::after{
	content:""; flex:1; height:1px; background:var(--auth-line);
}
