
/* ══ 変数 ══ */
:root {
	--nv: #135cfe;
	--nv2: #0e47c4;
	--active-btn-color: var(--nv);
	--nv-lt: #e2eff7;
	--color-red: #fe483b;
	--or: #fe483b;
	--or-lt: #ffeceb;
	--or-dk: #d6291c;
	--nv-md: #3d77ff;
	--bk: #000000;
	--bk2: #0f0f0f;
	--wh: #ffffff;
	--paper: #f5f8fb;
	--go: #28a745;
	--go-lt: #e8f5e9;
	--bd: rgba(105, 105, 105, 0.3);
	--bd2: rgba(255, 255, 255, 0.1);
	--tx: #333;
	--tx2: #555;
	--tx3: #888;
	--r: 20px;
	--r-sm: 10px;
	--shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* ══ リセット ══ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Noto Sans JP', sans-serif;
	background-color: #e2eff7;
	color: var(--tx);
	font-size: 15px;
	line-height: 1.75;
	line-break: strict;
	overflow-wrap: anywhere;
	word-break: normal;
	-webkit-font-smoothing: antialiased;
}

/* ══ ヘッダー ══ */
.site-header {
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 10px 24px;
	display: flex;
	align-items: center;
	gap: 14px;
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid rgba(19, 92, 254, 0.1);
	box-shadow: 0 2px 16px rgba(14, 71, 196, 0.06);
}

.site-header-title {
	font-size: 16px;
	color: var(--tx);
	font-weight: 700;
	letter-spacing: 0.04em;
}


/* ══ ステップバー ══ */
.progressbar {
	display: flex;
	background: #fff;
	overflow: hidden;
}

.progressbar .item {
	position: relative;
	flex: 1;
	text-align: center;
	padding: 12px 0;
	line-height: 1.4;
	background: #f8f9fa;
	color: #aaa;
	font-size: 11px;
	font-weight: 700;
}

.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
	position: absolute;
	z-index: 2;
	top: 0;
	bottom: 0;
	left: 100%;
	content: '';
	border: 25px solid transparent;
	border-left: 15px solid #f8f9fa;
	margin: auto;
}

.progressbar .item:not(:last-child)::before {
	margin-left: 1px;
	border-left-color: #fff;
}

.progressbar .item.active {
	z-index: 1;
	background: var(--nv);
	color: #fff;
}

.progressbar .item.active:not(:last-child)::after {
	border-left-color: var(--nv);
}

.progressbar .item.active:not(:last-child)::before {
	border-left: none;
}

.progressbar .item.done {
	background: #d9e4ff;
	color: var(--nv);
}

.progressbar .item.done:not(:last-child)::after {
	border-left-color: #d9e4ff;
}

/* ══ メインコンテンツ ══ */
.main {
	max-width: 900px;
	margin: 0 auto;
	padding: 36px 20px 100px;
}

/* ══ ステップパネル ══ */
.step-panel {
	display: none;
	animation: fadeUp 0.35s ease both;
}

.step-panel.active {
	display: block;
}

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}


.step-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-red);
	margin-bottom: 8px;
	text-align: center;
}

.step-title {
	font-size: clamp(1.5rem, 4.5vw, 2.2rem);
	font-weight: 900;
	color: var(--nv);
	line-height: 1.2;
	margin-bottom: 10px;
	text-align: center;
}

.step-desc {
	font-size: 13px;
	color: var(--tx3);
	line-height: 1.75;
	margin-bottom: 28px;
	text-align: center;
}

/* ══ カード ══ */
.card {
	background: var(--wh);
	border-radius: var(--r);
	border: 1px solid rgba(19, 92, 254, 0.08);
	box-shadow: var(--shadow);
	overflow: hidden;
	margin-bottom: 20px;
}

.card-head {
	padding: 18px 24px 0;
	border-bottom: 1px solid #f0f3fa;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
}

.card-head-num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--nv);
	color: #fff;
	font-family: 'Oswald', sans-serif;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	position: relative;
}

.card-head-num::after {
	position: absolute;
	content: '';
	height: 22px;
	width: 22px;
	border-radius: 50%;
	left: 0;
	background-color: var(--nv);
	animation: pulse 1s linear infinite;
	z-index: -1;
}

