/* ============================================================
   blog/blog.css — noteマガジン連携ブログ一覧ページ専用
   ネイビー基調（--primary #1E2A5A）＋アクセント #0891B2
   ※カードの片側アクセント色帯（border-left/border-top）は使わない
   ============================================================ */

.bl-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px 90px; }

/* ---------- カバー ---------- */
.bl-cover {
  margin: 34px 0 40px;
  padding: 46px 44px 44px;
  border-radius: 24px;
  background: linear-gradient(135deg, #111834 0%, #1E2A5A 56%, #26386f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bl-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 84% 18%, rgba(8, 145, 178, .30) 0%, transparent 60%);
  pointer-events: none;
}
.bl-cover > * { position: relative; z-index: 1; }
.bl-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px; font-weight: 800; letter-spacing: 2.6px;
  color: #67E8F9;
  background: rgba(8, 145, 178, .18);
  border: 1px solid rgba(103, 232, 249, .34);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.bl-cover h1 {
  font-size: clamp(25px, 4.1vw, 38px);
  font-weight: 900; line-height: 1.42; letter-spacing: -.6px;
  margin: 0 0 16px;
}
.bl-cover h1 em { font-style: normal; color: #67E8F9; }
.bl-lede {
  font-size: 15px; line-height: 1.98;
  color: rgba(255, 255, 255, .84);
  max-width: 74ch; margin: 0;
}
.bl-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 26px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 12.5px; color: rgba(255, 255, 255, .66);
}
.bl-meta b { color: #fff; font-weight: 800; }

/* ---------- セクション見出し ---------- */
.bl-sechead {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--border, #EAEDF0);
}
.bl-sechead .l {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px; font-weight: 800; letter-spacing: 2.6px;
  color: var(--accent, #0891B2);
}
.bl-sechead .r { font-size: 12.5px; color: var(--text-muted, #9ca3af); font-weight: 700; }
.bl-sec { margin-top: 56px; }
.bl-sec > h2 {
  font-size: clamp(20px, 2.6vw, 25px);
  font-weight: 900; line-height: 1.5; letter-spacing: -.4px;
  margin: 0 0 12px; color: var(--primary, #1E2A5A);
}
.bl-sec > p.bl-note {
  font-size: 14px; line-height: 1.95; color: var(--text-sec, #4b5563);
  max-width: 78ch; margin: 0 0 26px;
}

/* ---------- 記事カードグリッド ---------- */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.bl-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1.5px solid rgba(30, 42, 90, .10);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text, #0D1117);
  box-shadow: 0 10px 28px -20px rgba(30, 42, 90, .30);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1), border-color .35s ease;
}
.bl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 145, 178, .42);
  box-shadow: 0 30px 56px -26px rgba(30, 42, 90, .30), 0 20px 40px -26px rgba(8, 145, 178, .26);
}
.bl-thumb {
  aspect-ratio: 1200 / 630;
  background: linear-gradient(135deg, #EEF1FA, #dbe2f5);
  overflow: hidden;
}
.bl-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}
.bl-card:hover .bl-thumb img { transform: scale(1.045); }
.bl-thumb.is-ph {
  display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
}
.bl-thumb.is-ph span {
  font-size: 14px; font-weight: 800; line-height: 1.6;
  color: var(--primary, #1E2A5A);
}
.bl-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.bl-badge {
  display: inline-flex; align-items: center; align-self: flex-start;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 800; letter-spacing: 1.8px;
  color: var(--accent, #0891B2);
  background: var(--accent-lt, #E6F7FB);
  padding: 4px 11px; border-radius: 999px;
  margin-bottom: 11px;
}
.bl-card h3 {
  font-size: 16.5px; font-weight: 900; line-height: 1.58;
  margin: 0 0 12px;
}
.bl-card:hover h3 { color: var(--accent, #0891B2); }
.bl-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: auto; padding-top: 12px;
  font-size: 12px;
}
.bl-date { color: var(--text-muted, #9ca3af); font-weight: 700; font-family: 'Inter', sans-serif; }
.bl-read { color: var(--accent, #0891B2); font-weight: 800; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.bl-card:hover .bl-read { transform: translateX(4px); }

/* ---------- 空・注記 ---------- */
.bl-empty {
  padding: 46px 24px; text-align: center;
  background: var(--blue-soft, #EEF1FA);
  border-radius: 18px;
  font-size: 14px; color: var(--text-sec, #4b5563); line-height: 1.9;
}
.bl-noscript {
  margin: 20px 0 0; padding: 16px 20px;
  background: var(--accent-lt, #E6F7FB);
  border: 1px solid rgba(8, 145, 178, .28);
  border-radius: 12px;
  font-size: 13.5px; line-height: 1.9; color: #0E5A6E;
}
.bl-noscript a { color: #0E5A6E; font-weight: 800; }

/* ---------- マガジン導線（サムネカード型） ---------- */
.bl-mag {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border: 1.5px solid rgba(30, 42, 90, .12);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none; color: var(--text, #0D1117);
  box-shadow: 0 14px 34px -24px rgba(30, 42, 90, .34);
  transition: transform .5s cubic-bezier(.16, 1, .3, 1), box-shadow .5s cubic-bezier(.16, 1, .3, 1), border-color .35s ease;
}
.bl-mag:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 145, 178, .45);
  box-shadow: 0 30px 60px -28px rgba(30, 42, 90, .32), 0 20px 44px -28px rgba(8, 145, 178, .26);
}
.bl-mag-thumb {
  background: linear-gradient(135deg, #111834 0%, #1E2A5A 60%, #0891B2 140%);
  min-height: 172px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 26px; text-align: center; color: #fff;
}
.bl-mag-thumb .n {
  font-family: 'Inter', sans-serif; font-weight: 900;
  font-size: 34px; letter-spacing: -1px; line-height: 1;
}
.bl-mag-thumb .k {
  font-size: 10.5px; font-weight: 800; letter-spacing: 2.4px;
  color: #67E8F9;
}
.bl-mag-body { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.bl-mag-body h3 { font-size: 19px; font-weight: 900; line-height: 1.5; margin: 0 0 10px; }
.bl-mag-body p { font-size: 13.5px; line-height: 1.9; color: var(--text-sec, #4b5563); margin: 0 0 14px; }
.bl-mag-cta { font-size: 13px; font-weight: 800; color: var(--accent, #0891B2); }
.bl-mag:hover .bl-mag-cta { text-decoration: underline; }

@media (max-width: 720px) {
  .bl-wrap { padding: 0 16px 64px; }
  .bl-cover { padding: 32px 22px 30px; border-radius: 18px; margin-top: 22px; }
  .bl-grid { grid-template-columns: 1fr; gap: 18px; }
  .bl-mag { grid-template-columns: 1fr; }
  .bl-mag-thumb { min-height: 128px; }
  .bl-mag-body { padding: 22px 20px; }
}
