/***********************************
    common.css  WordPress作成ページおよびHTML作成ページに共通なCSS（ヘッダー、フッター含む）
 >> wp.css  WordPressで作成しているページにのみ必要なCSSを記述
    specific.css  HTMLで作成しているページにのみ必要なCSSを記述
   *********************************/


/***********************************
************************************
基本レイアウト
************************************
************************************/

/*エディターデフォルトカラー*/
.wp-block-button__link.has-cf-green-background-color {
    background-color: #007A46 !important;
}
.wp-block-button__link.has-cf-lightgreen-background-color {
    background-color: #cede00 !important;
}
.wp-block-button__link.has-cf-yellowgreen-background-color {
    background-color: #84bd00 !important;
}
.wp-block-button__link.has-cf-orange-background-color {
    background-color: #fd9000 !important;
}
.has-cf-green-color {
    color: #007A46 !important;
}
.has-cf-lightgreen-color {
    color: #cede00 !important;
}
.has-cf-yellowgreen-color {
    color: #84bd00 !important;
}
.has-white-background-color {
    background-color: white !important;
}

:root {
    /* --wp--preset--color--【登録したスラッグ名】: 色のコード; */
    --wp--preset--color--cf-yellowgreen: #84bd00;
    --wp--preset--color--cf-green: #007A46;
    --wp--preset--color--cf-lightgreen: #cede00;
    --wp--preset--color--cf-orange: #fd9000;
}

/*カラムでスマホで縦表示になったときに、間隔を調整する追加CSS*/
@media screen and (max-width: 960px) {
  div.wp-block-columns.columns-gap0 {
    gap:0;
  }
}

/********************************
固定ページ上部のメインビジュアル
******************************/
div.fixed-page div.wp-block-cover.fullwidth {
  margin-right: calc(50% - 50vw); 
  margin-left: calc(50% - 50vw); 
  width: 100vw; 
  display: block;
  padding: 0;
}
div.fixed-page div.wp-block-cover__inner-container{
  padding-left: 25px;
  padding-right: 25px;
}
div.fixed-page div.wp-block-cover.fullwidth h2 {
	color:#007a45;
	font-size:25px;
	line-height:1.2;
  margin-top: 20px;
}
div.fixed-page div.article_body {
  padding-top: 0;
}
/*メインビジュアルに白を乗せるのは、スマホではなし*/
div.fixed-page div.wp-block-cover.fullwidth span.has-white-background-color {
  display: none;
}
/*PCではメインビジュアルの上にテキストが乗っているが、スマホでは縦に並べる*/
div.fixed-page div.wp-block-cover.fullwidth img{
  position: static;
  height: auto;
}

/*メインビジュアルのPC用設定*/
@media screen and (min-width: 960px) {
  div.fixed-page div.wp-block-cover.fullwidth img.wp-block-cover__image-background {
      display: block;
      height: 400px;
      width: 100%;
      position: absolute;
  }
}
@media screen and (min-width: 960px) {
  div.fixed-page div.wp-block-cover span.wp-block-cover__background.has-background-dim {
    display: block;
  }
}
@media screen and (min-width: 960px) {
  div.fixed-page div.wp-block-cover.fullwidth span.has-white-background-color {
    display: block;
    background-color: white !important;
  }
}
@media screen and (min-width: 960px) {
  div.fixed-page div.wp-block-cover.fullwidth { 
    padding: 0 calc(50vw - 50%);
    display: flex;
  }
}
@media screen and (min-width: 960px) {
  div.fixed-page div.wp-block-cover.fullwidth h2 {
    font-size:30px;
  }
}



/******************************************
固定ページで、追加クラスsp_bgcolorがついたセクションには背景色
***********************************************/
div.fixed-page div.wp-block-group.sp_bgcolor {
  margin-right: calc(50% - 50vw); 
  margin-left: calc(50% - 50vw); 
  width: 100vw; 
  padding: 5px 25px 30px 25px;
  background-color: #F2EEE4;
}
/*PCでは背景色なし*/
@media screen and (min-width: 960px) {
  div.fixed-page .article_body .article_content div.wp-block-group.sp_bgcolor {
    background-color: transparent;
    margin: 0 auto;
    width: inherit;
    padding: 0;
  }
}



/*ページ内リンク（目次）*/
@media screen and (min-width: 960px) {
  div.fixed-page .article_body .article_content p.toc {
	  font-weight:bold;
	  font-size:15px;
	  margin-top:15px;
    display: block;
  }
}
@media screen and (min-width: 960px) {
  div.fixed-page .article_body .article_content p.toc a {
	  text-decoration:none;
  }
}
/*スマホ版では、固定ページの目次を非表示*/
div.fixed-page p.toc {
  display: none;
}


