@charset "utf-8";


:root{
	--form-color-alert: #DE5656;
}


:is(ul, ol):where( main [class] ){
	padding-inline: 0;
	& > *{
		list-style: none;
	}
}

/* :has( :where(input, select, textarea) ) */
label:where( :has() ){
	cursor: pointer;
}



/* @ contact grid */
.content-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax( min(375px, 100%), 1fr ));
	gap: 2.5em clamp(1.25em, 100vw - 1200px, 2.5em);
}
.content-grid__explain{
	
}
.content-grid__action{
	
}



/* @ help nav */
.help-nav{
	border-left: .5em solid #D9D9D9;
	padding-left: 1.5em;
	padding-block: 1em;
}
.help-nav > * + *{
	margin-top: 1em;
}
:any-link:where( .help-nav * ){
	color: inherit;
	&:hover{
		color: #f6ab00;
	}
}



/* @ contact form */
.contact-form{
	background: #efefef;
	border-radius: 1em;
	padding: clamp(1.25em, 100vw - 1200px ,2.5em);
	
	& > *{
		margin-block: 0;
	}
	& > * + *{
		margin-top: 2em;
	}
}



/* @ notices */
.notices{
	line-height: 1.5;
	font-size: .75em;
	color: var(--form-color-alert);
	margin-left: 1.25em;
	& > *{
		list-style: "※";
	}
}



/* @ field list */
.field-list > * + *{
	margin-top: 1.5em;
}



/* @ fieldset */
.fieldset{
	& > *{
		margin-block: 0;
	}
	& > * + *{
		margin-top: .5rem;
	}
}

.fieldset__head{
	display: flex;
	flex-wrap: wrap;
	gap: 0 1em;
	
	& > *{
		line-height: 1.5;
		font-size: 1em;
		font-weight: bold;
		margin-block: 0;
	}
}
.fieldset__prompt--invalid{
	color: var(--form-color-alert);
}



/* @ field */
.field{
	box-sizing: border-box;
}
.field:where( [type="checkbox"], [type="radio"] ){
	width: 1.25em;
	aspect-ratio: 1;
	vertical-align: baseline;
}
.field:where( :not([type="checkbox"], [type="radio"]) ){
	background: #fff;
	padding: .5em 1em;
	border: 1px solid #ccc;
	border-radius: .5em;
}
.field:where( :not([size], [cols], [type="checkbox"], [type="radio"], [type="date"]) ){
	width: 100%;
}
.field:where( select, [type="checkbox"], [type="radio"], [type="file"], [type="date"] ){
	cursor: pointer;
}
.field:where( .custom-select > select ){
	-webkit-appearance: none;
	appearance: none;
}
.field:where( textarea ){
	--lines: 6.25;
	min-height: calc(var(--lines) * 2em);
	/* min-height: calc(var(--lines) * 1lh); */
}
.field:where( [disabled] ){
	cursor: default;
	opacity: .333;
}
.field--invalid{
	color: var(--form-color-alert);
	border-color: var(--form-color-alert);
	background: color-mix(in srgb, var(--form-color-alert), white 94%);
	accent-color: var(--form-color-alert);
}

/* custom select */
.custom-select{
	display: grid;
}
.custom-select::after,
.custom-select > *{
	grid-area: 1 / 1;
}
.custom-select::after{
	pointer-events: none;
	
	content: "▼";
	font-size: .75em;
	color: #999;
	align-self: center;
	justify-self: end;
	margin-right: 1em;
}



/* @ option list */
.option-list{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
}



/* @ field buttons */
.field-buttons{
	display: grid;
	grid-template-columns: repeat( auto-fit, min(12em, 100%) );
	justify-content: center;
	gap: .75em 1em;
}
.form-btn:where( button ){
	cursor: pointer;
	background: none;
	border: 0;
	margin: 0;
}
.form-btn:where( :any-link ){
	color: inherit;
	text-decoration: none;
}
.form-btn{
	line-height: 1.5;
	font: 1.25em;
	font-weight: bold;
	text-align: center;
	border-radius: 100vw;
	padding: 1em;
}
.form-btn:hover{
	filter: opacity(.5);
}
.form-btn--lv2{
	border: 1px solid;
}
.form-btn--lv1{
	color: #fff;
	background: #000;
}
