@charset "utf-8";

/* ------------------
全体共通
------------------ */
.entry a {color: #09783f;}
.entry a:hover {text-decoration: underline;}

/* 別ウィンドウで開く */
.entry a[target="_blank"]::after {
  content: url("/common/img/external_icon.gif");
  display: inline-block;
  margin-left: 5px;
}
.entry a[href$=".pdf"]::after {
  content: url("/common/img/pdf_icon.gif");
  display: inline-block;
  margin-left: 5px;
}
.entry figure > a[href$=".pdf"]::after {
  content: none;
}
.entry a[href$=".docx"]::after,.entry a[href$=".doc"]::after {
  content: url("/common/img/word_icon.gif");
  display: inline-block;
  margin-left: 5px;
}
.entry a[href$=".xlsx"]::after,.entry a[href$=".xlsm"]::after,.entry a[href$=".xlsb"]::after,.entry a[href$=".xltx"]::after,.entry a[href$=".xls"]::after,.entry a[href$=".xlt"]::after,.entry a[href$=".xml"]::after,.entry a[href$=".csv"]::after {
  content: url("/common/img/excel_icon.gif");
  display: inline-block;
  margin-left: 5px;
}
.entry a[target="_blank"]:has(img)::after,.entry a[href$=".pdf"]:has(img)::after,.entry a[href$=".docx"]:has(img)::after,.entry a[href$=".doc"]:has(img)::after,.entry a[href$=".xlsx"]:has(img)::after,.entry a[href$=".xls"]:has(img)::after{
  content: none;
}

/* 画像のインライン出力要素打ち消し */
figure {padding: 0;margin: 0;}
figcaption {text-align: center;}
:where(.article_img--left,.article_img--center,.article_img--right) img {
  display: initial!important;
}

/* 画像のファイル名に「-waku」がある場合css適用 */
img[src*="-waku"] {
  border: 1px solid #ccc;
}

/* ------------------
記事更新用カスタムブロック
------------------ */
/*中国竞彩网（自動出力）*/
.entry_title {
 margin: 0 0 20px 0;
 padding: 20px;
 border: 1px solid #a8a17e;
 background: #f6f2e7;
 color: #978863;
 font-size: 2.4rem;
 font-weight: normal;
}

/* ページタイトル */
.article_title {
  margin: 0 0 40px 0;
  padding: 20px;
  border: 1px solid #a8a17e;
  background: #f6f2e7;
  color: #978863;
  font-size: 2.4rem;
  font-weight: normal;
}

/* 第三階層リンク見出し */
.article_linkbnr li {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  margin: 0 0 25px 0;
  border: 1px solid #a7a17d;
}
.article_linkbnr li:not(:has(a)) {
	color: #a7a17d;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 15px;
	&::before {
		content: "";
		display: inline-block;
		width: 0;
		height: 0;
		border-left: 3px solid #a7a17d;
		border-top: 3px solid transparent;
		border-bottom: 3px solid transparent;
	}
}
.article_linkbnr a {
  height: 100%;
  width: 100%;
  padding-left: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.6rem;
}
.article_linkbnr a::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 3px solid #a7a17d;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  display: inline-block;
}
.article_linkbnr a:hover {
  background: rgba(213,207,183,0.2);
}

/* 中見出し */
.article_headline {
  color: #978863;
  border-bottom: 1px solid #d4cfb8;
  margin: 20px 0;
  font-size: 2rem;
  font-weight: lighter;
}

/* 中見出し（小） */
.article_headline--s {
  color: #978863;
  border-bottom: 1px solid #d4cfb8;
  margin: 20px 0;
  padding: 0 0 5px 0;
  font-size: 1.6rem;
  font-weight: bold;
}

