@charset "UTF-8";
/*
  記事内パーツ (ACF ブロック): 比較表・リンクボタン・基本情報カード・目的別おすすめ
  色はサイトの配色 (style.css) に合わせる。前面でも編集画面でも読み込まれる。
*/
.nt-compare,
.nt-cta,
.nt-spec,
.nt-pick {
	--nt-ink: #3F372B;
	--nt-sub: #827D75;
	--nt-line: #d9d4c5;
	--nt-cream: #faf8f3;
	--nt-gold: #B8A93C;
	--nt-rose: #bb4a6e; /* 白文字のコントラスト 4.86 */
	--nt-rose-dark: #8f3552;
	color: var(--nt-ink);
	letter-spacing: .02em;
}

/* --- ボタン --- */
.nt-compare .nt-btn,
.nt-cta .nt-btn,
.nt-pick .nt-btn {
	align-items: center;
	background: var(--nt-rose);
	border-radius: 999px;
	box-shadow: 0 3px 0 var(--nt-rose-dark);
	color: #fff;
	display: flex;
	font-size: 13px;
	font-weight: 700;
	gap: .5em;
	justify-content: center;
	line-height: 1.3;
	min-height: 44px;
	padding: .5em .9em;
	text-align: center;
	text-decoration: none;
	transition: box-shadow .15s, transform .15s, background-color .15s;
}
.nt-compare .nt-btn::after,
.nt-cta .nt-btn::after,
.nt-pick .nt-btn::after {
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	content: "";
	flex: none;
	height: .45em;
	transform: rotate(45deg);
	width: .45em;
}
.nt-compare .nt-btn:hover,
.nt-cta .nt-btn:hover,
.nt-pick .nt-btn:hover {
	background: #a8405f;
	box-shadow: 0 1px 0 var(--nt-rose-dark);
	color: #fff;
	transform: translateY(2px);
}
.nt-compare .nt-btn:focus-visible,
.nt-cta .nt-btn:focus-visible,
.nt-pick .nt-btn:focus-visible,
.nt-compare__detail:focus-visible,
.nt-pick__detail:focus-visible {
	outline: 2px solid var(--nt-ink);
	outline-offset: 3px;
}

