/* CSS Document */

:root{
	--color-error: #b6000d;
	}

#form,
#thanks{
	display: grid;
	grid-gap: clamp(24px, calc(56 / 1200 * 100dvw), 56px);
	width: var(--wrap);
	margin: 0 auto clamp(56px, calc(96 / 1200 * 100dvw), 96px);
	}

#step{}
	#step ol{
		display: flex;
		grid-gap: 20px;
		list-style: none;
		}
	#step li{
		position: relative;
		display: grid;
		place-items: center;
		width: 50%;
		min-height: 64px;
		padding: 8px;
		font-size: clamp(14px, calc(16 / 1200 * 100dvw), 16px);
		color: #999;
		text-align:center;
		line-height: 1.5em;
		background: #f2f2f2;
		}
		#step li:before,
		#step li:after{
			content: "";
			position: absolute;
			top: 0;
			width: 16px;
			height: 100%;
			-webkit-mask-position: center;
			-webkit-mask-repeat: no-repeat;
			-webkit-mask-size: cover;
			background: #f2f2f2;
			}
		#step li:before{
			left: 0;
			-webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" viewBox="0 0 30 30"><polyline points="0 0, 30 0, 30 30, 0 30, 30 15" /></svg>');
			transform: translateX(-100%);
			}
		#step li:after{
			right: 0;
			-webkit-mask-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" viewBox="0 0 30 30"><polyline points="0 0, 30 15, 0 30" /></svg>');
			transform: translateX(100%);
			z-index: 1;
			}
		#step li:first-child{}
			#step li:first-child:before{
				content: none;
				}
		#step li:last-child{}
			#step li:last-child:after{
				content: none;
				}
	#step .now{
		background: var(--color-theme);
		color: #fff;
		font-weight: bold;
		}
		#step .now:before,
		#step .now:after{
			background: var(--color-theme);
			}

#notice{
	margin-bottom: -16px;
	}

#policy{
	display: grid;
	justify-items: center;
	grid-gap: clamp(16px, 3.6vw, 24px);
	}
	#policy legend{
		margin: 0 0 16px 0;
		text-align: center;
		}

#terms{
	display: grid;
/*	grid-gap: clamp(24px, calc(56 / 1200 * 100dvw), 56px);*/
	grid-gap: 16px;
/*	aspect-ratio: 2 / 1;*/
	padding: 16px;
	border: 1px solid var(--color-border);
	line-height: 1.65;
	overflow-y: auto;
	}
	#terms h3{
		margin-bottom: 16px;
		font-size: 20px;
		font-weight: bold;
		}
	#terms h4{
		margin-bottom: 8px;
		font-size: 18px;
		font-weight: bold;
		}
	#terms ul{
		display: grid;
		grid-gap: 8px;
		margin-top: 16px;
		list-style: disc;
		}
	#terms li{
		margin-left: 1.5em;
		}
/*	#terms address{
		margin-top: clamp(16px, 3.6vw, 24px);
		}*/

#agreement{
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	grid-gap: 8px;
	padding: 8px 16px;
	}
	#agreement.err{
		background: #fff0f3;
		border: 2px solid var(--color-error);
		}
	#agreement label{
		font-size: 18px;
		font-weight: bold;
		}

#captcha{
	justify-self: center;
	}
	#captcha .captcha-holder{
		border-color: #ff0000;
		border-width: 2px;
		}
	#captcha .captcha-success{
		border-color: #5bd25b;
		}

#submit{
	display: grid;
	justify-content: center;
	grid-gap: 16px 24px;
	}
	#submit #btnConfirm{
		background: var(--color-theme);
		}
	#submit #btnModify{
		background: #ccc;
		}
	#submit #btnConfirm.lsf-error-btn{
		pointer-events: none;
		background: var(--color-error);
		}
	@media (min-width: 576px) {
		#submit button{
			grid-row: 1;
			}
		}

.acids{}
	.acids:after{
		content: "\5FC5\9808";
		color: var(--color-error);
		font-weight: bold;
		}

.entry{
	display: grid;
	line-height: 1.65;
	}
	.entry dt{
		display: grid;
		grid-template-columns: auto auto;
		font-weight: bold;
		}
		.entry dt:after{
			justify-self: end;
			padding: clamp(4px, 1.2vw, 6px);
			background: var(--color-error);
			color: #fff;
			font-size: clamp(10px, 1.8vw, 12px);
			font-weight: normal;
			line-height: 1;
			}
	.entry dd{
		display: grid;
		grid-gap: 8px;
		}
	.entry ul{
		display: flex;
		flex-wrap: wrap;
		grid-gap: 16px 24px;
		padding: 4px 8px;
		}
	.entry small{
		display: block;
		font-size: clamp(12px, 2.1vw, 14px);
		}
	.entry .chkemail{
		background-color: #fff !important;
		}
	.entry .noClear{
		padding-right: 40px;
		border-color: crimson;
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="crimson" d="M5.293 6.707l5.293 5.293-5.293 5.293c-0.391 0.391-0.391 1.024 0 1.414s1.024 0.391 1.414 0l5.293-5.293 5.293 5.293c0.391 0.391 1.024 0.391 1.414 0s0.391-1.024 0-1.414l-5.293-5.293 5.293-5.293c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0l-5.293 5.293-5.293-5.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414z"/></svg>');
		background-repeat: no-repeat;
		background-position: calc(100% - 8px) 10px;
		background-size: 24px;
		}
	.entry .clear:not([type="radio"]){
		padding-right: 40px;
		background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="limegreen" d="M19.293 5.293l-10.293 10.293-4.293-4.293c-0.391-0.391-1.024-0.391-1.414 0s-0.391 1.024 0 1.414l5 5c0.391 0.391 1.024 0.391 1.414 0l11-11c0.391-0.391 0.391-1.024 0-1.414s-1.024-0.391-1.414 0z"/></svg>');
		background-repeat: no-repeat;
		background-position: calc(100% - 8px) 10px;
		background-size: 24px;
		}
	@media (max-width: 767.98px) {
		.entry dt{
			align-items: center;
			}
		.entry dd+dt{
			margin-top: 24px;
			}
		.entry dd{
			margin-top: 8px;
			}
		}
	@media (min-width: 768px) {
		.entry{
			grid-template-columns: 1fr 3fr;
			border-top: 1px solid var(--color-border);
			}
			.entry dt,
			.entry dd{
				padding: 16px;
				border-bottom: 1px solid var(--color-border);
				}
			.entry dt{
				background: rgba(var(--color-theme-rgb), 0.1);
				}
				.entry dt:after{
					align-self: start;
					margin: -16px;
					}
			.entry dd{
				padding-right: 0;
				}
		}




