@charset "utf-8";

body,input,select,textarea,p,pre,h1,h2,h3,h4,h5,h6 {
	font-family:'Lucida Grande','Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}
pre {
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow: auto;
	margin:0 1em;
	font-size:small;
	line-height:1.5;
}
label{
	display:inline-block;
}

.require{
	color:#ff0000;
}
.error{
	color:#ff0000;
}
noscript{
	display:block;
	color:#fff;
}
.on-load-hide, input[type="file"].on-load-hide{
	display:none;
}
.inline{
	display:inline-block;
	width:auto;
}


#mainmenu em{
	float:right;
	margin:0 1em 0 0;
	padding:9px 0 0;
}
#site_contents{
	position:relative;
	margin:40px auto 0;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    /*　スマホだとメニューにより見切れてしまうための対応　bootstrapで言うところのmdサイズの範囲　*/
    #site_contents{
            position:relative;
            margin:180px auto 0;
    }
}

#page_contents{
}


#site_footer{
	margin:0 0 0 0;
	padding:1em 0 4px 0;
	text-align:center;
	background-color:#2C2C2C;
	color:#fcf7f9;
}
#site_footer ul{
	list-style-type:none;
	list-style-position:outside;
	margin:0;
	padding:0;
}
#site_footer ul li{
	display:inline;
	margin:0 5px;
	padding:0;
}
#site_footer li a{
	color:#ffffff;
}
#copyright{
	color:#c0c0c0;
}

div.item_errors{
	margin:0 20px 10px 20px;
	padding:4px;
	text-indent:62px;
	border-bottom:1px dotted #790320;
}
div.item_errors > div{
	width:45px;
	height:41px;
	margin:20px 0 0;
}
div.item_errors > ul{
	list-style-position:inside;
	margin:-38px 0 0;
	padding:0;
	min-height:47px;
}
input.free_text, textarea.free_text{
	ime-mode:active;
}
input.ascii_text, textarea.ascii_text{
	ime-mode:inactive;
}
td.number, td.currency, td.count{
	text-align:right;
}
table.dropdown-menu{
	max-width:none;
}
table.dropdown-menu td, table.dropdown-menu th{
	white-space:nowrap;
}
.file_upload_area input[type=file]{
	display:none;
}
.file_upload_area a.btn{
	height:20px;
}

#loading{
	display:none;
}
#loading div{
	position:fixed;
	top:0;
	left:0;
	height:100%;
	width:100%;
	background:black;
	opacity: 0.60;
	filter:alpha(opacity=60);
	z-index:80000;
}
#loading p{
	position: fixed;
	top:50%;
	left:50%;
	background:transparent url("images/loading.gif") center center no-repeat;
	width:128px;
	height:128px;
	margin:-64px 0 0 -64px;
	z-index:80001;
}

body[data-env="staging"] #mainmenu .navbar-brand:after{
	content:"(STG)";
	display:inline-block;
	color:#f00;
}
