@charset "UTF-8";

/*----------------------------------------------------------------------

Reset Style

----------------------------------------------------------------------*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td { 
  margin: 0;
  padding: 0;
}

img { 
  border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

caption, th {
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: normal;
}

 {
  color: #555;
}

body {
  margin: 0 auto;
  padding: 0;
}



/*----------------------------------------------------------------------
Contents Style
----------------------------------------------------------------------*/
.header {
  text-align: center;
  margin: 2em 1em 1em;
}

.motionContainer.masonry,
.motionContainer.masonry .masonry-brick {
  -webkit-transition-duration: 0.7s;
  -moz-transition-duration: 0.7s;
  -o-transition-duration: 0.7s;
  transition-duration: 0.7s;
}
.motionContainer.masonry {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  -o-transition-property: height, width;
  transition-property: height, width;
}
.motionContainer.masonry  .masonry-brick {
  -webkit-transition-property: left, right, top;
  -moz-transition-property: left, right, top;
  -o-transition-property: left, right, top;
  transition-property: left, right, top;
}

/* disable transitions on container */
.motionContainer.infinite-scroll.masonry {
  -webkit-transition-property: none;
  -moz-transition-property: none;
  -o-transition-property: none;
  transition-property: none;
}

.modules {
  margin: 0 auto 0em;
  padding: 0px;
  _background: url(../images/modulebg.gif) top left #ddd;
}
.modules:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.modules li {
  width: 280px;
  margin: 5px;
  float: left;
  padding: 0;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
  -moz-box-shadow: 0 1px 2px rgba(34, 25, 25, 0.4);
  -webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
}
.modules li p {
  padding: 10px;
  font-size: 94%;
}
.modules li p.thumb {
  text-align: center;
  padding: 10px 10px 2px;
}

.modules li p.thumb img {
  max-width: 100% !important;
  /* May I rot in hell for this IE6 hack */
  _width: 95% !important;
  height: auto !important;
}

.modules li p.caption {
  padding: 0 10px 10px;
}

.modules li p.user {
  background-color: #eee;
}

.footer {
  text-align: center;
  margin: 3em;
}




/*container
---------------------------------------------*/
.container{
	xbackground-color:#42557B;
	xwidth: auto !important;
	xpadding: 0 10.8%;
	padding:  10.8px 10.8px 10.8px 10.8px;
	xbackground: none;


	background: #ccc;
	background: url(../images/body_bgimg.gif) repeat 0 0\9; /*IE8 Hack*/
	background-color: rgba(0,0,0,0.03);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#70cccccc',EndColorStr='#70cccccc')"; /*IE8 The two-byte transmission CD*/

/*下記追加*/
	padding: 5px;
	margin: 0 auto;
	margin-bottom: 20px;
	border-radius: 5px;
	clear: both;
	-webkit-border-radius: 8px;
	   -moz-border-radius: 8px;
	        border-radius: 8px;
}



/*container2
---------------------------------------------*/
.container2{
	xwidth: auto !important;
	xpadding: 0 10.8%;
	padding:  10.8px 10.8px 10.8px 10.8px;
	xbackground: none;

	background-color: rgba(255,255,255,1);

/*下記追加*/
	padding: 5px;
	margin: 0 auto;
	margin-bottom: 20px;
	border-radius: 5px;
	clear: both;
	-webkit-border-radius: 8px;
	   -moz-border-radius: 8px;
	        border-radius: 8px;
}


/*ビューエリアの最大幅。このサイズより小さい場合に適用*/
@media screen and (max-width: 1200px) {
	.footer {
	  text-align: left;
	}
	.container{
		padding: 0 0.0%;
	}
}

/*ビューエリアの最大幅。このサイズより小さい場合に適用*/
@media screen and (max-width: 320px) {
	.modules li {
	  width: 280px;
	}
	.footer {
	  margin: 3em 1em;
	}
	.container{
		padding: 0 0.0%;
		font-size:5px;
	}

}

