/* ============================================================
   ブログ一覧（NAYOSEL_ブログ / NAYOSEL_ブログ_SP 準拠）
   ============================================================ */

.blog-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 18px 60px;
  display: grid;
  grid-template-columns: 1fr 252px;
  gap: 20px;
  align-items: start;
}

/* メイン列：ヒーローグラデカードの上に人気記事 */
.blog-popular {
  border-radius: 30px;
  background: linear-gradient(185deg, #f1f5f4 -1.6%, #e4ede6 22.5%, #f5da78 54.7%, #dfebe7 85.7%);
  padding: 70px 32px 66px;
}
.blog-popular__ttl { text-align: center; font-size: 28px; font-weight: 700; letter-spacing: 0.1em; }
.blog-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 33px; }
.blog-grid--rest { margin-top: 52px; padding: 0 32px; gap: 33px 33px; row-gap: 40px; }

.bcard { display: block; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 3px rgba(54, 67, 77, 0.15); transition: 0.2s; }
.bcard:hover { transform: translateY(-3px); }
.bcard__thumb { width: 100%; aspect-ratio: 339 / 178; object-fit: cover; }
.bcard__body { padding: 14px 24px 20px; }
.bcard__meta { display: flex; align-items: center; gap: 5px; }
.bcard__date { font-size: 11px; color: var(--ink); margin-right: 4px; }
.bcard__tag { border: 1px solid #c9d8de; border-radius: 5px; font-size: 10px; padding: 1px 8px; background: #fff; }
.bcard__ttl { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.75; }
.bcard__author { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 11px; }
.bcard__label { font-weight: 500; }
.bcard__author > img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.bcard__sns img { border-radius: 0; }

.blog-pager { margin-top: 60px; display: flex; justify-content: center; gap: 40px; font-size: 16px; }
.blog-pager__num.is-current { font-weight: 700; color: var(--orange); }

/* サイドバー */
.bside { padding-top: 10px; }
.bside__search { position: relative; }
.bside__search input {
  width: 100%;
  height: 40px;
  border: 1px solid #c9d8de;
  border-radius: 6px;
  background: #fff;
  padding: 0 40px 0 14px;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
}
.bside__search input::placeholder { color: #99adb2; }
.bside__search button { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; }
.bside__lens { display: block; width: 14px; height: 14px; margin: 0 auto; border: 2px solid var(--gray); border-radius: 50%; position: relative; }
.bside__lens::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 7px; height: 2px; background: var(--gray); transform: rotate(45deg); }
.bside__sec { margin-top: 40px; }
.bside__ttl { font-size: 13px; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid #c9d8de; }
.bside__cats { list-style: none; }
.bside__cats li { border-bottom: 1px solid #dfe8e6; }
.bside__cats a { display: block; padding: 11px 4px; font-size: 12px; }
.bside__cats a:hover { color: var(--orange); }
.bside__item { display: flex; gap: 10px; padding: 14px 0; border-bottom: 1px solid #dfe8e6; }
.bside__item img { flex: 0 0 79px; width: 79px; height: 42px; object-fit: cover; }
.bside__itemttl { font-size: 11px; line-height: 1.6; }
.bside__itemtags { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 3px; }
.bside__itemtags span { border: 1px solid #c9d8de; border-radius: 5px; font-size: 10px; padding: 0 6px; background: #fff; }
.bside__itemdate { margin-top: 5px; font-size: 10px; color: var(--ink); }

@media (max-width: 768px) {
  .blog-layout { grid-template-columns: 1fr; padding: 10px 10px 40px; }
  .blog-popular { padding: 44px 20px 44px; background: linear-gradient(180.7deg, #f1f5f4 -6.4%, #e4ede6 21.3%, #f5da78 58.4%, #dfebe7 94%); }
  .blog-popular__ttl { font-size: 22px; }
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-grid--rest { margin-top: 32px; padding: 0 10px; }
  .blog-pager { margin-top: 40px; }
  .bside { padding: 0 10px; }
}

/* 追補: ページャー円形・カードSNS・ヒーロー寸法 */
.blog-popular { min-height: 618px; }
.bcard__sns { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.blog-pager { align-items: center; gap: 28px; }
.blog-pager__num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; }
.blog-pager__num.is-current { background: var(--ink); color: #fff; font-weight: 700; }
.blog-pager__next { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #c9d8de; background: #fff; }
.blog-pager__next::after { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 7px; border-color: transparent transparent transparent var(--ink); margin-left: 2px; }
