/* clean.css の内容を上書き */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto:wght@100..900&display=swap');

:root {
	--text-color: #333;
}

body {
	color: #333;
	font-family: "Roboto", "Noto Sans JP", sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

a {
	color: #0066D3;
}

.container {
	border-radius: 20px;
	background-color: #FFF5D6;
}

.form-column {
	align-items: center;
	margin: 0 2.5em;
	padding: 2em 0;
	grid-template-columns: 280px 1fr;
	border-bottom: 1px #999 solid;
}

/* -------------------
	共通設定
------------------- */
input,
button,
textarea,
select {
	border-radius: 6px;
	padding: 12px;
	background-color: #fff;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"] {
	height: 45px;
}

input[type="password"] {
	height: 1.75em;
}

textarea {
	min-height: 240px;
}

select {
	width: 50%;
	height: 45px;
}

input[type="checkbox"] {
	border-radius: 6px;
}

.badge-required,
legend .badge-required {
	background-color: #CC0000;
	margin-left: 1em;
	border-radius: 4px;
}

/* -------------------
	ボタン
------------------- */
.button {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 380px;
	height: 60px;
	padding: 0 24px;
	font-size: 1.8rem;
	border-radius: 62px;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: var(--button-text-color);
	background-color: #0066D3;
	white-space: wrap;
}

.button:hover {
	background-color: #0066D3;
	opacity: 0.7;
}

button.button-submit {
	background-color: #0066D3;
}

button.button-submit:hover {
	background-color: #0066D3;
}

button.button-back {
	background-color: #999;
}

button.button-back:hover {
	background-color: #999;
}

/* -------------------
	各フィールド設定
------------------- */
.form-column-checkbox,
.form-column-radio {
	padding: 2em 0;
}

.form-column-checkbox .label,
.form-column-radio .label {
	white-space: nowrap;
}

.form-column-checkbox .input-group,
.form-column-radio .input-group {
	flex-direction: row;
}

.form-column-checkbox .input-group label,
.form-column-radio .input-group label {
	margin: 0 3rem 1em 0;
}

/* ----- 住所 ----- */
.form-column-zip-code-jp .input-group input {
	width: 10em;
}

.form-column-zip-code-autofill {
	display: block;
	margin: 0;
	padding: 0;
	border-width: 0;
}

.form-column-zip-code-autofill .form-column {
	width: 100%;
	margin: 0 2.5em;
	border-width: 1px;
	gap: 0 2em;
	grid-template-columns: 280px 1fr;
}

.form-column-zip-code-autofill .form-column-zip-code-jp .input-group input {
	width: 15em;
}

.form-column-zip-code-autofill .form-column-prefecture-jp select {
	width: 50%;
}

.form-column-zip-code-autofill fieldset {
	width: 100%;
	display: block;
	border-bottom: 1px #999 solid;
}



@media (max-width: 768px) {

	/* -------------------
		全体
	------------------- */
	.form-column {
		margin: 0;
		padding: 2em 0;
	}

	.form-column-checkbox .input-group,
	.form-column-radio .input-group {
		flex-direction: column;
	}

	.form-column-calendar .input-group {
		width: 100%;
	}

	.form-column-prefecture-jp select {
		width: 100%;
	}

	.form-column-zip-code-autofill {
		width: 100%;
		padding: 0;
	}

	.form-column-zip-code-autofill fieldset {
		width: 100%;
		column-gap: 1em;
	}

	.form-column-zip-code-autofill .form-column {
		margin: 0;
	}
}

.recaptcha-v3-badge {
	margin-top: 80px;
}
