@charset "UTF-8";

/* =========================================================
   診察室での伝え方診断
   ========================================================= */
.mvmt {
	--mv-bg: #f4f7f8;
	--mv-surface: #ffffff;
	--mv-ink: #1d2b30;
	--mv-soft: #5f7379;
	--mv-line: #dfe7e9;
	--mv-key: #46757e;
	--mv-key-dark: #355961;
	--mv-key-soft: #e6eef0;
	--mv-radius: 16px;
	--mv-shadow: 0 1px 2px rgba(29, 43, 48, .06), 0 18px 42px -26px rgba(29, 43, 48, .38);

	max-width: 900px;
	margin: 2.5em auto;
	color: var(--mv-ink);
	font-size: 16px;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
}

.mvmt,
.mvmt *,
.mvmt *::before,
.mvmt *::after {
	box-sizing: border-box;
}

.mvmt [hidden] {
	display: none !important;
}

.mvmt-screen {
	background: var(--mv-surface);
	border: 1px solid var(--mv-line);
	border-radius: var(--mv-radius);
	box-shadow: var(--mv-shadow);
	padding: clamp(22px, 4vw, 38px);
}

.mvmt-screen + .mvmt-screen {
	margin-top: 1.2em;
}

.mvmt-eyebrow {
	margin: 0 0 .5em;
	color: var(--mv-key);
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .16em;
}

.mvmt-title {
	margin: 0 0 .4em;
	font-size: clamp(1.7rem, 4vw, 2.3rem);
	font-weight: 850;
	line-height: 1.4;
}

.mvmt-lead {
	margin: 0 0 1.4em;
	color: var(--mv-soft);
}

.mvmt-disclaimer {
	margin: 1.7em 0 0;
	padding-top: 1.1em;
	border-top: 1px solid var(--mv-line);
	color: var(--mv-soft);
	font-size: .76rem;
	line-height: 1.8;
}

/* ---------- Buttons ---------- */
.mvmt-btn {
	appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	padding: .86em 1.4em;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: .95rem;
	font-weight: 750;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mvmt-btn:focus-visible,
.mvmt-option:focus-visible,
.mvmt-btn-back:focus-visible,
.mvmt-btn-reset:focus-visible,
.mvmt-detail-link:focus-visible {
	outline: 2px solid var(--mv-key);
	outline-offset: 3px;
}

.mvmt-btn-primary {
	width: 100%;
	background: var(--mv-key);
	color: #fff;
	box-shadow: 0 9px 22px -13px rgba(29, 43, 48, .8);
}

.mvmt-btn-primary:hover {
	background: var(--mv-key-dark);
	color: #fff;
	transform: translateY(-1px);
}

.mvmt-btn-ghost {
	background: #fff;
	border-color: var(--mv-line);
	color: var(--mv-ink);
}

.mvmt-btn-ghost:hover {
	border-color: var(--mv-key);
	color: var(--mv-key-dark);
}

/* =========================================================
   Start screen v2
   ========================================================= */
.mvmt-intro-v2 {
	padding: clamp(26px, 5vw, 42px);
	background: linear-gradient(180deg, #fff 0%, #fff 72%, #fbfcfc 100%);
}

.mvmt-intro-hero {
	margin-bottom: 1.6em;
	text-align: center;
}

.mvmt-intro-brand {
	margin: 0 0 .55em;
	color: var(--mv-key);
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .17em;
}

.mvmt-intro-title {
	margin: 0;
	color: var(--mv-key-dark);
	font-size: clamp(1.65rem, 5vw, 2.3rem);
	font-weight: 850;
	line-height: 1.4;
	letter-spacing: .03em;
}

.mvmt-intro-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .45em;
	margin: .65em 0 0;
}

.mvmt-intro-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 2em;
	padding: .2em .8em;
	border-radius: 999px;
	background: var(--mv-key-soft);
	color: var(--mv-key-dark);
	font-size: .7rem;
	font-weight: 700;
}

.mvmt-intro-subtitle {
	max-width: 580px;
	margin: .8em auto 0;
	color: var(--mv-soft);
	font-size: .82rem;
	line-height: 1.75;
}

.mvmt-intro-visual {
	margin-bottom: 1.2em;
	padding: clamp(18px, 4vw, 30px);
	border-radius: 16px;
	background:
		radial-gradient(circle at 50% 20%, rgba(70, 117, 126, .13), transparent 52%),
		linear-gradient(180deg, #eef4f5, #fafcfc);
}

.mvmt-intro-memo {
	max-width: 450px;
	margin: 0 auto;
	padding: 1.2em;
	border: 1px solid rgba(70, 117, 126, .18);
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 16px 34px -28px rgba(29, 43, 48, .5);
}

.mvmt-intro-memo-header {
	display: flex;
	align-items: center;
	gap: .75em;
	margin-bottom: .9em;
}

.mvmt-intro-memo-mark {
	display: grid;
	grid-template-columns: repeat(3, 6px);
	align-items: end;
	gap: 3px;
}

.mvmt-intro-memo-mark span {
	display: block;
	width: 6px;
	height: 22px;
	border-radius: 99px;
	background: var(--mv-key);
}

.mvmt-intro-memo-mark span:nth-child(2) {
	height: 16px;
	opacity: .65;
}

.mvmt-intro-memo-mark span:nth-child(3) {
	height: 11px;
	opacity: .35;
}

.mvmt-intro-memo-kicker {
	margin: 0;
	color: var(--mv-soft);
	font-size: .55rem;
	font-weight: 700;
	letter-spacing: .11em;
}

.mvmt-intro-memo-title {
	margin: .08em 0 0;
	font-size: .95rem;
	font-weight: 850;
}

.mvmt-intro-memo-type {
	display: flex;
	align-items: center;
	gap: .7em;
	margin-bottom: .85em;
	padding: .65em .8em;
	border-radius: 8px;
	background: var(--mv-key-soft);
}

.mvmt-intro-memo-type span {
	flex: none;
	color: var(--mv-key);
	font-size: .62rem;
	font-weight: 700;
}

.mvmt-intro-memo-type strong {
	font-size: .72rem;
	line-height: 1.5;
}

.mvmt-intro-memo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .55em;
}

