@charset "utf-8";
/* CSS Document */

body {
	font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
}


/* 中央寄せ */
header, nav, .contents, footer {
	width: 1000px;
	margin: 0 auto;
	background-color: #FFFFFF;
}

/* ヘッダー */
header {
	width: 1000px;
	background-color: #ffad60;
	margin-top: -5px;
}

header:after {
	content: "";
	display: block;
	clear: both;
}

h1 {
	float: left;
}



/* 検索 */
.search {
	position :relative; 
	margin-bottom: 20px;
}

.sbox {	
	outline: 0;	
	height: 50px;
	padding: 0 10px; 
	position: absolute; 
	left: 700px;
	top: 60px; 
	max-width: 270px;
}

.sbtn {
	width: 70px;
	height: 50px;
	position: absolute;
	left: 900px; 
	top: 60px;
	background: #9c9a9a;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	border: none;
}

.sbtn:hover {
	background-color: #cccaca;
}

/* ナビゲーション */
nav {
	background-color: #b97c43;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: 1000px;
}

nav li a {
	display: block;
	padding: 15px;
	color: #FFFFFF;
	background-color: #b97c43;
	text-decoration: none;
	border-right: solid 1px #FFFFFF;
}

ul li:last-child {
	border-right: none;
}

nav li a:hover {
	opacity: 0.5;
}

nav ul:after {
	content: "";
	display: block;
	clear: both;
}

nav li {
	float: left;
	width: 25%;
	text-align: center;
}

/* コンテンツ */
.contents {
	border-left: solid 1px #CCC;
	border-right: solid 1px #CCC;
	padding: 30px 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* フッター */
footer {
	width: 1000px;
	height: 50px;
	background-color: #ffad60;
	color: #FFFFFF;
	text-align: center;
	line-height: 50px;
}

/* 599px以下 */
@media (max-width: 599px) {
	html {
    /* ルートのフォントサイズを10pxに設定しておく */
	font-size: 62.5%;
	}
	
	body {
	/* ルートのフォントサイズを1.6em（16pxと同等のサイズ）に設定 */
	font-size: 2.5em;
	}
	
	
	/* 横幅 */
	body {
		width: 100%;
	}
	/* コンテンツ */
	.contents {
		border-left: none;
		border-right: none;
	}
	
	/* 検索 */
	.search {
		position :relative; 
		margin-bottom: 20px;	
	}
	
	.sbox {	
		outline: 0;	
		height: 70px;
		padding: 0 10px; 
		position: absolute; 
		left: 60%;
		top: 40px; 
		max-width: 270px;
	}
	
	.sbtn {
		width: 100px;
		height: 70px;
		position: absolute;
		left: 80%; 
		top: 40px;
		background: #9c9a9a;
		color: #fff;
		font-weight: bold;
		font-size: 3.0rem;
		border: none;
	}

	
	/* ナビゲーション */
	nav li a {
		padding: 20px 15px;
	}
	
	/* フッター */
	footer {
		padding: 5% 0;
	}
	
}






