/* form ------------------------------------------------------------ */
form {
    background: #fff;
    border-radius: 20px;
    box-sizing: border-box;
	margin: auto;
    padding: min(3.33vw, 50px) min(3.33vw, 50px) min(6.66vw, 100px);
	width: min(90%, 960px);
}
form > fieldset {
    align-items: baseline;
    border-bottom: 1px solid #f1f1f1;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 35% 1fr;
    padding: 30px 0;
}
form > fieldset:last-of-type {
	border-bottom: none;
}
@media screen and (max-width: 768px) {
	form {
		border-radius: 10px;
		padding: min(6.66vw, 100px) min(3.33vw, 50px);
		width: 90%;
	}
	form > fieldset {
		border: none;
		grid-gap: 0;
		grid-template-columns: 1fr;
		padding: 0 0 40px;
	}
}


/* .col -------------------------------------------------- */
.col {
    display: flex;
    font-weight: bold;
    align-items: center;
    justify-content: space-between;
	padding: 0 0 0 32px;
}
.col > h1 {
	position: relative;
}
.col > h2 {
	background: #f2f2f2;
	box-shadow: 1px 1px 1px rgb(0 0 0 / 10%);
	color: #000;
    font-size: 12px;
    padding: 3px 9px;
}
.col > h2.required {
    background: #b92000;
    color: #fff;
}
@media screen and (max-width: 768px) {
	.col {
		background: #333333;
		box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
		color: #fff;
		padding: 5px 10px 5px 42px;
	}
}


/* .val -------------------------------------------------- */
.val > label {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: 1fr;
	text-align: start;
}
.val > label > input[type="text"],
.val > label select {
    background: #f1f1f1;
	border: none;
    border-radius: 5px;
	/* box-shadow: 1px 1px 1px rgb(0 0 0 / 10%) inset; */
	box-sizing: border-box;
    font-size: 20px;
    padding: 0 5px;
	width: 100%;
	height: 42px;
}
.val > label > p {
    font-size: 14px;
}
@media screen and (max-width: 768px) {
	.val {
		padding: 20px 0 0;
	}
	.val > label {
		grid-gap: 10px;
	}
}


/* .val > .name -------------------------------------------------- */
.val > .name {
    grid-gap: 10px 5px;
    grid-template-columns: max-content max-content;
}
.val > .name > input[type="text"] {
    width: clamp(150px, 40vw, 200px);
}
.val > .name > p {
	grid-column: 1/3;
}
@media screen and (max-width: 768px) {
	.val > .name {
		grid-gap: 10px;
	}
}


/* .val > .zip -------------------------------------------------- */
.val > .zip {
	margin: 0 0 30px;
}
.val > .zip > input[type="text"] {
	width: 150px;
}
@media screen and (max-width: 768px) {
	.val > .zip {
		margin: 0 0 20px;
	}
}


/* .val > .money -------------------------------------------------- */
.val > .money {
	align-items: center;
	grid-gap: 15px 5px;
	grid-template-columns: max-content 1fr;
}
.val > .money > input[type="text"] {
	/* text-align: right; */
	width: 250px;
}
.val > .money > input[name="C04"] {
	text-align: right;
}
.val > .money > p {
	grid-column: 1/3;
}


/* .val > .radio -------------------------------------------------- */
.val > .radio {
	grid-gap: 5px;
	grid-template-columns: min-content 1fr;
    align-items: center;
	line-height: 1;
	/* margin: 10px 0; */
	margin: 0 0 10px;
	width: fit-content;
}
.val > .radio > input[type="radio"] {
	margin: 0;
    width: 20px;
	height: 20px;
}
@media screen and (max-width: 768px) {
	.val > .radio{
		margin: 0 0 20px;
	}
}


/* .val > .C06 -------------------------------------------------- */
.val > .C06 {
	margin: 30px 0 0;
}


/* .val > .calender -------------------------------------------------- */
.val > .calender > input[type="text"] {
	width: 150px;
	text-align: center;
}


