@charset "utf-8";
/* ブログカード シンプルデザイン*/
.blog-card-long {
  margin: 0 0 1.8rem;
}
.card-link {
  display: block;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
  padding: 0;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  color: #555;
  font-weight: bold;
  text-decoration: none !important;
  position: relative;
}
.card-link:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  color: #888;
  text-decoration: none;
  transform: translateY(-2px);
}
.blog-card-label-long {
  z-index: 1;
  display: inline-block;
  position: absolute;
  background-color: #f99f48;
  top: 10px;
  left: 10px;
  max-width: 120px;
  height: 25px;
  padding: 0 0.5rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  line-height: 25px;
  transform-origin: 50% 50%;
  animation: animScale 3.5s ease-out;
}

.card-link .blogcard-text {
  display: block;
  padding: 15px 13px;
  line-height: 1.6;
}
.card-link img {
  width: 100%;
}
.longcard-link {
  margin-bottom: 1.5em;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.25);
}
.longcard-link img {
  padding: 10px 10px 0;
}
.longcard-img {
  position: relative;
}
.blogcard-title {
  font-size: 1em;
  font-weight: bold;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blog-card-excerpt-long {
  padding-top: 0.8em;
  font-size: 0.8em;
  line-height: 1.4;
  font-weight: normal;
  opacity: 0.8;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*ブログカードのラベル*/
.blog-card-label {
  display: inline-block;
  position: absolute;
  background-color: #ffb36b;
  top: 0px;
  left: 0px;
  z-index: 2;
  width: auto;
  height: 25px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  padding: 0px 12px;
  line-height: 25px;
  transform-origin: 50% 50%;
  animation: animScale 3.5s ease-out;
}

@media only screen and (min-width: 481px) {
  .card-link {
    display: inline-block;
    max-width: 310px;
    margin-right: 20px;
  }
  .longcard-link {
    max-width: 100%;
    display: table;
  }
  .longcard-img,
  .card-link.longcard-link .blogcard-content {
    display: table-cell;
    vertical-align: middle;
  }
  .longcard-img {
    width: 40%;
  }
  .blogcard-content {
    width: 60%;
  }
  .longcard-img img {
    width: 100%;
    padding: 10px;
  }
}
@media screen and (max-width: 959px) {
  .blog-card-excerpt-long {
    display: none;
  }
}