/*スマホ版では区切り線を非表示*/
div.fixed-page hr.wp-block-separator {
  display: none;
}
@media screen and (min-width: 960px) {
  div.fixed-page hr.wp-block-separator{
    display: block;
  }
}



/***********************************
  見出し
   *********************************/


/*これ必要か？*/
div.content p {
	margin-top:25px;
}



/*リスト*/
div.article_body li {
	list-style:disc;
}
div.article_body ul, div.article_body ol{
	margin-left:2em;
	color:#4d4e53;
}
@media screen and (min-width: 960px) {
  div.fixed-page .article_body .article_content ul {
/*    list-style:disc;*/
    padding-left:2em;
  }
}
/* ブログ記事内など、リストマークを出したい場合用 */
/*これ必要か？？*/
/*
div.article_content ul {
/*  list-style-type: disc;*/
/*
  margin: 1em 0 2em 2em;
}*/



/***********************************
   画像
   *********************************/

.article_body .article_content img {
  max-width: 100%;
  height:auto;
}
.article_body img {
  vertical-align: top;
}
/*これ必要か？*/
.article_body p.caption {
  background-color: #e5e5e5;
  font-size: 1.0rem;
  line-height: 1.5;
  margin-top: -10px;
  padding: 15px;
  text-align: justify;
}

/*メディアとテキストブロックの画像の処理*/
div.fixed-page figure.wp-block-media-text__media {
  margin: 0 0 30px 0;
  text-align: center;
}
div.fixed-page div.wp-block-media-text__content {
  padding-left: 0;
  padding-right: 0;
}

/*WordPressページの画像に関する設定*/
figure.wp-block-image {
	margin-top:20px;
  margin-bottom: 25px;
}

.wp-block-image figcaption {
	color:#9c9c9c;
	font-size:12px;
	padding-top:0px;
}

div.wp-block-image figure{
	margin-top:20px;
}




/* ブログカード（スマホ・PC共通） */
div.fixed-page ul.wp-block-post-template {
  margin-left: 0;
}
div.fixed-page li.wp-block-post {
  list-style: none;
}
div.fixed-page li.wp-block-post div.wp-block-post-date {
  font-weight: bold;
  color: #007A46;
  margin-bottom: 10px;
}
div.fixed-page li.wp-block-post figure.wp-block-post-featured-image {
  margin-top: 25px;
}

/* PC専用設定（960px以上）
   スマホ版に追加・上書きしたい要素のみ記述 */
@media screen and (min-width: 960px) {
  div.fixed-page .article_body .article_content li.wp-block-post {
    border: none;
    padding: 10px 0;
  }
  div.fixed-page .article_body .article_content ul.wp-block-post-template {
    padding-left: 0;
  }
  div.fixed-page .article_body .article_content li.wp-block-post h3.wp-block-post-title {
    margin: 0;
  }
}



/*画像と文章横並び*/
@media screen and (min-width: 960px) {
  div.fixed-page .article_body .article_content figure.wp-block-media-text__media {
	  margin: 0 20px 0 20px;
  }
}



/***********************************
   ボタン（「詳しく見る」などのボタン）
   色はEditor上で設定する
   追加CSSにcfj-btnを入れればこのデザインになる
   *********************************/

/* 共通設定（スマホ・PC共通）
   ベースとなるボタンの形状とアイコン定義 */
div.wp-block-button.cfj-btn a {
  position: relative;
  display: block;
  color: #FFF;
  padding: 6px 22px 5px 40px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  text-decoration: none;
}

/* 白い丸アイコン (::before) */
div.wp-block-button.cfj-btn a::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12px;
  margin: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
}

