@charset "utf-8";

/* //////////////////////////////////////////////////
記事本文（.entry-content）のベースタイポグラフィ
モバイルファースト: デフォルト = SP、768px以上でPC上書き
////////////////////////////////////////////////// */

.entry-content {
	font-size: 14px;
}

@media (min-width: 768px) {
	.entry-content {
		font-size: 16px;
	}
}

.entry-content {
	word-break: break-all;
}

.entry-content > * + * {
	margin-top: 1rem;
}

/* //////////////////////////////////////////////////
カテゴリラベル（single.html の wp:post-terms）
ベンチマーク: _p-entry-header__category-text（ピンク帯 #ff7070・白文字・
吹き出しアイコン付き）。アイコンは移行元スプライトの ico-balloon-svg を
data URI で自前化
////////////////////////////////////////////////// */

.category-label {
	background-color: #ff7070;
	color: #fff;
	font-size: 15.75px;
	padding: 0.7em 0.5em 0.7em 1.25em;
	margin-bottom: 14px;

	a {
		color: #fff;
		text-decoration: none;
	}

	&::before {
		content: "";
		display: inline-block;
		width: 1.46em;
		height: 1.46em;
		margin-right: 0.5em;
		vertical-align: -0.4em;
		background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path fill="%237eb7d7" d="M33 16.2c.9-1.1 1.4-2.6 1.4-4.2 0-3.7-3-6.8-6.8-6.8-1.5 0-2.9.5-4 1.4-.5-2.8-2.9-5-5.9-5-3.3 0-6 2.7-6 6 0 .6.1 1.2.3 1.7-.4-.1-.9-.1-1.3-.1-3.5 0-6.2 2.8-6.2 6.3 0 2.2 1.1 4 2.7 5.2-.7 1-1 2.1-1 3.4 0 3.3 2.7 6 6 6 1.2 0 2.3-.4 3.3-1 .6 2.6 3 4.6 5.8 4.6 3.1 0 5.7-2.4 6-5.4.7.2 1.4.3 2.1.3 3.7 0 6.8-3 6.8-6.8-.2-2.4-1.4-4.4-3.2-5.6z"/><path fill="%238dbfdb" d="M36 21.8c0-2.4-1.2-4.4-3-5.6.9-1.1 1.4-2.6 1.4-4.2 0-3.7-3-6.8-6.8-6.8-1.5 0-2.9.5-4 1.4-.5-2.8-2.9-5-5.9-5-3.3 0-6 2.7-6 6 0 .6.1 1.2.3 1.7-.4-.1-.9-.1-1.3-.1-.3 0-.5 0-.8.1l19.2 19.2h.2c3.7 0 6.7-3 6.7-6.7z"/><circle fill="%2362a7ce" cx="11.3" cy="34.6" r="3"/><circle fill="%2362a7ce" cx="4.3" cy="38" r="2"/></svg>') no-repeat center / contain;
	}
}

@media (min-width: 768px) {
	.category-label {
		font-size: 18px;
	}
}

/* //////////////////////////////////////////////////
記事の大見出し（single.html の page_h2 バインディング見出し）
ベンチマーク実測（_p-entry-header__maintxt）:
SP 21px / PC 28px・太字・#6e6e6e（基本文字色を継承）・SPのみ左右14pxパディング
////////////////////////////////////////////////// */

.entry-title {
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	margin: 9px 0 7px;
	padding: 0 14px;
}

@media (min-width: 768px) {
	.entry-title {
		font-size: 28px;
		margin: 10px 0 8px;
		padding: 0;
	}
}

/* //////////////////////////////////////////////////
公開日・最終更新日（single.html の wp:post-date ×2）
ベンチマーク実測: 13px・#6e6e6e（基本文字色を継承）・右寄せ1行
ラベルは ::before で付与（日付本体はWPの投稿データから自動）
////////////////////////////////////////////////// */

.entry-dates {
	font-size: 13px;
	margin-bottom: 0.5em;

	.date-published::before {
		content: "公開日: ";
	}

	.date-modified::before {
		content: "最終更新日: ";
	}
}

/* //////////////////////////////////////////////////
アイキャッチ画像（single.html の wp:post-featured-image）
ベンチマーク: 600×600固定・max-width:600px・中央寄せ
////////////////////////////////////////////////// */

.entry-eyecatch {
	max-width: 600px;
	margin: 0 auto 1rem;
}

/* //////////////////////////////////////////////////
カテゴリTOPへ戻るリンク（single.html の wp:post-terms .category-top-link）
ベンチマーク実測: 右寄せ・12px・文字#212529・下線なし・青いキャレット▶
アンカーテキストは functions.php の render_block フィルターで
「<カテゴリ名>TOPへ戻る」に自動書き換え
////////////////////////////////////////////////// */

.category-top-link {
	text-align: right;
	font-size: 12px;
	margin-bottom: 1rem;

	/* 記事末尾（wp:post-content 直後）に置く2つ目。本文との間隔だけ足す */
	&.category-top-link--bottom {
		margin-top: 1.5rem;
	}

	a {
		color: #212529;
		text-decoration: none;

		&::before {
			content: "";
			display: inline-block;
			width: 0;
			height: 0;
			border-style: solid;
			border-width: 4px 0 4px 6px;
			border-color: transparent transparent transparent #6b9ed1;
			margin-right: 6px;
		}
	}
}

/* //////////////////////////////////////////////////
目次（inc/toc.php が entry-toc プレースホルダー位置に生成する ul.entry-toc）
ベンチマーク実測: 14px・list-styleなし・行間に1px破線(#e1e1e1)・
リンク#6e6e6e下線なし・ピンクの▼マーカー
////////////////////////////////////////////////// */

