body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 0px;
	padding: 0px;
	background-color: #FFF;
}

form {
	max-width: 500px;
	margin: 30px auto;
}

input, textarea {
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing:: border-box;
	-moz-box-sizing: border-box;
	border: solid 1px #aaaaaa;
	border-radius: 0;
	-webkit-appearance: none;
}

textarea {height: 110px}

input[type="submit"] {
	width: 200px;
	background-color: #cef178;
}

input:required, input:invalid {
	background-image: url(../img/caution.png);
	background-repeat: no-repeat;
	background-position: right center;
}

input:valid {
	background-image: none;
}

input:focus {
	outline: solid 3px rgba(159,256,16,0.5);
}

label span {color: #ff0000}

@media only screen and (min-width:900px){

#container {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	overflow: hidden;
}
header#pageheader {
	background-image: none;
	padding-top: 20px;
	padding-bottom: 10px;
}
header#pageheader h1 {
	font-size: 40px;
	font-weight: normal;
	margin: 0px;
	float: left;
	font-family: 'Frijole', cursive;
}
header#pageheader h1 a {
	text-decoration: none;
	color: #000;
	font-family: 'Frijole', cursive;
}
header#pageheader h2 {
	font-size: 14px;
	font-weight: normal;
	color: #666;
	text-align: right;
	margin: 0px;
	padding-top: 20px;
}
nav {
	clear: both;
}

nav ul {
	font-size: 18px;
	width: 900px;
	float: left;
	margin-top: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	padding-left: 0px;
	border-radius: 5px;
	background: -webkit-gradient(linear, left top, left bottom, from(#777777), color-stop(50%, #444444), color-stop(50%, #333333), to(#555555));
	background: -webkit-linear-gradient(#777777 0%, #444444 50%, #333333 51%, #555555 100%);
	background: -moz-linear-gradient(#777777 0%, #444444 50%, #333333 51%, #555555 100%);
	background: -o-linear-gradient(#777777 0%, #444444 50%, #333333 51%, #555555 100%);
	background: -ms-linear-gradient(#777777 0%, #444444 50%, #333333 51%, #555555 100%);
}
nav ul li {
	float: left;
	list-style-type: none;
	width: 225px;
	line-height: 30px;
	text-align: center;
}
nav ul li a {
	display: block;
	font-family: 'Black Ops One', cursive;
	color: #FFF;
	text-decoration: none;
}
nav ul li:first-of-type a:hover {
	border-radius: 5px 0 0 5px;
}
nav ul li:nth-of-type(4) a:hover {
	border-radius: 0 5px 5px 0;
}
nav ul li a:hover {
	background-color: rgba(1,122,205,0.3);
	font-family: 'Black Ops One', cursive;
	text-decoration: none;
	color: #CCC;
}
article {
	clear: both;
	width: auto;
	margin-right: auto;
	margin-left: auto;
}
article header {
	margin: 20px 0 10px;
	padding: 18px;
	border: 1px solid #aaaaaa;
	border-radius: 5px;
	-webkit-box-shadow: 0px 2px 3px #cccccc;
	box-shadow: 0px 2px 3px #cccccc;
}
article header h1 {
	font-size: 28px;
	line-height: 45px;
	font-weight: normal;
	color: #000;
	background-image: none;
	margin: 0px;
	padding-left: 0px;
	float: left;
	font-family: 'Black Ops One', cursive;
}
article header p {
	font-size: 16px;
	color: #444;
	margin-left: 370px;
}

article section {
	clear: both;
}
article p {
	margin-top: 10px;
	margin-right: 0px;
	margin-left: 0px;
}

#company {
	clear: both;
	width: auto;
	margin-right: auto;
	margin-left: auto;
}
#company section {
	margin: 10px;
	padding: 10px;
	clear: both;
	line-height: 30px;
	height: 30px;
	border-bottom-width: thin;
	border-bottom-style: dotted;
	border-bottom-color: #999;
}
#company section h1 {
	font-size: 16px;
	font-weight: normal;
	color: #000;
	background-image: none;
	margin: 0px;
	padding-left: 0px;
	float: left;
}
#company section p {
	font-size: 16px;
	color: #444;
	margin-left: 150px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-left: 0px;
}

#contact {
	width: auto;
	margin-right: auto;
	margin-left: auto;
}
#contact section {
	line-height: 30px;
}
#contact section h1 {
	font-size: 16px;
	font-weight: normal;
	color: #000;
	background-image: none;
	margin: 0px;
	padding-left: 0px;
}
#contact section p {
	font-size: 16px;
	color: #444;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	padding-left: 0px;
	margin-left: 0px;
}

}

@media only screen and (min-width: 600px) and (max-width:899px) {
	
}

@media only screen and (max-width: 599px) {
	
}

footer {
	color: #888888;
	margin-top: 25px;
	padding-top: 8px;
	padding-bottom: 8px;
	clear: both;
	border-top: solid 1px #aaaaaa;
}
small {
	font-size: 12px;
	font-style: normal;
	text-align: left;
	display: block;
}
small::before {
	content: 'SStyle';
	display: block;
	width: 200px;
	padding: 10px, 0;
	background-color: #880000;
	color: #ffffff;
	font-family: 'Frijole', cursive;
	font-size:16px;
	text-align: center;
	position: absolute;
	right: 0;
	bottom: 0;
	-webkit-transform: rotate(-45deg) translate(62px,20px);
	-moz-transform: rotate(-45deg) translate(62px,20px);
	-o-transform: rotate(-45deg) translate(62px,20px);
	-ms-transform: rotate(-45deg) translate(62px,20px);
}
