@charset "UTF-8";

/*------------------------------------------------------------
	卸販売（/wholesale/・/wholesale/apply/・/wholesale/order/）2026-12-03 追加
	読むのは、テンプレート page-wholesale*.php のページだけ（functions.php）。
	futureshop のページは読まない。色はテーマの style.css に合わせる
	（茶 #3B2D13・#8D7B5A、金 #A08D69、帯 #F9F9F9、注意 #882531）。
------------------------------------------------------------*/

.wholesale h2:not(:first-child) {
	margin-top: 50px;
}

@media only screen and (min-width: 813px) {

	.wholesale h2:not(:first-child) {
		margin-top: 80px;
	}

}

/* 文の最後の行が 1 文字だけになる折り返し（「い。」だけの行など）を避ける（橋本の指示、2026-12-04。3 ページとも）。
	text-wrap: pretty は、対応していないブラウザーではふつうの折り返しのまま（見た目が崩れることはない）。
	見出し（.wsl-head__ttl）は、下の balance のまま（詳細度が高いほうが勝つ）。
	Safari（iPhone のブラウザーはすべて同じ仕組み）では pretty が段落全体の行の長さをそろえてしまい、
	行の右に余白を残して早めに折り返す（「ECモール」が「EC／モール」になる など）。橋本の指摘、2026-12-04。
	そのため、Safari にだけある書き方（font: -apple-system-body）が使えるブラウザーでは pretty を使わない */
@supports not (font: -apple-system-body) {
	.wholesale p,
	.wholesale li,
	.wholesale dd,
	.wholesale dt,
	.wholesale td,
	.wholesale th,
	.wholesale label {
		text-wrap: pretty;
	}
}

/* Safari では、中央寄せの文と見出しの行の長さをそろえる（balance）。
	pretty を外したままだと、中央寄せの文の最後の行が短く残り、ばらついて見えるため（橋本の指摘、2026-12-04）。
	左寄せの本文は、ふつうの折り返し（行の右に余白を残さない）。
	ここに挙げるのは、スマホで中央寄せの要素（PC でだけ中央のもの〈.wsl-head__lead・.wholesale-notes--cols li〉は入れない） */
@supports (font: -apple-system-body) {
	.wsl .wsl-head__en,
	.wsl .wsl-head__ttl,
	.wsl .wsl-entry__label,
	.wsl .wsl-entry__txt,
	.wsl .wsl-intro__en,
	.wsl .wsl-intro__ttl,
	.wsl .wsl-sec__ttl,
	.wsl .wsl-flow__ttl,
	.wsl .wsl-flow__txt,
	.wsl .wsl-contact__ttl,
	.wsl .wsl-contact__sub,
	.wsl .wholesale-step li,
	.wsl .wsl-form__sub,
	.wsl .wholesale-pending,
	.wsl .wholesale-pass,
	.wsl .wholesale-confirm__ttl,
	.wsl .wholesale-card__name,
	.wsl .wholesale-card__lock,
	.wsl .wholesale-material {
		text-wrap: balance;
	}
}


/*------------------------------------------------------------
	卸販売のご案内（/wholesale/。page-wholesale.php）
	B2B の窓口として、余白を広く・線を細く・色を絞る（橋本の指示、2026-12-03）。
	#mainRight の外に置くので、見出しの見た目はここで全部決める。
	テーマの section {display:flex}・header {} に当たらないよう、div で組む。
------------------------------------------------------------*/

.wsl {
	max-width: 960px;
	margin: 0 auto;
	padding: 10px 20px 0;
	color: #3c3c3c;
}

/* 1. ページの頭 */
.wsl-head {
	text-align: center;
	padding: 20px 0 40px;
}

.wsl .wsl-head__en {
	font-family: 'copperplate', serif;
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: .3em;
	color: #A08D69;
	margin-bottom: 14px;
}

/* 卸の 3 ページのタイトルは、案内ページのカバーのタイトルと同じ大きさ（スマホ 21px・PC 33px）にそろえる（橋本の指示、2026-12-04。もとはスマホ 17px・PC 28px）。
	収まらない幅では、行の長さをそろえて折り返す */
/* 大きさと太さは css/page-title.css と同じ（スマホ 24px・太さ 600、PC 33px・太さ 500。橋本の指示「スマホの各ページのタイトル、もう少しだけ大きく」「太くもする」で案A、2026-12-04。もとはスマホ 21px・500） */
.wsl .wsl-head__ttl {
	font-size: 2.4rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-wrap: balance;
	line-height: 1.5;
	color: #3B2D13;
	margin: 0 0 24px;
}

/* 上の .wholesale h2:not(:first-child) の margin-top（スマホ 50px・PC 80px）が、英字の小見出しの下の見出しにも効き、
	「Wholesale Contact」などと見出しの間が空きすぎていた。頭の見出しでは 0 にする（橋本の指示、2026-12-04。3 ページとも） */
.wsl .wsl-head h2.wsl-head__ttl {
	margin-top: 0;
}

.wsl .wsl-head__ttl::after {
	content: '';
	display: block;
	width: 40px;
	height: 1px;
	background: #A08D69;
	margin: 22px auto 0;
}

.wsl-head__lead {
	font-size: 1.4rem;
	line-height: 2.1;
	text-align: left;
}

