@charset "UTF-8";

/* ----------------------------------------
//
// gutenberg
//
---------------------------------------- */

/**
 * .type-post: 投稿ページ
 * .type-page: 固定ページ
 * [class*="type-"]: カスタム投稿を含むsingleページ
 * x.wp-block: 管理画面の記事編集画面用
 */

/*.type-post > * + *,
.type-page > * + * {
	margin-top: 30px;
}*/

@media (max-width: 767px) {
	.type-post > * + *,
	.type-page > * + * {
		margin-top: 20px;
	}
}

/* 投稿日等の記事meta情報 */
.type-post > .postMeta {
	margin-top: -20px;
}

@media (max-width: 767px) {
	.type-post > .postMeta {
		margin-top: -10px;
	}
}
/* end 投稿日等の記事meta情報 */

.type-post p,
.type-page p,
p.wp-block {
	font-size: 1.6rem;
	line-height: 1.75;
}

@media (max-width: 767px) {
	.type-post p,
	.type-page p,
	p.wp-block {
		font-size: 1.5rem;
	}
}

.type-post > p,
.type-page > p,
p.wp-block {
	margin-top: 1.25em;
	margin-bottom: 1.25em;
}

.type-post p:empty,
.type-page p:empty,
p.wp-block:empty {
	display: none;
}

.type-post a:not([class]),
.type-page a:not([class]) {
	color: #039be5;
}

.heading02,
main[class*="type-"] h2:not(.no-default-style),
h2.wp-block {
	position: relative;
	margin-bottom: 30px;
	padding-bottom: 22px;
	border-bottom: 1px solid #d1d2d3;
	font-size: 3rem;
	line-height: 1.25;
	font-weight: bold;
}

/*.heading02:not(.no-margin-top),
main[class*="type-"] h2:not(.no-default-style):not(.no-margin-top),
h2.wp-block {
	margin-top: 80px;
}*/

.heading02::after,
main[class*="type"] h2:not(.no-default-style)::after,
h2.wp-block::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 90px;
	height: 5px;
	background-color: #0078d2;
}

@media (max-width: 767px) {
	
	.heading02,
	main[class*="type-"] h2:not(.no-default-style),
	h2.wp-block {
		margin-bottom: 20px;
		padding-bottom: 20px;
		font-size: 2rem;
	}

	.heading02:not(.no-margin-top),
	main[class*="type-"] h2:not(.no-default-style):not(.no-margin-top),
	h2.wp-block {
	margin-top: 40px;
	}

	.heading02::after,
	main[class*="type"] h2:not(.no-default-style)::after,
	h2.wp-block::after {
	bottom: -2px;width: 60px;
	height: 3px;}
}

.heading03,
main[class*="type-"] h3:not(.no-default-style),
h3.wp-block {
	color: #0078d2;
	font-size: 2.2rem;
	line-height: 1.363;
	font-weight: bold;
}

.heading03:not(.no-margin-top),
main[class*="type-"] h3:not(.no-default-style):not(.no-margin-top),
h3.wp-block {
	margin-top: 40px;
}

@media (max-width: 767px) {

	.heading03,
	main[class*="type-"] h3:not(.no-default-style),
	h3.wp-block {
		font-size: 1.8rem;
		line-height: 1.458;
	}

	.heading03:not(.no-margin-top),
	main[class*="type-"] h3:not(.no-default-style):not(.no-margin-top),
	h3.wp-block {
		margin-top: 20px;
	}
}

.type-post h4,
.type-page h4,
h4.wp-block {
	margin-top: 2em;
	margin-bottom: 1.67em;
	padding-left: 0.5em;
	border-left: 4px solid #0078d2;
	font-weight: bold;
	font-size: 2rem;
	line-height: 1.333;
}

@media (max-width: 767px) {
	.type-post h4,
	.type-page h4,
	h4.wp-block {
		font-size: 1.8rem;
	}
}

.type-post h5,
.type-page h5,
h5.wp-block {
	position: relative;
	color: #454545;
	padding-bottom: 12px;
	border-bottom: 1px solid #d1d2d3;
	font-weight: bold;
	font-size: 1.8rem;
	line-height: 1.333;
}

.type-post h5::after,
.type-page h5::after,
h5.wp-block::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 90px;
	height: 1px;
	background-color: #454545;
}

@media (max-width: 767px) {
	.type-post h5,
	.type-page h5,
	h5.wp-block {
		font-size: 1.8rem;
	}
}

.type-post h6,
.type-page h6,
h6.wp-block {
	margin-top: 1.5em;
	margin-bottom: 1em;
	color: #0078d2;
	font-weight: bold;
	font-size: 1.6rem;
	line-height: 1.333;
}

