/*
Theme Name: nano_tcd065 Child
Template: nano_tcd065
*/

/* ここにカスタムCSSを追加 */

/* note一覧のカードレイアウト */
.note-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.note-card {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.note-card__image {
  position: relative;
  padding-top: 56.25%; /* 16:9のアスペクト比 */
  overflow: hidden;
}

.note-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note-card__content {
  padding: 16px;
}

.note-card__date {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.note-card__title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.note-card__excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .note-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .note-cards {
    grid-template-columns: 1fr;
  }
}


.p-noteEmbed__eyecatch {
  width: 500px !important;
}

iframe {
  height: 400px !important;
}
