/*
Theme Name: NON SHAMPOO
Theme URI: https://nonshampoo.com/
Author: ちふも株式会社
Author URI: https://tifmo.jp/
Description: NON SHAMPOO 公式サイトの自作テーマ（Elementor 不使用）
Version: 0.2.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: nonshampoo
*/

/* =========================================================================
   目次
   1. 基本（色・文字・リセット）
   2. 共通パーツ（コンテナ・ボタン・読み上げ用テキスト）
   3. ヘッダー・LOGIN プルダウン
   4. ハンバーガーメニュー
   5. フッター
   6. トップ（ロゴ・パネル・商品・特長・コラム）
   7. コラム一覧・カード・ページ送り
   8. 記事ページ・本文
   9. 404
   ========================================================================= */

/* 1. 基本 ---------------------------------------------------------------- */

/*
 * 色・文字・ボタン・ヘッダー・メニューは STORES（non-shampoo.stores.jp）の仕様にそろえる。
 * 数値の出典：docs/stores/STORESの見た目の仕様.md（2026-11-21 計測）
 */
:root {
	--c-text: #333333;
	--c-heading: #161616;
	--c-muted: #767676; /* STORES の #777777 とほぼ同じで、白地のコントラスト 4.5 以上 */
	--c-green: #076335;
	--c-cream: #f3f6d0;
	--c-dark: #161616;
	--c-line: #eeeeee;
	--c-link: #0076d7;
	--c-cart: #0076d7;
	--c-cart-hover: #005ad9;
	--c-focus: #0076d7;

	/* STORES と同じ：英字は Lato、日本語はヒラギノ角ゴ／メイリオ */
	--f-base: Lato, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--f-en: var(--f-base);
	/* ブランドの見せ場（トップの訴求見出しなど）だけ Noto Sans JP の極太 */
	--f-display: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

	--radius: 4px;
	--container: 1140px;
	--gutter: clamp(20px, 10.4vw - 50px, 100px);
	--section-gap: clamp(50px, 7vw, 100px);
	--radius-panel: 25px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: #fff;
	color: var(--c-text);
	font-family: var(--f-base);
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: 0.03em;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
}

img,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
	margin: 0;
}

:focus-visible {
	outline: 3px solid var(--c-focus);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ページ切り替え（functions.php の wp_head と assets/js/site.js。2026-11-30）
   最初の切り替えだけロゴがひと呼吸出る。2回目からは軽いフェード。
   どちらも「止まったときの形」が見えない・ふつうの状態なので、動きが止められても画面はふさがらない。
   上はクリックが素通りする（pointer-events: none）。 */
.ns-enter-logo::before,
.ns-enter-logo::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	pointer-events: none;
	opacity: 0;
}

.ns-enter-logo::before {
	background: #fff;
	animation: ns-pt-cover 0.5s ease-in both;
}

.ns-enter-logo::after {
	background: var(--ns-pt-logo) center / min(52vw, 260px) auto no-repeat;
	animation: ns-pt-logo 0.5s ease-in-out both;
}

@keyframes ns-pt-cover {
	0%,
	55% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes ns-pt-logo {
	0% { opacity: 0; transform: scale(0.96); }
	25%,
	55% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; transform: scale(1); }
}

.ns-enter-fade body {
	animation: ns-pt-fade 0.25s ease-out;
}

@keyframes ns-pt-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.ns-enter-logo::before,
	.ns-enter-logo::after {
		display: none;
	}
}

/* 2. 共通パーツ ------------------------------------------------------------ */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 8px;
	left: 50%;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: var(--radius);
	background: var(--c-dark);
	color: #fff;
	text-decoration: none;
	transform: translate(-50%, -200%);
}

.skip-link:focus {
	transform: translate(-50%, 0);
}

.site-main:focus {
	outline: none;
}

.container {
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ボタン：STORES のヘッダーボタンと同じ黒・角丸 4px */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 32px;
	border: 1px solid var(--c-dark);
	border-radius: var(--radius);
	background: var(--c-dark);
	color: #fff;
	font-family: var(--f-base);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: opacity 0.2s, background-color 0.2s;
}

.button:hover {
	opacity: 0.8;
}

.button--large {
	min-height: 60px;
	min-width: min(340px, 100%);
	font-size: clamp(16px, 15px + 0.25vw, 18px);
}

/* STORES の「カートに入れる」と同じ青 */
.button--cart {
	min-width: min(340px, 100%);
	min-height: 60px;
	border-color: var(--c-cart);
	background: var(--c-cart);
	letter-spacing: 0.05em;
}

.button--cart:hover {
	border-color: var(--c-cart-hover);
	background: var(--c-cart-hover);
	opacity: 1;
}

.button--cart .icon {
	width: 20px;
	height: 20px;
}

.button--outline {
	border-color: #cccccc;
	background: #fff;
	color: #666666;
}

.button--outline:hover {
	background: #f5f5f5;
	opacity: 1;
}

/* 3. ヘッダー ------------------------------------------------------------- */

/* 帯はなく、黒い四角いボタンが画面の角に浮く（STORES と同じ） */
.header-buttons {
	position: fixed;
	inset: 0 0 auto;
	z-index: 30;
	height: 0;
}

.header-button {
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: var(--c-dark);
	color: #fff;
	cursor: pointer;
	transition: opacity 0.2s;
}

.header-button:hover {
	opacity: 0.8;
}

.menu-button {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 50px;
	height: 50px;
}

.menu-button .icon {
	width: 26px;
	height: 26px;
}

.account-menu {
	position: absolute;
	top: 20px;
	right: 15px;
}

.account-menu__button {
	width: 89px;
	height: 51px;
	font-family: var(--f-en);
	font-size: 14px;
	letter-spacing: 1.12px;
}