@media (max-width: 767px) {
	.type-post h6,
	.type-page h6,
	h6.wp-block {
		font-size: 1.4rem;
	}
}

.type-post h2 strong,
.type-page h2 strong,
h2.wp-block strong,
.type-post h3 strong,
.type-page h3 strong,
h3.wp-block strong,
.type-post h4 strong,
.type-page h4 strong,
h4.wp-block strong,
.type-post h5 strong,
.type-page h5 strong,
h5.wp-block strong,
.type-post h6 strong,
.type-page h6 strong,
h6.wp-block strong {
	font-weight: inherit;
}

.type-post ul,
.type-page ul,
ul.wp-block,
.type-post ol,
.type-page ol,
ol.wp-block {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.type-post li,
.type-page li,
.type-post li,
.type-page li,
ul.wp-block li,
ol.wp-block li {
	line-height: 1.5;
}

.type-post li:empty,
.type-page li:empty,
.type-post li:empty,
.type-page li:empty,
ul.wp-block li:empty,
ol.wp-block li:empty {
	display: none;
}

.type-post li + li,
.type-page li + li,
.type-post li + li,
.type-page li + li,
ul.wp-block li + li,
ol.wp-block li + li {
	margin-top: 0.75em;
}

.type-post ul,
.type-page ul,
ul.wp-block {
	list-style: disc inside;
}

.type-post ul > li,
.type-page ul > li,
ul.wp-block > li {
	padding-left: 1.3em;
	text-indent: -1.3em;
}

.type-post ul > li::marker,
.type-page ul > li::marker,
ul.wp-block > li::marker {
	color: #0078d2;
}

.type-post ul.has-text-color > li::marker,
.type-page ul.has-text-color > li::marker,
ul.wp-block.has-text-color > li::marker {
	color: inherit;
}

.type-post ol,
.type-page ol,
ol.wp-block {
	list-style: none;
	counter-reset: i;
}

.type-post ol > li,
.type-page ol > li,
ol.wp-block > li {
	display: flex;
	position: relative;
	align-items: baseline;
}

.type-post ol > li::before,
.type-page ol > li::before,
ol.wp-block > li::before {
	position: relative;
	top: 0.333em;
	flex-shrink: 0;
	width: 1.5em;
	height: 1.5em;
	margin-right: 0.5em;
	border-radius: 50%;
	background-color: #0078d2;
	content: '';
}

.type-post ol.has-text-color > li::before,
.type-page ol.has-text-color > li::before,
ol.wp-block.has-text-color > li::before {
	background-color: currentColor;
}

.type-post ol > li::after,
.type-page ol > li::after,
ol.wp-block > li::after {
	display: flex;
	position: absolute;
	top: 0.333em;
	left: 0;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.5em;
	height: 1.5em;
	content: counter(i);
	color: #fff;
	counter-increment: i;
}

.type-post ol.-brackets > li::before,
.type-page ol.-brackets > li::before,
ol.wp-block.-brackets > li::before {
	position: static;
	align-items: baseline;
	width: auto;
	height: auto;
	background-color: transparent;
	content: '(' counter(i) ')';
	color: inherit;
	counter-increment: i;
}

.type-post ol.-brackets > li::after,
.type-page ol.-brackets > li::after,
ol.wp-block.-brackets > li::after {
	content: none;
}

.type-post ol.-kanji > li::before,
.type-page ol.-kanji > li::before,
ol.wp-block.-kanji > li::before {
	position: static;
	align-items: baseline;
	width: auto;
	height: auto;
	background-color: transparent;
	content: '(' counter(i, cjk-ideographic) ')';
	color: inherit;
	counter-increment: i;
}

.type-post ol.-kanji > li::after,
.type-page ol.-kanji > li::after,
ol.wp-block.-kanji > li::after {
	content: none;
}

.has-large-font-size,
.has-huge-font-size {
	line-height: 1.625;
}

.has-background:not(._) {
	padding: 1.25em 1.5em;
}

.type-post > .wp-block-image:first-child,
.type-page > .wp-block-image:first-child {
	margin-top: 0;
}

.type-page > .wp-block-image:first-child::before {
	display: block;
	height: 50px;
	content: '';
}

.wp-block-image.is-resized,
.wp-block-image > .is-resized {
	max-width: 75%;
}

.wp-block-image.is-resized {
	margin-right: auto;
	margin-left: auto;
}

.wp-block-image .aligncenter {
	margin-right: auto;
	margin-left: auto;
	float: none;
}

.wp-block-image .alignleft {
	margin: 0.5em 1em 0.5em 0;
	float: left;
}

.wp-block-image .alignright {
	margin: 0.5em 0em 0.5em 1em;
	float: right;
}

.wp-block-gallery .blocks-gallery-grid {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-gallery .blocks-gallery-item {
	padding-left: 0;
	line-height: 1;
	text-indent: 0;
}

.wp-block-table {
	margin-top: 2em;
	overflow-x: visible;
}

.wp-block-table td {
	padding: 0.5em 0.75em;
	border: 1px solid #e8e8e8;
	line-height: 1.5;
	vertical-align: middle;
}

.wp-block-table td:first-child {
	background-color: #f5f3ed;
	font-weight: bold;
}

.wp-block-table figcaption {
	margin-top: 0.5em;
	font-size: 1.3rem;
	line-height: 1.5;
}

.wp-block-table td ul,
.wp-block-table td ol {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* 「スタイル：ストライプ」の場合
---------------------------------------- */

.wp-block-table.is-style-stripes {
	border-bottom: none;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: #f6f4ec;
}

.wp-block-table.is-style-stripes th,
.wp-block-table.is-style-stripes td {
	border: 1px solid #e8e8e8;
}

.wp-block-table.is-style-stripes th {
	background-color: transparent;
}

.wp-block-table.is-style-stripes td:first-child {
	background-color: transparent;
}

/* end 「スタイル：ストライプ」の場合 */

/* 「ヘッダーセクションあり」の場合
---------------------------------------- */

.wp-block-table thead {
	border-bottom: none;
}

.wp-block-table th {
	padding: 0.5em 0.75em;
	border: 1px solid #e8e8e8;
	background-color: #f5f3ed;
	line-height: 1.5;
	vertical-align: middle;
}

.wp-block-table thead:not(:empty) + tbody td:not(#_) {
	background-color: transparent;
	font-weight: inherit;
}

/* end 「ヘッダーセクションあり」の場合 */

.wp-block-separator:not(#_) {
	max-width: 100px;
	margin-top: 3em;
	margin-bottom: 3em;
	border: none;
	border-bottom: 1px solid #ccc;
	opacity: 1;
}

.wp-block-embed {
	display: block;
	margin-top: 2em;
	margin-bottom: 2em;
}

.wp-block-embed:not(#_) {
	max-width: 100%;
}

.wp-block-embed.alignleft > .wp-block-embed__wrapper {
	text-align: left;
}

.wp-block-embed.aligncenter > .wp-block-embed__wrapper {
	text-align: center;
}

.wp-block-embed.alignright > .wp-block-embed__wrapper {
	text-align: right;
}

.wp-block-embed.aligncenter .twitter-tweet {
	margin-right: auto;
	margin-left: auto;
}

.wp-block-columns {
	margin-bottom: 1em;
}

.wp-block-column {
	margin-bottom: 0;
}

.wp-block-column.has-background {
	-ms-grid-row-align: stretch;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	height: auto;
	padding: 0.75em 1em;
}

.wp-block-column.has-background:not([class*="is-vertically-aligned"]) {
	justify-content: center;
}

.wp-block-column:last-child {
	margin-bottom: 0;
}

.wp-block-column.has-background:not(:first-child) {
	margin-left: 1em;
}

.wp-block-column > h2 {
	margin-top: 0.6375em;
	margin-bottom: 0.75em;
}

.wp-block-column > h3 {
	margin-top: 1em;
	margin-bottom: 1em;
}

.wp-block-column > h4 {
	margin-top: 1em;
	margin-bottom: 0.5em;
}

.wp-block-column > h5 {
	margin-top: 1em;
	margin-bottom: 0.835em;
}

.wp-block-column > h6 {
	margin-top: 0.75em;
	margin-bottom: 0.5em;
}

.wp-block-column > h2:first-child,
.wp-block-column > h3:first-child,
.wp-block-column > h4:first-child,
.wp-block-column > h5:first-child,
.wp-block-column > h6:first-child {
	margin-top: 0;
}

.wp-block-column.has-background > h2:first-child,
.wp-block-column.has-background > h3:first-child,
.wp-block-column.has-background > h4:first-child,
.wp-block-column.has-background > h5:first-child,
.wp-block-column.has-background > h6:first-child {
	margin-top: 0.5em;
}

.wp-block-column > p,
.wp-block-column > ul,
.wp-block-column > ol {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.wp-block-column > *:last-child {
	margin-bottom: 0;
}

.wp-block-group.counter {
	counter-reset: i;
}

.wp-block-group.counter h4,
.wp-block-group.counter h6 {
	display: flex;
	position: relative;
	align-items: baseline;
}

.wp-block-group.counter h4::before,
.wp-block-group.counter h6::before {
	position: relative;
	top: 0.333em;
	flex-shrink: 0;
	width: 1.5em;
	height: 1.5em;
	margin-right: 0.5em;
	border-radius: 50%;
	background-color: currentColor;
	content: '';
}

.wp-block-group.counter h4::after,
.wp-block-group.counter h6::after {
	display: flex;
	position: absolute;
	top: 0.333em;
	left: 0;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 1.5em;
	height: 1.5em;
	content: counter(i);
	color: #fff;
	counter-increment: i;
}

.wp-block-media-text {
	margin-top: 2em;
	margin-bottom: 2em;
}

.wp-block-media-text .wp-block-media-text__media {
	padding-right: 4%;
}

.wp-block-media-text .wp-block-media-text__content {
	align-self: flex-start;
	padding: 0;
	padding-left: 4%;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
	padding-right: 0;
	padding-left: 4%;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	padding-right: 4%;
	padding-left: 0;
}

.wp-block-media-text .wp-block-media-text__content *:not(#_) {
	margin-top: 0;
	margin-bottom: 0.75em;
}

.wp-block-buttons {
    -moz-column-gap: 1em;
         column-gap: 1em;
}

.wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
    width: calc(50% - 0.5em);
}

.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
    width: calc(25% - 0.75em);
}

.wp-block-button__link {
	padding-top: 1.1667em;
	padding-bottom: 1.1667em;
	transition: opacity 0.2s ease-out;
}

.wp-block-button__link[target="_blank"]::after {
	margin-left: 0.5em;
	content: '\f35d';
	font-weight: 900;
	font-family: 'Font Awesome 5 Free';
}

.wp-block-button__link:focus,
.wp-block-button__link:hover {
	opacity: 0.8;
}

_:lang(x)::-ms-backdrop,
.has-white-color.has-background {
	background-color: #555;
}

_:lang(x)::-ms-backdrop,
.wp-block-image > figure {
	display: flex !important;
}

_:lang(x)::-ms-backdrop,
.wp-block-image > figure > img {
	flex: 1 1 0%;
}

_:lang(x)::-ms-backdrop,
.type-post ol > li > *,
.type-page ol > li > *,
ol.wp-block > li > * {
	flex: 1 1 0%;
}

@media (max-width: 767px) {

	.type-post th br,
	.type-post td br,
	.type-page th br,
	.type-page td br {
		display: block;
	}

	.has-background:not(._) {
		padding: 0.75em;
	}

	.type-page > .wp-block-image:first-child::before {
		height: 30px;
	}

	.wp-block-image .alignleft,
	.wp-block-image .alignright {
		margin-right: auto;
		margin-left: auto;
		float: none;
	}

	.wp-block-table td {
		padding: 0.375em;
	}

	.wp-block-separator:not(#_) {
		margin-top: 2em;
		margin-bottom: 2em;
	}

	.wp-block-columns {
		flex-direction: column;
		margin-bottom: 1em;
	}

	.wp-block-column {
		margin-bottom: 1em;
	}

	.wp-block-column:empty {
		margin-bottom: -1em;
	}

	.wp-block-column:empty + .wp-block-column:empty {
		margin-bottom: 0;
	}

	.wp-block-column:not(:first-child):not(._) {
		margin-left: 0;
	}

	.wp-block-column > h2 {
		margin-bottom: 0.375em;
	}
	
	.wp-block-column > h3 {
		margin-bottom: 0.5em;
	}
	
	.wp-block-column > h4 {
		margin-bottom: 0.25em;
	}
	
	.wp-block-column > h5 {
		margin-bottom: 0.4175em;
	}
	
	.wp-block-column > h6 {
		margin-bottom: 0.25em;
	}

	.wp-block-media-text .wp-block-media-text__content *:not(#_) {
		margin-top: 1.125em;
	}

	[class="wp-block-button"] {
		width: 100%;
		text-align: center;
	}
	
	.wp-block-buttons>.wp-block-button.wp-block-button__width-25,
	.wp-block-buttons>.wp-block-button.wp-block-button__width-50,
	.wp-block-buttons>.wp-block-button.wp-block-button__width-75 {
		width: 75%;
		margin-right: auto;
		margin-left: auto;
	}

	.wp-block-button__link {
		padding-top: 1.0714em;
		padding-bottom: 1.0714em;
		font-size: 0.875em;
	}
}

@media (max-width: 600px) {

	.wp-block-media-text .wp-block-media-text__media {
		padding-right: 0;
	}

	.wp-block-media-text .wp-block-media-text__content {
		padding-left: 0;
	}

	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
		padding-left: 0;
	}

	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
		padding-right: 0;
	}
}

/* end gutenberg */