/* 1. ページの頭のカバー画像（OSEA の wholesale のように、全幅の画像の上に見出し。橋本の指示、2026-12-04）
	.wsl は幅 960px なので、画面の幅いっぱいにはみ出させる（html の overflow-x: hidden で横スクロールは出ない）。
	画像は $ws_visual（page-wholesale.php。届くまでは仮の画像）。文字が読めるよう、画像に薄い暗幕を重ねる */
.wsl-cover {
	position: relative;
	width: 100vw;
	margin: 0 calc(50% - 50vw) 10px;
	height: 300px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.wsl-cover__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 画像（img/wholesale/cover.jpg）の瓶は、左から 18〜34%・上から 41〜75% にある。
		横は 30%：スマホ（左寄りの範囲だけ見える）でも瓶が切れない。
		縦は 60%：幅 2560px のような横長の画面で上下が大きく切れても、瓶の底が残る */
	object-position: 30% 60%;
}

.wsl-cover::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(40, 30, 15, .38);
}

.wsl-cover__inner {
	position: relative;
	z-index: 1;
	padding: 0 20px;
	top: 8px; /* 上下の真ん中から、少しだけ下げる（橋本の指示「全体を今よりも少〜しだけ下へ」、2026-12-04。PC は 14px） */
}

.wsl .wsl-cover .wsl-head__en,
.wsl .wsl-cover .wsl-head__ttl {
	color: #fff;
	/* スマホではタイトルの左側が白い瓶の蓋に乗るので、薄い影で読みやすくする（橋本の指示、2026-12-04）。PC では消す */
	text-shadow: 0 1px 8px rgba(30, 22, 10, .55);
}

/* 上の .wholesale h2:not(:first-child) の margin-top（スマホ 50px・PC 80px）がカバーの中にも効き、
	「Wholesale」と見出しの間が空きすぎたので、カバーの中では 0 にする（橋本の指示、2026-12-04） */
.wsl .wsl-cover .wsl-head__ttl {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 2.4rem; /* スマホ 24px（白地の頭の 17px → 19px → 21px → 24px。橋本の指示、2026-12-04） */
}

.wsl .wsl-cover .wsl-head__ttl::after {
	background: #fff;
}

/* 日本語のタイトルそのものを、カバーの上下の真ん中に置く（橋本の指示、2026-12-04）。
	「Wholesale」と下の線は、タイトルの上と下に浮かせて置き、真ん中合わせの計算に入れない */
.wsl .wsl-cover .wsl-head__ttl {
	position: relative;
}

.wsl .wsl-cover .wsl-head__en {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	margin: 0 0 14px;
}

.wsl .wsl-cover .wsl-head__ttl::after {
	position: absolute;
	left: 50%;
	top: 100%;
	margin: 22px 0 0 -20px;
}

/* カバーがあるときは、下にはリード文だけ */
.wsl-head--cover {
	padding-top: 30px;
}

/* 2. 窓口（はじめての方／お取引中の方） */
.wsl-entry {
	display: grid;
	gap: 16px;
	margin-bottom: 70px;
}

.wsl-entry__item {
	display: flex;
	flex-direction: column;
	align-items: center; /* 中身を中央に寄せる（橋本の指示、2026-12-04） */
	text-align: center;
	border: 1px solid #e3ddd1;
	padding: 28px 24px;
	background: #fff;
}

.wsl-entry__item:first-child {
	background: #F9F9F9;
	border-color: #F9F9F9;
}

.wsl .wsl-entry__label {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: .05em;
	color: #3B2D13;
	margin-bottom: 10px;
}

/* 見出しの頭のアイコン（線の SVG。色は文字と同じ。橋本の指示、2026-12-04） */
.wsl-entry__icon {
	display: inline-flex;
	flex-shrink: 0;
	line-height: 0;
}

/* 文字（18px）より一回り大きく（橋本の指示「テキストと同じサイズ感に」、2026-12-04。22px → 1.5em） */
.wsl-entry__icon svg {
	display: block;
	width: 1.5em;
	height: 1.5em;
}

.wsl-entry__txt {
	font-size: 1.3rem;
	line-height: 1.9;
	margin-bottom: 22px;
	flex-grow: 1;
}

/* ボタン（テーマの a.button のグラデーションは使わず、平らな色にする） */
.wsl a.wsl-btn {
	display: block;
	width: 100%;
	max-width: 300px;
	box-sizing: border-box;
	padding: 15px 20px;
	border: 1px solid #3B2D13;
	background: #3B2D13;
	color: #fff;
	font-size: 1.4rem;
	letter-spacing: .1em;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}

.wsl a.wsl-btn:hover,
.wsl a.wsl-btn:focus-visible {
	background: #fff;
	color: #3B2D13;
}

/* ボタンの右の「＞」（SVG。page-wholesale.php・page-wholesale-order.php。橋本の指示、2026-12-04）
	文字の色（currentColor）で描くので、ホバーで色が反転すると矢印も変わる。マウスを乗せると少し右へ動く */
.wsl a.wsl-btn,
.wsl a.wholesale-card__btn {
	position: relative;
}

.wsl .wsl-arrow {
	position: absolute;
	right: 18px;
	top: 50%;
	margin-top: -6px;
	transition: transform .2s;
}

.wsl a:hover > .wsl-arrow,
.wsl a:focus-visible > .wsl-arrow {
	transform: translateX(3px);
}

