html,
body {
	padding:0;
	margin:0;
}
#contents {
	width:1200px;
}
#wrap {
	max-width:1200px;
	margin:0 auto;
}

#grid_wrap, #grid_wrap2 {
	width:1200px;
	margin:0 auto 50px;
}
#grid_wrap .clear, #grid_wrap2 .clear {
	clear:both;
}
#grid_wrap ul, #grid_wrap2 ul {
	padding:0;
	margin:0;
}
#grid_wrap a, #grid_wrap2 a {
	line-height:0;
	transition:0.4s ease;
}
#grid_wrap li {
	list-style:none;
	line-height:0;
	width:25%;
	float:left;
	box-sizing:border-box;
	padding:0 5px;
	margin:5px 0;
	position:relative;
	overflow:hidden;
}
#grid_wrap2 li {
	list-style:none;
	line-height:0;
	width:100%;
	box-sizing:border-box;
	padding:0 5px;
	margin:5px 0;
	position:relative;
	overflow:hidden;
}
#grid_wrap li:nth-of-type(1), #grid_wrap li:nth-of-type(2){
	width:50%;
}
/*#grid_wrap li:nth-of-type(16){
	clear:both;
}*/

#grid_wrap li .txt, #grid_wrap2 li .txt {
	position:absolute;
	bottom:-100px;
	left:0;
	width:100%;
	background:rgba(255,255,255,0.75);
	box-sizing:border-box;
	padding:10px 20px 5px;
	transition:0.4s ease;
}

#grid_wrap li a, #grid_wrap2 li a {
	text-decoration:none;
	color:#222222;
}

#grid_wrap li .txt p, #grid_wrap2 li .txt p {
	padding:0;
	margin:0;
}
#grid_wrap li .txt p.bold, #grid_wrap2 li .txt p.bold {
	font-size:13px;
	font-weight:bold;
	line-height:1.5;

}
#grid_wrap li .txt p.read, #grid_wrap2 li .txt p.read {
	font-size:11px;
	line-height:1.5;
}
#grid_wrap li:nth-of-type(1) .txt p.bold {
	font-size:14px;
	margin-bottom:4px;
}
#grid_wrap li:nth-of-type(1) .txt p.read {
	font-size:12px;
}
#grid_wrap li .txt p.cate, #grid_wrap2 li .txt p.cate {
	line-height:1;
	font-size:8px;
	font-weight:bold;
	margin-bottom:10px !important;
}
#grid_wrap li .txt p.cate span, #grid_wrap2 li .txt p.cate span {
	margin-right:4px;
	color:#000000;
	padding:1px;
	border-bottom:1px solid #000000;
}

#grid_wrap li a:hover > .txt {
	bottom:0;
}
#grid_wrap2 li a:hover > .txt {
	bottom:0;
}


@media only screen and (max-width: 750px)  {
#grid_wrap, #grid_wrap2{
	width:100%;
	margin:0 auto 30px;
}
#grid_wrap li {
	width:50%;
	padding:0 6px;
	margin:6px 0 12px;
}
#grid_wrap li:nth-of-type(1){
	width:100%;
	margin:0 0 24px;
}
#grid_wrap li:nth-of-type(even){
	clear:both;
}	


#grid_wrap li .txt, #grid_wrap2 li .txt {
	position:relative;
	padding:8px 1px;
	bottom:auto;
	width:98%;
	margin:0 auto 0;
	background:rgba(255,255,255,0.8)
}
#grid_wrap li:nth-of-type(1) .txt {
	margin:0 auto 0;
}
#grid_wrap li .txt p.bold, #grid_wrap2 li .txt p.bold {
	font-size:11px;
	margin-bottom:3px;
	font-weight:normal;
}
#grid_wrap li .txt p.read, #grid_wrap2 li .txt p.read {
	font-size:10px;
}
#grid_wrap li:nth-of-type(1) .txt p.bold {
	font-size:12px;
}
#grid_wrap li:nth-of-type(1) .txt p.read {
	font-size:11px;
}
#grid_wrap li .txt p.cate, #grid_wrap2 li .txt p.cate {
	margin-bottom:7px !important;
}
#grid_wrap li a:hover > .txt {
	bottom:auto;
}
#grid_wrap2 li a:hover > .txt {
	bottom:auto;
}
}

