
body.authentication {
	display: flex;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

body.authentication > div {
	height: 100vh;
}

/*-----------------------------------------------------------------------------------------------> ▼ #wrap_auth_box <--*/

#wrap_auth_box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50%;
	width: 100%;
	border: 0px solid #226;
	background: #eee;
}

/*----------------------------------------------------------------------> ▼ #wrap_auth_box <--*/

#auth_box {
	width: 400px;
	height: fit-content;
	padding: 50px 30px 50px;
	border: 0px solid #ddd;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 3px #ddd;
	text-align: center;
}

/*----------------------------------------------------------------------> ▼ .profile <--*/

#auth_box .profile > div {
	text-align: center;
}

#auth_box .icon {
	width: 80px;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	box-shadow: 0 0 7.5px #d0d0d0;
	border-radius: 10px;
}

#auth_box .name {
	margin: 15px 0 25px;
	font-family: NotoSans-B;
	font-size: 20px;
	letter-spacing: 1px;
}

#auth_box .version {
	font-size: 12px;
	color: #999;
	letter-spacing: var(--letter_spacing);
}

#auth_box input[type="text"],
#auth_box input[type="password"],
#auth_box button {
	width: 100%;
	line-height: 40px;
	margin-top: 15px;
	padding-bottom: 0px;
	font-family: NotoSans-M;
	font-size: 18px;
	letter-spacing: var(--letter_spacing);
	text-align: center;
	border: 1px solid #ddd;
	border-radius: var(--border_radius);
	background: #fff;

	-webkit-appearance: none;
	appearance: none;
}

#auth_box input:not(.failure):focus {
	border-color: var(--theme);
}

#auth_box input[type="text"] {
	letter-spacing: 1.25px;
	font-family: Helvetica-R;
	font-size: ;
}

#auth_box input[type="password"] {
	letter-spacing: 0.2em;
	font-family: "メイリオ";
	font-size: 20px;
}

#auth_box button {
	font-family: NotoSans-B;
	font-size: 15px;
	color: #666;
	letter-spacing: ;
	background: #fff;
}

#auth_box input.failure {
	border-color: var(--failure);
	background: var(--failure_bg);
}

#auth_box a {
	display: inline-block;
	margin-top: 40px;
	padding-bottom: 3px;
	border-bottom: 1px solid #777;
}

#auth_box input::placeholder {
	line-height: 150px;
	font-family: NotoSans-B;
	font-size: 15px;
	color: #ccc;
	letter-spacing: 0.5px;
}

#auth_box input[type="checkbox"] {
	display: none;
}

#auth_box .checkbox {
	display: inline-block;
	position: relative;
	width: auto;
	margin: 15px auto 0;
	padding-left: 20px;
	cursor: pointer;
	line-height: 14px;
}

#auth_box .checkbox::before {
	content: '';
	display: block;
	position: absolute;
	width: 12px;
	height: 12px;
	top: 0;
	left: 0;
	border: 1px solid #444;
	border-radius: 3px;
}


#auth_box .checkbox::after {
	content: '';
	display: block;
	position: absolute;
	width: 5px;
	height: 11px;

	top: -4px;
	left: 6px;
	border-right: 3px solid var(--theme);
	border-bottom: 3px solid var(--theme);
	transform: rotate(45deg);
	opacity: 0;
}

#auth_box input[type="checkbox"]:checked + .checkbox::after {
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	#auth_box a:hover {
		color: var(--theme);
		border-color: var(--theme);
	}
}

/*----------------------------------------------------------------------> ▼ auth_box <--*/

#auth_box.reset button{
	color: #fff;
	border-color: #b00;
	background: #b00;
}

#auth_box.reset ::placeholder {
}

.auth_error {
	margin-top: 15px;
	padding: 5px 10px 7px;
	border-radius: 5px;
	background: #c00;
	color: #fff;
	text-align: center;
}

.message {
	margin: 15px 0;
	line-height: 1.5em;
}

/*----------------------------------------------------------------------> ▼ エラーメッセージ <--*/

.auth_failure {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	
	font-family: Notosans-B;
	font-size: 13px;
	line-height: 1.5em;
	letter-spacing: 0.5px;
	color: var(--failure);
	text-align: center;
}

@media (501px <= width) {
	#auth_box {
		width: 400px;
	}
}

@media (width <= 500px) {
	#auth_box {
		width: calc(100% - 60px);
	}
}