/* LOGIN を押したときのメニュー：白いパネル・枠線・小さな影・角丸なし */
.account-menu__list {
	position: absolute;
	top: calc(100% + 9px);
	right: 0;
	min-width: 152px;
	padding: 10px;
	border: 1px solid var(--c-line);
	background: #fff;
	list-style: none;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.account-menu__list a {
	display: block;
	padding: 6px;
	color: var(--c-text);
	font-size: 14px;
	line-height: 1.5;
	letter-spacing: 0.7px;
	text-decoration: none;
	white-space: nowrap;
}

.account-menu__list a:hover {
	background: var(--c-line);
}

.account-menu__list a:focus-visible {
	outline-offset: -2px;
}

/* ロゴと、その下の横並びメニュー（全ページ共通） */
/*
 * ロゴは STORES と同じ大きさ・同じ位置にする（行き来してもロゴが動かないように）。
 * STORES の計測（docs/stores の画面、2026-11-25 に測定）：ロゴの文字の幅 PC 492px／スマホ（幅390）186px、
 * 文字の上端 PC 158px（2026-11-26 に STORES がメニューをヘッダーへ移してからは 239px。下の @media）／スマホ 106px。
 * STORES のロゴ画像は余白込みで、画像の上端が PC 90px・スマホ 80px（2026-11-25 時点）、
 * 画像の中の上の余白がロゴの幅の 13.84%。こちらのロゴ（logo.svg）は余白なしなので、その分を上の余白に足す。
 */
.masthead {
	--logo-w: min(492px, 47.6vw);
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: calc(90px + var(--logo-w) * 0.1384) var(--gutter) 0;
}

/* PC：STORES はメニューをヘッダーに移し、ロゴが 81px 下がった（2026-11-26 のスクリーンショットで計測。文字の上端 239px） */
@media (min-width: 768px) {
	.masthead {
		padding-top: calc(171px + var(--logo-w) * 0.1384);
		padding-bottom: 135px;
	}
}

.masthead__logo {
	text-align: center;
	line-height: 0;
}

.masthead__logo img {
	width: var(--logo-w);
}

/* 横並びメニュー：メニューボタンの右、ボタンと同じ高さの中央（STORES：文字の左端 131px） */
.global-nav {
	position: absolute;
	top: 20px;
	left: 131px;
	z-index: 20;
	height: 50px;
	display: flex;
	align-items: center;
}

.global-nav > ul {
	display: flex;
	gap: 8px 20px;
	padding: 0;
	list-style: none;
}

.global-nav__dropdown {
	position: relative;
}

.global-nav__dropdown > button {
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--c-heading);
	font-family: var(--f-en);
	font-size: 16px;
	letter-spacing: 1px;
	line-height: inherit;
	cursor: pointer;
}

/* CATEGORY：マウスを乗せる・クリックで開く白いパネル（LOGIN のメニューと同じ見た目） */
.global-nav__sub {
	position: absolute;
	top: calc(100% + 6px);
	left: -10px;
	min-width: 160px;
	padding: 10px;
	border: 1px solid var(--c-line);
	background: #fff;
	list-style: none;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* マウスのある端末だけ、乗せたら開く。Esc やもう一度押して閉じたら、マウスを離すまで開かない（site.js の is-dismissed）。
   キーボードでは Enter・スペースで開く（aria-expanded と見た目をそろえる） */
@media (hover: hover) {
	.global-nav__dropdown:not(.is-dismissed):hover > .global-nav__sub {
		display: block;
	}
}

/* 幅 768〜899px（iPad の縦など）：横並びメニューが LOGIN ボタンの下に隠れないよう、少し詰める */
@media (min-width: 768px) and (max-width: 899px) {
	.global-nav > ul {
		column-gap: 14px;
	}

	.global-nav a,
	.global-nav__dropdown > button {
		font-size: 15px;
		letter-spacing: 0.5px;
	}
}

.global-nav__sub::before {
	content: "";
	position: absolute;
	inset: -8px 0 auto;
	height: 8px;
}

.global-nav .global-nav__sub a {
	display: block;
	padding: 6px;
	font-family: inherit;
	font-size: 14px;
	white-space: nowrap;
}

.global-nav .global-nav__sub a:hover {
	background: var(--c-line);
	text-decoration: none;
}

.global-nav a {
	display: inline-block;
	padding: 4px 0;
	color: var(--c-heading);
	font-family: var(--f-en);
	font-size: 16px;
	letter-spacing: 1px;
	text-decoration: none;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
	text-decoration: underline;
	text-underline-offset: 6px;
}

/* スマホ：ボタンは小さく、LOGIN と横並びメニューはハンバーガーの中へ */
@media (max-width: 767px) {
	.menu-button {
		top: 6px;
		left: 6px;
		width: 44px;
		height: 44px;
	}

	.account-menu,
	.global-nav {
		display: none;
	}

	.masthead {
		padding-top: calc(80px + var(--logo-w) * 0.1384);
		padding-bottom: 40px;
	}

	/* トップだけ、ロゴを 1.3 倍に（47.6vw × 1.3 ＝ 61.88vw。2026-11-26 のご指示。ここだけ STORES より大きい）。
	   文字の上端はほかのページと同じ（幅390で106px）のままにし、下へ大きくする。
	   上限の 366px は、幅768px（PC の表示の始まり）のロゴの幅。小さめのタブレットで境目に急に小さくならないように */
	.masthead--front {
		--logo-w: min(366px, 61.88vw);
		padding-top: calc(80px + min(492px, 47.6vw) * 0.1384);
	}
}

/* 4. ハンバーガーメニュー --------------------------------------------------- */

/* 左から幅 260px の黒いパネル。閉じるボタンはパネルの右外に出る（STORES と同じ） */
.drawer {
	position: fixed;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: hidden;
}

.drawer::backdrop {
	background: transparent;
}

/* メニューを開いているあいだは、背面のページをスクロールさせない */
html:has(.drawer[open]) {
	overflow: hidden;
}

.drawer__panel {
	width: 260px;
	height: 100%;
	padding: 40px 0 40px;
	background: var(--c-dark);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(-100%);
	transition: transform 0.3s ease;
}

.drawer.is-open .drawer__panel {
	transform: none;
}

.drawer :focus-visible {
	outline-color: #fff;
	outline-offset: -3px;
}

.drawer__close {
	position: absolute;
	top: 6px;
	left: 266px;
	width: 44px;
	height: 44px;
	opacity: 0;
	transition: opacity 0.3s;
}

.drawer.is-open .drawer__close {
	opacity: 1;
}

.drawer__close .icon {
	width: 22px;
	height: 22px;
}

.drawer__account {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
	padding: 0 15px;
	margin-bottom: 20px;
}

.drawer__account-button {
	display: grid;
	place-items: center;
	min-height: 42px;
	padding: 4px;
	border: 1px solid #575757;
	border-radius: var(--radius);
	background: #393939;
	color: #fff;
	font-size: 14px;
	text-align: center;
	text-decoration: none;
	transition: opacity 0.2s;
}

.drawer__account-button:hover {
	opacity: 0.8;
}

.drawer__nav,
.drawer__sub {
	padding: 0;
	list-style: none;
}

.drawer__nav {
	padding: 0 22px 0 15px;
}

.drawer__nav > li {
	border-bottom: 1px solid #2d2d2d;
}

.drawer__nav > li > a {
	display: flex;
	align-items: center;
	min-height: 51px;
	color: #fff;
	font-family: var(--f-en);
	font-size: 16px;
	letter-spacing: 1px;
	text-decoration: none;
}

.drawer__sub {
	padding: 0 0 8px 4px;
}

.drawer__sub a {
	display: flex;
	align-items: center;
	min-height: 33px;
	color: #aaaaaa;
	font-size: 15px;
	text-decoration: none;
}

.drawer__nav a:hover,
.drawer__contact a:hover,
.drawer__legal a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.drawer__contact {
	padding: 10px 15px 0;
}

.drawer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	color: #fff;
	font-size: 15px;
	text-decoration: none;
}

