html,body { height: 100%; }

body {
    background: none repeat scroll 0 0 #FFFFFF;
    color: #333333;
    font-family: 'Lato',Calibri,Arial,sans-serif;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
	margin:0 auto;
	width:90%;
}

audio,
canvas,
video {
    display: inline-block;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/*ログインボタン*/

.submit input
{
	font-weight:normal;
	background: #dcdcdc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));
	background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -moz-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -ms-linear-gradient(top, #ffffff, #eeeeee);
	background-image: -o-linear-gradient(top, #ffffff, #eeeeee);
	background-image: linear-gradient(top, #ffffff, #eeeeee);
	color:#333;
	border:1px solid #bbb;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	text-shadow: #fff 0px 1px 0px;
	min-width: 0;
	-webkit-user-select: none;
	user-select: none;
	width:70%;
	cursor:pointer;
	height:40px;
	box-shadow:1px 1px 1px #FFFFFF;
}

.submit input
{
	/*IE6 IE7 */
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#ffffff, endcolorstr=#eeeeee);
	/* IE8 */
	-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#ffffff, endcolorstr=#eeeeee)";
	zoom: 1;
}


.submit input:hover
{
	background: #ededed;
	border-color: #acacac;
	text-decoration: none;
}
.submit input:hover
{
	font-weight:bold;
}

.submit input:hover
{
	/*IE6 IE7 */
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#eeeeee, endcolorstr=#fefefe);
	/* IE8 */
	-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#eeeeee, endcolorstr=#fefefe)";
	zoom: 1;
}


.submit input:active
{
	background: #eee;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#eee));
	background-image: -webkit-linear-gradient(top, #dfdfdf, #eee);
	background-image: -moz-linear-gradient(top, #dfdfdf, #eee);
	background-image: -ms-linear-gradient(top, #dfdfdf, #eee);
	background-image: -o-linear-gradient(top, #dfdfdf, #eee);
	background-image: linear-gradient(top, #dfdfdf, #eee);
	text-shadow: #eee 0px 1px 0px;
	-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
	border-color: #aaa;
	text-decoration: none;
}

.submit input:active
{
	/*IE6 IE7 */
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#dfdfdf, endcolorstr=#eee);
	/* IE8 */
	-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#eeeeee, endcolorstr=#fefefe)";
	zoom: 1;
}



/*中身*/

header, footer, #menu, #footerup ul {
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Helvetica,Arial,sans-serif;
    line-height: 1.4;
}


#container{
    position: relative;
    width: 100%;
	height:auto !important;
	min-height:100%;
	margin-bottom:-50px;
}

#content{
	padding-top:50px;
	min-height:250px;
}

#headertop {
    background-image: url("../../img/topunderbar.gif");
    background-position: center top;
    background-repeat: repeat-x;
    box-shadow: 0 2px 5px 0 #CCCCCC;
    color: #FFFFFF;
    font-size: 85%;
    height: 51px;
    padding-top: 15px;
    width: 100%;
}

#headerwrapper {
    margin: 0 auto;
    position: relative;
}

#headertoptext {
    left: 0;
    margin-left: 325px;
    position: absolute;
    top: 0;
}

#container >  header, footer, #topcontent1, #topcontent2, #topcontent3, #topcontent4, #topcontent5, #topcontent6, #topcontent7, #btn2, #headerwrapper, #footerup, #copy, .dialog{
    margin: 0 auto;
    max-width: 980px;
    padding: 10px;
    position: relative;
    width: 90%;
}


#container > header h1 {
    color: #333333;
    float: left;
    font-size: 34px;
    font-weight: 700;
    line-height: 38px;
    margin: 0;
}
h1 {
    display: block;
    left: 10px;
    margin: 0;
    position: absolute;
    top: -51px;
    width: 295px;
}
h1 img {
    width: 100%;
	border:none;
}

h2 {
    font-size: 200%;
    font-weight: bold;
    margin: 0 0 0 310px;
    text-align: left;
}

#toptex {
    color: #999999;
    font-size: 85%;
    font-weight: bold;
    letter-spacing: 1px;
    margin-left: 310px;
    padding-left: 5px;
    text-align: left;
}



