@charset "utf-8";
/*----------------------------------------------------------------------------------------

	single-post.css

----------------------------------------------------------------------------------------*/

:is(.is-root-container, .wp-block) *:first-child {
	margin-top: 0;
}
:is(.is-root-container, .wp-block) *:last-child {
	margin-bottom: 0;
}
:where(.is-root-container){
	word-break: break-all;
}
:where(.is-root-container) h1,
:where(.is-root-container) h2,
:where(.is-root-container) h3 {
	margin: 73px 0 32px;
	padding-bottom: 13px;
	border-bottom: 3px solid currentColor;
	color: var(--bgc1);
	font-size: 2.4rem;
	line-height: 1.3;
}
:where(.is-root-container) h4,
:where(.is-root-container) h5,
:where(.is-root-container) h6 {
	margin: 43px 0 20px;
	color: var(--bgc1);
	font-size: 2rem;
	line-height: 1.3;
}
/* --- SMP --- */
@media (max-width: 719px) {
	:where(.is-root-container) h1,
	:where(.is-root-container) h2,
	:where(.is-root-container) h3 {
		margin: 32px 0 14px;
		padding-bottom: 15px;
		font-size: 2rem;
	}
	:where(.is-root-container) h4,
	:where(.is-root-container) h5,
	:where(.is-root-container) h6 {
		margin: 33px 0 7px;
		font-size: 2rem;
	}
}
:where(.is-root-container) img {
	display: inline-block;
	vertical-align: middle;
}


.blocks-gallery-grid .blocks-gallery-image figcaption,
.blocks-gallery-grid .blocks-gallery-item figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
	box-sizing: border-box;
}
.wp-block-file {
	padding: 10px;
	border: 1px solid #142850;
	border-radius: 7px;
	display: inline-block;
}
.wp-block-file .wp-block-file__button {
	background-color: #142850;
}

.is-root-container *.style-shift01 {
	margin-top: 10px;
	margin-bottom: 10px;
	padding-left: 1.5em;
}
.is-root-container *.style-nomargin {
	margin: 0 !important;
}
.is-root-container *.style-margin-s {
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}
.is-root-container *.style-margin-top-l {
	margin-top: 73px !important;
}
.is-root-container .wp-block-group {
	clear: both;
}
.is-root-container .wp-block-group.style-border {
	padding: 20px;
	border: 1px solid #ccc;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container *.style-margin-top-l {
		margin-top: 32px !important;
	}
}

/* 買いたい・売りたいの記事概要部分 ///
---------------------------------------------- */
body:is(.is_single.buy, .is_single.sell, .post-type-buy, .post-type-sell) .is-root-container > .wp-block-group:first-child,
.my_buysell_content .is-root-container > .wp-block-group:first-child {
	margin-bottom: 42px;
	padding: 50px;
	background-color: #eaf1f4;
}
/* --- SMP --- */
@media (max-width: 719px) {
	body:is(.is_single.buy, .is_single.sell, .post-type-buy, .post-type-sell) .is-root-container > .wp-block-group:first-child,
	.my_buysell_content .is-root-container > .wp-block-group:first-child {
		margin-bottom: 60px;
		padding: 25px;
	}
}

/* テキスト ///
---------------------------------------------- */
:where(.is-root-container) p {
	margin: 28px 0;
	letter-spacing: 0.04em;
}
:where(.is-root-container) a {
	text-decoration: underline;
}
:where(.is-root-container) em {
	font-style: italic;
}
:where(.is-root-container) s {
	text-decoration: line-through;
}
:where(.is-root-container) img {
	max-width: 100%;
	height: auto;
}
/* --- PC --- */
@media (min-width: 720px) {
	:where(.is-root-container) a:hover {
		opacity: 0.75;
	}
	:where(.is-root-container) :is(h4, h5, h6) + p {
		margin-top: 20px;
	}
}
/* --- SMP --- */
@media (max-width: 719px) {
	:where(.is-root-container) p {
		margin: 20px 0;
	}
	:where(.is-root-container) .has-medium-font-size {
		line-height: 1.5;
	}
	:where(.is-root-container) :is(h4, h5, h6) + p {
		margin-top: 7px;
	}
}

/*整形済みテキスト*/
.is-root-container .wp-block-preformatted {
	font-family: inherit;
	line-height: 1.5;
}
/*ボタン*/
.is-root-container .wp-block-buttons a {
	box-sizing: border-box;
	text-decoration: none;
}
/*ドロップキャップ*/
.is-root-container .has-drop-cap:not(:focus):first-letter {
	font-size: 28px;
}

