/*bootstrapのレイアウト変更*/
.container {
  padding-right: 0px;
  padding-left: 0px;
  margin-right: auto;
  margin-left: auto;
  }
.row {
    margin: 0px 0px 0px 0px;
  }
.col-lg-6 ,.col-xs-12 {
    margin: 0px 0px 0px 0px;
    padding: 0px 5px 0px 5px;
  }

/*基本レイアウト変更*/
.l-card {
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0px 0px 30px 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  .l-card img{
      width: 100%;
      height: 190px;
      object-fit: cover; 
    }
  .text-content {
    padding: 16px;
  }
  .text-content .title {
    margin: 0 0 12px 0;
    font-size: 16px;
    height: 60px;
    font-weight: 700;
    color: #44617b;
  }
  .text-content .caption {
    margin: 0 0 12px 0;
    font-size: 12px;
    height: 54px;
    color: #555;
  }
  .content-meta {
    overflow: hidden;
    width: 100%;
    font-size: 12px;
  }
  .date {
    float: left;
    color: #aaa;
  }
  .like {
    display: inline-block;
    float: right;
    color: #4cc48e;
  }
  .like .material-icons {
    vertical-align: middle;
    font-size: 16px;
  }

.card-categorybox {
    position: absolute;/*絶対配置*/
    top: 0;
    right: 0;
    padding: 2px 10px 2px 10px;
    font-size:10px;
    width: auto;
    text-align: center;
    float: right;
    color: #fff;
    background: #2e2e2ee1;/*背景色*/
}
  /*ここからthumbnailのスタイル設定*/
  .l-thumbnail {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
  }
  .l-thumbnail img{
    background: url(../images/card_background.jpg);
    background-size: cover;
  }
  .thumbnail-wrapper {
    display: block;
    margin: 0;
    padding: 0;
  }
  .thumbnail-wrapper::after {
    transition: 0.5s;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
  }
  .thumbnail-wrapper img{
    display: block;
    max-width: 100%;
  }
  .more-text {
    transition: 0.5s;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    padding: 6px 12px 8px;
    color: #fff;
    font-size: 14px;
    border: 1px solid #fff;
    opacity: 0;
  }
  .l-card:hover .thumbnail-wrapper::after {
    opacity: 1;
  }
  .l-card:hover .more-text {
    opacity: 1;
  }