.hnp-root,
.hnp-root * {
	box-sizing: border-box;
}

.hnp-root {
	--hnp-ink: #211f1d;
	--hnp-muted: #716b65;
	--hnp-line: #e8dfe1;
	--hnp-soft: #fbf6f6;
	--hnp-accent: #bb665f;
	--hnp-orange: #ff750d;
	max-width: 1180px;
	margin: 34px auto;
	color: var(--hnp-ink);
	font-family: inherit;
}

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

.hnp-parent-navigation {
	margin: 0 0 14px;
}

.hnp-parent-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 9px 15px;
	border: 1px solid var(--hnp-line);
	border-radius: 999px;
	background: #fff;
	color: var(--hnp-ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(49, 38, 27, 0.05);
}

.hnp-parent-link:hover,
.hnp-parent-link:focus-visible {
	border-color: var(--hnp-accent);
	color: var(--hnp-accent);
}

.hnp-heading {
	position: relative;
	isolation: isolate;
	container-type: inline-size;
	display: flex;
	min-height: clamp(310px, 34vw, 400px);
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 24px;
	padding: clamp(42px, 7vw, 78px) clamp(28px, 8vw, 92px);
	border: 0;
	border-radius: 6px;
	background:
		radial-gradient(circle at 82% 16%, rgba(145, 168, 184, 0.42), transparent 29%),
		radial-gradient(circle at 92% 86%, rgba(201, 135, 145, 0.38), transparent 33%),
		linear-gradient(132deg, #282326 0%, #3c3035 58%, #493a3e 100%);
	box-shadow: 0 24px 68px rgba(63, 45, 52, 0.22);
	color: #fffdfb;
}

.hnp-heading::before,
.hnp-heading::after {
	content: "";
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	pointer-events: none;
}

.hnp-heading::before {
	right: 82px;
	top: 54px;
	width: 112px;
	height: 112px;
	background: rgba(201, 135, 145, 0.72);
	box-shadow: 82px 46px 0 rgba(145, 168, 184, 0.74), 22px 118px 0 rgba(194, 171, 143, 0.68);
}

.hnp-heading::after {
	top: 0;
	bottom: 0;
	left: 0;
	width: 7px;
	border-radius: 0;
	background: #e1bbb4;
}

.hnp-root .hnp-heading h2 {
	all: unset !important;
	display: block !important;
	position: relative !important;
	z-index: 1 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 12px 0 22px !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	color: #fffdfb !important;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif !important;
	font-size: clamp(34px, 4.9vw, 58px) !important;
	font-size: clamp(25px, 7cqw, 58px) !important;
	font-weight: 650 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.035em !important;
	text-align: left !important;
}

.hnp-root .hnp-heading h2::before,
.hnp-root .hnp-heading h2::after {
	content: none !important;
	display: none !important;
}

.hnp-heading h2 span,
.hnp-heading h2 em {
	display: block !important;
	white-space: nowrap !important;
}

.hnp-heading h2 em {
	color: #e8c8c4 !important;
	font-style: normal !important;
}

.hnp-heading > p:last-child {
	position: relative;
	z-index: 1;
	max-width: min(100%, 880px);
	margin: 0 !important;
	color: rgba(255, 253, 251, 0.74) !important;
	font-size: clamp(13px, 1.55vw, 16px);
	line-height: 1.9;
	text-wrap: pretty;
}

.hnp-step p,
.hnp-disclaimer,
.hnp-file-name {
	color: var(--hnp-muted);
}

.hnp-eyebrow {
	margin: 0;
	color: var(--hnp-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.hnp-heading > .hnp-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	z-index: 1;
	margin: 0 !important;
	color: #e8c8c4 !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: none;
}

.hnp-heading > .hnp-eyebrow::before {
	content: "" !important;
	display: block !important;
	width: 34px;
	height: 1px;
	background: currentColor;
}

.hnp-heading > .hnp-eyebrow::after {
	content: none !important;
	display: none !important;
}

.hnp-layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
	gap: 24px;
}

.hnp-panel,
.hnp-preview,
.hnp-order {
	padding: clamp(20px, 3vw, 30px);
	border: 1px solid var(--hnp-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(49, 38, 27, 0.06);
}

.hnp-step {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.hnp-step-spaced {
	margin-top: 28px;
}

.hnp-step-number {
	display: grid;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
	place-items: center;
	border-radius: 50%;
	background: var(--hnp-ink);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.hnp-step h3,
.hnp-step p {
	margin: 0;
}

.hnp-step h3 {
	font-size: 18px;
}

.hnp-step p {
	margin-top: 3px;
	font-size: 13px;
}

.hnp-color-compact {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 12px 0 0 43px;
	padding: 7px 9px;
	border: 1px solid var(--hnp-line);
	border-radius: 11px;
	background: var(--hnp-soft);
}

.hnp-selected-swatch {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 50%;
}

.hnp-color-select {
	width: 100%;
	min-width: 0;
	min-height: 38px;
	padding: 6px 34px 6px 10px;
	border: 0;
	background-color: transparent;
	color: var(--hnp-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.hnp-color-select:focus {
	outline: 2px solid rgba(155, 92, 49, 0.28);
	outline-offset: 1px;
}

.hnp-fallback-note {
	margin: 10px 0 0 43px;
	padding: 9px 11px;
	border-radius: 8px;
	background: #fff5df;
	color: #7d5619;
	font-size: 12px;
}

.hnp-upload {
	display: block;
	margin-top: 16px;
	padding: 17px;
	border: 1px dashed #b9ada2;
	border-radius: 12px;
	background: var(--hnp-soft);
	text-align: center;
	cursor: pointer;
}

.hnp-upload:hover {
	border-color: var(--hnp-accent);
}

.hnp-upload-title,
.hnp-upload-sub {
	display: block;
}

.hnp-upload-title {
	font-weight: 700;
}

.hnp-upload-sub {
	margin-top: 2px;
	color: var(--hnp-muted);
	font-size: 12px;
}

.hnp-file {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.hnp-file-name,
.hnp-error {
	margin: 8px 0 0;
	font-size: 12px;
}

.hnp-error {
	color: #b42318;
}

.hnp-edit {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--hnp-line);
}

.hnp-range-label {
	display: flex;
	justify-content: space-between;
	margin: 14px 0 7px;
	font-size: 13px;
	font-weight: 700;
}

.hnp-fit-controls {
	margin-top: 12px;
	padding: 14px;
	border: 1px solid #e1d8d8;
	border-radius: 12px;
	background: #fcf8f8;
}

.hnp-device-picker {
	display: grid;
	gap: 6px;
	margin-bottom: 8px;
}

.hnp-device-picker > span,
.hnp-fit-size-row > span {
	font-size: 12px;
	font-weight: 800;
}

.hnp-device-select {
	width: 100%;
	min-height: 42px;
	padding: 7px 34px 7px 10px;
	border: 1px solid #d8cccc;
	border-radius: 9px;
	background: #fff;
	color: var(--hnp-ink);
	font: inherit;
	font-size: 13px;
}

.hnp-device-status {
	margin: 0 0 11px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f1ebec;
	color: var(--hnp-muted);
	font-size: 11px;
	line-height: 1.55;
}

.hnp-device-status.is-verified {
	background: #e8f5eb;
	color: #1f6b36;
}

.hnp-fit-size-row {
	display: grid;
	grid-template-columns: auto repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 8px;
}

.hnp-fit-size {
	min-height: 42px;
	padding: 6px 9px;
	border: 1px solid #d8cccc;
	border-radius: 9px;
	background: #fff;
	color: var(--hnp-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.hnp-fit-size small {
	display: block;
	margin-top: 1px;
	color: var(--hnp-muted);
	font-size: 10px;
	font-weight: 600;
}

.hnp-fit-size.is-active {
	border-color: var(--hnp-accent);
	background: #fff7f5;
	box-shadow: inset 0 0 0 1px var(--hnp-accent);
}

.hnp-fit-interval {
	width: 100%;
	accent-color: var(--hnp-accent);
}

.hnp-fit-output {
	color: var(--hnp-accent);
	font-variant-numeric: tabular-nums;
}

.hnp-fit-note {
	margin: 8px 0 0;
	color: var(--hnp-muted);
	font-size: 11px;
	line-height: 1.6;
}

.hnp-size,
.hnp-angle {
	width: 100%;
	accent-color: var(--hnp-accent);
}

.hnp-button-grid,
.hnp-size-choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 16px;
}

.hnp-button,
.hnp-size-choice {
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--hnp-line);
	border-radius: 11px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.hnp-button-subtle,
.hnp-size-choice {
	background: #fff;
	color: var(--hnp-ink);
}

.hnp-size-choice.is-active {
	border-color: var(--hnp-accent);
	background: #fff8f1;
	box-shadow: inset 0 0 0 1px var(--hnp-accent);
}

.hnp-button-primary,
.hnp-purchase {
	width: 100%;
	border-color: var(--hnp-orange);
	background: var(--hnp-orange);
	color: #fff;
}

.hnp-button:disabled,
.hnp-size-choice:disabled {
	cursor: not-allowed;
	opacity: 0.48;
}

.hnp-text-button {
	display: block;
	margin: 13px auto 0;
	padding: 3px;
	border: 0;
	background: transparent;
	color: var(--hnp-accent);
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.hnp-preview-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.hnp-preview-head > span {
	font-weight: 800;
}

.hnp-preview-head small {
	color: var(--hnp-muted);
}

.hnp-canvas-shell {
	position: relative;
	display: grid;
	min-height: 430px;
	place-items: center;
	overflow: hidden;
	border-radius: 15px;
	background: #f1eeea;
}

.hnp-empty {
	max-width: 280px;
	padding: 30px;
	color: var(--hnp-muted);
	font-size: 14px;
	text-align: center;
}

.hnp-canvas {
	display: block;
	width: 100%;
	height: auto;
	max-height: 620px;
	object-fit: contain;
	touch-action: none;
	cursor: grab;
}

.hnp-canvas.is-dragging {
	cursor: grabbing;
}

.hnp-download {
	margin-top: 14px;
}

.hnp-disclaimer {
	margin: 10px 0 0;
	font-size: 11px;
	line-height: 1.7;
}

.hnp-order {
	margin-top: 24px;
}

.hnp-order-row {
	display: grid;
	grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1.3fr);
	gap: 24px;
	align-items: center;
	margin: 18px 0 0 43px;
}

.hnp-size-choices {
	margin: 0;
}

.hnp-order-summary {
	padding: 18px;
	border-radius: 13px;
	background: var(--hnp-soft);
}

.hnp-selection {
	margin: 0 0 12px;
	font-size: 14px;
}

.hnp-important-terms {
	margin: 14px 0 0;
	padding: 13px 14px;
	border: 1px solid #e4d5d7;
	border-left: 4px solid var(--hnp-accent);
	border-radius: 10px;
	background: #fff;
	font-size: 12px;
	line-height: 1.65;
}

.hnp-important-terms > strong {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
}

.hnp-important-terms ul {
	margin: 0 0 0 1.25em;
	padding: 0;
}

.hnp-important-terms a {
	color: #8d4d48;
	font-weight: 700;
}

.hnp-confirm-check {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 14px 0;
	cursor: pointer;
	font-size: 12px;
	line-height: 1.55;
}

.hnp-confirm-check input {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	margin: 1px 0 0;
	accent-color: var(--hnp-accent);
}

.hnp-purchase-status {
	min-height: 1.5em;
	margin: 8px 0 0;
	color: #b42318;
	font-size: 12px;
}

.hnp-purchase-status.is-success {
	color: #18733c;
	font-weight: 700;
}

.hnp-notice {
	padding: 12px 14px;
	border-left: 4px solid #dba617;
	background: #fff8d9;
}

.hnp-b2b-callout { margin: 24px 0 0 46px; padding: 18px; border-radius: 14px; background: #3f383a; color: #fff; }
.hnp-b2b-callout strong { display: block; font-size: 15px; }
.hnp-b2b-callout p { margin: 8px 0; color: rgba(255,255,255,.76); font-size: 12px; line-height: 1.75; }
.hnp-b2b-callout a { color: #f0c8c2; font-size: 12px; font-weight: 800; }

@media (max-width: 780px) {
	.hnp-layout,
	.hnp-order-row {
		grid-template-columns: 1fr;
	}

	.hnp-order-row {
		margin-left: 0;
	}

	.hnp-b2b-callout { margin-left: 0; }

	.hnp-canvas-shell {
		min-height: 330px;
	}
}

@media (max-width: 480px) {
	.hnp-root {
		margin: 22px auto;
	}

	.hnp-heading {
		min-height: 315px;
		padding: 44px 24px 42px 30px;
		border-radius: 4px;
	}

	.hnp-root .hnp-heading h2 {
		margin: 13px 0 19px !important;
		line-height: 1.23 !important;
	}

	.hnp-heading::before {
		right: -22px;
		top: 24px;
		width: 76px;
		height: 76px;
		box-shadow: 54px 32px 0 rgba(145, 168, 184, 0.7), 14px 82px 0 rgba(194, 171, 143, 0.62);
	}

	.hnp-heading > .hnp-eyebrow {
		font-size: 9px;
		letter-spacing: 0.12em;
	}

	.hnp-panel,
	.hnp-preview,
	.hnp-order {
		padding: 18px;
		border-radius: 15px;
	}

	.hnp-color-compact,
	.hnp-fallback-note {
		margin-left: 0;
	}
}

/* V0.21.1: keep PALETTE preview and transform controls in the same visual workspace. */
.hnp-preview-edit{margin-top:10px;padding:10px 12px;border:1px solid var(--hnp-line);border-radius:12px;background:var(--hnp-soft)}
.hnp-preview-sliders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hnp-preview-sliders label{display:grid;gap:4px;font-size:11px;font-weight:800}
.hnp-preview-sliders label>span{display:flex;justify-content:space-between;gap:8px}.hnp-preview-sliders output{color:var(--hnp-accent);font-variant-numeric:tabular-nums}
.hnp-preview-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:7px}.hnp-preview-actions .hnp-button{min-height:34px;padding:5px 9px;font-size:11px}.hnp-preview-actions .hnp-text-button{display:inline-block;margin:0 0 0 4px;font-size:11px}
@media(max-width:780px){.hnp-preview{order:-1}.hnp-canvas-shell{min-height:min(48vh,360px)}.hnp-canvas{max-height:min(48vh,360px)}}
@media(max-width:480px){.hnp-preview{padding:12px}.hnp-preview-head{margin-bottom:7px}.hnp-preview-head small{font-size:10px}.hnp-canvas-shell{min-height:270px}.hnp-canvas{max-height:320px}.hnp-preview-edit{padding:8px}.hnp-preview-sliders{gap:8px}.hnp-preview-actions{justify-content:space-between}.hnp-preview-actions .hnp-button{flex:0 0 auto}.hnp-download{min-height:42px;margin-top:9px}.hnp-disclaimer{margin-top:7px}}


/* V0.21.12: mobile uses the same menu structure/order as the accepted desktop layout. */
.hnp-b2b-callout{display:none!important}
@media(max-width:767px){
  .hnp-layout{display:grid!important}
  .hnp-preview{order:initial!important}
  .hnp-controls{display:flex!important;flex-direction:column}
  .hnp-order>.hnp-step{display:none!important}
  .hnp-order-row{display:block!important}
  .hnp-order-row>.hnp-size-choices{display:none!important}
  .hnp-order-summary{width:100%!important}
}



/* V0.21.21: preparation notice shown before simulator steps */
.hnp-prep-notice {
  max-width: 1120px; margin: 0 auto 24px; padding: 16px 18px;
  border-left: 4px solid #7b6a5d; background: #f5f1eb; border-radius: 8px;
  color: #333; line-height: 1.75;
}
.hnp-prep-notice strong { display:block; margin-bottom:4px; font-size:14px; }
.hnp-prep-notice p { margin:0; font-size:13px; }
@media (max-width: 767px) {
  .hnp-prep-notice { margin: 0 16px 20px; padding: 14px 15px; }
}
