.index-blog {
  --index-blog-news-gap: clamp(24px, 4vw, 40px);
  background: #c0c2c7;
  position: relative;
  border-bottom: var(--index-blog-news-gap) solid #c0c2c7;
  overflow-x: hidden;
  overflow-x: clip;
}

.index-blog::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 594px;
  height: 427px;
  background-image: url("../../images/decorations/section-divider-corner-leaves-left.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 594px 427px;
  transform: translateY(var(--index-blog-news-gap));
  pointer-events: none;
  z-index: 2;
}

.index-blog .index-carousel {
  --index-blog-shell-gutter: max(24px, calc((100vw - 1280px) / 2));
  grid-auto-columns: 400px;
  gap: 40px;
  width: 100vw;
  margin-top: 56px;
  margin-inline: calc(50% - 50vw);
  padding-top: 14px;
  padding-left: var(--index-blog-shell-gutter);
  padding-right: var(--index-blog-shell-gutter);
  padding-bottom: 22px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  scroll-padding-inline-start: var(--index-blog-shell-gutter);
  scroll-snap-type: none;
}

.index-blog .index-carousel::-webkit-scrollbar {
  display: none;
}

.index-blog .index-carousel.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.index-blog .index-post-card {
  scroll-snap-align: none;
}

body.has-site-stage-scale .index-blog .index-carousel {
  width: 1920px;
  margin-inline: calc(50% - 960px);
  --index-blog-shell-gutter: calc((1920px - 1280px) / 2);
}

.index-post-card {
  width: min(400px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.index-post-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 235px;
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f1ec;
}

.index-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.index-post-card__thumb--brand {
  flex-direction: column;
  gap: 12px;
  padding: 6px 20px;
  background: #ffffff;
}

.index-post-card__brand-mark {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
}

.index-post-card__brand-mark img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.index-post-card__brand-copy {
  display: grid;
  gap: 4px;
  text-align: center;
}

.index-post-card__brand-copy p {
  margin: 0;
  color: #2f2726;
  font-weight: 500;
  line-height: 1.4;
}

.index-post-card__brand-copy p:first-child {
  font-size: 20px;
}

.index-post-card__brand-copy p:last-child {
  font-size: 32px;
  font-weight: 700;
}

.index-post-card__meta {
  margin: 0;
  font-size: 16px;
  color: #666;
  letter-spacing: 0.05em;
}

.index-post-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.index-post-card__tag {
  --index-post-card-tag-bg: #d9d9d9;
  --index-post-card-tag-fg: #666666;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
  background: var(--index-post-card-tag-bg);
  color: var(--index-post-card-tag-fg);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.index-post-card__tag--gray {
  --index-post-card-tag-bg: #d9d9d9;
  --index-post-card-tag-fg: #666666;
}

.index-post-card__tag--orange {
  --index-post-card-tag-bg: #ea7339;
  --index-post-card-tag-fg: #fffaf3;
}

.index-post-card__tag--green {
  --index-post-card-tag-bg: #3e7b56;
  --index-post-card-tag-fg: #fffaf3;
}

.index-post-card__tag--green-bright {
  --index-post-card-tag-bg: #40af35;
  --index-post-card-tag-fg: #fffaf3;
}

.index-post-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.index-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.index-post-card h3 a:hover,
.index-post-card h3 a:focus-visible {
  text-decoration: underline;
}

.index-blog__link {
  margin-top: 88px;
}

 @media (max-width: 767px) {
  .index-blog::after {
    width: clamp(220px, 42vw, 420px);
    height: auto;
    aspect-ratio: 594 / 427;
    background-size: contain;
  }

  .index-blog .index-carousel {
    --index-blog-shell-gutter: 16px;
    grid-auto-columns: minmax(300px, 76vw);
    gap: 24px;
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .index-post-card__thumb {
    height: 210px;
  }
}

 @media (max-width: 720px) {
  .index-blog::after {
    width: clamp(180px, 52vw, 320px);
    height: auto;
    aspect-ratio: 594 / 427;
    background-size: contain;
  }

  .index-blog .index-carousel {
    --index-blog-shell-gutter: 16px;
    grid-auto-columns: minmax(260px, 84vw);
    gap: 16px;
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .index-post-card {
    width: auto;
  }

  .index-post-card__thumb {
    height: 160px;
  }

  .index-post-card__brand-mark {
    width: 72px;
    height: 72px;
  }

  .index-post-card__brand-mark img {
    width: 72px;
    height: 72px;
  }

  .index-post-card__brand-copy p:first-child {
    font-size: 13px;
  }

  .index-post-card__brand-copy p:last-child {
    font-size: 22px;
  }

  .index-post-card__tag {
    min-height: 20px;
    font-size: 12px;
  }

  .index-post-card h3 {
    font-size: 18px;
    line-height: 1.6;
  }

  .index-blog__link {
    margin-top: 40px;
  }

  .index-post-card__meta {
    font-size: 13px;
  }
}
