html{
	height: 100%;
}

select
{
    box-sizing: border-box;
    min-height: 1.7em;
}

body{
	background:#fff;
	height:100%;
	margin:0px;
	min-width: 960px;
	font-family: 
		'メイリオ', 'Meiryo UI', 'Meiryo', 
		'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Osaka-Mono', 
		'ＭＳ ゴシック', sans-serif;
	color: #2b2b2b;
	font-size: 16px;
	text-align: center;
	line-height: 1.5em;
}

a{
	text-decoration: none;
}

a:link { color: #007bbb; }
a:visited { color: #4c6cb3; }
a:hover { color: #ba2636; text-decoration: underline; }
a:active { color: #e2041b; }

.center
{
    text-align: center;
}
.bold
{
    font-weight: bold;
}
.small
{
    font-size: 0.8em;
}

div.notice
{
    box-sizing: border-box;
    background: #fafafa;
    border: 1px solid #f3f3f3;
    padding: 0.5em;
    font-size: 0.9em;
    color: #7d7d7d;
}

.button,a.button
{
    cursor: pointer;
    border:none;
    background:#2780e3;
    color: #fff;
    padding: 0.4em 0.5em;
    font-size: 1em;
    line-height: 1.5em;
	font-family: 
		'メイリオ', 'Meiryo UI', 'Meiryo', 
		'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Osaka-Mono', 
		'ＭＳ ゴシック', sans-serif;
}
.button:hover,a.button:hover
{
    background:#1967be;
    text-decoration: none;
}

input[type=text].number_only,
input[type=text].decimal_only,
input[type=text].datepicker
{
    ime-mode: disabled;
}

.ui-datepicker .ui-datepicker-prev:after, .ui-datepicker .ui-datepicker-next:after
{
	font-family:'FontAwesome';
	font-weight: normal;
    line-height: 1.9em;
}
.ui-datepicker a:hover
{
    text-decoration: none;
}
.ui-datepicker .ui-datepicker-prev:after
{
    content: "\f0a8";
}
.ui-datepicker .ui-datepicker-next:after
{
    content: "\f0a9";
}

p{
	margin: 0.8em 0;
}

h1,h2,h3,h4,h5{
	margin: 0;
	padding: 0;
}
h1{
	font-size: 2.2em;
	line-height: 2.2em;
}

h2{
	margin-top: 0.8em;
	margin-bottom: 0.5em;
	padding-left: 0.25em;
	padding-right: 0.25em;
	font-size: 1.5em;
	line-height: 2em;
	border-top: 3px solid #2780e3;
	border-bottom: 1px solid #dcdddd;
}

h3{
	margin-top: 0.5em;
	margin-bottom: 0.3em;
	font-size: 1.2em;
	line-height: 1.8em;
	padding-left: 0.5em;
	border-left: 3px solid #2780e3;
	border-bottom: 1px solid #dcdddd;
}
h4{
	margin-top: 0.6em;
	margin-bottom: 0.3em;
	padding-left: 0.5em;
	font-size: 1.0em;
	line-height: 1.5em;
	border-bottom: 1px solid #dcdddd;
}
h5{
	font-size: 1em;
	line-height: 1.2em;
}

div#container{
	position: relative;
	min-height: 100%;
}

header{
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: #2780e3;
	box-shadow: 0px 2px 2px rgba(0,0,0,0.2);
	z-index: 3;
	
	color: #fff;
}

header div#title
{
    position: relative;
    width: 960px;
    text-align: left;
    margin: 0 auto;
}

header div#title>div
{
    width: auto;
}

header div>div h1
{
    font-size: 2em;
    line-height: 60px;
    padding-left: 0.25em;
}

header div#title>div.user
{
    position:absolute;
    width: auto;
    right: 30px;
    top:0;
    line-height: 60px;
}

div#menu i{
	display: none;
}

div#menu nav{
	box-sizing: border-box;
	position: absolute;
	overflow: hidden;
	bottom: 0;
	left: 0;
	background: #fff;
	height: 40px;
	width: 100%;
}

div#menu nav ul{
	box-sizing: border-box;
	list-style-type: none;
	width: 960px;
	margin: 0 auto;
	padding: 0;
}

