@media screen and (max-width:640px){
	html {
		overflow-y:auto;
	}
	img{
		max-width: 100%;
		height: auto;
		width /***/:auto;　
	}
	#container {
		width:100%;
		overflow:hidden;
	}
	#inner {
		margin:0 1%;
		text-align:left;
		width:98%;
		/*background:url("../images/bg01.gif") repeat-y;*/
		/*float:left;*/
		background-color:#FF0000;
		background:none;
	}
	#inner_img {
		margin:0px;
		width:100%;
		float:none;
		/*background-color:#FF00FF;*/
		background:none;

	}
	#menu_s {
		display: block !important;
	}
	#menu_s ul {
		margin-left: -40px;
		list-style: none;
	}
	#menu_s ul.child {
		display: none;
	}
	#menu_s ul.child li a{
		padding-left: 30px;
	}
	#menu_s a {
		padding: 10px;
		display: block;
		border-bottom: 1px solid #39F;
		background-color: #036;
		color: #FFF;
		text-decoration: none;
	}
	#menu_s a:hover {
		background-color: #06f;
	}
	#menu {
		display: none;
	}
	#works_list {
		margin:0px 0px 30px 0px;
		float:left;
		/*background-color: #F00;*/
		width:100%;
	}
	#works_list h1 {
		margin:0px 0px 10px 0px;
		padding:5px;
		float:left;
		font-size:120%;
		border-bottom:1px solid #000;
		/*background-color:#074481;*/
		width:100% !important;
	}

	#works_list ul {
		margin:0px 0px 0px -40px;
	}
	#works_list li {
		/*margin:0px 0px 10px 0px;*/
		list-style:none;
		float:left;
	}
	#works_list a {
		margin: 0 10px 10px 0;
	}
	#comp_add {
		margin:0px 0px 25px 0px;
		float:left;
		text-align:center;
		width:100% !important;
		clear:both;
		/*background-color:#FF0000;*/
	}
	#comp_add p {
		margin:0px 0px 5px 0px;
		line-height:120%;
		font-size:100%;
	}
	/*#comp_add img {
		margin:0px;
	}*/

	#footer {
		margin:0px;
		padding:5px 0px 5px 0px;
		background-color:#074481;
		width:100% !important;
		height:auto !important;
		text-align:center;
		/*float:left;*/
		clear:both;
	}

	#footer a {
		color:#fff;
	}
	#footer a:hover {
		text-decoration:none;
	}
	#footer p {
		margin:0px 0px 10px 0px;
		color:#fff;
		font-size:80%;
		letter-spacing:1px;
		clear:both;
	}
	#left_navi {
		display: none !important;
		width:0px !important;
	}
	#box_outer_p {
		margin:0px 0px 30px 0px !important;
		float:left;
		/*background-color:#00FF00;*/
		background:none;
		width:100%;
	}
	#right_main {
		margin:0px;
		width:100% !important;
		float:right;
		/*background-color:#FFF;*/
	}
	* html #right_main {
		margin:0px;
		width:100% !important;
		float:right;
		/*background-color:#FFF;*/
		clear:both;
	}
	*+html #right_main {
		margin:0px;
		width:100% !important;
		float:right;
		/*background-color:#FFF;*/
		clear:both;
	}

	#right_main h1 {
		margin:2px 0px 20px 0px;
		font-size:150%;
		/*font-family:serif;*/
		border-bottom:1px solid #000;
		text-align:center;
		letter-spacing:5px;
		line-height:150%;
	}
	#right_main h2 {
		margin:0px;
		padding:6px 0px 0px 10px;
		background:url("../images/bg_til.gif") no-repeat;
		height:30px;
		/*font-family:serif;*/
		font-size:120%;
		clear:both;
		font-weight:bold;
	}
	#pan {
		display: none;
	}
	.tbl1 table {
		border-collapse:collapse;
		border:1px solid #999;
		width:100% !important;
	}
	.nextlink {
		display: block !important;
		float:left;
		margin-left: -35px;
		list-style: none;
	}
	.nextlink li {
		padding-left: 15px;
		background: url("../images/dot_1.png") no-repeat;
	}
	.nextlink li a {
		color:#039;
	}
	.nextlink li a:hover {
		text-decoration: none;
	}

	.photoarea1 {
		margin:0px 0px 30px 0px;
	}
	.head_p {
		font-size: 100% !important;
		line-height: 150% !important;
		text-align: center !important;
		color:#ff3300 !important;
	}
	#jinzai li {
		line-height:100% !important;
	}
}