.wsl a.wsl-btn--line {
	background: #fff;
	color: #3B2D13;
}

.wsl a.wsl-btn--line:hover,
.wsl a.wsl-btn--line:focus-visible {
	background: #3B2D13;
	color: #fff;
}

/* 2-2. ブランドと商品の紹介（1 カラム：画像 → 文。メッセージとして読ませる。橋本の指示、2026-12-04）
	2 カラムでは文の幅が狭かったので、PC・スマホとも 1 列。文は読みやすい幅（PC で 760px）に絞って中央に置く。
	見出しの色は、futureshop の商品ページの見出し（css/fs.css の #detailArea h4）と同じ */
.wsl-intro {
	margin-bottom: 70px;
}

.wsl-intro__item {
	display: grid;
	gap: 28px;
}

.wsl-intro__img {
	margin: 0;
}

.wsl-intro__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 9 / 5;
	object-fit: cover;
}

.wsl-intro__body {
	max-width: 760px;
	margin: 0 auto;
}

.wsl .wsl-intro__en {
	font-size: 1.2rem;
	letter-spacing: .2em;
	color: #8D7B5A; /* 茶（はじめは見出しと同じピンク。橋本の指示で茶に、2026-12-04） */
	text-align: center;
	margin: 0 0 10px;
}

.wsl .wsl-intro__ttl {
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .05em;
	color: #C35865;
	text-align: center;
	margin: 0 0 24px;
}

/* 見出しは、文節（.wsl-nobr のかたまり）の切れ目でだけ折り返す。
	もとは「EHA（エハ）を、」の途中で折り返さないため（スマホで「EHA（エ／ハ）」と折れた）。
	2026-12-04 に、見出しの最後の「へ。」「方」だけが次の行に残る折り返しと、中央寄せの文の「お申／し込み」「専用／の」のような語の途中の折り返しを避けるため、
	見出しと中央寄せの文を、文節に分けた（橋本の指摘）。左寄せの本文は分けない（ふつうの折り返し） */
.wsl-nobr {
	display: inline-block;
}

.wsl-intro__body p {
	font-size: 1.4rem;
	line-height: 2.1;
	letter-spacing: .03em;
}

.wsl-intro__body p + p {
	margin-top: 1.4em;
}

/* 3・4. 概要・流れ */
.wsl-sec {
	margin-bottom: 70px;
}

.wsl .wsl-sec__ttl {
	text-align: center;
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: .08em;
	line-height: 1.5;
	color: #3B2D13;
	padding-bottom: 14px;
	border-bottom: 1px solid #3B2D13;
	margin: 0 0 6px;
}

.wsl-dl dt {
	font-size: 1.3rem;
	font-weight: 500;
	color: #A08D69;
	padding-top: 18px;
}

.wsl-dl dd {
	font-size: 1.4rem;
	line-height: 1.9;
	padding: 4px 0 18px;
	border-bottom: 1px solid #e8e4dc;
}

.wsl-small {
	display: inline-block;
	font-size: 1.2rem;
	color: #777;
	margin-top: 4px;
}