/*ログイン*/

.login{
	margin:0 auto;
	border-radius:5px;
	width:50%;
    background-image: url("../../img/default/bodyBg.jpg");
    background-position: center top;
    background-repeat: repeat;
    box-shadow: 0 0 5px 2px #ccc;
	padding:20px;
	max-width:960px;
}
.login table{
	margin:0 auto;
	width:80%;
	max-width:500px;
}
.login table th, .login table td{
	padding:5px 0;
}
.login table th {
    font-weight: bold;
    text-shadow: 1px 1px #FFFFFF;
}
.login table td span{
	display:none;
}
#LoginLoginId, #LoginLoginHash{
	width:70%;
	padding:3px;
}

#flashMessage{
	text-align:center;
	padding:10px 0;
}


small {
    background-image: url("../../img/topunderbar.gif");
    background-position: center top;
    background-repeat: repeat-x;
    box-shadow: 0 0 5px 2px #666666;
    clear: both;
    color: #FFFFFF;
    display: block;
    font-size: 80%;
    height: 51px;
    padding-top: 10px;
    width: 100%;
}

.emergency{
	color:#F00;
}

#come{
	min-height:40px;
}


/*ブラウザ*/

#browser{
	margin:0 auto;
	margin-top:50px;
	padding-bottom:60px;
	width:50%;
	max-width:960px;
	text-align:center;
}


#browser_title{
	height:30px;
	line-height:30px;
	width:100%;
	color:#FFFFFF;
    background-image: url("../../img/topunderbar.gif");
    background-position: center top;
    background-repeat: repeat-x;
    box-shadow: 0 0 5px 2px #ccc;
}

#browser_image img{
	border:none;
	width:60%;
	max-width:80px;
}

#browser_info{
	display:block;
	font-size:110%;
	font-weight:bold;
	padding:25px 0;
}

#browser_image ul{
	overflow:hidden;
	max-width:620px;
	margin:0 auto;
}

#browser_image ul li{
	list-style:none;
	float:left;
	width:20%;
}

/* Media Queries */

@media screen and (max-width: 910px){

	h1{
		width:236px;
	}
	
	h2{
		margin-left:240px;
		font-size:150%;
	}

	
	#toptex{
	margin-left:240px;
	font-size:70%;
	}
	
	#headertoptext{
		margin-left:250px;
	}
	
	#content{
		padding-top:30px;
		min-height:250px;
	}
	
	#LoginLoginId, #LoginLoginHash{
		width:90%;
		padding:3px;
	}
	
	.submit input{
		width:90%;
	}
	
	#browser_text{
		font-size:80%;
	}
}

@media screen and (max-width: 740px){
	
	#headertop{
		height:30px;
	}
	
	h1{
		width:221px;
		top:0px;
	}
	
	
	h2{
		height:90px;
		margin-left:240px;
		font-size:150%;
	}
	
	#headertoptext{
		margin-left:20px;
		width:60%;
		top:-8px;
	}
	#toptex{
		display:none;
	}
	
	.login table th {
		display:none;
	}
		
	.login table td span{
		display:block;
		font-weight: bold;
		text-shadow: 1px 1px #FFFFFF;
	}	
	
	#LoginLoginId, #LoginLoginHash{
		width:100%;
		padding:3px;
	}
	
	.submit input{
		width:100%;
	}
	
	#browser_image img{
		min-width:100%;
	}
}

@media screen and (max-width: 490px){ 

	#content{
		margin-top:0px;
		padding-top:10px;
	}

	.login{
		width:80%;
	}

	#headertoptext{
		width:100%;
		margin:0;
		text-align:center;
		font-size:10px;
	}
	
	h1 {
		width:50%;
		left:25%;
	}

	
	h2{
		margin-top:100px;
		margin-left:0px;
		font-size:120%;
		text-align:center;
		height:30px;
	}


	
	#copy{
	padding-left:30px;
	padding-bottom:0;
	padding-top:3px;
	}
	
	
	#browser{
		width:80%;
	}

}
