.fl {
	float: left;
}
#calculation_program {
	width: auto;
	padding: 20px;
	background-color: #F2F2F2;
}
#calculation_program #cp_in {
	background-color: #FFF;
	padding: 10px;
}
#calculation_program #cp_table {
	width: auto;
	margin-left: auto;
	margin-right: auto;
	border-top: #53AD33 2px solid;
	border-bottom: #53AD33 2px solid;
	font-size: 14px;
}
#cp_table th, #cp_table td {
	padding: 10px;
	text-align: left;
	font-weight: normal;
	border-bottom: #000 1px dotted;
}
#cp_table td {
	position: relative;
}
#cp_table td table {
	width: auto;
}
#cp_table td table td {
	border: none;
	width: auto;
}
#cp_table .line {
	border-left: #54AD34 1px solid;
	height: 80%;
	position: absolute;
	left: 0;
	top: 10%;
}
#cp_table #last_td {
	width: 100%;
	border: none;
	text-align: center;
}
#cp_table .tr_1 {
	width: 70px;
}
#cp_table #inheritance_start_date {
	float: left;
}
#calculation_program #submit {
	width: 90%;
	max-width: 400px;
	color: #FFF;
	font-size: 20px;
	font-weight: bold;
	display: block;
	border: none;
	background: none;
	margin: 30px auto;
	padding-top: 15px;
	padding-bottom: 15px;
}
#calculation_program #submit {
  background: #fe9935;
  /* Old browsers */
  background: -moz-linear-gradient(top, #fe9935 0%, #ff7f00 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fe9935), color-stop(100%, #ff7f00));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #fe9935 0%, #ff7f00 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #fe9935 0%, #ff7f00 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #fe9935 0%, #ff7f00 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #fe9935 0%, #ff7f00 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe9935', endColorstr='#ff7f00',GradientType=0 );
  /* IE6-9 */
  border: 1px solid #ff7f00;
}
#calculation_program .submit {
  outline: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 0.2em;
  -moz-border-radius: 0.2em;
  border-radius: 0.2em;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
#calculation_program #submit:hover {
  background: #fc8719;
  /* Old browsers */
  background: -moz-linear-gradient(top, #fc8719 0%, #ff6e00 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fc8719), color-stop(100%, #ff6e00));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #fc8719 0%, #ff6e00 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #fc8719 0%, #ff6e00 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #fc8719 0%, #ff6e00 100%);
  /* IE10+ */
  background: linear-gradient(to bottom, #fc8719 0%, #ff6e00 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fc8719', endColorstr='#ff6e00',GradientType=0 );
  /* IE6-9 */
  text-decoration: none;
}

#calculation_program #total_amount {
	width: auto;
	max-width: 800px;
	padding: 20px 0;
	margin-left: auto;
	margin-right: auto;
	border: #FF8205 8px solid;
	background-color: #FFF;
}
#calculation_program #total_amount_in {
	width: 90%;
	margin: 0 auto;
	font-size: 20px;
	font-weight: bold;
} 
#calculation_program #total_num {
	text-align: right;
	border-bottom: #000 1px dotted;
	vertical-align: baseline;
}
#calculation_program #total_num .yen {

}
#calculation_program #total_num #num {
	font-size: 60px;
	line-height: 1;
	padding-right: 10px;
	color: red;
}
#inheritance_start_date_y {
	margin-bottom: 5px;
}
#inheritance_start_date_m {
	margin-left: 12px;
}
.td_select select {
	margin-left: 13px;
}

@media screen and (min-width: 800px){
	#calculation_program {
		width: 900px;
	}
	#calculation_program #cp_table {
		width: 808px;
	}
	#cp_table th {
		white-space: nowrap;
	}
	#cp_table td {
		width: 300px;
	}
}