.wsl-flow {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wsl-flow li {
	position: relative;
	padding: 22px 0 22px 56px;
	border-bottom: 1px solid #e8e4dc;
}

.wsl-flow__no {
	position: absolute;
	left: 0;
	top: 22px;
	font-family: 'copperplate', serif;
	font-weight: 700;
	font-size: 2rem;
	line-height: 1.2;
	color: #A08D69;
}

/* 線画のイラスト（2026-12-04、橋本の指示）。番号 → イラスト → 見出し → 文 を縦に並べ、左右の中央に寄せる（PC・スマホとも。
	はじめは番号の横に置いたが、橋本の指示で縦並びにした）。.wsl を付けて、上の .wsl-flow li の左の余白（番号の列）を打ち消す */
.wsl .wsl-flow li {
	padding: 28px 0;
	text-align: center;
}

.wsl-flow__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.wsl .wsl-flow__head .wsl-flow__no {
	position: static;
	display: block;
}

.wsl-flow__ill {
	display: block;
	width: 80px;
	height: 60px;
	color: #5A4A33;
}

.wsl .wsl-flow__ttl {
	font-size: 1.7rem;
	font-weight: 500;
	color: #3B2D13;
	margin-bottom: 4px;
}

.wsl-flow__txt {
	font-size: 1.3rem;
	line-height: 1.9;
}

/* 5. お問い合わせ */
.wsl-contact {
	text-align: center;
	background: #F9F9F9;
	padding: 44px 20px;
	margin: 0 -20px;
}

.wsl .wsl-contact__ttl {
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: .08em;
	color: #3B2D13;
	margin-bottom: 22px;
}

/* 「卸販売のお問い合わせ」の頭のメールのしるし（橋本の指示、2026-12-04）。大きさは「ご発注前の確認」のしるしと同じ考え方 */
.wsl-contact__icon {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	vertical-align: -.38em;
	margin-right: 10px;
	color: #A08D69;
}

.wsl-contact a.wsl-btn {
	margin: 0 auto;
}

.wsl-contact__sub {
	font-size: 1.3rem; /* 12px → 13px（1 段大きく。橋本の指示、2026-12-04） */
	line-height: 2;
	color: #666;
	margin-top: 20px;
}

.wsl-contact__sub a {
	color: #3B2D13;
}

@media only screen and (min-width: 813px) {

	.wsl {
		padding: 30px 30px 0;
	}

	.wsl-head {
		padding: 40px 0 60px;
	}

	.wsl .wsl-head__ttl {
		font-size: 3.3rem;
		font-weight: 500;
		letter-spacing: .08em;
	}

	.wsl-head__lead {
		font-size: 1.5rem;
		text-align: center;
	}

	.wsl-cover {
		height: 440px;
		margin-bottom: 20px;
	}

	.wsl-cover__inner {
		top: 14px;
	}

	/* PC 33px（32px から 1px 大きく。2 行にしたので、行の間も少し詰める。橋本の指示、2026-12-04） */
	.wsl .wsl-cover .wsl-head__en,
	.wsl .wsl-cover .wsl-head__ttl {
		text-shadow: none;
	}

	.wsl .wsl-cover .wsl-head__ttl {
		font-size: 3.3rem;
		line-height: 1.6;
	}

	.wsl-head--cover {
		padding-top: 40px;
	}

	.wsl-entry {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
		margin-bottom: 100px;
	}

	.wsl-entry__item {
		padding: 40px 36px;
	}

	.wsl-intro {
		margin-bottom: 100px;
	}

	/* ゆとりを持たせる（橋本の指示、2026-12-04）：画像と文の間を広く */
	.wsl-intro__item {
		gap: 56px;
	}

	.wsl .wsl-intro__ttl {
		font-size: 2.4rem;
		margin-bottom: 36px;
	}

	.wsl-intro__body p {
		font-size: 1.5rem;
	}

	.wsl-sec {
		margin-bottom: 100px;
	}

	.wsl .wsl-sec__ttl {
		font-size: 2.2rem;
	}

	.wsl-dl {
		display: grid;
		grid-template-columns: 180px 1fr;
	}

	.wsl-dl dt,
	.wsl-dl dd {
		padding: 22px 0;
		border-bottom: 1px solid #e8e4dc;
	}

	.wsl-dl dt {
		font-size: 1.4rem;
	}

	.wsl-flow {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 0 30px;
	}

	.wsl-flow li {
		padding: 28px 0 0;
		border-bottom: none;
	}

	.wsl-flow__no {
		position: static;
		display: block;
		font-size: 2.4rem;
		margin-bottom: 12px;
	}

	.wsl .wsl-flow li {
		padding: 28px 0 0;
	}

	.wsl .wsl-flow__head .wsl-flow__no {
		margin-bottom: 0;
	}

	.wsl-flow__ill {
		width: 96px;
		height: 72px;
	}

	.wsl-contact {
		margin: 0;
		padding: 60px 30px;
	}

}


/*------------------------------------------------------------
	お問い合わせ・お申し込み（/wholesale/apply/。page-wholesale-apply.php）
	見た目は案内ページ（.wsl-*）にそろえる。フォームの見た目もここで決める
	（古い css/contact.css は #mainRight 向けなので、このページでは読まない。functions.php）。
	MW WP Form が出す形：.mw_wp_form（画面で _input・_confirm・_complete）> form > dl、
	選択肢は .mwform-radio-field・.mwform-checkbox-field、エラーは span.error。
------------------------------------------------------------*/

.wholesale-apply .wsl-head {
	padding-bottom: 30px;
}

/* 段（入力 → 確認 → 完了） */
.wholesale-step {
	display: flex;
	justify-content: center;
	list-style: none;
	max-width: 760px;
	margin: 0 auto 40px;
	padding: 0;
	border-bottom: 1px solid #e3ddd1;
}

.wholesale-step li {
	flex: 1 1 0;
	max-width: 220px;
	font-size: 1.2rem;
	letter-spacing: .05em;
	text-align: center;
	padding: 0 4px 12px;
	color: #aaa;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.wholesale-step li span {
	display: block;
	font-family: 'copperplate', serif;
	font-weight: 700;
	font-size: 1.4rem;
	letter-spacing: .1em;
	margin-bottom: 2px;
}

/* MW WP Form は、画面に合わせて .mw_wp_form に mw_wp_form_input・_confirm・_complete のクラスを付ける。
   その画面の段を色付きにする（:has() は Baseline 2023。使えないブラウザーでは段が全部薄いままで、フォームは使える） */
.wholesale-apply:has(.mw_wp_form_input) .wholesale-step__input,
.wholesale-apply:has(.mw_wp_form_confirm) .wholesale-step__confirm,
.wholesale-apply:has(.mw_wp_form_complete) .wholesale-step__complete {
	color: #3B2D13;
	border-bottom-color: #3B2D13;
}

.wholesale-apply:has(.mw_wp_form_input) .wholesale-step__input span,
.wholesale-apply:has(.mw_wp_form_confirm) .wholesale-step__confirm span,
.wholesale-apply:has(.mw_wp_form_complete) .wholesale-step__complete span {
	color: #A08D69;
}

/* フォームの枠 */
.wsl-form {
	max-width: 760px;
	margin: 0 auto;
}

.wsl-form__note {
	font-size: 1.3rem;
	margin-bottom: 14px;
}

.wsl-form__req,
.wsl-form dl.required dt::after {
	display: inline-block;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .05em;
	color: #fff;
	background: #A08D69;
	padding: 4px 6px;
	margin: 0 6px 0 0;
	vertical-align: 2px;
}

.wsl-form dl {
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid #e8e4dc;
}

.wsl-form dl:last-of-type {
	border-bottom: 1px solid #e8e4dc;
}

.wsl-form dt {
	font-size: 1.4rem;
	font-weight: 500;
	color: #3B2D13;
	margin-bottom: 8px;
}

.wsl-form dl.required dt::after {
	content: '必須';
	margin: 0 0 0 8px;
}

.wsl-form dd {
	font-size: 1.4rem;
}

/* 確認・完了の画面では、「必須の欄は…」の文は要らない */
.wholesale-apply:has(.mw_wp_form_confirm) .wsl-form__note,
.wholesale-apply:has(.mw_wp_form_complete) .wsl-form__note {
	display: none;
}

/* 入力欄（テーマの style.css の灰色の地を、白の地と細い線に変える） */
.wsl-form input[type="text"],
.wsl-form input[type="email"],
.wsl-form input[type="tel"],
.wsl-form input[type="url"],
.wsl-form select,
.wsl-form textarea {
	width: 100%;
	box-sizing: border-box;
	font-size: 1.6rem; /* iPhone で、入力のときに画面が拡大されないよう 16px 以上にする */
	line-height: 1.5;
	color: #3c3c3c;
	background: #fff;
	border: 1px solid #cfc8ba;
	border-radius: 0;
	padding: 11px 12px;
	-webkit-appearance: none;
	appearance: none;
}

.wsl-form select {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233B2D13' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
	padding-right: 40px;
}

.wsl-form textarea {
	min-height: 160px;
}

.wsl-form input[type="text"]:focus,
.wsl-form input[type="email"]:focus,
.wsl-form input[type="tel"]:focus,
.wsl-form input[type="url"]:focus,
.wsl-form select:focus,
.wsl-form textarea:focus {
	outline: none;
	background: #fff;
	border-color: #3B2D13;
	box-shadow: 0 0 0 1px #3B2D13;
}

.wsl-form input::placeholder,
.wsl-form textarea::placeholder {
	color: #aaa;
}

/* 電話番号（入力欄 3 つ）・郵便番号（〒と入力欄 2 つ）は、MW WP Form が span の中に並べて出す。
   上の「横いっぱい」をやめて、1 行に並べる（MW WP Form 5.1.10 の templates/form-fields/tel.php・zip.php） */
.wsl-form .mwform-tel-field,
.wsl-form .mwform-zip-field {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.wsl-form .mwform-tel-field input[type="text"] {
	width: 5.5em;
}

.wsl-form .mwform-zip-field input[type="text"] {
	width: 5em;
}

/* 業態の「その他」の欄は、選択肢の下に少しあけて置く */
.wsl-form input[name="business_type_other"] {
	margin-top: 10px;
}

/* 入力画面では、「その他」の欄の前の改行（フォームの本文の <br>）を出さない。
	スマホで選択肢を縦に並べたため、改行が空の 1 行になって間が空きすぎた（2026-12-04）。
	欄は幅 100% なので、改行が無くても選択肢の下の行に出る。確認画面では、入力した文字を「その他」と分けるため、改行を残す */
.wsl-form .mw_wp_form_input .wholesale-other > br {
	display: none;
}

/* 選択肢（ラジオ・チェック）。スマホは縦に 1 列（業態・販売方法。橋本の指示、2026-12-04）。PC は横に並べる（下の @media） */
.wsl-form .mwform-radio-field,
.wsl-form .mwform-checkbox-field {
	display: block;
	margin: 6px 0 !important;
}

.wsl-form .mwform-radio-field label,
.wsl-form .mwform-checkbox-field label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.wsl-form input[type="radio"],
.wsl-form input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #3B2D13;
}

/* 入力の誤り */
.wsl-form .error {
	display: block;
	font-size: 1.2rem;
	color: #882531;
	margin-top: 6px;
}

/* ボタン（案内ページの .wsl-btn と同じ見た目） */
.wsl-form .sendBtn {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 36px;
}

/* MW WP Form の wpautop で、ボタンの間に <br> が入ったときも並びを崩さない */
.wsl-form .sendBtn br {
	display: none;
}

/* ボタンは MW WP Form 5.1.10 では <button type="submit">（mwform_bback・bconfirm・bsubmit）。input も念のため */
.wsl-form .sendBtn button,
.wsl-form .sendBtn input[type="submit"],
.wsl-form .sendBtn input[type="button"] {
	width: 100%;
	font-family: inherit;
	max-width: 300px;
	font-size: 1.4rem;
	letter-spacing: .1em;
	line-height: 1.4;
	color: #fff;
	background: #3B2D13;
	border: 1px solid #3B2D13;
	border-radius: 0;
	padding: 16px 20px;
	cursor: pointer;
	transition: background-color .2s, color .2s;
	-webkit-appearance: none;
	appearance: none;
}

.wsl-form .sendBtn button:hover,
.wsl-form .sendBtn button:focus-visible,
.wsl-form .sendBtn input[type="submit"]:hover,
.wsl-form .sendBtn input[type="submit"]:focus-visible {
	background: #fff;
	color: #3B2D13;
}

/* フォームのボタンの「＞」（2026-12-04、橋本の指示「ボタンのアングルが抜けてます」）。
	申し込みフォームのボタンとその文字は、管理画面の MW WP Form のフォームの本文にあり、テーマのファイルからは SVG を入れられない。
	そこで、ボタンの ::after に、a.wsl-btn の .wsl-arrow と同じ形の SVG を、mask で文字の色（currentColor）に塗って出す。
	「入力画面に戻る」だけは、左に向きを反転した「＜」を ::before で出す。発注ページのパスワードの「送信」も同じ */
.wsl-form .sendBtn button,
.wholesale-pass__form button {
	position: relative;
}

.wsl-form .sendBtn button:not([name="submitBack"])::after,
.wholesale-pass__form button::after,
.wsl-form .sendBtn button[name="submitBack"]::before {
	content: '';
	position: absolute;
	top: 50%;
	width: 7px;
	height: 12px;
	margin-top: -6px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1.5 1.5 6.5 7l-5 5.5' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1.5 1.5 6.5 7l-5 5.5' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform .2s;
	pointer-events: none;
}

.wsl-form .sendBtn button:not([name="submitBack"])::after,
.wholesale-pass__form button::after {
	right: 18px;
}

.wsl-form .sendBtn button[name="submitBack"]::before {
	left: 18px;
	transform: scaleX(-1);
}

.wsl-form .sendBtn button:not([name="submitBack"]):hover::after,
.wsl-form .sendBtn button:not([name="submitBack"]):focus-visible::after,
.wholesale-pass__form button:hover::after,
.wholesale-pass__form button:focus-visible::after {
	transform: translateX(3px);
}

.wsl-form .sendBtn button[name="submitBack"]:hover::before,
.wsl-form .sendBtn button[name="submitBack"]:focus-visible::before {
	transform: scaleX(-1) translateX(3px);
}

/* 「入力画面に戻る」は線のボタン（MW WP Form は、戻るボタンに name="submitBack" を付ける） */
.wsl-form .sendBtn [name="submitBack"] {
	background: #fff;
	color: #3B2D13;
}

.wsl-form .sendBtn [name="submitBack"]:hover,
.wsl-form .sendBtn [name="submitBack"]:focus-visible {
	background: #3B2D13;
	color: #fff;
}

/* フォームの下の、メールの窓口と案内ページへの戻り */
.wsl-form__sub {
	max-width: 760px;
	margin: 40px auto 70px;
	font-size: 1.2rem;
	line-height: 2;
	color: #666;
	text-align: center;
}

.wsl-form__sub a {
	color: #3B2D13;
}

@media only screen and (min-width: 813px) {

	.wholesale-step {
		margin-bottom: 50px;
	}

	.wholesale-step li {
		font-size: 1.4rem;
	}

	.wsl-form dl {
		display: grid;
		grid-template-columns: 220px 1fr;
		gap: 0 24px;
		align-items: start;
		padding: 22px 0;
	}

	.wsl-form dt {
		margin: 12px 0 0;
	}

	/* 確認の画面は入力欄が無いので、見出しを中身の高さに合わせる */
	.wsl-form .mw_wp_form_confirm dt {
		margin-top: 0;
	}

	.wsl-form .mwform-radio-field,
	.wsl-form .mwform-checkbox-field {
		display: inline-block;
		margin: 10px 26px 6px 0 !important;
	}

	.wsl-form .sendBtn {
		gap: 20px;
		margin-top: 50px;
	}

	.wsl-form .sendBtn button,
	.wsl-form .sendBtn input[type="submit"],
	.wsl-form .sendBtn input[type="button"] {
		width: 280px;
	}

	.wsl-form__sub {
		margin-bottom: 100px;
	}

}

/* 迷惑メール対策の見えない欄（人には見せない・読み上げない） */
.wholesale-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* 欄の補足の文（会社名の欄など） */
.wholesale-agree-note {
	font-size: 1.3rem;
	line-height: 1.7;
	margin-bottom: 8px !important;
}

.wholesale-pending {
	text-align: center;
	background: #F9F9F9;
	padding: 30px 20px;
}


/*------------------------------------------------------------
	発注ページ（/wholesale/order/。page-wholesale-order.php）
	見た目は案内ページ（.wsl-*）にそろえる（橋本の指示、2026-12-03）。
	js/wholesale.js が使うクラス（#wholesale-confirm・.wholesale-confirm__check・
	.wholesale-confirm__state・.wholesale-card__btn・.is-locked）は名前を変えない。
------------------------------------------------------------*/

.wholesale-order .wsl-head {
	padding-bottom: 30px;
}

/* パスワード（inc/wholesale.php の bellevie_wholesale_password_form()） */
.wholesale-pass {
	max-width: 520px;
	margin: 0 auto 80px;
	padding: 36px 24px;
	background: #F9F9F9;
	text-align: center;
	font-size: 1.4rem;
	line-height: 1.9;
}

.wholesale-pass__error {
	color: #882531;
	font-weight: 500;
	margin-top: 12px;
}

.wholesale-pass__form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 24px 0 20px;
}