/* 見出し（数字付き） */
.article_headline--num {
  color: #978863;
  border-bottom: 1px solid #d4cfb8;
  margin: 20px 0;
  padding: 0 0 5px 0;
  font-size: 1.6rem;
  font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	&::before {
		content: "";
		width: 18px;
		height: 18px;
		padding-top: 2px;
		display: inline-flex;
		justify-content: center;
		align-items: center;
		font-size: 1.4rem;
		font-weight: bold;
		color: #fff;
		background: #978863;
	}
	&:nth-of-type(1)::before {content: "1";}
	&:nth-of-type(2)::before {content: "2";}
	&:nth-of-type(3)::before {content: "3";}
	&:nth-of-type(4)::before {content: "4";}
	&:nth-of-type(5)::before {content: "5";}
	&:nth-of-type(6)::before {content: "6";}
	&:nth-of-type(7)::before {content: "7";}
	&:nth-of-type(8)::before {content: "8";}
	&:nth-of-type(9)::before {content: "9";}
	&:nth-of-type(10)::before {content: "10";}
}

/*丸見出し*/
.article_circle--txt {
	text-indent: -16px;
	padding-left: 16px;
	margin-bottom: 20px;
}
.article_circle--txt::before {
	content: "";
	width: 10px;
	height: 10px;
	display: inline-block;
	border-radius: 50%;
	background: #a8a17e;
	margin-right: 6px;
}
.article_circle--txt a {
	text-indent: 0;
}

/* 小見出し*/
.article_subheadline {
  color: #666;
  padding: 5px 0 5px 15px;
  border-bottom: 1px solid #d4cfb8;
  margin: 0 0 20px 0;
  border-left: 5px solid #a8a17e;
  font-weight: normal
}

/* 本文 */
.article_txt {
  margin-bottom: 20px;
}

/* 下線付きリンクリスト */
.article_linklist {
  margin: 0 0 40px 10px;
}
.article_linklist li {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  gap: 5px;
}
.article_linklist li::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 3px solid #09783f;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  display: inline-block;
}

/* 参考リンク */
.article_referencelink {
  margin-bottom: 20px;
}
.article_referencelink li {
  display: flex;
  align-items: center;
  gap: 5px;
	margin-bottom: 10px;
}
.article_referencelink li::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 3px solid #09783f;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  display: inline-block;
}

/* 画像単体（左） */
.article_img--left {
  text-align: left;
  margin: 0 auto 30px;
}

/* 画像単体（中央） */
.article_img--center {
  text-align: center;
  margin: 0 auto 30px;
}

/* 画像単体（右） */
.article_img--right {
  text-align: right;
  margin: 0 auto 30px;
}

/* 画像2枚横並び */
.article_img--w {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0 auto 30px;
}

/* 画像3枚横並び */
.article_img--t {
  display: flex;
  justify-content: center;
  gap: 21px;
  margin: 0 auto 30px;
}

/* 画像4枚横並び */
.article_img--f {
	width: 100%;
  display: flex;
  gap: 10px;
	margin: 0 auto 20px;
}

/*注釈付きテキスト*/
.article_indent--txt {
	text-indent: -1.5rem;
	padding-left: 1.5rem;
}

/* テキストリスト */
.article_txtlist li {
	padding-left: 21px;
	position: relative;
	margin-bottom: 10px;
}
.article_txtlist li::before {
  content: '?';
  color: #808000;
	position: absolute;
	left: 0;
	top: 0;
}

/* 数字付きリスト */
.article_number--item {
	width: 100%;
	padding-left: 25px;
	margin-bottom: 20px;
	position: relative;
	&::before {
		content: "";
		width: 18px;
		height: 18px;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 1px 0 0;
		background: #d5cfb7;
		color: #000;
		font-weight: bold;
		font-size: 1.2rem;
		position: absolute;
		left: 0;
		top: 1px;
	}
	&:nth-of-type(1)::before {content: "1";}
	&:nth-of-type(2)::before {content: "2";}
	&:nth-of-type(3)::before {content: "3";}
	&:nth-of-type(4)::before {content: "4";}
	&:nth-of-type(5)::before {content: "5";}
	&:nth-of-type(6)::before {content: "6";}
	&:nth-of-type(7)::before {content: "7";}
	&:nth-of-type(8)::before {content: "8";}
	&:nth-of-type(9)::before {content: "9";}
	&:nth-of-type(10)::before {content: "10";}
	&:nth-of-type(11)::before {content: "11";}
	&:nth-of-type(12)::before {content: "12";}
}

