/*
 * 「準備中」のページ（非公開中、ログインしていない訪問者向け。inc/publish.php）
 * - 色は theme.json のCSS変数だけを使う（直書き禁止）
 * - 画面幅の切り替えは 900px の1か所だけ
 */

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

body.fdhp-preparing {
	margin: 0;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	background: var(--wp--custom--color--main-light);
	color: var(--wp--preset--color--text);
	font-family: var(--wp--preset--font-family--gothic);
	line-height: 1.8;
}

.fdhp-preparing__box {
	width: 100%;
	max-width: 32rem;
	padding: 40px 24px;
	background: var(--wp--preset--color--bg);
	border-top: 6px solid var(--wp--preset--color--main);
	border-radius: 6px;
	text-align: center;
}

.fdhp-preparing__name {
	margin: 0 0 24px;
	color: var(--wp--preset--color--main);
	font-weight: 700;
	font-size: 1.125rem;
}

.fdhp-preparing__logo {
	display: inline-block;
	max-width: 100%;
	height: auto;
	max-height: 48px;
	width: auto;
}

.fdhp-preparing__title {
	margin: 0 0 8px;
	color: var(--wp--preset--color--main);
	font-size: 1.5rem;
	line-height: 1.5;
}

.fdhp-preparing__lead {
	margin: 0;
	color: var(--wp--custom--color--text-muted);
}

.fdhp-preparing__form {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--wp--custom--color--border);
	text-align: left;
}

.fdhp-preparing__form label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.875rem;
}

.fdhp-preparing__error {
	margin: 0 0 8px;
	color: var(--wp--custom--color--accent-dark);
	font-size: 0.875rem;
	font-weight: 700;
}

.fdhp-preparing__row {
	display: flex;
	gap: 8px;
}

.fdhp-preparing__row input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 8px 12px;
	border: 1px solid var(--wp--custom--color--border);
	border-radius: 6px;
	font-size: 1rem;
	color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--bg);
}

.fdhp-preparing__row button {
	min-height: 48px;
	padding: 8px 20px;
	border: 0;
	border-radius: 6px;
	background: var(--wp--preset--color--main);
	color: var(--wp--preset--color--bg);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.fdhp-preparing__row button:hover,
.fdhp-preparing__row button:focus-visible {
	background: var(--wp--custom--color--main-dark);
}

@media (min-width: 900px) {
	.fdhp-preparing__box {
		padding: 56px 48px;
	}

	.fdhp-preparing__title {
		font-size: 1.75rem;
	}
}