@keyframes pulse {
	from {
		transform: scale(0.9);
		opacity: 1;
	}
	to {
		transform: scale(1.8);
		opacity: 0;
	}
}

.card-head-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--nv);
	letter-spacing: -0.5px;
}

.card-head-sub {
	font-size: 12px;
	color: var(--tx3);
	margin-top: 2px;
}

.card > .card-head-sub {
	padding: 8px 24px;
	border-bottom: 1px solid #f0f3fa;
	margin-top: 0;
	background: #fff;
}

.card-body {
	padding: 24px;
}

/* ══ フォーム要素 ══ */
.field {
	margin-bottom: 24px;
	position: relative;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 24px;
}

.field-label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tx2);
}

.req-badge {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	background: var(--or);
	color: #fff;
}

.opt-badge {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
	background: #eceef4;
	color: var(--tx3);
}

.field-hint {
	font-size: 12px;
	color: var(--tx3);
	margin-bottom: 8px;
	line-height: 1.6;
}

input[type='text'],
input[type='email'],
input[type='tel'],
textarea,
select {
	width: 100%;
	padding: 14px;
	border: 1px solid var(--bd);
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--tx);
	background: #fff;
	transition: border-color 0.2s;
	outline: none;
	box-sizing: border-box;
}

input::placeholder,
textarea::placeholder {
	color: #bcc3d3;
	font-size: clamp(12px, 1.1vw, 13px);
	line-height: 1.7;
	letter-spacing: 0.01em;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--nv);
}

input.error,
textarea.error {
	border-color: var(--or);
}

/* ══ ナビボタン ══ */
.step-nav {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.step-nav-inner {
	display: inline-flex;
	gap: 16px;
	align-items: center;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	font-family: 'Noto Sans JP', sans-serif;
	transition: all 0.2s;
	letter-spacing: 0.03em;
	text-decoration: none;
	box-sizing: border-box;
}

.btn-primary,
.btn-submit {
	background: var(--active-btn-color);
	color: #fff;
	box-shadow: 0 4px 16px rgba(19, 92, 254, 0.2);
	transition: filter 0.2s, transform 0.2s, box-shadow 0.3s ease;
}

/* Standalone wide buttons */
.btn-submit {
	width: 100%;
	max-width: 320px;
}

/* Nav button pair — equal fixed width */
.step-nav .btn {
	width: 300px;
	max-width: none;
}

.btn-submit {
	background: var(--go);
	box-shadow: 0 4px 16px rgba(40, 167, 69, 0.2);
}

.btn-primary:hover {
	filter: brightness(0.88);
	transform: translateY(-1px);
}

.btn-secondary {
	background: var(--wh);
	color: var(--tx3);
	border: 1px solid var(--bd);
}

/* ══ 各種UI要素 ══ */
.step-nav-compact {
	margin-top: 20px;
}

.form-error-banner {
	display: none;
}

.form-error-banner.show {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: var(--or-lt);
	border: 1px solid rgba(254, 72, 59, 0.2);
	color: var(--or-dk);
	font-size: 13px;
	font-weight: 600;
	padding: 12px 16px;
	border-radius: var(--r-sm);
	margin-bottom: 20px;
	line-height: 1.6;
}

.error-banner-icon {
	font-size: 18px;
	flex-shrink: 0;
}

.contact-note {
	background: var(--nv-lt);
	border-left: 3px solid var(--nv);
	padding: 10px 14px;
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	font-size: 12px;
	color: var(--nv);
	margin-bottom: 6px;
	line-height: 1.7;
}

.textarea-target {
	min-height: 70px;
}

.card-tight {
	margin-bottom: 14px;
}

.card-body-tight {
	padding: 16px 20px;
}

.card-head-num-accent {
	background: var(--or);
}

.card-head-num-accent::after {
	background-color: var(--or);
}

.section-choice-title {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 6px 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--nv);
	margin-bottom: 4px;
}

.section-choice-meta {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	color: #6f7692;
	background: #eef2fb;
	border: 1px solid rgba(19, 92, 254, 0.14);
	padding: 2px 8px;
	border-radius: 999px;
}