.drawer__contact .icon {
	width: 20px;
	height: 20px;
}

.drawer__legal {
	padding: 0 15px;
	list-style: none;
}

.drawer__legal a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	color: #888888;
	font-size: 13px;
	text-decoration: none;
}

.drawer__legal .icon {
	flex: none;
	width: 16px;
	height: 16px;
	color: #888888;
}

/* 5. フッター ------------------------------------------------------------- */

.site-footer {
	display: grid;
	gap: 24px;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 80px var(--gutter) 100px;
}

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	padding: 0;
	list-style: none;
}

.footer-nav a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--c-heading);
	font-family: var(--f-en);
	font-size: 14px;
	letter-spacing: 1px;
	text-decoration: none;
}

.footer-nav a:hover,
.footer-legal a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-nav__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--radius);
	background: var(--c-dark);
	color: #fff;
}

.footer-nav__icon .icon {
	width: 20px;
	height: 20px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	padding: 0;
	list-style: none;
}

.footer-links a {
	color: var(--c-heading);
	font-size: 13px;
	text-decoration: none;
}

.footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	padding: 0;
	list-style: none;
}

.footer-legal a {
	color: var(--c-muted);
	font-size: 12px;
	text-decoration: none;
}

.site-footer__company {
	color: var(--c-muted);
	font-size: 12px;
}

.site-footer__copy {
	color: var(--c-muted);
	font-family: var(--f-en);
	font-size: 12px;
	letter-spacing: 1px;
}

.site-footer__copy small {
	font-size: inherit;
}

@media (max-width: 767px) {
	.footer-nav ul {
		flex-direction: column;
	}
}

/* 6. トップ --------------------------------------------------------------- */

/* 記事ページ・404 の上の特長アイコン */
.brand-features {
	padding: 0 0 clamp(40px, 5vw, 60px);
	text-align: center;
	line-height: 0;
}

.brand-features img {
	width: min(475px, 93%);
}

/* 背景画像つきの角丸パネル */
.panel {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	min-height: 450px;
	padding: clamp(35px, 7vw, 100px) clamp(16px, 8.9vw - 18px, 100px);
	border-radius: var(--radius-panel);
	overflow: hidden;
	background-position: center;
	background-size: cover;
	text-align: center;
}

.panel::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
}

.panel__features {
	width: min(635px, 82%);
}

.panel__items {
	width: min(600px, 100%);
}

.panel--hero {
	background-image: url("assets/img/hero-1600.webp");
}

.panel--hero::before {
	background: var(--c-cream);
	opacity: 0.75;
}

.hero__title {
	font-family: var(--f-display);
	color: var(--c-green);
	font-size: clamp(21px, 8.5px + 3.71vw, 54px);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.5px;
}

.hero__lead {
	font-family: var(--f-display);
	margin-top: 20px;
	color: var(--c-green);
	font-size: clamp(16.5px, 8.5px + 2.19vw, 40px);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.5px;
}

.hero__text {
	font-family: var(--f-display);
	display: grid;
	gap: 1.4em;
	color: var(--c-green);
	font-size: clamp(13.5px, 9.3px + 1.02vw, 24px);
	font-weight: 800;
	line-height: 1.4;
}

/* 商品 */
.products {
	max-width: 1040px;
	margin: var(--section-gap) auto;
	text-align: center;
}

.products__title {
	font-family: var(--f-display);
	display: grid;
	gap: 0.5em;
	margin-bottom: 20px;
	color: var(--c-heading);
	font-weight: 800;
	letter-spacing: -0.2px;
}

.products__title-sub {
	font-size: clamp(14px, 10.1px + 1.1vw, 26px);
	line-height: 1.3;
}

.products__title-main {
	font-size: clamp(21px, 13.5px + 2.05vw, 43px);
	line-height: 1.4;
}

.products__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 50px;
	padding: 10px;
	list-style: none;
}

.product {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px;
}

/* 記事の商品紹介の下の、商品説明ページへの一文 */
.products__more {
	margin-top: 24px;
	font-size: 14px;
}

.product__image {
	display: block;
	width: 100%;
	margin-bottom: 20px;
}

.product__image img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 10px;
}

.product__name {
	color: var(--c-heading);
	font-family: var(--f-en);
	font-size: clamp(15.5px, 14.35px + 0.32vw, 19px);
	font-weight: 400;
	line-height: 1.2;
}

