@charset "UTF-8";
/* CSS Document */

#form {
	max-width: 1040px;
	margin: 0 auto;
	padding: 60px 0 90px;
}
#form_base {
	background-color: #F2E5EA;
	border-radius: 20px;
	padding: 40px;
	font-size: 16px;
	line-height: 1.75;
	color: #000;
}
#form #endmes {
	font-size: 16px;
	line-height: 2;
}
#form .mes,#form dl {
	border-bottom: 2px solid #FFF;
}
#form .mes {
	padding-bottom: 40px;
}
#form dl {
	padding: 20px 0;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}
#form dt {
	width: 385px;
}
#form dt span {
	color: #82002B;
}
#form dd {
	width: calc(100% - 385px);
	font-size: 0;
}
#form dd p {
	font-size: 16px;
	line-height: 1.75;
	color: #000;
}
#form dd p.err {
	padding-top: 5px;
	color: #F00;
}
#form dd input {
	width: 100%;
	box-sizing: border-box;
	background-color: #FFF;
	font-size: 16px;
	line-height: 40px;
	padding: 0 10px;
	border: none;
}
#form dd textarea {
	width: 100%;
	height: 280px;
	box-sizing: border-box;
	background-color: #FFF;
	font-size: 16px;
	line-height: 1.75;
	padding: 6px 10px;
	border: none;
}
#form .txt {
	padding: 20px 0 40px;
	font-size: 14px;
}
#form .txt a {
	color: #000;
	text-decoration: underline;
}
#form #pp {
	text-align: center;
}
#form #pp label {
	display: inline-block;
	background-color: #FFF;
	font-size: 14px;
	line-height: 40px;
	padding: 0 20px;
}
#form #pp label span {
	color: #82002B;
}
#form #pp label input {
	border: 1px solid #000;
	margin-right: 10px;
}
#form #pp p.err {
	padding-top: 5px;
	color: #F00;
}
#form #submit {
	text-align: center;
	padding: 40px 0;
}
#form #submit a {
	display: inline-block;
	width: 280px;
	text-decoration: none;
	color: #FFF;
	font-size: 20px;
	line-height: 60px;
	background-color: #82002B;
	border-radius: 30px;
}

@media screen and (max-width: 790px) {
	#form {
		padding: 30px 20px;
	}
	#form_base {
		border-radius: 10px;
		padding: 20px;
		font-size: 14px;
	}
	#form .mes {
		padding-bottom: 20px;
	}
	#form dl {
		flex-direction: column;
	}
	#form dt {
		width: 100%;
		padding-bottom: 5px;
	}
	#form dd {
		width: 100%;
	}
	#form .txt {
		padding-bottom: 20px;
	}
	#form #pp label {
		padding: 0;
		width: 100%;
	}
	#form #submit {
		padding: 30px 0 0;
	}
}