div#menu nav ul li{
	position: relative;
	float: left;
	margin: 0;
	padding: 0;
	text-align: center;
}


div#menu nav ul li.top{
	display: none;
}

div#menu nav ul li.hidden{
	display: none;
}

di#menu nav ul li div
{
    display: inline;
    margin: none;
    padding: none;
}

div#menu nav ul li a{
	box-sizing: border-box;
	display: block;
	margin: 0;
	padding: 0 1em;
	font-size: 16px;
	font-weight: bold;
	line-height: 40px;
	
	color: #2b2b2b;
	text-decoration: none;
}

div#menu nav ul li a:hover
{
    background: #1967be;
    color: #fff;
	text-decoration: none;
}

div#contents{
	box-sizing: border-box;
	margin: 0 auto;
	width: 960px;
	padding: 0.5em;
	padding-top: 100px;
	padding-bottom: 80px;
	text-align: left;
}


footer{
	z-index: 0;
	position: absolute;
	box-sizing: border-box;
	bottom: 0;
	width: 100%;
	background: #2780e3;
	
	color: #fff;
	font-size: 14px;
	padding: 0.5em;
	box-shadow: 0px -1px 2px rgba(0,0,0,0.2);
}
footer div{
	box-sizing: border-box;
	margin: 0;
	padding: 0 0.5em;
}

footer div#nav{
	color: #a3a3a2;
	font-size: 16px;
}

footer div#nav a{
	color: #fff;
	text-decoration: none;
	font-size: 14px;
}

footer div#nav a:link { color: #fff; }
footer div#nav a:visited { color: #fff; }
footer div#nav a:hover { color: #afafb0; }
footer div#nav a:active { color: #c8c2c6; }


div.table
{
    border: 1px solid #dcdddd;
    display:table;
}

div.table div.row
{
    display:table-row;
}

div.table div.row>div
{
    box-sizing: border-box;
    display:table-cell;
    padding: 0.5em;
    border-right: 1px solid #dcdddd;
    border-bottom: 1px solid #dcdddd;
}
div.table div.row>div.header
{
    background: #f3f3f3;
}

div.table div.row:last-child>div
{
    border-bottom: none;
}

div.table div.row>div:last-child
{
    border-right: none;
}

.search
{
    display: inline-block;
}


/*Login用*/
div.login header
{
    height: 60px;
}

div.login div#contents
{
    padding-top: 60px;
}

div#loginwindow
{
    position: relative;
    border: 1px solid #2780e3;
    width: 80%;
    margin: 5em auto;
    text-align:center;
}

div#loginwindow>div
{
    margin: 10px;
    line-height: 2em;
}

div#loginwindow div.table
{
    width: 100%;
}
div#loginwindow div.table div.row>div
{
    text-align: center;
}
div#loginwindow div.table div.row>div:first-child
{
    width: 7em;
}

div#loginwindow input[type=text],
div#loginwindow input[type="password"]
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    line-height: 1.8em;
    width: 100%;
    height: 1.8em;
    ime-mode: disabled;
}

/*List用*/

div.notification_notfound
{
    box-sizing: border-box;
    background: #fafafa;
    border: 1px solid #f3f3f3;
    padding: 0.5em;
    font-size: 0.9em;
    color: #7d7d7d;
}

div.group
{
    box-sizing: border-box;
    width: 100%;
    margin: 1em auto;
    border: 1px solid #dcdddd;
}

div.group>div
{
    box-sizing: border-box;
    width: 100%;
}

div.group>div:first-child
{
    background: #2780e3;
    color: #fff;
    padding-left: 0.5em;
    border-bottom: 1px solid #dcdddd;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 2em;
}

div.group>div.notfound
{
    background: #f3f3f3;
    padding: 0.5em;
    font-size: 0.9em;
    color: #7d7d7d;
}

div.group div.table
{
    border: none;
}