/* 横並びコンテンツ（2つ） */
.article_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto;
}
.article_flex > .mt-be-column {
  width: calc(50% - 10px);
}
.article_flex > .mt-be-column div:last-child a {
  margin-bottom: 0;
}

/* 横並びコンテンツ（3つ） */
.article_flex--tri {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto;
}
.article_flex--tri > .mt-be-column {
  width: calc(33.3% - 7px);
}
.article_flex--tri > .mt-be-column div:last-child a {
  margin-bottom: 0;
}

/* 左寄せ画像（テキスト右）,右寄せ画像（テキスト左） */
.article_flex--img {
  display: flex;
  gap: 20px;
  margin: 0 auto 20px;
}
.article_flex--imgtxt {
	flex: 1;
}

/*2階層用リンク（単体項目）*/
.article_indexlink--single a {
  height: 40px;
  width: 100%;
  padding-left: 15px;
  display: flex;
  align-items: center;
  background: #a8a17e;
  color: #fff;
  font-size: 2rem;
  margin: 0 0 20px 0;
  font-weight: lighter;
}
.article_indexlink--single a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/*2階層用リンク（複数項目）*/
.article_indexlink--multiple {
  border: 1px solid #a8a27e;
  margin: 0 0 20px 0;
}
.article_indexlink--multiple p {
	height: 51px;
  border-bottom: 1px solid #a8a27e;
  display: flex;
  align-items: center;
  padding-left: 20px;
}
.article_indexlink--multiple p::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid #a8a17e;;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-right: 10px;
}
.article_indexlink--multiple p:last-child {
  margin: 0;
  border-bottom: none;
}
.article_indexlink--multiple p:has(a), .article_indexlink--multiple p.article_indexlink--head {
	padding-left: 0;
}
.article_indexlink--multiple p:has(a)::before, .article_indexlink--multiple p.article_indexlink--head::before  {
	content: none;
}
.article_indexlink--multiple a {
	height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 20px;
  color: #000;
}
.article_indexlink--multiple a::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid #a8a17e;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-right: 10px;
}
.article_indexlink--multiple p[style="padding-left: 40px;"]::before, .article_indexlink--multiple p[style="padding-left: 40px;"] a::before {
  content: "";
  display: block;
	border: none;
  width: 4px;
  height: 4px;
  background: #a8a17e;
  margin-right: 10px;
	border-radius: 50%;
}
.article_indexlink--multiple p[style="padding-left: 40px;"]:has(a)::before {
	content: none;
}
.article_indexlink--multiple p.article_indexlink--head {
  background: #a8a17e;
  color: #fff;
  font-size: 2rem;
  font-weight: lighter;
  margin: 0;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 20px;
}
.article_indexlink--multiple p.article_indexlink--head a {
  height: 40px;
  color: #fff;
	padding-left: 0;
}
.article_indexlink--multiple p.article_indexlink--head a:hover {
  text-decoration: none;
  background: none;
}
.article_indexlink--multiple p.article_indexlink--head a::before {
  content: none;
}