.section-fixed {
	padding: 16px;
	border-radius: 14px;
}

.section-fixed-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 800;
	color: var(--nv);
	letter-spacing: 0.04em;
	margin-bottom: 12px;
}

.section-fixed-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.section-fixed-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(19, 92, 254, 0.12);
}

.section-fixed-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--nv);
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.section-fixed-name {
	font-size: 12px;
	font-weight: 700;
	color: var(--tx2);
}

.section-fixed-note {
	font-size: 10px;
	color: var(--tx3);
}

.s3-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 11px;
	margin-bottom: 16px;
}

.s3-sec-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	background: #fff;
	border: 1px solid rgba(19, 92, 254, 0.16);
	border-radius: 14px;
	padding: 12px;
	cursor: pointer;
	transition: all 0.22s ease;
	min-height: 128px;
	overflow: hidden;
}

.s3-sec-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(14, 71, 196, 0.08);
}

.s3-sec-card.s3-selected {
	border-color: var(--nv);
}

.s3-ck {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--nv);
	color: #fff;
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* 追加セクション一覧のイラスト（3×3 スプライトの1マス） */
/* スプライト元画像 1716×917（3×3 マスはいずれも同じ縦横比）— 300%×300% だと要素が正方形のとき画像が潰れるため 300% auto で等比 */
.s3-thumb {
	flex-shrink: 0;
	align-self: center;
	width: min(100%, 168px);
	aspect-ratio: 1716 / 917;
	margin: 0 0 10px;
	border-radius: 10px;
	background-color: #f7f9fc;
	background-image: url('../assets/images/hearing-section-sprite.png');
	background-repeat: no-repeat;
	background-size: 300% auto;
	box-shadow: none;
}

.s3-name {
	display: flex;
	align-items: center;
	font-size: 13px;
	font-weight: 800;
	color: var(--tx2);
	line-height: 1.4;
	margin-left: 8px;
	margin-bottom: 6px;
}

.sec-icon {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: var(--nv);
	font-size: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.s3-sub {
	font-size: 11px;
	color: var(--tx3);
	line-height: 1.6;
	margin-left: 8px;
}

.s3-count-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.s3-count {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	background: var(--go-lt);
	color: var(--go);
}

.s3-extra {
	display: inline-flex;
	font-size: 12px;
	font-weight: 700;
	color: var(--or);
}

@media (max-width: 1024px) {
	.s3-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.radio-group,
.check-group {
	display: grid;
	gap: 10px;
}

.radio-item,
.check-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--bd);
	border-radius: 14px;
	cursor: pointer;
	background: #fff;
	transition: all 0.2s;
}

.radio-item:hover,
.check-item:hover {
	border-color: rgba(19, 92, 254, 0.35);
	background: #fafcff;
}

.radio-item input,
.check-item input {
	margin-top: 2px;
	accent-color: var(--nv);
}

.radio-item-body,
.check-item-body {
	flex: 1;
}

.radio-item-title,
.check-item-title {
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	color: var(--tx2);
}

.radio-item-sub,
.check-item-sub {
	font-size: 11px;
	line-height: 1.7;
	color: var(--tx3);
	margin-top: 4px;
}

.radio-item.selected,
.check-item.selected {
	border-color: var(--nv);
	background: var(--nv-lt);
}

.font-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 2px;
	border-radius: 16px;
}

.font-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 16px;
	border: 1px solid rgba(19, 92, 254, 0.16);
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	transition: all 0.2s;
}

.font-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(14, 71, 196, 0.08);
}

