/* CSS Document */

:root{
	--color-error: #f33f46;
	}

:is(#inquiry, #thanks, #form){
	width: var(--wrap);
	margin: clamp(32px, 7.2vw, 48px) auto clamp(64px, 14.4vw, 96px) auto;
	}

:where(#inquiry, #thanks){}
	:where(#inquiry, #thanks) h2{
		display: grid;
		grid-template-columns: 3px auto;
		grid-gap: 10px;
		font-size: clamp(24px, 4.8vw, 32px);
		font-family: var(--font-min);
		font-weight: 500;
		line-height: 1.65;
		}
		:where(#inquiry, #thanks) h2:before{
			content: "";
			margin: 0.3em 0;
			background: var(--color-point);
			transform: translateY(0.1em);
			}
	@media (min-width: 576px) {
		:where(#inquiry, #thanks) h2{
			grid-template-columns: 4px auto;
			}
		}

#inquiry{
	margin: clamp(32px, 7.2vw, 48px) auto;
	}
	#inquiry h2+div{
		margin-top: clamp(24px, 4.8vw, 32px);
		}

#thanks{}
	#thanks section{
		margin-top: clamp(24px, 4.8vw, 32px);
		}
	#thanks h3{
		color: var(--color-point);
		font-weight: 500;
		font-size: clamp(20px, 3.6vw, 24px);
		line-height: 1.65;
		}
	#thanks h3+div{
		margin-top: clamp(24px, 4.8vw, 32px);
		}

#form{
	display: grid;
	grid-gap: clamp(24px, 5.4vw, 36px);
	}

#policy{
	justify-self: center;
	}

#agreement{}
	#agreement.err{
		padding: clamp(4px, 1.2vw, 8px);
		background: #fff;
		border: 2px solid var(--color-error);
		}
	#agreement label,
	#agreement p{
		grid-template-columns: auto auto auto;
		grid-gap: 0;
		justify-content: center;
		font-size: clamp(16px, 2.7vw, 18px);
		font-weight: 700;
		}
		#agreement label:before{
			margin-right: clamp(4px, 1.2vw, 8px);
			}
	#agreement p{}
		#agreement p:before{
			content: "";
			width: 1em;
			height: 1em;
			-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0v24h24v-24h-24zm11 17l-5-5.299 1.399-1.43 3.574 3.736 6.572-7.007 1.455 1.403-8 8.597z"/></svg>') center no-repeat;
			-webkit-mask-size: contain;
			background: var(--color-point);
			border-radius: 2px;
			}

#captcha{
	justify-self: center;
	}
	#captcha .captcha-holder{
		width: 100%;
		border-color: #f33f46;
		border-width: 2px;
		}
	#captcha .captcha-success{
		border-color: #5bd25b;
		}

#submit{
	justify-self: center;
	display: grid;
	justify-content: center;
	grid-gap: 8px clamp(16px, 3.6vw, 24px);
	}
	#submit button{
		position: relative;
		display: block;
		width: min(100%, 290px);
		background: #fff;
		border: 1px solid var(--color-border);
		color: inherit;
		text-align: center;
		cursor: pointer;
		order: 1;
		}
	#submit #btnConfirm{
		background: var(--color-point);
		border-color: transparent;
		color: #fff;
		}
		#submit #btnConfirm.lsf-error-btn{
			background: var(--color-error);
			pointer-events: none;
			}
	#submit #btnModify{}
	#submit #btnSend{
		background: var(--color-point);
		border-color: transparent;
		color: #fff;
		}
	@media (min-width: 576px) {
		#submit button{
			grid-row: 1;
			}
		}

.acids{}
	.acids:after{
		content: "必須";
		color: var(--color-error);
		font-weight: 700;
		}

.entry{
	display: grid;
	overflow: hidden;
	}
	.entry dt,
	.entry dd{
		line-height: 1.65;
		}
	.entry dt{
		position: relative;
		display: grid;
		background: var(--color-point);
		color: #fff;
		font-weight: 700;
		}
		.entry dt:after{
			content: "任意";
			position: absolute;
			top: 0;
			right: 0;
			padding: 3px 4px 4px;
			background: rgba(255, 255, 255, 0.8);
			color: var(--color-point);
			font-size: 12px;
			line-height: 1;
			white-space: nowrap;
			}
		.entry dt.acids{
			padding-right: 2em;
			}
			.entry dt.acids:after{
				content: "必須";
				background: var(--color-error);
				color: #fff;
				opacity: 1;
				}
	.entry dd{
		display: grid;
		grid-gap: clamp(4px, 1.2vw, 8px);
		}
		.entry dd:last-child{
			border-bottom: 1px solid var(--color-border);
			}
		.entry dd label{}
			.entry dd label:before{
				transform: translateY(50%);
				}
		.entry dd ul{
			display: flex;
			flex-wrap: wrap;
			grid-gap: clamp(4px, 1.2vw, 8px) 24px;
			margin: 0.3em 0;
			}
			.entry dd ul.err{
				padding: 0.3em;
				}
		.entry dd p{
			font-size: clamp(12px, 2.1vw, 14px);
			}
			.entry dd p:first-child{
				margin-bottom: clamp(4px, 1.2vw, 8px);
				}
		.entry dd *+p{
			margin-top: clamp(4px, 1.2vw, 8px);
			}
	.entry .err{
		background-color: #ffffcc;
		border: 2px solid var(--error-color);
		}
	.entry .error{
		color: var(--error-color);
		}
	.entry .confirm{}
		.entry .confirm span.checkValue{
			margin-right: 1.5em;
			}
			.entry .confirm span.checkValue:last-child{
				margin-right: 0em;
				}
	@media (max-width: 575.98px) {
		.entry{}
			.entry dt{
				padding: 8px;
				align-items: center;
				min-height: 50px;
				}
			.entry dd{
				padding: 8px 0;
				}
			.entry ul{
				flex-direction: column;
				}
		}
	@media (min-width: 576px) {
		.entry{
			grid-template-columns: min(15em, 30vw) auto;
			}
		.entry dt,
		.entry dd{
			padding: 12px 16px;
			}
		.entry dd+dt{
			border-top: 1px solid rgba(255, 255, 255, 0.2);
			}
		.entry dd{
			padding-right: 0;
			border-top: 1px solid var(--color-border);
			}
		}


.fr-view{
	color: #4d4d4d;
	line-height: 1.65;
	}