/* 詳細ボタンリスト */
.article_detail--list {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.article_detail--list a {
	padding: 5px 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	background: #d4cfb8;
	color: #978863;
}
.article_detail--list a:hover {
	text-decoration: none;
}
.article_detail--list a::before {
	content: "";
	display: inline-block;
  border-left: 4px solid #978863;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/*枠線付きボックス*/
.article_border--box {
	width: 100%;
	padding: 20px;
	border: 1px solid #d5cfb7;
	margin-bottom: 20px;
}

/* ------------------
テーブル
------------------ */
/*テーブル共通*/
.article_table--outer {
  width: 100%;
  overflow: auto;
  margin: 0 auto 20px;
}
colgroup {
  display: none;
}
.article_table {
  border: 1px solid #d4cfb8;
  table-layout: fixed;
	width: 100%;
}
.article_table tr, .article_table--item tr,
.article_table td, .article_table--item td,
.article_table th, .article_table--item th {height: auto!important;}
.article_table thead, .article_table thead th {
	background: #d4cfb9;
}
.article_table thead th:not(:last-child) {
	border-right: 1px solid #fff;
}
.article_table th {
  height: auto!important;
  padding: 10px;
  vertical-align: middle;
  border: 1px solid #d4cfb8;
  background: #f6f2e7;
  font-weight: normal;
  text-align: left;
}
.article_table td {
  height: auto!important;
  padding: 10px;
  border: 1px solid #d4cfb8;
}

/*テーブル2列　見出しあり 左色あり*/
.article_table.table_two th,.article_table.table_two--n th .article_table.table_two td, .article_table.table_two--n td {
	padding: 15px;
}
.article_table.table_two--n tbody th, .article_table.table_two th {
	width: 25%;
}
.article_table.table_two--n tbody td, article_table.table_two td {
	width: 75%;
}
/*テーブル2列　見出し無し*/

/*テーブル3列　見出しあり*/
.article_table.table_tri th, .article_table.table_tri td {
	padding: 15px;
}
/*項目（Q&Aなど）*/
.article_table--item {
	width: 100%;
	margin: 0 auto 10px;
}
.article_table--item th {
	width: 100px;
}
.article_table--item td, .article_table--item th {
	padding: 5px 8px;
}

/* ------------------
公開講座用
------------------ */
.article_society--box {
  width: 100%;
  border: 1px solid #d5cfb7;
  padding: 0 20px;
  margin-bottom: 20px;
}
.article_society--box:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  /* ページタイトル */
  .article_title {
    font-size: 2rem;
  }
  /* 画像2枚横並び */
  .article_img--w {
    flex-wrap: wrap;
    gap: 20px;
  }
/* 画像3枚横並び */
	.article_img--t {
		flex-wrap: wrap;
		gap: 10px;
		& > p {
			width: calc(50% - 5px);
		}
	}
	/* 画像4枚横並び */
	.article_img--f {
		flex-wrap: wrap;
		& > p {
			width: calc(50% - 5px);
		}
	}
  /* 横並びコンテンツ（2つ） */
  .article_flex > .mt-be-column {
    width: 100%;
  }
  /* 横並びコンテンツ（3つ） */
  .article_flex--tri > .mt-be-column {
    width: 100%;
  }
  /* 左寄せ画像（テキスト右） */
	.article_flex--img {
		flex-wrap: wrap;
		justify-content: center;
	}
	.article_flex--imgtxt {
		flex: initial;
	}
  /* ------------------
  テーブル
  ------------------ */
  .article_table tr:last-child td {
    border-bottom: none;
  }
  /*テーブル2列*/
  .article_table.table_two th, .article_table.table_two td, .article_table.table_two--n th, .article_table.table_two--n td, .article_table.table_two--n tbody th, .article_table.table_two--n tbody td {
    width: 100%;
    display: block;
    border: none;
    border-bottom: 1px solid #d4cfb8;
  }
	.article_table.table_two tbody th ,.article_table.table_two tbody td {width: 100%;}
	/*テーブル3列*/
	.article_table.table_tri {
		min-width: 759px;
	}
	/*項目（Q&Aなど）*/
	.article_table--item td, .article_table--item th {
		display: block;
		width: 100%;
	}

}