.wrap-contents .wrap-ribbon h2 {
  position: relative;
  color: #1870b1;
  background: #d9eaf7;
  font-size: 20px;
  line-height: 1;
  margin: 30px 40px 10px -10px;
  padding: 20px 5px 15px 30px;
}
.wrap-contents .wrap-ribbon h2:after {
  content: "";
  position: absolute;
  top: 100%;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top: 5px solid #217cbf;
}
.wrap-contents .wrap-ribbon h2:after {
  left: 0;
  border-right: 5px solid #217cbf;
}

.wrap-contents .wrap-ribbon h2:before {
      background: #f6f6f6;
    border-top: 2px solid #f6f6f6;
    border-bottom: 2px solid #f6f6f6;
    width: 30px;
    height: 100%;
    content: '';
    position: absolute;
    right: -15px;
    bottom: -2px;
    transform: skewX(-20deg);
}
.wrap-contents .wrap-ribbon h2 {
  font-size: 19px;
  margin-top: 1.2em;
}
.section-card .card-content *:first-child > h2 {
  margin-top: 1.2em;
}
.wrap-contents .wrap-ribbon h3 {
  font-size: 15px;
}
.wrap-ribbon {
  position:relative;
  background:#f6f6f6;
  margin-top:20px;
  padding-top:5px;
}
.wrap-ribbon .dts {
  width:80px;
  height:80px;
  background:#217cbf;
  color:#fff;
  text-align:center;
  line-height:82px;
  border-radius:50px;
  position:absolute;
  top:15px;
  right:10px;
  font-size:15px;
}
.wrap-ribbon .dts .txt-small {
  font-size:14px;
}
.wrap-ribbon .content_r {
  padding:10px 20px 20px;
}
.mgn-t0 {
  margin-top:0px !important;
}
.mgn-t30 {
  margin-top:30px !important;
}
.mgn-t40 {
  margin-top:40px !important;
}
.mgn-b0 {
  margin-bottom:0px !important;
}
figure.bike img {
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.blog-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto 16px;
  box-sizing: border-box;
  background: white;
  display: block;
}
.blog-card-inner {
  display: flex;
}
.blog-card img.blog-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.blog-card .blog-description {
  margin-left:10px;
  font-size: 14px;
}


@media screen and (max-width:480px)  {
  .wrap-ribbon figcaption {
    text-align:left;
  }
}

@media screen and (min-width:480px)  {
  .wrap-contents .wrap-ribbon h2 {
    font-size: 22px;
    margin-top: 1.5em;
    line-height: 1.4;
    font-weight:bold;
  }
  .wrap-contents .wrap-ribbon h3 {
    font-size: 17px;
    font-weight:bold;
  }
  .wrap-ribbon .dts {
    width:110px;
    height:110px;
    line-height:112px;
    border-radius:60px;
    font-size:20px;
  }
  .wrap-ribbon .dts .txt-small {
    font-size:14px;
  }
  .wrap-ribbon .div2 figcaption {
    text-align:left;
  }
  .blog-card {
    margin-top: 30px;
  }

}