ul.entry-toc {
	list-style: none;
	margin: 18px 0 21px;
	padding: 0;
	font-size: 14px;

	.entry-toc__item {
		position: relative;
		padding: 12px 0 12px 18px;
		border-bottom: 1px dashed #e1e1e1;

		/* 一番上にも破線を表示する */
		&:first-child {
			border-top: 1px dashed #e1e1e1;
		}

		/* ▼は絶対配置にして、タイトルが2行に折り返しても
		   2行目が▼の下に回り込まないようにする（ぶら下げインデント） */
		&::before {
			content: "";
			position: absolute;
			left: 0;
			top: 19px;
			width: 0;
			height: 0;
			border-style: solid;
			border-width: 8px 5px 0 5px;
			border-color: #f67170 transparent transparent transparent;
		}

		a {
			color: #6e6e6e;
			text-decoration: none;
		}
	}
}

/* //////////////////////////////////////////////////
記事内セクション見出し（.section-heading）
TOC（inc/toc.php）の収集対象マーカーであると同時に、見出しコンポーネントの
スタイルフック。ベンチマーク実測（_c-title--rich）:
上枠5px solid #f66a6a・下枠1px solid #e1e1e1・太字16px・
左に丸リング（16px・3px solid #f66a6a）・padding 16px 16px 16px 40px
////////////////////////////////////////////////// */

.section-heading {
	position: relative;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	border-top: 5px solid #f66a6a;
	border-bottom: 1px solid #e1e1e1;
	padding: 16px 16px 16px 40px;
	margin: 10px 0 30px;

	&::before {
		content: "";
		position: absolute;
		top: 16.8px;
		left: 16px;
		width: 16px;
		height: 16px;
		border: 3px solid #f66a6a;
		border-radius: 50%;
	}
}

/* //////////////////////////////////////////////////
本文の強調（strong）
ベンチマーク実測: 太字をキャンセルして色(#f66a6a)で強調する方式
////////////////////////////////////////////////// */

.entry-content strong {
	color: #f66a6a;
	font-weight: 400;
}

/* //////////////////////////////////////////////////
マーカー見出し（.marker-heading）
ベンチマークの _c-title--marker 相当（ピンク帯・白文字、アイコンなし版）。
.category-label と同系のスタイル（最終棚卸しで統合検討）
////////////////////////////////////////////////// */

.marker-heading {
	background-color: #ff7070;
	color: #fff;
	font-size: 15.75px;
	font-weight: 400;
	padding: 0.7em 0.5em 0.7em 1.25em;
	margin-bottom: 10.5px;
}

@media (min-width: 768px) {
	.marker-heading {
		font-size: 18px;
	}
}

/* //////////////////////////////////////////////////
関連記事（patterns/related-articles.php）
ベンチマーク実測: 行 padding 10.5px 17.5px・下破線 rgba(0,0,0,.125)・
サムネ100px枠線付き・タイトル14px/500/#f66a6a・説明13px/#6e6e6e・右矢印。
PCは2列折り返し（下の @media）。同期パターン「お悩みボディケアコラム（固定）」
「気になる恋愛コラム（固定）」と、クエリループの same-category-articles も同じクラスを使う
////////////////////////////////////////////////// */

.related-articles {
	/* 見出し（wp:post-terms で出す場合のリンク色も白のまま） */
	.marker-heading a {
		color: #fff;
		text-decoration: none;
	}

	/* クエリループ（same-category-articles）が出力する ul/li のリセット */
	.wp-block-post-template {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.wp-block-post-excerpt__excerpt {
		margin: 0;
	}
}

.related-articles__item {
	position: relative;
	padding: 10.5px 17.5px;
	border-bottom: 1px dashed rgba(0, 0, 0, 0.125);
	gap: 14px;

	/* リストの一番下には破線を出さない（一番上はもともと枠線なし） */
	&:last-child {
		border-bottom: 0;
	}

	/* 右端の矢印（flexアイテムとして右端に寄せて垂直中央）。
	   ベンチマークのfa-angle-right（太いシェブロン）をボーダー描画で再現 */
	&::after {
		content: "";
		margin-left: auto;
		flex-shrink: 0;
		width: 5px;
		height: 5px;
		border-top: 2px solid #f66a6a;
		border-right: 2px solid #f66a6a;
		transform: rotate(45deg);
	}

	.related-articles__thumb {
		flex: 0 0 100px;
		max-width: 100px;
		margin: 0;

		img {
			border: 1px solid rgba(0, 0, 0, 0.125);
			display: block;
		}
	}

	.related-articles__body {
		flex: 1;
		min-width: 0;
	}

	.related-articles__title {
		font-size: 14px;
		font-weight: 500;
		margin: 0 0 3.5px;

		a {
			color: #f66a6a;
			text-decoration: none;
		}
	}

	.related-articles__text {
		font-size: 13px;
		color: #6e6e6e;
		margin: 0;
	}
}

/* PC: 行を2列に折り返す（ベンチマーク実測: data-md-cols="6" → 318px×2、行 padding 12px 8px）。
   見出しは全幅。破線は各行の下に付け、最終行の2件だけ外す。
   上部回遊バナー（同期パターン ref:67、.pickup-banners）も同じ行構造・同じ2列指定 */
@media (min-width: 768px) {
	.related-articles,
	.pickup-banners {
		display: flex;
		flex-wrap: wrap;

		> .marker-heading,
		> .wp-block-query,
		> .wp-block-post-template {
			flex: 0 0 100%;
			box-sizing: border-box; /* 見出しの左右 padding を幅に含める（はみ出し防止） */
		}

		/* クエリループ内は li（.wp-block-post）が並ぶ単位なので li を50%にする */
		.wp-block-post-template {
			display: flex;
			flex-wrap: wrap;

			> .wp-block-post {
				flex: 0 0 50%;
				box-sizing: border-box;
			}
		}

		.related-articles__item {
			box-sizing: border-box;
			padding: 12px 8px;

			&:last-child {
				border-bottom: 1px dashed rgba(0, 0, 0, 0.125);
			}
		}

		/* 直下に並ぶ行（同期パターン・手書きパターン）は行自体を50%に */
		> .related-articles__item {
			flex: 0 0 50%;
		}

		/* 最終行（最後の2件）だけ破線を外す */
		> .related-articles__item:nth-last-child(-n + 2),
		.wp-block-post-template > .wp-block-post:nth-last-child(-n + 2) .related-articles__item {
			border-bottom: 0;
		}

		/* 中央の区切り線: 左列（行だけを数えて奇数番目）の右罫線（ベンチマーク実測 1px solid rgba(0,0,0,.125)）。
		   見出しが先頭にある場合もあるため、行だけを数える :nth-child(odd of ...) を使う */
		> .related-articles__item:nth-child(odd of .related-articles__item),
		.wp-block-post-template > .wp-block-post:nth-child(odd) .related-articles__item {
			border-right: 1px solid rgba(0, 0, 0, 0.125);
		}
	}
}

/* //////////////////////////////////////////////////
CTAボタン（core/button）
配色・余白・影・hoverは theme.json の styles.elements.button に定義
（ベンチマーク実測 _c-btn--cvr: bg #ffaa33 / hover #fc8b22・15px・padding 12px 24px・
影 3px 1px 3px rgba(252,139,34,.3)）。ここでは theme.json で表現できない
先頭のキャレット▶（fa-caret-right 相当）だけをCSSで付与する
////////////////////////////////////////////////// */

.entry-content .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 6px;
	border-color: transparent transparent transparent currentColor;
	margin-right: 0.5em;
	vertical-align: -1px;
}