div.group div.table div.row:nth-child(even)
{
    background: #fafafa;
}

div.group div.table div.row>div
{
    position: relative;
    width: 7em;
    text-align:center;
    vertical-align: middle;
}
div.group div.table div.row>div:last-child
{
    width: auto;
    text-align:left;
    word-break: break-all;
    word-wrap: break-word;
}

div.group div.table div.row>div>div.complete
{
    box-sizing: border-box;
    position: absolute;
    opacity: 0.8;
    margin: 0;
    text-align: right;
    font-size: 0.8em;
    right: 0.5em;
    bottom: 0.5em;
    width: auto;
}

div.group div.table div.row>div:last-child span span
{
    display:inline-block;
    word-wrap: break-word;
    margin-right: 2em;
}


div.group div.table div.row>div:last-child span span span
{
    margin-left: 0.25em;
    margin-right: 0;
}
div.group div.table div.row>div:last-child span span span:first-child
{
    margin-left: 0;
}
div.group div.table div.row>div:last-child span span span.head:first-child
{
    font-weight: bold;
}

div.group div.table div.row>div:last-child span span span.head:after
{
    content: ":";
}
div.group div.table div.row>div:last-child span span span.head:empty
{
    display:none;
}

div.group div.table div.row>div div input[type="submit"]
{
    vertical-align: middle;
    padding: 0.3em 0.5em;
}

div.list_numeric div.table div.row>div
{
    width: 12em;
}

/*Edit用*/

div.insert
{
    box-sizing: border-box;
    display: table;
    width: 100%;
    margin-bottom: 3em;
}

div.insert>div
{
    display: table-row;
}

div.insert>div>div
{
    display:table-cell;
    box-sizing: border-box;
    vertical-align: top;
    border: 1px solid #dcdddd;
    border-right: none;
}

div.insert>div>div.selectdate
{
    width: 6em;
    text-align: center;
}

div.insert>div>div.selectcategory
{
    width: 15%;
}

div.insert>div>div.selectterm
{
    width: 5.5em;
    text-align: center;
}

div.insert>div>div div select
{
    box-sizing: border-box;
    width: 100%;
    height: 1.7em;
}


div.insert>div>div:last-child
{
    box-sizing: border-box;
    padding: 0.5em;
    vertical-align: middle;
    width: 2.5em;
    border: none;
    border-left: 1px solid #dcdddd;
}

div.insert>div>div:last-child>a.button
{
    box-sizing: border-box;
    display: block;
    width: 4em;
    text-align:center;
    background: #3eb370;
    font-size: 0.8em;
    line-height: 2em;
}
div.insert>div>div:last-child>a.button:hover
{
    background: #028760;
}

div.insert>div>div.selectdate div,
div.insert>div>div.selectcategory div,
div.insert>div>div.selectterm div,
div.insert>div>div.value div
{
    padding: 0.2em;
}