/* .val > .check -------------------------------------------------- */
.val > .check {
	grid-gap: 5px;
	grid-template-columns: min-content 1fr;
    align-items: center;
	line-height: 1;
	/* margin: 10px 0; */
	margin: 0 0 10px;
	width: fit-content;
}
/* .val > .check > input[type="checkbox"] {
    width: 16px;
	height: 16px;
} */
.val > .check > input[type="checkbox"],
.val > .check > .checkbox i {
    /*display: none;*/
    margin: 0;
    width: 20px;
    height: 20px;
}
.checkbox {
    align-items: center;
    /* background: #e8e8e8; */
	border: 2px solid #ccc;
    border-radius: 5px;
    color: #fff;
    display: flex;
    /* font-size: clamp(14px, 1.17vw, 16px); */
    justify-content: center;
    width: 20px;
    height: 20px;
}
.val > .check:hover > .checkbox {
	border: 2px solid #0f4c97;
}
.val > .check > input[type="checkbox"]:checked + .checkbox {
    background: #0f4c97;
	border: 2px solid #0f4c97;
}
.val > .check > input[type="checkbox"]:checked + .checkbox i {
    display: block;
}
@media screen and (max-width: 768px) {
	.val > .check {
		margin: 0 0 20px;
	}
	/* .val > .check:last-of-type{
		margin: 0 0 10px;
	} */
}


/* .val > .check__other -------------------------------------------------- */
.val > .check__other {
	display: none;
	margin: 0 0 10px;
}


/* textarea -------------------------------------------------- */
textarea,
textarea.valid {
	background: #f1f1f1!important;
	border: none;
	/* box-shadow: 1px 1px 1px rgb(0 0 0 / 10%) inset; */
	font-size: 18px;
	margin: 0 0 10px;
	/* width: 100%; */
	/* height: 250px; */
	height: 200px;
}


/* .submit -------------------------------------------------- */
input[type="image"] {
	border-radius: 50px;
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	display: block;
	margin: 40px auto;
	transition: .5s;
	width: clamp(280px, 52.08vw, 400px);
}
input[type="image"]:hover {
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    opacity: .9;
    transform: translateY(1px);
}
@media screen and (max-width: 768px) {
	input[type="image"] {
		margin: 0 auto 30px;
	}
}


/* .error -------------------------------------------------- */
.val > label > .error {
    background: #fdebeb!important;
    /* background: #ffe3e3!important; */
}
.val > label > .valid {
	background: #ccffff!important;
	/* background: #d1ffdd!important; */
}
.errorText > label.error {
	color: #b92000;
	display: block;
	font-size: 14px;
	font-weight: bold;
}
.errorText > label.error > br{
	display: none;
}
@media screen and (max-width: 768px) {
	.errorText > label.error > br{
		display: block;
	}
}


/* .success -------------------------------------------------- */
.success::before {
	color: #008c16;
	content: '\f00c';
	font-family: "Font Awesome 5 Free";
	font-size: 22px;
	padding: 0 10px 0 0;
	position: absolute;
	right: 100%;
}
@media screen and (max-width: 768px) {
	.success::before {
		text-shadow: 1px 0 0 #3cb371;
	}
}


/* #count -------------------------------------------------- */
#count {
	align-items: center;
	border-radius: 10px;
	box-shadow: rgb(60 64 67 / 30%) 0px 1px 2px 0px, rgb(60 64 67 / 15%) 0px 1px 3px 1px;
	box-sizing: border-box;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	transition: .5s;
	padding: 5px 10px;
	position: fixed;
	top: 2%;
	right: 2%;
}
.count_faild {
	background: #b92000;
}
.count_success {
	background: #008c16;
}
.count_fade {
	opacity: 0;
}


/* .tippy -------------------------------------------------- */
.tippy-tooltip.tippy-theme {
	background: #2f6298;
	font-weight: bold;
}
.tippy-tooltip.tippy-theme[data-placement^='top'] .tippy-arrow {
	border-top-color: #2f6298;
}

#Rescue {
	align-items: flex-start;
}