/* //////////////////////////////////////////////////
商品紹介ミニ記事（patterns/product-intro-band.php）
ベンチマーク実測（_c-section__inner._u-bg--ivory-75）:
帯見出し: bg #e0f0ff・文字 #79a8d7・太字 14px/16px・padding 7px 14px / 8px 24px・
下線 1px #79a8d7・margin-bottom 14px/16px
本文: 左右 padding 13px/24px・下 padding 21px/24px・画像は左float 33%（最大180px）・
本文は SP/PC とも 14px・CTAは全幅で float 解除後 margin-top 21px/24px
////////////////////////////////////////////////// */

.product-intro-band {
	padding-bottom: 21px;

	.product-intro-band__title {
		padding: 7px 14px;
		margin-bottom: 14px;
		border-bottom: 1px solid #79a8d7;

		h4 {
			font-size: 14px;
			font-weight: 700;
			line-height: 1.2;
			margin: 0;
		}
	}

	.product-intro-band__body {
		padding: 0 13px;

		/* alignleft の画像: WPコアの float に幅・余白だけ上書き */
		.wp-block-image.product-intro-band__image {
			width: 33.333%;
			max-width: 180px;
			margin: 0 21px 10.5px 0;

			img {
				display: block;
				width: 100%;
			}
		}

		p {
			font-size: 14px;
			margin: 0 0 14px;
		}

		.wp-block-buttons {
			clear: both;
			padding-top: 7px; /* p の margin-bottom 14px と合わせて 21px */
		}
	}
}

@media (min-width: 768px) {
	.product-intro-band {
		padding-bottom: 24px;

		.product-intro-band__title {
			padding: 8px 24px;
			margin-bottom: 16px;

			h4 {
				font-size: 16px;
			}
		}

		.product-intro-band__body {
			padding: 0 24px;

			.wp-block-image.product-intro-band__image {
				margin: 0 24px 12px 0;
			}

			p {
				line-height: 1.875;
				margin-bottom: 16px;
			}

			.wp-block-buttons {
				padding-top: 8px;
			}
		}
	}
}

/* //////////////////////////////////////////////////
体験談ブロック（patterns/experience-testimonial.php）
ベンチマーク実測（_p-experience-word-block__media）:
枠: bg #fff5f5・border 1px #ffd6d6・padding 14px/24px
イラスト: 白背景 padding 5px/6px・影・最大幅 70px/112px・SPは左float、PCは横並び(flex)
タイトル: 14px/16px・weight 500・#f66a6a・左線 2px #ff7070・padding-left 10px
本文: 13px・line-height 1.5・#4b4b4b
////////////////////////////////////////////////// */

.experience-testimonial {
	background-color: #fff5f5;
	border: 1px solid #ffd6d6;
	padding: 14px;

	.experience-testimonial__image {
		float: left;
		box-sizing: border-box; /* max-width は白枠（padding込み）の外寸。中の画像は原寸のまま拡大しない */
		max-width: 70px;
		margin: 0 14px 7px 0;
		padding: 5px;
		background-color: #fff;
		box-shadow: 0 1.75px 3.5px rgba(0, 0, 0, 0.075);

		img {
			display: block;
			max-width: 100%;
			height: auto;
		}
	}

	.experience-testimonial__title {
		font-size: 14px;
		font-weight: 500;
		line-height: 1.375;
		color: #f66a6a;
		padding-left: 10px;
		border-left: 2px solid #ff7070;
		margin: 0 0 3.5px;
	}

	.experience-testimonial__text {
		font-size: 13px;
		line-height: 1.5;
		color: #4b4b4b;
		margin: 0;
	}

	/* 回り込み解除 */
	&::after {
		content: "";
		display: block;
		clear: both;
	}
}

@media (min-width: 768px) {
	.experience-testimonial {
		display: flex;
		align-items: flex-start;
		gap: 16px;
		padding: 24px;

		.experience-testimonial__image {
			float: none;
			flex: 0 0 auto;
			max-width: 112px;
			margin: 0;
			padding: 6px;
			box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
		}

		.experience-testimonial__body {
			flex: 1 1 0%;
			min-width: 0;
		}

		.experience-testimonial__title {
			font-size: 16px;
			margin-bottom: 8px;
		}
	}
}

/* //////////////////////////////////////////////////
罫線見出し（.ruled-heading）
ベンチマークの _c-title--ruledline-bottom.text-body 相当（背景なし・下線ピンク）。
体験談グループの見出し（h4）などに使う
実測: 太字 14px/16px・#212529・padding 14px 0 / 16px 0・下線 1px #ff7070・margin-bottom 14px/16px
////////////////////////////////////////////////// */