/* リスト ///
---------------------------------------------- */
.is-root-container :where(ul, ol) {
	margin: 20px 0;
}
.is-root-container :where(ul, ol) li {
	margin-left: 1.3em;
	text-indent: -1.3em;
	line-height: 1.5;
	list-style-position: inside;
}
.is-root-container :where(ul, ol) li + li {
	margin-top: 0.5em;
}
.is-root-container :where(ul, ol) li > :is(ul, ol) {
	margin-top: 0.5em;
}
.is-root-container ul > li {
	list-style-type: disc;
}
.is-root-container ol > li {
	list-style-type: decimal;
}

/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container :is(ul, ol) {
		margin-top: 1.3em;
	}
}

.is-root-container ol.wp-block-list.style-alphabet > li {
	list-style-type: lower-alpha;
}


/* チェックリスト */
.is-root-container ul.style-checkpoint li {
	margin: 0;
	padding-left: 50px;
	height: 45px;
	position: relative;
	display: flex;
	font-size: 1.8rem;
	font-weight: 700;
	list-style: none;
	align-items: center;
	text-indent: 0;
}
.is-root-container ul.style-checkpoint li::before {
	box-sizing: border-box;
	margin: auto;
	padding: 5px 0;
	width: 30px;
	height: 30px;
	border: 2px solid #ccc;
	border-radius: 3px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	line-height: 1;
	font-size: 1.6rem;
	font-weight: 700;
	text-align: center;
	font-family: "Font Awesome 6 Free";
	content: "\f00c";
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container ul.style-checkpoint li {
		margin-bottom: 13px;
		padding-left: 35px;
		height: auto;
		font-size: 1.6rem;
	}
	.is-root-container ul.style-checkpoint li::before {
		width: 22px;
		height: 22px;
		padding-top: 3px;
		font-size: 1.1rem;
		top: 3px;
		bottom: initial;
	}
}

/* メディアとテキスト //
------------------------------------------------------*/
.is-root-container .blocks-gallery-grid li {
	margin-left: 0;
	text-indent: 0;
}
.is-root-container .wp-block-media-text {
	margin: 30px 0;
	grid-template-columns: 435px 1fr;
}
.is-root-container .wp-block-media-text.is-vertically-aligned-center {
	align-items: center;
}
.is-root-container .wp-block-media-text.is-vertically-aligned-bottom {
	align-items: end;
}
.is-root-container .wp-block-media-text .wp-block-media-text__content {
	padding: 0 0 0 40px;
}
.is-root-container .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	padding: 0 40px 0 0;
}
.is-root-container .wp-block-media-text.has-media-on-the-right {
	grid-template-columns: 1fr 435px;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container .wp-block-media-text .wp-block-media-text__content {
		padding: 20px 0 0 !important;
	}
}
.is-root-container .wp-block-media-text.style-border {
	padding: 25px 20px;
	border: 1px solid #ccc;
}
.is-root-container .wp-block-media-text.style-border :is(h4, h5, h6) {
	color: #333;
	font-size: 1.8rem;
}
.is-root-container .wp-block-media-text.style-border p {
	font-size: 1.5rem;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container .wp-block-media-text.style-border {
		padding: 15px;
	}
	.is-root-container .wp-block-media-text .wp-block-media-text__content {
		padding: 0 0 0 14px;
	}
	.is-root-container .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
		padding: 14px 0 0 !important;
	}
}

/* キャプション //
------------------------------------------------------*/
.is-root-container .blocks-gallery-caption,
.is-root-container .wp-block-image figcaption {
	width: 100%;
	display: block;
	color: #555d66;
	font-size: 13px;
	text-align: center;
}
.is-root-container .wp-block-group.has-background {
	padding: 20px 30px;
	margin-top: 0;
	margin-bottom: 0;
}
.is-root-container .wp-block-image .aligncenter {
	text-align: center;
}
.is-root-container .wp-block-image .aligncenter img {
	margin: auto;
}

/* 区切り線 ///
---------------------------------------------- */
.is-root-container hr.wp-block-separator {
	margin: 28px auto;
	padding-top: 0;
	padding-bottom: 0;
	border: 1px solid #000;
}
.is-root-container hr.wp-block-separator.is-style-dots {
	border: none;
}

/* 引用文 //
------------------------------------------------------*/
.is-root-container .wp-block .wp-block-quote {
	margin: 1.5em 1em;
	padding-left: 1em;
	border-left: 4px solid #000;
}
.is-root-container .wp-block .wp-block-quote p {
	margin: 1em 0;
	line-height: 1.5;
}
.is-root-container .wp-block .wp-block-quote cite {
	color: #6c7781;
	font-size: 13px;
	margin-top: 1em;
	font-style: normal;
}

.pagebody a + figcaption.blocks-gallery-item__caption {
	pointer-events: none;
}

.is-root-container :where(h1, h2, h3, h4, h5, h6, blockquote, blockquote ul, blockquote ol){
	clear: both;
}

