@charset "utf-8";
:root{
  --black:#3B4043;
	--green:#009D62;
  --blue-green:#B5DCCD;

	/*Style Guide*/
	--primary-color:var(--green);
	--sub-color:var(--blue-green);
	--primary-font: var(--font-sans-serif);
	--web-font: 'Lato', sans-serif;
}

/* #tinymce,
.entry-content,
.wp-block-freeform {
	font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.625;
	color: #242424;
}
@media screen and (max-width: 767.98px) {
  #tinymce,
.entry-content,
.wp-block-freeform {
    font-size: 14px;
  }
} */

/*左揃え・中央揃え・右揃え対応ベース*/
.aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignright{
	float: right;
	margin-left: 1.5em;
}
.alignleft{
	float: left;
	margin-right: 1.5em;
}
#tinymce a,
.entry-content a,
.wp-block-freeform a{
  color:var(--primary-color);
  text-decoration: underline;
}
#tinymce h1,
#tinymce h2,
#tinymce h3,
#tinymce h4,
#tinymce h5,
#tinymce h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.wp-block-freeform h1,
.wp-block-freeform h2,
.wp-block-freeform h3,
.wp-block-freeform h4,
.wp-block-freeform h5,
.wp-block-freeform h6 {
	font-weight: bold;
	font-style: normal;
	color:var(--primary-color);
}

#tinymce h2,
.entry-content h2,
.wp-block-freeform h2 {
  font-size: 2.4rem;
  line-height: 1.75;
  letter-spacing: 0.06em;
  margin-bottom: 2rem;
  padding: 1rem 0;
  color: var(--black);
  border-bottom: 1px solid var(--green);
}
#tinymce h2:not(:first-child),
.entry-content h2:not(:first-child),
.wp-block-freeform h2:not(:first-child) {
  margin-top: 3rem;
}
@media screen and (max-width: 767.98px) {
  #tinymce h2,
.entry-content h2,
.wp-block-freeform h2 {
  margin-bottom: 2rem;
  padding: 1rem 0 1rem 1.5rem;
  border-left-width: 0.5rem;
  font-size: 1.8rem;
  line-height: 1.4444444444;
  }
}
#tinymce h3,
.entry-content h3,
.wp-block-freeform h3 {
  font-size: 24px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  padding-left: 1em;
  color: var(--black);
	padding: 7px 0 15px 0;
	margin-bottom: 20px;
}
#tinymce h3::before,
.entry-content h3::before,
.wp-block-freeform h3::before {
  content: "■";
  color: var(--green);
  display: inline-block;
  margin-right: 0.4em;
}
#tinymce h3:not(:first-child),
.entry-content h3:not(:first-child),
.wp-block-freeform h3:not(:first-child) {
  margin-top: 2.5rem;
}
@media screen and (max-width: 767.98px) {
  #tinymce h3,
.entry-content h3,
.wp-block-freeform h3 {
    font-size: 20px;
  }
}
#tinymce h4,
.entry-content h4,
.wp-block-freeform h4 {
	font-size: 22px;
	letter-spacing: 0.1em;
  color:var(--black);
	margin-bottom: 13px;
  padding-left: 0.5em;
  border-left: 4px solid var(--green);
}
#tinymce h4:not(:first-child),
.entry-content h4:not(:first-child),
.wp-block-freeform h4:not(:first-child) {
	margin-top: 25px;
}

