.rj-naire {
	margin: 0 0 24px;
	padding: 16px;
	border: 1px solid #d9e2e0;
	border-radius: 10px;
	background: #f7faf9;
}
.rj-naire__title {
	margin: 0 0 12px;
	font-weight: 700;
	font-size: 1.05em;
}
.rj-naire__preview {
	margin: 0 0 16px;
	text-align: center;
}
.rj-naire__canvas {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	margin: 0 auto;
	border-radius: 8px;
	background: #e9efee;
}
.rj-naire__note {
	margin: 8px 0 0;
	font-size: 0.8em;
	color: #5c6b68;
}
.rj-naire__label {
	margin: 16px 0 8px;
	font-weight: 700;
}
.rj-naire__line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
}
.rj-naire__line-name {
	flex: 0 0 3.5em;
	font-size: 0.9em;
}
.rj-naire__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 10px 12px;
	font-size: 16px; /* スマホで画面が勝手に大きくならない大きさ */
	border: 1px solid #b9c6c3;
	border-radius: 6px;
	background: #fff;
}
.rj-naire__hint {
	margin: 0;
	font-size: 0.85em;
	color: #5c6b68;
}
.rj-naire__error {
	display: block;
	color: #b3261e;
	font-weight: 700;
}
.rj-naire__choices {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}
.rj-naire__choice {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}
.rj-naire__choice input {
	position: absolute;
	opacity: 0;
}
.rj-naire__choice span {
	display: block;
	padding: 12px 8px;
	text-align: center;
	font-size: 1.1em;
	border: 2px solid #b9c6c3;
	border-radius: 8px;
	background: #fff;
}
.rj-naire__choice input:checked + span {
	border-color: #1f7a72;
	background: #e3f3f0;
}
.rj-naire__choice input:focus-visible + span {
	outline: 2px solid #1f7a72;
	outline-offset: 2px;
}
@media (min-width: 600px) {
	.rj-naire__choices {
		grid-template-columns: repeat(4, 1fr);
	}
	.rj-naire__choices--dir {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 面えらび・動かす・色えらび（0.2.0） */
.rj-naire__tabs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	max-width: 420px;
	margin: 0 auto 10px;
}
.rj-naire__tab {
	padding: 10px 8px;
	font-size: 0.95em;
	font-weight: 700;
	color: inherit;
	border: 2px solid #b9c6c3;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}
.rj-naire__tab.is-active {
	color: #fff;
	border-color: #1f7a72;
	background: #1f7a72;
}
.rj-naire__panel {
	display: none;
}
.rj-naire__panel.is-active {
	display: block;
}
.rj-naire__panel-title {
	margin: 0 0 8px;
	padding: 6px 10px;
	font-weight: 700;
	border-left: 5px solid #1f7a72;
	background: #e3f3f0;
}
.rj-naire__guide {
	margin: 0 0 4px;
	padding: 10px 12px;
	font-size: 0.9em;
	border: 1px dashed #9db3af;
	border-radius: 8px;
	background: #fff;
}
.rj-naire__guide p {
	margin: 0;
}
.rj-naire__guide ul {
	margin: 6px 0 0;
	padding-left: 1.3em;
}
.rj-naire__length {
	margin-top: 6px !important;
	font-weight: 700;
	color: #1f7a72;
}
.rj-naire__error--all {
	margin: 10px 0 0;
}
.rj-naire__canvas {
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}
.rj-naire__canvas.is-over {
	cursor: grab;
}
.rj-naire__canvas.is-dragging {
	cursor: grabbing;
}
.rj-naire__move {
	margin: 10px 0 0;
	font-size: 0.9em;
}
.rj-naire__reset {
	display: inline-block;
	margin: 6px 0 0;
	padding: 6px 12px;
	font-size: 0.9em;
	color: #1f7a72;
	border: 1px solid #1f7a72;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
}
.rj-naire__choices--color {
	grid-template-columns: repeat(3, 1fr);
}
.rj-naire__dot {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: 6px;
	vertical-align: -0.12em;
	border: 1px solid #8a9895;
	border-radius: 50%;
}
@media (min-width: 600px) {
	.rj-naire__choices--color {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* いつもデザインが見える並べ方（0.6.0） */
.rj-naire {
	clear: both;
	margin-bottom: 32px;
}
.rj-naire__preview {
	position: sticky;
	top: var(--rj-naire-top, 0px);
	z-index: 5;
	margin: 0 -16px 14px;
	padding: 8px 16px 10px;
	border-bottom: 1px solid #d9e2e0;
	background: #f7faf9;
}
.rj-naire__canvas {
	width: min(100%, 42vh);
	max-width: 420px;
}
.rj-naire__preview .rj-naire__note {
	display: none;
}
.rj-naire__tabs {
	margin-bottom: 6px;
}
.rj-naire__tab {
	padding: 6px 8px;
}
form.cart:has(.rj-naire-summary) {
	flex-wrap: wrap;
}
.rj-naire-summary {
	flex: 0 0 100%;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 12px;
	padding: 10px 12px;
	font-size: 0.9em;
	border: 1px solid #d9e2e0;
	border-radius: 8px;
	background: #f7faf9;
}
.rj-naire-summary p {
	margin: 0;
}
@media (min-width: 900px) {
	.rj-naire {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0 32px;
		align-items: start;
		padding: 24px;
	}
	.rj-naire__title {
		grid-column: 1 / -1;
	}
	.rj-naire__preview {
		top: calc(var(--rj-naire-top, 0px) + 16px);
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
	}
	.rj-naire__canvas {
		width: 100%;
		max-width: 560px;
	}
	.rj-naire__preview .rj-naire__note {
		display: block;
	}
	.rj-naire__tabs {
		max-width: 560px;
		margin-bottom: 10px;
	}
	.rj-naire__tab {
		padding: 10px 8px;
	}
}

/* 文字のかたまり（0.7.0） */
.rj-naire__boxes {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 4px;
}
.rj-naire__chip {
	padding: 8px 14px;
	font-size: 0.9em;
	color: inherit;
	border: 2px solid #b9c6c3;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
}
.rj-naire__chip.is-active {
	font-weight: 700;
	border-color: #1f7a72;
	background: #e3f3f0;
}
.rj-naire__chip--add {
	color: #1f7a72;
	border-style: dashed;
	border-color: #1f7a72;
}
.rj-naire__text {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 8px;
	padding: 10px 12px;
	font-size: 16px;
	line-height: 1.6;
	border: 1px solid #b9c6c3;
	border-radius: 6px;
	background: #fff;
}
.rj-naire__remove-wrap {
	margin: 18px 0 0;
	text-align: right;
}
.rj-naire__remove {
	padding: 6px 12px;
	font-size: 0.85em;
	color: #b3261e;
	border: 1px solid #b3261e;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
}

/* 文字の大きさのつまみ（0.8.0） */
.rj-naire__size {
	display: flex;
	align-items: center;
	gap: 10px;
}
.rj-naire__size-range {
	flex: 1 1 auto;
	min-width: 0;
	accent-color: #1f7a72;
}
.rj-naire__size-btn {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	padding: 0;
	font-size: 1.3em;
	line-height: 1;
	color: #1f7a72;
	border: 2px solid #1f7a72;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
}
.rj-naire__size-value {
	flex: 0 0 2.2em;
	font-weight: 700;
	text-align: center;
}

/* ===== 道具バー型の画面（0.14.0） ===== */
.rj-tb-hide { display: none !important; }
.rj-has-tb .rj-naire__panel-title,
.rj-has-tb .rj-naire__label,
.rj-has-tb .rj-naire__line-name,
.rj-has-tb .rj-naire__note { display: none; }
.rj-tb-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 10px;
}
.rj-tb-head .rj-naire__tabs {
	display: flex;
	gap: 0;
	max-width: none;
	margin: 0;
}
.rj-tb-head .rj-naire__tab {
	padding: 8px 18px;
	border-radius: 0;
}
.rj-tb-head .rj-naire__tab:first-child { border-radius: 8px 0 0 8px; }
.rj-tb-head .rj-naire__tab:last-child { border-radius: 0 8px 8px 0; margin-left: -2px; }
.rj-tb-helpbtn {
	padding: 6px 14px;
	font-size: 13px;
	color: #1f7a72;
	border: 1px solid #1f7a72;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
}
.rj-has-tb .rj-naire__boxes { margin: 0 0 8px; }
.rj-tb {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px 14px;
	padding: 12px 14px;
	border: 1px solid #d9e2e0;
	border-radius: 10px;
	background: #fff;
}
.rj-tool {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.rj-tool__label {
	font-size: 11.5px;
	font-weight: 700;
	color: #5c6b68;
}
.rj-tb select,
.rj-tb input[type="text"],
.rj-tb textarea {
	box-sizing: border-box;
	height: 40px;
	min-width: 0;
	margin: 0;
	padding: 6px 10px;
	font-size: 16px;
	border: 1px solid #b9c6c3;
	border-radius: 8px;
	background: #fff;
}
.rj-tb select { min-width: 8.5em; }
.rj-tb .rj-naire__line { display: block; margin: 0; }
.rj-tb .rj-naire__input,
.rj-tb .rj-naire__top { width: 10em; }
.rj-tb textarea {
	width: 15em;
	height: 64px;
	line-height: 1.4;
	resize: vertical;
}
.rj-tb .rj-naire__choices {
	display: flex;
	gap: 6px;
}
.rj-tool--color .rj-naire__choice span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	font-size: 0;
	border-radius: 50%;
}
.rj-tool--color .rj-naire__dot {
	width: 24px;
	height: 24px;
	margin: 0;
}
.rj-tool--dir .rj-naire__choice span {
	padding: 9px 10px;
	font-size: 13px;
}
.rj-tool--size .rj-naire__size { gap: 6px; }
.rj-tool--size .rj-naire__size-range { width: 120px; flex: 0 0 auto; }
.rj-tool--size .rj-naire__size-btn { width: 36px; height: 36px; font-size: 1.1em; }
.rj-tool--remove .rj-naire__remove { padding: 8px 12px; }
.rj-tb-msg { min-height: 0; margin: 6px 2px 0; font-size: 13px; }
.rj-tb-msg .rj-naire__length { margin: 0; font-weight: 700; color: #1f7a72; }
.rj-tb-helpbox {
	display: none;
	margin: 10px 0 0;
	padding: 12px 14px;
	font-size: 13px;
	border: 1px dashed #9db3af;
	border-radius: 10px;
	background: #fff;
}
.rj-help-open .rj-tb-helpbox { display: block; }
.rj-tb-helpbox .rj-naire__guide { margin: 0 0 6px; padding: 0; border: 0; }
.rj-tb-helpbox p { margin: 0 0 4px; }
.rj-stage__foot { display: none; }
@media (min-width: 900px) {
	.rj-naire.rj-has-tb {
		display: flex !important;
		flex-direction: column;
		gap: 14px;
		padding: 20px 24px;
	}
	.rj-has-tb .rj-naire__title { order: 0; margin: 0; }
	.rj-has-tb .rj-naire__controls { order: 1; }
	.rj-has-tb .rj-naire__preview {
		order: 2;
		position: static;
		width: 100%;
		max-width: 640px;
		margin: 0 auto;
		padding: 0;
		border: 0;
		background: none;
	}
	.rj-has-tb .rj-naire__canvas { width: 100%; max-width: 640px; }
	.rj-stage__foot {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		margin: 12px 0 0;
		padding: 12px 0 0;
		font-size: 13px;
		color: #5c6b68;
		border-top: 1px solid #d9e2e0;
	}
	.rj-stage__cart {
		flex: 0 0 auto;
		padding: 10px 18px;
		font-size: 15px;
		font-weight: 700;
		color: #fff;
		border: 0;
		border-radius: 999px;
		background: #1f7a72;
		cursor: pointer;
	}
}
@media (max-width: 899px) {
	.rj-tb { gap: 10px; }
	.rj-tool--input,
	.rj-tool--text { flex: 1 1 100%; }
	.rj-tb .rj-naire__input,
	.rj-tb .rj-naire__top,
	.rj-tb textarea { width: 100%; }
}

/* 道具バーを小さめにして、デザインの絵が画面におさまるようにする（0.14.2） */
@media (min-width: 900px) {
	.rj-naire.rj-has-tb { gap: 8px; padding: 14px 20px; }
	.rj-has-tb .rj-naire__title { display: none; }
	.rj-tb-head { margin: 0 0 6px; }
	.rj-tb-head .rj-naire__tab { padding: 6px 16px; }
	.rj-tb { gap: 6px 12px; padding: 8px 12px; }
	.rj-tool { gap: 2px; }
	.rj-tool__label { font-size: 11px; }
	.rj-tb select,
	.rj-tb input[type="text"] { height: 34px; padding: 4px 8px; font-size: 15px; }
	.rj-tb textarea { height: 52px; font-size: 15px; }
	.rj-tool--color .rj-naire__choice span { width: 34px; height: 34px; }
	.rj-tool--color .rj-naire__dot { width: 20px; height: 20px; }
	.rj-tool--dir .rj-naire__choice span { padding: 6px 8px; }
	.rj-tool--size .rj-naire__size-btn { width: 30px; height: 30px; }
	.rj-has-tb .rj-naire__boxes { margin: 0 0 6px; }
	.rj-has-tb .rj-naire__chip { padding: 5px 12px; }
	.rj-tb-msg { margin: 4px 2px 0; }
	.rj-has-tb .rj-naire__preview { text-align: center; }
	.rj-has-tb .rj-naire__canvas { display: inline-block; max-width: 100%; }
	.rj-stage__foot { margin: 6px 0 0; padding: 8px 0 0; }
}

/* 「使い方」ボタンを、おもて／うらのすぐ右に置く（ヘッダーの付せんと重ならないように） */
.rj-tb-head { justify-content: flex-start; }

/* 実物の大きさの表示と、実物大ボタン（0.14.4） */
.rj-stage__size {
	margin: 6px 0 0;
	font-size: 12.5px;
	font-weight: 700;
	text-align: center;
	color: #1f7a72;
}
.rj-real .rj-stage__size::after {
	content: "　※画面によって、少しちがって見えます";
	font-weight: 400;
	color: #5c6b68;
}
.rj-real .rj-tb-realbtn {
	color: #fff;
	background: #1f7a72;
}

/* 想定カット線の説明（実物大のときだけ）と、文字が切れそうなときの知らせ（0.16） */
.rj-cut-note {
	display: none;
	max-width: 520px;
	margin: 6px auto 0;
	font-size: 12.5px;
	line-height: 1.7;
	text-align: center;
	color: #5c6b68;
}
.rj-real .rj-cut-note { display: block; }
.rj-cut-note::before { content: "- - -  "; color: #ff2d55; font-weight: 700; }
.rj-cut-warn:empty { display: none; }
.rj-cut-warn {
	max-width: 520px;
	margin: 6px auto 0;
	padding: 8px 12px;
	font-size: 13px;
	line-height: 1.6;
	color: #8a2a00;
	background: #fff3e6;
	border: 1px solid #f0b37e;
	border-radius: 8px;
}

/* 実物大：アクリルの枠と金具を重ねる（0.18） */
.rj-acrylic { position: absolute; pointer-events: none; z-index: 3; display: none; }
.rj-real .rj-naire__canvas { margin-top: 25mm !important; margin-bottom: 8mm !important; margin-left: auto; margin-right: auto; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; }
.rj-real .rj-naire__preview { overflow: visible !important; }

/* =========================================================
 * 木（レーザー彫刻）の名入れ（0.22・2026/11/19）
 * ========================================================= */

/* ひな形のボタン */
.rj-laser-tpls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
}
.rj-laser-tpls__label {
	flex-basis: 100%;
	font-size: 13px;
	font-weight: 700;
	color: #5a4632;
}
.rj-laser-tpl {
	border: 1.5px solid #c9b08a;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 14px;
	background: #fffaf2;
	color: #4a3726;
	cursor: pointer;
}
.rj-laser-tpl:hover { background: #f6ead6; }

/* 信号（緑・黄・赤） */
.rj-laser-signal {
	max-width: 560px;
	margin: 8px auto 0;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.6;
	text-align: left;
	border: 1.5px solid #cfd8d6;
	background: #f4f8f7;
}
.rj-laser-signal[hidden] { display: none; }
.rj-laser-signal__text { margin: 0; font-weight: 700; }
.rj-laser-signal.is-green { border-color: #6fb18f; background: #eef8f1; color: #1d5a3a; }
.rj-laser-signal.is-yellow { border-color: #e2b23c; background: #fff8e3; color: #6b4b00; }
.rj-laser-signal.is-red { border-color: #d7261e; background: #fff0ef; color: #8a1712; }
.rj-laser-signal__agree {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0 0;
	font-weight: 700;
	cursor: pointer;
}
.rj-laser-signal__agree[hidden] { display: none; }
.rj-laser-signal__agree input { width: 20px; height: 20px; accent-color: #b07d12; }

/* 実物大：木は金具を絵の中にふくむので、上の余白はアクリルより小さくてよい */
.rj-laser.rj-real .rj-naire__canvas { margin-top: 6mm !important; }
.rj-laser .rj-stage__size { color: #6b4a2b; }
.rj-laser .rj-naire__size-value { white-space: nowrap; min-width: 4.6em; }

/* =========================================================
 * 左にボタン・まん中にデザイン・右に文字の道具（0.23・2026/11/19）
 * パソコン：見出しのすぐ下にデザイン。動かさなくても文字を変えられて、カゴにも入れられる。
 * スマホ：いちばん上にボタンの列 → デザイン（上にとまる） → 文字の道具 → カゴに入れるボタン。
 * ========================================================= */

/* 左のボタン（スマホでは、いちばん上の1列） */
.rj-rail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px;
	margin: 0 0 10px;
}
.rj-om-on .rj-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rj-om-on .rj-rail__tool { display: none; }
.rj-rail__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	box-sizing: border-box;
	min-width: 0;
	min-height: 60px;
	margin: 0;
	padding: 7px 4px;
	font: inherit;
	font-size: 12px;
	line-height: 1.3;
	text-align: center;
	color: #1f5f59;
	border: 1.5px solid #b9c6c3;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.rj-rail__btn:hover { border-color: #1f7a72; background: #f2f8f7; }
.rj-rail__btn:focus-visible { outline: 3px solid #f4b400; outline-offset: 2px; }
.rj-rail__btn.is-active,
.rj-rail__btn.is-active:hover { color: #fff; border-color: #1f7a72; background: #1f7a72; }
.rj-rail__icon { display: block; line-height: 0; }
.rj-rail__icon svg { width: 22px; height: 22px; }
.rj-rail__text { display: block; }
.rj-rail__main { display: block; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
.rj-rail__sub { display: none; }

/* もとの「作り方は2通りあります」の2つの大きなボタンは、左のボタンにまとめたので出さない */
.rj-has-mode .rj-om__q,
.rj-has-mode .rj-om__modes { display: none; }
.rj-has-mode .rj-om { margin: 0; }
.rj-has-mode .rj-om__panel { margin-top: 0; }
.rj-has-tb .rj-naire__title,
.rj-has-tb .rj-naire__remove-wrap { display: none; } /* 消すボタンは道具の中へうつしたので、空になった入れ物は出さない */

/* デザインのすぐ上：おもて／うら と、文字1・＋文字を足す */
.rj-has-tb .rj-tb-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 12px;
	margin: 0 0 8px;
}
.rj-tb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rj-tb-chips[hidden],
.rj-tb-chips .rj-naire__boxes[hidden] { display: none !important; }
.rj-has-tb .rj-tb-chips .rj-naire__boxes { justify-content: center; gap: 6px; margin: 0; }
.rj-has-tb .rj-tb-chips .rj-naire__chip { padding: 5px 12px; font-size: 13px; }

/* カゴに入れるボタン（パソコンはデザインのすぐ下、スマホは文字の道具の下） */
.rj-has-tb .rj-stage__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 10px 0 0;
	padding: 10px 0 0;
	font-size: 13px;
	text-align: left;
	color: #5c6b68;
	border-top: 1px solid #d9e2e0;
}
.rj-has-tb .rj-stage__cart {
	flex: 0 0 auto;
	padding: 11px 22px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	border: 0;
	border-radius: 999px;
	background: #1f7a72;
	cursor: pointer;
}
.rj-has-tb .rj-stage__cart:hover { background: #17615b; }
.rj-om-on .rj-stage__foot,
.rj-om-on .rj-laser-signal { display: none !important; }

/* スマホ */
@media (max-width: 899px) {
	.rj-has-tb .rj-naire__canvas { width: min(100%, 38vh); }
	.rj-has-tb .rj-tb-head { margin: 0 0 6px; }
	.rj-has-tb .rj-tb-head .rj-naire__tab { padding: 6px 14px; }
	.rj-has-tb .rj-stage__size { font-size: 11.5px; }
	.rj-has-tb > .rj-laser-signal { max-width: none; margin: 12px 0 0; }
	.rj-has-tb .rj-stage__foot {
		flex-direction: column;
		align-items: stretch;
		margin: 14px 0 0;
		padding: 12px 0 0;
	}
	.rj-has-tb .rj-stage__cart { width: 100%; padding: 14px 18px; font-size: 16px; }
}

/* パソコン：左にボタン、まん中にデザイン、右に文字の道具 */
@media (min-width: 900px) {
	.rj-naire.rj-has-tb {
		display: grid !important;
		grid-template-columns: 136px minmax(0, 1fr) minmax(250px, 290px);
		grid-template-areas: "rail om om" "rail stage tools";
		align-items: start;
		gap: 0 18px;
		box-sizing: border-box;
		padding: 14px 16px 16px;
	}
	.rj-has-tb > .rj-rail {
		grid-area: rail;
		position: sticky;
		top: calc(var(--rj-naire-top, 0px) + 12px);
		z-index: 4;
		grid-template-columns: 1fr;
		gap: 8px;
		margin: 0;
	}
	.rj-has-tb .rj-rail__btn { min-height: 72px; padding: 9px 6px; font-size: 13px; }
	.rj-has-tb .rj-rail__mode .rj-rail__sub {
		display: block;
		margin-top: 3px;
		font-size: 11px;
		font-weight: 400;
		line-height: 1.35;
		opacity: 0.85;
	}
	.rj-has-tb > .rj-om { grid-area: om; }
	.rj-has-tb > .rj-naire__preview {
		grid-area: stage;
		position: static;
		width: auto;
		max-width: none;
		min-width: 0;
		margin: 0;
		padding: 0;
		border: 0;
		background: none;
		text-align: center;
	}
	.rj-has-tb > .rj-naire__controls {
		grid-area: tools;
		position: sticky;
		top: calc(var(--rj-naire-top, 0px) + var(--rj-tabs-below, 0px) + 10px); /* 右の道具も、下に動かしてもついてくる（ヘッダーのつまみの下で止まる） */
		min-width: 0;
		margin-top: var(--rj-tabs-below, 0px); /* 見出しの少し下まで動かしたとき、つまみが道具の上にかぶらないように */
	}
	.rj-has-tb .rj-naire__canvas { display: inline-block; max-width: 100%; }
	.rj-has-tb .rj-tb {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 10px;
		padding: 12px;
	}
	.rj-has-tb .rj-tool { width: 100%; }
	.rj-has-tb .rj-tool__label { font-size: 12px; }
	.rj-has-tb .rj-tb select,
	.rj-has-tb .rj-tb input[type="text"],
	.rj-has-tb .rj-tb textarea,
	.rj-has-tb .rj-tb .rj-naire__input,
	.rj-has-tb .rj-tb .rj-naire__top { width: 100%; }
	.rj-has-tb .rj-tb select,
	.rj-has-tb .rj-tb input[type="text"] { height: 38px; font-size: 15px; }
	.rj-has-tb .rj-tb textarea { height: 72px; }
	.rj-has-tb .rj-tb .rj-naire__choices { flex-wrap: wrap; }
	.rj-has-tb .rj-tool--size .rj-naire__size-range { flex: 1 1 auto; width: auto; min-width: 0; }
	.rj-has-tb .rj-tool--remove { align-items: flex-end; }
	.rj-has-tb .rj-tb-msg:empty { display: none; }
	.rj-has-tb .rj-tb-helpbox { margin: 8px 0 0; }
	.rj-has-tb .rj-laser-tpls { margin: 0 0 8px; }
	.rj-has-tb .rj-laser-tpl { padding: 5px 11px; font-size: 13px; }
	.rj-has-tb .rj-stage__foot { margin: 8px 0 0; padding: 8px 0 0; }
}

/* 広いパソコンの画面：名入れの欄だけ本文より少し広げて、デザインを大きく見せる */
@media (min-width: 1200px) {
	.rj-naire.rj-has-tb {
		--rj-wide: min(1160px, calc(100vw - 80px));
		width: var(--rj-wide);
		max-width: none;
		margin-left: calc((100% - var(--rj-wide)) / 2);
		margin-right: calc((100% - var(--rj-wide)) / 2);
	}
}

/* =========================================================
 * すっきりした見た目と、右のカゴの欄（0.24・2026/11/19）
 * ・背景の色と箱をなくして、ページと同じ生成りにとけこませる。強い色は「お買い物カゴに追加」だけ
 * ・文字の道具は、デザインの上に小さく1〜2段でまとめる
 * ・右（スマホは道具の下）に、商品の写真・お値段・数・カゴのボタン（ページにカゴのボタンは1つだけ）
 * ========================================================= */
.rj-naire.rj-has-tb {
	--rj-ink: #2b3a3d;      /* サイトの文字の色 */
	--rj-sub: #8a8f8c;      /* うすい文字 */
	--rj-line: #e6e2d8;     /* 細い線（生成りに合う、あたたかい灰色） */
	--rj-accent: #2f7f75;   /* サイトの「カートに入れる」と同じ色 */
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* デザインのうしろの灰色の四角をなくす（キーホルダーだけが、ページに浮かぶ） */
.rj-has-tb .rj-naire__canvas {
	background: transparent !important;
	border-radius: 0;
	filter: drop-shadow(0 10px 18px rgba(60, 50, 30, .12));
}
.rj-has-tb .rj-stage__size { font-weight: 400; color: var(--rj-sub); }

/* 左のボタン：わくをなくして、文字と小さな絵だけ。えらんでいるものに色の線 */
.rj-has-tb .rj-rail__btn {
	color: var(--rj-sub);
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.rj-has-tb .rj-rail__btn:hover { color: var(--rj-ink); background: transparent; }
.rj-has-tb .rj-rail__btn.is-active,
.rj-has-tb .rj-rail__btn.is-active:hover { color: var(--rj-ink); background: transparent; }
.rj-has-tb .rj-rail__sub { display: none !important; }
@media (min-width: 900px) {
	.rj-has-tb > .rj-rail { gap: 2px; padding-right: 10px; border-right: 1px solid var(--rj-line); }
	.rj-has-tb .rj-rail__btn {
		flex-direction: row;
		justify-content: flex-start;
		gap: 9px;
		min-height: 0;
		padding: 11px 6px 11px 12px;
		text-align: left;
		border-left: 3px solid transparent;
	}
	.rj-has-tb .rj-rail__btn.is-active { border-left-color: var(--rj-accent); }
	.rj-has-tb .rj-rail__icon svg { width: 19px; height: 19px; }
}
@media (max-width: 899px) {
	.rj-has-tb .rj-rail { gap: 0; border-bottom: 1px solid var(--rj-line); }
	.rj-has-tb .rj-rail__btn { min-height: 52px; border-bottom: 3px solid transparent; }
	.rj-has-tb .rj-rail__btn.is-active { border-bottom-color: var(--rj-accent); }
	.rj-has-tb .rj-naire__preview { background: #fbfaf7; border-bottom-color: var(--rj-line); }
}

/* おもて／うら：下線のつまみに。文字1・＋文字を足す：小さく、うすく */
.rj-has-tb .rj-tb-head .rj-naire__tabs { gap: 18px; }
.rj-has-tb .rj-tb-head .rj-naire__tab,
.rj-has-tb .rj-tb-head .rj-naire__tab:first-child,
.rj-has-tb .rj-tb-head .rj-naire__tab:last-child {
	margin: 0;
	padding: 5px 2px;
	color: var(--rj-sub);
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
}
.rj-has-tb .rj-tb-head .rj-naire__tab.is-active { color: var(--rj-ink); border-bottom-color: var(--rj-ink); background: transparent; }
.rj-has-tb .rj-tb-chips .rj-naire__chip {
	padding: 3px 11px;
	font-size: 12.5px;
	font-weight: 400;
	color: var(--rj-sub);
	border: 1px solid var(--rj-line);
	background: transparent;
}
.rj-has-tb .rj-tb-chips .rj-naire__chip.is-active { color: var(--rj-ink); border-color: var(--rj-ink); background: transparent; }
.rj-has-tb .rj-tb-chips .rj-naire__chip--add { color: var(--rj-accent); border-style: dashed; border-color: var(--rj-accent); }

/* 文字の道具：デザインの上に、小さく1〜2段で（ラベルは出さず、マウスを当てると名前が出る） */
.rj-has-buy .rj-tb {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	padding: 8px 0;
	border: 0;
	border-top: 1px solid var(--rj-line);
	border-bottom: 1px solid var(--rj-line);
	border-radius: 0;
	background: transparent;
}
.rj-has-buy .rj-tool {
	flex-direction: row;
	align-items: center;
	gap: 6px;
	width: auto;
	padding: 0;
	border: 0;
}
.rj-has-buy .rj-tool__label { display: none; }
.rj-has-buy .rj-tool--size .rj-tool__label { display: inline; font-size: 12px; font-weight: 400; color: var(--rj-sub); }
.rj-has-buy .rj-tool--text,
.rj-has-buy .rj-tool--input { flex: 1 1 210px; }
.rj-has-buy .rj-tb select,
.rj-has-buy .rj-tb input[type="text"],
.rj-has-buy .rj-tb textarea,
.rj-has-buy .rj-tb .rj-naire__input,
.rj-has-buy .rj-tb .rj-naire__top {
	box-sizing: border-box;
	height: 36px;
	padding: 5px 9px;
	font-size: 15px;
	color: var(--rj-ink);
	border: 1px solid var(--rj-line);
	border-radius: 6px;
	background: #fff;
}
.rj-has-buy .rj-tb select { width: auto; min-width: 0; padding-right: 26px; }
.rj-has-buy .rj-tb .rj-tool--text textarea,
.rj-has-buy .rj-tb .rj-tool--input input,
.rj-has-buy .rj-tb .rj-naire__input,
.rj-has-buy .rj-tb .rj-naire__top { width: 100%; }
.rj-has-buy .rj-tb textarea { min-height: 36px; line-height: 1.45; resize: none; overflow: hidden; }
.rj-has-buy .rj-tb select:focus,
.rj-has-buy .rj-tb input[type="text"]:focus,
.rj-has-buy .rj-tb textarea:focus { border-color: var(--rj-accent); outline: 0; }
.rj-has-buy .rj-tool--color .rj-naire__choice span { width: 28px; height: 28px; }
.rj-has-buy .rj-tool--color .rj-naire__dot { width: 18px; height: 18px; }
.rj-has-buy .rj-tool--dir .rj-naire__choice span { padding: 6px 9px; font-size: 12.5px; border-width: 1px; border-color: var(--rj-line); background: #fff; }
.rj-has-buy .rj-tool--size .rj-naire__size { gap: 5px; }
.rj-has-buy .rj-tool--size .rj-naire__size-range { flex: 0 0 90px; width: 90px; accent-color: var(--rj-ink); }
.rj-has-buy .rj-tool--size .rj-naire__size-btn { width: 28px; height: 28px; font-size: 1em; border-width: 1px; border-color: var(--rj-line); color: var(--rj-ink); }
.rj-has-buy .rj-tool--size .rj-naire__size-value { flex: 0 0 auto; font-size: 13px; }
.rj-has-buy .rj-tool--remove .rj-naire__remove {
	padding: 4px 2px;
	font-size: 12px;
	color: #b3261e;
	border: 0;
	background: transparent;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.rj-has-buy .rj-tb-msg:empty { display: none; }
.rj-has-buy .rj-tb-helpbox { margin: 8px 0 0; border: 0; border-left: 2px solid var(--rj-line); border-radius: 0; background: transparent; }
.rj-has-buy .rj-tb-head { justify-content: flex-start; margin: 0 0 6px; }
.rj-has-buy .rj-naire__preview .rj-tb-head { justify-content: center; }

/* 木のひな形：「ひな形：」のあとに小さなボタン */
.rj-has-buy .rj-laser-tpls { gap: 6px; margin: 0 0 6px; }
.rj-has-buy .rj-laser-tpls__label { display: none; }
.rj-has-buy .rj-laser-tpls::before { content: "ひな形："; font-size: 12px; color: var(--rj-sub); }
.rj-has-buy .rj-laser-tpl { padding: 3px 10px; font-size: 12.5px; color: var(--rj-ink); border: 1px solid var(--rj-line); background: transparent; }
.rj-has-buy .rj-laser-tpl:hover { border-color: var(--rj-ink); background: transparent; }

/* 右のカゴの欄 */
.rj-buy { box-sizing: border-box; min-width: 0; text-align: left; }
.rj-buy__photo { margin: 0 0 12px; }
.rj-buy__main {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	border-radius: 8px;
	background: #fff;
}
.rj-buy__main.is-zoomable { cursor: zoom-in; }
.rj-buy__thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.rj-buy__thumb {
	width: 42px;
	height: 42px;
	object-fit: cover;
	border: 1px solid var(--rj-line);
	border-radius: 6px;
	opacity: .65;
	cursor: pointer;
}
.rj-buy__thumb.is-active { opacity: 1; border-color: var(--rj-ink); }
.woocommerce div.product .rj-buy div.summary,
.rj-buy .summary {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}
.woocommerce div.product .rj-buy p.price,
.rj-buy .price { margin: 0 0 10px !important; font-size: 24px !important; line-height: 1.3; color: var(--rj-ink); }
.rj-buy .product_meta { display: none; }
.woocommerce div.product .rj-buy form.cart,
.rj-buy form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
}
.rj-buy .rj-naire-summary {
	flex: 1 1 100%;
	box-sizing: border-box;
	margin: 0 0 4px;
	padding: 4px 0 4px 10px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--rj-ink);
	border: 0;
	border-left: 2px solid var(--rj-line);
	border-radius: 0;
	background: transparent;
}
.woocommerce .rj-buy .quantity,
.rj-buy .quantity { flex: 0 0 auto; width: auto !important; margin: 0 !important; }
.woocommerce .rj-buy .quantity input.qty,
.rj-buy .quantity input.qty {
	width: 58px;
	height: 46px;
	border: 1px solid var(--rj-line);
	border-radius: 8px;
	background: #fff;
}
.woocommerce div.product .rj-buy form.cart .single_add_to_cart_button,
.rj-buy .single_add_to_cart_button {
	flex: 1 1 0;
	min-width: 0;
	height: 46px;
	padding: 0 8px !important;
	font-size: 14px !important;
	letter-spacing: .04em;
	white-space: nowrap;
}
.rj-buy .rj-laser-signal { max-width: none; margin: 0 0 10px; }

/* 木の信号：色の箱ではなく、左の色の線と文字だけ */
.rj-has-tb .rj-laser-signal { border-width: 0 0 0 3px; border-radius: 0; background: transparent; padding: 4px 10px; font-size: 13px; }
.rj-has-tb .rj-laser-signal.is-yellow { background: #fffaea; }
.rj-has-tb .rj-laser-signal.is-red { background: #fff5f4; }

/* もとの写真の欄（ページの下）は出さない。おまかせの欄の中のカゴのボタンも、右のボタン1つにまとめる */
.rj-naire.rj-has-buy ~ .woocommerce-product-gallery { display: none !important; }
.rj-has-buy .rj-om__cart { display: none !important; }

/* 写真を大きく見る */
.rj-zoom {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 20, 20, .82);
	cursor: zoom-out;
}
.rj-zoom img { max-width: 92vw; max-height: 88vh; border-radius: 6px; background: #fff; }
.rj-zoom__close { position: absolute; top: 14px; right: 18px; font-size: 15px; color: #fff; }

/* パソコン：左にボタン、まん中に（道具とデザイン）、右にカゴの欄 */
@media (min-width: 900px) {
	.rj-naire.rj-has-tb.rj-has-buy {
		grid-template-columns: 150px minmax(0, 1fr) 260px;
		grid-template-areas: "rail om buy" "rail tools buy" "rail stage buy";
		gap: 0 22px;
	}
	.rj-has-buy > .rj-naire__controls {
		grid-area: tools;
		position: static;
		margin: 0 0 6px;
	}
	.rj-has-buy > .rj-buy {
		grid-area: buy;
		align-self: start;
		position: sticky;
		top: calc(var(--rj-naire-top, 0px) + var(--rj-tabs-below, 0px) + 10px);
		margin-top: var(--rj-tabs-below, 0px);
		padding-left: 22px;
		border-left: 1px solid var(--rj-line);
	}
	.rj-has-buy > .rj-naire__preview { text-align: center; }
}

/* スマホ：カゴの欄は、文字の道具の下 */
@media (max-width: 899px) {
	.rj-has-buy > .rj-buy { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--rj-line); }
	.rj-has-buy .rj-tb { border-bottom: 0; } /* 下の線は、カゴの欄の上の線と重なるので出さない */
	.rj-has-buy .rj-buy__photo { max-width: 260px; }
	.rj-has-buy .rj-tool--text,
	.rj-has-buy .rj-tool--input { flex: 1 1 100%; }
}

/* =========================================================
 * 名入れの商品ページの上をすっきり（0.25・2026/11/19）
 * 見出しの大きな帯をなくして、商品名はパンくずの行に出す（案A）。
 * 入った瞬間に「ここで作って、ここでカゴに入れる」ページだとわかるように。
 * ========================================================= */
/* 見出しの帯は見えなくする（読み上げや検索のために、見出しの文字そのものは残す） */
body.rj-naire-page .p-entry__head {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
/* パンくずのいちばん右（この商品）を、商品名として太く出す */
body.rj-naire-page .p-breadcrumb__item:last-child .p-breadcrumb__text {
	font-size: 15px;
	font-weight: 700;
	color: #2b3a3d;
	opacity: 1;
}
@media (max-width: 899px) {
	/* スマホ：ヘッダーの下のお知らせの1行は出さない（上にとまる部分を細くして、デザインを広く見せる） */
	body.rj-naire-page .rj-headnote { display: none !important; }
	/* パンくずは1行にして、長い商品名は「…」で切る */
	body.rj-naire-page .p-breadcrumb__list { flex-wrap: nowrap; overflow: hidden; }
	body.rj-naire-page .p-breadcrumb__item { flex: 0 0 auto; }
	body.rj-naire-page .p-breadcrumb__item:last-child { flex: 1 1 auto; min-width: 0; }
	body.rj-naire-page .p-breadcrumb__item:last-child .p-breadcrumb__text {
		display: block;
		overflow: hidden;
		font-size: 14px;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}

/* 木：「文字を入れる」ボタン（「文字1」「＋文字を足す」のとなり） */
.rj-tb-insert {
	padding: 3px 12px;
	font: inherit;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.6;
	color: #fff;
	border: 1px solid var(--rj-accent, #2f7f75);
	border-radius: 999px;
	background: var(--rj-accent, #2f7f75);
	cursor: pointer;
}
.rj-tb-insert:hover { opacity: .88; }
.rj-tb-chips .rj-tb-insert[hidden] { display: none !important; }
.rj-has-buy .rj-tb textarea.is-ready { box-shadow: 0 0 0 3px rgba(47, 127, 117, .25); border-color: var(--rj-accent, #2f7f75); }

/* スマホのカゴの欄：お値段・数・カゴのボタンを先に、写真はその下に小さく */
@media (max-width: 899px) {
	.rj-has-buy > .rj-buy { display: flex; flex-direction: column; }
	.rj-has-buy .rj-buy > .summary { order: 1; }
	.rj-has-buy .rj-buy__photo { order: 2; max-width: 200px; margin: 14px 0 0; }
}

/* =========================================================
 * 商品名（パンくず）と名入れの欄のあいだを詰める（0.25.1・2026/11/19）
 * ========================================================= */
body.rj-naire-page .l-content__body { margin-top: 0 !important; padding-top: 0 !important; }
body.rj-naire-page .p-entry__content { margin-top: 0 !important; }
body.rj-naire-page .rj-naire.rj-has-tb { margin-top: 0 !important; padding-top: 6px !important; }
.rj-stage__note { display: block; margin-top: 2px; font-size: 11.5px; color: var(--rj-sub, #8a8f8c); }

/* サイトの追加CSS（body.single-product の上のよはく 8px・20px）より強くして、名入れの商品ページだけ詰める（0.25.1追記） */
body.rj-naire-page.single-product .l-content__body { margin-top: 0 !important; padding-top: 0 !important; }
body.rj-naire-page.single-product .p-entry__content { margin-top: 0 !important; }

/* =========================================================
 * スマホの名入れ：揺れの直しと、文字を入れる所を広く（0.25.2・2026/11/19）
 * ========================================================= */
/* お値段（カゴの帯の中）と、入れた内容のうつし（カゴの欄）は、スマホだけ出す */
.rj-bar-price,
.rj-buy__note { display: none; }
@media (max-width: 899px) {
	/* デザインの大きさは「アドレスバーが出ているときの画面の高さ」で決める。スクロールしても大きさが変わらない（ブルブル揺れないように） */
	.rj-has-tb .rj-naire__canvas { width: min(100%, 38vh); width: min(100%, 38svh); }
	/* 文字を打っているあいだ（キーボードが出ているあいだ）は、デザインを半分くらいに */
	.rj-has-tb.rj-typing .rj-naire__canvas { width: min(100%, 19vh); width: min(100%, 19svh); }
	.rj-has-tb.rj-typing > .rj-naire__preview { padding-top: 4px; padding-bottom: 4px; }
	.rj-has-tb.rj-typing .rj-tb-head { margin-bottom: 2px; }
	/* ヘッダーは上に止めない（この名入れのページだけ）。下に動かすと、デザインがいちばん上に来る */
	body.rj-naire-page #header { position: relative !important; top: auto !important; }
	/* 大きさの説明は「使い方・サイズ」の中 */
	.rj-tb-helpbox > .rj-stage__size {
		margin: 0 0 8px;
		padding: 0 0 8px;
		font-size: 12.5px;
		line-height: 1.6;
		text-align: left;
		color: inherit;
		border-bottom: 1px dashed var(--rj-line, #d9e2e0);
	}
	/* カゴの帯：画面のいちばん下に、お値段・数・カゴのボタン。
	   いちばん下までスクロールすると、帯はフッターの上（名入れの欄のいちばん下）でとまる（0.25.3） */
	body.rj-naire-page .rj-has-buy > form.cart { /* サイトの追加CSS（body.single-product form.cart）より強く */
		position: sticky;
		bottom: 0;
		z-index: 90;
		display: flex !important;
		flex-wrap: nowrap;
		align-items: center;
		gap: 8px;
		margin: 14px calc(50% - 50vw) 0 !important; /* 画面のはしからはしまで */
		padding: 8px 12px;
		padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid var(--rj-line, #d9e2e0);
		box-shadow: 0 -2px 10px rgba(0, 0, 0, .06);
		transition: opacity .15s ease, visibility .15s ease;
	}
	.rj-has-buy > form.cart .rj-naire-summary { display: none !important; } /* 中の注文の情報は、見えなくても送られる */
	.rj-has-buy > form.cart .rj-bar-price { display: block; flex: 0 0 auto; font-size: 16px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
	.rj-has-buy > form.cart .rj-bar-price small,
	.rj-has-buy > form.cart .rj-bar-price .woocommerce-price-suffix { font-size: 11px; font-weight: 400; }
	.woocommerce .rj-has-buy > form.cart .quantity,
	.rj-has-buy > form.cart .quantity { flex: 0 0 auto; width: auto !important; margin: 0 !important; }
	.woocommerce .rj-has-buy > form.cart .quantity input.qty,
	.rj-has-buy > form.cart .quantity input.qty { width: 58px; height: 46px; border: 1px solid var(--rj-line); border-radius: 8px; background: #fff; }
	.woocommerce div.product .rj-has-buy > form.cart .single_add_to_cart_button,
	.rj-has-buy > form.cart .single_add_to_cart_button {
		flex: 1 1 0;
		min-width: 0;
		height: 46px;
		margin: 0 !important;
		padding: 0 8px !important;
		font-size: 14px !important;
		letter-spacing: .04em;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.rj-has-buy.rj-typing > form.cart { visibility: hidden; opacity: 0; }
	.rj-has-buy .rj-buy__note { display: block; margin: 0; font-size: 13px; line-height: 1.6; }
	.rj-has-buy .rj-buy .summary > .price { display: none !important; } /* お値段は下の帯に出ているので、ここでは出さない */
	/* 実物大で見る：スマホの画面では実物の大きさにならない（小さく出る）ので、スマホでは出さない（0.25.3） */
	.rj-has-tb .rj-tb-realbtn { display: none !important; }
	.rj-has-tb.rj-has-mode:not(.rj-om-on) > .rj-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
	/* ページの上にもどるボタン（テーマのもの）は、カゴの帯の上に出す（帯に重ならないように） */
	body.rj-naire-page .p-fixBtnWrap { bottom: 84px !important; }
}
@media (max-width: 899px) {
	/* デザインのかげ（drop-shadow）は、スマホでは出さない。上に止まったデザインが、スクロールのときにプルつく原因になるため（0.25.4） */
	.rj-has-tb .rj-naire__canvas { filter: none; }
	/* 上に止まるデザインの欄は、ひとかたまりで動かす（スマホでなめらかに止まるように） */
	.rj-has-tb > .rj-naire__preview { -webkit-transform: translateZ(0); transform: translateZ(0); }
}

/* iPhone（Safari）で、上に止めたデザインがスクロールのときにプルつく直し（0.25.5）。
   テーマの #content（.l-content）には「横にはみ出した所を切り取る（overflow: clip）」指定がある。
   その中で上に止めた部分は、iPhone ではなめらかに止まらず、スクロールのたびに位置を描き直してプルつく。
   ヘッダーはこの外にあるので揺れない。名入れのページだけ、この切り取りをやめる（横のはみ出しは body の指定でかくれる） */
body.rj-naire-page #content.l-content { overflow: visible !important; }
