/* フェードインアニメーション */
@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

main {
	margin: 50vh auto 0;
	transform: translateY(-50%);
	display: block;
	width: calc(100% - 30px);
	max-width: 500px;
	animation: fadeIn 1.2s;
}

img.logo {
	display: block;
	width: 220px;
	margin: auto;
}

ul {
	margin: 40px 0 60px;
}

ul li {
	padding: 20px 0 0;
}

label {
	display: block;
	font-size: 12px;
	color: var(--gray);
	padding-bottom: 3px
}

ul li > div {
	display: block;
	width: 100%;
}

ul input {
	width: 100%;
}

/* パスワードの表示 */
div.eyebox {
	display: flex;
	align-items: center;
	padding: 20px 0 0;
}

i.icon_eye {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--gray);
	width: 24px;
	height: 24px;
	margin-right: 10px
}

div.eyebox p {
	font-size: 12px;
	color: var(--gray);
}

/* 自動ログインチェックボックス*/
label.checkboxItem {
	display: flex;
	align-items: center;
}

label.checkboxItem span {
	margin-top: 2px
}

.checkbox {
	appearance: none;
	position: relative;
	width: 20px;
	height: 20px;
	border: 1px solid var(--gray);
	border-radius: 2px;
	cursor: pointer;
	margin-right: 10px
}

.checkbox:checked {
	background-color: var(--cyan);
	border: 1px solid var(--cyan);
}

.checkbox:checked::after {
	content: "";
	position: absolute;
	top: 5px;
	left: 3px;
	width: 12px;
	height: 6px;
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(-45deg);
}

@media only screen and (max-width: 800px) {
	ul li {
		display: block;
	}

	ul li > div {
		width: 100%;
	}

	/* 自動ログインチェックボックス*/
	label.checkboxItem {
		margin: 10px 0 0;
	}

}