.ruled-heading {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: #212529;
	padding: 14px 0;
	border-bottom: 1px solid #ff7070;
	margin: 0 0 14px;
}

@media (min-width: 768px) {
	.ruled-heading {
		font-size: 16px;
		padding: 16px 0;
		margin-bottom: 16px;
	}
}

/* //////////////////////////////////////////////////
ポイントカード（patterns/point-card.php）
ベンチマーク実測（.card._c-card--styled）:
カード: bg #f4f0ec・radius 4px・padding 14px / 16px 24px
見出し: 中央寄せ・#f66a6a・太字 17.5px/20px・margin-bottom 14px/16px・padding-top 4px
行(li): bg #fbfaf9・padding 14px 14px 14px 42px / 16px 16px 16px 48px・margin-bottom 7px/8px・
list-style なし。has-heart 付きのリストは左にハート（sprite.svg#ico-heart、#3987bf）
////////////////////////////////////////////////// */

.point-card {
	background-color: #f4f0ec;
	border-radius: 4px;
	padding: 14px;

	.point-card__title {
		text-align: center;
		color: #f66a6a;
		font-size: 17.5px;
		font-weight: 700;
		line-height: 1.57;
		padding-top: 4px;
		margin: 0 0 14px;
	}

	.point-card__list {
		list-style: none;
		margin: 0;
		padding: 0;

		li {
			position: relative;
			background-color: #fbfaf9;
			padding: 14px 14px 14px 42px;
			margin: 0 0 7px;
		}

		&.has-heart li::before {
			content: "";
			position: absolute;
			left: 14px;
			top: 15.75px;
			width: 20px;
			height: 20px;
			background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><path fill="%233987bf" d="M38 15.6c0-5.4-4.4-9.7-9.7-9.7-3.5 0-6.6 1.9-8.3 4.6-1.7-2.8-4.8-4.6-8.3-4.6-5.4 0-9.7 4.4-9.7 9.7 0 2.9 1.3 5.5 3.3 7.3l13.8 13.8c.5.5 1.3.5 1.8 0l13.8-13.8c2-1.7 3.3-4.3 3.3-7.3z"/></svg>') no-repeat center / contain;
		}
	}
}

@media (min-width: 768px) {
	.point-card {
		padding: 16px 24px;

		.point-card__title {
			font-size: 20px;
			line-height: 1.2;
			margin-bottom: 16px;
		}

		.point-card__list {
			li {
				padding: 16px 16px 16px 48px;
				margin-bottom: 8px;
				line-height: 1.875;
			}

			&.has-heart li::before {
				left: 16px;
				top: 18px;
				width: 23px;
				height: 23px;
			}
		}
	}
}

/* //////////////////////////////////////////////////
吹き出し見出し（.balloon-heading）
ベンチマークの _c-title--balloon 相当。中央寄せ・下線ミント(#b7ebda)・下中央に吹き出しの尾。
実測: 15.75px/18px・weight 400・padding 7px 42px 14px / 8px 48px 16px・下線 3px/4px・
radius 8.75px/10px・margin 14px 0 28px / 16px 0 32px・尾は幅34px/40px 高さ18px/21px
（::before がミント色の三角、::after を5px/6px上にずらした白三角で輪郭線だけ残す）
////////////////////////////////////////////////// */

.balloon-heading {
	position: relative;
	width: fit-content;
	margin: 14px auto 28px;
	padding: 7px 42px 14px;
	font-size: 15.75px;
	font-weight: 400;
	line-height: 1.5;
	color: #6e6e6e;
	text-align: center;
	border-bottom: 3px solid #b7ebda;
	border-radius: 8.75px;

	&::before,
	&::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: -3px;
		width: 0;
		height: 0;
		border-style: solid;
		transform: translate(-50%, 100%);
	}

	&::before {
		border-width: 18px 17px 0;
		border-color: #b7ebda transparent transparent;
	}

	&::after {
		border-width: 18px 17px 0;
		border-color: #fff transparent transparent;
		margin-bottom: 5px;
	}
}

@media (min-width: 768px) {
	.balloon-heading {
		margin: 16px auto 32px;
		padding: 8px 48px 16px;
		font-size: 18px;
		border-bottom-width: 4px;
		border-radius: 10px;

		&::before,
		&::after {
			bottom: -4px;
			border-width: 21px 20px 0;
		}

		&::after {
			margin-bottom: 6px;
		}
	}
}

/* //////////////////////////////////////////////////
3商品枠（patterns/product-showcase.php）
ベンチマーク実測（_p-product-recently-viewed__section / _p-showcase__card）:
カード: 白背景・border 1px rgba(0,0,0,.125)・radius 4px・padding 7px/8px・列間/行間 14px/16px
画像: 正方形・最大184px・中央寄せ・下余白 10.5px/12px
タイトル: 太字 12.25px/14px・line-height 1.57/1.2・padding-top 4px
ボタン: 12px・padding 5.25px 7px / 6px 8px・border 1px・影なし・キャレットなし（配色は共通ボタンと同じ）
////////////////////////////////////////////////// */

.product-showcase {
	/* 3列固定グリッド（WPのグリッドレイアウトが列定義を出力）。4枚目以降は自動で2行目へ */
	.product-showcase__grid {
		gap: 14px;
	}

	.product-showcase__card {
		display: flex;
		flex-direction: column;
		background-color: #fff;
		border: 1px solid rgba(0, 0, 0, 0.125);
		border-radius: 4px;
		padding: 7px;
		overflow: hidden;
	}

	.product-showcase__image {
		max-width: 184px;
		margin: 0 auto 10.5px;

		img {
			display: block;
			width: 100%;
			aspect-ratio: 1 / 1;
			object-fit: contain;
		}
	}

	.product-showcase__title {
		flex: 1 0 auto; /* ボタンをカード下端に揃える */
		font-size: 12.25px;
		font-weight: 700;
		line-height: 1.57;
		padding-top: 4px;
		margin: 0 0 3.5px;
	}

	.wp-block-button__link {
		font-size: 12px;
		line-height: 1.5;
		padding: 5.25px 7px;
		border-width: 1px;
		box-shadow: none;

		&::before {
			content: none;
		}
	}
}

