/* ========================================================== ニュース / カード グリッド ========================================================== */ /* デスクトップ: 3 カード */ .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; row-gap: 48px; } /* タブレット: 2 カード */ @media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; } } /* モバイル: 1 カード */ @media (max-width: 767px) { .news-grid { grid-template-columns: 1fr; row-gap: 32px; } } /* =========================================================== 注目のレポート =========================================================== */ .featured-report-text { min-width: 0; width: 100%; } .featured-report-text p, .featured-report-text h2 { white-space: normal; overflow-wrap: break-word; } /* ========================================================== イベント アーカイブ =========================================================== */ /* * 今後のイベントはアーカイブ記事として生成されます。 * デスクトップ = 3 列。 */ .post-type-archive-event #main.site-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; row-gap: 48px; } /* 個別の今後のイベント アーカイブ カード */ .post-type-archive-event #main &gt; article { margin: 0; min-width: 0; } /* * GeneratePress は、今後のイベントがない場合、空のアーカイブ テンプレート記事を残すことがあります。 * グリッド スペースを占有しないように、そのラッパーを完全に削除します。 */ .post-type-archive-event #main &gt; article.dynamic-content-template:empty { display: none !important; } /* ページネーションは、イベント グリッド全体にまたがる必要があります */ .post-type-archive-event #main &gt; .paging-navigation { grid-column: 1 / -1; } /* * 過去のイベントは、Past Events Hook によって個別に挿入されます。 * 常に新しい全幅の行から開始する必要があります。 */ .post-type-archive-event .past-events-section { grid-column: 1 / -1; width: 100%; margin-top: 32px; } /* Tablet: Upcoming Events = 2 columns */ @media (max-width: 1024px) { .post-type-archive-event #main.site-main { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; } .post-type-archive-event .past-events-section { margin-top: 24px; } } /* モバイル: 今後のイベント = 1 列 */ @media (max-width: 767px) { .post-type-archive-event #main.site-main { grid-template-columns: 1fr; row-gap: 32px; } .post-type-archive-event .past-events-section { margin-top: 16px; } } /* デフォルトの GeneratePress イベント アーカイブ タイトルを非表示にする */ .post-type-archive-event .page-header { display: none; } /* * カスタムのイベント アーカイブ ヒーローが上部の間隔を提供するので、 * GeneratePress の追加のサイト コンテンツ上部のパディングを削除します。 */ .post-type-archive-event #content.site-content { padding-top: 0 !important; } /* =========================================================== グローバルナビゲーション ========================================================== */ .gb-navigation a { transition: color 0.2s ease; } .gb-navigation a:hover { color: #3568b8; } html[lang=&quot;ja&quot;] { line-break: strict; overflow-wrap: normal; word-break: normal; }