html {
    font-family: 'Noto Sans JP', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 10px;
}

#form {
	padding: 150px 0;
}

form {
	max-width: 750px;
	margin: auto;
}

.element_wrap {
	margin-bottom: 5rem;
	display: flex;
	flex-direction: column;
}

label {
	font-size: 2.4rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
	display: inline-block;
	vertical-align: top;
}

.required {
	font-size: 2.0rem;
	color: #ffffff;
	width: 65px;
	padding: 3.5px 0;
	margin-left: 2.5rem;
	border-radius: 3px;
	text-align: center;
	display: inline-block;
	background-color: #222;
}

input[type=text],
select {
	background: #f9f9f9;
	border: 1px solid #ddd;
}

input[type=text],
select,
label[for] {
	font-size: 2.0rem;
}

input[type=text] {
	height: 50px;
	padding: 5px 10px;
	border-radius: 5px;
}

select {
	height: 50px;
	width: 50%;
	padding: 0 1rem;
	border-radius: 6px;
	-moz-appearance: menulist;
	-webkit-appearance: menulist;
	appearance: menulist;
}

.file-upload {
	display: flex;
	justify-content: space-between;
}

input[type="file"] {
	font-size: 1.8rem;
	width: 48%;
	padding: 10px;
    background-color: #f3f0f0;
	border-radius: 3px;
	border: 1px solid #ddd;
}

label[for] {
	display: flex;
	align-items: center;
	justify-content: center;
}

input#agreement {
	width: 27.5px;
	height: 27.5px;
	margin-right: 1rem;
}

input[type=text]:focus,
input[type=file]:focus,
select:focus {
	background-color: #fffcd6;
}

input[name=btn_confirm],
input[name=btn_submit],
input[name=btn_back] {
	width: 350px;
	height: 60px;
	border-radius: 50px;
	font-size: 2.4rem;
	text-align: center;
	cursor: pointer
}

input[name=btn_confirm] {
	color: #ffffff;
	box-shadow: 0 3px 0 #999;
	background-color: #222;
	display: block;
	margin: auto;
}

input[name=btn_submit] {
	color: #ffffff;
	box-shadow: 0 3px 0 #999;
	background-color: #222;
}

input[name=btn_back] {
	color: #ffffff;
	margin-right: 20px;
	box-shadow: 0 3px 0 #999;
	background: #999;
}

.error_list {
	width: 100%;
	padding: 10px 30px;
	color: #ff2e5a;
	font-size: 86%;
	text-align: left;
	border: 1px solid #ff2e5a;
	border-radius: 5px;
}

.element_wrap p {
	font-size: 2.0rem;
	display: inline-block;
	margin: 0;
}

@media screen and (max-width: 500px) {
	#form {
		padding: 75px 0;
	}

	.element_wrap {
		margin-bottom: 3rem;
	}

	label {
		font-size: 1.8rem;
		font-weight: 500;
		margin-bottom: 1rem;
	}

	.required {
		font-size: 1.6rem;
		width: 55px;
		padding: 1px 0;
		margin-left: 1.5rem;
		border-radius: 2px;
	}

	input[type=text] {
		height: 45px;
		padding: 5px 7.5px;
	}

	select {
		height: 45px;
		width: 100%;
		padding: 5px 7.5px;
		border-radius: 5px;
	}

	.file-upload {
		flex-direction: column;
	}

	input[type="file"] {
		font-size: 1.8rem;
		width: 100%;
		padding: 5px 7.5px;
		margin-bottom: 1rem;
	}

	input[type=text],
	select,
	label[for] {
		font-size: 1.8rem;
	}

	input[name=btn_confirm],
	input[name=btn_submit],
	input[name=btn_back] {
		width: 300px;
		height: 50px;
		border-radius: 50px;
		font-size: 2.2rem;
		display: flex;
		justify-content: center;
	}

	input[name=btn_back] {
		margin-right: 0px;
		margin: 0 auto 2rem auto;
	}

	input[name=btn_submit] {
		margin-right: 0px;
		margin: auto;
	}


}




/*------------------------------------------
thanks
--------------------------------------------*/


.container-entry{
    height: 80vh;
}


.container-entry h2{
    font-size: 3.6rem;
    margin-top: 12.5rem;
    margin-bottom: 2rem;
    text-align: center;
    display:block;
}


#thanks {
	padding: 240px 0 150px 0;
}

#thanks h2 {
	margin-bottom: 3.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#thanks h2 img {
	width: 65px;
	margin-bottom: 2.5rem;
}



.thanks-txt {
	font-size: 2.4rem;
	font-weight: 500;
}

#thanks h2,
.thanks-txt {
	text-align: center;
}

@media screen and (max-width: 500px) {
	#thanks {
		padding: 135px 0 75px 0;
	}

	#thanks h2 img {
		width: 45px;
		margin-bottom: 1.5rem;
	}

	#thanks h2 {
		margin-bottom: 2rem;
	}

	.thanks-txt {
		font-size: 1.8rem;
	}

	.vh {
		height: 70vh;
	}

}