@charset "utf-8";

.has-red-color {color: #E50000;}
.has-blue-color {color: #0346C8;}
.has-green-color {color: #00B0AA;}

/* :root {
--c-black: #172932;
--c-red: #E50000;
--c-orange: #ED6C00;
--c-blue: #0346C8;
--c-bgreen: #00B0AA;
--c-violet: #C050B5;
} */

.editor-styles-wrapper h2,
.post-body h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	padding: 20px 35px;
	margin-bottom: 30px;
	background: #F5F7F8;
	position: relative;
	@media (max-width: 767px) {
		font-size: 20px;
		margin-bottom: 20px;
	}
}

.editor-styles-wrapper *+h2,
.post-body *+h2 {
	margin-top: 2em;
}

.editor-styles-wrapper h2:before,
.post-body h2:before {
	position: absolute;
	content: "";
	background: #00B0AA;
	width: 23px;
	height: 8px;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 0;
}

.editor-styles-wrapper h3,
.post-body h3 {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
	padding: 0 0 15px;
	border-bottom: 1px #ccc solid;
	margin-bottom: 40px;
	@media (max-width: 767px) {
		font-size: 16px;
		margin-bottom: 20px;
	}
}


.editor-styles-wrapper .post_pic,
.post-body .post_pic {
	display: flex;
	column-gap: 20px;
	margin-top: 40px;
}

.editor-styles-wrapper figure,
.post-body figure {
	margin: 1.5em 0;
	/* text-align: center; */
}

.editor-styles-wrapper img,
.post-body img {
	width: auto;
	height: auto;
	max-width: 100%;
}

.editor-styles-wrapper .post_pic img,
.post-body .post_pic img {
	width: calc((100% - 20px)/2);
}

@media (max-width: 767px) {
	.editor-styles-wrapper .post_pic,
	.post-body .post_pic {
		flex-direction: column;
		align-items: center;
		margin-top: 0;
	}
	
	.editor-styles-wrapper .post_pic img,
	.post-body .post_pic img {
		margin: 20px 0;
		width: auto;
	}
}

/* .editor-styles-wrapper .wp-block-button a,
.editor-styles-wrapper :where(.wp-element-button,
.post-body .wp-block-button__link),
.post-body .wp-block-button a { */
	
.wp-block-button__link {
	box-sizing: border-box;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	word-break: break-word
}
	
.is-layout-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
}

.wp-block-buttons>.wp-block-button.wp-block-button__width-25 {
	width: calc(25% - var(--wp--style--block-gap, .5em)* .75);
}
	
.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{
	width: 100%;
}

.post-body a{
	color: #00B0AA; /* デフォルトの色 */
}
	
.wp-element-button, .wp-block-button__link{
	display: inline-block;
	background-color: #00B0AA;
	color: #fff!important;
	border-radius: 100px;
	padding: 1em 2em;
}

.wp-element-button:hover, .wp-block-button__link:hover{
	background-color: #5bdcd8;
	border-radius: 100px;
}

.wp-block-table table {
	width: 100%;
}

.wp-block-table th,
.wp-block-table td {
	padding: 15px 25px;
	line-height: 1.375;
	border: 1px #B1C1CA solid;
	vertical-align: middle;
}

.wp-block-table th,
.wp-block-table td {
	font-weight: 700;
	background: rgba(204, 239, 238, 0.6);
}


.wp-block-group-is-layout-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2em;
}

.wp-block-group-is-layout-grid figcaption {
	margin-top: 1em;
}

/*3ブロック*/
.wp-block-gallery.has-nested-images figure.wp-block-image {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: center;
	max-width: 100%;
	position: relative;
}

@media (min-width: 600px) {
	.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) 
	{
		width: calc(33.33% - 1em * .66667);
	}
}


.has-text-align-center {text-align: center;}
.has-text-align-right {text-align: right;}


