
.card-content {
  padding: 10px;
}
.card-title {
  font-size:1.0rem;
  margin-bottom: 10px;
  text-align: center;
  color: #333;
}
.card-title a {
  color: #333;
  text-decoration:none;
}
.card-title a:hover {
  color: #CCC;
}
.card-text {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}
.card-text a {
  color: #777;
  text-decoration:none;
}
.card-text a:hover {
  color: #CCC;
}
.card-link {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 10px;
}
.card-link a {
  text-decoration: none;
  color: #0bd;
  margin: 0 10px;
}
.card-link a:hover {
  color: #0090aa;
}

.card-link .card-text {
	text-align:left;
}
.card-link .category {
	color: #666;
	font-size:0.75rem;
}


/* Masonryの設定
------------------------------------------------*/
.grid {
	clear:both;
	width:100%;
	position:relative;
	overflow:hidden;
}
.grid-item {
float:left;
width:280px;
position:relative;
  margin:20px 0px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
}
img.card-img {
max-width:260px;
height:auto;
  border-radius: 5px 5px 0 0;

}

@media screen and (max-width: 980px) {
.grid-item {
width:43%;	
}
img.card-img {
max-width:93%;
height:auto;
  border-radius: 5px 5px 0 0;

}
}
@media screen and (max-width: 640px) {
.grid-item {
width:100%;	
}
.grid-item {
float:none;
width:100%;	
}
}