@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.1
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* 固定ページ h2 マージンリセット（Extension の data-hdg-id 付きは除外） */
.page .post_content h2:not([data-hdg-id]),
.page .post_content h3:not([data-hdg-id]) {
	margin: 0;
}

/* SWELL の section_ttl ::after/::before リセットを解除（カスタムCSS側で装飾を定義） */
.post_content .is-style-section_ttl::after {
	content: "";
	border: none;
}
.post_content .is-style-section_ttl::before {
	content: none;
}

[data-block-link] {
	cursor: pointer;
}

/* SWELL 標準の .has-border/.has-background box_padding を UB でリセット
   Extension が spacingPadding で個別管理するため */
.wp-block-flavor-universal-block.has-border,
.wp-block-flavor-universal-block.has-background {
	padding: 0;
}

/* ── フッター: SWELL デフォルトスタイルをリセット ──
   ブログパーツで独自デザインを組むため、ウィジェットエリアの
   余白・幅制限を解除してフルワイドブロックを正常に表示させる */
.l-footer__widgetArea {
	padding: 0;
}
.l-footer .w-footer {
	padding: 0;
	max-width: none;
}
.l-footer .w-footer__box {
	padding: 0;
}
.l-footer .swell-block-fullWide {
	max-width: none;
}
.l-footer .c-widget {
	margin: 0;
	padding: 0;
}
/* SWELL デフォルトのフッター下部を非表示（ブログパーツ内で独自に記載） */
.l-footer__copyright {
	display: none;
}
.l-footer__foot {
	display: none;
}
/* メインコンテンツ〜フッター間の余白を詰める */
.l-content.l-container {
	margin-bottom: 0;
}

/* 投稿ページ: 関連記事セクションとフッターの間に余白を確保 */
.l-articleBottom {
	padding-bottom: 80px;
}
@media (max-width: 599px) {
	.l-articleBottom {
		padding-bottom: 48px;
	}
}
