html {

}
body {
	font-family:Arial , "Meiryo UI" , "游ゴシック";
	margin :0 auto;
	overflow:hidden;
	/*background:#fff;
	position:absolute;
	width:100%;
	height:100%;*/
*
}


div {
	overflow:hidden;
	display:block;
}

a {
	color:#333;
}

ul{
	list-style: none;
	padding:0;
	margin:0 auto;
	
}
li{
	list-style: none;
	padding:0;
}

img{
	/*display: block;*/
	vertical-align: bottom; /* 下部の余計な余白防止 */
	margin: 0 auto;
	/*border:solid 1px #c0c0c0;*/
	padding: 0px 0px 0px 0px;
	

	
	/* 画像を掴めないようにする（誤作動防止のため） */
	user-select:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-khtml-user-select:none;
	-webkit-user-drag:none;
	-khtml-user-drag:none;
}

#main ul img{
	position:absolute;
	z-index:100;
}
#main ul img.station_line{
	position:static;
	z-index:0;
}

object {
	
	pointer-events:none;	/*ドラッグスクロールを使えるように*/
	vertical-align: bottom; /* 下部の余計な余白防止 */
	margin: 0 auto;
	/*border:solid 1px #c0c0c0;*/
	padding: 0px 0px 0px 0px;

}

#wrap{

	position:absolute;
	width:100%;
	height:100%;

}

#header {

	cursor:pointer;
	height:35px;
	width:100%;
	background:#efefef;
	position:static;
	/*position:relative;*/
	z-index:10;
	border-bottom: 2px solid #9c9c9c;
	

}
#header img{
	padding-left:80px; /* //// */
	padding-right:100px;/* 余白 */
	margin-top:15px;
	border:0px;
	/*padding: 0px;*/

}


/* 時刻表示 */
#header .hour{
	padding-left:80px; /* //// */
	width:7000px;
	position:absolute;
	
	will-change:left;
}

#header .h{

	font-size:11pt;
	font-style:italic;
	font-weight:bold;
	float:left;
	position:relative;
	width:258px; /* ////1時間あたりの幅 */


}

#header button{
	width:80px;/* //// */
	height:18px;
	font-size:10pt;
	line-height:11pt;
	font-style:italic;
	font-weight:bold;
	position:fixed;
	float:left;
	background:#fefefe;
	border:none;

}

#footer{

	position:absolute;
	bottom: 0px;
	/*background: aliceblue;*/
	left: 0px;
	right: 0px;
	height: 15px;

}


#sidebar {
	width:80px; /* //// */
	/*margin-top:-35px;*/ /* //// */
	/*position:relative;*/
	position:absolute;
	z-index:2;
	padding: 0px;
	float:left;
	height:100%;
	overflow:hidden;
	border-right:2px solid #9c9c9c;
	
}
#sidebar ul{ 
	/*margin-top:35px;*/
	margin-bottom:150px;
	position:absolute;
		will-change:top;
}
#main {

	/*margin-top:-35px;*/ /* //// */
	margin-left:82px; /* 駅名幅+2　//// */
	/*margin-right:0px;*/
	z-index:1;
	padding: 0px;
	overflow:scroll;
	position:relative;
	height:100%;
	-webkit-overflow-scrolling: touch;

}

#main > * {
    -webkit-transform: translateZ(0px);
}


#main ul{
	/*width:6192px;*/ /* //// */
	/*margin-top:35px;*/
	margin-bottom:100px;

}
.background_grid{
}

#timeline {
/*	margin-top:35px;
	margin-left:-2px;*/
	background-color:#0088a0;
	width:2px;
/*	height:1500px;*/
	position:absolute;
	
/*	border-style:solid;
	border-color:#f0f0f0;
	border-left-width:3px;
	border-right-width:3px;
*/
	z-index:11;
	opacity:0.6;
}
#timeline.off {
	background-color:#444;
}


#zooming {
	bottom: 5px;
	right:0px;
	position:fixed;
	z-index:99;
	opacity:0.75;
	overflow:auto;
}
#zooming button{
    cursor: pointer;
    display:block;
    background:#eee;

    font-family:Arial , "Meiryo UI" , "游ゴシック";
    border-top: solid 1px #777;
    border-bottom: solid 1px #777;
    border-left: solid 1px #777;
    border-right: 0px;
    border-radius:7px 0px 0px 7px;
    margin:15px 0px;
    padding:0px 12px;
    height:40px;
}