div.insert>div>div.selectdate div input[type=text]
{
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

div.insert>div>div>div.title
{
    box-sizing: border-box;
    padding: 0;
    font-size: 0.8em;
    background: #f3f3f3;
    text-align: center;
    border-top: 1px solid #dcdddd;
    border-bottom: 1px solid #dcdddd;
    height: 2em;
    overflow: auto;
}
div.insert>div>div>div.title:first-child
{
    border-top: none;
}

div.insert>div>div.repeat
{
    width: 2.5em;
    text-align: center;
}

div.insert>div>div.repeat input
{
    vertical-align: bottom;
}

div.insert>div>div
{
    vertical-align: top;
}

div.insert>div>div.selectcategory div select
{
    width: 100%;
}

div.insert>div>div div.notice
{
    border: none;
    background: transparent;
}

div.insert>div>div div.table
{
    width: 100%;
    border: none;
}

div.insert>div>div div.table div.row
{
    width: 100%;
}

div.insert>div>div div.table div.row>div{
    padding: 0;
}

div.insert>div>div div.table div.row>div div
{
    box-sizing: border-box;
    border-bottom: 1px solid #dcdddd;
    padding: 0.2em;
}

div.insert>div>div div.table div.row>div div:last-child
{
    border-bottom: none;
}

div.insert>div>div div.table div.row>div div.title
{
    box-sizing: border-box;
    padding: 0;
    font-size: 0.8em;
    background: #f3f3f3;
    text-align: center;
    height: 2.0em;
    overflow: auto;
}

div.insert>div>div div.table div.row>div div input[type=text]
{
    box-sizing: border-box;
    width: 100%;
}

div.insert>div>div div>div.table
{
    border-bottom: 1px solid #dcdddd;
}

div.insert>div>div div>div.table:last-child
{
    border-bottom: none;
}

/*
div.insert>div>div div.table div.row>div div:last-child
{
    border-bottom: none;
}

div.insert>div>div div.table div.row>div div div
{
    padding: 0.2em;
}

div.insert>div>div div.table div.row>div div div.title
{
    box-sizing: border-box;
    padding: 0;
    font-size: 0.8em;
    background: #f3f3f3;
    text-align: center;
    height: 2.0em;
    overflow: auto;
}

div.insert>div>div div.table div.row>div div div input[type=text]
{
    box-sizing: border-box;
    width: 100%;
}
*/


div.edit div.group, div.edit div.group>div 
{
    border-color: #595857;
}

div.edit div.group div.table div.row>div
{
    border-bottom-color: #595857;
    width: auto;
    text-align:center;
    vertical-align: top;
    padding: 0;
}

div.edit div.group div.table div.row>div.selectdate
{
    width: 6em;
    text-align: center;
}

div.edit div.group div.table div.row>div.affiliation
{
    width: 6em;
    text-align: center;
}

div.edit div.group div.table div.row>div.affiliation>div:last-child
{
    word-break: break-all;
    word-wrap: break-word;
}

div.edit div.group div.table div.row>div.selectcategory
{
    width: 15%;
}

div.edit div.group div.table div.row>div.edittable
{
    padding: 0;
    background: #dcdddd;
}

div.edit div.group div.table div.row>div.selectterm
{
    width: 5em;
    text-align: center;
}

div.edit div.group div.table div.row>div.repeat
{
    width: 2.5em;
    text-align: center;
}

div.edit div.group div.table div.row>div.buttons
{
    text-align: center;
    vertical-align: middle;
    width: 3.5em;
    padding: 0 0.2em;
}

div.edit div.group div.table div.row>div.buttons .button
{
    box-sizing: border-box;
    width: 100%;
    height: 1.8em;
    line-height: 2em;
    vertical-align: middle;
    display: inline-block;
    text-align: center;
    font-size: 0.85em;
    margin: 0;
    padding: 0;
}

div.edit div.group div.table div.row>div.buttons .button:last-child
{
    margin-top: 0.2em;
}

div.edit div.group div.table div.row>div.buttons .del
{
    background: #e83929;
}
div.edit div.group div.table div.row>div.buttons .del:hover
{
    background: #c9171e;
}

div.edit div.group div.table div.row>div>div
{
    padding: 0.2em;
    text-align: center;
}

div.edit div.group div.table div.row>div.edittable>div
{
    padding: 0;
}

div.edit div.group div.table div.row:nth-child(odd)>div.edittable>div>div
{
    background: #fff;
}

div.edit div.group div.table div.row:nth-child(even)>div.edittable>div>div
{
    background: #fafafa;
}

div.edit div.group div.table div.row>div.selectdate div input[type=text]
{
    box-sizing: border-box;
    width: 6em;
    max-width: 6em;
    text-align: center;
}


div.edit div.group div.table div.row>div span
{
    font-size: 0.8em;
}

div.edit div.group div.table div.row>div>div.title span
{
    font-size: 1em;
}

div.edit div.group div.table div.row>div>div.title
{
    box-sizing: border-box;
    padding: 0;
    font-size: 0.8em;
    background: #f3f3f3;
    text-align: center;
    border-top: 1px solid #dcdddd;
    border-bottom: 1px solid #dcdddd;
    height: 2em;
    overflow: auto;
}

div.edit div.group div.table div.row>div>div.title:first-child
{
    border-top: none;
}

div.edit div.group div.table div.row>div.edittable div.table
{
    width: 100%;
    word-break: break-all;
    word-wrap: break-word;
}

div.edit div.group div.table div.row>div.edittable div.table div.row
{
    width: 100%;
}

div.edit div.group div.table div.row>div.edittable div.table div.row>div{
    padding: 0;
}

div.edit div.group div.table div.row>div.edittable div.table div.row>div div
{
    box-sizing: border-box;
    //border-bottom: 1px solid #dcdddd;
    padding: 0.2em;
}

div.edit div.group div.table div.row>div.edittable div.table div.row>div
{
    border-bottom: 1px solid #dcdddd;
}

div.edit div.group div.table div.row>div.edittable div.table:last-child div.row>div
{
    border-bottom: 0;
}

div.edit div.group div.table div.row>div.edittable div.table:last-child div.row>div div:last-child
{
    border-bottom: none;
}


div.edit div.group div.table div.row>div.edittable div.table div.row>div div.title
{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-size: 0.8em;
    text-align: center;
    overflow: auto;
}

div.edit div.group div.table div.row>div.edittable div.table div.row>div div input[type=text]
{
    box-sizing: border-box;
    width: 100%;
}

/*
div.edit div.group div.table div.row>div.edittable div.table div.row>div
{
    width: 20%;
}

div.edit div.group div.table div.row>div.edittable div.table div.row>div div span
{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: auto;
    //line-height: 2em;
}
*/

/*
div.insert>div>div div>div.table
{
    border-bottom: 1px solid #dcdddd;
}

div.insert>div>div div>div.table:last-child
{
    border-bottom: none;
}
*/

/*Numeric用*/

div.insert>div>div div.table>div.row>div.value
{
    width: 6em;
    text-align: center;
}

div.insert>div>div div.table>div.row>div.value div input[type=text]
{
    box-sizing: border-box;
    width: 4.5em;
    text-align: right;
    margin-right: 0.2em;
}

div.insert>div>div div.table>div.row>div.value div:last-child span
{
    display:inline-block;
    font-size: 0.8em;
    max-width: 2.5em;
    overflow: hidden;
    vertical-align: middle;
    height: 1.6em;
}

div.insert>div>div div.table>div.row>div.key div span
{
    display: inline;
    width:auto;
}

div.insert>div>div div.table>div.row>div.key div:last-child,
div.insert>div>div div.table>div.row>div.notes div:last-child
{
    padding: 0.2em;
}

div.insert>div>div div.table>div.row>div.key div input[type=text],
div.insert>div>div div.table>div.row>div.notes div input[type=text]
{
    box-sizing: border-box;
    width: 100%;
}

div.edit div.group div.table div.row>div.key
{
    text-align: center;
    width: 10em;
}

div.edit div.group div.table div.row>div.values
{
    padding: 0;
    width: 24em;
}

div.edit div.group div.table div.row>div.values>div.table
{
    padding: 0;
    width: 100%;
}


div.edit div.group div.table div.row>div.value
{
    text-align: center;
    width: 8em;
}


/*EditDetails用*/
body.editdetails
{
    min-width: 0;
    box-sizing: border-box;
    height: auto;
}

body.editdetails div#container
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.editdetails div#contents
{
    width: auto;
    margin: 0;
    padding: 0 0.5em 0.5em 0.5em;
    box-sizing: border-box;
}

body.editdetails div.table
{
    box-sizing: border-box;
    width: 100%;
}

body.editdetails div.table>div.row>div input[type=text],
body.editdetails div.table>div.row>div input[type=password]
{
    box-sizing: border-box;
    width: 100%;
}

body.editdetails div.table>div.row>div select
{
    box-sizing: border-box;
    height: 1.7em;
}

body.editdetails .del
{
    background: #e83929;
}
body.editdetails .del:hover
{
    background: #c9171e;
}

/*EditNumeric用*/
body.editdetails div.table>div.row>div.value input[type=text]
{
    max-width: 10em;
    text-align: right;
}

body.editdetails div.table>div.row>div.value span
{
    font-size: 0.8em;
    margin: 0.2em;
}

/*Preview用*/
body.preview
{
    min-width: 0;
    font-size: 13px;
}

div.preview_notfound, div.notification_notfound
{
    margin: 1em 0em;
}

body.preview header,
body.preview footer
{
    height: auto;
}
body.preview header div,
body.preview footer div
{
	margin: 0;
	padding: 0 0.5em;
}
body.preview header div
{
    padding: 0.5em;
}
body.preview header div#title
{
    width: auto;
}
body.preview header div span.name
{
    font-weight: bold;
    font-size: 1.5em;
}
body.preview header div span.name:after
{
    content: " さん";
    font-weight: normal;
}
body.preview header div span.name:empty:after
{
    content: "\00a0";
}
body.preview header div span.date
{
    display: inline-block;
    float: right;
}

body.preview div#contents
{
    width: auto;
    padding: 2.2em 0.5em 0.5em 0.5em;
}

body.preview h1
{
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding-left: 0.25em;
	padding-right: 0.25em;
	font-size: 1.5em;
	line-height: 2em;
	border-top: 3px solid #2780e3;
	border-bottom: 1px solid #dcdddd;
}

body.preview div.group:last-child
{
    margin-bottom: 0;
}

body.preview .button
{
    margin-top: 0.5em;
}

body.preview div.group div.table div.row>div:last-child span span
{
    margin-right: 0;
}

body.preview div.group div.table div.row>div:last-child span span span:after
{
    content: "";
    white-space: pre;
    margin-left: 0;
    margin-right : 1em;
}

body.preview div.group div.table div.row>div:last-child span span:last-child span:after
{
    margin-right : 0;
}

body.preview div.group div.table div.row>div:last-child span span span.head
{
    margin-right : 0;
}

body.preview div.group div.table div.row>div:last-child span span span.head:after
{
    margin-right : 0;
    content: ":";
    white-space: pre;
}


/*マスタ編集用*/
div.insertuser,div.edituser
{
    box-sizing: border-box;
    display: table;
    width:100%;
    margin-bottom: 0.5em;
}

div.insertuser>div,div.edituser>div
{
    display: table-row;
}

div.insertuser>div>div,div.edituser>div>div
{
    display:table-cell;
    box-sizing: border-box;
    vertical-align: top;
    border: 1px solid #dcdddd;
    border-right: none;
}

div.insertuser>div>div.buttons,div.edituser>div>div.buttons
{
    width: 4em;
    text-align:center;
    vertical-align: middle;
    font-size:0.9em;
    padding: 0.25em;
}

div.insertuser>div>div.buttons a.button
{
    box-sizing: border-box;
    display: inline-block;
    padding: 0.25em 0;
    width: 100%;
}
div.insertuser>div>div.buttons a.button
{
    background: #3eb370;
}
div.insertuser>div>div.buttons a.button:hover
{
    background: #028760;
}
div.edituser>div>div.buttons a.button
{
    box-sizing: border-box;
    font-size: 0.95em;
    display: inline-block;
    padding: 0.05em 0.25em;
    width: 100%;
}
div.edituser>div>div.buttons a.del
{
    background: #e83929;
}
div.edituser>div>div.buttons a.del:hover
{
    background: #c9171e;
}


div.insertuser>div>div:last-child,div.edituser>div>div:last-child
{
    border-right: 1px solid #dcdddd;
}

div.insertuser>div>div.id,div.edituser>div>div.id
{
    width:15%;
}

div.insertuser>div>div.company,div.edituser>div>div.company
{
    width:30%;
}

div.insertuser>div>div.check,div.edituser>div>div.check
{
    width:3.5em;
}


div.insertuser>div>div>div,div.edituser>div>div>div
{
    box-sizing: border-box;
    text-align:center;
    padding: 1px 2px 2px 2px;
}

div.insertuser>div>div>div select
{
    box-sizing: border-box;
    width: 100%;
    text-align: left;
}

div.insertuser>div>div>div input,div.edituser>div>div>div input
{
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    margin: 0;
    vertical-align: middle;
    line-height: 1.2em;
}

div.insertuser>div>div>div.title,div.edituser>div>div>div.title
{
    box-sizing: border-box;
    padding: 0;
    font-size: 0.8em;
    background: #f3f3f3;
    text-align: center;
    border-bottom: 1px solid #dcdddd;
    height: 2em;
    overflow: auto;
}

div.insertuser>div>div>div span, div.edituser>div>div>div span
{
    font-size: 0.8em;
}

div.editcategory
{
    box-sizing: border-box;
    margin-bottom: 1em;
}
div.insertcategory input[type=text],
div.editcategory input[type=text]
{
    box-sizing: border-box;
    width: 100%;
}

div.insertcategory div.table,
div.editcategory div.table
{
    width: 100%;
}
div.insertcategory div.table>div.row>div,
div.editcategory div.table>div.row>div
{
    vertical-align: middle;
}
div.insertcategory div.table>div.row>div.header,
div.editcategory div.table>div.row>div.header
{
    width: 7em;
}
div.insertcategory div.table>div.row>div.warningterm input[type=text],
div.editcategory div.table>div.row>div.warningterm input[type=text]
{
    width: auto;
    max-width: 4em;
}
div.insertcategory div.table>div.row>div.warningterm input[type=text].number_only,
div.editcategory div.table>div.row>div.warningterm input[type=text].number_only
{
    text-align: right;
}

div.insertcategory div.table div.table,
div.editcategory div.table div.table
{
    border: none;
}

div.insertcategory div.buttons,
div.editcategory div.buttons
{
    box-sizing: border-box;
    padding: 0.5em;
    width: 100%;
    text-align: center;
}

div.insertcategory div.buttons a.button,
div.editcategory div.buttons a.button
{
    box-sizing: border-box;
    width: 3em;
    display: inline-block;
    text-align: center;
    font-size: 1em;
}

div.insertcategory div.buttons a.button
{
    display: block;
    width: 3em;
    background: #3eb370;
    margin: auto;
}
div.insertcategory div.buttons a.button:hover
{
    background: #028760;
}

div.editcategory div.buttons a.del
{
    background: #e83929;
}
div.editcategory div.buttons a.del:hover
{
    background: #c9171e;
}


@media screen and (max-width: 960px) {
body{
	min-width: 0;
}

header{
	position: fixed;
	height: 60px;
	z-index: 1;
}

header div#title
{
    position: absolute;
    width: auto;
}

body.preview header div#title
{
    position: relative;
}


header div#title div h1
{
    font-size: 1.8em;
    padding-left: 0.25em;
}

header div#title>div.user
{
    display: none;
}


div#menu{
	background: transparent;
	position: absolute;
	overflow: visible;
	top: 0;
	right: 0;
	height: 60px;
	width: auto;
}

div#menu i{
	float: right;
	box-sizing: border-box;
	cursor: pointer;
	display: block;
	padding: 4px 0 3px 0;
	width: 40px;
	background: #fff;
	border-radius: 6px;
	margin: 10px;
	
	color: #1967be;
	text-align:center;
}

