/* ==================================================
   Global CSS
================================================== */


/* 「この記事は」設定 */
.-sidebar-on .l-mainContent:has(.custom-external-link), .-sidebar-on .l-mainContent:has(span.heandro-box-article-top) {
	padding: 0 4vw 4rem;
}
.custom-external-link, span.heandro-box-article-top {
	display: block;
	margin-left: -4vw;
	margin-right: -4vw;
	padding: 4.5vw 4vw 3.5vw;
	color: #777f8e;
	font-size: 0.85em;
	line-height: 1.7;
	border-bottom: 4px double var(--cs-gray40);
	background: #fcfcfc;
}
.custom-external-link, p:has(span.heandro-box-article-top) {
	margin-bottom: 4rem;
}
.custom-external-link-comment {
	display: block;
	line-height: 1.5;
}
.custom-external-link-body {
	display: block;
	margin-top: 0.5em;
}
.custom-external-link-body img {
	display: none;
}
.custom-external-link-title {
	font-weight: bold;
	color: #333;
}

/* 「続きを読む」設定 */
.custom-readmore-box {
	margin: 4rem 0;
}
p.custom-readmore-origin {
	text-align: center;
	line-height: 1;
	margin-bottom: 1rem;
}
a.custom-readmore-origin-link {
	display: inline-block;
	color: #333;
	font-weight: bold;
}
p.custom-readmore-next {
	text-align: center;
}
a.custom-readmore-next-link {
	display: inline-block;
	background: var(--cs-gray75);
	border-radius: 50px;
	color: #fff;
	font-weight: bold;
	line-height: 1;
	padding: 1rem 1.5rem 0.95rem;
	transition: var(--cs-trans50);
}
a.custom-readmore-next-link:hover {
	background: #333;
	transition: var(--cs-trans50);
}

/* 親子記事システム */
.oyako-related-posts {
	margin-top: 4rem;
	font-size: 0.8em;
}
.oyako-related-posts-title {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 0.5em 1.2em 0.4em 1em;
	gap: 0.5em;
	border-top: 4px solid #fff;
	border-bottom: 4px solid #fff;
	background: var(--cs-gray40);
	color: #333;
	font-size: 1.2em;
	font-weight: bold;
}
.oyako-related-posts-title::before {
	content: "";
	pointer-events: none;
	position: absolute;
	top: -4px;
	left: 0;
	width: 100%;
	height: calc(100% + 4px);
	box-sizing: content-box;
	border-top: 2px solid var(--cs-gray40);
	border-bottom: 2px solid var(--cs-gray40);
	background: none;
}
.oyako-related-posts-title::after {
	content: "\e93f";
	font-family: icomoon !important;
	display: inline-block;
	position: relative;
	font-size: 1em;
	color: #fff;
	background: none;
	width: auto;
	height: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.oyako-child-posts .oyako-related-posts-title::after {
	transform: rotate(180deg);
	transform-origin: center;
}
.oyako-sibling-posts .oyako-related-posts-title::after {
	transform: rotate(90deg);
	transform-origin: center;
}
.oyako-card {
	display: flex;
	align-items: center;
	gap: 1em;
	padding: 1.5em;
	border-width: 0 1px 1px;
	border-style: solid;
	border-color: var(--cs-gray40);
	background: #fff;
}
a.oyako-card:hover {
	background: #fcfcfc;
	opacity: 1 !important;
}
.oyako-card .oyako-card-thumb-wrapper {
	flex: 0 0 22%;
}
.oyako-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 5px;
}
.oyako-card.oyako-no-thumb .oyako-card-thumb-wrapper {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 4.5em;
	border: 1px solid var(--cs-gray40);
	border-radius: 5px;
	background: #fff;
}
.oyako-card.oyako-no-thumb .oyako-card-thumb-wrapper::before {
	content: "No Image";
	display: inline-flex;
	justify-content: center;
	align-items: center;
	font-size: 0.8em;
	color: var(--cs-gray75);
	white-space: nowrap;
}
.oyako-card .oyako-card-title {
	margin: 0;
	padding: 0.1em 0 0 0;
	border: none;
	font-size: 1em;
	font-weight: 500;
	line-height: 1.5;
	color: #333;
}
.oyako-card .oyako-card-excerpt {
	display: none;
}

