@charset "utf-8";

/*---------------------------------------------------------------------- general <--*/

.auth_box {
	height: fit-content;
	text-align: center;
}

.auth_box img {
	max-height: 60px;
	margin-bottom: 5px;
}

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


.auth_box .icon {
	width: 80px;
	aspect-ratio: 1 / 1;
	margin: 0 auto 30px;
	box-shadow: 0 0 7.5px #d0d0d0;
	border-radius: 15px;
	background-size: calc(100% - 15px) calc(100% - 15px);
	background-position: center;
	background-repeat: no-repeat;
}

.auth_box .name {
	
	font-size: 16px;
	letter-spacing: var(--letter_spacing);
}

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



.auth_box input {
	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:focus {
	border-color: #6cf;
}

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

.auth_box input[type="submit"] {
	font-family: NotoSans-B;
	font-size: 15px;
	color: #666;
	letter-spacing: 1px;
	background: #fff;
}


.auth_box input[type="submit"]:disabled {
	color: #ccc;
}

.auth_box a {
	display: inline-block;
	margin-top: 40px;
	padding-bottom: 3px;
	font-size: 13px;
	text-align: center;
	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_failure {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: 15px;
	padding: 7px 10px;
	border: 1px solid var(--failure);
	border-radius: var(--border_radius);
	
	font-size: 13px;
	line-height: 1.5em;
	color: var(--failure);
	text-align: center;
}

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

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

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

.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 #3af;
	border-bottom: 3px solid #3af;
	transform: rotate(45deg);
	opacity: 0;
}

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