main {
	padding-top: 130px;
}

#mainContent {
	position: relative;
	margin: 150px 8% 0 8%;
}

#mainContent h1 {
	color: var(--mainColor);
	font-size: 50px;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 50px;
	margin: 0 0 160px 0;
}

#mainContent>p {
	position: absolute;
	top: -46px;
	left: 0;
	color: var(--mainColor);
	font-size: 16px;
}

#mainContent section {
	text-align: center;
}

#mainContent section p {
	color: var(--fontColor);
	font-size: 16px;
	line-height: 40px;
}

#mainContent section>p {
	margin-bottom: 110px;
}

#mainContent section table {
	width: 100%;
	text-align: left;
}

#mainContent section table p {
	font-weight: 400;
}

#mainContent section table tr th {
	width: 260px;
	padding: 50px 0;
	vertical-align: top;
}

#mainContent section table tr th:first-child {
	width: 120px;
}

#mainContent section table tr td {
	padding-top: 50px;
	vertical-align: top;
}

#mainContent section table tr td>p.redText {
	min-height: 20px;
	line-height: 20px;
	margin: 15px 0;
}

#mainContent section form * {
	font-family: Roboto, 'Noto Sans JP';
	color: var(--fontColor);
}

#mainContent section form label {
	position: relative;
	display: inline-block;
	text-align: center;
	white-space: nowrap;
	padding-left: 75px;
	margin-left: 35px;
}

#mainContent section form label:before {
	position: absolute;
	left: -35px;
	content: '';
	width: 35px;
	height: 35px;
	background-color: #FFFFFF;
	border: 1px solid #05173F;
	box-sizing: border-box;
	cursor: pointer;
}

#mainContent section form label:after {
	position: absolute;
	top: 2px;
	left: -25px;
	content: '';
	width: 10px;
	height: 18px;
	border-right: 5px solid var(--fontColor);
	border-bottom: 5px solid var(--fontColor);
	opacity: 0.0;
	cursor: pointer;
	transform: rotate(45deg);
}

#mainContent section form label p {
	display: inline-flex;
	align-items: flex-start;
	font-size: 16px;
	line-height: 35px;
}

#mainContent section form label p a {
	position: relative;
	margin-right: 0.5em;
	text-decoration: none;
}

#mainContent section form label p a:after {
	position: absolute;
	left: 0;
	right: 0;
	content: '';
	bottom: 6px;
	height: 1px;
	background-color: var(--fontColor);
}

#mainContent section form input {
	width: 100%;
	height: 40px;
	font-size: 16px;
	border: 1px solid #05173F;
	box-sizing: border-box;
}

#mainContent section form input[type=checkbox] {
	display: none;
}

#mainContent section form input[type=checkbox]:checked + label:after {
	opacity: 1.0;
}

#mainContent section form select {
	width: 100%;
	height: 40px;
	font-size: 16px;
	background-color: #FFFFFF;
	border: 1px solid #05173F;
	box-sizing: border-box;
}

#mainContent section form textarea {
	width: 100%;
	height: 300px;
	font-size: 16px;
	line-height: 20px;
	border: 1px solid #05173F;
	box-sizing: border-box;
	resize: none;
}

#mainContent section form .btn {
	color: var(--fontColor);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 1px;
	border: none;
	margin: 90px 0 160px 0;
}

#mainContent section form .btn:hover {
	color: var(--whiteFontColor);
}

.btmBorder {
	border-bottom: 1px solid #E0E0E0;
}

.redText {
	color: #CC5252 !important;
	font-size: 20px;
}

.reqText {
	display: inline-block;
	color: #FFFFFF !important;
	background-color: #CC5252;
	padding: 0 10px;
}

@media only screen and (max-width: 1279px) {
}

@media only screen and (max-width: 1023px) {
}

@media only screen and (max-width: 599px) {
	#mainContent {
		margin: 150px 30px 0 30px;
	}

	#mainContent h1 {
		font-size: 45px;
	}

	#mainContent>p {
		top: -30px;
		font-size: 15px;
	}

	#mainContent section p {
		font-size: 15px;
		line-height: 35px;
	}

	#mainContent section table tr th {
		width: 135px;
		padding: 30px 0;
	}

	#mainContent section table tr th:first-child {
		width: 90px;
	}

	#mainContent section table tr td {
		padding-top: 0;
		vertical-align: middle;
	}

	#mainContent section table tr td>p.redText {
		font-size: 12px;
		margin: 0;
	}

	#mainContent section table tr:last-child td>p.redText {
		margin: 15px 0 15px 55px;
	}

	#mainContent section table tr.btmBorder td {
		padding-bottom: 30px;
	}

	#mainContent section table tr.btmBorder:last-child td {
		padding-bottom: 0;
		text-align: center;
	}

	#mainContent section form label {
		padding-left: 20px;
		margin-top: 50px;
		margin-left: 20px;
		white-space: normal;
	}

	#mainContent section form label:before {
		left: -20px;
		width: 20px;
		height: 20px;
	}

	#mainContent section form label:after {
		left: -14px;
		width: 5px;
		height: 9px;
		border-right: 2px solid var(--fontColor);
		border-bottom: 2px solid var(--fontColor);
	}

	#mainContent section form label p {
		font-size: 14px;
		line-height: 20px;
	}

	#mainContent section form label p a:after {
		bottom: 1px;
	}

	#mainContent section form input {
		font-size: 15px;
	}

	#mainContent section form select {
		font-size: 15px;
	}

	#mainContent section form textarea {
		font-size: 15px;
	}

	#mainContent section form .btn {
		font-size: 15px;
	}

	.redText {
		font-size: 18px;
	}

	.reqText {
		padding: 0 12px;
	}
}
