@charset "shift_jis";

/*----------------------------------
 contents_top
------------------------------------*/

#contents_top {
	width:900px;
	height:auto;
	background-color: #fff;
	overflow: hidden;
}

#contents_top #main_img{
	width: 100%;
	height: auto;
	border-bottom: #df0021 solid 3px;
	box-sizing: border-box;
	margin-bottom: 20px;
}

#contents_top img {
	display: block;
	height: auto;
	max-width: 100%;
}

#contents_top #main_img img {
	margin: 0 auto;
	width: 900px;
}

#contents_top .text01 {
	width:96%;
	height: auto;
	margin: 0 auto;
}

#contents_top #spec {
	width: 100%;
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 30px auto;
}

#contents_top #spec li {
	width: 49.5%;
	height: auto;
}

#contents_top #spec li img {
	margin-bottom: 5px;
}

#contents_top #spec li p {
	padding-left: 3px;
}

#contents_top #lsd {
	width: 100%;
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
	padding: 16px;
	box-sizing: border-box;
	background-color: #333;
}

#contents_top #lsd li {
	width: 32.5%;
	height: auto;
	color: #ddd;
}

#contents_top #lsd li img {
	margin-bottom: 3px;
}


@media screen and (max-width: 640px) {

h1 {
	width: 100%;
}

h1 img {
	margin: 0 auto;
}

#wrapper{
	width: 100%;
}

#contents_top {
	width: 100%;
}

#contents_top #spec li {
	width: 96%;
	margin: 10px auto 0; 
}

#contents_top #lsd li {
	width: 308px;
	margin: 10px auto 0; 
}

#footer {
	width: 100%;
}	

}

@media screen and (max-width: 540px) {

#contents_top #sub_title {
	width: 97%;
}
}

@media screen and (max-width: 480px) {

h1 img {
	width: 94%;
}
}