/* レスポンシブ余白ユーティリティ */
.u-section { padding: 2.5rem 1.25rem; }
@media (min-width: 768px) { .u-section { padding: 4rem 1.5rem; } }


/* 読了幅（本文最大幅） */
.prose { max-width: 720px; margin-inline: auto; }


/* CTA カード */
.cta-box { background: var(--wp--preset--color--soft); border: 1px solid #e5e7eb; border-radius: 12px; padding: 1.25rem; }
.cta-box .cta-title { font-weight: 700; margin-bottom: .25rem; }
.cta-box .cta-desc { color: var(--wp--preset--color--muted); margin-bottom: .75rem; }
.cta-box .cta-btn { display: inline-block; background: var(--wp--preset--color--brand); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.cta-box .cta-btn:hover { opacity: .9; }


/* キャプション画像の下余白統一 */
figure { margin: 0 0 1.5rem 0; }
figcaption { color: var(--wp--preset--color--muted); font-size: .875rem; }


/* 小さな注意喚起 */
.note { background: #fff7ed; border: 1px solid #fed7aa; padding: .75rem 1rem; border-radius: 8px; }
/* カードの見栄え微調整 */
.wp-block-group.has-soft-border-color {
  transition: box-shadow .2s ease;
}
.wp-block-group.has-soft-border-color:hover {
  box-shadow: 0 6px 18px rgba(17,17,17,.06);
}

/* 新着記事カードの画像の角丸を綺麗に */
.wp-block-post-featured-image img { border-radius: 8px; }

/* グリッドのレスポンシブ（保険） */
@media (max-width: 1024px) {
  .wp-block-query .is-grid.columns-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .wp-block-query .is-grid.columns-3 { grid-template-columns: 1fr; }
}

/* ボタンの見た目を一定に */
.wp-element-button { font-weight: 700; }
/* ホームだけタイトル非表示 */
.home .entry-title { display: none; }
