@charset "utf-8";
/*
Theme Name: AGENDA Child
Theme URI:
Description: AGENDA (agenda_tcd059) の子テーマ。サイト固有の CSS 調整用。
Author: iTEP Japan
Template: agenda_tcd059
Version: 1.0.0
Text Domain: agenda-tcd059-child
*/

/* ----------------------------------------------------------------------
 記事本文の字下げ（旧: 親テーマ style.css への直接追記）
---------------------------------------------------------------------- */
.post_content p { text-indent: 1em; }
.post_content > div:not([class]):not([style]) {
  line-height: 2.4;
  margin: 0 0 2em 0;
  text-indent: 1em;
}
.post_content p br::after { content: "\3000"; }
.post_content p:has(> img),
.post_content p:has(> a > img),
.post_content p.c,
.post_content .wp-caption-text,
.post_content blockquote p,
.post_content .note_box > p:first-child,
#fixed_footer_content .post_content p,
#comments .post_content p,
#profile_top .post_content p { text-indent: 0; }
body.single-post .post_content .note_box > p:first-child {
  text-indent: 0 !important;
  text-align: center;
}

/* ----------------------------------------------------------------------
 ブログ一覧カード: サムネ比率ゆれによる崩れ防止
 size4 (554x380) 想定。未生成サムネでも枠高さを揃える。
---------------------------------------------------------------------- */
#blog_list .image {
  height: 189px; /* 276 * 380 / 554 */
  overflow: hidden;
}
#blog_list .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1260px) {
  #blog_list .post_list {
    display: flex;
    flex-wrap: wrap;
  }
  #blog_list .item {
    display: flex;
    flex-direction: column;
  }
  #blog_list .image {
    height: auto;
    aspect-ratio: 554 / 380;
  }
}