.font-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.font-card.font-selected {
	border-color: var(--nv);
	background: linear-gradient(150deg, #fff 0%, #f2f7ff 100%);
}

.font-label {
	font-size: 12px;
	font-weight: 800;
	color: var(--nv);
}

.font-desc {
	font-size: 11px;
	line-height: 1.6;
	color: var(--tx3);
}

.font-visual {
	position: relative;
	width: 100%;
	aspect-ratio: 512 / 341;
	height: auto;
	border-radius: 12px;
	border: 1px solid rgba(19, 92, 254, 0.14);
	overflow: hidden;
	background-image: url('../assets/images/samples.webp');
	background-repeat: no-repeat;
	background-size: 200% 200%;
}

.font-visual-modern {
	background-position: 0% 0%;
}

.font-visual-elegant {
	background-position: 100% 0%;
}

.font-visual-friendly {
	background-position: 0% 100%;
}

.font-visual-powerful {
	background-position: 100% 100%;
}

.font-sample-note {
	margin-top: 8px;
	font-size: 11px;
	color: var(--tx3);
	line-height: 1.6;
}

.card-head-title-sec {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sec-notice-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	background: var(--nv-lt);
	color: var(--nv);
	margin-bottom: 14px;
}

.photo-note-box {
	margin-top: 10px;
	background: var(--nv-lt);
	border-left: 3px solid var(--nv);
	padding: 10px 14px;
	border-radius: 0 6px 6px 0;
	font-size: 12px;
	color: var(--nv);
	line-height: 1.75;
}

.photo-note-title {
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 4px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.photo-url-box {
	margin-top: 10px;
	padding: 14px;
	background: var(--nv-lt);
	border-radius: var(--r-sm);
	border: 1px solid rgba(19, 92, 254, 0.15);
}

.photo-url-heading {
	font-size: 12px;
	font-weight: 700;
	color: var(--nv);
	margin-bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.confirm-alert {
	background: linear-gradient(120deg, #fff4e7, #fff0ed);
	border: 1px solid rgba(254, 72, 59, 0.25);
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 12px;
	line-height: 1.8;
	color: #7b3b32;
	margin-bottom: 16px;
}

#confirm-body {
	display: grid;
	gap: 10px;
}

.confirm-row {
	display: grid;
	grid-template-columns: minmax(160px, 230px) 1fr;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px dashed rgba(105, 105, 105, 0.25);
}

.confirm-key {
	font-size: 12px;
	font-weight: 700;
	color: var(--tx2);
	line-height: 1.7;
}

.confirm-val {
	font-size: 12px;
	line-height: 1.8;
	color: var(--tx);
	word-break: break-word;
}

.kv-url-area {
	margin-top: 10px;
	padding: 14px;
	background: var(--nv-lt);
	border-radius: var(--r-sm);
	border: 1px solid rgba(19, 92, 254, 0.15);
}

.kv-url-heading {
	font-size: 12px;
	font-weight: 700;
	color: var(--nv);
	margin-bottom: 10px;
}

.field-compact {
	margin-bottom: 10px;
}

.field-no-margin {
	margin-bottom: 0;
}

.field-label-sm {
	font-size: 12px;
}

/* ══ STEP4 調整 ══ */
#step-4 .step-desc {
	margin-bottom: 18px;
}

#step-4 .card {
	border: 1px solid rgba(19, 92, 254, 0.12);
	box-shadow: 0 8px 22px rgba(14, 71, 196, 0.06);
	margin-bottom: 16px;
}

#step-4 .card-head {
	padding-top: 16px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

#step-4 .card-head-title {
	font-size: 18px;
	line-height: 1.45;
	letter-spacing: -0.02em;
}

#step-4 .card-body {
	padding: 20px 24px 22px;
}

#step-4 .field {
	margin-bottom: 20px;
}

#step-4 .field-row {
	margin-bottom: 20px;
}

#step-4 .field-row .field {
	margin-bottom: 0;
}

#step-4 .card-body > .field:last-child,
#step-4 .card-body > .field-row:last-child,
#step-4 .card-body > .radio-group:last-child,
#step-4 .card-body > .check-group:last-child {
	margin-bottom: 0;
}

#step-4 input[type='text'],
#step-4 textarea {
	background: #fcfdff;
	border-color: rgba(19, 92, 254, 0.18);
}

#step-4 input[type='text']:focus,
#step-4 textarea:focus {
	background: #fff;
	box-shadow: 0 0 0 3px rgba(19, 92, 254, 0.12);
}

#step-4 .radio-item,
#step-4 .check-item {
	border-radius: 12px;
	padding: 14px;
}