.wholesale-pass__form label {
	font-size: 1.3rem;
	font-weight: 500;
	color: #3B2D13;
}

.wholesale-pass__form input[type="password"] {
	width: 100%;
	max-width: 320px;
	box-sizing: border-box;
	font-size: 1.6rem; /* iPhone で、入力のときに画面が拡大されないよう 16px 以上にする */
	background: #fff;
	border: 1px solid #cfc8ba;
	border-radius: 0;
	padding: 12px;
}

.wholesale-pass__form input[type="password"]:focus {
	outline: none;
	border-color: #3B2D13;
	box-shadow: 0 0 0 1px #3B2D13;
}

.wholesale-pass__form button {
	width: 100%;
	max-width: 320px;
	font-family: inherit;
	font-size: 1.4rem;
	letter-spacing: .1em;
	color: #fff;
	background: #3B2D13;
	border: 1px solid #3B2D13;
	border-radius: 0;
	padding: 14px 20px;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}

.wholesale-pass__form button:hover,
.wholesale-pass__form button:focus-visible {
	background: #fff;
	color: #3B2D13;
}

.wholesale-pass__note {
	font-size: 1.2rem;
	color: #666;
}

.wholesale-pass__note a {
	color: #3B2D13;
}

/* 発注前の確認 */
.wholesale-confirm {
	max-width: 760px;
	margin: 0 auto 50px;
	padding: 26px 22px;
	border: 1px solid #3B2D13;
}