#clock_time{
    z-index: 999;
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: small;
    font-style: italic;
}


#menu_button {
	text-align:right;
	top: 0px;
	right:0px;
	height:60px;
	position:fixed;
	z-index:998;
	padding-top:6px;
	background-color: #f3f3f3;
	border-left: solid 1px #777;
	border-bottom: solid 1px #777;
	user-select:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-khtml-user-select:none;
	-webkit-user-drag:none;
	-khtml-user-drag:none;

}

#menu_button.show {width:220px;}



#menu_button h1{
	font-size:18pt;
	font-style:italic;
	font-weight:bold;
	padding:15px;
	display:block;
	margin:0 auto;
	cursor: pointer;
}
#diagram_index h4{
	font-size:10.5pt;
	font-weight:bold;
	display:block;
	padding-left:10px;
	margin:0 auto;
	background:white;
	line-height:3em;
}


#diagram_index{
	display:none;
	width:190px;
	padding:0px 15px;
	top:60px;
	bottom:0px;
	right:0px;
	z-index:999;
	position:fixed;
	background-color: #f3f3f3;
	opacity:0.95;
	overflow:auto;
	border-left: solid 1px #777;
	border-bottom: solid 1px #777;
	/*border-radius:12px 0px 0px 12px;*/
	-webkit-overflow-scrolling: touch;
}





/* メニュー 時刻スクロール */
div#time_scroll {
    background-color: #fff;
    padding: 5px;
    margin-bottom:6px;
}
div#time_scroll button {
    width: 100%;
    height: 30px;

}
button#scrollbotton {
    background-color: #d2f9f8;
    border: solid 1px #555;
    margin-bottom: 10px;
}
button#auto_scroll {
    background-color: #eee;
    border: solid 1px #777;
}
button#auto_scroll.on {
    background: linear-gradient( rgb(245, 221, 190),#fffeee);
    border: solid 1px #777;
    font-weight:bold;
}



/* メニュー 背景選択 */
div#bg_timeline {
    background-color: #fff;
    padding: 6px;
    margin-bottom:6px;
}

div#bg_timeline button {
    height: 30px;
    width: 50px;
    float:left;
    text-align: center;
}
div#bg_timeline div {
    height: 30px;
    width: 60px;
    line-height: 30px;
    float:left;
    text-align: center;
}



/* メニュー 表示列車 */
div#diagram_layer {
    background-color: #fff;
    margin-bottom: 6px;
    padding: 6px;
}

div#diagram_layer button {
    width: 100%;
    margin-bottom: 1px;
    padding: 5px 8px;
   	border: 1px outset #ccc;
	background: linear-gradient(#dedede, #f9f9f9);
}
div#diagram_layer button.on   {
    background: linear-gradient( rgb(245, 221, 190),#fffeee);
    color:#333;
    font-weight:bold;
}






#main_ctrl{
	margin:0px 0px 20px 0px;
}
#main_ctrl ul{
	background:#fff;
	/*padding:10px;*/
	border-radius:5px;
}
#main_ctrl li{
	padding:5px;
}
#main_ctrl button{
	padding:5px 10px;
	width:100%;
}


#preset_selector{
	margin:0px 0px 20px 0px;
}
#preset_selector ul{
	background:#fff;
	/*padding:10px;*/
	border-radius:5px;
}
#preset_selector li{
	padding:1px;
}
#preset_selector button{
	padding:7px 10px;
	background: linear-gradient(#efeded, #f9f9f9);
	border:1px #777 solid;
}


#dia-selector-area input {
/*	float:left;
	margin:10px;
*/
	display:none;
}
#dia-selector-area ul {
	margin:0px 0px 15px 0px;
}
#dia-selector-area li{
/*	padding:3px;
	list-style-type:initial;
	list-style-position:inside;*/
}
button{
    cursor: pointer;
    font-family:Arial , "Meiryo UI" , "游ゴシック";
    text-align:left;

}
#dia-selector-area .on {
    cursor: pointer;
    background: linear-gradient( rgb(245, 221, 190),#fffeee);
    color:#333;
    font-weight:bold;

}

#dia-selector-area button {
	display:block;
	border: 1px outset #ccc;
	background: linear-gradient(#dedede, #f9f9f9);
	padding:8px 15px;
	/*border-radius:5px;*/
    width:100%;
}

#dia-selector-area .box {
	margin:4px 0px 20px 0px;
}


