@charset "utf-8";
/*----------------------------------------------------------------------------------------

	single-post.css

----------------------------------------------------------------------------------------*/

.is-root-container {
	color: #555;
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	word-break: break-all;
	font-family: 'Noto Sans JP', sans-serif;
}
.is-root-container::after {
	display: block;
	clear: both;
	content: "";
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container {
		font-size: 14px;
		line-height: 1.8;
	}
}

/*ドロップキャップ*/
.has-drop-cap:not(:focus):first-letter {
	font-size: 28px;
}

.blocks-gallery-grid .blocks-gallery-image figcaption,
.blocks-gallery-grid .blocks-gallery-item figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
	box-sizing: border-box;
}
.wp-block-file {
	padding: 10px;
	border: 1px solid #142850;
	border-radius: 7px;
	display: inline-block;
}
.wp-block-file .wp-block-file__button {
	background-color: #142850;
}

/* テキスト ///
---------------------------------------------- */
.is-root-container p {
	margin: 1.5em 0;
}
.is-root-container a {
	text-decoration: underline;
}
.is-root-container img {
	max-width: 100%;
	height: auto;
}
/* --- PC --- */
@media (min-width: 720px) {
	.is-root-container a:hover {
		opacity: 0.75;
	}
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container p {
		margin: 1.3em 0;
	}
	.is-root-container .has-medium-font-size {
		line-height: 1.5;
	}
}
.is-root-container em {
	font-style: italic;
}
.is-root-container s {
	text-decoration: line-through;
}
/*整形済みテキスト*/
.is-root-container .wp-block-preformatted {
	font-family: inherit;
	line-height: 1.5;
}
/*ボタン*/
.is-root-container .wp-block-buttons a {
	box-sizing: border-box;
	text-decoration: none;
}

/* 大見出し ///
---------------------------------------------- */
.is-root-container :where(h1, h2, h3){
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	padding-left: 10px;
	border-bottom: 1px solid #ccc;
	border-left: 6px solid var(--acc1);
	color: #333;
	font-size: 1.36em;
	line-height: 1.5;
}
.is-root-container :where(h1, h2, h3):not(:first-child){
	margin-top: 3em;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container :where(h1, h2, h3){
		border-left: 4px solid var(--acc1);
		font-size: 1.24em;
		line-height: 1.3;
	}
	.is-root-container :where(h1, h2, h3):not(:first-child){
		margin-top: 2.5em;
		margin-bottom: 1.3em;
	}
}

/* 中見出し ///
---------------------------------------------- */
.is-root-container :where(h4, h5, h6) {
	box-sizing: border-box;
	margin: 0 0 2.5em;
	padding: 10px 10px 9px 14px;
	width: 100%;
	display: flex;
	background-color: #f2f2f2;
	border-left: 4px solid var(--acc1);
	color: #333;
	font-size: 1.125em;
	line-height: 1.5;
}
.is-root-container :where(h4, h5, h6):not(:first-child) {
	margin-top: 4em;
}
.is-root-container :where(h1, h2, h3) + :where(h4, h5, h6) {
	margin-top: 1.1em !important;
}

/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container :where(h4, h5, h6) {
		margin-bottom: 1.5em;
		font-size: 1.05em;
	}
	.is-root-container :where(h4, h5, h6):not(:first-child) {
		margin-top: 2.5em;
		margin-bottom: 1.3em;
	}
}

/* リスト ///
---------------------------------------------- */
.is-root-container :where(ul, ol) {
	margin-top: 1.8em;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container :where(ul, ol) {
		margin-top: 1.3em;
	}
}
.is-root-container li > :is(ul, ol) {
	margin-top: 0.5em;
}
.is-root-container ul > li {
	list-style-type: disc;
}
.is-root-container ol > li {
	list-style-type: decimal;
}
.is-root-container li {
	margin-left: 1.3em;
	text-indent: -1.3em;
	line-height: 1.5;
	list-style-position: inside;
}
.is-root-container li + li {
	margin-top: 0.5em;
}
.is-root-container .blocks-gallery-grid li {
	margin-left: 0;
	text-indent: 0;
}

/* キャプション //
------------------------------------------------------*/
.is-root-container .blocks-gallery-caption,
.is-root-container .wp-block-image figcaption {
	width: 100%;
	display: block;
	color: #555d66;
	font-size: 13px;
	text-align: center;
}
.is-root-container .wp-block-group.has-background {
	padding: 20px 30px;
	margin-top: 0;
	margin-bottom: 0;
}
.is-root-container .wp-block-image .aligncenter {
	text-align: center;
}

/* 区切り線 ///
---------------------------------------------- */
.is-root-container hr.wp-block-separator {
	margin: 28px auto;
	padding-top: 0;
	padding-bottom: 0;
	border: 1px solid #999;
}
.is-root-container hr.wp-block-separator.is-style-dots {
	border: none;
}