.wsl .wholesale-confirm__ttl {
	text-align: center; /* 見出しだけ中央に寄せる。チェックの欄は左のまま（橋本の指示、2026-12-04） */
	font-size: 1.8rem;
	font-weight: 500;
	letter-spacing: .05em;
	color: #3B2D13;
	margin-bottom: 14px;
}

.wholesale-confirm ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wholesale-confirm li {
	padding: 10px 0;
	border-top: 1px solid #e8e4dc;
}

.wholesale-confirm li:last-child {
	border-bottom: 1px solid #e8e4dc;
}

.wholesale-confirm label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 1.4rem;
	line-height: 1.8;
	cursor: pointer;
}

.wholesale-confirm input[type="checkbox"] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 3px 0 0;
	accent-color: #3B2D13;
}

/* 「ご発注前の確認」の見出しの頭のしるし（チェックリスト。橋本の指示、2026-12-04）。
	文頭のしるしは、線が細いぶん小さく見えるので、文字より一回り大きく（em で文字の大きさに合わせる。橋本の指示「テキストと同じサイズ感に」） */
.wholesale-confirm__icon {
	display: inline-block;
	width: 1.6em;
	height: 1.6em;
	vertical-align: -.42em;
	margin-right: 8px;
	color: #A08D69;
}