.mvmt-intro-memo-grid > div {
	min-height: 68px;
	padding: .55em .65em;
	border: 1px solid var(--mv-line);
	border-radius: 7px;
}

.mvmt-intro-memo-grid span {
	display: block;
	margin-bottom: .45em;
	color: var(--mv-soft);
	font-size: .59rem;
	font-weight: 700;
}

.mvmt-intro-memo-grid i {
	display: block;
	height: 1px;
	margin-top: .62em;
	background: var(--mv-line);
}

.mvmt-intro-memo-bottom {
	margin: .85em 0 0;
	color: var(--mv-soft);
	font-size: .6rem;
	text-align: center;
}

.mvmt-intro-visual-caption {
	margin: 1em 0 0;
	color: var(--mv-soft);
	font-size: .68rem;
	letter-spacing: .08em;
	text-align: center;
}

.mvmt-intro-panel {
	margin-top: .85em;
	padding: 1.15em 1.2em;
	border: 1px solid var(--mv-line);
	border-radius: 13px;
	background: #fff;
}

.mvmt-intro-section-title {
	position: relative;
	margin: 0 0 .8em;
	padding-left: .8em;
	font-size: .95rem;
	font-weight: 850;
	line-height: 1.5;
}

.mvmt-intro-section-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 3px;
	height: 1.2em;
	border-radius: 99px;
	background: var(--mv-key);
}

.mvmt-intro-panel > p {
	margin: 0 0 .55em;
	color: var(--mv-ink);
	font-size: .82rem;
	line-height: 1.85;
}

.mvmt-intro-panel > p:last-child {
	margin-bottom: 0;
}

.mvmt-intro-panel strong {
	font-weight: 800;
}

.mvmt-intro-axis-list {
	display: grid;
}

.mvmt-intro-axis {
	display: grid;
	grid-template-columns: 3.5em minmax(0, 1fr);
	align-items: start;
	gap: .75em;
	padding: .75em 0;
}

.mvmt-intro-axis + .mvmt-intro-axis {
	border-top: 1px solid var(--mv-line);
}

.mvmt-intro-axis-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.1em;
	padding: .15em .45em;
	border-radius: 999px;
	background: var(--mv-key-soft);
	color: var(--mv-key-dark);
	font-size: .66rem;
	font-weight: 800;
}

.mvmt-intro-axis strong {
	display: block;
	font-size: .82rem;
	line-height: 1.5;
}

.mvmt-intro-axis p {
	margin: .15em 0 0;
	color: var(--mv-soft);
	font-size: .7rem;
	line-height: 1.65;
}

.mvmt-intro-cta {
	margin-top: .9em;
	padding: 1.35em 1.2em;
	border: 1px solid var(--mv-line);
	border-radius: 13px;
	background: #fff;
	text-align: center;
}

.mvmt-intro-cta-label {
	margin: 0 0 .75em;
	font-size: .88rem;
	font-weight: 800;
}

.mvmt-intro-start {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .35em;
	width: min(100%, 390px);
	min-height: 54px;
	margin: 0 auto;
}

.mvmt-intro-start span {
	font-size: .78em;
	font-weight: 600;
	opacity: .85;
}

.mvmt-intro-cta-note {
	margin: .75em 0 0;
	color: var(--mv-soft);
	font-size: .68rem;
}

/* 再訪ユーザー向け：保存済みメモから再開 */
.mvmt-intro-returning {
	margin-top: .9em;
	padding: 1.2em 1.25em;
	background: linear-gradient(180deg, var(--mv-key-soft), #fff);
	border: 1px solid rgba(70, 117, 126, .34);
	border-left: 4px solid var(--mv-key);
	border-radius: 14px;
}

.mvmt-intro-returning-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1em;
}

.mvmt-intro-returning-kicker {
	margin: 0 0 .15em;
	color: var(--mv-key);
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .14em;
}

.mvmt-intro-returning-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 850;
	line-height: 1.55;
}

.mvmt-intro-returning-badge {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 2em;
	padding: .2em .7em;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 999px;
	color: var(--mv-key-dark);
	font-size: .64rem;
	font-weight: 700;
}

.mvmt-intro-returning-meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .55em;
	margin-top: .9em;
}

.mvmt-intro-returning-meta > div {
	min-width: 0;
	padding: .65em .7em;
	background: rgba(255,255,255,.8);
	border: 1px solid var(--mv-line);
	border-radius: 9px;
}

.mvmt-intro-returning-meta span,
.mvmt-intro-returning-meta strong {
	display: block;
}

.mvmt-intro-returning-meta span {
	margin-bottom: .18em;
	color: var(--mv-soft);
	font-size: .62rem;
}

