.js-anchor-section{
  scroll-margin-top: 100px;
}

/* ========================================
   FRONT PAGE BLOG
======================================== */

.front-blog{
  padding: 110px 0 120px;
  background: #fffcfd;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif !important;
}

.front-blog,
.front-blog *{
  box-sizing: border-box;
}

.front-blog__inner{
  width: 94%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ========================================
   見出し
======================================== */

.front-blog__head{
  margin-bottom: 42px;
}

.front-blog__subheading{
  margin: 0 0 12px;
  color: #d4a08f;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.28em;
  font-weight: 900;
}

.front-blog__heading{
  margin: 0;
  color: #17120f;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 600;
}

/* ========================================
   カテゴリフィルター
======================================== */

.front-blog__filter{
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-bottom: 48px;
}

.front-blog__filter-item{
  display: inline-flex;
  align-items: center;
}

.front-blog__filter-link,
.front-blog__filter-link:visited,
.front-blog__filter-link:active{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  color: #7f766d;
  background: transparent;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    opacity 0.25s ease;
}

.front-blog__filter-link:hover{
  color: #d8a391;
  text-decoration: none;
}

.front-blog__filter-link.is-active{
  background: #ffffff;
  color: #d8a391;
}

.front-blog__filter-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: currentColor;
  opacity: 0.85;
}

.front-blog__filter-icon svg{
  width: 14px;
  height: 14px;
  display: block;
}

/* ========================================
   カード一覧
======================================== */

.front-blog__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

/* ========================================
   BLOGカード
   AI Studio 風：白カード＋枠＋薄い影
======================================== */

.blog-card{
  background: #ffffff;
  border: 1px solid #eee8df;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.blog-card:hover{
  border-color: #eadfd4;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}
.blog-card__link,
.blog-card__link:visited,
.blog-card__link:hover,
.blog-card__link:active{
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: #ffffff;
  text-decoration: none;
}

.blog-card__thumb{
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #ece8e1;
  flex-shrink: 0;
}

.blog-card__thumb img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-card__link:hover .blog-card__thumb img{
  transform: scale(1.05);
}

/* ========================================
   BLOGカード本文
======================================== */

.blog-card__body{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
  background: #ffffff;
}

.blog-card__meta{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.blog-card__cat{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 0;
  padding: 5px 12px;
  background: #fff8e7;
  color: #d3ae46;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.blog-card__date{
  margin: 0;
  color: #bdb3aa;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.blog-card__title{
  margin: 0 0 18px;
  color: #17120f;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 900;
  letter-spacing: 0.02em;
  min-height: calc(1.65em * 2);
}

.blog-card__excerpt{
  margin: 0 0 24px;
  color: #7d746a;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 400;
  min-height: calc(1.9em * 2);
}

.blog-card__more{
  margin: auto 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e4604a;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.blog-card__more-arrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.blog-card__link:hover .blog-card__more-arrow{
  transform: translateX(4px);
}

/* ========================================
   下部ボタン
======================================== */

.front-blog__footer{
  margin-top: 56px;
  text-align: center;
}

.front-blog__button,
.front-blog__button:visited,
.front-blog__button:active{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 200px;
  height: 54px;
  padding: 0 34px;
  background: #ffffff;
  border: 1px solid #e8e1d8;
  color: #17120f;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.front-blog__button:hover{
  background: #17120f;
  border-color: #17120f;
  color: #ffffff;
  text-decoration: none;
}

.front-blog__button-arrow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.front-blog__button:hover .front-blog__button-arrow{
  transform: translateX(6px);
}

.front-blog__button-icon{
  width: 18px;
  height: 18px;
  display: block;
}

.front-blog__button-icon path{
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========================================
   空表示
======================================== */

.front-blog__empty{
  padding: 28px 24px;
  background: #ffffff;
  color: #7d746a;
  font-size: 14px;
  line-height: 1.8;
  border: 1px solid #eee8df;
}

/* ========================================
   RESPONSIVE
======================================== */

@media screen and (max-width: 1200px){
  .front-blog__heading{
    font-size: 48px;
  }

  .front-blog__grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media screen and (max-width: 767px){
  .front-blog{
    padding: 70px 0 80px;
  }

  .front-blog__inner{
    width: calc(100% - 32px);
  }

  .front-blog__head{
    margin-bottom: 24px;
  }

  .front-blog__heading{
    font-size: 38px;
  }

  .front-blog__filter{
    gap: 12px 12px;
    margin-bottom: 28px;
  }

  .front-blog__filter-link,
  .front-blog__filter-link:visited,
  .front-blog__filter-link:active{
    padding: 8px 12px;
    font-size: 13px;
  }

  .front-blog__grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-card__thumb{
    height: 220px;
  }

  .blog-card__body{
    padding: 18px 18px 20px;
  }

  .blog-card__meta{
    margin-bottom: 16px;
  }

  .blog-card__title{
    font-size: 18px;
    min-height: auto;
  }

  .blog-card__excerpt{
    font-size: 13px;
    min-height: auto;
  }
}