@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

/* コラム一覧（home.php） */
.tg-list { margin: 0 calc(50% - 50vw); padding: 96px; background: #f8f7f6; }
.tg-list-heading { margin: 0 0 48px; padding: 0; border: none; background: none; font-size: 36px; font-weight: 600; line-height: 1.4; text-align: center; color: #000; }
.tg-list-grid { display: flex; flex-wrap: wrap; max-width: 1184px; margin: 0 auto; }
.tg-list-card { width: min(367px, calc((100% - 72px) / 3)); margin: 0 12px 24px; padding: 24px; background: #fff; border-radius: 10px; box-shadow: 0 2px 20px rgba(0,0,0,.1); text-decoration: none; color: #000; }
.tg-list-card-thumb { aspect-ratio: 1158 / 540; border-radius: 8px; background: #f3f1ee; }
.tg-list-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 画像のない記事は同じ大きさの枠にロゴを薄く表示 */
.tg-list-card-thumb.is-empty { display: flex; align-items: center; justify-content: center; }
.tg-list-card-thumb.is-empty::before { content: ""; width: 44px; height: 44px; background: url(/wp-content/uploads/2026/09/togetsu_logo.webp) center / contain no-repeat; opacity: .3; }
.tg-list-card .tg-list-card-title { margin: 24px 0 0; font-size: 16px; font-weight: 700; line-height: 1.6; letter-spacing: .05em; }
.tg-list-card .tg-list-card-date { margin: 24px 0 0; font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: .05em; color: #aaa; }
.tg-list-more { width: 200px; margin: 48px auto 0; padding: 10px 0; background: #000; border-radius: 10px; line-height: 24px; color: #fff; font-size: 16px; }

@media screen and (max-width: 834px) {
  .tg-list { padding: 96px 24px; }
  .tg-list-heading { font-size: 32px; }
  .tg-list-card { width: calc(50% - 24px); }
  .tg-list-card .tg-list-card-title { font-size: 14px; }
}

@media screen and (max-width: 480px) {
  .tg-list { padding: 48px 24px; }
  .tg-list-heading { font-size: 24px; }
  .tg-list-card { width: 100%; margin: 0 0 24px; }
}
