/* CSS Document */

:root{
	--color-error: #f44336;
	--color-ok: #3c905c;
	}

#subject figure {
    width: 240px;
	}
#step{
	display: none;
	}

#form{
	display: grid;
	grid-gap: clamp(32px, 6vw, 40px);
	margin: clamp(32px, 7.2vw, 48px) auto;
	}
#form input,
#form textarea{
	border-radius: 4px;
	}
#form input[type="checkbox"]{
	margin-top: 2px;
	}

#thanks{
	display: grid;
	grid-gap: clamp(32px, 6vw, 40px);
	margin: clamp(32px, 7.2vw, 48px) auto;
	}

#step{ display: none;}
	#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;
		background: #f2f2f2;
		color: #999;
		text-align:center;
		line-height: 1.5em;
		}
		#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);
			}

#position label {
	padding-left: 8px;
	}

#notice{
	margin-bottom: -16px;
	}

#policy{
	display: grid;
	justify-items: center;
	grid-gap: clamp(16px, 3.6vw, 24px);
	}
	#policy legend{
		margin: 0;
		text-align: center;
		}

#terms{
	display: grid;
	grid-gap: clamp(32px, 6vw, 40px);
	aspect-ratio: 2 / 1;
	padding: clamp(16px, 3.6vw, 24px);
	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;
	width: auto;
	}
	#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 button{
		border-radius: 4px;
		}
	#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;
		}
	.acids.ok::after{
		content: "\004F\004B";
		background: var(--color-ok)!important;
		}

.entry{
	display: grid;
	line-height: 1.65;
	}
	.entry dt{
		display: grid;
		grid-template-columns: auto auto;
		align-items: baseline;
		font-weight: bold;
		}
		.entry dt:after{
			justify-self: end;
			padding: clamp(4px, 1.2vw, 8px);
			background: var(--color-error);
			color: #fff;
			font-size: clamp(10px, 1.8vw, 12px);
			font-weight: normal;
			line-height: 1;
			}
		.entry dt:has(span) {
			grid-template-rows: auto 1fr;
			column-gap: 16px;
			align-items: start;
			}
		.entry dt span {
			font-size: clamp(10px, 1.8vw, 12px);
			grid-row: 2;
			}
	.entry dd{
		display: grid;
		grid-gap: 8px;
		}
	.entry ul{
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		grid-gap: 16px 24px;
		padding: 4px 8px;
		min-height: 48px;
		}
	.entry li{
		display: flex;
		align-items: center;
		}
	.entry small{
		display: block;
		font-size: clamp(12px, 2.1vw, 14px);
		}
	.entry .err,
	.entry .err input{
			border-color: var(--color-error)!important;
			}
	.entry .clear{
			border-color: var(--color-ok);
			}
	.entry .chkemail,
	.entry .chkcheckbox,
	.entry .chkrequired {
			border-color: var(--color-ok);
			}

	@media (max-width: 767.98px) {
		.entry dt{
			align-items: center;
			}
		.entry dd+dt{
			margin-top: 16px;
			}
		.entry dd{
			margin-top: 8px;
			}
		}
	@media (min-width: 768px) {
		.entry{
			grid-template-columns: 1fr 2fr;
			}
			.entry dt,
			.entry dd{
				padding: 16px;
				}
			.entry dd{
				padding-right: 0;
				}
		}
	@media (min-width: 992px) {
		.entry{
			grid-template-columns: 1fr 3fr;
			}
			.entry dt,
			.entry dd{
				padding: 16px;
				}
			.entry dt{
				padding-top: 24px;
				}
			.entry dd{
				padding-right: 0;
				}
		}




