
/*----------------------------------------------------------------------- ▼ general --*/

#wrap-form {
	display: flex;
	justify-content: center;
}

table.contact {
	width: 50%;
	background: #f0f0f0-;
	
	tr {
		display: flex;
		flex-wrap: wrap;
	}
	
	tr:nth-of-type(n + 2) {
		margin-top: 15px;
	}

	th, td {
        width: 100%;
    }

	th {
	}
	
	td {
		input:nth-child(n + 2) {
			margin-top: 5px;
		}
	}

	input:not([type="radio"]):not([type="submit"]):not([type="checkbox"]), select, textarea {
		padding: 5px 15px;
		border: 1px solid #bbb;
		border-radius: 3px;
		background: #fff;
		font-size: ;
	}
	
	input:not([type="radio"]):not([type="number"]) {
		width: 100%;
	}
	
	input[type="number"] {
		width: 150px;
	}
	
	textarea {
		padding: 10px;
		height: 300px;
	}

	*::placeholder {
		color: #ccc;
	}
	
	.required {
		margin-left: 10px;
		color: #c00;
	}
	
	.required::before {
		content: '※';
	}

	label:has(input[type="radio"]) {
		display: flex;
		justify-content: flex-start;
		color: var(--color-theme);
		
		div {
			margin-left: 10px;
		}
	}
	
	.indent {
		padding-left: 50px;
	}
	
	.go_back, .submit {
		width: 25%;
		padding: 15px 0;
		border-radius: var(--border-radius);
		background: #fff;
		font-weight: bold;
		text-align: center;
	}

	.go_back {
		margin-right: 15px;
		border: 1px solid #c00;
		color: var(--error);
	}

	.submit {
		border: 1px solid #ddd;
		background: #fff;
	}

	.go_back,
	.submit {
		width: 100%;
		margin: 15px 0 0 0;
	}
	
	@media (hover: hover) and (pointer: fine) {
		.agreement_box label, .go_back, .submit {
			transition: 0.2s;
		}

		.agreement_box label:hover {
			color: #444;
		}

		.go_back:hover {
			background: #fee;
		}

		.submit:hover {
			background: #f0f0f0;
		}
	}
}

#error {
	padding: 15px;
	border: 1px solid var(--error);
	border-radius: var(--border-radius);
	background: #fff;
	color: var(--error);	
}

/*----------------------------------------------------------------------- ▼ confirm --*/

.contact.confirm td {
	width: 75%;
	background: linear-gradient(#fafafa, #f6f6f6);
}

.confirm input:not([type="submit"]):not([type="checkbox"]), .confirm select, .confirm textarea {
	background: #e0f0ff;
}