/* 矢印アイコンのベース (::after) */
/*
div.wp-block-button.cfj-btn a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 19px;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-right: 0 solid transparent;
  box-sizing: border-box;
  border-left: 4px solid currentColor;
}*/
div.wp-block-button.cfj-btn a::after {
  content: "";
  position: absolute;
  left:19px;
  top: 15px;
  width: 6px;
  height: 7px;
  background: inherit; /* ← これが重要 */
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* カラー設定：グリーン */
/*
div.wp-block-button.btn_green a {
  background-color: #7AB800;
}
div.wp-block-button.btn_green a:hover {
  background-color: #3E9801;
}
div.wp-block-button.btn_green a::after {
  border-left: 4px solid #7AB800;
}

/* カラー設定：オレンジ */
/*
div.wp-block-button.btn_orange a {
  background-color: #FD9000;
}
div.wp-block-button.btn_orange a:hover {
  background-color: #e66700;
}
div.wp-block-button.btn_orange a::after {
  border-left: 4px solid #FD9000;
}*/

/* PC専用設定*/
@media screen and (min-width: 960px) {
  .article_body .article_content div.wp-block-button.cfj-btn {
    margin-top: 15px;
  }
}

/*投稿記事などのボタンで、文字色をデフォルト白にする。投稿編集画面で文字色設定すればそちらが優先される*/
div.wp-block-button a {
  color: white;
}


/***********************************
   表
   *********************************/

/* ====================================
   1. リストを使った疑似テーブル (.table)
   ==================================== */
.article_body .article_content .table {
  margin-top: 30px;
  border-bottom: 1px solid #f2eee4;
}

.article_body .article_content .table > li {
  display: table;
  width: 100%;
  padding: 10px 0;
}

.article_body .article_content .table > li:nth-child(2n-1) {
  background-color: #f2eee4;
}

.article_body .article_content .table > li .ttl,
.article_body .article_content .table > li .data {
  display: table-cell;
  vertical-align: middle;
}

.article_body .article_content .table > li .ttl {
  width: 30%;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 22px;
  padding: 0 5%;
}

.article_body .article_content .table > li .data {
  padding-right: 5%;
  font-size: 1.3rem;
  line-height: 22px;
}


/* ====================================
   2. 固定ページの通常テーブル (tableタグ)
   ==================================== */
div.fixed-page table {
  border-collapse: collapse;
  border-spacing: 0;
  border-top: solid 1px #CCCCCC;
  margin-bottom: 20px;
}

div.fixed-page table th,
div.fixed-page table td {
  padding: 10px;
  border-bottom: solid 1px #CCCCCC;
  line-height: 1.7;
}

/* 左端のセル（項目名などを想定）に背景色をつける */
div.fixed-page table td:first-child {
  background: #F2EEE4;
}


/* ====================================
   3. WordPress標準ブロック・その他テーブル
   ==================================== */
figure.wp-block-table {
  margin-top: 20px;
  border-top: solid 1px #CCCCCC;
}

figure.wp-block-table table td {
  padding: 10px;
  line-height: 1.7;
  border-bottom: solid 1px #CCCCCC;
}

/* ストライプ（縞模様）背景の設定
   WP標準ブロック と .table01クラス で共通の背景色 */
figure.wp-block-table tr:nth-child(2n-1),
div.article_body table.table01 tr:nth-child(2n-1) {
  background-color: #f2eee4;
}

/* 枠線付きテーブル (.table-border) */
div.article_body figure.table-border table,
div.article_body figure.table-border table td,
div.article_body figure.table-border table th {
  border: 1px solid rgb(182, 180, 180);
}



/***********************************
   これ何？
   *********************************/

.article_body .article_content .btn_area {
	margin-top: 30px;
	text-align: center;
}
.article_body .article_content .btn_area .button {
	margin-bottom: 10px;
}
.article_body .article_content .btn_area .button a {
	color: #fff;
}
.article_body .article_content .btn_area p {
	margin-bottom: 0;
	font-size: 1.0rem;
	text-align: left;
	padding-left: 1em;
	text-indent: -1em;
}



/***********************************
   ボックスなど
   *********************************/

/* --- 見出し付きボックス薄緑 (cfj-box-lightgreen) --- */
div.fixed-page div.wp-block-column.cfj-box-lightgreen {
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  padding: 0px 25px 10px 25px;
}
div.fixed-page div.wp-block-column.cfj-box-lightgreen h3 {
  height: 48px;
  line-height: 48px;
  text-align: center;
  overflow: hidden;
  background-color: #e5f1ec;
  border-radius: 5px 5px 0 0;
  margin:0 -25px;
}
div.fixed-page div.wp-block-column.cfj-box-lightgreen ul {
  padding: 15px 40px;
}
div.fixed-page div.wp-block-column.cfj-box-lightgreen p {
  padding: 10px;
}
div.fixed-page div.wp-block-column.cfj-box-lightgreen p.has-text-align-center {
  text-align: center;
}

/* --- 見出し付きボックス濃い緑 (cfj-box-green) --- */
div.fixed-page div.wp-block-column.cfj-box-green {
  border: 1px solid #007a45;
  border-radius: 5px;
  background-color: #e5f1ec;
  padding: 0 25px 10px 25px;
}
div.fixed-page div.wp-block-column.cfj-box-green h3 {
  height: 48px;
  line-height: 45px;
  overflow: hidden;
  background-color: #007a45;
  border-radius: 5px 5px 0 0;
  margin: 0 -25px;
  color: white;
}
/*div.fixed-page div.wp-block-column.cfj-box-green h4,
div.fixed-page div.wp-block-column.cfj-box-green p,
div.fixed-page div.wp-block-column.cfj-box-green ul,*/
div.fixed-page div.wp-block-column.cfj-box-green figure {
  margin-top: 0;
  padding: 15px 40px;
}
div.fixed-page div.wp-block-column.cfj-box-green p.has-text-align-center {
  text-align: center;
}

/* --- 見出しなしのボックス (cfj-box-border) --- */
div.fixed-page div.wp-block-columns.cfj-box-border,
div.fixed-page div.wp-block-column.cfj-box-border {
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  padding: 0 25px 10px 25px;
}

/* --- 資料室のボックス (cfj-library-box) --- */
div.fixed-page div.wp-block-column.cfj-library-box {
  border: 1px solid #e2e2e2;
  margin-bottom: 1.75em;
  background-color: #FFF;
}
div.fixed-page div.wp-block-column.cfj-library-box h3 {
  display: grid;
  place-items: center;
  height: 60px;
  line-height: 1.1;
  background-color: #e5f1ec;
  margin: 0;
  color: #4595d1;
  padding: 15px;
  font-size: 18px;
  text-align: center;
}

div.fixed-page div.wp-block-column.cfj-library-box h4 {
  padding: 10px 25px 0 65px;
  color: #007a45;
  height: 50px;
  position: relative;
  margin-top: 10px;
  font-weight: normal;
  vertical-align: middle;
  margin-bottom: 0;
  font-weight: bold;
}
/* アイコン部分 */
div.fixed-page div.wp-block-column.cfj-library-box h4::before {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 25px;
  content: "特集";
  padding: 0.2em;
  background: #007a45;
  color: #fff;
  font-weight: bold;
  font-size: 9px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  transform: translateY(-50%);
  box-sizing: content-box;
}
div.fixed-page div.wp-block-column.cfj-library-box div.wp-block-columns {
  padding: 0 25px;
  margin-bottom: 0;
  margin-top: 8px;
}
div.fixed-page div.wp-block-column.cfj-library-box p {
  margin-top: 17px;
}
div.fixed-page div.wp-block-column.cfj-library-box p.has-text-align-center {
  text-align: center;
}

/* ボックスPC専用設定（960px以上）*/
@media screen and (min-width: 960px) {
  
  /* --- 薄緑ボックスのPC調整 --- */
  /* h3: 上下中央揃えの方法を変更 */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-box-lightgreen h3 {
    display: grid;
    align-content: center;
    line-height: 1.2em;
    padding: 5px 10px;
    margin-left: -25px;
    margin-right: -25px;
  }
  /* p: 上下のpaddingを0にする */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-box-lightgreen p {
    padding: 0 10px;
  }
  /* h4: スマホ版になかったpaddingを追加 */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-box-lightgreen h4 {
    padding: 15px 40px;
  }

  /* --- 濃い緑ボックスのPC調整 --- */
  /* 各カラムの高さを揃える */
  div.fixed-page .article_body .article_content .wp-block-columns:has(> .cfj-box-green) {
    display: flex;
    flex-wrap: wrap;
  }
  div.fixed-page .article_body .article_content .wp-block-columns:has(> .cfj-box-green) > .wp-block-column {
    height: auto;
  }
  /* h3: 上下中央揃えの方法を変更 */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-box-green h3 {
    display: grid;
    align-content: center;
    line-height: 1.2em;
    margin-left: -25px;
    margin-right: -25px;
  }
  /* h4: 記述の統一のため記載（実質値は同じだがセレクタ優先度調整の可能性あり） */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-box-green h4 {
    padding: 15px 40px;
  }

  /* --- 資料室ボックス (cfj-library-box) --- */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-library-box {
    padding-bottom: 15px;
  }
  /* h3: 高さ変更と下線追加 */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-library-box h3 {
    height: 60px;
    border-bottom: 1px solid #e2e2e2;
    font-size: 17px;
  }

  /* h4: 左余白の微調整とグリッドレイアウト化 */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-library-box h4 {
    display: grid;
    align-content: center;
    padding-left: 70px; /* 55pxから変更 */
  }
  /* アイコン: サイズと位置の微調整 */
  div.fixed-page .article_body .article_content div.wp-block-column.cfj-library-box h4::before {
    top: 58%;
    font-size: 10px;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }
}


/*ステップ表示（書き損じハガキの送付手順など） 追加CSSにcfj-stepを追加すると使える*/
div.fixed-page div.wp-block-columns.cfj-step {
	border: 1px solid #e2e2e2;
  border-radius: 5px;
	background-color:#f2eee4;
	padding: 0px 25px 0px 70px;
	position:relative;
}
div.fixed-page div.wp-block-columns.cfj-step p:first-child {
	color:white;
	background-color:#007a45;
	display:inline-flex;
	position:absolute;
	top:-30px;
	left:15px;
	width:40px;
  height:40px;
	font-weight:bold;
	font-size:20px;
	border-radius:5px;
  justify-content: center;
	align-items: center
}



/*テキスト横並びリスト 資料室の「過去の年次報告書」に使っている*/
div.fixed-page div.wp-block-columns.horizontal_list {
	margin-bottom:0;
  gap: 0;
}
div.fixed-page div.wp-block-columns.horizontal_list p{
	margin-top: 5px;
  margin-bottom: 0;
}

/*緊急支援レポート一覧などで、抜粋を表示するところ*/
.article_body p.wp-block-post-excerpt__excerpt {
  margin-top: 5px;
  margin-bottom: 5px;
}
.article_body .wp-block-post-excerpt__more-text {
  margin-top: 0;
}


/***********************************
   ブログページ（最新ニュース）の設定
   *********************************/

/*冒頭のタイトルの調整*/
div.article_body div.article_ttl h2 {
  font-size: 20px;
  margin-top: 15px;
}
@media screen and (min-width: 960px) {
  div.article_body div.article_ttl h2 {
    margin-bottom: 24px;
    font-weight: bold;
    font-size: 30px;
    line-height: 44px;
    color: #000;
  }
}

/*  サイドバーの設定*/
#blog_sidebar {
  display: none; /* スマホではサイドバー非表示 */
}

