@charset "UTF-8";

#error-message {
	margin-bottom: 10px;
	padding: 5px 10px;
	background-color: #FCE4EC;
	border-radius: 3px;
	color: red;
	font-size: 17px;
	font-weight: bold;
}

#simulation-form .description {
	margin-bottom: 40px;
}

#simulation-form .description p {
	margin-bottom: 1em;
	font-size: 16px;
	line-height: 1.7em;
}

#simulation-form {
	font-size: 20px;
}

#simulation-form .flex-box {
	display: flex;
	justify-content: space-between;
}

#simulation-form .flex-box>div {
	width: 49%;
}

#simulation-form h2 {
	margin-bottom: 10px;
	padding: 12px 0 10px;
	color: #FFFFFF;
	font-size: 22px;
	text-align: center;
	line-height: 1.0em;
}

#simulation-form .receive h2 {
	background: #4CB795;
}

#simulation-form .serve h2 {
	background: #C1C72F;
}

#simulation-form h2 strong {
	font-size: 24px;
	font-weight: bold;
}

#simulation-form table {
	table-layout: fixed;
	width: 100%;
}

#simulation-form table tbody th {
	width: 9em;
	padding: 15px 5px;
	border-bottom: dashed 1px #BBBBBB;
}

#simulation-form table tbody td {
	padding: 15px 0;
	border-bottom: dashed 1px #BBBBBB;
}

#simulation-form .annual-income {
	margin-right: 5px;
	width: 3.5em;
	font-size: 26px;
}

#simulation-form .work-type-list {
	display: inline-block;
	margin: 3px 0;
}

#simulation-form .work-type-radio {
	margin-right: 5px;
}

#simulation-form .children-list {
	font-size: 22px;
	margin: 5px 5px 5px 0;
}

#simulation-form .submit-area {
	margin: 30px 0 0;
	text-align: center;
}

#simulation-form .submit-button {
	display: inline-block;
	min-width: 15em;
	padding: 18px 0;
	background: #F1754E;
	border-top: none;
	border-right: none;
	border-left: none;
	border-bottom: 3px solid #ca5e3d;
	border-radius: 10px;
	color: #FFF;
	font-size: 19px;
	letter-spacing: 0.2em;
	text-decoration: none;
	text-align: center;
	line-height: 1em;
	cursor: pointer;
}

#simulation-form .submit-button:active {
	border-bottom: 0;
	margin-top: 3px;
	background: #f36538;
}

@media (max-width:740px) {
	#simulation-form {
		font-size: 16px;
	}

	#simulation-form .flex-box {
		display: block;
	}

	#simulation-form .flex-box>div {
		width: 100%;
		margin-top: 20px;
	}

	#simulation-form table tbody th {
		width: 7em;
	}
}