/* CSS Document */

#login{
	display: grid;
	grid-template-columns: var(--wrap);
	justify-content: center;
	grid-row-gap: clamp(32px, calc(56 / 1200 * 100vw), 56px);
	margin: clamp(32px, calc(96 / 1200 * 100vw), 96px) 0;
	& h2{
		display: grid;
		justify-items: center;
		font-size: clamp(24px, calc(32 / 768 * 100vw), 32px);
		font-family: var(--font-title);
		letter-spacing: 0.2em;
		text-align: center;
		&:before{
			content: "";
			aspect-ratio: 58 / 40;
			width: 58px;
			background: #897750;
			opacity: 0.25;
			-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 58 40" style="fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round;"><polygon points="7 11 17 21 21 17 17 13 7 23 17 33 21 29 17 25 7 35 11 39 15 35 5 25 1 29 5 33 15 23 5 13 1 17 5 21 15 11 11 7 7 11"/><polygon points="25 5 35 15 39 11 35 7 25 17 35 27 39 23 35 19 25 29 29 33 33 29 23 19 19 23 23 27 33 17 23 7 19 11 23 15 33 5 29 1 25 5"/><polygon points="43 11 53 21 57 17 53 13 43 23 53 33 57 29 53 25 43 35 47 39 51 35 41 25 37 29 41 33 51 23 41 13 37 17 41 21 51 11 47 7 43 11"/></svg>') no-repeat center / contain;
		}
	}
}

#loginLink{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	grid-gap: 8px 24px;
	& a{
		display: inline-grid;
		grid-template-columns: auto auto;
		column-gap: 4px;
		color: currentColor;
		font-size: clamp(12px, calc(14 / 768 * 100vw), 14px);
		&:after{
			content: "";
			aspect-ratio: 1;
			width: 16px;
			margin-top: 0.3em;
			background: currentColor;
			transition: transform 0.2s ease-out;
			-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" style="fill: none; stroke: white; stroke-linecap: round; stroke-linejoin: round;"><polyline points="5.5 3 10.5 8 5.5 13"/></svg>') no-repeat center / contain;
		}
		&:hover:after{
			transform: translateX(4px);
		}
	}
}

#error{
	margin-bottom: calc(0px - clamp(16px, calc(32 / 1200 * 100vw), 32px));
	padding: 16px;
	border: 1px solid currentColor;
	color: red;
	font-weight: 700;
	& p{
		display: grid;
		column-gap: 4px;
		align-self: baseline;
		grid-template-columns: auto 1fr;
		&:before{
			content: "※";
		}
	}
}

#form{
	& legend{
		display: none;
	}
	& legend+div+div{
		justify-self: center;
		margin-top: 16px;
	}
	#submit{
		margin-top: 24px;
	}
}