/*PCのサイドバー、メイン部分の設定（960px以上）*/
@media screen and (min-width: 960px) {

  /* --- 全体レイアウト --- */
  .contents_main {
    width: 960px;
    margin: 0 auto;
  }

  /* メインコンテンツエリア */
  .blog-page .article_body  {
    float: left;
    width: 651px;
    padding-left: 0;
    padding-right: 0;
    padding-top: 38px;
  }
  /* --- サイドバーエリア --- */
  #blog_sidebar {
    display: block; /* PCでは表示 */
    float: right;
    width: 250px;
    padding-top: 38px;
  }

  /* サイドバーの各パーツ（ボックス） */
  .sidebar_asset {
    margin-bottom: 40px;
  }
  .sidebar_asset.last {
    margin-bottom: 0;
  }

  /* サイドバーのデザイン（タイトル・本文背景） */
  .sidebar_ttl {
    padding: 5px 10px;
    font-size: 13px;
    line-height: 24px;
    color: #fff;
    background-color: #007a45;
    border-radius: 5px 5px 0 0;
    margin: 0;
  }
  .sidebar_body {
    padding: 20px;
    font-size: 12px;
    line-height: 18px;
    background-color: #f7f7f7;
    border-radius: 0 0 5px 5px;
  }

  /* --- サイドバー内のリスト設定 --- */
  /* 最新記事リスト */
  .sidebar_asset .latest_post li {
    margin-top: 6px;
  }
  .sidebar_asset .latest_post li:first-child {
    margin-top: 0;
  }
  .sidebar_asset .latest_post li .time {
    display: block;
    font-size: 11px;
    line-height: 20px;
    color: #9c9c9c;
  }

  /* カテゴリ・タグリストの配置 */
  .sidebar_asset .blog_cat_box li {
    margin-top: 10px;
  }
  .sidebar_asset .blog_cat_box li:first-child {
    margin-top: 0;
  }
  .sidebar_asset .blog_cat_box li a {
    display: inline-block;
  }
  .sidebar_asset .blog_tag_box li {
    float: left;
    margin: 0 10px 10px 0;
  }

  /* --- カテゴリ・タグの共通デザイン --- */
  .wrap-contents .blog_cat,
  .wrap-contents .blog_tag {
    font-size: 11px;
    color: #4d4e53;
  }
  .wrap-contents .blog_tag_emergency {
    font-size: 11px;
    color: #d10101;
  }
  /* サイドバー内でのフォントサイズ微調整 */
  .sidebar_asset .blog_tag_box li .blog_tag,
  .sidebar_asset .blog_tag_box li .blog_tag_emergency {
    font-size: 12px;
  }
  /* カテゴリボタンのデザイン */
  .wrap-contents .blog_cat {
    padding: 4px 10px 3px;
    border: 1px solid #e2e2e2;
    background-color: #e5f1ec;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
  }
  .blog_cat:hover {
    opacity: 0.5;
    filter: alpha(opacity=50);
  }
  .sidebar_asset .blog_cat_box li .blog_cat {
    padding: 2px 10px 1px;
  }
}


