/* -------------------------------
   blog(note)専用CSS
-------------------------------- */

.blog-note-page {
  border-radius: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* heading */
.blog-hero{
  width: 100%;
  margin: 0 auto;
}

.note-heading {
  width: 100%;
  text-align: center;
  font-size: 1.7em;
  font-weight: bold;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #ccc;
}

.note-articles {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.note-link {
  display: inline;
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 50px;
}

/* こっちはnote記事のタイトル */
.note-articles h2 {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.note-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.note-item:hover {
  transform: translateY(-4px);
}

.note-item a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.note-thumb-wrap {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0 auto;
}

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

.note-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.note-content {
  padding: 16px;
}

.note-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.note-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

.note-excerpt {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .note-articles {
    width: 95%;
  }

  .note-list {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .note-title h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .note-content {
    padding: 12px;
    margin-bottom: 12px;
  }

  .note-date,
  .note-excerpt {
    font-size: 1rem;
  }
}

/* 遅延読み込み用CSS */
.lazy-load {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}