@charset "UTF-8";


/**********************************************/
/**********カテゴリタブ************************/
/**********************************************/

.blog_tabs {
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 48px;
  gap: 4px;
}

.blog_tab {
  padding: 14px 28px;
  font-weight: 500;
  color: var(--Darkgray);
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.blog_tab::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.blog_tab.is-active {
  color: var(--Green-d);
  font-weight: 600;
}

.blog_tab.is-active::after {
  background-color: var(--Yellow);
}

.blog_tab:hover {
  color: var(--Green-d);
  opacity: 1;
}


/**********************************************/
/**********記事グリッド************************/
/**********************************************/

.blog_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 24px;
  margin-bottom: 60px;
}

.blog_card a {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.blog_card a:hover {
  opacity: 0.75;
}

.blog_card_thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--Lightgray);
  margin-bottom: 14px;
}

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

.blog_card_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.blog_card_date {
  font-size: 0.75rem;
  color: var(--Darkgray);
  letter-spacing: 0.06em;
}

.blog_card_title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--Green-d);
  line-height: 1.6;
  margin-bottom: 8px;
}

.blog_card_excerpt {
  font-size: 0.875rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog_empty {
  text-align: center;
  color: var(--Darkgray);
  padding: 60px 0;
}


/**********************************************/
/**********レスポンシブ************************/
/**********************************************/

@media screen and (max-width: 768px) {

  .blog_tabs {
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 32px;
  }

  .blog_tab.blog_tab--all {
    flex: 0 0 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .blog_tab {
    flex: 1 1 auto;
    padding: 10px 12px;
    font-size: 0.8rem;
    text-align: center;
    white-space: nowrap;
  }

  .blog_grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

}
