/* CSS Document */
*{margin:0px;padding:0px}
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

.clearfix {
	float: none;
	clear: both;
}
html {
	overflow-y: scroll;
}
html, body {
	font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", sans-serif;
	font-size: 1em;
	color: #333;
}

.wrapper {
	width: 800px;
	height: auto;
	margin: 0 auto;
	padding: 0;
	border-left: 1px solid #0CF;
	border-right: 1px solid #0CF;
	border-bottom: 1px solid #0CF;
}

header {
	overflow: hidden;
	margin: 0 auto;
	text-align: center;
}

.header-img {
	display: inline;
	float: left;
}

.login-box {
	width: 270px;
	float: right;
	padding-top: 0.3em;
	line-height: 1.2em;
}

.login-box input, .login-box span {
	margin-bottom: 0.5em;
}

.content {
	clear: both;
	float: none;
}

footer img.pc { display: block; }
footer img.sp { display: none; }
footer {
	margin-top: 3em;
	padding: 0;
	border: 1px solid #4B6B00;
	background-color: #4B6B00;
}

@media screen and (max-width:800px){
.wrapper {
	width: 100%;
	overflow-x: hidden;
	height: auto;
	border: none;
}
.header-img {
	height: auto;
	clear: both;
	float: none;
	text-align: left;
}
.header-img img {
	width: 100%;
	height: auto;
}
.login-box {
	clear: both;
	float: none;
	margin: 0 auto;
	text-align: center;
}
footer img.pc { display: none; }
footer img.sp {
	display: block;
	max-width: 500px;
	width: 100%;
	height: auto;
	margin: 0 auto;
}
footer {
	width: 100%;
	height: auto;
}
}