/* --- リンクボタン (単体) --- */
.nt-cta {
	margin: 2.5em auto;
	max-width: 460px;
	text-align: center;
}
.nt-cta .nt-btn.-lg {
	font-size: 16px;
	min-height: 56px;
	padding: .6em 3em;
	position: relative;
}
/* 矢印は右端に置いて、文字をボタンの真ん中にそろえる */
.nt-cta .nt-btn.-lg::after {
	margin-top: -.25em;
	position: absolute;
	right: 1.4em;
	top: 50%;
}
/* 2段: 製品名を小さく上に、動作を下に */
.nt-cta .nt-btn.-two {
	min-height: 64px;
	padding-bottom: .5em;
	padding-top: .5em;
}
.nt-btn__text,
.nt-btn__product,
.nt-btn__label {
	display: block;
}
.nt-btn__text {
	line-height: 1.35;
}
.nt-btn__product {
	font-size: 12px;
}
.nt-cta .nt-btn.-sub {
	background: #fff;
	box-shadow: inset 0 0 0 1.5px var(--nt-gold), 0 3px 0 var(--nt-gold);
	color: var(--nt-ink);
}
.nt-cta .nt-btn.-sub:hover {
	background: var(--nt-cream);
	box-shadow: inset 0 0 0 1.5px var(--nt-gold), 0 1px 0 var(--nt-gold);
	color: var(--nt-ink);
}
.nt-cta .nt-cta__micro {
	color: var(--nt-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 .6em;
}
.nt-cta__micro::before {
	content: "＼ ";
}
.nt-cta__micro::after {
	content: " ／";
}

/* --- 比較表 --- */
.nt-compare {
	font-size: 14px;
	line-height: 1.5;
	margin: 2em 0;
}
.nt-compare .nt-compare__table {
	border-collapse: collapse;
	line-height: inherit;
	table-layout: fixed;
	width: 100%;
}
.nt-compare .nt-compare__table th,
.nt-compare .nt-compare__table td {
	background: none;
	border: 0;
	border-bottom: 1px solid var(--nt-line);
	color: inherit;
	font-weight: 400;
	padding: 14px 10px;
	text-align: left;
	vertical-align: middle;
	word-break: normal;
}
.nt-compare .nt-compare__table thead th {
	background: var(--nt-cream);
	border-bottom: 2px solid var(--nt-gold);
	font-size: 13px;
	font-weight: 700;
	padding: 10px;
	text-align: center;
}
.nt-compare__table thead th:nth-child(1),
.nt-compare__table tbody > tr > :nth-child(1) {
	width: 46%;
}
.nt-compare__table thead th:nth-child(2),
.nt-compare__table tbody > tr > :nth-child(2) {
	width: 35%;
}
.nt-compare__table thead th:nth-child(3),
.nt-compare__table tbody > tr > :nth-child(3) {
	width: 19%;
}
.nt-compare__vh {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}
.nt-compare__productInner {
	align-items: center;
	display: flex;
	gap: 14px;
}
.nt-compare__image {
	flex: none;
	width: 76px;
}
.nt-compare .nt-compare__image img {
	display: block;
	height: 88px;
	margin: 0;
	object-fit: contain;
	width: 76px;
}
.nt-compare__text {
	display: block;
	min-width: 0;
}
.nt-compare__name,
.nt-compare__sub,
.nt-compare__point {
	display: block;
}
.nt-compare__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}
.nt-compare__sub {
	color: var(--nt-sub);
	font-size: 11.5px;
	line-height: 1.4;
	margin-top: 2px;
}
.nt-compare__point {
	font-size: 13px;
	margin-top: 6px;
	padding-left: 9px;
	position: relative;
}
.nt-compare__point::before {
	background: var(--nt-gold);
	content: "";
	height: 1em;
	left: 0;
	position: absolute;
	top: .25em;
	width: 3px;
}
.nt-compare__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-top: 6px;
}
.nt-compare__tag {
	background: #f3efd9;
	border-radius: 3px;
	color: #6f6516;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 4px 7px;
}
.nt-compare__tag.-alt {
	background: #f6e6eb;
	color: #a33c5c;
}
.nt-compare__specs dl {
	display: grid;
	gap: 5px;
	margin: 0;
}
.nt-compare__spec {
	align-items: baseline;
	display: grid;
	gap: 8px;
	grid-template-columns: 5.6em 1fr;
}
.nt-compare .nt-compare__spec dt {
	color: var(--nt-sub);
	font-size: 11px;
	font-weight: 400;
	white-space: nowrap;
}
.nt-compare .nt-compare__spec dd {
	font-size: 13px;
	line-height: 1.4;
	margin: 0;
}
.nt-compare .nt-compare__spec.-num dd {
	font-size: 14px;
	font-weight: 700;
}
.nt-compare .nt-compare__detail {
	color: var(--nt-sub);
	display: block;
	font-size: 12px;
	margin-top: 10px;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.nt-compare .nt-compare__detail:hover {
	color: var(--nt-ink);
}
.nt-compare .nt-compare__note {
	color: var(--nt-sub);
	font-size: 12px;
	line-height: 1.6;
	margin: .8em 0 0;
}
.nt-compare__empty {
	background: var(--nt-cream, #faf8f3);
	font-size: 13px;
	margin: 0;
	padding: 1em;
	text-align: center;
}

/* --- 基本情報カード --- */
.nt-spec {
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.6;
	margin: 2em 0;
	overflow: hidden;
}
.nt-spec .nt-spec__rows {
	margin: 0;
}
.nt-spec .nt-spec__row {
	display: grid;
	grid-template-columns: 7.5em 1fr;
}
.nt-spec .nt-spec__row + .nt-spec__row {
	border-top: 1px solid var(--nt-line);
}
.nt-spec .nt-spec__row dt {
	background: #f3efe2;
	border-right: 1px solid var(--nt-line);
	color: #5c5447;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.7;
	padding: 10px 12px;
}
.nt-spec .nt-spec__row dd {
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	min-width: 0;
	padding: 10px 14px;
}
.nt-spec .nt-spec__row dd strong {
	font-weight: 700;
}
.nt-spec__note {
	color: var(--nt-sub);
	display: block;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 2px;
}

/* --- 目的別おすすめ --- */
.nt-pick {
	margin: 2.2em 0;
}
.nt-pick .nt-pick__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 14px;
	text-align: center;
}
.nt-pick__title span {
	border-bottom: 2px solid var(--nt-gold);
	display: inline-block;
	padding: 0 .4em 4px;
}
.nt-pick .nt-pick__list {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nt-pick.-n1 .nt-pick__list {
	grid-template-columns: minmax(0, 300px);
	justify-content: center;
}
.nt-pick.-n2 .nt-pick__list,
.nt-pick.-n4 .nt-pick__list {
	grid-template-columns: repeat(2, 1fr);
}
.nt-pick .nt-pick__card {
	background: #fff;
	border: 1px solid var(--nt-line);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	margin: 0;
	overflow: hidden;
	padding: 0;
}
.nt-pick__label {
	align-items: center;
	background: var(--nt-cream);
	border-bottom: 1px solid var(--nt-line);
	display: flex;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.45;
	min-height: 66px;
	padding: 8px 12px;
	text-align: center;
}
.nt-pick__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px 12px;
	text-align: center;
}
.nt-pick .nt-pick__image {
	display: block;
	height: 118px;
	margin: 0 auto 10px;
	object-fit: contain;
	width: 100px;
}
.nt-pick__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}
.nt-pick__sub {
	color: var(--nt-sub);
	font-size: 11.5px;
	line-height: 1.4;
	margin-top: 2px;
	min-height: 2.8em; /* 1行でも2行でも、次の行の高さをそろえる */
}
.nt-pick .nt-pick__reason {
	font-size: 13px;
	line-height: 1.55;
	margin: 8px 0 12px;
}
.nt-pick__actions {
	margin-top: auto;
}
.nt-pick .nt-pick__detail {
	color: var(--nt-sub);
	display: block;
	font-size: 12px;
	margin-top: 10px;
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.nt-pick .nt-pick__detail:hover {
	color: var(--nt-ink);
}
/* 語や文のまとまり。1つで1行に入らないときは、行の長さをそろえて折り返す */
.nt-keep {
	display: inline-block;
	text-wrap: balance;
}

/* スマホ: 1製品1枚のカードにする (横スクロールなし) */
@media (max-width: 767px) {
	.nt-spec .nt-spec__row dt {
		font-size: 12.5px;
		padding: 10px;
	}
	.nt-spec .nt-spec__row dd {
		padding: 10px 12px;
	}
	/* 目的別おすすめ: 画像と文字を横に並べ、ボタンは横いっぱい、その下に「詳しく見る」 */
	.nt-pick .nt-pick__list,
	.nt-pick.-n2 .nt-pick__list,
	.nt-pick.-n4 .nt-pick__list {
		grid-template-columns: 1fr;
	}
	.nt-pick__label {
		justify-content: flex-start;
		min-height: 0;
		padding: 9px 14px;
		text-align: left;
	}
	.nt-pick__body {
		display: grid;
		gap: 0 12px;
		grid-template-columns: 72px 1fr;
		padding: 12px 14px 14px;
		text-align: left;
	}
	.nt-pick__body.-noimg {
		display: block;
	}
	.nt-pick .nt-pick__image {
		grid-row: 1 / 4;
		height: 84px;
		margin: 0;
		width: 72px;
	}
	.nt-pick__sub {
		min-height: 0;
	}
	.nt-pick .nt-pick__reason {
		margin: 5px 0 0;
	}
	.nt-pick__actions {
		grid-column: 1 / -1;
		margin-top: 12px;
	}
	.nt-pick .nt-btn {
		font-size: 14px;
	}
	.nt-compare .nt-compare__table,
	.nt-compare .nt-compare__table tbody,
	.nt-compare .nt-compare__table tr,
	.nt-compare .nt-compare__table th,
	.nt-compare .nt-compare__table td {
		display: block;
		width: auto;
	}
	.nt-compare .nt-compare__table thead {
		display: none;
	}
	.nt-compare .nt-compare__table tbody > tr {
		border: 1px solid var(--nt-line);
		border-radius: 8px;
		margin-bottom: 10px;
		padding: 12px;
	}
	.nt-compare .nt-compare__table tbody > tr > * {
		border: 0;
		padding: 0;
		width: auto;
	}
	.nt-compare .nt-compare__table tbody > tr > * + * {
		margin-top: 10px;
	}
	.nt-compare__productInner {
		gap: 12px;
	}
	.nt-compare__image {
		width: 68px;
	}
	.nt-compare .nt-compare__image img {
		height: 80px;
		width: 68px;
	}
	.nt-compare__specs dl {
		background: var(--nt-cream);
		border-radius: 6px;
		gap: 3px;
		padding: 8px 10px;
	}
	.nt-compare .nt-compare__table td.nt-compare__action {
		align-items: center;
		display: flex;
		flex-direction: row-reverse;
		gap: 12px;
	}
	.nt-compare .nt-compare__action .nt-btn {
		flex: 1;
		font-size: 14px;
	}
	.nt-compare .nt-compare__detail {
		flex: none;
		margin: 0;
	}
	.nt-cta {
		max-width: none;
	}
}

/* 編集画面ではリンクを押しても移動しない */
.editor-styles-wrapper .nt-btn,
.editor-styles-wrapper .nt-compare__detail,
.editor-styles-wrapper .nt-pick__detail {
	pointer-events: none;
}
