@charset "utf-8";

/* CSS Document */

/*-------------------------
‐ base
‐ 整列
- pタグ
- 太字
- aタグ
- 見出し
- 番号なしリスト
- 番号つきリスト
- 引用
- キャプション
- カラム
-------------------------*/

/*=======================================
　base
=======================================*/
.mce-content-body {
  font-family: 'Noto Sans JP', sans-serif;
  overflow: hidden;
  color: #333;
}

/*=======================================
　整列
=======================================*/

.mce-content-body p:has(.aligncenter),
.mce-content-body div:has(.aligncenter) {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.mce-content-body p:has(.alignright),
.mce-content-body div:has(.alignright) {
  text-align: right;
  margin-left: auto;
}

/*=======================================
　pタグ
=======================================*/
.mce-content-body p {
	margin-bottom: 50px;
	letter-spacing: 0.08em;
	line-height: 1.7333;
}
@media screen and (max-width: 768px) {
	.mce-content-body p {
		margin-bottom: 50px;
	}
} 

/*=======================================
　太字
=======================================*/
.mce-content-body strong {
	font-weight: 700;
}

/*=======================================
　aタグ
=======================================*/
.mce-content-body a {
  text-decoration: none; 
	padding-bottom: 2px;
	display: inline-block;
	border-bottom: 1px solid #006DD9;
	word-break: break-all;
	color: #006DD9;

	margin-bottom: 40px;
}

/* 別ウィンドウで開く */
.mce-content-body a.link_blank {
	position: relative;
	padding-right: 35px;
}
.mce-content-body a.link_blank::after {
	content: "";
	width: 18px;
	height: 18px;
	display: inline-block;
	position: absolute;
	right: 13px;
	top: 50%;
	transform: translateY(-50%);
	background: url("../images/common/icon_blank.svg") no-repeat;
	background-size: cover;
}

@media screen and (max-width: 768px) {
	.mce-content-body a {
		margin-bottom: 20px;
	}
}

/*=======================================
　見出し
=======================================*/
/* h3 */
.mce-content-body h3 {
	padding-left: 35px;
	position: relative;
	font-size: 25px;
	font-weight: 700;
	margin-bottom: 30px;
}
.mce-content-body h3::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 5px;
	height: 35px;
	background-color: #006DD9;
}

/* h4 */
.mce-content-body h4 {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #006DD9;
	padding-bottom: 15px;
	border-bottom: 1px dotted #939393;
	margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
	.mce-content-body h3 {
		font-size: 18px;
		padding-left: 15px;
	}
	.mce-content-body h4 {
		font-size: 16px;
	}
}

/*=======================================
　番号なしリスト
=======================================*/
.mce-content-body ul {

}
.mce-content-body ul li {
	position: relative;
	padding-left: 15px;
}
.mce-content-body ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 5px;
	height: 5px;
	background: #006DD9;
	border-radius: 50vw;
}

@media screen and (max-width: 768px) {
.mce-content-body ul li {
		padding-left: 12px;
	}
	.mce-content-body ol li::before  {
		width: 4px;
		height: 4px;
		top: 0.7em;
	}
}

/*=======================================
　番号つきリスト
=======================================*/
.mce-content-body ol {
  counter-reset: item;
}
.mce-content-body ol li {
	position: relative;
  padding-left: 45px;
}
.mce-content-body ol li::before {
  position: absolute;
  left: 0;
  top: 0;
  counter-increment: item;
  content: "0" counter(item) ".";
  font-family: "Marcellus", serif;
  font-size: 20px;
  letter-spacing: 0.15em;
  color: #006DD9;
}

/*=======================================
　引用
=======================================*/

.mce-content-body blockquote {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 2;
  color: #333;
  background: rgb(232 244 255 / 50%);
  padding: 60px 80px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .mce-content-body blockquote {
    font-size: 15px;
    padding: 30px 40px;
  }
}
.mce-content-body blockquote p {
  margin-bottom: 0;
}
.mce-content-body blockquote::before {
  content: "";
  background: url("../images/common/icon_quote.svg") no-repeat;
  background-size: cover;
  position: absolute;
  top: 30px;
  left: 29px;
  width: 31px;
  height: 25px;
	filter: brightness(0) saturate(100%) invert(29%) sepia(72%) saturate(5796%) hue-rotate(198deg) brightness(97%) contrast(101%);
}
@media screen and (max-width: 768px) {
  .mce-content-body blockquote::before {
    top: 15px;
    left: 15px;
    width: 20px;
    height: 16px;
  }
}

/*=======================================
　img
=======================================*/
.mce-content-body img {
	max-width: 100%;
}


/*=======================================
　キャプション
=======================================*/

.mce-content-body .wp-caption {
	width: max-content;
}
.mce-content-body .wp-caption-text {
  margin-top: 10px;
	text-align: left;
	font-size: 12px;
	font-weight: 700;
}
@media screen and (max-width: 768px) {
	.mce-content-body .wp-caption {
		max-width: 90%;
	}
}

/*=======================================
　1カラムか2カラムか選択できる場合
=======================================*/
/* 1カラム */
.mce-content-body .column1 {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* 2カラム */
.mce-content-body .column2 {
  width: 45%;
}
.mce-content-body .column2.float_left {
  float: left;
  margin-right: calc(100% - 45%*2);
}
.mce-content-body .column2.float_right {
  float: right;
}
@media only screen and (max-width: 768px) {
  .mce-content-body .column2 {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .mce-content-body .column2.float_left {
    margin-right: auto;
    float: none;
  }
  .mce-content-body .column2.float_right {
    float: none;
  }
}