.product__price,
.product__shipping {
	color: var(--c-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.product__price {
	margin-top: 14px;
}

.product__shipping {
	margin-top: 4px;
}

.product__button {
	margin-top: 18px;
}

@media (max-width: 767px) {
	.products__list {
		grid-template-columns: minmax(0, 1fr);
		padding: 0 17px;
	}
}

/* 特長パネル */
.panel--features {
	gap: 40px;
	background-image: url("assets/img/corn-1200.webp");
}

.panel--features::before {
	background: #fff;
	opacity: 0.15;
}

.features {
	font-family: var(--f-display);
	display: grid;
	gap: 0.75em;
	padding: 0;
	color: var(--c-heading);
	font-size: clamp(14.5px, 10.6px + 1.07vw, 26px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.2px;
	list-style: none;
}

.features__large {
	font-size: clamp(17.5px, 14.15px + 0.96vw, 28px);
	letter-spacing: 1px;
}

/* パネルの下端に半分重なるボタン */
.overlap-button {
	position: relative;
	z-index: 1;
	margin-top: -30px;
	text-align: center;
}


/* みんなのNON SHAMPOO（トップ・モニターさんの写真） */
.voice {
	margin: var(--section-gap) 0 0;
	padding: 0 10px;
	text-align: center;
}

.voice__title {
	color: var(--c-heading);
	font-family: var(--f-en);
	font-size: clamp(20px, 8.9px + 2.86vw, 50px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.2px;
}

.voice__lead {
	margin-top: 12px;
	color: var(--c-text);
}

/* 改行はスマホのときだけ */
.voice__br {
	display: none;
}

.voice__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px 16px;
	margin-top: clamp(24px, 3vw, 40px);
	padding: 0;
	list-style: none;
	text-align: left;
}

.voice__item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 15px;
	background: #f2f2f2;
}

.voice__item figcaption {
	margin-top: 6px;
	color: var(--c-muted);
	font-size: 13px;
}

@media (max-width: 767px) {
	.voice__br {
		display: inline;
	}

	.voice__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 10px;
	}

	.voice__item img {
		border-radius: 10px;
	}
}

/* みんなのNON SHAMPOO：使ってみた感想（掲載の了承をもらった方だけ。voice.php の consent） */
.voice__quotes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 16px;
	max-width: 960px;
	margin: clamp(24px, 3vw, 40px) auto 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

/* PC は写真の右に感想と名前。スマホは名前とリンクを下の段に広げる */
.voice-quote {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"photo text"
		"photo meta";
	column-gap: 20px;
	align-items: start;
	padding: 20px;
	border: 1px solid var(--c-line);
	border-radius: 15px;
	background: #fff;
}

.voice-quote__photo {
	grid-area: photo;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	background: #f2f2f2;
}

.voice-quote__text {
	grid-area: text;
	margin: 0;
	color: var(--c-heading);
	font-size: 16px;
	line-height: 1.8;
}

.voice-quote__meta {
	grid-area: meta;
	margin-top: 10px;
}

.voice-quote__who {
	font-size: 13px;
	line-height: 1.6;
}

.voice-quote__name {
	color: var(--c-heading);
	font-weight: 700;
}

.voice-quote__about {
	margin-left: 0.5em;
	color: var(--c-muted);
}

.voice-quote__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	color: var(--c-link);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}

.voice-quote__link .icon {
	flex: none;
	width: 16px;
	height: 16px;
}

.voice__note {
	margin-top: 12px;
	color: var(--c-muted);
	font-size: 12px;
}

@media (max-width: 767px) {
	.voice-quote {
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-rows: auto;
		grid-template-areas:
			"photo text"
			"meta meta";
		column-gap: 14px;
		padding: 14px;
		border-radius: 10px;
	}

	.voice-quote__photo {
		border-radius: 8px;
	}

	.voice-quote__text {
		font-size: 15px;
		line-height: 1.7;
	}

	.voice-quote__meta {
		margin-top: 12px;
	}

	.voice__note {
		text-align: left;
	}
}

/* コラム（トップ） */
.columns {
	margin: var(--section-gap) 0 0;
	padding: 0 10px;
}

.columns__title {
	margin-bottom: clamp(30px, 4vw, 50px);
	color: var(--c-heading);
	font-family: var(--f-en);
	font-size: clamp(20px, 8.9px + 2.86vw, 50px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.2px;
	text-align: center;
}

.columns__more {
	margin-top: clamp(40px, 5vw, 60px);
	text-align: center;
}

.columns__lead {
	max-width: 40em;
	margin: calc(clamp(30px, 4vw, 50px) * -0.5) auto clamp(28px, 3vw, 40px);
	text-align: center;
}

/* 6-2. 販売の部品（トップ・商品説明・よくある質問。docs/strategy/販売設計_2026-11.md） ---- */

/* スマホでは背景画像を小さい版に（Instagram のアプリ内ブラウザでも速く出す） */
@media (max-width: 767px) {
	.panel--hero {
		background-image: url("assets/img/hero-768.webp");
	}

	.panel--features {
		background-image: url("assets/img/corn-768.webp");
	}
}

/* 日本語の見出しや短い文を、文節で折り返す（inc/phrase.php が文節を .phrase__w で包み、切れ目に <wbr> を入れる）。
   スマホで「す」「か？」のように1〜2文字だけの行を作らないため（2026-11-26） */
.phrase {
	overflow-wrap: break-word;
}

/* 文節（12文字まで）の中では折り返さない。keep-all は iPhone（WebKit）でカギカッコの直後でも折り返すので使わない（2026-11-26） */
.phrase__w {
	white-space: nowrap;
}

/* 最初の画面の商品と購入ボタン：PC は横並び、スマホは写真 → 購入ボタンの順（2026-11-26 のご指示） */
.hero__buy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 4vw, 48px);
	width: 100%;
}

/* PC の最初の画面のパウチの写真：幅1200px 以上で 225px（これまでの 150px の 1.5 倍。2026-11-27 のご指示）。
   768〜1200px は画面に合わせて 150〜225px（価格と購入ボタンの枠を細くしないため）。スマホは下の @media で 120px */
.hero__buy .hero__product {
	flex: none;
	width: clamp(150px, 18.75vw, 225px);
}

/* PC でも最初の画面に購入ボタンが入るよう、パネルの上の余白と見出しを少し詰める */
@media (min-width: 768px) {
	.panel--hero {
		padding-top: clamp(35px, 4.5vw, 64px);
	}

	.panel--hero > .panel__features {
		width: min(560px, 82%);
	}
}

.hero__buy .offer {
	max-width: 440px;
	margin: 0;
}

