/*
Theme Name: BusinessPress Child
Theme URI: https://example.com/
Description: Child theme for BusinessPress. Adds [投稿カード] shortcode post cards.
Author: (Generated)
Template: businesspress
Version: 1.0.0
Text Domain: businesspress-child
*/

/* ===== 投稿カード（[投稿カード]） ===== */
.bp-postCards {
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 16px;
}

.bp-postCards__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1024px) {
  .bp-postCards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .bp-postCards__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

.bp-postCard {
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.bp-postCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}

.bp-postCard__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.04);
}

.bp-postCard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-postCard__body {
  padding: 16px 18px 18px;
  min-height:100px;
}

.bp-postCard__date {
  display: inline-block;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .02em;
  margin: 0 0 10px;
  color: #0c6a3f;
  font-weight: 700;
}

.bp-postCard__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;

  /* 2行で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-content{
  max-width: 1200px;
}

.home-header-overlay{
  height: 430px;
}