@charset "utf-8";

contact-wrapper{
	--width:92vw;
	--maxWidth:800px;
	--topMargin:80px;
	--bottomMargin:80px;
	--intervalMargin:60px;

	--titleSize:28px;
	--titleColor:black;

	--linkColor:#11317C;
	--attentionColor:#11317C;

	--radioColor:#e0e0e0;
	--radioCheckColor:#11317C;

	--textSize:16px;
	--textLineHeight:1.65;
	--inputSize:45px;
	--headerSize:200px;
	--headerGap:30px;
	--agreementSize:300px;

	--inputBorder:1px solid #e0e0e0;
	--inputRequiredBackground:#11317C05;
	--inputPlaceholderColor:#00000066;
	--inputBorderRadius:5px;

	--hoverOutline:1px solid #11317C33;
	--focusOutline:1px solid #11317C66;

	--buttonWidth:260px;
	--buttonHeight:50px;
	--buttonTextSize:16px;
	--buttonColor:#666666;
	--buttonBackgroundColor:#d0d0d0;
	--submitButtonColor:white;
	--submitButtonBackgroundColor:#11317C;
	--buttonRadius:5px;

	--checkmark:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolyline points='20 6 9 17 4 12' fill='none' stroke='%2311317C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' /%3E%3C/svg%3E");
}
@media (max-width:768px){
	contact-wrapper{
		--maxWidth:500px;
		--topMargin:60px;
		--bottomMargin:60px;
		--intervalMargin:30px;

		--titleSize:20px;
		--textSize:16px;
		--textLineHeight:1.65;
		--inputSize:45px;
		--headerSize:100%;
		--headerGap:10px;

		--agreementSize:250px;
	}
}

contact-wrapper.confirm{
	--intervalMargin:20px;
	--inputSize:calc(var(--textSize) * var(--textLineHeight));
}

contact-wrapper.complete{
	padding:150px 0;
}
body:has(contact-wrapper) .wpcf7-response-output,
body:has(contact-wrapper) .wpcf7-spinner{
	display:none !important;
}

input:where(contact-wrapper *),
select:where(contact-wrapper *),
textarea:where(contact-wrapper *){
	appearance:none;
	outline:none;
	border:none;
	border-radius:0;
	background:none;
	color:inherit;
	font-family:inherit;
	font-size:16px;
	line-height:inherit;
	margin:0;
	padding:0;
}
input:where(contact-wrapper *)::placeholder,
select:where(contact-wrapper *)::placeholder,
textarea:where(contact-wrapper *)::placeholder{
	color:var(--inputPlaceholderColor);
}
select:where(contact-wrapper *)::-ms-expand{
	display:none;
}
input:where(contact-wrapper *):hover,
select:where(contact-wrapper *):hover,
textarea:where(contact-wrapper *):hover{
	outline:var(--hoverOutline);
}
input:where(contact-wrapper *):focus,
select:where(contact-wrapper *):focus,
textarea:where(contact-wrapper *):focus{
	outline:var(--focusOutline);
}
input:where(contact-wrapper *)::-webkit-inner-spin-button,
input:where(contact-wrapper *)::-webkit-outer-spin-button{
	-webkit-appearance:none;
	margin:0;
	-moz-appearance:textfield;
}



contact-wrapper{
	width:var(--width);
	max-width:var(--maxWidth);
	margin:var(--topMargin) auto var(--bottomMargin) auto;
	display:block;
	box-sizing:border-box;
	font-size:var(--textSize);
	line-height:var(--textLineHeight);
}
contact-wrapper *{
	box-sizing:border-box;
}
contact-wrapper > *:not(:first-child){
	margin-top:var(--intervalMargin);
}

contact-title,
contact-message,
contact-confirm,
contact-agreement{
	display:block;
}

contact-row,
contact-buttons{
	display:flex;
}

contact-wrapper:not(.confirm) .forConfirm,
contact-wrapper:not(.confirm) contact-confirm{
	display:none!important;
}
contact-wrapper.confirm contact-agreement,
contact-wrapper.confirm .forForm{
	display:none!important;
}

contact-title{
	text-align:center;
	font-size:var(--titleSize);
	font-weight:bold;
	line-height:1.5;
	color:var(--titleColor);
}

contact-message a,
contact-confirm a{
	color:var(--linkColor);
	text-decoration:underline;
	text-underline-offset:0.2em;
}



contact-row{
	gap:var(--headerGap);
	align-items:flex-start;
	flex-wrap:wrap;
}
contact-header{
	width:var(--headerSize);
	padding-top:calc((var(--inputSize) - var(--textSize) * var(--textLineHeight)) * 0.5);
}
contact-header u{
	font-size:75%;
	color:var(--attentionColor);
	font-weight:bold;
	text-decoration:none;
	border:1px solid var(--attentionColor);
	padding:0 0.2em;
}
contact-column{
	width:calc(100% - var(--headerGap) - var(--headerSize));
	min-height:var(--inputSize);
}

input[type="text"]:where(contact-wrapper *),
input[type="number"]:where(contact-wrapper *),
input[type="tel"]:where(contact-wrapper *),
input[type="email"]:where(contact-wrapper *){
	width:100%;
	max-width:100%;
	height:var(--inputSize);
	padding:0 0.5em;
	border:var(--inputBorder);
	border-radius:var(--inputBorderRadius);
}

input[type="tel"]:where(contact-wrapper *){
	width:calc(0.5em * 2 + 12em);
}

input[name*="zip"]:where(contact-wrapper *){
	width:calc(0.5em * 2 + 9em);
}

