.parent {
	display: flex;
	flex-direction: column;
	padding: 10px;
	border: 1px solid black;
	overflow-wrap: break-word;
}

.child {
}

.child1 {
	flex: 0.8; /* 比率で高さを決める */
	padding: 10px;
}

.child2 {
	flex: 4; /* 比率で高さを決める */
	padding: 10px;
}


a { text-decoration: none; }
a:link { color: #000000; }

ul {
	text-align: center;
}

li a{
	display:block;
	margin: 0;
	padding: 0;
	list-style:none;
}

li{
	display: inline-block;
}


.on {
	background-color:#DD0000;
	width:180px;
	height:35px;
	margin-bottom:10px;
	text-align:center;
}

.off {
	background-color:silver;
	width:180px;
	height:35px;
	margin-bottom:10px;
	text-align:center;
}

.on a {
	text-decoration:none;
	margin-top:5px;
}

.on a:link		{color:black;}
.on a:visited	{color:black;}
.on a:hover		{color:black;}

.off a {
	text-decoration: none;
	margin-top:5px;
}

.off a:link    {color:#000000;}
.off a:visited {color:#000000;}
.off a:hover   {color:#ff0000;}