div#menu i:active{
	background: #1967be;
	color: #fff;
}

div#menu nav{
	background: rgba( 0, 0, 0, 0.66 );
   	position: fixed;
	top: 60px;
	overflow: visible;
	min-height: 100%;
	display: none;
}

div#menu nav ul{
	cursor: auto;
	display: none;
	position: absolute;
	list-style: none;
	width: 100%;
	left: 0;
	margin:0;
	padding: 0;
}

div#menu nav ul li{
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: left;
	border: 1px solid #2b2b2b;
	border-bottom: none;
}

div#menu nav ul li.top{
	display: block;
}

div#menu nav ul li:last-child{
	border-bottom: 1px solid #2b2b2b;
}

div#menu nav ul li.hidden
{
    display:block;
}

div#menu nav ul li a{
	display: block;
	position: relative;
	padding: 0px 10px 0px 24px;
	background: #fff;
	text-decoration: none;
	color: #2b2b2b;
	height: 40px;
	line-height: 40px;
	font-weight: bold;
	transition-property: none;
}

div#menu nav ul li a:before{
	position: absolute;
	content: "";
	left: 10px;
	top: 16px;
	width: auto;
	height: auto;
	background: transparent;
	border: 8px solid transparent;
	border-top-width: 4px;
	border-bottom-width: 4px;
	border-left-color: #2b2b2b;
}

