@media screen and (max-width:640px){
img{
max-width: 100%;
height: auto;
width /***/:auto;　
}
#container{
width:100%;
}

body {
  margin:0;
  background-image: url(../img/lineback-sk.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #464646;
}

img {
	border:0;
}

ul {
	list-style:none;
}

#container {
	width:300px;
	margin:0 auto;
	border:solid #ccc;
	border-width:0 1px 0 1px;
}

/* ヘッダ */
#header {
	width:300px;
	min-height:47px;
	height:auto !important;
	height:47px;
	background:#572a03;
}

#header h1 {
	margin:0;
	padding:20px 10px 20px;
	font-size:160%;
	color: #ffffff;
	float:left;
	line-height:1em;
}

#header ul {
	margin:0;
	padding:8px 10px 3px 10px;
	font-size:70%;
	text-align:right;
}

#header li {
	margin:0 0 5px 0;
	line-height:1.32em;
}

#header div {
	min-height:17px;
	height:auto !important;
	height:17px;
	padding:8px 0px 8px 25px;
	color:#000;
	background:#fdedcf;
	font-size:80%;
	text-align:left;
	line-height:1.32em;
	clear:both;
}

#header a {
	color:#f9eaca;
	text-decoration:none;
}

#header a:hover {
	color:#cc0000;
}

/* コンテント */
#content {
	width:300px;
	clear:both;
}

#content h2 {
	margin:0px 10px 10px 10px;
	padding:10px 0px 8px 15px;
	color:#fff;
	background:#000;
	font-weight: normal;
	font-size:85%;
	line-height:1em;
}

#content div {
	width:270px;
	min-height:350px;             /* boxサイズ */
	height:auto !important;
	height:100px;
	margin:20px 16px 20px 15px;   /* box位置　天　右　下段　左 */
	border:1px solid #000;
	float:left;
	display:inline;
}

#content p {
	margin:8px 10px 10px;         /* box内位置 */
	font-size:80%;
	line-height:1.32em;
}

#content .box1 {
	background:rgba(247,228,212,0.7);       /* 枠の色 と a透明度 */
	clear:non;
}

#content .box2 {
	background:rgba(250,250,250,0.7);
	clear:non;
}

#content .box3 {
	background:rgba(250,250,205,0.4);
	float:left;
}

/* フッタ */
#footer {
	width:300px;
	clear:both;
}

#footer p {
	margin:0;
	padding:3px 5px;
	color:#fff;
	background:#000;
	font-size:65%;
	text-align:center;
	line-height:1.32em;
	font-family:verdana;
}

#footer a {
	color:#fff;
	text-decoration:none;
}