﻿
form {
	letter-spacing: 0.15em;
	margin-bottom: 50px;
	-webkit-appearance: none;
}

form span{
	display: block;
	margin-bottom: 30px;
}


input[type=text],
textarea {
	width : 100%;
	padding: 15px;
	border: 1px solid #ccc;
	-webkit-border-radius : 0;
    -webkit-appearance : none;
	font-size: 1.1em;
	background-color: #f7f7f7;
	box-sizing: border-box;
}

.form-block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: solid 1px #ccc;
	flex-wrap: wrap;
	padding: 20px 0;
}

.form-tit {
	width: 140px;
	text-align: left;
	letter-spacing: 0.03em;
	font-weight: 500;
}

.form-input {
	width : -webkit-calc(100% - 220px);
	text-align: left;
}

.form-input p {
	display: flex;
	justify-content: space-between;
	margin: 0;
}

.form-input p input[type=text] {
	width: 48.5%;
}

.essen-area {
	width: 70px;
	text-align: left;
}

.essen,
.any {
	display: inline-block;
	background-color: #e869c4;
	color: #fff;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1em;
	padding: 5px 6px 5px 7px;
	border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
	margin-left: 0.5em;
}

.any {
	background-color: #72c6dd;
}

.terms {
	width: 100%;
	height: 200px;
	padding: 15px 15px;
	border: 1px solid #ccc;
	background-color: #f7f7f7;
	text-align: left;
	font-size: 0.95em;
	letter-spacing: 0.03em;
	box-sizing: border-box;
	overflow: hidden scroll;
	margin-bottom: 20px;
}

.terms p {
	margin: 1em 0 0.3em 0;
	font-weight: 500;
	
}

.checkbox-1{
    display: flex;
    flex-wrap: wrap;
    gap: .5em 2em;
    border: none;
	margin: 0 0.5em 0 0em;
	font-weight: 500;
}

.checkbox-1 p {
	margin: 0.1em 0 0 0.4em;
}

.checkbox-1 label {
    display: flex;
    align-items: center;
    gap: 0 .5em;
    position: relative;
    cursor: pointer;
	padding-right: 11em;
}

.checkbox-1 label::before,
.checkbox-1 label:has(:checked)::after {
    content: '';
}

.checkbox-1 label::before {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    background-color: #ecfdff;
	border: solid 2px #334a77;
}

.checkbox-1 label:has(:checked)::before {
    background-color: #334a77;
}

.checkbox-1 label:has(:checked)::after {
    position: absolute;
    top: 0;
    left: 7px;
    transform: rotate(45deg);
    width: 7px;
    height: 16px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

.checkbox-1 input {
    display: none;
}

.checkbox-1 i {
    margin-left: 0.3em;
}

input#submit_bottom {
	display: block;
	width: 100%;
	max-width: 270px;
	padding: 30px 0px;
	font-size: 1.1em;
	font-weight: 600!important;
	color: #fff;
	border-style: none;
	letter-spacing: 0.15em;
	background: #334a77;
	border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
	margin: auto;
	margin-top: 30px!important;
}

input#submit_bottom:hover {
	background-color: #aaa;
	transition: 0.2s linear;
	/*opacity:0.7;
	filter:alpha(opacity=70);
	-ms-filter:"alpha( opacity=70 )";
	transition: 0.2s linear;*/
}

@media (max-width:768px){
	
	.form-tit {
		width: 110px;
	}
	
	.essen-area {
		width: 70px;
	}
	
	.form-input {
		width : -webkit-calc(100% - 190px);;
	}
}

@media (max-width:600px){
	
	.form-block {
		justify-content: flex-start;
	}
	
	.form-input {
		width : 100%;
	}
	
	.form-tit {
		width: auto;
		display: inline-block;
		margin-bottom: 1em;
	}
	
	.essen-area {
		width: 60px;
		text-align: center;
		margin-bottom: 1em;
	}

	.essen {
		margin-left: 0;
	}
	
	.essen,
	.any {
		margin-left: 0;
		padding: 4px 5px 4px 6px;
	}
	
	.terms {
		height: 150px;
	}
}

.label-input label {
	position: relative;
	cursor: pointer;
	padding: 5px 5px 5px 33px;
	display: block;
}

.label-input label::before,
.label-input label::after {
	content: "";
	display: block; 
	border-radius: 50%;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
}

.label-input label::before {
	background-color: #ebfdff;
	border: 2px solid #334a77;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	left: 3px;
}

.label-input label::after {
	border-radius: 50%;
	opacity: 0;
	background-color: #334a77;
	width: 10px;
	height: 10px;
	left: 10px;
}

.label-input label:has(input:checked)::after {
	opacity: 1;
}

.label-input input[type="radio"] {
	position: absolute;
	white-space: nowrap;
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
}

.label-input-label {
	margin: 0 0.7em 0 0.2em;;
}

.input-mb {
	margin-bottom: 0.4em;
}


.back-bt {
	height: 70px;
	width: 200px;
	background-color: #334a77;
	color: #fff!important;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
	margin: auto;
	margin-top: 40px;
	font-weight: 600;
}

.back-bt:hover {
	background-color: #ccc;
}