.mvmt-intro-returning-meta strong {
	overflow: hidden;
	color: var(--mv-ink);
	font-size: .74rem;
	font-weight: 750;
	line-height: 1.5;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mvmt-intro-resume {
	display: block;
	width: min(100%, 430px);
	margin: 1em auto 0;
}

.mvmt-intro-returning-note {
	max-width: 620px;
	margin: .7em auto 0;
	color: var(--mv-soft);
	font-size: .68rem;
	line-height: 1.7;
	text-align: center;
}

.mvmt-intro-choice-divider {
	display: flex;
	align-items: center;
	gap: .7em;
	margin: .95em 0;
	color: var(--mv-soft);
	font-size: .68rem;
}

.mvmt-intro-choice-divider::before,
.mvmt-intro-choice-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--mv-line);
}

.mvmt-intro-memo-only {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: .85em;
	padding: 1em 1.05em;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 13px;
}

.mvmt-intro-memo-only-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: var(--mv-key-soft);
	border-radius: 50%;
	color: var(--mv-key);
	font-size: 1.1rem;
}

.mvmt-intro-memo-only-copy h3 {
	margin: 0;
	font-size: .88rem;
	font-weight: 800;
	line-height: 1.55;
}

.mvmt-intro-memo-only-copy p {
	margin: .18em 0 0;
	color: var(--mv-soft);
	font-size: .68rem;
	line-height: 1.65;
}

.mvmt-intro-memo-only-btn {
	min-width: 190px;
	font-size: .78rem;
}

.mvmt-intro-disclaimer {
	margin: 1.1em 0 0;
	padding-top: 1em;
	border-top: 1px solid var(--mv-line);
	color: var(--mv-soft);
	font-size: .66rem;
	line-height: 1.75;
}

@media (max-width: 600px) {
	.mvmt-intro-v2 {
		padding: 22px 18px;
	}

	.mvmt-intro-title {
		font-size: 1.55rem;
	}

	.mvmt-intro-visual {
		padding: 14px;
	}

	.mvmt-intro-memo {
		padding: 1em;
	}

	.mvmt-intro-memo-grid {
		grid-template-columns: 1fr;
	}

	.mvmt-intro-memo-grid > div {
		min-height: 56px;
	}

	.mvmt-intro-panel {
		padding: 1em;
	}

	.mvmt-intro-returning-head {
		align-items: flex-start;
	}

	.mvmt-intro-returning-meta {
		grid-template-columns: 1fr;
	}

	.mvmt-intro-returning-meta strong {
		white-space: normal;
	}

	.mvmt-intro-memo-only {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.mvmt-intro-memo-only-btn {
		grid-column: 1 / -1;
		width: 100%;
	}
}

/* =========================================================
   Quiz
   ========================================================= */
.mvmt-screen-quiz {
	padding: 30px 36px 28px;
}

.mvmt-progress-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1em;
}

.mvmt-progress-meta p {
	margin: 0;
	color: var(--mv-soft);
	font-size: .82rem;
	font-variant-numeric: tabular-nums;
}

.mvmt-progress-count {
	font-weight: 700;
}

.mvmt-progress-bar {
	height: 5px;
	margin: .45em 0 1.35em;
	overflow: hidden;
	background: var(--mv-bg);
	border-radius: 999px;
}

.mvmt-progress-fill {
	display: block;
	width: 0;
	height: 100%;
	background: var(--mv-key);
	transition: width .3s ease;
}

.mvmt-question {
	margin: 1.35em 0 1.55em;
}

.mvmt-question-text {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 750;
	letter-spacing: .01em;
	line-height: 1.65;
	text-wrap: pretty;
	overflow-wrap: normal;
	word-break: normal;
	line-break: strict;
}

.mvmt-options {
	display: grid;
	gap: .65em;
}

