#menu {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
}
#menu li{
	display: block;
	float: left;
	width: 14.2%;
	margin: 0;
	padding: 0;
}

#menu li:nth-child(7n+1){
	width: 14.5%;
}

#menu li:nth-child(7n){
	width: 14.5%;
}

#menu li a {
	display: block;
	padding: 20px 0 20px;
	background-color: #2a83a2;
	color: #FFF;
	text-align: center;
	text-decoration: none;
	border-right:1px solid #4baacb;
}
#menu li:last-child a{
	border: none;
}
#menu li a:hover{
	background: #4baacb;
		-o-transition: background 0.25s ease-in;
	-webkit-transition: background 0.25s ease-in;
	-moz-transition: background 0.25s ease-in;
	transition: background 0.25s ease-in;
}
#toggle {
	display: none;
}
#main {
	width: 780px;
	float: left;
}

#brandlist {
margin-bottom:50px
}

#sidebar {
	width: 200px;
	float: right;
	padding:10px;
}

#sidebar p{
	font-size:90%;
	}
footer {
	min-width: 960px;
	clear:both;
	text-align:center;
}
/* 画面サイズが768px以下の場合に適用 */
@media only screen and (max-width: 768px) {
	#menu li {
		width: 25%;
		border-bottom: 1px solid #4baacb;
	}
#main {
	
}
}

/* 画面サイズが480px以下の場合に適用 */
@media only screen and (max-width: 480px) {
	#menu {
		display: none;
	}
	#menu li {
		width: 100%;
	}
	#toggle {
		display: block;
		position: relative;
		width: 100%;
		background: #2a83a2;
	}
	#toggle a{
		display: block;
		position: relative;
		padding: 20px 0 20px;
		border-bottom: 1px solid #4baacb;
		color:#FFF;
		text-align: center;
		text-decoration: none;
	}
	#toggle:before {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 30px;
		margin-top: -15px;
		background: #FFF;
	}
	#toggle a:before, #toggle a:after {
		display: block;
		content: "";
		position: absolute;
		top: 50%;
		left: 10px;
		width: 30px;
		height: 6px;
		background: #2a83a2;
	}
	#toggle a:before {
		margin-top:-9px;
	}
	#toggle a:after {
		margin-top: 3px;
	}
		#wrapper {
	width: 100%;
}
#contents {
	overflow: hidden;
	margin: 0 auto;
	min-height: 500px;
}
#sidebar {
		width: 100%;
		float:left;
}

#main {
	width: 100%;
}

footer {
	margin: 0 auto;
	height: 120px;/*サンプル用に高さ設定してあります。*/
	color:#2C3E50;
	min-width: 100%;
}
img {width:100%;
	margin: 0;
	padding: 0;}
#top-image {width:100%; !important} 
header,
#contents,
footer {
	width: 100%;
}
}

/* 手動で追加した分 */

body {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-family: Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

section, article, header {
	display: block;
	float: left;
	width: 100%;
}
article {
	width: 96%;
	padding: 3em 2%;
}
p{line-height:150%;}
h1 {
font-family: 'Playfair Display SC', serif; !important

font-size:23px;
color:rgb(40,127,184);
text-align:left;
width:300px;
font-weight:normal;
}
h1 a{color:rgb(40,127,184);
background: #ffffff;
text-decoration:none;}
h1 a:hover {
	color: #E67E22;
	color: rgba(230,126,34);
	background: #ffffff;
}

#kochira{font-family:"Hiragino Kaku Gothic Pro",Meiryo,Osaka,"MS PGothic",sans-serif;
font-size:13px;
font-weight:bold;
color:rgb(241,196,15);
text-align:right;
}
#tel{font-family:"Hiragino Kaku Gothic Pro",Meiryo,Osaka,"MS PGothic",sans-serif;
font-size:23px;
color:rgb(51,72,94);
width:185px;
float:right;
text-align:right;
}
#logo{width:300px;
float:left;}

.clear{clear:both;}

#top-image{width:1000px;
margin:0px auto;}
a, a:hover {
	-o-transition: color 0.25s ease-in;
	-webkit-transition: color 0.25s ease-in;
	-moz-transition: color 0.25s ease-in;
	transition: color 0.25s ease-in;
}

@media only screen and (min-width: 769px) {
#wrapper{
	width:1000px;
	min-width: 1000px;
	margin: 0 auto;}}
	

h2 {	margin: 0.5em 10% 1.2em 0px;
	padding: 0.3em 0.5em 0.2em 0.5em;
	border-style: solid;
	border-width: 0 0 1px 25px;
	border-color: #F1C40F;
	font-size: 120%;
	color:#2C3E50;
}

.side-ul{  width: 100%;
  height: 7px;
  background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAIklEQVQIW2NkQAIfj/D/Z4TxQRx+m4+MYAEYB8RmROaABADQJw7Ia48M0gAAAABJRU5ErkJggg==);}

.side-midashi{
	padding-top:10px;
	color:#D35400;
	font-size:18px;
	
	}
	
a {color:#2980B9;}
a:hover{color: #E67E22;}

#gaiyou{
	line-height:1.5em;
	margin-left:auto;
	margin-right:auto;
	background:#ECECEC;
	border-collapse:collapse}

.ghead{
	font-weight:bold;
	padding:30px 40px 30px 25px;
	border-bottom:1px solid #C4C4C4;
	border-top:1px solid #C4C4C4;
	}
.gdata{
	background:#fff;
	padding:25px;
	border-bottom:1px solid #C4C4C4;
	border-top:1px solid #C4C4C4;
	}
.zassi{
	float:left;
	width:20%;
	}
h4{
	padding: 0.3em 0.5em 0.2em 0.5em;
	border:solid #3498DB;
	border-width: 0 0 1px 0px;
	font-size:110%;
	float:left;
	margin-left:2.5%;
	width:70%;}
.zsetumei{
	float:left;
	width:70%;
	margin-left:2.5%;
	}
.staff{
	border:solid #dfebc3 3px;
	padding:20px;
	width:80%;
	height:200px;
}
.staffn{
		font-size:130%;
		font-weight:bold;
		margin-top:0.5em;
		margin-bottom:0.5em;
		color:#86bb23;}

.staffh{
	background-color:#86bb23;
	color:#fff;
	font-size:110%;
	padding:10px;
	letter-spacing:0.1em;
	font-weight:bold;
	}
.staffg{
	float:left;
	width:20%;
	}
.staffs{
	float:left;
	width:70%;}
.staffo{
	border:solid #fce5bb 3px;}
.staffho{
	background-color:#f4a000;
	}
.staffno{
	color:#f4a000;
	}
.staffb{
	border:solid #d0eaf9 3px;
	}
.staffhb{
	background-color:#00b2ea;
	}
.staffnb{
	color:#00b2ea;
	}