div#menu nav ul li a:hover{
	background: #1967be;
	color: #fff;
	margin: 0;
}

div#menu nav ul li a:hover:before{
	border-left-color: #fff;
	margin: 0;
}

div#contents{
	width: auto;
	padding-top: 60px;
	padding-bottom: 2.5em;
}

body.preview div#contents
{
	padding-bottom: 1em;
}

footer{
	height: auto;
}

/*
footer div{
	float: right;
}
*/

div.group div.table div.row>div
{
    width: auto;
}

div.group div.table div.row>div:last-child
{
    width: auto;
    min-width: 2.2em;
}


div.list_numeric div.table div.row>div
{
    max-width: 12em;
}

div.list_numeric div.table div.row>div:last-child
{
    max-width: initial;
}

/*Edit用*/
div.insert>div>div
{
    width: auto;
    min-width: 3em;
}

div.insert>div>div.selectdate
{
    width: 10%;
    max-width: 6em;
}

div.insert>div>div.selectdate div input[type=text]
{
    width: 100%;
    max-width: 6em;
}

div.insert>div>div.selectterm
{
    width: 10%;
    max-width: 5.5em;
}

div.insert>div>div div>div.table
{
    display: block;
    border: none;
}
div.insert>div>div div>div.table div.row
{
    display: block;
    border: none;
}
div.insert>div>div div>div.table div.row>div
{
    display: block;
    border: none;
    border-bottom: 1px solid #dcdddd;
}
div.insert>div>div div>div.table:last-child div.row>div
{
    border: none;
}