#step-4 .radio-item.selected,
#step-4 .check-item.selected {
	box-shadow: none;
}

#step-4 .font-card {
	min-height: 178px;
}

#step-4 .font-label {
	font-size: 13px;
}

#step-4 .font-desc {
	line-height: 1.7;
}

#sec-content-blocks {
	display: grid;
	gap: 16px;
	margin-top: 18px;
}

#sec-content-blocks .card {
	margin-bottom: 0;
}

#sec-content-blocks .card-head-num {
	box-shadow: 0 0 0 3px rgba(19, 92, 254, 0.12);
}

#step-4 input[type='text'],
#step-4 textarea,
#sec-content-blocks .card {
	scroll-margin-top: 96px;
}

#step-4 .field:focus-within {
	background: rgba(19, 92, 254, 0.04);
	border-radius: 10px;
	padding: 6px;
	margin-inline: -6px;
}

@media (max-width: 768px) {
	#step-4 .card-head {
		padding: 14px 16px 0;
	}
	#step-4 {
		padding-bottom: calc(136px + env(safe-area-inset-bottom, 0px));
	}
	#step-4 .card-head-title {
		font-size: 16px;
	}
	#step-4 .card-body {
		padding: 16px;
	}
	#step-4 .field,
	#step-4 .field-row {
		margin-bottom: 16px;
	}
	#step-4 .radio-item,
	#step-4 .check-item {
		padding: 12px;
	}
	#sec-content-blocks {
		gap: 14px;
		margin-top: 14px;
	}
	#step-4 > .step-nav {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		margin-top: 0;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		background: linear-gradient(180deg, rgba(212, 236, 251, 0) 0%, rgba(212, 236, 251, 0.95) 22%, rgba(212, 236, 251, 1) 100%);
		backdrop-filter: blur(6px);
	}
	#step-4 > .step-nav .step-nav-inner {
		width: 100%;
	}
}

.info-note {
	margin-top: 8px;
	font-size: 12px;
	color: var(--tx3);
	background: var(--paper);
	padding: 8px 12px;
	border-radius: 6px;
}

.order-flow {
	margin-bottom: 16px;
}

.order-flow-title {
	font-size: 12px;
	font-weight: 700;
	color: var(--tx2);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.order-flow-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}

.order-flow-track {
	display: flex;
	align-items: flex-start;
	gap: 0;
	min-width: 560px;
	padding: 2px 0;
}

.order-flow-step {
	flex: 1 1 20%;
	text-align: center;
	position: relative;
	min-width: 108px;
}

.order-flow-marker {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f5f5f5;
	color: #9aa3b2;
	border: 1px solid #e3e8f2;
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 10px;
	position: relative;
	z-index: 1;
}

.order-flow-marker-primary {
	background: var(--nv);
	border-color: var(--nv);
	color: #fff;
}

.order-flow-marker-current {
	background: var(--nv);
	border-color: var(--nv);
	color: #fff;
	box-shadow: 0 0 0 3px rgba(19, 92, 254, 0.25);
}

.order-flow-label {
	font-size: 11px;
	font-weight: 700;
	color: #98a0af;
	line-height: 1.5;
	margin-bottom: 3px;
}

.order-flow-owner {
	font-size: 10px;
	color: #adb4c2;
}

.order-flow-marker-primary ~ .order-flow-label,
.order-flow-marker-current ~ .order-flow-label,
.order-flow-marker-primary ~ .order-flow-owner,
.order-flow-marker-current ~ .order-flow-owner {
	color: var(--nv);
}

.order-flow-line {
	position: absolute;
	top: 13px;
	left: 50%;
	width: 100%;
	height: 2px;
	background: #f5f5f5;
}

.order-flow-line-primary {
	background: var(--nv);
}

@media (max-width: 768px) {
	.order-flow-track {
		min-width: 520px;
	}
	.order-flow-step {
		min-width: 100px;
	}
}

.payment-note {
	margin-top: 12px;
	background: var(--or-lt);
	border-radius: var(--r-sm);
	padding: 10px 14px;
	font-size: 12px;
	color: var(--or-dk);
	line-height: 1.8;
}

