.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 18px;
	align-items: start;
}

.contact-card {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper-strong);
}

.contact-form-card {
	padding: 28px;
}

.contact-card h2,
.contact-card h3 {
	margin: 0;
	color: var(--navy);
	line-height: 1.4;
}

.contact-card h2 {
	font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 28px;
}

.contact-card h3 {
	font-size: 18px;
}

.contact-card p {
	margin: 12px 0 0;
	color: #4c5660;
	font-size: 14px;
}

.contact-form {
	display: grid;
	gap: 16px;
	margin-top: 22px;
}

.form-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.form-field {
	display: grid;
	gap: 7px;
}

.form-field label {
	color: var(--navy);
	font-size: 13px;
	font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	border: 1px solid #c8c0b4;
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	outline: none;
}

.form-field input,
.form-field select {
	min-height: 48px;
	padding: 0 13px;
}

.form-field textarea {
	min-height: 180px;
	padding: 12px 13px;
	resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.13);
}

.form-field.is-error input,
.form-field.is-error select,
.form-field.is-error textarea {
	border-color: var(--red);
}

.field-error {
	min-height: 18px;
	color: var(--red);
	font-size: 12px;
	font-weight: 700;
}

.check-field label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: #3f4851;
	font-weight: 700;
}

.check-field a {
	color: var(--navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.check-field input {
	width: auto;
	min-height: auto;
	margin-top: 0.45em;
}

.form-result {
	padding: 13px 16px;
	border-radius: var(--radius);
	font-size: 14px;
	font-weight: 800;
}

.form-result[data-type="success"] {
	border: 1px solid rgba(105, 122, 112, 0.36);
	background: rgba(105, 122, 112, 0.12);
	color: #46584e;
}

.form-result[data-type="error"] {
	border: 1px solid rgba(154, 77, 67, 0.36);
	background: rgba(154, 77, 67, 0.1);
	color: var(--red);
}

.contact-submit {
	justify-self: start;
	min-width: 180px;
}

.contact-submit:disabled {
	cursor: wait;
	opacity: 0.68;
}

.hp-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	padding: 16px;
	border: 1px solid #e1d9cc;
	border-radius: var(--radius);
	background: rgba(255, 253, 248, 0.74);
}

.contact-list strong {
	display: block;
	color: var(--navy);
	font-size: 14px;
}

.contact-list span {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 13px;
}

.privacy-body {
	max-width: 880px;
	margin: 0 auto;
}

.privacy-body h2 {
	margin: 30px 0 0;
	font-family: inherit;
	font-size: 19px;
}

.privacy-body p {
	margin-top: 10px;
}

.privacy-body a {
	color: var(--navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.privacy-date {
	margin-top: 30px;
	color: var(--muted);
	font-size: 13px;
}

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

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

	.contact-form-card,
	.contact-card {
		padding: 20px;
	}
}