@media screen and (max-width: 767.98px) {
  #tinymce h4,
.entry-content h4,
.wp-block-freeform h4 {
    font-size: 18px;
  }
}
#tinymce h5,
.entry-content h5,
.wp-block-freeform h5 {
  font-size: 18px;
  color:var(--black);
  margin-bottom: 4px;
}
#tinymce h5:not(:first-child),
.entry-content h5:not(:first-child),
.wp-block-freeform h5:not(:first-child) {
  margin-top: 22px;
}
@media screen and (max-width: 767.98px) {
  #tinymce h5,
.entry-content h5,
.wp-block-freeform h5 {
    font-size: 16px;
  }
}
#tinymce h6,
.entry-content h6,
.wp-block-freeform h6 {
  font-size: 16px;
  color:var(--primary-color);
  margin-bottom: 4px;
}
#tinymce h6:not(:first-child),
.entry-content h6:not(:first-child),
.wp-block-freeform h6:not(:first-child) {
  margin-top: 20px;
}
@media screen and (max-width: 767.98px) {
  #tinymce h6,
.entry-content h6,
.wp-block-freeform h6 {
    font-size: 14px;
  }
}
#tinymce p,
.entry-content p,
.wp-block-freeform p {
  font-size: 16px;
  letter-spacing: 0.06em;
  line-height: 2;
}
#tinymce p + p,
.entry-content p + p,
.wp-block-freeform p + p {
  margin-top:1.5em;
}
#tinymce div,
.entry-content div,
.wp-block-freeform div {
	margin-top:20px;
	margin-bottom:20px;
}
#tinymce figure,
.entry-content figure,
.wp-block-freeform {
	margin-top:25px;
	margin-bottom:20px;
}
#tinymce figure:has(img),
.entry-content figure:has(img),
.wp-block-freeform figure:has(img) {
  width:fit-content;
	overflow:hidden;
}
.entry-content .inner > img{
  margin:10px 0;
}
#tinymce strong,
.entry-content strong,
.wp-block-freeform strong {
  font-weight:bold;
}
#tinymce dl,
.entry-content dl,
.wp-block-freeform dl {
  margin-bottom: 28px;
}
#tinymce dl dt,
.entry-content dl dt,
.wp-block-freeform dl dt {
  font-size: 16px;
  font-weight: 500;
  line-height: 37px;
  color: #333333;
  padding: 14px 10px 13px;
  border-top: 1px solid #707070;
}
@media screen and (max-width: 767.98px) {
  #tinymce dl dt,
.entry-content dl dt,
.wp-block-freeform dl dt {
    font-size: 14px;
    line-height: 30px;
  }
}
#tinymce dl dt:last-child,
.entry-content dl dt:last-child,
.wp-block-freeform dl dt:last-child {
  border-bottom: 1px solid #707070;
}
#tinymce ul,
.entry-content ul,
.wp-block-freeform ul ,
#tinymce ol,
.entry-content ol,
.wp-block-freeform ol {
  font-size:16px;
  padding: 0;
	margin:15px 0 15px 0.5em;
}
#tinymce ul li,
.entry-content ul li,
.wp-block-freeform ul li,
#tinymce ul li,
.entry-content ul li,
.wp-block-freeform ul li {
  line-height: 2;
  position: relative;
  padding: 0 0 7px 19px;
}
#tinymce ul li:before,
.entry-content ul li:before,
.wp-block-freeform ul li:before {
  content: "";
  background: #2e2e2e;
  width: 6px;
  height: 6px;
  line-height:1;
  border-radius: 100%;
  position: absolute;
  top: calc(50% - 6px);
  left: 1px;
  z-index: 1;
}
#tinymce ol,
.entry-content ol,
.wp-block-freeform ol {
  list-style: none;
  counter-reset: number;
  margin-bottom: 26px;
}
#tinymce ol li,
.entry-content ol li,
.wp-block-freeform ol li {
  font-size: 16px;
  font-weight: 700;
  line-height: 37px;
  color: #333333;
  position: relative;
  padding-left: 1.5em;
}
#tinymce ol li:before,
.entry-content ol li:before,
.wp-block-freeform ol li:before {
  counter-increment: number;
  content: counter(number);
  position: absolute;
  left: 0;
  z-index: 1;
  font-weight: bold;
  color:var(--primary-color);
}
#tinymce ol li:not(:last-child),
.entry-content ol li:not(:last-child),
.wp-block-freeform ol li:not(:last-child) {
  margin-bottom: 7px;
}

#tinymce table,
.entry-content table,
.wp-block-table table,
.wp-block-freeform table {
	position:relative;
	font-size:15px;
	font-weight:500;
	letter-spacing:0.08em;
  border-spacing: 0;
	border-collapse: separate;
  border: none;
  border-top: 1px solid #c4c4c4;
  border-left: 1px solid #c4c4c4;
}
#tinymce table th,
#tinymce table td,
.entry-content table th,
.entry-content table td,
.wp-block-table table th,
.wp-block-table table td,
.wp-block-freeform table th,
.wp-block-freeform table td {
	font-size:15px;
	font-weight:500;
  color: #333333;
	vertical-align: middle;
  padding:12px;
  border: none;
  border-right: 1px solid #c4c4c4;
  border-bottom: 1px solid #c4c4c4;
  border-color:#c4c4c4!important;
	white-space: nowrap;

}
@media screen and (max-width: 767.98px) {
  #tinymce table th,
#tinymce table td,
.entry-content table th,
.entry-content table td,
.wp-block-table table th,
.wp-block-table table td,
.wp-block-freeform table th,
.wp-block-freeform table td {
    display: block;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
#tinymce table th,
.entry-content table th,
.wp-block-table table th,
.wp-block-freeform table th {
  font-weight:bold;
	color:#fff;
	background:var(--primary-color);
}
@media screen and (max-width: 767.98px) {
  #tinymce table th,
.entry-content table th,
.wp-block-table table th,
.wp-block-freeform table th {
    width: 100%;
  }
}
#tinymce table td,
.entry-content table td,
.wp-block-table table td,
.wp-block-freeform table td {
  letter-spacing: 0;
	background:#fff;
}
@media screen and (max-width: 767.98px) {
  #tinymce table td,
.entry-content table td,
.wp-block-table table td,
.wp-block-freeform table td {
    width: 100%;
  }
}


.wp_content blockquote:not([class]), 
.wp-block-quote {
  font-size: 14px;
  line-height: 2.25;
  background: var(--blue-green);
  position: relative;
  padding: 20px 5em;
  margin-bottom: 30px;
  border-left: 6px solid var(--green);
}
@media (max-width: 767.98px){/*SP以下 表示*/
  .wp_content blockquote:not([class]), 
  .wp-block-quote {
    padding: 16px;
    border-width: 4px;
  }

}/*END SP以下 表示*/
/* .wp_content blockquote:not([class])::before, 
.wp_content blockquote:not([class])::after, 
.wp-block-quote::before, 
.wp-block-quote::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 25px;
  font-size: 68px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  position: absolute;
}
.wp_content blockquote:not([class])::before, 
.wp-block-quote::before {
  content:"“";
  top: 12px;
  left: 15px;
}
.wp_content blockquote:not([class])::after, 
.wp-block-quote::after {
  content:"”";
  bottom: 12px;
  right: 15px;
} */
.wp_content blockquote:not([class]) small, 
.wp_content blockquote:not([class]) cite, 
.wp-block-quote cite {
  color: #999;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-decoration: none;
}

.wp-block-column > *:first-child,
.wp-block-media-text__content > *:first-child{
  margin-top:0;
}