@media (max-width: 767px) {
	/* キャッチコピーの2行目「プロ仕様の低刺激シャンプーを」（14文字）が1行に収まる大きさにする（2026-11-26）。
	   幅458px 以上はこれまでと同じ大きさ。狭い画面ほど少し小さくなる（幅390で 21.4px） */
	.hero__title {
		font-size: clamp(17px, min(8.5px + 3.71vw, 6vw - 2px), 54px);
	}

	.hero__buy {
		flex-direction: column;
		gap: 16px;
	}

	.hero__buy .hero__product {
		width: 120px;
	}

	.breadcrumb--hide-sp {
		display: none;
	}
}

.panel__more a {
	color: var(--c-heading);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* 価格と購入ボタン */
.offer {
	display: grid;
	justify-items: center;
	gap: 14px;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

.panel--hero .offer {
	padding: 18px 16px 20px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.offer__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 4px 12px;
	color: var(--c-heading);
}

.offer__name {
	font-family: var(--f-en);
	font-size: 15px;
	letter-spacing: 0.5px;
}

.offer__amount {
	font-family: var(--f-en);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

.offer__amount small {
	margin-left: 2px;
	font-size: 13px;
	font-weight: 400;
}

.offer__ship {
	padding: 2px 10px;
	border-radius: 999px;
	background: #e8f1e6;
	color: var(--c-green);
	font-size: 13px;
	font-weight: 700;
}

.offer__note {
	color: var(--c-text);
	font-size: 13px;
	line-height: 1.7;
	text-align: center;
}

.offer__note a {
	color: #006cc4;
}

.offer__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 12px;
	width: 100%;
}

.offer__buttons .button--outline {
	min-height: 60px;
	min-width: min(240px, 100%);
}

@media (max-width: 767px) {
	.offer__buttons .button {
		width: 100%;
	}
}

/* 見出しつきの区切り（選ばれる理由・使い方など） */
.block {
	max-width: 960px;
	margin: var(--section-gap) auto 0;
}

/* 見出しの上の飾りの英字（REASON など）は付けない（2026-11-25 のご指示） */
.block__title {
	color: var(--c-heading);
	font-size: clamp(22px, 16px + 1.6vw, 32px);
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.block__lead {
	max-width: 40em;
	margin: 14px auto 0;
	text-align: center;
}

.block__note {
	margin-top: 18px;
	color: var(--c-muted);
	font-size: 12px;
	text-align: center;
}

.block__more {
	margin-top: 28px;
	text-align: center;
}

/* 選ばれる3つの理由 */
.reasons__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 32px;
	padding: 0;
	list-style: none;
}

.reason {
	display: flex;
	flex-direction: column;
	padding: 28px 24px;
	border: 1px solid var(--c-line);
	border-radius: 12px;
	background: #fff;
}

.reason__num {
	color: var(--c-green);
	font-family: var(--f-en);
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
}

.reason__title {
	margin-top: 12px;
	color: var(--c-heading);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.reason__text {
	flex: 1;
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.9;
}

.reason__link {
	margin-top: 14px;
	font-size: 13px;
}

.reason__link a,
.scene__link,
.howto__text a,
.story__body a,
.ingredients td a,
.faq-help a,
.voice-links a,
.products__more a {
	color: var(--c-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 900px) {
	.reasons__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* こんな方に */
.scenes__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 28px;
	padding: 0;
	list-style: none;
}

.scene {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px;
	border-radius: 12px;
	background: #f4f8ef;
}

.scene__title {
	position: relative;
	padding-left: 1.8em;
	color: var(--c-heading);
	font-weight: 700;
	line-height: 1.6;
}

.scene__title::before {
	position: absolute;
	top: 0.35em;
	left: 0.15em;
	width: 0.9em;
	height: 0.5em;
	border-bottom: 2px solid var(--c-green);
	border-left: 2px solid var(--c-green);
	transform: rotate(-45deg);
	content: "";
}

.scene__link {
	margin-left: 1.8em;
	font-size: 13px;
}

/* 薄い色の背景の上のリンクは、少し濃い青にして読みやすさの基準（4.5）を満たす */
.scene .scene__link,
.faq-help a {
	color: #006cc4;
}

@media (max-width: 767px) {
	.scenes__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 使い方 */
.howto__list {
	display: grid;
	gap: 14px;
	max-width: 760px;
	margin: 28px auto 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.howto__step {
	position: relative;
	padding: 18px 20px 18px 68px;
	border: 1px solid var(--c-line);
	border-radius: 12px;
}

.howto__step::before {
	position: absolute;
	top: 16px;
	left: 20px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--c-green);
	color: #fff;
	font-family: var(--f-en);
	font-weight: 700;
	counter-increment: step;
	content: counter(step);
}

.howto__title {
	color: var(--c-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}

.howto__text {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.8;
}

.howto__text a {
	margin-left: 0.3em;
}

/* よくある質問（開閉） */
.faq-list {
	display: grid;
	gap: 10px;
	max-width: 820px;
	margin: 28px auto 0;
}

.faq-item {
	border: 1px solid var(--c-line);
	border-radius: 10px;
	background: #fff;
}

.faq-item__q {
	position: relative;
	padding: 16px 48px 16px 52px;
	color: var(--c-heading);
	font-weight: 700;
	line-height: 1.6;
	list-style: none;
	cursor: pointer;
}

.faq-item__q::-webkit-details-marker {
	display: none;
}

.faq-item__q::before {
	position: absolute;
	top: 14px;
	left: 20px;
	color: var(--c-green);
	font-family: var(--f-en);
	font-size: 18px;
	content: "Q";
}

.faq-item__q::after {
	position: absolute;
	top: 50%;
	right: 20px;
	width: 9px;
	height: 9px;
	border-right: 2px solid #8a8a8a;
	border-bottom: 2px solid #8a8a8a;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s;
	content: "";
}

.faq-item[open] .faq-item__q::after {
	transform: translateY(-30%) rotate(-135deg);
}

.faq-item__q:focus-visible {
	outline-offset: -3px;
}

.faq-item__a {
	padding: 0 20px 18px 52px;
	font-size: 14px;
	line-height: 1.9;
}

.faq-item__a a {
	color: var(--c-link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* よくある質問のページ */
.faq-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.faq-nav a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--c-line);
	border-radius: 999px;
	color: var(--c-heading);
	font-size: 13px;
	text-decoration: none;
}

.faq-nav a:hover {
	background: #f5f5f5;
}

.faq-group {
	max-width: 820px;
	margin: 48px auto 0;
	scroll-margin-top: 80px;
}

.faq-group__title {
	padding-bottom: 8px;
	border-bottom: 1px solid var(--c-line);
	color: var(--c-heading);
	font-size: 20px;
	font-weight: 700;
}

.faq-group .faq-list {
	margin-top: 18px;
}

.faq-help {
	max-width: 820px;
	margin: 56px auto 0;
	padding: 24px;
	border-radius: 12px;
	background: #f7f7f5;
}

.faq-help__title {
	color: var(--c-heading);
	font-size: 17px;
	font-weight: 700;
}

.faq-help p {
	margin-top: 8px;
}

/* 商品説明ページの最初の画面 */
.about-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}

.about-hero__image img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 16px;
}

.about-hero__kicker {
	color: var(--c-green);
	font-family: var(--f-display);
	font-size: clamp(15px, 11px + 1vw, 20px);
	font-weight: 800;
	line-height: 1.6;
}

.about-hero__title {
	margin-top: 8px;
	color: var(--c-heading);
	font-family: var(--f-en);
	font-size: clamp(30px, 20px + 2.4vw, 48px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 2px;
}

.about-hero__title span {
	display: block;
	margin-top: 4px;
	font-family: var(--f-base);
	font-size: 0.42em;
	font-weight: 400;
	letter-spacing: 1px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
	padding: 0;
	list-style: none;
}

.chips li {
	padding: 5px 12px;
	border-radius: 999px;
	background: #f4f8ef;
	color: var(--c-green);
	font-size: 12.5px;
	font-weight: 700;
}

.about-hero__lead {
	margin-top: 16px;
	line-height: 1.9;
}

/* PC：見出しのすぐ下に価格と購入ボタン、そのあとに特長と説明文（1440×900 でも最初の画面に購入ボタンが入るように。2026-11-26） */
@media (min-width: 768px) {
	.about-hero__body {
		display: flex;
		flex-direction: column;
	}

	.about-hero .offer {
		order: 4;
	}

	.about-hero .chips {
		order: 5;
	}

	.about-hero__lead {
		order: 6;
	}
}

.about-hero .offer {
	justify-items: start;
	max-width: none;
	margin-top: 22px;
}

.about-hero .offer__price,
.about-hero .offer__buttons {
	justify-content: flex-start;
}

/* スマホ：見出し → 小さめの商品画像 → 価格と購入ボタン の順にして、最初の画面に購入ボタンを入れる */
@media (max-width: 767px) {
	.about-hero {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0;
		text-align: center;
	}

	.about-hero__body {
		display: contents;
	}

	.about-hero__kicker {
		order: 1;
	}

	.about-hero__title {
		order: 2;
	}

	.about-hero__image {
		order: 3;
		width: min(176px, 50%);
		margin-top: 12px;
	}

	.about-hero .offer {
		order: 4;
		justify-items: center;
		margin-top: 16px;
	}

	.chips {
		order: 5;
		justify-content: center;
	}

	.about-hero__lead {
		order: 6;
	}

	.about-hero .offer__price,
	.about-hero .offer__buttons {
		justify-content: center;
	}
}

/* 成分の表 */
.ingredients__table {
	margin-top: 28px;
	overflow-x: auto;
}

.ingredients table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.8;
}

.ingredients th,
.ingredients td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

.ingredients thead th {
	color: var(--c-muted);
	font-size: 13px;
	font-weight: 400;
}

.ingredients tbody th {
	width: 34%;
	color: var(--c-heading);
	font-weight: 700;
}

.ingredients tbody th span {
	display: block;
	color: var(--c-muted);
	font-size: 12px;
	font-weight: 400;
}

.ingredients td a {
	margin-left: 0.3em;
}

.ingredients__full {
	margin-top: 24px;
	padding: 18px 20px;
	border-radius: 10px;
	background: #fafafa;
	font-size: 13px;
}

.ingredients__full h3 {
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}

.ingredients__cautions ul {
	display: grid;
	gap: 4px;
	padding-left: 1.4em;
}

@media (max-width: 767px) {
	.ingredients tbody th {
		width: 38%;
	}

	.ingredients th,
	.ingredients td {
		padding: 12px 10px;
	}
}

/* ラインナップ */
.lineup__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 28px;
	padding: 0;
	list-style: none;
}

@media (min-width: 900px) {
	.lineup__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.lineup__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px 20px;
	border: 1px solid var(--c-line);
	border-radius: 12px;
}

.lineup__item--featured {
	border-color: var(--c-cart);
	box-shadow: inset 0 0 0 1px var(--c-cart);
}

.lineup__name {
	color: var(--c-heading);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

.lineup__price {
	color: var(--c-heading);
	font-family: var(--f-en);
	font-size: 20px;
	font-weight: 700;
}

.lineup__note {
	flex: 1;
	font-size: 13px;
	line-height: 1.7;
}

.lineup__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 6px;
	border-radius: var(--radius);
	background: var(--c-cart);
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.2s;
}

.lineup__button:hover {
	background: var(--c-cart-hover);
}

/* 開発のきっかけ */
.story__body {
	max-width: 720px;
	margin: 24px auto 0;
	line-height: 2;
}

.story__body p + p {
	margin-top: 1em;
}

/* みんなの声の下のリンク */
.voice-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 24px;
	margin-top: 20px;
	font-size: 14px;
}

.voice-links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.voice-links .icon {
	width: 18px;
	height: 18px;
}

/* 商品情報 */
.spec__list {
	max-width: 820px;
	margin: 24px auto 0;
	border-top: 1px solid var(--c-line);
}

.spec__row {
	display: grid;
	grid-template-columns: 9em minmax(0, 1fr);
	gap: 12px;
	padding: 14px 4px;
	border-bottom: 1px solid var(--c-line);
	font-size: 14px;
	line-height: 1.8;
}

.spec__row dt {
	color: var(--c-heading);
	font-weight: 700;
}

.spec__row dd {
	margin: 0;
}

@media (max-width: 767px) {
	.spec__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}
}

/* 最後の購入ボタン */
.final {
	padding: clamp(32px, 5vw, 56px) 20px;
	border-radius: var(--radius-panel);
	background: #f4f8ef;
}

.final .offer {
	margin-top: 22px;
}

/* 7. コラム一覧・カード ------------------------------------------------------ */

.listing__header {
	padding: clamp(20px, 5vw, 60px) 0 clamp(30px, 3vw, 40px);
	text-align: center;
}

.listing__title {
	color: var(--c-heading);
	font-size: clamp(26px, 22.2px + 1.24vw, 40px);
	font-weight: 700;
	line-height: 1.3;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 0;
	list-style: none;
}

.post-card__link {
	display: block;
	text-decoration: none;
}

.post-card__thumb {
	display: block;
	overflow: hidden;
	background: #f2f2f2;
}

.post-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.post-card__link:hover .post-card__thumb img {
	transform: scale(1.04);
}

.post-card__link:hover .post-card__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-card__title {
	margin-top: 8px;
	font-size: clamp(15px, 1.25vw, 18px);
	font-weight: 800;
	line-height: 1.35;
}

/* トップ：横長の写真、角丸小さめ、黒い見出し */
.post-grid--home {
	gap: 24px 25px;
}

.post-grid--home .post-card__thumb {
	aspect-ratio: 2 / 1;
	border-radius: 15px;
}

.post-grid--home .post-card__title {
	color: #000;
}

/* 一覧：3:2 の写真、角丸大きめ、緑の見出し */
.post-grid--listing {
	gap: 30px 30px;
}

.post-grid--listing .post-card__thumb {
	aspect-ratio: 3 / 2;
	border-radius: 25px;
}

.post-grid--listing .post-card__title {
	color: var(--c-green);
}

@media (max-width: 1023px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.post-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-grid--home .post-card__thumb {
		aspect-ratio: 3 / 1;
	}

	.post-card__title {
		font-size: 16px;
	}
}

/* ページ送り */
.pagination {
	margin-top: 50px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--c-dark);
	border-radius: 5px;
	color: var(--c-dark);
	font-family: var(--f-en);
	text-decoration: none;
}