/* 引用文 //
------------------------------------------------------*/
.is-root-container .wp-block .wp-block-quote {
	margin: 1.5em 1em;
	padding-left: 1em;
	border-left: 4px solid #000;
}
.is-root-container .wp-block .wp-block-quote p {
	margin: 1em 0;
	line-height: 1.5;
}
.is-root-container .wp-block .wp-block-quote cite {
	color: #6c7781;
	font-size: 13px;
	margin-top: 1em;
	font-style: normal;
}

.pagebody a + figcaption.blocks-gallery-item__caption {
	pointer-events: none;
}

.is-root-container :where(h1, h2, h3, h4, h5, h6, blockquote, blockquote ul, blockquote ol){
	clear: both;
}

/* テーブル ///
---------------------------------------------- */
.is-root-container table {
	box-sizing: border-box;
	display: block;
	border: none;
	font-size: 0.95em;
	line-height: 1.5;
}
.is-root-container table tbody {
	width: 100%;
	border-collapse: unset;
	display: table;
	table-layout: fixed;
}
.is-root-container table td {
	box-sizing: border-box;
	padding: 10px;
	width: auto !important;
	border: 1px solid #ccc;
	vertical-align: middle;
}
.is-root-container table td:first-child {
	width: 10em !important;
	background-color: #efefef;
}

/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container table {
		min-width: 100%;
		height: auto !important;
		overflow-x: scroll;
	}
	.is-root-container table tbody {
		margin-bottom: 5px;
		min-width: 720px;
	}
	.is-root-container table::-webkit-scrollbar {
		height: 10px;
		background: #f0f0f0;
	}
	.is-root-container table::-webkit-scrollbar-thumb {
		background: #cdcdcd;
		border-radius: 2px;
	}
}

/* カレンダー ///
---------------------------------------------- */
.is-root-container .wp-block-calendar table caption {
	display: block;
}
.is-root-container .wp-block-calendar thead {
	width: 100%;
	display: table;
}
.is-root-container table.wp-calendar-table td:first-child {
	width: auto !important;
}
.is-root-container table.wp-calendar-table td {
	background-color: #fff;
}

/* 引用 ///
---------------------------------------------- */
.is-root-container blockquote {
	background-color: #efefef;
	margin-top: 1em;
	padding: 1em;
	border-left: 4px solid #000;
	display: block;
	font-size: 0.9em;
	line-height: 1.6;
}
.is-root-container blockquote cite {
	color: #6c7781;
	font-size: 13px;
}
.is-root-container blockquote > *:first-child {
	margin-top: 0;
}
.is-root-container blockquote a {
	padding-left: 1em;
	display: block;
	position: relative;
	color: #245fbb;
}
.is-root-container blockquote a::before {
	margin: auto;
	width: 1em;
	height: 1em;
	position: absolute;
	top: 0;
	left: 0;
	content: "\f054";
	font-weight: 700;
	font-family: "Font Awesome 5 Free";
}
.is-root-container blockquote a[target="_blank"]::after {
	margin-left: 5px;
	content: "\f08e";
	font-weight: 700;
	font-family: "Font Awesome 5 Free";
}
.is-root-container blockquote li a::before {
	display: none;
}
.is-root-container blockquote > *:first-child {
	margin-top: 0;
}
.is-root-container blockquote > *:last-child {
	margin-bottom: 0;
}

/* 回り込み(float) ///
---------------------------------------------- */
.is-root-container :where(.alignright, .alignleft) {
	margin-top: 0.5em;
	margin-bottom: 1.5em;
}
.is-root-container .alignright {
	margin-left: 1em;
	float: right;
}
.is-root-container .alignleft {
	margin-right: 1em;
	float: left;
}
.is-root-container .aligncenter {
	margin: 2.5em auto;
	display: block;
}
.is-root-container .wp-block .aligncenter {
  margin-right: auto;
  margin-left: auto;
}
.is-root-container .wp-block .alignright {
  margin-left: 2em;
}
.is-root-container .wp-block .alignleft {
  margin-right: 2em;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container :where(.alignright, .alignleft) {
		margin-right: 0;
		margin-left: 0;
		width: 100%;
		float: none;
	}
	.is-root-container .aligncenter {
		margin: 1.8em auto;
	}
}

/* 説明付き画像 ///
---------------------------------------------- */
.is-root-container .wp-caption img {
	margin: 0 !important;
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block !important;
}
.is-root-container .wp-caption a {
  display: block;
}
.is-root-container :where(.wp-caption-dd, .wp-caption-text) {
	margin: 0;
	padding-top: 0;
	background-color: #efefef;
	font-size: 14px;
	text-align: center;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container .wp-caption {
		width: 100% !important;
	}
}

/* 埋め込み ///
---------------------------------------------- */
.is-root-container .wp-block-embed {
	margin: 1.5em 0;
}
.is-root-container .wp-block-embed iframe {
	background-color: #fff;
}
.is-root-container .wp-block-embed.is-type-video iframe {
	width: 100%;
	height: auto;
	background-color: #efefef;
	display: block;
	aspect-ratio: 16/9;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container .wp-block-embed {
		margin: 1.3em 0;
	}
}