@media (min-width: 768px) {
	.product-showcase {
		.product-showcase__grid {
			gap: 16px;
		}

		.product-showcase__card {
			padding: 8px;
		}

		.product-showcase__image {
			margin-bottom: 12px;
		}

		.product-showcase__title {
			font-size: 14px;
			line-height: 1.2;
			margin-bottom: 0;
		}

		.wp-block-button__link {
			padding: 6px 8px;
		}
	}
}

/* 商品枠のスライド（.product-showcase--slider。assets/js/slider.js が Splide で3つずつにする。2026-11-20）。
   移行元でスライドだった商品枠（slick: 3つずつ・自動・ドット・左右矢印）と、同期パターン「おすすめ自分磨きアイテム」。
   JS が動く前・3つ以下のときは上の3列グリッドのまま */
.product-showcase__slider {
	.splide__slide {
		display: flex; /* カードの高さを揃える */

		> .product-showcase__card {
			flex: 1;
		}
	}
}

/* //////////////////////////////////////////////////
スライドのドット・矢印（.np-slider。assets/js/slider.js が Splide の外枠に付ける）
サイトTOPの FV スライドと商品枠のスライドで共通。移行元（slick）: 下に小さなドット、左右に丸い矢印ボタン
////////////////////////////////////////////////// */

.np-slider {
	padding-bottom: 36px;

	.splide__pagination {
		position: absolute;
		left: 40px;
		right: 40px;
		bottom: 8px;
		gap: 4px;
		flex-wrap: wrap;
		padding: 0;
		margin: 0;
	}

	.splide__pagination__page {
		display: block;
		width: 6px;
		height: 6px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #ccc;
		cursor: pointer;

		&.is-active {
			background: #ff7070;
		}
	}

	.splide__arrow {
		position: absolute;
		bottom: 0;
		width: 26px;
		height: 26px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: #f3f3f3;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;

		svg {
			width: 10px;
			height: 10px;
			fill: #555;
		}
	}

	.splide__arrow--prev {
		left: 0;

		svg {
			transform: scaleX(-1);
		}
	}

	.splide__arrow--next {
		right: 0;
	}
}

/* //////////////////////////////////////////////////
動画紹介（patterns/video-intro.php）
ベンチマーク: 罫線見出し + 説明文 + <center><iframe width=550 height=305>（16:9・中央寄せ）
埋め込みは core/embed の responsive（アスペクト比固定）に任せ、ここでは横幅の上限と中央寄せだけ
////////////////////////////////////////////////// */

.video-intro {
	.wp-block-embed {
		max-width: 550px;
		margin: 1rem auto 0;
	}
}

/* //////////////////////////////////////////////////
下部回遊バナー（同期パターン「下部回遊バナー（固定）」、single.html から ref 参照）
ベンチマーク実測: 600×200のバナー画像を最大600px中央寄せで縦に2枚、間隔 22px/30px
////////////////////////////////////////////////// */

.footer-banners {
	.footer-banners__item {
		max-width: 600px;
		margin: 0 auto 22px;

		&:last-child {
			margin-bottom: 0;
		}

		img {
			display: block;
			width: 100%;
		}
	}
}

@media (min-width: 768px) {
	.footer-banners {
		.footer-banners__item {
			margin-bottom: 30px;
		}
	}
}

/* //////////////////////////////////////////////////
公式SNSアイコン（single.html に固定配置）
ベンチマーク実測（_p-socialnav__section）: 中央寄せ・アイコン 42px/58px・間隔 37px/42px・
セクション上下 margin 42px/48px。アイコンは移行元 sprite-view.svg から抽出した自前SVG
////////////////////////////////////////////////// */

.social-links {
	gap: 37px;
	margin: 42px 0;

	.social-links__item {
		margin: 0;

		img {
			display: block;
			width: 42px;
			height: 42px;
		}
	}
}

@media (min-width: 768px) {
	.social-links {
		gap: 42px;
		margin: 48px 0;

		.social-links__item img {
			width: 58px;
			height: 58px;
		}
	}
}

/* //////////////////////////////////////////////////
カテゴリページ（templates/category.html）
アイキャッチ・大見出しは記事と同じ .entry-eyecatch / .entry-title を流用。
説明（wp:term-description）は本文と同じタイポグラフィ。np_intro_content（ブロック）が
描画される場合は .has-intro-content が付く
////////////////////////////////////////////////// */

.category-description {
	font-size: 14px;
	margin: 0 0 1.5rem;

	> * + * {
		margin-top: 1rem;
	}
}

@media (min-width: 768px) {
	.category-description {
		font-size: 16px;
	}
}

/* //////////////////////////////////////////////////
不動の人気コラム（同期パターン category_page_column_ranking）
関連記事系リストの行に順位バッジを足したもの。ベンチマーク実測（_p-ranking__badge）:
数字 22px/700、「位」15px、王冠アイコン 19×15 右余白7px、色は 1位 #e0a500 / 2位 #b3b3b3 /
3位 #fc8b22 / 4位以下 数字 #ff7070・王冠 #79a8d7。タイトルは #495057・weight 400
////////////////////////////////////////////////// */