.cancel-agree {
	border-color: var(--bd);
	margin-bottom: 8px;
}

.text-link {
	color: var(--nv-md);
	text-decoration: underline;
	cursor: pointer;
	font-size: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.policy-box {
	border: 1px solid var(--bd);
	border-radius: var(--r-sm);
	padding: 16px;
	font-size: 12px;
	color: var(--tx2);
	line-height: 1.9;
	background: #fafafa;
	margin-top: 4px;
}

.policy-title {
	display: block;
	font-size: 14px;
	margin-bottom: 12px;
	color: var(--nv);
}

.policy-intro,
.policy-paragraph,
.policy-list {
	margin-bottom: 14px;
	color: var(--tx2);
}

.policy-intro {
	margin-bottom: 12px;
}

.policy-section-title {
	font-weight: 700;
	color: var(--nv);
	margin-bottom: 4px;
}

.policy-paragraph-tight {
	margin-bottom: 8px;
}

.policy-list {
	padding-left: 20px;
	line-height: 1.9;
}

.policy-paragraph-last {
	color: var(--tx2);
}

.done-content {
	max-width: 600px;
	margin: 0 auto;
	padding: 48px 20px 80px;
	text-align: center;
}

.done-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 36px;
	margin: 0 auto 24px;
	color: var(--go);
}

.done-title {
	font-family: 'Oswald', sans-serif;
	font-size: clamp(1.8rem, 5vw, 2.6rem);
	font-weight: 700;
	color: var(--nv);
	line-height: 1.2;
	margin-bottom: 12px;
}

.done-lead {
	font-size: 15px;
	color: var(--tx2);
	line-height: 1.8;
	margin-bottom: 32px;
}

.done-message-card {
	background: var(--nv);
	border-radius: var(--r);
	padding: 28px;
	margin-bottom: 28px;
	text-align: center;
	position: relative;
}


.done-message-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 10px;
}

.done-message-text {
	font-size: 15px;
	color: #fff;
	line-height: 1.9;
	font-weight: 500;
}

.done-message-accent {
	color: #fff;
}

.done-contact {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.done-contact-icon {
	font-size: 0.85em;
	color: #fff;
	margin-right: 6px;
}

.done-contact-label {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 2px;
}

.done-contact-tel {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	font-family: 'Oswald', sans-serif;
	letter-spacing: 0.04em;
}

.done-flow-card {
	background: var(--paper);
	border-radius: var(--r);
	padding: 22px 24px;
	text-align: left;
}

.done-flow-title {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--tx3);
	margin-bottom: 16px;
}

.done-flow-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.done-flow-item {
	display: flex;
	gap: 14px;
	padding-bottom: 16px;
	position: relative;
}

.done-flow-item-last {
	padding-bottom: 0;
}

