:root {
	--brand:#ea0000;
	--brand-d:#c70000;
	--ink:#111;
	--muted:#6b7280;
	--bg:#fafafa;
	--border:#e5e7eb;
	--ring:rgba(234,0,0,.25);
}
* {
	box-sizing: border-box;
}

/* フォーム本体 */
.form {
	width: 85%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-left: auto;
	margin-right: auto;
}
.form .full {
	grid-column: 1 / -1;
}

.label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 13px;
}
.req {
	color: var(--brand);
}

.input {
	appearance: none;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.input:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 6px var(--ring);
}

/* エラーメッセージ */
.error {
	color: var(--brand);
	font-size: 12px;
	margin-top: 6px;
	display: none;
}
.error.show {
	display: block;
}

/* アクション */
.actions {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}

.btn {
	display: inline-block;
	min-width: 160px;			/* 横幅確保 */
	padding: 14px 28px;			/* 内側余白を広く */
	border-radius: 8px;			/* 丸すぎない四角形 */
	font-weight: 700;
	font-size: 16px;			/* 文字大きめ */
	cursor: pointer;
	border: none;
	box-shadow: none;			/* 影を消したい場合はnone */
	transition: transform .05s ease, box-shadow .15s ease, opacity .2s ease;
}

.btn-primary {
	background: linear-gradient(180deg,var(--brand),var(--brand-d));
	color: #fff;
}

.btn-primary:active {
	transform: translateY(1px);
	box-shadow: 0 4px 12px rgba(234,0,0,.25), 0 1px 4px rgba(0,0,0,.1);
}

.btn-primary[disabled] {
	opacity: .45;
	cursor: not-allowed;
}

.btn-ghost {
	background: #fff;
	color: var(--ink);
	border: 2px solid var(--brand);
}

/* パスワード忘れリンク */
.link {
	text-align: center;
	margin-top: -4px;
}
.link a {
	color: var(--muted);
	font-size: 12px;
	text-decoration: underline;
}

@media (max-width: 600px) {
	.step .list {
		margin: 20px;
		padding: 20px;
	}
}