/*
====================================================
ファイル	login.css	【ログイン】
作成者		chikara
作成日		2026/08/07
====================================================
*/

.login-page {
	background: #f7f9fc;
}

.login-shell {
	display: grid;
	min-height: 100vh;
	padding: 32px;
	place-items: center;
}

.login-card {
	display: grid;
	grid-template-columns: minmax(320px, 0.92fr) minmax(380px, 1.08fr);
	width: min(920px, 100%);
	min-height: 570px;
	overflow: hidden;
	border: 1px solid #e2e8f1;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(27, 59, 99, 0.1);
}

.login-brand-panel {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 42px 40px 34px;
	overflow: hidden;
	flex-direction: column;
	color: #ffffff;
	background: linear-gradient(145deg, #0871e0 0%, #075ebf 100%);
}

.login-brand-panel::before,
.login-brand-panel::after {
	position: absolute;
	content: "";
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 50%;
}

.login-brand-panel::before {
	right: -170px;
	bottom: -130px;
	width: 400px;
	height: 400px;
}

.login-brand-panel::after {
	right: -70px;
	bottom: -45px;
	width: 220px;
	height: 220px;
}

.login-brand {
	position: relative;
	z-index: 1;
	text-align: center;
}

.login-brand-logo {
	position: relative;
	display: block;
	width: 178px;
	height: 44px;
	overflow: hidden;
	border-radius: 4px;
	background: #ffffff;
}

.login-brand-logo img {
	position: absolute;
	top: -61px;
	left: -43px;
	width: 240px;
	max-width: none;
}

.login-brand-label {
	display: block;
	margin-top: 6px;
	color: rgba(255, 255, 255, 0.66);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
}

.login-brand-security {
	position: absolute;
	bottom: 34px;
	left: 40px;
	display: flex;
	align-items: center;
	z-index: 1;
	gap: 7px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 9px;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.login-brand-security span {
	display: block;
	width: 7px;
	height: 7px;
	border: 2px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
}

.login-form-panel {
	display: flex;
	justify-content: center;
	padding: 68px 68px 48px;
	flex-direction: column;
}

.login-form-heading > p {
	margin: 0 0 6px;
	color: #0b72e7;
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.16em;
}

.login-form-heading h2 {
	margin: 0;
	color: #172238;
	font-size: 25px;
	line-height: 1.35;
	letter-spacing: -0.025em;
}

.login-form-heading > span {
	display: block;
	margin-top: 7px;
	color: #8793a5;
	font-size: 11px;
}

.login-alert {
	padding: 10px 12px;
	margin-top: 19px;
	border: 1px solid transparent;
	border-radius: 9px;
	font-size: 11px;
	font-weight: 700;
}

.login-alert.is-success {
	border-color: #bfe0d0;
	color: #19714d;
	background: #edf8f3;
}

.login-alert.is-error {
	border-color: #f0c7cd;
	color: #b43e4b;
	background: #fff3f4;
}

.login-form {
	display: grid;
	margin-top: 27px;
	gap: 17px;
}

.login-field label {
	display: block;
	margin-bottom: 7px;
	color: #3b475c;
	font-size: 11px;
	font-weight: 800;
}

.login-field input {
	display: block;
	width: 100%;
	height: 47px;
	padding: 0 13px;
	border: 1px solid #dce3ed;
	border-radius: 10px;
	color: #243149;
	background: #ffffff;
	font-size: 13px;
	outline: none;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.login-field input::placeholder {
	color: #a6afbd;
}

.login-field input:focus {
	border-color: #5ba0ee;
	box-shadow: 0 0 0 3px rgba(11, 114, 231, 0.11);
}

.login-password-control {
	position: relative;
}

.login-password-control input {
	padding-right: 62px;
}

.login-password-control button {
	position: absolute;
	top: 50%;
	right: 8px;
	padding: 5px 8px;
	transform: translateY(-50%);
	border: 0;
	border-radius: 6px;
	color: #0b6bd3;
	background: #edf5ff;
	font-size: 10px;
	font-weight: 800;
	cursor: pointer;
}

.login-password-control button:focus-visible {
	outline: 2px solid #5ba0ee;
	outline-offset: 1px;
}

.login-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 47px;
	margin-top: 4px;
	gap: 9px;
	border: 0;
	border-radius: 10px;
	color: #ffffff;
	background: #0b72e7;
	box-shadow: 0 10px 24px rgba(11, 114, 231, 0.22);
	font-size: 12px;
	font-weight: 850;
	cursor: pointer;
	transition: background-color 150ms ease, transform 150ms ease;
}

.login-submit i {
	font-size: 15px;
	font-style: normal;
}

.login-submit:hover,
.login-submit:focus-visible {
	transform: translateY(-1px);
	background: #0867d2;
	outline: none;
}

.login-submit:disabled {
	transform: none;
	opacity: 0.7;
	cursor: wait;
}

.login-help {
	margin: 22px 0 0;
	color: #929cad;
	font-size: 10px;
	line-height: 1.7;
	text-align: center;
}

.login-footer {
	margin-top: 17px;
	color: #9aa5b4;
	font-size: 10px;
	text-align: center;
}

.login-footer a:hover,
.login-footer a:focus-visible {
	color: #0b72e7;
	text-decoration: underline;
	outline: none;
}

@media (max-width: 760px) {
	.login-shell {
		padding: 20px;
	}

	.login-card {
		grid-template-columns: 1fr;
		max-width: 500px;
		min-height: 0;
	}

	.login-brand-panel {
		min-height: 185px;
		padding: 27px 30px;
	}

	.login-brand-security {
		display: none;
	}

	.login-form-panel {
		padding: 42px 36px;
	}
}

@media (max-width: 420px) {
	.login-shell {
		padding: 0;
		place-items: stretch;
	}

	.login-card {
		min-height: 100vh;
		border: 0;
		border-radius: 0;
	}

	.login-brand-panel {
		min-height: 155px;
		padding: 24px;
	}

	.login-form-panel {
		padding: 36px 24px 42px;
	}

	.login-footer {
		display: none;
	}
}
