/* =========================================================
   NS Site Booster — 共通スタイル（既存テーマと干渉しない .nsb 名前空間）
   トークン：藍鉄(信頼) / 石灰岩ホワイト / サンライト・アンバー(化学・CTA) / バイオ・ティール(微生物)
   ========================================================= */
:root {
	--nsb-ink: #22303c;
	--nsb-ink-2: #5b6873;
	--nsb-paper: #f4f6f5;
	--nsb-white: #ffffff;
	--nsb-amber: #e07b1f;
	--nsb-amber-d: #c4650f;
	--nsb-teal: #1b7d6b;
	--nsb-line: #dce1de;
	--nsb-radius: 10px;
	--nsb-shadow: 0 6px 24px rgba(34, 48, 60, 0.08);
}

.nsb, .nsb * { box-sizing: border-box; }
.nsb {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic Medium", "Yu Gothic", sans-serif;
	color: var(--nsb-ink);
	line-height: 1.75;
	margin: 2.4em auto;
	max-width: 1040px;
}
.nsb img { max-width: 100%; height: auto; display: block; }

/* ---------- 見出し・ラベル ---------- */
.nsb-eyebrow {
	font-size: 11px;
	letter-spacing: 0.22em;
	font-weight: 700;
	color: var(--nsb-amber-d);
	margin: 0 0 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.nsb-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--nsb-amber); }