.mvmt-option {
	display: flex;
	align-items: center;
	gap: .95em;
	width: 100%;
	padding: .95em 1em;
	border: 1px solid var(--mv-line);
	border-radius: 14px;
	color: var(--mv-ink);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.mvmt-option:nth-child(1) { background: #fbfcfc; }
.mvmt-option:nth-child(2) { background: #f5f8f8; }
.mvmt-option:nth-child(3) { background: #edf3f4; }
.mvmt-option:nth-child(4) { background: #e5eef0; }

.mvmt-option:hover {
	border-color: var(--mv-key);
	background: var(--mv-key-soft);
	transform: translateY(-1px);
}

.mvmt-option.is-selected {
	background: var(--mv-key);
	border-color: var(--mv-key);
	color: #fff;
	box-shadow: 0 7px 18px -12px rgba(29, 43, 48, .7);
	transform: translateY(-1px);
}

.mvmt-option-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 2.15em;
	height: 2.15em;
	border-radius: 50%;
	color: var(--mv-key);
	font-size: .85rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	transition: background-color .18s ease, color .18s ease;
}

.mvmt-option:nth-child(1) .mvmt-option-num { background: rgba(70, 117, 126, .06); }
.mvmt-option:nth-child(2) .mvmt-option-num { background: rgba(70, 117, 126, .09); }
.mvmt-option:nth-child(3) .mvmt-option-num { background: rgba(70, 117, 126, .13); }
.mvmt-option:nth-child(4) .mvmt-option-num { background: rgba(70, 117, 126, .18); }

.mvmt-option.is-selected .mvmt-option-num {
	background: #fff;
	color: var(--mv-key);
}

.mvmt-option.is-selected .mvmt-option-label {
	color: #fff;
}

.mvmt-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1em;
	margin-top: 1.5em;
	padding-top: 1.1em;
	border-top: 1px solid var(--mv-line);
}

.mvmt-btn-back {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45em;
	min-width: 190px;
	padding: .72em 1.3em;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 999px;
	color: var(--mv-ink);
	font: inherit;
	font-size: .88rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}

.mvmt-btn-back:hover:not(:disabled) {
	background: var(--mv-key-soft);
	border-color: var(--mv-key);
	color: var(--mv-key-dark);
}

.mvmt-btn-back:disabled {
	background: var(--mv-bg);
	color: var(--mv-soft);
	opacity: .45;
	cursor: default;
}

.mvmt-btn-back-arrow {
	font-size: 1.05em;
}

.mvmt-btn-reset {
	appearance: none;
	padding: .5em .25em;
	background: transparent;
	border: 0;
	color: var(--mv-soft);
	font: inherit;
	font-size: .76rem;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
	cursor: pointer;
	transition: color .18s ease, text-decoration-color .18s ease;
}

.mvmt-btn-reset:hover {
	color: var(--mv-key-dark);
	text-decoration-color: currentColor;
}

/* =========================================================
   Result
   ========================================================= */
.mvmt-result-head {
	margin-bottom: 1.35em;
	padding-bottom: 1.25em;
	border-bottom: 1px solid var(--mv-line);
}

.mvmt-result-badge {
	display: inline-block;
	margin: 0 0 .65em;
	padding: .26em .95em;
	border-radius: 999px;
	background: var(--mv-key);
	color: #fff;
	font-size: .72rem;
	font-weight: 750;
}

.mvmt-result-name,
.mvmt-detail-name {
	margin: .05em 0 0;
	color: var(--mv-key);
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 850;
	letter-spacing: .02em;
	line-height: 1.3;
}

.mvmt-result-catch {
	margin: .65em 0 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.7;
}

.mvmt-result-lead {
	max-width: 760px;
	margin: .7em 0 0;
	color: var(--mv-soft);
	font-size: .94rem;
	line-height: 1.85;
}

.mvmt-detail-link {
	display: inline-flex;
	align-items: center;
	gap: .35em;
	margin-top: 1em;
	padding: .62em .95em;
	background: var(--mv-bg);
	border: 1px solid var(--mv-line);
	border-left: 3px solid var(--mv-key);
	border-radius: 10px;
	color: var(--mv-key-dark);
	font-size: .85rem;
	font-weight: 700;
	text-decoration: none;
}

.mvmt-detail-link:hover {
	background: var(--mv-key-soft);
	color: var(--mv-key-dark);
}

.mvmt-block {
	margin-top: 1.8em;
}

.mvmt-factor-block {
	margin-top: 1.35em;
}

.mvmt-block-title {
	margin: 0 0 .8em;
	padding-bottom: .5em;
	border-bottom: 1px solid var(--mv-line);
	color: var(--mv-soft);
	font-size: .82rem;
	font-weight: 750;
	letter-spacing: .1em;
}

.mvmt-factors {
	display: grid;
	gap: .72em;
}

.mvmt-factor {
	display: grid;
	grid-template-columns: 12em 1fr 5.4em;
	align-items: center;
	gap: .8em;
}

.mvmt-factor-label {
	font-size: .9rem;
	font-weight: 700;
}

.mvmt-factor-track {
	height: 10px;
	overflow: hidden;
	background: var(--mv-bg);
	border-radius: 999px;
}

.mvmt-factor-fill {
	height: 100%;
	background: var(--mv-key);
	border-radius: 999px;
	transition: width .45s ease;
}

.mvmt-factor-value {
	color: var(--mv-soft);
	font-size: .77rem;
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* Memo CTA: result直後の主導線 */
.mvmt-memo-gate {
	margin-top: 1.8em;
	padding: 1.55em 1.7em;
	background: var(--mv-bg);
	border: 1px solid var(--mv-line);
	border-left: 4px solid var(--mv-key);
	border-radius: 14px;
	text-align: center;
}

.mvmt-memo-gate-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin: 0 auto .8em;
	border-radius: 50%;
	background: var(--mv-key-soft);
	color: var(--mv-key);
	font-size: 1.35rem;
}

.mvmt-memo-gate-title {
	max-width: 660px;
	margin: 0 auto .4em;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.6;
}

.mvmt-memo-gate-text {
	max-width: 620px;
	margin: 0 auto;
	color: var(--mv-soft);
	font-size: .88rem;
	line-height: 1.75;
}

.mvmt-memo-open {
	display: block;
	width: min(100%, 360px);
	margin: 1.15em auto 0;
}

/* Advice cards */
.mvmt-advice-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .9em;
	margin-top: 1.8em;
}

.mvmt-card {
	padding: 1.05em 1.15em;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 14px;
}

.mvmt-card--opening,
.mvmt-card--order {
	grid-column: 1 / -1;
}

.mvmt-card--opening {
	background: var(--mv-key-soft);
	border-color: rgba(70, 117, 126, .35);
	border-left: 4px solid var(--mv-key);
}

.mvmt-card--opening .mvmt-block-title {
	color: var(--mv-key-dark);
}

.mvmt-opening {
	margin: 0;
	font-weight: 650;
	line-height: 1.85;
}

.mvmt-list {
	margin: 0;
	padding-left: 1.25em;
}

.mvmt-list li + li {
	margin-top: .25em;
}

.mvmt-order {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: mvmt-order;
}

.mvmt-order li {
	position: relative;
	min-height: 2.3em;
	padding: .38em 0 .38em 2.9em;
	counter-increment: mvmt-order;
}

.mvmt-order li::before {
	content: counter(mvmt-order);
	position: absolute;
	left: 0;
	top: .2em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.05em;
	height: 2.05em;
	border-radius: 50%;
	background: var(--mv-key-soft);
	color: var(--mv-key-dark);
	font-size: .75rem;
	font-weight: 800;
}

.mvmt-order-note {
	margin: .75em 0 0;
	padding-top: .65em;
	border-top: 1px dashed var(--mv-line);
	color: var(--mv-key-dark);
	font-size: .8rem;
	font-weight: 700;
	text-align: center;
}

/* =========================================================
   Memo builder
   ========================================================= */
.mvmt-memo-builder {
	margin-top: 2em;
	scroll-margin-top: 30px;
}

.mvmt-memo-block {
	padding-top: .15em;
}

.mvmt-memo-only-head {
	margin-bottom: 1.1em;
	padding: 1em 1.05em;
	background: var(--mv-key-soft);
	border: 1px solid rgba(70, 117, 126, .28);
	border-left: 4px solid var(--mv-key);
	border-radius: 12px;
}

.mvmt-memo-only-kicker {
	margin: 0 0 .15em;
	color: var(--mv-key);
	font-size: .62rem;
	font-weight: 800;
	letter-spacing: .13em;
}

.mvmt-memo-only-head h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 850;
	line-height: 1.55;
}

.mvmt-memo-only-head p:last-child {
	margin: .35em 0 0;
	color: var(--mv-soft);
	font-size: .76rem;
	line-height: 1.7;
}

.mvmt-memo-print-note {
	margin: -.2em 0 1.15em;
	padding: .75em 1em;
	background: var(--mv-key-soft);
	border-radius: 10px;
	color: var(--mv-key-dark);
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.7;
}

.mvmt-memo-form {
	display: grid;
	gap: .85em;
}

.mvmt-memo-row-half {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .85em;
}

.mvmt-field label {
	display: block;
	margin-bottom: .35em;
	color: var(--mv-soft);
	font-size: .84rem;
	font-weight: 700;
}

.mvmt-field input,
.mvmt-field textarea {
	display: block;
	width: 100%;
	padding: .85em .95em;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 12px;
	color: var(--mv-ink);
	font: inherit;
	line-height: 1.65;
}

.mvmt-field input:focus,
.mvmt-field textarea:focus {
	outline: 2px solid var(--mv-key);
	outline-offset: 1px;
	border-color: var(--mv-key);
}

.mvmt-field--free {
	margin-top: .4em;
	padding-top: 1.2em;
	border-top: 1px solid var(--mv-line);
}

.mvmt-field--free textarea {
	min-height: 180px;
	padding-top: 8px;
	background: linear-gradient(to bottom, transparent 31px, var(--mv-line) 32px);
	background-size: 100% 32px;
	line-height: 32px;
	resize: vertical;
}

.mvmt-memo-preview-note {
	max-width: 430px;
	margin: 1.1em auto .8em;
	color: var(--mv-soft);
	font-size: .78rem;
	line-height: 1.7;
	text-align: center;
}

.mvmt-memo-preview {
	margin-top: .8em;
	padding: clamp(14px, 3vw, 24px);
	background: var(--mv-bg);
	border: 1px solid var(--mv-line);
	border-radius: 16px;
	text-align: center;
}

.mvmt-canvas {
	display: block;
	width: 100%;
	max-width: 430px;
	height: auto;
	aspect-ratio: 9 / 16;
	margin: 0 auto;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 12px 32px -22px rgba(29, 43, 48, .45);
}

.mvmt-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .65em;
	margin-top: 1em;
}

