* {
	box-sizing: border-box;
	font-family: Meiryo, メイリオ, sans-serif;
}
.clearfix:after {
    content:" ";
    display:block;
    clear:both;
}
body {
	width: 100%;
	padding-left:10px;
	padding-right:10px;
	margin: 0;
	margin-bottom: 10px;
	height: 100vh;
	min-height: calc(100vh);
	max-height: 100vh;
	overflow: hidden;
	/*display: flex;*/
	/*flex-direction: column;*/
	/*flex-wrap: wrap;*/
}
#fixhead {
	background: #FFF;
	width: 100%;
	height: auto;
	border-top: 3px solid #fa0046;
	border-bottom: 1px solid #e1e1e1;
	overflow: hidden;
}
#headtop h1 img {
	height: auto;
	width: 100%;
	max-width: 500px;
}
#testmsg {
	margin: 0;
	font-weight: bold;
	color: red;
}
#fixhead h1, #fixhead h2 {
	float: left;
	vertical-align: text-bottom;
	margin-top: 10px;
	margin-bottom: 10px;
	line-height: 48px;
	margin-right: 20px;
}
#fixhead #memoarea {
	float: left;
	vertical-align: text-bottom;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 48px;
	margin-right: 20px;
}
#fixhead #loginmsg {
	float: left;
	vertical-align: text-bottom;
	margin-top: 0;
	margin-bottom: 0;
	line-height: 48px;
	margin-right: 20px;
}
#fixhead #loginmsg a {
	background-color: #39bfed;
	color: white;
	text-decoration: none;
	padding: 3px;
	font-size: 13px;
}
#tabhead {
	clear: both;
}
/* 表示領域全体 */
div.tabbox {
	clear: both;
   margin: 0px;
	/*margin-bottom: 100px;*/
   padding: 0px;
   width: 100%;
	/*margin-top: 132px;*/
	height: calc(100vh - 142px);
}
#map {
	height: calc(100vh - 182px);
}

/* タブ部分 */
p.tabs { margin: 0px; padding: 0px; }
p.tabs a {
	display: block;
	width: 6em;
	float: left;
	margin: 0px 1px 0px 0px;
	padding: 3px;
	text-align: center;
	text-decoration: none;
	border-radius: 12px 12px 0px 0px; /* 角を丸くする */
	border-style: solid;
	border-color: #212121;
	border-width: 2px;
	border-bottom-style: none;
	color: white;
}
p.tabs a#tabh1 { background-color: #39bfed;}
p.tabs a#tabh2 { background-color: #388e3c;}
p.tabs a#tabh3 { background-color: #4caf50;}
p.tabs a#tabh4 { background-color: #1976d2;}
p.tabs a#tabh6 { background-color: #DAA520;}
p.tabs a#tabh5 { background-color: #536def;}
p.tabs a.activetab {
	border-color: red;
	color: #212121;
	background-color: #ffffff !important;
}
/* タブ中身のボックス */
div.tab {
	height: 100%;
	overflow: auto;
	clear: left;
	border: 2px solid 39bfed;
	background-color: #39bfed;
}

div.tab p { margin: 0.5em; }
/* カナボタン */
#kanabutton, #kanabutton2 {
	margin: 8px;
}
/* テーブル */
table {
	/*border-collapse: collapse;*/
	text-align: left;
	line-height: 1.5;
	margin: 5px;
}
tr:hover {
	background-color: #1976d2;
}
td {
	padding-right: 5px;
}
.mapido_td, .mapins_td, .togmap {
	background-color: #536def;
	border-width: 10px;
	text-decoration: none;
	color: white;
	border:solid 1px blue;
	border-radius: 3px;	
}
.mapido_td span:hover, .mapins_td span:hover, .togmap:hover {
	cursor: pointer;
}
/* 地図 */
#singlemap,
#route {
	width: 100%;
	height: calc(100vh - 63px - 16px - 50px);
	/*padding: 5px;*/
}
#routemap {
	height: 100%;
}
#route #topspace {
	margin:5px;
}
#route table {
	width: 100%
}
#route .listrow {
	margin: 5px;
	padding: 10px;
	border-style: solid;
	border-width: 2px;
	border-color: black;
	width: 90%;
	background-color: white;
}
#route tr.listrow {
	display: block;
}
#route tr.listrow .number {
	width: 20px;
}
#route tr.listrow td {
	width: auto;
}
#route #sortable tr:hover {
	cursor: move;
}
/* 
	ダイアログボックスの背景
*/
.ui-dialog {
	border-style: solid;
	border-color: #FFF;
	border-width; 3px;
	background-color: #AAEEDD;
	padding: 10px;
}
/*
    ダイアログボックスのタイトル色
*/
.ui-dialog-titlebar {
    background:white;
	text-align: center;
}
.ui-dialog-title {
	font-weight: bold;
}
/*
    ダイアログボックスのボタンパネル色
*/
.ui-dialog-buttonpane{
    background:#AAEEDD;
}
/* input */
.ui-dialog input[type="text"] {
	width: 400px;
}
.ui-front {
    /*background:white;*/
}
/***************************************
*  IME制御
***************************************/
.imeOn{
   ime-mode: active ;
}
.imeOff{
   ime-mode: inactive ;
}
/***************************
* ログイン画面
***************************/
.loginbody {
	margin-left: 10px;
}
#loginform h2 {
	font-size: 18px;
}
#loginform ul {
	padding-left: 0;
}
#loginform ul li {
	list-style-type: none;
	font-size: 16px;
	color: red;
}


