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

.ads {
    height: 60px;
    position: fixed;
    bottom: 0;
    z-index: 999;
    left: 0;
    text-align: center;
    right: 0;
    margin:auto;
    background: #fff;
    border-top: 3px solid #333;


}

.message {
    position: fixed;
    bottom: 62px;
    z-index:999;
    /*text-align:center;*/
    left:0;
    right:0;
    background:#fff;
    border-top:2px solid #999;
	padding:5px 15px;
}
.message a{
	/*text-decoration:none;*/
}

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:43px;
	width:100%;
	background:#efefef;
	/*background:linear-gradient( #efefef, #fefefe);*/
	position:fixed;
	/*position:relative;*/
	z-index:10;
	border-bottom: 2px solid #9c9c9c;
	box-shadow:rgba(92, 92, 92, 0.5) 0px 0px 15px 0px;
	
	

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

}


/* 時刻表示 */
#header .hour{
	padding-left:80px; /* //// */
	width:7000px;
	position:absolute;
	margin:auto 0;
	bottom:0px;
	
	
	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:45px; /* //// */
	top:0px; /* //// */
	bottom:52px;
	left:0px;
	/*position:relative;*/
	position:fixed;
	z-index:2;
	padding: 0px;
	/*float:left;*/
	height:100%;
	overflow:hidden;
	border-right:2px solid #9c9c9c;
	
}
#sidebar ul{ 
	/*margin-top:35px;*/
	/*margin-bottom:200px;*/
	position:absolute;
		will-change:top;
}
#sidebar ul li{
	position:relative;
}
.station_name{
	font-size:10pt;

	position:absolute;
	height:100%;
	
	
}
#sidebar img{
	position:static;	
}
.station_name > div{
	line-height:20px;
	position:relative;
}

#main {

	margin-top:45px; /* //// */
	margin-left:82px; /* 駅名幅+2　//// */
	/*margin-right:0px;*/
	z-index:1;
	/*padding: 0px;*/
	overflow:scroll;
	position:fixed;
	/*height:100%;*/
	left:0px;
	right:0px;
	top:0px;
	bottom:52px;
	-webkit-overflow-scrolling: touch;
	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:3px;
/*	height:1500px;*/
	position:absolute;
	
/*	border-style:solid;
	border-color:#f0f0f0;
	border-left-width:3px;
	border-right-width:3px;
*/
	z-index:11;
	opacity:0.5;
	box-shadow:rgba(92, 92, 92, 0.25) 0px 0px 10px 2px;
}
#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: 20;
    position: fixed;
    top: 5px;
    right: 5px;
    /*left: 50%;*/
    /*margin: 5px auto;*/
    font-size: small;
    font-weight: 700;
    font-style: italic;
}


#menu_button {
	/* text-align:right; */
	top: 50px;
	right: 0px;
	padding: 10px 0;
	position: fixed;
	/* border-top: solid 1px #777; */
	border-left: solid 1px #777;
	/* border-right: solid 1px #777; */
	user-select:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-khtml-user-select:none;
	border-radius: 10px 0 0 10px;
	background: #1e4878;
	color: #fff;
	z-index: 999;
	transition-duration: .8s;
	/* transform: rotate(-90deg); */
	-khtml-user-drag:none;
	/* box-shadow:rgba(92, 92, 92, 0.5) 0px 0px 15px 0px; */
}

.menu p a {
    font-size: medium;
    transform: rotate(-90deg);
    text-decoration: none;
    display: block;
}


#menu_button.show {
	/* width:220px; */
	/* height:100%; */
	right: 220px;
	transition-duration: .8s;
}



#menu_button h1{
	font-size:18pt;
	font-style:italic;
	font-weight:bold;
	padding:15px;
	display:block;
	margin:0 auto;
	cursor: pointer;
}

#menu_button p{
	font-size: 15pt;
	font-style:italic;
	font-weight:bold;
	/* padding:15px; */
	display:block;
	/* margin:0 auto; */
	cursor: pointer;
	transform: rotate(-90deg);
}

#diagram_index h4{
	font-size:10.5pt;
	font-weight:bold;
	display:block;
	padding-left:10px;
	margin:0 auto;
	background:white;
	line-height:3em;
}


.menu_area {
    display: block;
    width: 260px;
    position: absolute;
    z-index: 990;
    top: 0;
    right: -220px;
    right: 0px !important;
    bottom: 50px;
}


#diagram_index{
	/* display:none; */
	width: 220px;
	padding:0px 15px;
	top: 0px;
	z-index: 991;
	right: -220px;
	bottom:60px;
	position: absolute;
	/* right:0px; */
	background-color: #f3f3f3;
	opacity:0.95;
	transition-duration: .8s;
	overflow:auto;
	border-left: solid 1px #777;
	box-sizing: border-box;
	
	/* border-bottom: solid 1px #777; */
	/* border-radius:12px 0px 0px 12px; */
	-webkit-overflow-scrolling: touch;
}
#diagram_index.show {
    transition-duration: .8s;
    right: 0px;
    box-shadow: 0 0 30px #7c7c7cd6;
}

#info{
	font-size:9pt;
}
#info .date{
	font-weight:bold;
	list-style:none;

}
#info li{
	padding:4px 0px;
	list-style:inside;
}

/* メニュー 時刻スクロール */
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: 30%;
    float:left;
    text-align: center;
		background: linear-gradient(#efeded, #f9f9f9);
	border:1px #777 solid;
}
div#bg_timeline div {
    height: 30px;
    width: 40%;
    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%;
}

/*プリセットボタン*/
div#preset_selector{
    background-color: #fff;
    margin-bottom: 6px;
    padding: 6px;
}
div#preset_selector button{
	width:100%;
	padding:10px 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;
}

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;
}