.mvmt-actions .mvmt-btn {
	flex: 1 1 190px;
	width: auto;
}

.mvmt-toast {
	margin: .8em 0 0;
	color: var(--mv-key);
	font-size: .85rem;
	font-weight: 700;
}

/* =========================================================
   Type detail pages
   ========================================================= */
.mvmt-detail-nav {
	margin-bottom: 1em;
}

.mvmt-detail-nav a {
	color: var(--mv-soft);
	text-decoration: none;
}

.mvmt-detail-nav a:hover {
	color: var(--mv-key-dark);
}

.mvmt-detail .mvmt-screen + .mvmt-screen {
	margin-top: 1.2em;
}

.mvmt-detail-hero {
	border-top: 4px solid var(--mv-key);
}

.mvmt-detail-title {
	margin: 0 0 1em;
	padding-left: .7em;
	border-left: 3px solid var(--mv-key);
	font-size: 1.05rem;
	line-height: 1.5;
}

.mvmt-detail-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mvmt-detail-list li {
	position: relative;
	padding: .45em 0 .45em 1.5em;
}

.mvmt-detail-list li::before {
	content: "";
	position: absolute;
	left: .25em;
	top: 1.1em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--mv-key);
}

.mvmt-detail-list.is-good li::before {
	content: "✓";
	top: .42em;
	left: 0;
	width: auto;
	height: auto;
	background: none;
	color: var(--mv-key);
	font-weight: 800;
}