.nsb-eyebrow--light { color: #ffd9ae; }
.nsb-h2 {
	font-size: clamp(22px, 3.2vw, 30px);
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.4;
	margin: 0 0 22px;
	color: var(--nsb-ink);
}
.nsb-h3 { font-size: 19px; font-weight: 800; margin: 1.4em 0 0.6em; }

/* ---------- ボタン ---------- */
.nsb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 22px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	line-height: 1.4;
}
.nsb-btn:hover { transform: translateY(-1px); }
.nsb-btn:focus-visible { outline: 3px solid var(--nsb-amber); outline-offset: 2px; }
.nsb-btn--primary { background: var(--nsb-amber); color: #fff !important; box-shadow: 0 4px 14px rgba(224, 123, 31, 0.35); }
.nsb-btn--primary:hover { background: var(--nsb-amber-d); }
.nsb-btn--ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff !important; background: transparent; }
.nsb-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.nsb-btn--ghostdark { border-color: rgba(255, 255, 255, 0.7); color: #fff !important; background: transparent; }
.nsb-btn--line { border-color: var(--nsb-ink); color: var(--nsb-ink) !important; background: #fff; padding: 9px 18px; font-size: 14px; }
.nsb-btn--line:hover { background: var(--nsb-ink); color: #fff !important; }
.nsb-btn--lg { padding: 15px 30px; font-size: 16px; }
.nsb-btn--block { width: 100%; }

/* ---------- チップ ---------- */
.nsb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.nsb-chip {
	font-size: 11.5px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--nsb-paper);
	color: var(--nsb-ink-2);
	border: 1px solid var(--nsb-line);
}
.nsb-chip--amber { background: #fdf1e3; color: var(--nsb-amber-d); border-color: #f3d9b8; }
.nsb-chip--ghost { background: transparent; }

/* ---------- ヒーロー ---------- */
.nsb-hero {
	background:
		linear-gradient(115deg, rgba(224, 123, 31, 0.18) 0%, rgba(224, 123, 31, 0) 34%),
		linear-gradient(160deg, #1a2733 0%, #22303c 55%, #2b3d4c 100%);
	background-size: cover;
	background-position: center;
	border-radius: 14px;
	color: #fff;
	overflow: hidden;
}
.nsb-hero__in { padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); max-width: 760px; }
.nsb-hero__title {
	font-size: clamp(26px, 4.6vw, 44px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0.02em;
	margin: 0 0 14px;
	color: #fff;
}
.nsb-hero__sub { font-size: clamp(14px, 1.8vw, 16.5px); color: #cfd8de; margin: 0 0 26px; max-width: 620px; }
.nsb-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.nsb-hero__tel { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1.3; padding-left: 6px; }
.nsb-hero__tel span { font-size: 11px; color: #ffd9ae; letter-spacing: 0.08em; }
.nsb-hero__tel strong { font-size: 24px; letter-spacing: 0.04em; }
.nsb-hero__tel small { font-size: 11px; color: #9fb0bc; }

/* ---------- お悩みナビ ---------- */
.nsb-problems__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nsb-problems__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--nsb-white);
	border: 1px solid var(--nsb-line);
	border-left: 4px solid var(--nsb-amber);
	border-radius: var(--nsb-radius);
	padding: 16px 16px 14px;
	text-decoration: none;
	color: var(--nsb-ink);
	box-shadow: var(--nsb-shadow);
	transition: transform 0.15s ease, border-color 0.15s ease;
}
.nsb-problems__item:hover { transform: translateY(-3px); border-left-color: var(--nsb-teal); }
.nsb-problems__item:focus-visible { outline: 3px solid var(--nsb-amber); outline-offset: 2px; }
.nsb-problems__q { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; color: var(--nsb-amber-d); }
.nsb-problems__name { font-size: 16px; font-weight: 800; line-height: 1.4; }
.nsb-problems__go { font-size: 12px; color: var(--nsb-ink-2); margin-top: 6px; }
.nsb-problems__bot { margin-top: 14px; font-size: 14px; color: var(--nsb-ink-2); }
.nsb-problems__bot a { color: var(--nsb-teal); font-weight: 700; }

/* ---------- グリッド／製品カード ---------- */
.nsb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nsb-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nsb-card {
	background: #fff;
	border: 1px solid var(--nsb-line);
	border-radius: var(--nsb-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--nsb-shadow);
}
.nsb-card__media { display: block; aspect-ratio: 4 / 3; background: var(--nsb-paper); }
.nsb-card__media img { width: 100%; height: 100%; object-fit: cover; }
.nsb-card__noimg {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, var(--nsb-ink), #35495a);
}
.nsb-card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nsb-card__title { font-size: 17.5px; font-weight: 800; margin: 0; line-height: 1.45; }
.nsb-card__title a { color: var(--nsb-ink); text-decoration: none; }
.nsb-card__title a:hover { color: var(--nsb-amber-d); }
.nsb-card__catch { font-size: 13.5px; color: var(--nsb-ink-2); margin: 0; }
.nsb-card__feat { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.nsb-card__feat li { padding-left: 20px; position: relative; margin: 3px 0; }
.nsb-card__feat li::before { content: "✓"; position: absolute; left: 0; color: var(--nsb-teal); font-weight: 800; }
.nsb-card__feat--lg { font-size: 15px; }
.nsb-card__ind { font-size: 11.5px; color: var(--nsb-ink-2); margin: 0; }
.nsb-card__body .nsb-btn { margin-top: auto; align-self: flex-start; }

/* ---------- 絞り込み ---------- */
.nsb-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.nsb-filter__btn {
	border: 1px solid var(--nsb-line);
	background: #fff;
	color: var(--nsb-ink-2);
	font-size: 13px;
	font-weight: 700;
	padding: 7px 16px;
	border-radius: 999px;
	cursor: pointer;
}
.nsb-filter__btn.is-active { background: var(--nsb-ink); border-color: var(--nsb-ink); color: #fff; }
.nsb-filter__btn:focus-visible { outline: 3px solid var(--nsb-amber); outline-offset: 2px; }
.nsb-card.is-hidden { display: none; }

/* ---------- Before/After スライダー ---------- */
.nsb-ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--nsb-paper); }
.nsb-ba__after { width: 100%; height: 100%; object-fit: cover; }
.nsb-ba__beforewrap {
	position: absolute;
	inset: 0;
	width: 50%;
	overflow: hidden;
	border-right: 3px solid #fff;
	box-shadow: 2px 0 8px rgba(0, 0, 0, 0.25);
}
.nsb-ba__before { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.nsb-ba__range {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
}
.nsb-ba__range:focus-visible ~ .nsb-ba__tag--a { outline: 3px solid var(--nsb-amber); }
.nsb-ba__tag {
	position: absolute;
	bottom: 10px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	padding: 3px 10px;
	border-radius: 4px;
	color: #fff;
	pointer-events: none;
}
.nsb-ba__tag--b { left: 10px; background: rgba(34, 48, 60, 0.85); }
.nsb-ba__tag--a { right: 10px; background: var(--nsb-amber); }

/* ---------- 事例カード ---------- */
.nsb-case { background: #fff; border: 1px solid var(--nsb-line); border-radius: var(--nsb-radius); overflow: hidden; box-shadow: var(--nsb-shadow); }
.nsb-case__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nsb-case__body { padding: 16px 18px 18px; }
.nsb-case__ba { margin: 10px 0 0; font-size: 14px; }
.nsb-case__ba div { display: flex; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--nsb-line); }
.nsb-case__ba dt { flex: 0 0 3.2em; font-weight: 800; color: var(--nsb-ink-2); }
.nsb-case__ba dd { margin: 0; }
.nsb-case__result dt { color: var(--nsb-amber-d); }
.nsb-case__result dd { font-weight: 700; }
.nsb-case__used { font-size: 12.5px; color: var(--nsb-ink-2); margin: 10px 0 0; }

/* ---------- 信頼バッジ ---------- */
.nsb-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.nsb-trust__item {
	background: #fff;
	border: 1px solid var(--nsb-line);
	border-top: 3px solid var(--nsb-teal);
	border-radius: var(--nsb-radius);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.nsb-trust__item strong { font-size: 17px; letter-spacing: 0.02em; }
.nsb-trust__item span { font-size: 12.5px; color: var(--nsb-ink-2); line-height: 1.6; }

/* ---------- FAQ ---------- */
.nsb-faq__item { border: 1px solid var(--nsb-line); border-radius: var(--nsb-radius); background: #fff; margin: 0 0 10px; overflow: hidden; }
.nsb-faq__item summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 44px 14px 16px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	list-style: none;
	position: relative;
}
.nsb-faq__item summary::-webkit-details-marker { display: none; }
.nsb-faq__item summary::after {
	content: "+";
	position: absolute;
	right: 16px;
	font-size: 20px;
	color: var(--nsb-amber);
	transition: transform 0.2s ease;
}
.nsb-faq__item[open] summary::after { transform: rotate(45deg); }
.nsb-faq__item summary:focus-visible { outline: 3px solid var(--nsb-amber); outline-offset: -3px; }
.nsb-faq__q, .nsb-faq__amark {
	flex: 0 0 26px;
	height: 26px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
}
.nsb-faq__q { background: var(--nsb-amber); }
.nsb-faq__amark { background: var(--nsb-ink); }
.nsb-faq__a { display: flex; gap: 12px; padding: 0 16px 16px; font-size: 14.5px; color: var(--nsb-ink-2); }
.nsb-faq__a p { margin: 0 0 0.6em; }

/* ---------- 流れ ---------- */
.nsb-flow__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: none; }
.nsb-flow__step {
	position: relative;
	background: #fff;
	border: 1px solid var(--nsb-line);
	border-radius: var(--nsb-radius);
	padding: 18px 16px;
}
.nsb-flow__step::after {
	content: "→";
	position: absolute;
	right: -13px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--nsb-amber);
	font-weight: 800;
	z-index: 1;
}
.nsb-flow__step:last-child::after { content: none; }
.nsb-flow__num {
	display: inline-flex;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--nsb-ink);
	color: #fff;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 14px;
	margin-bottom: 8px;
}
.nsb-flow__step strong { display: block; font-size: 15.5px; margin-bottom: 4px; }
.nsb-flow__step p { font-size: 12.5px; color: var(--nsb-ink-2); margin: 0; line-height: 1.6; }

/* ---------- CTA帯 ---------- */
.nsb-ctaband {
	background:
		linear-gradient(115deg, rgba(224, 123, 31, 0.22) 0%, rgba(224, 123, 31, 0) 40%),
		linear-gradient(160deg, #1a2733, #22303c);
	color: #fff;
	border-radius: 14px;
	text-align: center;
	padding: clamp(30px, 5vw, 50px) 20px;
}
.nsb-ctaband__title { font-size: clamp(20px, 3vw, 27px); font-weight: 800; margin: 0 0 8px; color: #fff; }
.nsb-ctaband__sub { font-size: 14px; color: #cfd8de; margin: 0 0 22px; }
.nsb-ctaband__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; }
.nsb-ctaband__tel { color: #fff; text-decoration: none; display: flex; flex-direction: column; line-height: 1.3; }
.nsb-ctaband__tel small { font-size: 11px; color: #9fb0bc; }
.nsb-ctaband__tel strong { font-size: 26px; letter-spacing: 0.04em; }

/* ---------- ダウンロード ---------- */
.nsb-dl__note { font-size: 13.5px; color: var(--nsb-ink-2); margin: -10px 0 16px; }
.nsb-dl__list { list-style: none; margin: 0; padding: 0; }
.nsb-dl__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--nsb-line);
	border-radius: var(--nsb-radius);
	padding: 12px 16px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.nsb-dl__name { font-weight: 700; font-size: 15px; }
.nsb-dl__btns { display: flex; gap: 8px; }

/* ---------- モーダル ---------- */
.nsb-modal {
	position: fixed;
	inset: 0;
	background: rgba(20, 28, 35, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
}
.nsb-modal[hidden] { display: none; }
.nsb-modal__panel {
	background: #fff;
	border-radius: 14px;
	width: min(440px, 100%);
	padding: 26px 24px;
	position: relative;
	max-height: 90vh;
	overflow: auto;
	font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}
.nsb-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 24px;
	cursor: pointer;
	color: var(--nsb-ink-2);
	line-height: 1;
}
.nsb-modal__title { margin: 0 0 4px; font-size: 19px; font-weight: 800; color: var(--nsb-ink); }
.nsb-modal__doc { font-size: 13px; color: var(--nsb-amber-d); font-weight: 700; margin: 0 0 14px; }
.nsb-modal__form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 12px; color: var(--nsb-ink); }
.nsb-modal__form input {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: 10px 12px;
	border: 1px solid var(--nsb-line);
	border-radius: 8px;
	font-size: 15px;
}
.nsb-modal__form input:focus-visible { outline: 3px solid var(--nsb-amber); outline-offset: 1px; }
.nsb-req { color: var(--nsb-amber-d); font-size: 10.5px; margin-left: 4px; }
.nsb-modal__msg { font-size: 13px; margin: 10px 0 0; color: var(--nsb-teal); font-weight: 700; }
.nsb-modal__msg.is-error { color: #c0392b; }

/* ---------- ニュース ---------- */
.nsb-news__list { list-style: none; margin: 0; padding: 0; }
.nsb-news__list li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 12px 4px;
	border-bottom: 1px solid var(--nsb-line);
	font-size: 14.5px;
	flex-wrap: wrap;
}
.nsb-news__list time { color: var(--nsb-ink-2); font-size: 13px; flex: 0 0 auto; letter-spacing: 0.03em; }
.nsb-news__list a { color: var(--nsb-ink); text-decoration: none; }
.nsb-news__list a:hover { color: var(--nsb-amber-d); text-decoration: underline; }

/* ---------- パンくず ---------- */
.nsb-bc { margin: 0.8em auto 0; font-size: 12.5px; }
.nsb-bc ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--nsb-ink-2); }
.nsb-bc li + li::before { content: "›"; margin-right: 6px; color: var(--nsb-line); }
.nsb-bc a { color: var(--nsb-ink-2); text-decoration: none; }
.nsb-bc a:hover { color: var(--nsb-amber-d); }

/* ---------- 製品詳細の仕様表 ---------- */
.nsb-spec { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 14.5px; }
.nsb-spec th, .nsb-spec td { border: 1px solid var(--nsb-line); padding: 10px 14px; text-align: left; }
.nsb-spec th { background: var(--nsb-paper); width: 30%; font-weight: 700; }

/* ---------- モバイル固定CTAバー ---------- */
.nsb-stickybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99990;
	display: none;
	gap: 1px;
	background: var(--nsb-ink);
	padding-bottom: env(safe-area-inset-bottom);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
}
.nsb-stickybar__btn {
	flex: 1;
	text-align: center;
	padding: 13px 4px;
	font-size: 13px;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
	background: var(--nsb-ink);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}
.nsb-stickybar__btn--main { background: var(--nsb-amber); }
.nsb-stickybar__btn--sub { background: var(--nsb-teal); }
.nsb-stickybar__ico { font-size: 15px; }
body.nsb-has-bar { scroll-padding-bottom: 70px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 980px) {
	.nsb-grid { grid-template-columns: repeat(2, 1fr); }
	.nsb-problems__grid { grid-template-columns: repeat(2, 1fr); }
	.nsb-trust__grid { grid-template-columns: repeat(2, 1fr); }
	.nsb-flow__list { grid-template-columns: repeat(2, 1fr); }
	.nsb-flow__step:nth-child(2n)::after { content: none; }
}
@media (max-width: 620px) {
	.nsb-grid, .nsb-grid--2 { grid-template-columns: 1fr; }
	.nsb-problems__grid { grid-template-columns: 1fr 1fr; gap: 9px; }
	.nsb-problems__item { padding: 13px 12px 12px; }
	.nsb-problems__name { font-size: 14px; }
	.nsb-flow__list { grid-template-columns: 1fr; }
	.nsb-flow__step::after { content: "↓"; right: auto; left: 22px; top: auto; bottom: -20px; }
	.nsb-flow__step:nth-child(2n)::after { content: "↓"; }
	.nsb-flow__step:last-child::after { content: none; }
	.nsb-flow__list { gap: 24px; }
	.nsb-stickybar { display: flex; }
	body.nsb-has-bar { padding-bottom: 62px; }
	.nsb-dl__row { align-items: flex-start; flex-direction: column; }
}

/* ---------- アニメーション削減設定に配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
	.nsb-btn, .nsb-problems__item, .nsb-faq__item summary::after { transition: none; }
	.nsb-btn:hover, .nsb-problems__item:hover { transform: none; }
}

/* =========================================================
   v2.0 追加：ご注文フォーム
   ========================================================= */
.nsb-order { max-width: 860px; }
.nsb-o-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.nsb-o-kind__opt {
	display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
	border: 2px solid var(--nsb-line); border-radius: var(--nsb-radius);
	background: var(--nsb-white); padding: 14px;
}
.nsb-o-kind__opt input { margin-top: 5px; accent-color: var(--nsb-amber); }
.nsb-o-kind__opt small { display: block; color: var(--nsb-ink-2); font-size: 12px; line-height: 1.5; }
.nsb-o-kind__opt:has(input:checked) { border-color: var(--nsb-amber); background: #fff8f0; }

.nsb-o-cat { border: 1px solid var(--nsb-line); border-radius: var(--nsb-radius); background: var(--nsb-white); margin-bottom: 12px; overflow: hidden; }
.nsb-o-cat > summary {
	cursor: pointer; list-style: none; padding: 12px 16px; font-weight: 700;
	background: var(--nsb-paper); display: flex; justify-content: space-between; align-items: center;
}
.nsb-o-cat > summary::-webkit-details-marker { display: none; }
.nsb-o-cat > summary::after { content: "▾"; color: var(--nsb-ink-2); transition: transform .2s; }
.nsb-o-cat:not([open]) > summary::after { transform: rotate(-90deg); }
.nsb-o-cat__n { font-size: 12px; font-weight: 400; color: var(--nsb-ink-2); margin-left: auto; margin-right: 10px; }

.nsb-o-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nsb-o-table th, .nsb-o-table td { padding: 9px 10px; border-top: 1px solid var(--nsb-line); text-align: left; vertical-align: middle; }
.nsb-o-table thead th { border-top: 0; font-size: 12px; color: var(--nsb-ink-2); font-weight: 600; }
.nsb-o-name { font-weight: 700; }
.nsb-o-qty { white-space: nowrap; }
.nsb-o-qty input { width: 54px; text-align: center; padding: 6px 4px; border: 1px solid var(--nsb-line); border-radius: 6px; margin: 0 4px; }
.nsb-o-step {
	width: 30px; height: 30px; border: 1px solid var(--nsb-line); border-radius: 6px;
	background: var(--nsb-white); cursor: pointer; font-size: 15px; line-height: 1; color: var(--nsb-ink);
}
.nsb-o-step:hover { background: var(--nsb-paper); }
.nsb-o-row--hl { background: #fff4e5; }

/* 代理店選択時は価格列・合計を完全非表示（v1.3仕様） */
.nsb-order[data-kind="dealer"] .nsb-o-price { display: none; }

.nsb-o-slip {
	margin: 18px 0; border: 2px solid var(--nsb-ink); border-radius: var(--nsb-radius);
	background: var(--nsb-white); padding: 16px 18px;
}
.nsb-o-slip__h { margin: 0 0 10px; font-size: 16px; border-left: 4px solid var(--nsb-amber); padding-left: 10px; }
.nsb-o-slip__empty { color: var(--nsb-ink-2); font-size: 14px; }
.nsb-o-slip__t { width: 100%; border-collapse: collapse; font-size: 14px; }
.nsb-o-slip__t td, .nsb-o-slip__t th { padding: 6px 8px; border-bottom: 1px dashed var(--nsb-line); text-align: left; }
.nsb-o-slip__t tfoot th { text-align: right; color: var(--nsb-ink-2); font-weight: 600; }
.nsb-o-slip__t tfoot td { text-align: right; }
.nsb-o-slip__total th, .nsb-o-slip__total td { font-size: 16px; font-weight: 800; color: var(--nsb-amber-d); border-bottom: 0; }
.nsb-o-slipqty { white-space: nowrap; }
.nsb-o-slip__note { font-size: 12px; color: var(--nsb-ink-2); margin: 10px 0 0; }

.nsb-o-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nsb-o-grid label { display: block; font-size: 13px; font-weight: 600; }
.nsb-o-grid label em { color: #c0392b; font-style: normal; font-size: 11px; margin-left: 4px; }
.nsb-o-grid input, .nsb-o-grid textarea {
	display: block; width: 100%; margin-top: 5px; padding: 10px 12px;
	border: 1px solid var(--nsb-line); border-radius: 8px; font: inherit; font-weight: 400; background: var(--nsb-white);
}
.nsb-o-grid input:focus-visible, .nsb-o-grid textarea:focus-visible { outline: 2px solid var(--nsb-amber); outline-offset: 1px; }
.nsb-o-wide { grid-column: 1 / -1; }
.nsb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.nsb-o-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.nsb-o-msg { color: #c0392b; font-weight: 600; min-height: 1.2em; margin: 10px 0 0; }
.nsb-o-legal { font-size: 12px; color: var(--nsb-ink-2); margin-top: 8px; }
.nsb-o-done {
	border: 2px solid var(--nsb-teal); border-radius: var(--nsb-radius);
	background: #f2faf8; padding: 26px; text-align: center;
}
.nsb-o-done h3 { margin: 0 0 8px; color: var(--nsb-teal); }

/* FAX印刷用（画面では非表示、印刷時のみ表示） */
.nsb-o-print { display: none; }
@media print {
	body.nsb-printing * { visibility: hidden; }
	body.nsb-printing .nsb-o-print,
	body.nsb-printing .nsb-o-print * { visibility: visible; }
	body.nsb-printing .nsb-o-print {
		display: block; position: absolute; inset: 0; padding: 14mm; background: #fff; color: #000;
	}
	.nsb-o-print h2 { border-bottom: 2px solid #000; padding-bottom: 6px; }
	.nsb-o-print__t { width: 100%; border-collapse: collapse; margin: 8px 0 14px; }
	.nsb-o-print__t th, .nsb-o-print__t td { border: 1px solid #000; padding: 7px 9px; text-align: left; font-size: 12pt; }
	.nsb-o-print__t th { width: 26%; background: #eee; }
	.nsb-o-print__foot { margin-top: 18mm; font-size: 10pt; border-top: 1px solid #000; padding-top: 4mm; }
}

@media (max-width: 640px) {
	.nsb-o-kind { grid-template-columns: 1fr; }
	.nsb-o-grid { grid-template-columns: 1fr; }
	.nsb-o-table { font-size: 13px; }
	.nsb-o-table th:first-child, .nsb-o-table td:first-child { max-width: 34vw; }
}

/* =========================================================
   v2.0 追加：床トラブル30秒診断
   ========================================================= */
.nsb-sh { max-width: 760px; }
.nsb-sh__head { text-align: left; }
.nsb-sh__title { margin: 0 0 6px; font-size: clamp(22px, 4vw, 30px); }
.nsb-sh__free {
	display: inline-block; margin-left: 10px; padding: 2px 10px; vertical-align: middle;
	background: var(--nsb-amber); color: #fff; border-radius: 999px; font-size: 12px; letter-spacing: .1em;
}
.nsb-sh__lead { color: var(--nsb-ink-2); margin: 0 0 8px; font-size: 14px; }
.nsb-sh__partner {
	display: inline-block; font-size: 12px; font-weight: 700; color: var(--nsb-teal);
	border: 1px solid var(--nsb-teal); border-radius: 999px; padding: 2px 12px; margin: 0 0 6px;
}
.nsb-sh__prog { display: flex; gap: 6px; margin: 12px 0 16px; }
.nsb-sh__prog i { flex: 1; height: 8px; border-radius: 4px; background: var(--nsb-line); transition: background .25s; }
.nsb-sh__prog i.nsb-sh__on { background: var(--nsb-amber); }

.nsb-sh__q {
	border: 1px solid var(--nsb-line); border-radius: var(--nsb-radius);
	background: var(--nsb-white); padding: 20px; box-shadow: var(--nsb-shadow);
}
.nsb-sh__no { margin: 0; font-size: 11px; letter-spacing: .2em; color: var(--nsb-amber-d); font-weight: 700; }
.nsb-sh__q h3 { margin: 4px 0 14px; font-size: 19px; }
.nsb-sh__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.nsb-sh__chip {
	border: 2px solid var(--nsb-line); background: var(--nsb-white); color: var(--nsb-ink);
	border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
	transition: border-color .15s, background .15s;
}
.nsb-sh__chip:hover { border-color: var(--nsb-amber); }
.nsb-sh__chip.is-on { border-color: var(--nsb-amber); background: #fff3e4; }
.nsb-sh__chip:focus-visible { outline: 2px solid var(--nsb-amber); outline-offset: 2px; }
.nsb-sh__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.nsb-sh__nav .nsb-btn--primary { margin-left: auto; }

/* 床カルテ */
.nsb-sh__karte {
	border: 2px solid var(--nsb-ink); border-radius: var(--nsb-radius);
	background: var(--nsb-white); padding: 22px;
}
.nsb-sh__khead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 2px solid var(--nsb-ink); padding-bottom: 10px; margin-bottom: 12px; }
.nsb-sh__khead h3 { margin: 0; font-size: 20px; letter-spacing: .04em; }
.nsb-sh__kdate { margin: 4px 0 0; font-size: 11px; letter-spacing: .12em; color: var(--nsb-ink-2); }
.nsb-sh__stamp {
	flex: none; width: 56px; height: 56px; border: 3px solid #c0392b; color: #c0392b;
	border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px;
	transform: rotate(-12deg); letter-spacing: .05em;
}
.nsb-sh__cond { font-size: 13px; background: var(--nsb-paper); border-radius: 8px; padding: 10px 12px; margin: 0 0 14px; }
.nsb-sh__rx { border: 1px solid var(--nsb-line); border-left: 5px solid var(--nsb-amber); border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; }
.nsb-sh__rx + .nsb-sh__rx { border-left-color: var(--nsb-teal); }
.nsb-sh__rank { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--nsb-amber-d); }
.nsb-sh__rx + .nsb-sh__rx .nsb-sh__rank { color: var(--nsb-teal); }
.nsb-sh__rx h4 { margin: 3px 0 6px; font-size: 18px; }
.nsb-sh__why { margin: 0 0 6px; font-size: 14px; }
.nsb-sh__spec { margin: 0; font-size: 12px; color: var(--nsb-ink-2); }
.nsb-sh__also { font-size: 13px; color: var(--nsb-ink-2); margin: 4px 0 10px; }
.nsb-sh__calc { background: #f2faf8; border: 1px dashed var(--nsb-teal); border-radius: 8px; padding: 12px 14px; font-size: 14px; margin: 10px 0; }
.nsb-sh__cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 16px 0 8px; }
.nsb-sh__cta .nsb-btn { text-align: center; }
.nsb-sh__cta .nsb-btn small { display: block; font-size: 11px; font-weight: 400; opacity: .85; margin-top: 2px; }
.nsb-sh__disc { font-size: 11px; color: var(--nsb-ink-2); margin: 8px 0 0; }
.nsb-sh__restart { text-align: center; margin: 14px 0 0; }

/* v4.0 診断（相談受付フォーム型） */
.nsb-sh__sum { background: var(--nsb-paper); border: 1px solid var(--nsb-line); border-radius: 8px; padding: 12px 14px; font-size: 13px; line-height: 1.9; margin: 0 0 14px; }
.nsb-sh__form .nsb-sh__nav { margin-top: 14px; }
.nsb-sh__form .nsb-o-msg { margin: 8px 0 0; }