/************************記事一覧ページ
****************/
@media screen and (min-width: 960px) {
  div#blog_main.blog-index  {
    float: left;
    width: 651px;
    padding-left: 0;
    padding-right: 0;
  }
  #blog_main.blog-index {
    background-color:white;
  }
  ul.blog-menu-btn {
    display: none;
  }
  div#blog_main.blog-index  dl{
    padding-left: 0;
    padding-right: 0;
  }
  #tabs.blog-index-menu {
    padding-left: 0;
    padding-bottom: 0;
  }
  .blog-index dl {
        display: flex;       /* dtとddを横並びにする */
        gap: 24px;          /* dtとddの間の余白（お好みで調整してください） */
        align-items: flex-start; /* 上揃えにする */
    }

    .blog-index dt {
        width: 200px;        /* 横幅を200pxに指定 */
        flex-shrink: 0;      /* 画面が狭くなっても200pxより縮まないように固定 */
        margin-bottom: 0;    /* 横並びになるので、下方向の余白をリセット */
    }
    .blog-index dd {
        flex-grow: 1;        /* 残りの横幅をいっぱいに広げる */
    }
}
.blog-index-menu {
  padding: 25px;
}
.blog-index-menu p {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.blog-menu-btn {
  display: table;
  width: 100%;
}
.blog-menu-btn li {
  display: table-cell;
  width: 50%;
}
.blog-menu-btn li a {
  background-color: #c8c8c8;
  color: #fff;
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  height: 100%;
  padding: 1.0em 0.5em;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  width: 100%;
}
.blog-menu-btn li a:before {
  content: '';
  background: url(../_img/com/link_arrow_right01.png) no-repeat;
  background-size: 15px;
  display: inline-block;
  height: 15px;
  margin-right: 5px;
  vertical-align: middle;
  width: 15px;
}
.blog-menu-btn li a.on {
  background-color: #7ab800;
}
.blog-menu-btn li a.on:before {
  background: url(../_img/com/link_arrow_down01.png) no-repeat;
  background-size: 15px;
}

#blog-menu-btn-category {
  border-right: 2px solid #fff;
}
#blog-menu-btn-category a {
  border-radius: 7px 0 0 7px;
}
#blog-menu-btn-category a.on {
  border-radius: 7px 0 0 0;
}
#blog-menu-btn-monthly a {
  border-radius: 0 7px 7px 0;
}
#blog-menu-btn-monthly a.on {
  border-radius: 0 7px 0 0;
}