.mvmt-detail-list.is-care li::before {
	content: "!";
	top: .42em;
	left: .15em;
	width: auto;
	height: auto;
	background: none;
	color: #8a6a3a;
	font-weight: 800;
}

.mvmt-detail-list.is-tip li::before {
	content: "→";
	top: .42em;
	left: 0;
	width: auto;
	height: auto;
	background: none;
	color: var(--mv-key);
	font-weight: 800;
}

.mvmt-detail-cta {
	background: linear-gradient(180deg, #fff, var(--mv-bg));
	text-align: center;
}

.mvmt-detail-cta .mvmt-btn-primary {
	max-width: 360px;
}

.mvmt-type-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .65em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mvmt-type-cell a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1em;
	border: 1px solid var(--mv-line);
	border-radius: 12px;
	color: var(--mv-ink);
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.mvmt-type-cell a:hover {
	background: var(--mv-bg);
	border-color: var(--mv-key);
	transform: translateY(-1px);
}

.mvmt-type-cell.is-current a {
	background: var(--mv-key-soft);
	border-color: var(--mv-key);
}

.mvmt-type-cell-name {
	font-weight: 700;
}

.mvmt-type-cell-more {
	margin-top: .25em;
	color: var(--mv-soft);
	font-size: .75rem;
}

/* =========================================================
   Boochi Related Services integration
   ========================================================= */
.mvmt .mvmt-brs-footer {
	margin-top: 1.6em;
	border: 1px solid var(--mv-line);
	border-radius: 16px;
	box-shadow: var(--mv-shadow);
}

.mvmt .mvmt-brs-footer .brs-related {
	border-radius: 16px 16px 0 0;
}

.mvmt-detail .mvmt-brs-footer {
	margin-top: 1.5em;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 799px) {
	.mvmt {
		max-width: 760px;
		font-size: 15.5px;
	}

	.mvmt-screen-quiz {
		padding: 22px 18px;
	}

	.mvmt-question {
		margin: 1.15em 0 1.35em;
	}

	.mvmt-question-text {
		font-size: 1.05rem;
		line-height: 1.75;
	}

	.mvmt-controls {
		align-items: stretch;
		flex-direction: column;
		gap: .7em;
	}

	.mvmt-btn-back {
		width: 100%;
	}

	.mvmt-btn-reset {
		align-self: center;
	}

	.mvmt-factor {
		grid-template-columns: 1fr 4.8em;
		gap: .35em .7em;
	}

	.mvmt-factor-label {
		grid-column: 1 / -1;
	}

	.mvmt-advice-grid {
		grid-template-columns: 1fr;
	}

	.mvmt-card--opening,
	.mvmt-card--order {
		grid-column: auto;
	}

	.mvmt-memo-row-half {
		grid-template-columns: 1fr;
	}

	.mvmt-type-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.mvmt-screen {
		padding: 18px;
	}

	.mvmt-screen-intro {
		padding: 20px 18px;
	}

	.mvmt-intro-break {
		display: none;
	}

	.mvmt-memo-sample {
		padding: .7em;
	}

	.mvmt-memo-sample-paper {
		padding: 1em;
	}

	.mvmt-memo-sample-lines {
		grid-template-columns: 1fr;
	}

	.mvmt-memo-sample-block:last-child {
		grid-column: auto;
	}

	.mvmt-intro-step {
		grid-template-columns: 2.2em 1fr;
		gap: .7em;
	}

	.mvmt-intro-meta {
		gap: .35em;
	}

	.mvmt-memo-gate {
		padding: 1.3em 1em;
	}

	.mvmt .mvmt-brs-footer {
		margin-top: 1.2em;
		border-radius: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mvmt *,
	.mvmt *::before,
	.mvmt *::after {
		animation: none !important;
		transition: none !important;
	}
}


/* =========================================================
   診察メモ内の「おすすめの伝え方」
   ========================================================= */
.mvmt-memo-recommendation {
	margin: 1em 0 1.2em;
	padding: 1em 1.1em;
	border: 1px solid rgba(70, 117, 126, .28);
	border-left: 4px solid var(--mv-key);
	border-radius: 12px;
	background: var(--mv-key-soft);
}

.mvmt-memo-recommendation-label {
	display: block;
	margin-bottom: .35em;
	color: var(--mv-key-dark);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
}

.mvmt-memo-recommendation p {
	margin: 0;
	color: var(--mv-ink);
	font-size: .9rem;
	font-weight: 650;
	line-height: 1.8;
}

/* =========================================================
   他にどんなタイプがあるか見てみる
   ========================================================= */
.mvmt-type-explore {
	margin-top: 2.2em;
	padding-top: 1.8em;
	border-top: 1px solid var(--mv-line);
}

.mvmt-type-explore-head {
	margin-bottom: 1.1em;
}

.mvmt-type-explore-kicker {
	margin: 0 0 .25em;
	color: var(--mv-key);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .14em;
}

.mvmt-type-explore-title {
	margin: 0;
	color: var(--mv-ink);
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.5;
}

.mvmt-type-explore-lead,
.mvmt-detail-type-lead {
	margin: .45em 0 0;
	color: var(--mv-soft);
	font-size: .82rem;
	line-height: 1.75;
}

.mvmt-detail-type-lead {
	margin: -.35em 0 1.2em;
}

.mvmt-type-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .65em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mvmt-type-link-item {
	min-width: 0;
}

.mvmt-type-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: .95em 1em;
	border: 1px solid var(--mv-line);
	border-radius: 12px;
	background: #fff;
	color: var(--mv-ink);
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.mvmt-type-link:hover,
.mvmt-type-link:focus-visible {
	border-color: var(--mv-key);
	background: var(--mv-bg);
	color: var(--mv-ink);
	transform: translateY(-1px);
}

.mvmt-type-link-item.is-current .mvmt-type-link {
	border-color: var(--mv-key);
	background: var(--mv-key-soft);
	box-shadow: inset 3px 0 0 var(--mv-key);
}

.mvmt-type-link-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .6em;
}

.mvmt-type-link-name {
	min-width: 0;
	font-size: .9rem;
	font-weight: 800;
	line-height: 1.5;
}

.mvmt-type-link-current,
.mvmt-type-cell-current {
	flex: none;
	display: inline-flex;
	align-items: center;
	padding: .16em .6em;
	border-radius: 999px;
	background: var(--mv-key);
	color: #fff;
	font-size: .62rem;
	font-weight: 800;
	line-height: 1.5;
}

.mvmt-type-link-catch {
	display: block;
	margin-top: .3em;
	color: var(--mv-soft);
	font-size: .72rem;
	line-height: 1.65;
}

.mvmt-type-link-more {
	display: block;
	margin-top: auto;
	padding-top: .65em;
	color: var(--mv-key);
	font-size: .7rem;
	font-weight: 700;
}

.mvmt-detail-types .mvmt-type-cell a {
	position: relative;
}

.mvmt-type-cell-current {
	align-self: flex-start;
	margin-top: .35em;
}

@media (max-width: 600px) {
	.mvmt-type-links {
		grid-template-columns: 1fr;
	}
}


@media (max-width: 560px) {
	.mvmt-memo-preview {
		padding: 10px;
	}

	.mvmt-canvas {
		max-width: 100%;
	}
}


/* =========================================================
   Memo persistent storage
   ========================================================= */
.mvmt-memo-storage {
	margin-top: 1.25em;
	padding: 1.15em 1.2em;
	background: #f7fafa;
	border: 1px solid var(--mv-line);
	border-left: 4px solid var(--mv-key);
	border-radius: 14px;
}

.mvmt-memo-storage-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1em;
}

