@charset "UTF-8";

body {
  background: #fff;
}

main.encore-content {
	padding: 90px 0 50px;
}

.news_list ul li{
  box-sizing: content-box;
}

main.news-index {
  color: #000;
}

.entry-header {
  background: none;
}

.singular .entry-header{
  width: 1000px;
  border: none;
  margin: 0 auto;
  padding: 50px 0 0;
}

.entry-header h1.entry-title {
  text-align: left;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5em;
  margin-bottom: 50px;
  color: #000;
  font-family: 'Roboto', sans-serif;
}

.post-date {
  text-align: left;
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 20px;
  color: #000;
  font-family: 'Roboto', sans-serif;
}

h3.title_roboto {
  color: #000;
} 

nav.navigation a {
  color: #000;
}

.post-navigation .meta-nav {
  color: #000;
}






/* 本文エリアのデフォルトを左寄せに戻す（親のcenterを打ち消す） */
body.singular .entry-content {
  text-align: left !important;
}

/* Gutenberg の寄せ（center/right）は引き続き生かす */
body.singular .entry-content .has-text-align-center,
body.singular .entry-content .has-text-align-center * {
  text-align: center !important;
}
body.singular .entry-content .has-text-align-right,
body.singular .entry-content .has-text-align-right * {
  text-align: right !important;
}

/* 念のため：pやliに強制指定がある場合の保険 */
body.singular .entry-content p,
body.singular .entry-content li {
  text-align: inherit !important;
}






/* ================================
   Front: Gutenberg/TT1 content width = 1000px
   ================================ */
@media (min-width: 782px){

  /* 1) TT1が使う幅変数をフロントでも 1000px に */
  body.singular{
    --responsive--aligndefault-width: 1000px;
    --responsive--alignwide-width: 1000px;
  }

  /* 2) TT1の「entry-content直下の要素」に直接効かせる */
  body.singular .entry-content > *{
    max-width: 1000px !important;
    margin-left: auto;
    margin-right: auto;
  }

  /* 3) WordPressの新レイアウト（is-layout-constrained）対策 */
  body.singular .entry-content .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 4) wide を広げない（1000固定） */
  body.singular .entry-content .alignwide{
    max-width: 1000px !important;
  }

  /* 5) full はフル幅のまま（必要なら） */
  body.singular .entry-content .alignfull{
    max-width: none !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}



/* ================================
   Front: Typography baseline (match editor)
   ================================ */
body.singular .entry-content, div.entry-content p.has-medium-font-size {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #000;
}

/* 段落・リストの余白 */
body.singular .entry-content p{
  margin: 0 0 1.2em;
}
body.singular .entry-content ul,
body.singular .entry-content ol{
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
body.singular .entry-content li{
  margin: 0 0 0.4em;
}

/* 見出し（必要なら調整） */
body.singular .entry-content h2{
  font-size: 22px;
  line-height: 1.4;
  margin: 1.6em 0 0.8em;
}

body.singular .entry-content h3{
  font-size: 18px;
  line-height: 1.5;
  margin: 1.4em 0 0.7em;
}

/* 画像・figureの余白を揃える */
body.singular .entry-content figure{
  margin: 0 0 1.2em;
}
body.singular .entry-content img{
  max-width: 100%;
  height: auto;
}


/* strong が潰されるのを防ぐ（最終上書き） */
body.singular .entry-content strong,
body.singular .entry-content b{
  font-weight: 700 !important;
}

/* もし親要素側で font-weight を固定されている場合の対策 */
body.singular .entry-content :is(p, li, span, div) strong,
body.singular .entry-content :is(p, li, span, div) b{
  font-weight: 700 !important;
}



/* ===== 前/次リンク（「← 前の投稿」「次の投稿 →」）を小さく：広めに拾う ===== */
.post-navigation a,
.nav-previous a,
.nav-next a{
  font-size: 14px;
}

/* ===== 前/次の “投稿タイトル” 表示を小さく（テーマ差吸収） ===== */
.post-navigation .post-title,
.post-navigation p.post-title,
.nav-previous .post-title,
.nav-next .post-title,
.nav-previous p,
.nav-next p{
  font-size: 16px;
  line-height: 1.3;
}

/* ===== 記事タイトルを小さく（h1/h2/h3 どれでも拾う） ===== */
.entry-title,
h1.entry-title,
h2.entry-title,
h3.entry-title{
  font-size: 22px;
  line-height: 1.3;
}


/* Gutenbergの has-*-font-size を無効化して本文サイズに揃える */
body.singular .entry-content .has-small-font-size,
body.singular .entry-content .has-medium-font-size,
body.singular .entry-content .has-large-font-size,
body.singular .entry-content .has-x-large-font-size,
body.singular .entry-content .has-huge-font-size{
  font-size: inherit !important;
}
