/* デフォルトのブロックCSSを上書きするためのもの */

/* 見出し */
h2.wp-block-heading {
	-webkit-text-decoration-skip-ink: none;
	font-size: max(1.5rem, 22px);
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.6;
	margin-bottom: 1.875rem;
	padding-left: 1rem;
	position: relative;
	text-align: left;
	text-decoration-skip-ink: none;
	text-underline-position: from-font;
}
h2.wp-block-heading::after {
	background-image: url("../images/common/icon-ribbon.svg");
	background-size: cover;
	content: "";
	height: 2.75rem;
	left: 0;
	position: absolute;
	top: 0;
	width: 3.5rem;
	z-index: -1;
}
@media screen and (max-width: 767px) {
	h2.wp-block-heading {
		font-size: max(1rem, 15px);
		margin-bottom: 1rem;
		padding-left: 0;
	}
	
	h2.wp-block-heading::after {
		height: 2.0625rem;
		width: 2.625rem;
	}
}

h3.wp-block-heading {
	-webkit-text-decoration-skip-ink: none;
	border-bottom: 0.0625rem solid #221a15;
	font-size: max(1.25rem, 18px);
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	padding-bottom: 0.25rem;
	text-align: left;
	text-decoration-skip-ink: none;
	text-underline-position: from-font;
}
@media screen and (max-width: 767px) {
	h3.wp-block-heading {
		font-size: 14px;
		margin-bottom: 1rem;
	}
}

/* 段落 */
.column-press__main p:not([class]):not(figure.wp-block-table p) {
	-webkit-text-decoration-skip-ink: none;
	font-size: max(1rem, 15px);
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.8;
	margin-bottom: 3.5rem;
	text-align: left;
	text-decoration-skip-ink: none;
	text-underline-position: from-font;
}
@media screen and (max-width: 767px) {
	.column-press__main p:not([class]):not(figure.wp-block-table p) {
		font-size: 13px;
		margin-bottom: 1.5rem;
	}
}

/* 画像 */
figure.wp-block-image {
	margin-bottom: 2.5rem;
}
.wp-block-image img {
	-o-object-fit: cover;
	aspect-ratio: 800/533;
	border-radius: 1rem;
	max-width: 800px;
	object-fit: cover;
	width: 100%;
	width: 100%;
}
@media screen and (max-width: 767px) {
	.wp-block-image img {
		aspect-ratio: 360/240;
		border-radius: 0.5rem;
	}
}

/* WordPressブロックエディタの段落内のマーカー */
.press-detail article p .text-marker {
	background: linear-gradient(transparent 56%, #ffcfdc 0%);
}

/* テーブル */
figure.wp-block-table {
	margin-bottom: 2.5rem;
	margin-top: 2.5rem;
	border: 0.0625rem solid #595959;
	border-radius: 0.5rem;
	border-radius: 0.5rem;
	width: 100%;
}

table {
	width: 100%;
}

@media screen and (max-width: 767px) {
	.block_editor_area .wp-block-table {
			margin-bottom: 1.5rem;
		display: block; /* テーブル全体をブロックに変更 */
	}
}

th {
	background: #f090a9;
	border-top-left-radius: 0.4375rem;
	border-top-right-radius: 0.4375rem;
	color: white;
	padding: 1.0625rem 0;
}


@media screen and (max-width: 767px) {
	th {
			height: 100%;
	padding: 0.75rem 0;
	}
}


th p {
	-webkit-text-decoration-skip-ink: none;
	font-family: Noto Sans JP;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.5;
	margin: 0 auto;
	position: relative;
	text-align: center;
	text-decoration-skip-ink: none;
	text-underline-position: from-font;
	width: -moz-fit-content;
	width: fit-content;
}

th p::before {
	background-image: url("../images/press/icon-money.svg");
	background-position: center;
	background-size: contain;
	content: "";
	display: inline-block;
	height: 2.5rem;
	left: -3.25rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5rem;
}

th p::after {
	background-image: url("../images/press/icon-money.svg");
	background-position: center;
	background-size: contain;
	content: "";
	display: inline-block;
	height: 2.5rem;
	position: absolute;
	right: -3.25rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5rem;
}

@media screen and (max-width: 767px) {
th p {
	font-size: 1rem;
}

th p::before {
	height: 2rem;
	left: -2.5rem;
	width: 2rem;
}

th p::after {
	height: 2rem;
	right: -2.5rem;
	width: 2rem;
}
}

td {
	-webkit-text-decoration-skip-ink: none;
	border-top: 0.0625rem solid #221a15;
	font-family: Noto Sans JP;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.6;
	padding: 0.6875rem 0.75rem;
	text-align: left;
	text-decoration-skip-ink: none;
	text-underline-position: from-font;
	width: 50%;
}

@media screen and (max-width: 767px) {
	td {
			box-sizing: border-box;
	display: block; /* 各セルをブロックに */
	font-size: 0.875rem;
	height: 100%;
	text-align: center;
	width: 100%; /* 幅を100%に */
	}
}

td:first-child {
	width: 24%;
}

@media screen and (max-width: 767px) {
	td:first-child {
	width: 100%;
}
}

/* リスト */
ul.wp-block-list {
	background-color: #dbfbfb;
	border-radius: 0.5rem;
	padding: 2rem;
	position: relative;
	-webkit-text-decoration-skip-ink: none;
	color: #0c8d8d;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.8;
	text-align: left;
	text-decoration-skip-ink: none;
	text-underline-position: from-font;
	margin-bottom: 3.5rem;
}

@media screen and (max-width: 767px) {
	ul.wp-block-list {
		padding: 1rem;
		font-size: 0.8125rem;
	}
}

ul.wp-block-list li:not(:first-child) {
	margin-top: 1rem;
}

@media screen and (max-width: 767px) {
	ul.wp-block-list li:not(:first-child) {
		margin-top: 0.625rem;
	}
}

ul.wp-block-list li {
	padding-left: 1.40625rem;
	position: relative;
}

ul.wp-block-list li::before {
	background-image: url("../images/press/icon-pencil-green.svg");
	background-size: cover;
	content: "";
	height: 1.5rem;
	left: 0rem;
	position: absolute;
	top: 0;
	width: 1.5rem;
}

@media screen and (max-width: 767px) {
	ul.wp-block-list li {
		padding-left: 1.21875rem;
	}
	
	ul.wp-block-list li::before {
			height: 1.25rem;
	width: 1.25rem;
	}
}

/* ハイライト */
.has-inline-color {
	background-color: #fff !important;
	background: linear-gradient(transparent 56%, #ffcfdc 0%);
}
