@charset "utf-8";

@media screen and (orientation: landscape) {

/* Layout 横長（２コラム
------------------------------------------------------------ */
html {
	width : 100%;
	height : 100%;
}
body {
	width : 100%;
	height : 100%;
	color : #666666;
	background-color : #ffffff;
	font-size : 15px;
	letter-spacing : 2px;
	line-height : 30px;
	margin : 0 auto;
	font-family: "メイリオ",sans-serif;
	-webkit-text-size-adjust: 100%;
}
header {
	width : 100%;
	color : #ffffff;
	margin : 0 auto;
	padding : 15px 0 15px 0;
	background-color : #1f3d4e;
	display:-webkit-box;
	display:-moz-box;
	display:-o-box;
	display:-ms-box;
	display:box;
	position: fixed;
	top: 0;
}

header div.button {
	display : none;
}

div#wrap {
	width : 100%;
	min-height : calc(100% - 76px);
	margin-top : 76px;
	display:-webkit-box;
	display:-moz-box;
	display:-o-box;
	display:-ms-box;
	display:box;
}

div#main {
	min-width : 800px;
	height : auto;
	background-color : #ffffff;
	-webkit-box-flex:1;
	-moz-box-flex:1;
	-o-box-flex:1;
	-ms-box-flex:1;
	box-flex:1;
	-webkit-box-ordinal-group:2;
	-moz-box-ordinal-group:2;
	-o-box-ordinal-group:2;
	-ms-box-ordinal-group:2;
	box-ordinal-group:2;
}

div#side {
	width : 200px;
	height : auto;
	background-color : #1f3d4e;
	-webkit-box-flex:0;
	-moz-box-flex:0;
	-o-box-flex:0;
	-ms-box-flex:0;
	box-flex:0;
	-webkit-box-ordinal-group:1;
	-moz-box-ordinal-group:1;
	-o-box-ordinal-group:1;
	-ms-box-ordinal-group:1;
	box-ordinal-group:1;
}

div#side aside {
	top: 76px;
	position: -webkit-sticky; /* Safari */
	position: sticky;
}

footer {
	width : 100%;
	margin : 0 auto;
	padding : 10px;
	text-align : center;
	background-color : #f1f1f1;
}

th.tit {
	top: 76px;
	position: sticky;
}


tr.tit {
	top: 76px;
	position: sticky;
}
}

@media screen and (orientation: portrait) {

/* Layout 縦長
------------------------------------------------------------ */
html {
	width : 100%;
}
body {
	font-size : 12px;
	line-height : 30px;
	letter-spacing : 2px;
	color : #666666;
	background-color : #ffffff;
	width : 100%;
	min-height : 100%;
	height : auto;
	margin : 0 auto;
	font-family: "メイリオ",sans-serif;
/*	-webkit-text-size-adjust: 100%;*/
}
header {
	width : 100%;
	color : #ffffff;
	margin : 0 auto;
	padding : 15px 0 10px 60px;
	background-color : #1f3d4e;
	display:-webkit-box;
	display:-moz-box;
	display:-o-box;
	display:-ms-box;
	display:box;
	position: fixed;
	top: 0;
}

header div.button {
	-webkit-box-flex:0;
	-moz-box-flex:0;
	-o-box-flex:0;
	-ms-box-flex:0;
	box-flex:0;
	-webkit-box-ordinal-group:2;
	-moz-box-ordinal-group:2;
	-o-box-ordinal-group:2;
	-ms-box-ordinal-group:2;
	box-ordinal-group:2;
}

div#wrap {
	width : 100%;
	height : auto;
	margin-top : 76px;
}

div#main {
	width : 100%;
	height : auto;
	background-color : #ffffff;
}

div#side {
	width : 100%;
	display: none;
	height : auto;
	background-color : #1f3d4e;
//	position: absolute;
	z-index: 1; /* スタック文脈を形成 */
	position: fixed;
	text-align : center;
	top: 76px;
	right: 0;
}
footer {
	width : 100%;
	margin : 0 auto;
	padding : 10px;
	text-align : center;
	background-color : #f1f1f1;
}





}