.pagination .page-numbers.current {
	background: var(--c-dark);
	color: #fff;
}

.pagination a.page-numbers:hover {
	background: #f2f2f2;
}

.pagination .dots {
	border: 0;
}

/* 8. 記事ページ ------------------------------------------------------------ */

.article {
	display: flex;
	flex-direction: column;
	gap: clamp(25px, 4vw, 50px);
	min-height: 450px;
	padding: clamp(30px, 9vw, 100px) clamp(20px, 9vw, 100px);
	border: 1px solid #000;
	border-radius: var(--radius-panel);
}

.article__title {
	color: var(--c-heading);
	font-size: clamp(20px, 14.86px + 1.19vw, 32px);
	font-weight: 700;
	line-height: 1.4;
}

.article__date {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 10px;
	color: var(--c-muted);
	font-size: 13px;
	letter-spacing: 0.5px;
}

.article__thumb img {
	display: block;
	width: 100%;
	border-radius: var(--radius-panel);
}

/* 本文（クラシックエディタの HTML） */
.entry-content {
	color: var(--c-text);
	font-size: clamp(15px, 14.6px + 0.1vw, 16px);
	line-height: 1.95;
	letter-spacing: 0.02em;
}

/* スマホ：記事の枠線と内側の余白をなくして本文を広く（幅 約278px → 約350px）、行間を少し詰める（2026-11-26 のご指示） */
@media (max-width: 767px) {
	.article {
		gap: 24px;
		min-height: 0;
		padding: 8px 0 0;
		border: 0;
		border-radius: 0;
	}

	.entry-content {
		line-height: 1.8;
	}
}


