/*
body {}
*/

main {
	background-color: #f4f4f4;
	padding-bottom: 5px;
}



.block_box {
	margin: 20px auto;
	padding-bottom: 10px;
	min-width: 320px;
	max-width: 400px;
	width: 90%;
	min-height: 7rem;
	border-radius: 10px;
	background-color: #FFF;
}


@media screen and (min-width:400px) {
	.block_box {
		margin: 20px;
		min-width: 320px;
		max-width: 400px;
		width: 90%;
		min-height: 7rem;
		border-radius: 10px;
		background-color: #FFF;
	}

}

.block_box .plan {
	display: flex;
	background-color: #ff6363;
	padding: 5px;
	border-radius: 10px 10px 0 0;
	font-size: 0.8em;
	align-items: center;
}

.block_box .plan svg {
	fill: #ffffff
}

.block_box .finished {
	text-align: left;
	margin-top: 10px;
	margin-left: 10px;
}

.block_box .started {
	text-align: left;
	margin-top: 10px;
	margin-left: 10px;
}

.block_box .finished {
	fill: #ff6363
}


.block_box .plan .plan_item {
	display: inline-block;
	font-size: 1.2em;
	margin-left: 10px;
	color: #FFF;
}

h1 {
	position: relative;
	font-size: 1.5em;
	position: relative;
	padding: 0.25em 0.5rem;
	background-color: #FFF;
}

.logout {
	position: absolute;
	top: 1.0rem;
	right: 20px;
}

h1:after {
	content: "";
	display: block;
	height: 4px;
	background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
	background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}


h2 {
	margin-left: 30px;
	position: relative;
	background: #dbdbdb;
	padding: 5px 5px 5px 20px;
	font-size: 1em;
	color: #474747;

}


h2::before {
	font-family: "Font Awesome 5 Free";
	content: "\f073";
	display: inline-block;
	line-height: 40px;
	position: absolute;
	padding: 0em;
	color: white;
	background: #ff6363;
	font-weight: 900;
	width: 40px;
	text-align: center;
	height: 40px;
	line-height: 40px;
	left: -1.35em;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	border-radius: 50%;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
}

.calc::before {
	content: "\f1ec";
}

.cog::before {
	content: "\f013";
}

.yen-sign::before {
	content: "\f157";
}

.table::before {
	content: "\f0ce";
}

table {
	margin: 10px;
	border-spacing: 0;
	border-collapse: collapse;
	border-bottom: 1px solid #aaa;
	color: #555;
	width: 100%;
}

table.items,
table.documents {
	width: 500px;
}

table.standards {
	width: 1200px;
}

table.allowance_calc {
	width: 800px;
}

th {
	border: 1px solid #aaa;
	background-color: #f5f5f5;
	padding: 10px 0 10px 6px;
	text-align: left;
}

td {
	border: 1px solid #aaa;
	padding: 10px 6px 10px 6px;
}

input[type="number"] {
	width: 50px;
	text-align: right;
}

textarea {
	width: 800px;
	height: 150px;
}

.menu {
	padding-left: 20px;
	border-bottom: 1px solid #555;
}

.menu li {
	display: inline-block;
	width: 150px;
	padding-bottom: 10px;
}

.menu li a {
	text-decoration: none;
	color: #333;
}

.menu li a:hover {
	color: #000;
	font-weight: bold;
}

.v-m {
	display: inline-block;
	vertical-align: middle;
}


.standard li {
	font-size: 14px;
	padding: 5px;
}

span.point {
	display: inline-block;
	width: 15px;
	text-align: right;
}

select {

	width: 20em;
}

option {
	width: 20em;
	white-space: normal;
}

.simulation_box {
	display: table;
}

.simulation {
	display: table-cell;
	width: 500px;
}


.additional {
	padding-left: 50px;
	display: table-cell;
	width: 400px;
}

label {
	display: inline-block;
	width: 100px;
	margin-right: 10px;
	padding: .5em .75em;
	background-color: #f6f6f6;
	border-bottom: 1px solid #ccc;
}

input[type=number].money {
	width: 100px;
}

.message {
	color: red;
	font-weight: bold;

}

.hr {
	height: 20px;
	border-bottom: 1px dashed #8c8b8b;
}

.wrap_box {
	display: table;
}

.cell_box {
	display: table-cell;
	padding-right: 20px;
}

.point_detail {
	font-size: 0.9rem;
}

.target_link {
	text-decoration: none;
	color: #FFFFFF;
	background-color: #ff6363;
	padding: 3px;
	border-radius: 3px;
	font-size: rem;
}