@charset "UTF-8";
/* ===========================================
記事ページ専用CSS
=========================================== */

/* メタ情報を縦並びに変更 */
.p-articleMetas.-top {
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.p-articleMetas.-top .c-postTimes__posted {
    display: none !important;
}

.p-relatedPosts .c-postTimes__modified {
    display: none !important;
}

.p-relatedPosts .c-postTimes__label {
    display: none !important;
}

.p-articleMetas__times .c-postTimes__posted,
.p-articleMetas__times .c-postTimes__modified {
	font-size: 12px;
	color: #606060;
}

.p-toc {
	background-color: var(--color-extra_light_gray);
	border: none !important;
	border-radius: 8px !important;
}

.p-toc__ttl {
	color: var(--color-primary);
	border-bottom: none !important;
	font-weight: 700;
}

.p-toc__list li:hover {
	color: var(--color-primary);
}

.p-toc__ttl::before {
	content: "";
	background: url('../../assets/img/icon_pen.png') no-repeat center;
	background-size: contain;
	width: 1.2em;
	height: 1.2em;
}

.p-toc__list li::before {
	display: none !important;
}

.p-articleFoot {
	display: none !important;
}


/* SNSシェアボタン */
.c-shareBtns.-bottom {
	display: flex;
	width: 60%;
	margin: 0 auto;
	align-items: center;
	gap: 16px;
}

.c-shareBtns__message {
	display: flex;
	align-items: center;
	gap: 16px;
	flex: 1;
}

.c-shareBtns__message .__text::before,
.c-shareBtns__message .__text::after {
	display: none;
}

.c-shareBtns__message .__text {
	padding: 0;
	font-size: 17px;
	font-weight: 700;
}

.c-shareBtns__message::after {
	content: "";
	flex: 1;
	height: 1px;
	background-color: #ccc;
}

.c-shareBtns__list {
	display: flex;
	gap: 16px;
	border: none !important;
}

.c-shareBtns__item.-copy {
	order: 1;
}

.c-shareBtns__item.-twitter-x {
	order: 2;
}

.c-shareBtns__item.-facebook {
	order: 3;
}

.c-shareBtns__item.-line {
	order: 4;
}

.c-shareBtns__item.-copy .c-urlcopy__content svg {
    display: none !important;
}

.c-shareBtns__item.-copy .c-urlcopy__content,
.c-shareBtns__item.-twitter-x .icon-twitter-x::before,
.c-shareBtns__item.-facebook .icon-facebook::before,
.c-shareBtns__item.-line .icon-line::before {
	height: 38px;
	width: auto;
	vertical-align: middle;
}

.c-shareBtns__item.-copy .c-urlcopy__content {
	background: url('../../../swell_child/assets/img/icon_link.png') no-repeat center;
	background-size: contain;
	width: 38px;
	display: block;
}

.c-shareBtns__item.-twitter-x .icon-twitter-x::before {
	content: "";
	background: url('../../../swell_child/assets/img/icon_x.png') no-repeat center;
	background-size: contain;
	width: 25px;
	display: block;
}

.c-shareBtns__item.-facebook .icon-facebook::before {
	content: "";
	background: url('../../../swell_child/assets/img/icon_facebook.png') no-repeat center;
	background-size: contain;
	width: 32px;
	display: block;
}

.c-shareBtns__item.-line .icon-line::before {
	content: "";
	background: url('../../../swell_child/assets/img/icon_line.png') no-repeat center;
	background-size: contain;
	width: 33px;
	display: block;
}

.c-shareBtns__item .c-shareBtns__btn:hover {
	background-color: transparent !important;
	opacity: 0.7;
}

/* 関連記事部分 */
.p-postList.-type-card {
	justify-content: space-between;
}

.l-articleBottom__section.-related .c-secTitle {
	border-bottom: 1px solid #333;
	padding-bottom: 16px;
	font-size: 2rem;
}

.p-relatedPosts .p-postList__item {
	width: 48%;
	margin-bottom: 56px;
}

/* ===========================================
前後記事ナビゲーション
=========================================== */

.p-pnLinks--custom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 0;
	border-top: 1px solid var(--color-gray);
	border-bottom: 1px solid var(--color-gray);
	margin: 2em 0;
	font-weight: 700;
}

.p-pnLinks--custom .p-pnLinks__item.-prev::before,
.p-pnLinks--custom .p-pnLinks__item.-next::before {
	display: none !important;
}

.p-pnLinks__item.-center a {
	color: #333;
	padding: 0;
	justify-content: center;
}

.p-pnLinks__text {
	margin: 0 12px;
}

.p-pnLinks--custom .p-pnLinks__link {
	text-decoration: none;
	font-size: 17px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0;
}

.p-pnLinks--custom .p-pnLinks__link:hover {
	opacity: 0.7;
	color: var(--color-primary);
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
	border-top: none;
	padding: 0.4em 0;
}

/* SP対応：SNSシェアボタン＆前後記事ナビ */
@media screen and (max-width: 599px) {
	.c-postTitle__ttl {
		font-size: 7vw;
	}

	/* SNSシェアボタン */
	.c-shareBtns.-bottom {
		width: 90%;
	}

	.c-shareBtns__message::after {
		display: none !important;
	}

	/* 前後記事ナビ */
	.p-pnLinks--custom {
		padding: 16px 0;
	}

	.p-pnLinks--custom .p-pnLinks__link {
		font-size: 14px;
	}

	.p-pnLinks__text {
		margin: 0 4px;
	}
}