.ranking-list {
	.ranking-badge {
		display: flex;
		align-items: center;
		font-size: 22px;
		font-weight: 700;
		line-height: 1;
		margin: 0 0 3.5px;
		color: #ff7070;

		&::before {
			content: "";
			display: inline-block;
			width: 19px;
			height: 15px;
			margin-right: 7px;
			background-color: #79a8d7;
			-webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 19"><path d="M2 5l5 4 5-8 5 8 5-4-2 11H4z"/><rect x="4" y="17" width="16" height="2"/></svg>') no-repeat center / contain;
			mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 19"><path d="M2 5l5 4 5-8 5 8 5-4-2 11H4z"/><rect x="4" y="17" width="16" height="2"/></svg>') no-repeat center / contain;
		}

		.ranking-badge__unit {
			font-size: 15px;
		}

		&.ranking-badge--1 { color: #e0a500; &::before { background-color: #e0a500; } }
		&.ranking-badge--2 { color: #b3b3b3; &::before { background-color: #b3b3b3; } }
		&.ranking-badge--3 { color: #fc8b22; &::before { background-color: #fc8b22; } }
	}

	.related-articles__title a {
		color: #495057;
		font-weight: 400;
	}
}

/* //////////////////////////////////////////////////
カテゴリー一覧（patterns/category-list.php、動的）
ベンチマーク実測（_p-categorylist__section）: SP 2列 / PC 4列のグリッド、列間 21px/24px、
サムネ 98×98、カテゴリ名 14px/500/#f66a6a、説明 13px/#6e6e6e、行間（下）21px/24px
////////////////////////////////////////////////// */

.category-list {
	.category-list__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 21px;
	}

	.category-list__thumb {
		width: 98px;
		margin: 0 0 7px;

		img {
			display: block;
			width: 98px;
			height: 98px;
			object-fit: cover;
		}
	}

	.category-list__title {
		font-size: 14px;
		font-weight: 500;
		line-height: 1.3;
		margin: 0 0 4px;

		a {
			color: #f66a6a;
			text-decoration: none;
		}
	}

	.category-list__text {
		font-size: 13px;
		line-height: 1.58;
		color: #6e6e6e;
		margin: 0;
	}
}

@media (min-width: 768px) {
	.category-list {
		.category-list__grid {
			grid-template-columns: repeat(4, minmax(0, 1fr));
			gap: 24px;
		}
	}
}

/* //////////////////////////////////////////////////
ポイントカードの見出しバー型（.point-card--header、変換器が card-header 型カードに付与）
ベンチマーク実測（.card._c-card--styled > h5.card-header + ul.list-unstyled）:
カード bg #f4f0ec・radius 4px・見出し 左寄せ #79a8d7 太字 16px padding 16px 24px・
本文 padding 16px 24px・行は白箱なし・リンク #5b91c8 下線
////////////////////////////////////////////////// */

.point-card.point-card--header {
	padding: 0;

	.point-card__title {
		text-align: left;
		color: #79a8d7;
		font-size: 14px;
		line-height: 1.5;
		padding: 14px 14px;
		margin: 0;
		border-bottom: 1px solid #79a8d7;
	}

	.point-card__list {
		padding: 14px 14px;

		li {
			background: none;
			padding: 0 0 0 16px;
			margin: 0 0 4px;

			/* 行頭のシェブロン（移行元 fa-angle-right） */
			&::before {
				content: "";
				position: absolute;
				left: 2px;
				top: 0.55em;
				width: 5px;
				height: 5px;
				border-top: 2px solid #5b91c8;
				border-right: 2px solid #5b91c8;
				transform: rotate(45deg);
			}

			a {
				color: #5b91c8;
				text-decoration: underline;
			}
		}
	}
}

@media (min-width: 768px) {
	.point-card.point-card--header {
		.point-card__title {
			font-size: 16px;
			padding: 16px 24px;
		}

		.point-card__list {
			padding: 16px 24px;
		}
	}
}

/* //////////////////////////////////////////////////
ポイントカードの「箱」型（.point-card--box、変換器が _c-card--styled の汎用コンテナ用途に付与）
移行元の .card._c-card--styled > .card-body に小見出し・画像・段落を入れたもの。枠（bg #f4f0ec・radius 4px・
padding 14px / 16px 24px）は共通、中身は通常の本文ブロックとして描画する
////////////////////////////////////////////////// */

.point-card.point-card--box {
	> * + * {
		margin-top: 1rem;
	}

	.ruled-heading {
		margin-top: 0;
	}
}

/* //////////////////////////////////////////////////
小項目ボックス（patterns/enquete-box.php、移行元 _p-enquete__section）
ベンチマーク実測: 箱 bg #fbfaf9・padding 21px 14px（PC 24px）・箱同士の間隔 21px、
小小見出し h5 #f66a6a 太字 17.5px/27.5px 下余白 14px（PC 20px/24px 下余白 16px）。text-align:center が付いているが
flex の子で幅が内容幅に縮むため実際は左寄せで見える → 左寄せで実装、
箇条書き disc 14px 左余白 20px
////////////////////////////////////////////////// */

.enquete-box {
	padding: 21px 14px;
	margin: 21px 0;

	> * + * {
		margin-top: 0;
	}

	.enquete-box__title {
		font-size: 17.5px;
		font-weight: 700;
		line-height: 27.5px;
		margin: 0 0 14px;
	}

	ul,
	ol {
		padding-left: 20px;
		margin: 0;
	}

	p {
		margin: 0 0 1rem;

		&:last-child {
			margin-bottom: 0;
		}
	}
}

@media (min-width: 768px) {
	.enquete-box {
		padding: 24px;

		.enquete-box__title {
			font-size: 20px;
			line-height: 24px;
			margin-bottom: 16px;
		}
	}
}

/* //////////////////////////////////////////////////
吹き出し（patterns/speech-balloon.php）
ベンチマーク実測（_c-balloon）: アバター 60px 丸（border 1px #cacaca）・右余白 20px・
本文 白背景 border 1px #cacaca radius 12px padding 13px/15px・左に三角の尾（13px 回転）・
上下 margin 21px/24px・文字 14px/16px #6e6e6e
////////////////////////////////////////////////// */

.speech-balloon {
	gap: 20px;
	margin: 21px 0;

	.speech-balloon__avatar {
		flex: 0 0 60px;
		width: 60px;
		height: 60px;
		margin: 0;
		border: 1px solid #cacaca;
		border-radius: 50%;
		overflow: hidden;

		img {
			display: block;
			width: 100%;
			height: 100%;
			object-fit: cover;
			border-radius: 50%;
		}
	}

	.speech-balloon__body {
		position: relative;
		flex: 1 1 auto;
		min-width: 0;
		background-color: #fff;
		border: 1px solid #cacaca;
		border-radius: 12px;
		padding: 13px;

		/* 左向きの尾（枝分かれしない三角: 白い正方形を回転して左下の2辺だけ枠線を出す） */
		&::after {
			content: "";
			position: absolute;
			left: -7px;
			top: 50%;
			width: 13px;
			height: 13px;
			margin-top: -7px;
			background-color: #fff;
			border-left: 1px solid #cacaca;
			border-bottom: 1px solid #cacaca;
			transform: rotate(45deg);
		}

		p {
			margin: 0;
			font-size: 14px;
			line-height: 1.6;
		}
	}
}

@media (min-width: 768px) {
	.speech-balloon {
		margin: 24px 0;

		.speech-balloon__body {
			padding: 15px;

			p {
				font-size: 16px;
			}
		}
	}
}

/* //////////////////////////////////////////////////
ステップ表示（patterns/step-list.php）
ベンチマーク実測（_p-steps__section）: 箱 bg #fff5f5 border 1px #ffd6d6 padding 14px/24px 間隔 12px・
ステップ名 20px（SP 17px相当）#ff7070 左線 2px padding-left 10px 下余白 8px・説明 #4b4b4b 14px/16px
////////////////////////////////////////////////// */

.step-list {
	.step-list__item {
		background-color: #fff5f5;
		border: 1px solid #ffd6d6;
		padding: 14px;
		margin: 0 0 12px;

		&:last-child {
			margin-bottom: 0;
		}
	}

	.step-list__badge {
		font-size: 17px;
		line-height: 1.5;
		color: #ff7070;
		border-left: 2px solid #ff7070;
		padding-left: 10px;
		margin: 0 0 8px;
	}

	.step-list__text {
		font-size: 14px;
		line-height: 1.5;
		color: #4b4b4b;
		margin: 0;
	}
}

@media (min-width: 768px) {
	.step-list {
		.step-list__item {
			padding: 24px;
		}

		.step-list__badge {
			font-size: 20px;
		}

		.step-list__text {
			font-size: 16px;
		}
	}
}

/* 3商品枠の「カートに入れる」フォーム型カード（変換器が product-showcase__card--cart を付与。フォームは [np_cart_form] が出力）
   画像ボタン（input type=image）をカードの画像と同じ見え方にする */
.product-showcase {
	.product-showcase__card--cart {
		form {
			max-width: 184px;
			margin: 0 auto 10.5px;
		}

		input[type="image"] {
			display: block;
			width: 100%;
			aspect-ratio: 1 / 1;
			object-fit: contain;
			cursor: pointer;
		}
	}
}

@media (min-width: 768px) {
	.product-showcase .product-showcase__card--cart form {
		margin-bottom: 12px;
	}
}

/* 本文直下の「カートに入れる」フォーム（[np_cart_form]、変換器が .cart-form で包む）と、
   oEmbed 非対応の iframe（[np_iframe]、.embed-iframe）。フォーム・iframe 本体は inc/shortcodes.php が出力する */
.np-cart-form {
	margin: 0;

	input[type="image"] {
		display: block;
		width: 100%;
		cursor: pointer;
	}
}

.cart-form {
	max-width: 600px;
	margin: 1rem auto;
}

.embed-iframe,
.np-iframe {
	margin: 1rem auto;

	iframe {
		display: block;
		max-width: 100%;
		margin: 0 auto;
	}
}

/* //////////////////////////////////////////////////
グラフ（[np_chart]、変換器が .chart-box で包む。inc/shortcodes.php + assets/js/charts.js が Chart.js で描画）
移行元: アイボリー枠（py-4）の中に「Q. 質問文」h5（_u-fz-4 太字）+ 円/棒グラフ
////////////////////////////////////////////////// */

.chart-box {
	padding: 21px 14px;
	margin: 1rem 0;

	.chart-box__title {
		font-size: 15px;
		font-weight: 700;
		line-height: 1.4;
		margin: 0 0 14px;
	}

	.np-chart {
		position: relative;
		max-width: 420px;
		margin: 0 auto;
	}
}

@media (min-width: 768px) {
	.chart-box {
		padding: 24px;

		.chart-box__title {
			font-size: 17px;
			margin-bottom: 16px;
		}
	}
}

/* //////////////////////////////////////////////////
ドライラン（2026-09-18 全記事）で見つかった変種の受け皿
- .ivory-box: div._c-section > .section__inner._u-bg--ivory-100（赤字タイトル + リンク画像 + 説明カード）。背景はプリセット ivory-75
- .styled-heading: h4._c-title--styled（赤字の小見出し、文字色はプリセット red-accent）
- .boxed-heading: h4._c-title--ruledline-bottom._u-bg--blue-100（青い箱の見出し。商品紹介帯のタイトルと同じ見た目を単体で使う）
////////////////////////////////////////////////// */

.ivory-box {
	padding: 14px;
	border-radius: 4px;
	margin: 1rem 0;
}

.styled-heading {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 14px;
}

.boxed-heading {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	padding: 8px 14px;
	margin: 0 0 14px;
	border-bottom: 1px solid #79a8d7;
}

@media (min-width: 768px) {
	.ivory-box {
		padding: 16px 24px;
	}

	.styled-heading {
		font-size: 17px;
		margin-bottom: 16px;
	}

	.boxed-heading {
		font-size: 16px;
		padding: 8px 24px;
		margin-bottom: 16px;
	}
}

/* Bootstrap の .card-title / 赤字ユーティリティだけの小見出し（体験談タイトル・「＜お悩み解決＞」等）。文字色はプリセット red-accent を併用 */
.sub-heading {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 8px;
}

@media (min-width: 768px) {
	.sub-heading {
		font-size: 15px;
	}
}

/* //////////////////////////////////////////////////
口コミ枠（patterns/review-box.php）
ベンチマーク: _p-experience-article__section（2026-09-18 onnamigaki/josei で実測）
枠 bg #fff5f5 / タイトル bg #fce8e8・#ea5757・14px bold・padding 14px・口コミアイコン20px
小見出し 15.75px w500 #2c2c2c・吹き出しハートアイコン 22.6px・margin-bottom 21px
本文 padding 21px 14px / 注記 bg #fce8e8・12.25px・padding 10.5px 14px・strong #ea5757
アイコンは移行元 ic_set01.png（45×430 スプライト、口コミは y=274 のセル）と icon--balloon-heart.png を自前化
////////////////////////////////////////////////// */

.review-box {
	background-color: #fff5f5;
	margin: 21px 0;

	.review-box__title {
		display: flex;
		align-items: center;
		gap: 7px;
		background-color: #fce8e8;
		color: #ea5757;
		font-size: 14px;
		font-weight: 700;
		line-height: 1.5;
		padding: 14px;
		margin: 0;

		&::before {
			content: "";
			flex: 0 0 20px;
			width: 20px;
			height: 20px;
			background: url("https://column.lovecosmetic.jp/wp-content/themes/np-owned-column-site/assets/images/ic_set01.png") 0 -121.8px / 20px auto no-repeat;
		}
	}

	.review-box__body {
		padding: 21px 14px;

		> * + * {
			margin-top: 14px;
		}
	}

	.review-box__subtitle {
		display: flex;
		align-items: flex-start;
		gap: 7px;
		font-size: 15.75px;
		font-weight: 500;
		line-height: 1.5;
		color: #2c2c2c;
		margin: 0 0 21px;

		&::before {
			content: "";
			flex: 0 0 23px;
			width: 23px;
			height: 19px;
			margin-top: 2px;
			background: url("https://column.lovecosmetic.jp/wp-content/themes/np-owned-column-site/assets/images/icon--balloon-heart.png") center / 100% auto no-repeat;
		}
	}

	.review-box__subtitle ~ .review-box__subtitle {
		margin-top: 28px;
	}

	.review-box__footer {
		background-color: #fce8e8;
		padding: 10.5px 14px;

		p {
			font-size: 12.25px;
			line-height: 1.5;
			margin: 0;
		}

		strong {
			color: #ea5757;
			font-weight: 400;
		}
	}
}

@media (min-width: 768px) {
	.review-box {
		.review-box__title {
			font-size: 16px;
			padding: 16px 24px;
		}

		.review-box__body {
			padding: 24px;
		}

		.review-box__subtitle {
			font-size: 18px;
		}

		.review-box__footer {
			padding: 12px 24px;

			p {
				font-size: 14px;
			}
		}
	}
}

/* //////////////////////////////////////////////////
モニター企画（monitor-taiken）の3部品
ベンチマーク: monitor-taiken/clay_wash（2026-09-18 実測、旧テンプレートのページ内 <style>）
- monitor-voice: 画像（角丸10px・#eee枠）+ 吹き出し（bg #ff8296 / 反転時 #75d3df、白文字、strong は黄色 15.4px、
  出典 span 11.2px、radius 10px、padding 14px 18px、画像との間 28px、下余白 28px）。SP/PC とも横並び
- monitor-pickup: 白カード radius 14px、padding 14px、max-width 550px 中央、引用 p 14px #6e6e6e
- monitor-note: intro は bg #fbfbb3、本文 16.8px #6e6e6e、余白 42px。thanks は白地で同じ本文スタイル
////////////////////////////////////////////////// */

.monitor-voice {
	gap: 28px;
	padding: 14px;
	margin: 0 0 28px;

	.monitor-voice__media {
		flex: 0 0 40%;
		max-width: 40%;
		text-align: center;

		.monitor-voice__image {
			margin: 0;

			img {
				border: 1px solid #eee;
				border-radius: 10px;
				background-color: #eee;
			}
		}

		.monitor-voice__link {
			font-size: 12.6px;
			margin: 8px 0 0;

			a {
				color: gray;
				text-decoration: underline;
			}
		}
	}

	.monitor-voice__balloon {
		position: relative;
		flex: 1 1 auto;
		min-width: 0;
		background-color: #ff8296;
		border-radius: 10px;
		padding: 14px 18px;
		color: #fff;

		&::before {
			content: "";
			position: absolute;
			top: 50%;
			left: -10px;
			margin-top: -10px;
			border: 10px solid transparent;
			border-left: 0;
			border-right-color: #ff8296;
		}

		p {
			color: #fff;
			font-size: 14px;
			line-height: 1.7;
			margin: 0;
		}

		strong {
			color: #ff0;
			font-size: 15.4px;
		}

		.monitor-voice__credit {
			font-size: 11.2px;
			line-height: 1.5;
			margin-top: 14px;
		}
	}

	&.monitor-voice--reverse {
		flex-direction: row-reverse;

		.monitor-voice__balloon {
			background-color: #75d3df;

			&::before {
				left: auto;
				right: -10px;
				border-right: 0;
				border-left: 10px solid #75d3df;
			}
		}
	}
}

.monitor-pickup {
	background-color: #fff;
	border-radius: 14px;
	padding: 14px;
	margin: 0 auto 28px;
	max-width: 550px;
	text-align: center;

	.wp-block-image {
		margin: 0 0 14px;
	}

	p,
	.monitor-pickup__credit {
		font-size: 14px;
		color: #6e6e6e;
		margin: 14px 0 0;
	}
}

.monitor-note {
	padding: 28px 0;
	margin: 0 0 28px;
	color: #6e6e6e;

	p {
		font-size: 16.8px;
		line-height: 1.8;
		margin: 28px 42px;
	}

	.wp-block-image {
		margin: 0;
	}

	&.monitor-note--intro {
		background-color: #fbfbb3;
	}
}

@media (min-width: 768px) {
	.monitor-voice {
		gap: 32px;
		padding: 16px;
		margin-bottom: 32px;

		.monitor-voice__balloon {
			padding: 16px 21px;

			p {
				font-size: 16px;
			}

			strong {
				font-size: 17.6px;
			}
		}
	}

	.monitor-pickup {
		border-radius: 16px;
		padding: 16px;
	}
}
