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

/*#maincontents{
	margin-right: auto;
	margin-left: auto;
	width: 1000px;
	position: relative;
	right: -10px;
	margin-top: 60px;
	margin-bottom: 60px;
}
#maincontents_1{
	margin-right: auto;
	margin-left: auto;
	width: 1000px;
	position: relative;
	right: -10px;
	margin-top: 60px;
	margin-bottom: 60px;
}
#maincontents_2{
	margin-right: auto;
	margin-left: auto;
	width: 1000px;
	position: relative;
	right: -10px;
	margin-top: 60px;
	margin-bottom: 60px;
}
#maincontents_3{
	margin-right: auto;
	margin-left: auto;
	width: 1000px;
	position: relative;
	right: -10px;
	margin-top: 60px;
	margin-bottom: 60px;
}
#maincontents_4{
	margin-right: auto;
	margin-left: auto;
	width: 1000px;
	position: relative;
	right: -10px;
	margin-top: 60px;
	margin-bottom: 60px;
}
.fiveboxes{
	width: 180px;
	margin-right: 20px;
	float: left;
	margin-bottom: 20px;
	height: auto;
	margin-top: 20px;
}

.bg_white{
	background-color: #FFF;
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.category {
	position : relative;
	margin-bottom: 50px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #999;
	padding-bottom: 50px;
	height: auto;
	padding-top: 20px;
}
.end{
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
.category p{
	line-height: 2em;
}
.category .float-left{
	width: 510px;
	position: absolute;
	height: 240px;
	top: 60px;
}
.category .float-right{
	width: 410px;
}
.ttl{
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #000;
	padding-bottom: 5px;
}
.contactinfo{
	min-width: 980px;
	overflow: hidden;
	width: 980px;
	margin-top: 50px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	font-size: 12px;
	height: 25px;
	line-height: 24px;
}
h1{
	font-size-adjust:0.40;
	font-style:normal;
	line-height: 50px;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	color: #000;
	margin-right: auto;
	margin-left: auto;
	width: 980px;
}

h2{
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	color: #000;
	width: 980px;
	font-size: 24px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px;
	line-height: 40px;
}
h3{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #000;
	font-size: 16px;
	margin-top: 0px;
	margin-bottom: 20px;
	background-color: #E6E6E6;
	padding: 5px;
	height: 40px;
	line-height: 40px;
	text-indent: 20px;
	font-weight: 100;
}
ul{
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
li{
}
.float-left650{
	float: left;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0px;
	width: 650px;
}
#viewer {
	text-align: left;
	overflow: hidden;
	position: relative;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	height: 500px;
	width: 330px;
}

#viewer img {
	top: 0;
	left: 0;
	position: absolute;
}
*/

.photos li {
	float: left;
	margin-right: 20px;
	margin-bottom: 40px;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
}
.photos li:nth-child(5n) {
	margin-right: 0;
}

@media screen and (max-width: 1024px) {
	.photos li {
		width: 23%;
		margin-right: 2.5%!important;
	}
	.photos li img {
		width: 100%;
	}
	.photos li:nth-child(4n) {
		margin-right: 0!important;
	}
}

@media screen and (max-width: 768px) {
	.photos li,
	.photos li:nth-child(4n) {
		width: 31.3333%;
		margin-right: 2.5%!important;
	}
	.photos li:nth-child(3n) {
		margin-right: 0!important;
	}
}

@media screen and (max-width: 480px) {
	.photos li,
	.photos li:nth-child(3n),
	.photos li:nth-child(4n) {
		width: 48%;
		margin-right: 3%!important;
	}
	.photos li:nth-child(2n) {
		margin-right: 0!important;
	}
}