* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html, body {
	height: 100%;
	width: 100%;
}
img {
	border: 0;
	display: block;
}
p {
	margin: 0;
}
form {
	margin: 0;
}
/* ベース：白黒／読みやすいサイズに */
body {
	background: #111 radial-gradient(1200px 800px at 70% -20%, rgba(255, 255, 255, 0.06), transparent) no-repeat;
	color: #111;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}
/* 古いclearfix系は無効化 */
.clear {
	display: none;
}
/* 背景画像は撤去してフラットに */
#login-bg {
	background: none;
}
/* 全体センター配置 */
#login-holder {
	min-height: 100dvh;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	display: grid;
	place-items: center;
	padding: 24px;
}
/* ロゴ */
#logo-login {
	float: none;
	height: auto;
	margin: 0 0 12px 0;
	text-align: center;
}
#logo-login img {
	margin: 0 auto;
	width: 156px;
	max-width: 60%;
	opacity: .9;
}
/* カード */
#loginbox, #forgotbox {
	background: #fff;
	width: min(480px, 92vw);
	min-height: auto;
	border: 1px solid #eaeaea;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	padding: 28px 24px 22px;
	position: relative;
	font-size: 16px;
	line-height: 1.6;
}
#forgotbox {
	display: none;
}
/* インナー */
#login-inner, #forgot-inner, #login-inner-err {
	width: 100%;
	max-width: 360px;
	margin: 0 auto;
	color: #111;
	font-size: 16px;
	line-height: 1.6;
	font-family: inherit;
}
/* ラベル・見出し */
#login-inner label, #forgot-inner label, #login-inner-err label {
	color: #444;
	cursor: pointer;
	font-weight: 700;
	padding-left: 0;
}
/* テーブルレイアウト（そのまま使用） */
#login-inner table, #forgot-inner table, #login-inner-err table {
	width: 100%;
	border-collapse: collapse;
}
#login-inner th, #forgot-inner th, #login-inner-err th {
	padding: 6px 0 6px 0;
	text-align: left;
	width: 8.5em;
	color: #555;
	font-size: 13px;
	letter-spacing: .02em;
}
#login-inner td, #forgot-inner td, #login-inner-err td {
	padding: 0 0 12px 0;
}
/* 入力欄（白黒・フォーカス黒） */
.login-inp {
	width: 100%;
	height: auto;
	padding: 12px 14px;
	border: 1px solid #d9d9d9;
	border-radius: 10px;
	background: #fff;
	color: #111;
	font-size: 16px;
	line-height: 1.4;
	outline: 0;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.login-inp::placeholder {
	color: #aaa;
}
.login-inp:focus {
	border-color: #111;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .08);
}
/* チェックボックス（互換） */
.checkbox-size {
	width: 16px;
	height: 16px;
	margin: 5px 0;
}
/* 送信ボタン（黒→ホバー反転） */
.submit-login {
	width: 100%;
	display: inline-block;
	border: 2px solid #111;
	background: #111;
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	border-radius: 10px;
	padding: 12px 16px;
	letter-spacing: .06em;
	cursor: pointer;
	text-indent: 0; /* 旧スプライト仕様解除 */
	transition: transform .04s ease, background .15s ease, color .15s ease;
}
.submit-login:hover {
	background: #fff;
	color: #111;
}
.submit-login:active {
	transform: translateY(1px);
}
/* 補助リンク */
a.forgot-pwd, a.back-login, a.back-login-err, a.back-login-err-left {
	position: static;
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	color: #666;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color .15s ease, color .15s ease;
}
a.forgot-pwd:hover, a.back-login:hover, a.back-login-err:hover, a.back-login-err-left:hover {
	color: #111;
	border-color: #111;
}
/* エラーブロック（赤は使わず白黒で） */
.login_errer {
	margin-top: 10px;
	text-align: center;
}
.errer-text {
	margin: 0;
	color: #222;
	font-size: 13px;
}
/* エラーページ用コンテナ互換 */
#login-inner-err {
	max-width: 380px;
}
a.back-login-err-left {
	margin-right: 16px;
}
/* Powered by */
#zinque-logo {
	width: 100%;
	text-align: center;
	font-size: 12px;
	color: #888;
	margin-top: 14px;
}
#zinque-logo img {
	width: 156px;
	max-width: 40%;
	margin: 6px auto 0;
	filter: grayscale(100%);
	opacity: .7;
}
/* 念のため古い画像ベースの背景を無効化 */
#loginbox, #forgotbox, .login-inp, .submit-login {
	background-image: none !important;
	background-position: initial !important;
	background-repeat: no-repeat !important;
}
/* 大きめ画面の微調整 */
@media (min-width: 1024px) {
	#loginbox {
		padding: 34px 28px 26px;
	}
	.login-inp {
		font-size: 16px;
	}
}