div.group div.table div.row>div.buttons
{
    width: 4em;
}
div.group div.table div.row>div.buttons .button
{
    width: 4em;
    box-sizing: border-box;
    display: block;
    margin: 0.1em auto;
}

div.edit div.group div.table div.row>div.edittable div.table
{
    display:block;
    word-break: break-all;
    word-wrap: break-word;
}
div.edit div.group div.table div.row>div.edittable div.table div.row
{
    display:block;
}

div.edit div.group div.table div.row>div.edittable div.table div.row>div
{
    display: block;
    border-right: none;
    overflow: auto;
}

div.edit div.group div.table div.row>div.edittable div.table:last-child div.row>div
{
    border-bottom: 1px solid #dcdddd;
}

div.edit div.group div.table div.row>div.edittable div.table:last-child div.row:last-child>div:last-child
{
    border-bottom: none;
}


div.edit div.group div.table div.row>div.values
{
    padding: 0;
    width: auto;
}

div.edit div.group div.table div.row>div.values>div.table
{
    padding: 0;
    width: 100%;
}

div.edit div.group div.table div.row>div.values>div.table>div.row
{
    display:block;
}

div.edit div.group div.table div.row>div.values>div.table>div.row>div
{
    display:block;
    border-right: none;
    border-bottom: 1px solid #dcdddd;
}
div.edit div.group div.table div.row>div.values>div.table>div.row>div:last-child
{
    border-bottom: none;
}

div.edit div.group div.table div.row>div.value
{
    text-align: center;
    vertical-align: middle;
    width: auto;
}

}


@media screen and (max-width: 480px) {
body{
	min-width: 320px;
	font-size: 0.9em;
}

div#menu i{
	width: 36px;
	border-radius: 5.5px;
	margin: 12px 10px;
}

}