/*----------------------------------------------------------
		 form
	----------------------------------------------------------*/

#form {
	padding: 40px 0;
}
#form h2 {
	font-size: 40px;
	margin-bottom: 20px;
}
#form .flex {
	justify-content: left;
}
#form .block {
 display: block;
 text-align: left;
 margin: 20px 0 10px 0;
 font-weight: bold;
 font-size: 14px;
 line-height: 1.5;
}
#form .block span {
	font-size: 12px;
}
#form #contact {
	border: 1px solid #313690;
	border-top: 10px solid #313690;
	width: 80%;
	margin: 0 auto;
	padding: 40px;
	border-radius: 10px;
}
#form .required {
	padding: 3px;
	color: #fff;
	background-color: #E9430B;
	font-weight: bold;
	font-size: 10px;
	vertical-align: middle;
	margin-left: 5px;
}
#form .optional {
	padding: 3px;
	color: #fff;
	background-color: #AAAAAA;
	font-weight: bold;
	font-size: 10px;
	vertical-align: middle;
	margin-left: 5px;
}
#form input,
#form textarea,
#form select {
	width: 100%;
	border: none;
	background-color: #eee;
	height: 40px;
	padding: 5px 5px 5px 10px;
	border-radius: 10px;
}
#form input::placeholder,
#form textarea::placeholder,
#form select::placeholder {
	color: #999!important;
}
#form .flex label {
	display: flex;
	align-items: center;
	margin-right: 15px;
}
#form input[type="radio"] {
	width: 30px;
	height: 30px;
	margin: 0 10px 0 0;
}

#form input[type="number"]::-webkit-inner-spin-button,
#form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
}

#form button.block {
	padding: 20px 40px;
	background-color: #E9750B;
	border: none;
	border-radius: 100px;
	font-size: 18px;
	margin: 30px auto 15px;
	font-weight: bold;
	color: #fff;
	box-shadow: 0px 3px 0px 0px #BB6313;
}
#form input[type="date"] {
  appearance: none; /* ブラウザのデフォルトスタイルを無効化 */
  -webkit-appearance: none;
  -moz-appearance: none;
}

@media screen and (max-width: 768px) {
	#form #contact {
		width: 92%;
		padding: 20px;
	}
	#form h2 {
		font-size: 24px;
	}
	#form .block {
		font-size: 16px;
	}
}

.nonvisible {
	/* utm_source, utm_campaginの入力項目を擬似的に存在させ、隠すための記述です */
	visibility: hidden;
	position: absolute;
	bottom: 0;
	right: 0;
}

/*----------------------------------------------------------
		 thanks
	----------------------------------------------------------*/

.thanksh2 h2{
	font-size: 30px;
  font-size: 3rem;
  position: relative;
  padding: 1.5rem;
  text-align: center;
}
.thanksh2 span{
  font-size: 18px;
  font-size: 1.8rem;
  display: block;
}

.thanksbox{
background-color: #FFFFFF;
    box-shadow: 0px 0px 8px 8px #f8edeb;
    padding: 20px;
    margin: 20px;
    font-size: 25px;
    line-height: normal;
}

.thankstxtgray{
	background-color:#B9B9B9;
	    text-align: left;
margin: 10px;

}
.thankstxtgray span{
	font-size: 15px;
	font-weight:bold;
}

.thankstxt h2{
	color: chocolate;
	margin-top: 40px;
	margin-bottom: 40px;

}
.thankstxt{
	text-align: left;
	margin: 10px;

}