.entry-content > * + * {
	margin-top: 1.3em;
}

.entry-content h2 {
	margin-top: 2.6em;
	padding-bottom: 0.45em;
	border-bottom: 1px solid var(--c-line);
	color: #000;
	font-size: clamp(19.5px, 16px + 0.95vw, 26px);
	font-weight: 700;
	line-height: 1.45;
}

.entry-content h3 {
	margin-top: 2.1em;
	padding-left: 0.7em;
	border-left: 4px solid var(--c-green);
	color: #000;
	font-size: clamp(17px, 14.5px + 0.6vw, 21px);
	font-weight: 700;
	line-height: 1.5;
}

.entry-content h4 {
	margin-top: 1.8em;
	font-size: 1.05em;
	font-weight: 700;
}

.entry-content h2 + *,
.entry-content h3 + *,
.entry-content h4 + * {
	margin-top: 0.9em;
}

.entry-content > :first-child {
	margin-top: 0;
}

.entry-content strong,
.entry-content b {
	font-weight: 700;
}

.entry-content a {
	color: var(--c-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-thickness: 2px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.6em;
}

.entry-content li + li {
	margin-top: 0.45em;
}

.entry-content li::marker {
	color: var(--c-green);
}

.entry-content ol li::marker {
	font-weight: 700;
}

.entry-content blockquote {
	margin-left: 0;
	margin-right: 0;
	padding: 1em 1.3em;
	border-left: 4px solid var(--c-line);
	background: #f7f7f5;
}

.entry-content img {
	border-radius: 10px;
}

.entry-content figure,
.entry-content .wp-caption {
	max-width: 100%;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	margin-top: 0.5em;
	color: var(--c-muted);
	font-size: 0.85em;
	text-align: center;
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
	line-height: 1.6;
}

.entry-content th,
.entry-content td {
	padding: 0.7em 0.9em;
	border: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: #f5f5f2;
	font-weight: 700;
}

.entry-content hr {
	margin: 2.5em 0;
	border: 0;
	border-top: 1px solid var(--c-line);
}

.entry-content::after {
	display: block;
	clear: both;
	content: "";
}

.page-links {
	margin-top: 2em;
}

/* 記事下のブランド紹介（背景がゆっくり切り替わる） */
.panel--promo {
	gap: 40px;
	margin-top: var(--section-gap);
}

.panel--promo::before {
	background: #fff;
	opacity: 0.65;
}

.panel__slides {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.panel__slides span {
	position: absolute;
	inset: 0;
	background-image: var(--slide-sm);
	background-position: center;
	background-size: cover;
	opacity: 0;
	animation: nonshampoo-slides 18s infinite;
}

.panel__slides span:first-child {
	opacity: 1;
}

.panel__slides span:nth-child(2) {
	animation-delay: 4.5s;
}

.panel__slides span:nth-child(3) {
	animation-delay: 9s;
}

.panel__slides span:nth-child(4) {
	animation-delay: 13.5s;
}

/* PC は大きい版の画像（スマホは 768px の版。template-parts/promo.php） */
@media (min-width: 768px) {
	.panel__slides span {
		background-image: var(--slide-lg);
	}
}

@keyframes nonshampoo-slides {
	0% { opacity: 0; }
	8% { opacity: 1; }
	25% { opacity: 1; }
	33% { opacity: 0; }
	100% { opacity: 0; }
}

.promo__title {
	font-family: var(--f-display);
	color: #000;
	font-size: clamp(18px, 9.8px + 2.1vw, 40px);
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.5px;
	text-align: left;
}

/* 記事の部品（SEO・AI 検索向けの型：docs/seo/記事リライトの基準.md） */

.breadcrumb {
	margin: 0 0 24px;
	font-size: 12px;
}

.breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	padding: 0;
	list-style: none;
}

.breadcrumb li {
	color: var(--c-muted);
}

.breadcrumb li + li::before {
	margin: 0 8px;
	content: "/";
}

.breadcrumb a {
	color: var(--c-text);
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.breadcrumb li[aria-current] {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	max-width: 60ch;
}

/* 目次 */
.toc {
	margin: 2.2em 0;
	padding: 20px 24px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: #fafafa;
}

.toc__title {
	margin: 0 0 8px;
	color: var(--c-heading);
	font-size: 15px;
	font-weight: 700;
}

.entry-content .toc__list {
	margin: 0;
	padding-left: 1.4em;
}

.entry-content .toc__list li + li {
	margin-top: 0.25em;
}

.entry-content .toc__list a {
	color: var(--c-text);
	text-decoration: none;
}

.entry-content .toc__list a:hover {
	color: var(--c-link);
	text-decoration: underline;
}

/* 冒頭の答え */
.entry-content .ns-answer {
	padding: 18px 22px;
	border-left: 4px solid var(--c-green);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: #f4f8ef;
}

.entry-content .ns-answer > * + * {
	margin-top: 0.6em;
}

/* よくある質問 */
.entry-content .ns-faq h3 {
	padding-left: 0;
	border-left: 0;
}

.entry-content .ns-faq h3::before {
	margin-right: 0.4em;
	color: var(--c-green);
	content: "Q.";
}

.entry-content .ns-faq h3 + p::before {
	margin-right: 0.4em;
	color: var(--c-muted);
	font-weight: 700;
	content: "A.";
}

/* 商品への導線 */
.entry-content .ns-cta {
	padding: 22px 24px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.entry-content .ns-cta > * + * {
	margin-top: 0.8em;
}

.entry-content .ns-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 10px 28px;
	border-radius: var(--radius);
	background: var(--c-cart);
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s;
}

.entry-content .ns-cta a:hover {
	background: var(--c-cart-hover);
}

/* 表：スマホでも文字を折り返して画面に収める。列が多い表だけ、枠（inc/seo.php の .table-scroll）の中で横にスクロール */
.entry-content .table-scroll {
	overflow-x: auto;
}

.entry-content .table-scroll:focus-visible {
	outline: 2px solid var(--c-heading);
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.entry-content th,
	.entry-content td {
		min-width: 7.5em;
	}
}

/* 記事の最後の編集部表記 */
.article__footer {
	padding-top: 24px;
	border-top: 1px solid var(--c-line);
}

.editor-note {
	color: var(--c-muted);
	font-size: 13px;
	line-height: 1.8;
}

.editor-note strong {
	display: block;
	margin-bottom: 4px;
	color: var(--c-heading);
	font-size: 14px;
}

/* 関連記事 */
.related {
	margin-top: var(--section-gap);
}

.related__title {
	margin-bottom: 30px;
	color: var(--c-heading);
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 700;
	text-align: center;
}

.post-grid--related {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 20px;
}

.post-grid--related .post-card__thumb {
	aspect-ratio: 3 / 2;
	border-radius: 15px;
}

.post-grid--related .post-card__title {
	color: var(--c-heading);
	font-size: 15px;
}

@media (max-width: 1023px) {
	.post-grid--related {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* とても狭い画面（幅360px未満）では、記事名が窮屈にならないよう1列に */
@media (max-width: 359px) {
	.post-grid--related {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 一覧ページの説明文 */
.listing__description {
	max-width: 46em;
	margin: 16px auto 0;
	color: var(--c-text);
	font-size: 14px;
	line-height: 1.9;
}

@media (max-width: 767px) {
	.listing__br {
		display: none;
	}
}

/* スマホの購入バー（記事・トップ・商品説明。functions.php の has-buy-bar） */
.buy-bar {
	display: none;
}

@media (max-width: 767px) {
	.has-buy-bar {
		padding-bottom: 76px;
	}

	.buy-bar {
		position: fixed;
		inset: auto 0 0;
		z-index: 25;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--c-line);
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
		transform: translateY(110%);
		visibility: hidden;
		transition: transform 0.25s ease, visibility 0.25s;
	}

	.buy-bar.is-visible {
		transform: none;
		visibility: visible;
	}

	.buy-bar__text {
		display: grid;
		line-height: 1.4;
	}

	.buy-bar__name {
		color: var(--c-heading);
		font-family: var(--f-en);
		font-size: 13px;
		letter-spacing: 0.5px;
	}

	.buy-bar__price {
		color: var(--c-text);
		font-size: 12px;
	}

	.buy-bar__button {
		display: inline-flex;
		flex: none;
		align-items: center;
		min-height: 44px;
		padding: 0 18px;
		border-radius: var(--radius);
		background: var(--c-cart);
		color: #fff;
		font-size: 14px;
		text-decoration: none;
	}

	.buy-bar__button:active {
		background: var(--c-cart-hover);
	}
}

/* 9. 404 ---------------------------------------------------------------- */

.not-found {
	display: grid;
	justify-items: center;
	gap: 20px;
	padding: clamp(20px, 5vw, 60px) 0;
	text-align: center;
}

.not-found__title {
	color: var(--c-heading);
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 700;
	line-height: 1.4;
}

.not-found__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 10px;
}

