@charset "UTF-8";

.mainContents {
	width: 100%;
	background: #fff;
	padding: 40px;
}

form dl {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

	form dl dt {
		width: 300px;
		text-align: right;
		padding: 15px;
		border-bottom: 1px dotted #ccc;
	}

	form dl dt:last-of-type {
		border-bottom: none;
	}

	form dl dd {
		text-align: left;
		width: calc(100% - 300px);
		padding: 15px 15px 15px 20px;
		border-bottom: 1px dotted #ccc;
		border-left: 1px dotted #ccc;
	}

	form dl dd:last-of-type {
		border-bottom: none;
	}

	.form_err {
		border: 1px solid #d10000 !important;
		background: #ffebeb !important;
	}

	.err_msg {
		color: #d10000;
		border: 1px solid #d10000;
		border-radius: 5px;
		background: #ffebeb;
		padding: 10px;
		display: none;
	}

	.mail_err {
		color: #d10000;
		display: none;
	}

/*---------------------- responsive styles -----------------------*/
@media screen and (max-width:768px) {
	.mainContents {
		padding: 20px;
	}

	.mainContents dl {
		display: block;
	}

		.mainContents dl dt,
		.mainContents dl dd {
			width: 100%;
			text-align: left;
			padding: 5px 0;
		}

		.mainContents dl dt {
			font-weight: 700;
		}

		.mainContents dl dd {
			border: none;
			margin: 0 0 20px;
			padding: 5px 0;
		}

			.mainContents dl dd #gengou,
			.mainContents dl dd #birth_y,
			.mainContents dl dd #birth_m,
			.mainContents dl dd #birth_d {
				width: 35% !important;
			}

			.mainContents dl dd #zip01,
			.mainContents dl dd #zip02 {
				width: 35% !important;
			}

			.mainContents dl dd #grad_year {
				width: 35% !important;
			}
}

/*---------------------- responsive styles -----------------------*/
@media screen and (max-width:480px) {
}