textarea:where(contact-wrapper *){
	width:100%;
	height:calc(0.5em + var(--textSize) * var(--textLineHeight) * 5 + 0.5em);
	padding:0.5em 0.5em;
	border:var(--inputBorder);
	border-radius:var(--inputBorderRadius);
}

select:where(contact-wrapper *){
	height:var(--inputSize);
	padding:0 1.5em 0 0.5em;
	border:var(--inputBorder);
	cursor:pointer;
	border-radius:var(--inputBorderRadius);
}
.wpcf7-form-control-wrap:where(contact-wrapper *):has(.wpcf7-select){
	position:relative;
	display:inline-block;
	max-width:100%;
	width:fit-content;
}
contact-wrapper:not(.confirm) .wpcf7-form-control-wrap:where(contact-wrapper *):has(.wpcf7-select)::after{
	content:"";
	width:0.5em;
	height:0.35em;
	position:absolute;
	right:0.3em;
	top:50%;
	transform:translatey(-50%);
	clip-path:polygon(0% 0%,100% 0%,50% 100%);
	background:var(--attentionColor);
}

input[aria-required]:where(contact-wrapper *),
textarea[aria-required]:where(contact-wrapper *),
select[aria-required]:where(contact-wrapper *){
	background:var(--inputRequiredBackground);
}

contact-inner:not(:first-child){
	display:block;
	margin-top:0.8em;
}

contact-note:not(:first-child){
	display:block;
	margin-top:0.3em;
}

contact-agreementtext{
	padding:2em;
	font-size:85%;
	line-height:1.5;
	display:block;
	height:auto;
	max-height:var(--agreementSize);
	overflow-y:scroll;
	border:var(--inputBorder);
}

contact-agreementcheck{
	margin-top:1em;
	display:block;
}
*:where(contact-agreementcheck *){
	display:block;
}
contact-agreementcheck .wpcf7-list-item{
	display:block;
	margin:0;
}
contact-agreementcheck label{
	width:100%;
	display:flex;
	justify-content:center;
	align-items:center;
	padding:0.7em 0;
	cursor:pointer;
}
contact-agreementcheck label::before{
	content:"";
	display:block;
	width:1.5em;
	height:1.5em;
	background:var(--radioColor);
	border-radius:var(--inputBorderRadius);
	margin-right:0.3em;
}
contact-agreementcheck label:has(input:checked)::before{
	background:
		var(--checkmark) no-repeat center/cover,
		var(--radioColor);
}
contact-agreementcheck label:hover::before{
	outline:var(--hoverOutline);
}
contact-agreementcheck .wpcf7-not-valid-tip{
	text-align:center;
}
contact-agreementcheck input[type="checkbox"]{
	display:none !important;
}

a.contact-button:where(contact-buttons *),
input[type="submit"]:where(contact-buttons *),
input[type="button"]:where(contact-buttons *){
	width:var(--buttonWidth);
	height:var(--buttonHeight);
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:var(--buttonTextSize);
	font-weight:bold;
	line-height:1.4;
	color:var(--buttonColor);
	background:var(--buttonBackgroundColor);
	border-radius:var(--buttonRadius);
	cursor:pointer;
}
a.contact-button:where(contact-buttons *),
input[type="button"].confirmButton,
input[type="submit"]:where(contact-buttons *){
	color:var(--submitButtonColor);
	background:var(--submitButtonBackgroundColor);
}
a.contact-button:where(contact-buttons *):hover,
input[type="submit"]:where(contact-buttons *):hover,
input[type="button"]:where(contact-buttons *):hover{
	opacity:0.8;
}

contact-buttons{
	justify-content:center;
	gap:20px 30px;
	align-items:center;
	flex-wrap:wrap;
}

contact-buttons .hide{
	display:none !important;
}

contact-buttons :disabled,
contact-buttons :disabled:hover{
	opacity:0.35;
}

contact-wrapper:not(.confirm) contact-buttons [type="submit"]{
	display:none;
}


contact-loading{
	width:100%;
	height:100lvh;
	position:fixed;
	left:0;
	top:0;
	background:white;
	z-index:65535;
	opacity:0;
	pointer-events:none;
	transition:opacity 0.2s ease-out;
	display:flex;
	justify-content:center;
	align-items:center;
}
contact-loading.active{
	opacity:1;
	pointer-events:all;
}
contact-loading svg{
	width:100px;
	height:100px;
	display:block;
	animation:contactLoadingIconAnimation 0.5s linear infinite;
	opacity:0.2;
}
@keyframes contactLoadingIconAnimation{
	0%{transform:rotate(0deg);}
	100%{transform:rotate(30deg);}
}












@media (max-width:768px){
	contact-wrapper.confirm{
		--inputSize:calc(var(--textSize) * var(--textLineHeight));
	}
	contact-wrapper.complete{
		padding:150px 0;
	}

	contact-row,
	contact-buttons{
		flex-direction:column;
	}

	contact-header{
		width:100%;
		padding-top:0;
	}

	contact-column{
		width:100%;
		min-height:0;
	}
}/*@media (max-width:768px)*/









contact-wrapper.confirm input[type="text"],
contact-wrapper.confirm input[type="number"],
contact-wrapper.confirm input[type="tel"],
contact-wrapper.confirm input[type="email"],
contact-wrapper.confirm textarea,
contact-wrapper.confirm select{
	border:none;
	outline:none;
	background:none;
	pointer-events:none;
	vertical-align:initial;
	padding:0;
}