.done-flow-step {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: #fff;
	font-family: 'Oswald', sans-serif;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.done-flow-step-primary {
	background: var(--nv);
}

.done-flow-step-muted {
	background: #888;
}

.done-flow-step-current {
	background: var(--nv);
	box-shadow: 0 0 0 3px rgba(19, 92, 254, 0.2);
}

.done-flow-line {
	position: absolute;
	left: 13px;
	top: 28px;
	width: 2px;
	bottom: 0;
	background: var(--bd);
}

.done-flow-copy {
	padding-top: 2px;
}

.done-flow-heading {
	font-size: 13px;
	font-weight: 700;
	color: var(--tx);
	margin-bottom: 2px;
}

.done-flow-heading-primary {
	color: var(--nv);
}

.done-flow-body {
	font-size: 12px;
	color: var(--tx3);
	line-height: 1.6;
}

.done-note {
	margin-top: 24px;
	font-size: 11px;
	color: var(--tx3);
	line-height: 1.9;
	text-align: left;
}

.is-hidden {
	display: none;
}

.u-br-sp-only {
	display: none;
}

/* ══ レスポンシブ ══ */
@media (max-width: 1024px) {
	.u-br-sp-only {
		display: block;
	}
	.site-header {
		padding: 10px 16px;
		gap: 10px;
	}
	.main {
		padding: 30px 16px 84px;
	}
	.progressbar {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
	.progressbar .item {
		flex: 0 0 112px;
		padding: 10px 6px;
		font-size: 10px;
	}
	.card-head {
		padding: 16px 18px 0;
	}
	.card > .card-head-sub {
		padding: 8px 18px;
	}
	.card-body {
		padding: 18px;
	}
	.step-nav {
		margin-top: 28px;
	}
	.step-nav .btn {
		width: 160px;
	}
	.btn {
		padding: 14px 22px;
		font-size: 15px;
	}
}

@media (max-width: 768px) {
	.site-header {
		padding: 10px 12px;
		gap: 8px;
		flex-wrap: wrap;
	}
	.site-header-title {
		font-size: 14px;
		letter-spacing: 0.02em;
	}
	.main {
		padding: 24px 12px 72px;
	}
	.step-title {
		font-size: clamp(1.35rem, 6.5vw, 1.8rem);
		line-height: 1.3;
	}
	.step-desc {
		font-size: 13px;
		line-height: 1.7;
		margin-bottom: 18px;
	}
	.progressbar {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		overflow: visible;
	}
	.progressbar .item {
		flex: none;
		min-width: 0;
		padding: 10px 6px;
		font-size: 11px;
		line-height: 1.35;
	}
	.progressbar .item:not(:last-child)::before,
	.progressbar .item:not(:last-child)::after {
		display: none;
	}
	.field-row,
	.s3-grid {
		grid-template-columns: 1fr;
	}
	.card {
		border-radius: 14px;
	}
	.card-head {
		padding: 14px 14px 0;
		gap: 10px;
	}
	.card-head-title {
		font-size: 17px;
	}
	.card > .card-head-sub {
		padding: 8px 14px;
	}
	.card-body {
		padding: 14px;
	}
	.field,
	.field-row {
		margin-bottom: 16px;
	}
	input[type='text'],
	input[type='email'],
	input[type='tel'],
	textarea,
	select {
		font-size: 16px;
		padding: 12px;
	}
	input::placeholder,
	textarea::placeholder {
		font-size: 13px;
		line-height: 1.65;
	}
	.btn {
		font-size: 15px;
		padding: 12px 16px;
	}
	.step-nav {
		margin-top: 22px;
	}
	.section-fixed-list,
	.font-grid {
		grid-template-columns: 1fr;
	}
	.confirm-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.step-nav-inner {
		flex-direction: column-reverse;
		width: 100%;
	}
	.step-nav .btn {
		width: 100%;
		max-width: none;
	}
	.done-contact {
		flex-direction: column;
		gap: 4px;
	}
}

@media (max-width: 480px) {
	.main {
		padding: 20px 10px 64px;
	}
	.site-header-title {
		font-size: 13px;
	}
	.progressbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.progressbar .item {
		font-size: 10px;
		padding: 8px 4px;
		line-height: 1.3;
	}
	.step-title {
		font-size: clamp(1.2rem, 7vw, 1.5rem);
	}
	.step-desc {
		font-size: 12px;
		line-height: 1.7;
		margin-bottom: 16px;
	}
	.card-head-title {
		font-size: 15px;
	}
	.card-body {
		padding: 12px;
	}
	.field-label {
		font-size: 12px;
		gap: 4px;
		flex-wrap: wrap;
	}
	.btn {
		font-size: 14px;
	}
}

@media (max-width: 430px) {
	.progressbar .item {
		font-size: 9px;
		padding: 7px 3px;
		line-height: 1.25;
	}
	.step-nav-inner {
		gap: 10px;
	}
	.card-head-num {
		width: 20px;
		height: 20px;
		font-size: 10px;
	}
	.card-head-num::after {
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 390px) {
	.main {
		padding: 18px 8px 60px;
	}
	.step-title {
		font-size: clamp(1.1rem, 6.8vw, 1.35rem);
	}
	.step-desc {
		font-size: 11px;
	}
	.btn {
		font-size: 13px;
		padding: 11px 14px;
	}
	.field-label {
		font-size: 11px;
	}
	.req-badge,
	.opt-badge {
		font-size: 9px;
		padding: 2px 6px;
	}
}
