/* CSS Document */

:root{
	--color-error: #b6000d;
	}

main{
	display: grid;
	grid-gap: clamp(48px, 10.8vw, 72px);
	padding: clamp(48px, 10.8vw, 72px) 0 clamp(64px, 14.4vw, 96px) 0;
	}
	main h1{
		color: var(--color-themeDark);
		font-size: clamp(24px, 4.8vw, 32px);
		font-weight: 700;
		letter-spacing: 0.01em;
		text-align: center;
		word-break: keep-all;
		line-height: 1.5;
		overflow: hidden;
		}
	main p{
		line-height: 1.8;
		letter-spacing: 0.01em;
		}
	@media (min-width: 1200px) {
		main{
			padding-bottom: 128px;
			}
		main h1{
			font-size: 40px;
			}
		main p{
			font-size: 18px;
			}
		}

#inquiry{
	display: grid;
	grid-template-columns: 1fr var(--wrap) 1fr;
	grid-gap: clamp(32px, 7.2vw, 48px) 0;
	}
	#inquiry > *{
		grid-column: 2;
		}

#thanks{
	display: grid;
	grid-template-columns: 1fr var(--wrap) 1fr;
	grid-gap: clamp(32px, 7.2vw, 48px) 0;
	align-content: start;
	min-height: 50vh;
	}
	#thanks > *{
		grid-column: 2;
		}

#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;
		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);
			}

#notice{
	margin-bottom: -16px;
	}

#form{
	display: grid;
	grid-gap: clamp(24px, 4.8vw, 32px);
	width: var(--wrap);
	margin: 0 auto;
	}

#policy{
	display: grid;
	justify-items: center;
	grid-gap: clamp(16px, 3.6vw, 24px);
	}
	#policy legend{
		color: var(--color-themeDark);
		font-weight: 700;
		font-size: clamp(18px, 3vw, 20px);
		line-height: 1.65;
		letter-spacing: 0.01em;
		text-align: center;
		}
	@media (min-width: 1200px) {
		#policy legend{
			font-size: 24px;
			}
		}

#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{}
	#agreement.err{
		border: none !important;
		background: none !important;
		}
		#agreement.err label{
			background: #fff0f3;
			border: 2px solid var(--color-error);
			}
	#agreement label{
		padding: 16px;
		border: 2px solid transparent;
		font-size: 18px;
		font-weight: bold;
		}
	#agreement a{
		display: contents;
		}

#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;
	height: 56px;
	}
	#submit button{
		padding: 8px 32px;
		border-radius: 28px;
		}
	#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{
			align-self: start;
			justify-self: end;
			padding: clamp(4px, 1.2vw, 8px);
			background: var(--color-error);
			color: #fff;
			font-size: clamp(10px, 2.1vw, 14px);
			font-weight: normal;
			line-height: 1;
			}
	.entry ul{
		display: flex;
		flex-wrap: wrap;
		grid-gap: 16px 24px;
		}
	.entry small{
		display: block;
		font-size: clamp(12px, 2.1vw, 14px);
		}
	.entry label{
		align-items: start;
		}
		.entry label:before{
			transform: translateY(0.35em);
			}
	.entry .err{
		background-color: #ffffcc;
		border: 2px solid var(--color-error);
		}
		.entry .err.chkcheckbox{
			background: none;
			border: none;
			}
		.entry .err.chkcheckbox label{}
			.entry .err.chkcheckbox label:before{
				background-color: var(--color-error);
				}
	@media (max-width: 575.98px) {
		.entry dt{
			align-items: center;
			}
		.entry dd+dt{
			margin-top: 16px;
			}
		.entry dd{
			margin-top: 8px;
			}
		}
	@media (min-width: 576px) {
		.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{
					margin: -16px;
					}
			.entry dd{
				padding-right: 0;
				}
		}

.fr-view{
	line-height: 1.8;
	letter-spacing: 0.01em;
	}