.mvmt-memo-storage-kicker {
	margin: 0 0 .15em;
	color: var(--mv-key);
	font-size: .65rem;
	font-weight: 800;
	letter-spacing: .13em;
}

.mvmt-memo-storage-title {
	margin: 0;
	color: var(--mv-ink);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.5;
}

.mvmt-memo-storage-local {
	flex: none;
	display: inline-flex;
	align-items: center;
	min-height: 2em;
	padding: .2em .7em;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 999px;
	color: var(--mv-key-dark);
	font-size: .66rem;
	font-weight: 700;
}

.mvmt-memo-storage-lead {
	margin: .7em 0 0;
	color: var(--mv-soft);
	font-size: .82rem;
	line-height: 1.75;
}

.mvmt-memo-storage-actions,
.mvmt-memo-history-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6em;
	margin-top: .9em;
}

.mvmt-memo-storage-actions .mvmt-btn,
.mvmt-memo-history-actions .mvmt-btn {
	min-height: 42px;
	font-size: .78rem;
}

.mvmt-memo-storage-status {
	margin: .85em 0 0;
	padding: .65em .8em;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 9px;
	color: var(--mv-soft);
	font-size: .75rem;
	line-height: 1.65;
}

.mvmt-memo-storage-status.is-success {
	border-color: rgba(70, 117, 126, .42);
	background: var(--mv-key-soft);
	color: var(--mv-key-dark);
}

.mvmt-memo-storage-status.is-warning {
	border-color: #d8b98a;
	background: #fffaf2;
	color: #75572d;
}

.mvmt-memo-history {
	margin-top: .95em;
	padding-top: .95em;
	border-top: 1px solid var(--mv-line);
}

.mvmt-memo-history-label {
	display: block;
	margin-bottom: .35em;
	color: var(--mv-soft);
	font-size: .78rem;
	font-weight: 700;
}

.mvmt-memo-history-select {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: .65em .8em;
	background: #fff;
	border: 1px solid var(--mv-line);
	border-radius: 10px;
	color: var(--mv-ink);
	font: inherit;
	font-size: .8rem;
}

.mvmt-memo-history-select:focus-visible {
	outline: 2px solid var(--mv-key);
	outline-offset: 2px;
}

.mvmt-btn-danger {
	background: #fff;
	border: 1px solid #d9b8b8;
	color: #8a4b4b;
}

.mvmt-btn-danger:hover {
	background: #fff6f6;
	border-color: #c99090;
	color: #743838;
}