#blog-menu-category {
  background-color: #f4f9e9;
  border-radius: 0 0 7px 7px;
  display: none;
  padding: 15px;
}
.blog-menu-category-list li {
  display: inline-block;
  margin-bottom: 10px;
}
.blog-menu-tag-list li {
  display: inline-block;
  margin-bottom: 2px;
}

#blog-menu-monthly {
  background-color: #f4f9e9;
  border-radius: 0 0 7px 7px;
  display: none;
  padding: 25px;
  text-align: center;
}

.blog-index {
  background-color: #f2eee4;
  padding: 25px 25px 35px;
}

.blog-index dl {
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 16px;
}
.blog-index dl:last-child {
	margin-bottom: 0;
}
.blog-index dt {
  margin-bottom: 10px;
}
.blog-index dt a {
  color: #4595d1;
}
.blog-index dt img {
  margin-bottom: 10px;
  vertical-align: top;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 10px;
}
.blog-index dd h2 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  text-align: justify;
  margin-top: 0;
}

.blog-index .txt {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 12px;
  text-align: justify;
}
.blog-index .button a:after {
  border: 3px solid transparent;
  border-top: 5px solid #7ab800;
  top: 18px;
  left: 17px;
}

.blog-index-marks {
  margin-bottom: 7px;
}
.blog-index-marks li {
  float: left;
  margin: 0 1.0em 0 0;
  width: auto;
}

.blog-category {
  background-color: #e5f1ec;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
}
.blog-category a {
  color: #4d4e53;
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  height: 100%;
  padding: 6px;
  text-decoration: none;
  width: 100%;
  line-height: 1.0;
}

.article_body .blog-single-marks a {
  color: #4d4e53;
}

.blog-tag a {
  color: #4d4e53;
  font-size: 1.2rem;
  line-height: 25px;
}
.blog-tag-emr a,
.blog-single-marks a.blog_tag_emergency {
  color: #d10101 !important;
}

.blog-date {
  color: #007a45;
  font-size: 1.2rem;
  font-weight: bold;
}


.article_ttl {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 17px;
  text-align: justify;
}
.article_ttl_em {
  color: #007a45;
}

