#wrap {background: none;}
#footer{margin-top:0px;}
#tools{
	position:fixed;
	bottom:0;
	width:100%;
	height:150px;
	background:rgba(250,250,250,0.9);
	border-top:1px #777 solid;
	z-index:10;
	display:none;
}
#years{
	width:1000px;
	margin:0 auto;
	height:30px;
	z-index:11;
	background:url(img/bar.png) no-repeat top;
	position:relative;
	border-top:1px #05559C solid;
	cursor:pointer;
}
#ctrl {
	width:1000px;
	margin:0 auto;
	z-index:11;
	margin-top:10px;
	position:relative;
	height:35px;
}
span.goto {
	position:fixed;
	right:10px;
	bottom:160px;
	z-index:11;
	font-size:16px;
	cursor:pointer;
}
#link{
	list-style-type:none;
	margin:0;
	padding:0;
}
#link li{
	display:block;
	margin:0 4px;
	padding:0;
	float:left;
	width:200px;
	border:1px #AAA solid;
}
#link li a{
	display: block;
	font-size:13px;
	padding:9px 0;
	text-align:center;
	color:#555;
}
#link li a:hover{
	display: block;
	font-size:13px;
	padding:9px 0;
	text-align:center;
	color:#555;
	background:#E3E6E6;
}
#magArea {
	width: 250px;
	height:35px;
	z-index:10;
	text-align:center;
	float:right;
	margin-bottom:5px;
}
#magCount {
	color:#555;
	float:left;
	padding:4px 0;
	float:left;
}
#mag {
	float:right;
}
#mag li{float:left;}
#mag img {
	width:30px;
	height:30px;
	cursor:pointer;
	margin-left:10px;
	display:block;
}
#selectBtn {
	width: 100%;
	max-width:1000px;
	margin:0 auto;
	height:30px;
	color:#333;
	z-index:12;
}
#chboxL {
	width:405px;
	text-align:right;
	margin-right:10px;
}
#chboxR {
	width:405px;
	margin-left:10px;
}
label {
 font-size:13px;
 margin-right:0;
}
.clear
{
	clear:both;
}

#MCE{
	position:relative;
	background-image: url(img/MCE_title2.jpg) ;
	background-position: center;
	height:120px;
}
a.how{
	position:absolute;
	z-index:10;
	top:20px;
	right:20px;
	display:block;
	padding:0.6em;
	text-align:center;
	background:#3091C5;
	color:#FFF;
	border-radius:2px;
}
.how:hover{
	color:#FFF;
	text-decoration:none;
	background:#50B1E5;
}
#allwrap {
	height: 60850px;
	display:none;
	position:relative;
}
.wrap0 {
	clear:both;
	position:absolute;
	top:0px;
	left:0px;
	width: 100%;
	height: 60700px;
	z-index:9;
	color:#666;
	top:120px;
	background:url(img/chronologyBack.jpg);
}
.wrap0 a {
	color:#555;
}
.wrap0 a:hover {
	color:#AAA;
	text-decoration:none;
}
.historyL, .historyR {
  flex:1 1 475px;
	height:60700px;
	z-index:9;
	display:block;
}
.historyM {
  flex:0 0 40px;
	height: 60700px;
	z-index:9;
	color:#FFF;
	background:#777;
	padding: 0 5px;
	font-size:14px;
}
.y {
	width:40px;
	text-align:center;
	position:absolute;
}
.y, .y20 {
	display:none;
}
.y50 {
	display:block;
}
/* 年表の項目 */
.wrapL, .wrapR {
	position: absolute;
	font-size: 9pt;
	line-height: 9pt;
	margin: 0px;
	padding: 0px;
	z-index:9;
}
.wrapL {
	right:53%;
	padding:0 5px;
}
.wrapR {
	left: 53%;
	padding:0 5px;
}
#box {
	position:fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index:16;
	width:100%;
	max-width:440px;
	height:auto;
	border:#CCC solid 1px;
	background:#FFF;
	display:none;
	overflow:hidden;
	box-shadow: 5px 7px 7px rgba(0,0,0,0.2);
}

#text {
	margin:20px;
	z-index:15;
	line-height:1.8;
	font-size:12px;
	color:#555;
}
.title {
	font-size:14px;
	margin:0 0 5px 0;
	padding:0;
}
.box_close {
	position:absolute;
	top:3px;
	right:3px;
	z-index:15;
	cursor:pointer;
}
#blackbox {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index:14;
	display: none;
}

.piriod {
	width:1000px;
	height:1000px;
	right:250px;
}
.s1 {
	position: absolute;
	top:300px;
	width:0;
	height:0;
}
.s2 {
	position: absolute;
	top:1200px;
	width:0;
	height:0;
}
.s3 {
	position: absolute;
	top:2290px;
	width:0;
	height:0;
}
.s4 {
	position: absolute;
	top:4500px;
	width:0;
	height:0;
}
.s5 {
	position: absolute;
	top:3300px;
	width:0;
	height:0;
}
.s6 {
	position: absolute;
	top:2670px;
	width:0;
	height:0;
}
#base_bg1_onpu {
	width:1000px;
	margin: 0 auto;
	position:absolute;
	top:20px;
	height:100px;
	background-image:url("img/onpu_b.png");
	z-index:9;
}
#bg1_onpu {
	background-image: url("img/onpu_s.png");
	z-index:9;
	height:100px;
}
.max1000{
  width: 100%;
  max-width: 1000px;
}

.dummy {
	display:none;
	flex:0 1 150px;
}

#hideButtonL,#hideButtonR {
	display:none;
}

.forU1000,.tatesen {
	display:none;
}

#minus {opacity:0.5;}

a.mhow{
	z-index:10;
	display:none;
	padding:0.6em;
	text-align:center;
	background:#3091C5;
	color:#FFF;
	border-radius:2px;
	float:left;
}
.mhow:hover{
	color:#FFF;
	text-decoration:none;
	background:#50B1E5;
}
/* #pageload{
	display:none;
	position:fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index:16;
	width:150px;
	line-height: 30px;
	height:30px;
	text-align: center;
	background:rgba(250,250,250,0.9);
	border:2px #AAA solid;
	color:#555;
} */

@media screen and (max-width:1000px) { 
	.historyL{display:none;}
	.wrapR {left:50px;}
	.wrapL {right:50px;}
	#base_bg1_onpu{display: none;}
	#ctrl{width:100%;}
	a.how {display: none;}

	.forU1000, a.mhow{
		display:block;
	}
	.radiolabel {
		flex:0 0 90px;
		line-height: 30px;
		height:30px;
		text-align: center;
		background:rgba(250,250,250,0.9);
		border:2px #AAA solid;
		color:#555;
	}

	.tatesen {
		margin-top: 5px;;
		display: block;
		width:1px;
		background-color: #777;
		height:auto;
	}

	#selectBtn input[type="radio"]:checked + label{
		background:rgba(208, 208, 208, 0.9);
		font-weight:normal;
		color:#555;
	}
	
  #chboxL,#chboxR {
	  display:flex;
	  flex-wrap:wrap;
	  justify-content:center;
	  flex:1 1 200px;
	}

	#hideButtonL input[type="radio"]{
		display:none;
	}

	#chboxL label,#chboxR label{
		flex:0 1 150px;
	}

	.dummy {
		display:block;
	}

	.mt7 {margin-top:70px;}
}
