: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 本体 */
.form {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
	padding: 24px;
}
.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, .select {
	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, .select:focus {
	border-color: var(--brand);
	box-shadow: 0 0 0 6px var(--ring);
}

.help { color: var(--muted); font-size: 12px; margin-top: 6px; }

.inline { display: flex; align-items: center; gap: 8px; }
.checkbox { width: 18px; height: 18px; }

hr.sep {
	grid-column: 1/-1;
	border: 0;
	border-top: 1px dashed var(--border);
	margin: 6px 0;
}

/* actions 部分の見た目を調整 */
.actions {
	grid-column: 1/-1;
	display: flex;
	justify-content: center; /* 中央寄せ */
	gap: 20px;               /* ボタン同士の間隔を少し広く */
	margin-top: 20px;        /* 上に余白 */
}

/* ボタンを大きめの四角形に */
.actions .btn {
	min-width: 160px;        /* 幅を確保 */
	padding: 14px 28px;      /* 高さ・横幅を増やす */
	border-radius: 8px;      /* 角丸を少しだけ */
	font-size: 16px;         /* 文字大きめ */
	box-shadow: none;        /* 必要なら影を消す */
}

/* プライマリボタン色はブランド色のまま */
.actions .btn-primary {
	background: linear-gradient(180deg,var(--brand),var(--brand-d));
	color: #fff;
}

/* ゴーストボタンは枠付きで大きく */
.actions .btn-ghost {
	background: #fff;
	color: var(--ink);
	border: 2px solid var(--brand);
}

.btn {
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(234,0,0,.28), 0 2px 6px rgba(0,0,0,.12);
	transition: transform .05s ease, box-shadow .15s ease, opacity .2s ease;
}
.btn:active {
	transform: translateY(1px);
	box-shadow: 0 4px 12px rgba(234,0,0,.25), 0 1px 4px rgba(0,0,0,.1);
}
.btn-primary {
	background: linear-gradient(180deg,var(--brand),var(--brand-d));
	color: #fff;
}
.btn-primary[disabled] {
	opacity: .45;
	cursor: not-allowed;
	box-shadow: none;
}
.btn-ghost {
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--border);
}

.error {
	color: var(--brand);
	font-size: 12px;
	margin-top: 6px;
	display: none;
}
.error.show { display: block; }

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