.mvmt-memo-delete-all {
	appearance: none;
	margin-top: .75em;
	padding: .3em 0;
	background: transparent;
	border: 0;
	color: var(--mv-soft);
	font: inherit;
	font-size: .7rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.mvmt-memo-delete-all:hover {
	color: #8a4b4b;
}

.mvmt-memo-storage-privacy {
	margin: .95em 0 0;
	padding-top: .8em;
	border-top: 1px dashed var(--mv-line);
	color: var(--mv-soft);
	font-size: .68rem;
	line-height: 1.75;
}

.mvmt-memo-storage-privacy strong {
	color: var(--mv-ink);
}

.mvmt-memo-storage button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

@media (max-width: 600px) {
	.mvmt-memo-storage-head {
		align-items: flex-start;
	}

	.mvmt-memo-storage-actions,
	.mvmt-memo-history-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.mvmt-memo-storage-actions .mvmt-btn,
	.mvmt-memo-history-actions .mvmt-btn {
		width: 100%;
	}
}

/* =========================================================
   Result share / OGP
   診断結果をメモ作成前に共有する補助導線
   ========================================================= */

.mvmt-result-share {
	margin: .9em auto 1.7em;
	text-align: center;
}

.mvmt-btn-x-share {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	width: min(100%, 360px);
	min-height: 48px;
	padding: .72em 1.2em;
	border: 1px solid #1d2b30;
	border-radius: 999px;
	background: #fff;
	color: #1d2b30;
	font-size: .82rem;
	font-weight: 800;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.mvmt-btn-x-share:hover {
	background: #1d2b30;
	color: #fff;
	transform: translateY(-1px);
}

.mvmt-btn-x-share:focus-visible {
	outline: 3px solid rgba(70, 117, 126, .28);
	outline-offset: 3px;
}

.mvmt-btn-x-mark {
	font-size: 1.05em;
	line-height: 1;
}

.mvmt-result-share-note {
	max-width: 520px;
	margin: .58em auto 0;
	color: var(--mv-soft);
	font-size: .68rem;
	line-height: 1.65;
}

/* =========================================================
   Shared result landing / diagnosis CTA (1.10.5)
   ========================================================= */
.mvmt-shared-result-notice {
	margin: 0 0 1em;
	padding: 1em 1.15em;
	border: 1px solid rgba(70, 117, 126, .22);
	border-left: 4px solid var(--mv-key);
	border-radius: 14px;
	background: linear-gradient(135deg, #f1f6f7 0%, #fbfdfd 100%);
}

.mvmt-shared-result-kicker {
	margin: 0 0 .35em;
	color: var(--mv-key);
	font-size: .65rem;
	font-weight: 800;
	letter-spacing: .13em;
}

.mvmt-shared-result-text {
	margin: 0;
	color: var(--mv-ink);
	font-size: .82rem;
	line-height: 1.8;
}

.mvmt-shared-result-text strong {
	color: var(--mv-key-dark);
	font-weight: 850;
}

.mvmt-detail-diagnosis-cta {
	margin-top: 1.15em;
	padding: clamp(24px, 4vw, 36px) !important;
	border-color: rgba(70, 117, 126, .22) !important;
	background:
		radial-gradient(circle at 50% 0%, rgba(70, 117, 126, .10), transparent 54%),
		linear-gradient(180deg, #f4f8f8 0%, #ffffff 100%);
	text-align: center;
}

.mvmt-detail-diagnosis-kicker {
	margin: 0 0 .45em;
	color: var(--mv-key);
	font-size: .68rem;
	font-weight: 800;
	letter-spacing: .13em;
}

.mvmt-detail-diagnosis-title {
	margin: 0;
	color: var(--mv-ink);
	font-size: clamp(1.2rem, 4vw, 1.55rem);
	font-weight: 850;
	line-height: 1.5;
}

.mvmt-detail-diagnosis-text {
	max-width: 570px;
	margin: .65em auto 0;
	color: var(--mv-soft);
	font-size: .82rem;
	line-height: 1.8;
}

.mvmt-detail-diagnosis-text strong {
	color: var(--mv-ink);
	font-weight: 800;
}

.mvmt-detail-diagnosis-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 410px);
	min-height: 52px;
	margin: 1.2em auto 0;
}

.mvmt-detail-diagnosis-note {
	margin: .65em 0 0;
	color: var(--mv-soft);
	font-size: .68rem;
}

/* =========================================================
   Boochi Related Services v2.3 integration (1.10.6)
   レイアウト保護はBRS本体へ移管。診断側では見た目だけを調整する。
   ========================================================= */
.mvmt .mvmt-brs-footer {
	width: 100%;
	max-width: 100%;
}

.mvmt .mvmt-brs-footer .brs-carousel {
	--brs-columns-desktop: 2;
}

@media (max-width: 680px) {
	.mvmt .mvmt-brs-footer .brs-carousel {
		--brs-columns: 1;
	}
}


/* =========================================================
   Mobile image save fallback
   ========================================================= */
.mvmt-actions .mvmt-btn:disabled {
	opacity: .55;
	cursor: wait;
}

.mvmt-image-save-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: grid;
	place-items: center;
	padding: 18px;
	background: rgba(17, 29, 33, .78);
	overscroll-behavior: contain;
}

.mvmt-image-save-dialog {
	width: min(100%, 520px);
	max-height: calc(100dvh - 36px);
	overflow: auto;
	padding: 18px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
	text-align: center;
}

.mvmt-image-save-dialog h3 {
	margin: 0;
	color: var(--mv-ink, #1d2b30);
	font-size: 1.05rem;
}

.mvmt-image-save-dialog p {
	margin: .55em 0 1em;
	color: var(--mv-soft, #5f7379);
	font-size: .8rem;
	line-height: 1.7;
}

.mvmt-image-save-preview-image {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 68dvh;
	margin: 0 auto;
	border: 1px solid #dfe7e9;
	border-radius: 10px;
	background: #fff;
	-webkit-touch-callout: default;
	user-select: auto;
}

.mvmt-image-save-open,
.mvmt-image-save-close {
	width: min(100%, 280px);
	margin: 14px auto 0;
}

.mvmt-image-save-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.mvmt-image-save-close {
	display: inline-flex;
}