/* 押せない理由を、鍵のしるしと残りの数で示す（橋本の指示、2026-12-04。js/wholesale.js が文と is-done を切り替える） */
.wholesale-confirm__state {
	position: relative;
	font-size: 1.3rem;
	line-height: 1.8;
	color: #882531;
	background: #FBF3F3;
	margin-top: 16px;
	padding: 10px 14px 10px 44px;
}

.wholesale-confirm__state::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 11px;
	width: 18px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Crect x='1.5' y='7' width='11' height='7.5' rx='1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3Cpath d='M4 7V5a3 3 0 0 1 6 0v2' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Crect x='1.5' y='7' width='11' height='7.5' rx='1' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3Cpath d='M4 7V5a3 3 0 0 1 6 0v2' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat center / contain;
}

.wholesale-confirm__state.is-done {
	color: #3B2D13;
	background: #F4F1EA;
}

.wholesale-confirm__state.is-done::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='m2 8.5 3.2 3.2L12 4.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Cpath d='m2 8.5 3.2 3.2L12 4.5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 押せないボタンを押したとき、確認の欄を目立たせる */
.wholesale-confirm.is-attention {
	animation: wsl-attention 1.6s ease-out;
}

@keyframes wsl-attention {
	0%, 40% {
		box-shadow: 0 0 0 4px rgba(136, 37, 49, .35);
	}
	100% {
		box-shadow: 0 0 0 4px rgba(136, 37, 49, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wholesale-confirm.is-attention {
		animation: none;
		box-shadow: 0 0 0 4px rgba(136, 37, 49, .35);
	}
}

/* セットのカード */
.wholesale-sets {
	display: grid;
	gap: 16px;
	margin-bottom: 70px;
}

.wholesale-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e3ddd1;
	padding: 30px 24px 26px;
	text-align: center;
	background: #fff;
}

/* セットの画像（右下に個数のラベル。2026-12-04、橋本の指示）。セット名の上に出す */
.wholesale-card__img {
	display: block;
	width: 100%;
	max-width: 240px;
	height: auto;
	margin: 0 auto 18px;
}

.wsl .wholesale-card__name {
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: .08em;
	color: #3B2D13;
}

.wsl .wholesale-card__off {
	align-self: center;
	font-family: 'copperplate', serif;
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: .1em;
	color: #A08D69;
	margin: 6px 0 14px;
}

.wsl .wholesale-card__price {
	font-size: 2.8rem;
	font-weight: 500;
	line-height: 1.3;
	color: #3B2D13;
}

.wholesale-card__price small {
	font-size: 1.2rem;
	font-weight: 400;
	margin-left: 2px;
}

.wholesale-card__spec {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 14px;
	text-align: left;
	font-size: 1.3rem;
	line-height: 1.7;
	margin: 20px 0 24px;
	padding-top: 18px;
	border-top: 1px solid #e8e4dc;
	flex-grow: 1;
	align-content: start;
}

.wholesale-card__spec dt {
	color: #A08D69;
	font-weight: 500;
}

/* 押せるときは a に href が付き、テーマの a:link・a:visited（style.css）が当たるので、.wsl a で詳細度を上げる */
.wsl a.wholesale-card__btn,
.wsl span.wholesale-card__btn {
	display: block;
	padding: 14px 20px;
	font-size: 1.4rem;
	letter-spacing: .1em;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #3B2D13;
	border: 1px solid #3B2D13;
	transition: background-color .2s, color .2s;
}

.wsl a.wholesale-card__btn:hover,
.wsl a.wholesale-card__btn:focus-visible {
	background: #fff;
	color: #3B2D13;
}

/* チェックを入れる前・準備中は押せない（押せない見た目を、色を薄くして分かるようにする）。
	チェックの前のボタンは、押すと確認の欄へ移る（js/wholesale.js）ので、押せるままにしておく（href が無いので、ページは移らない） */
.wsl a.wholesale-card__btn.is-locked,
.wsl span.wholesale-card__btn.is-pending {
	color: #aaa;
	background: #f1efea;
	border-color: #f1efea;
	cursor: not-allowed;
}

.wsl span.wholesale-card__btn.is-pending {
	pointer-events: none;
}

/* 鍵のしるしと、ボタンの下の注記は、押せないあいだだけ出す */
.wsl .wholesale-card__btn .wsl-lock {
	display: none;
	width: 1.15em;
	height: 1.3em;
	vertical-align: -.25em;
	margin-right: 8px;
}

.wsl .wholesale-card__btn.is-locked .wsl-lock {
	display: inline-block;
}

.wsl .wholesale-card__btn.is-locked .wsl-arrow {
	display: none;
}

.wsl .wholesale-card__lock {
	font-size: 1.2rem;
	line-height: 1.7;
	color: #882531;
	margin-top: 10px;
}

.wsl .wholesale-card__btn:not(.is-locked) + .wholesale-card__lock {
	display: none;
}

/* ご注文について */
.wholesale-notes ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wholesale-notes li {
	position: relative;
	font-size: 1.4rem;
	line-height: 1.9;
	padding: 14px 0 14px 1.2em;
	border-bottom: 1px solid #e8e4dc;
}

.wholesale-notes li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 1.55em;
	width: 5px;
	height: 5px;
	background: #A08D69;
}