/* テーブル ///
---------------------------------------------- */
.is-root-container .wp-block-table {
	padding: 0;
}
.is-root-container table {
	box-sizing: border-box;
	margin-bottom: 30px;
	width: 100%;
	border: none;
	font-size: 0.95em;
	table-layout: fixed;
	line-height: 1.5;
}
.is-root-container thead,
.is-root-container tbody {
	border: none;
}
.is-root-container thead {
	background-color: #efefef;
}
.is-root-container tr {
	border: none;
}
.is-root-container th,
.is-root-container td {
	box-sizing: border-box;
	padding: 10px;
	border: 1px solid #ccc;
	vertical-align: middle;
}
.is-root-container th {
	background-color: #efefef;
}
.is-root-container th:first-child,
.is-root-container td:first-child {
	width: 15em;
}
.is-root-container .style-thead th:first-child,
.is-root-container .style-thead td:first-child {
	width: auto;
}
.is-root-container table:has(+ .wp-element-caption){
	margin-bottom: 10px;
}

/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container .wp-block-table {
		overflow-x: auto;
	}
	.is-root-container ::-webkit-scrollbar {
		height: 10px;
		background: #f0f0f0;
	}
	.is-root-container ::-webkit-scrollbar-thumb {
		background: #cdcdcd;
		border-radius: 2px;
	}
	.is-root-container table {
		table-layout: auto !important;
	}
	.is-root-container th,
	.is-root-container td {
		padding: 8px;
		width: auto !important;
		font-size: 1.4rem;
		white-space: nowrap;
	}
}

/* カレンダー ///
---------------------------------------------- */
.is-root-container .wp-block-calendar table caption {
	display: block;
}
.is-root-container .wp-block-calendar thead {
	width: 100%;
	display: table;
}
.is-root-container table.wp-calendar-table td:first-child {
	width: auto !important;
}
.is-root-container table.wp-calendar-table td {
	background-color: #fff;
}

/* 引用 ///
---------------------------------------------- */
.is-root-container blockquote {
	background-color: #efefef;
	margin-top: 1em;
	padding: 1em;
	border-left: 4px solid #000;
	display: block;
	font-size: 0.9em;
	line-height: 1.6;
}
.is-root-container blockquote cite {
	color: #6c7781;
	font-size: 13px;
}
.is-root-container blockquote > *:first-child {
	margin-top: 0;
}
.is-root-container blockquote a {
	padding-left: 1em;
	display: block;
	position: relative;
	color: #245fbb;
}
.is-root-container blockquote a::before {
	margin: auto;
	width: 1em;
	height: 1em;
	position: absolute;
	top: 0;
	left: 0;
	content: "\f054";
	font-weight: 700;
	font-family: "Font Awesome 6 Free";
}
.is-root-container blockquote a[target="_blank"]::after {
	margin-left: 5px;
	content: "\f08e";
	font-weight: 700;
	font-family: "Font Awesome 6 Free";
}
.is-root-container blockquote li a::before {
	display: none;
}
.is-root-container blockquote > *:first-child {
	margin-top: 0;
}
.is-root-container blockquote > *:last-child {
	margin-bottom: 0;
}

/* 回り込み(float) ///
---------------------------------------------- */
.is-root-container :where(.alignright, .alignleft) {
	margin-top: 0.5em;
	margin-bottom: 1.5em;
}
.is-root-container .alignright {
	margin-left: 2em;
	float: right;
}
.is-root-container .alignleft {
	margin-right: 2em;
	float: left;
}
.is-root-container .aligncenter {
	margin: 2.5em auto;
	display: block;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container :is(.alignright, .alignleft) {
		margin: 15px 0 20px;
		width: 100%;
		float: none;
	}
	.is-root-container .aligncenter {
		margin: 1.8em auto;
	}
}

/* 説明付き画像 ///
---------------------------------------------- */
.is-root-container .wp-caption img {
	margin: 0 !important;
	width: 100%;
	height: auto;
	max-width: 100%;
	display: block !important;
}
.is-root-container .wp-caption a {
	display: block;
}
.is-root-container :where(.wp-caption-dd, .wp-caption-text) {
	margin: 0;
	padding-top: 0;
	background-color: #efefef;
	font-size: 14px;
	text-align: center;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container .wp-caption {
		width: 100% !important;
	}
}

/* 埋め込み ///
---------------------------------------------- */
.is-root-container .wp-block-embed {
	margin: 1.5em 0;
}
.is-root-container .wp-block-embed iframe {
	background-color: #fff;
}
.is-root-container .wp-block-embed.is-type-video iframe {
	width: 100%;
	height: auto;
	background-color: #efefef;
	display: block;
	aspect-ratio: 16/9;
}
/* --- SMP --- */
@media (max-width: 719px) {
	.is-root-container .wp-block-embed {
		margin: 1.3em 0;
	}
}