.blog-single-marks {
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
  display: table;
  padding: 10px 0 5px;
  width: 100%;
}
.blog-single-marks > li {
  display: table-cell;
}
.blog-single-marks li.blog-date {
  line-height: 25px;
  text-align: right;
  vertical-align: top;
  width: 7.0em;
}
.blog-single-marks ul li {
  float: left;
  margin: 0 5px 5px 0;
  width: auto;
}
.blog-single-marks li.blog-tag {
  margin-bottom: 0;
  line-height: 0;
}

.article_meta_social {
  border-bottom: 1px solid #d0d0d0;
  margin-bottom: 25px;
  padding: 10px 0;
}
.article_meta_social li {
  float: left;
  margin-right: 10px;
  width: auto;
}

.article_footer {
  background-color: #f2eee4;
  margin: 30px 0 10px;
  padding: 15px;
  text-align: center;
}
.article_footer dt {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.article_footer .article_meta_social {
  border-bottom: 0;
  margin-bottom: 0;
  padding: 0;
  text-align: center;
}
.article_footer .article_meta_social li {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.article_pager {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.article_pager li {
  background-color: #e5f1ec;
  display: table-cell;
  vertical-align: middle;
}
.article_pager li a {
  color: #4d4e53;
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 15px 5px;
  position: relative;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
}

.article_pager_prev {
  border-right: 2px solid #fff;
  border-radius: 7px 0 0 7px;
}
.article_pager_prev a {
  padding-left: 25px !important;
}
.article_pager_prev a:before {
  content: '';
  background: url(../_img/com/link_arrow_green_left01.png) no-repeat;
  background-size: 15px;
  height: 15px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  left: 7px;
  width: 15px;
}

.article_pager_next {
  border-left: 2px solid #fff;
  border-radius: 0 7px 7px 0;
}
.article_pager_next a {
  padding-right: 25px !important;
}
.article_pager_next a:after {
  content: '';
  background: url(../_img/com/link_arrow_green_right01.png) no-repeat;
  background-size: 15px;
  height: 15px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  right: 7px;
  width: 15px;
}

.wrap_youtube {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}
.wrap_youtube iframe,
.wrap_youtube object,
.wrap_youtube embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*ブログ（最新ニュース）のスタイルがおかしいのを修正*/
div.article_body table.table01 tr:nth-child(2n-1){
	background-color:#f2eee4;
}

div.article_body figure.wp-block-table table tr:nth-child(2n-1){
	background-color:#f2eee4;
}

div.article_body figure.table-border table,
div.article_body figure.table-border table td,
div.article_body figure.table-border table th{
	border: 1px solid rgb(182, 180, 180);
}

div.article_body table.table01 td,
div.article_body table.table01 th,
div.article_body figure.wp-block-table table td,
div.article_body figure.wp-block-table table th{
	padding: 10px;
}

div.article_body table.table01,
div.article_body figure.wp-block-table table {
  margin-bottom: 20px;
}

div.article_body figcaption{
  font-size: 15px;
  color: #666;
}

div.article_body .wp-block-image {
  text-align: center;
}


/*カテゴリー表示などの調整*/

div.article_body ul.blog-single-marks.cf {
  list-style: none;
  padding: 10px 0 5px 0;
  margin-left: 0;
}
div.article_body ul.blog-single-marks.cf li{
  list-style: none;
}
div.article_body ul.blog-single-marks.cf li ul{
  margin-left: 0;
}
div.article_body ul.article_meta_social.cf {
  list-style: none;
  margin-left: 0;
}
div.article_body ul.article_meta_social.cf li{
  list-style: none;
}
div.article_body ul.article_pager {
  list-style: none;
  padding: 0;
  margin-left: 0;
}


/*インタビュー*/
.intervieweye{
	margin: 0;
	padding: 0;
}
.intervieweye img{
	width: 100%;
	height: auto;
}

.interviewbox h3.relay{
	/*color: #007a45;*/
	margin: 10px 0 20px 0;
	padding: 15px 0;
	font-size: 1.4em;
	font-weight: normal;
	
    /*border-image: linear-gradient(to right, #367A49 0%, #CFDA47 100%);
    border-image-slice: 1;*/
    border-bottom: 3px solid #ccc;
    border-image: linear-gradient(to right, #367A49 0%, #CFDA47 100%);
    border-image-slice: 0 0 1 0;
    
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.interviewbox h4.intv{
	color: #007a45;
	margin: 0 0 20px 0;
}
.interviewbox img.interviewimg{
	width: 650px;
	height: auto;
	margin: 0 0 20px 0;
}
.interviewbox p{
	margin: 0 0 20px 0;
}
ul.portraitul{
	left: 0;
	margin: 40px 0;
	padding: 0 0 0 8px;
	overflow: hidden;
	position: relative;
	width: 270px;
}
ul.portraitul li{
	display: inline-block;
	margin: 0;
	padding: 0 0 0 0;
	outline: none;
}
ul.portraitul li.slick-active{
	border: 0;
}
ul.portraitul li img{
	padding: 0 0 0 0;
	width: 250px;
	height: auto;
	border: 0;
}
.slick-prev{
	position: absolute;
	top: 0px;
	left: 0;
	z-index: 99999;
	background: #00753D;
	color: #fff;
	border: 0;
	cursor: pointer;
	width: 80px;
	outline: none;
}
.slick-next{
	position: absolute;
	top: 0px;
	right: 0;
	z-index: 99999;
	background: #00753D;
	color: #fff;
	border: 0;
	cursor: pointer;
	width: 80px;
	outline: none;
}
img.ftimg{
	width: 340px;
	height: auto;
}
div.ftpro{
	margin: 40px 0;
	padding: 0;
}

/*リレー対談*/

.relay_gest{
	margin: 0 0 20px 0;
	
	overflow: hidden;
	
	background-image: linear-gradient(
		-45deg,
		#ffeed9 25%,
		#ffffff 25%,
		#ffffff 50%,
		#ffeed9 50%,
		#ffeed9 75%,
		#ffffff 75%,
		#ffffff
	);
	background-size: 10px 10px;
	background-attachment: fixed;
	
}
.relay_gest img{ float: left; margin: 0 20px 0 0; width: 30%; height: auto;}
.relay_gest .rbox{ float: left; text-align: left; margin : 15px 0 0 0;  width: 30%;}
.relay_gest p.h3, .relay_gest p.h4, .relay_gest p.h5{ margin: 0; padding: 0; width: 100%; font-weight: bold; }
.relay_gest p.h3{ font-size: 14px;}
.relay_gest p.h4{ font-size: 8px; margin: 10px 0 0 0;}
.relay_gest p.h5{ font-size: 14px;}
.relay_gest p{ clear: both; float:right; padding: 24px 24px 0 24px; font-size: 0.85em;}

.relay_interviewer{
	width: 100%;
	margin: 0 0 40px 0;
	overflow: hidden;

	background-image: linear-gradient(
		-45deg,
		#e5f1ec 25%,
		#ffffff 25%,
		#ffffff 50%,
		#e5f1ec 50%,
		#e5f1ec 75%,
		#ffffff 75%,
		#ffffff
	);
	background-size: 10px 10px;
	background-attachment: fixed;

}
.relay_interviewer img{ float: right; width: 30%; height: auto;}
.relay_interviewer .rbox{ float: left; text-align: left; margin : 15px 0 0 0; padding: 0 0 0 20px; width: 70%;}
.relay_interviewer p.h3, .relay_interviewer p.h4, .relay_interviewer p.h5{ margin: 0; padding: 0; width: 100%; font-weight: bold; }
.relay_interviewer p.h3{ font-size: 14px;}
.relay_interviewer p.h4{ display: inline-block; font-size: 8px; margin: 10px 0 0 0;}
.relay_interviewer p.h5{ font-size: 14px;}
.relay_interviewer p{ clear: both; float:right; padding: 24px 24px 0 24px; font-size: 0.85em;}

li.relayli{ overflow: hidden; }
.sideimg{ float: left; width: 60px; height: auto; margin: 0 10px 5px 0; }




/*歴史のページの背景*/
body:has(.bg-history) div.content {
	background-image:url("https://www.childfund.or.jp/_img/about/history/history_bg.jpg");
}
div.content h2.bg-history {
	margin-top:0 !important;
	padding-top:30px;
}
body:has(.bg-history) hr.wp-block-separator {
	border-top:1px solid #000 !important;
  display: block;
}
body:has(.bg-history) div.wrap-contents.fixed-page {
	background-image:url("https://www.childfund.or.jp/_img/about/history/history_bg.jpg");
}
body:has(.bg-history) div.wrap-contents.fixed-page hr {
	display:block!important;
		border-top:1px solid #000 !important;
}


/*infinite scroll*/
/* Infinite Scroll v2.1.0 ローディングエリア全体の中央寄せ */
#infscr-loading {
/*    display: block;*/
    text-align: center !important; /* 中の画像やテキストを左右中央にする */
    margin: 30px auto !important;  /* 上下に30pxの余白を作り、自身も中央に配置 */
    width: 100% !important;
    clear: both !important;        /* 記事の回り込み（float）を完全に解除する */
    float: none !important;
}

/* 中のローディング画像（imgタグ）の設定 */
#infscr-loading img {
/*    display: inline-block;*/
    float: none !important;
    margin: 0 auto !important;
    vertical-align: middle !important;
}