/* ご注文について：イラスト付きの 4 つの欄（2026-12-04、橋本の指示。お取引までの流れと同じ線画）。
	スマホは 1 行に 1 つで、左に小さめのイラスト、右に見出しと文（橋本の指示）。PC は 4 列で、イラストの下に見出しと文を中央寄せ。
	上の .wholesale-notes li の左の印（::before）と左の余白は、ここでは使わない。
	PC の規則は、この下の @media に置く（上の PC の @media に置くと、あとに書いたこの規則に負けるため） */
.wsl .wholesale-notes--cols li {
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-areas: "ill ttl" "ill txt";
	column-gap: 16px;
	align-items: center;
	padding: 18px 0;
}

.wsl .wholesale-notes--cols li::before {
	content: none;
}

.wsl-note__ill {
	grid-area: ill;
	display: block;
	width: 56px;
	height: 42px;
	color: #5A4A33;
}

.wsl .wsl-note__ttl {
	grid-area: ttl;
	align-self: end;
	font-size: 1.5rem;
	font-weight: 500;
	color: #3B2D13;
	margin: 0 0 2px;
}

.wsl .wsl-note__txt {
	grid-area: txt;
	align-self: start;
	font-size: 1.3rem;
	line-height: 1.8;	margin: 0;
}

@media only screen and (min-width: 813px) {

	.wsl .wholesale-notes--cols ul {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 0 24px;
	}

	.wsl .wholesale-notes--cols li {
		display: block;
		padding: 28px 0 0;
		border-bottom: none;
		text-align: center;
	}

	.wsl-note__ill {
		width: 96px;
		height: 72px;
		margin: 0 auto 12px;
	}

	.wsl .wsl-note__ttl {
		margin-bottom: 6px;
	}

}

/* 店頭 POP 素材・表現ガイド（準備中） */
.wholesale-material {
	text-align: center;
	background: #F9F9F9;
	padding: 40px 20px;
	margin: 0 -20px;
	font-size: 1.3rem;
	line-height: 1.9;
}

.wsl .wholesale-material__ttl {
	font-size: 1.9rem;
	font-weight: 500;
	letter-spacing: .05em;
	color: #3B2D13;
	margin-bottom: 10px;
}

/* ダウンロードのボタン（素材ができるまでは押せない見た目。できたら a に替えて、ファイルの URL を付ける） */
.wsl .wholesale-material__btn {
	display: block;
	max-width: 300px;
	margin: 24px auto 0;
	padding: 14px 20px;
	font-size: 1.4rem;
	letter-spacing: .1em;
	line-height: 1.4;
	text-align: center;
	color: #aaa;
	background: #f1efea;
	border: 1px solid #f1efea;
	cursor: not-allowed;
}

@media only screen and (min-width: 813px) {

	.wholesale-pass {
		padding: 50px 40px;
		margin-bottom: 100px;
	}

	.wholesale-confirm {
		padding: 36px 44px;
		margin-bottom: 70px;
	}

	.wholesale-sets {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
		margin-bottom: 100px;
	}

	.wholesale-card {
		padding: 40px 30px 32px;
	}

	.wholesale-material {
		margin: 0;
		padding: 56px 40px;
	}

}
