/* お問い合わせページ固有（body.page-contact） */

body.page-contact .contact-intro-note {
	max-width: 720px;
	margin-top: 22px;
	font-size: 13px;
	font-weight: 700;
	color: var(--teal-ink);
	background: var(--teal-pale);
	border-radius: 999px;
	padding: 9px 24px;
	display: inline-block;
}

body.page-contact .privacy-note {
	max-width: 720px;
	margin: 14px 0 0;
	font-size: 12.5px;
	color: var(--gray);
	line-height: 1.9;
}

body.page-contact .page-body--contact {
	max-width: none;
	font-size: inherit;
	line-height: inherit;
}

/* ---------- Contact Form 7 ---------- */
body.page-contact .wpcf7 {
	max-width: 720px;
}

body.page-contact .wpcf7-form {
	margin: 0;
}

/* CF7 が挿す <p> / <br> をリセット */
body.page-contact .wpcf7 p {
	margin: 0;
	padding: 0;
	line-height: inherit;
}

body.page-contact .wpcf7 .form-row > p {
	margin: 0;
}

body.page-contact .wpcf7 .form-row br {
	display: none;
}

body.page-contact .wpcf7 .form-row {
	margin: 0 0 28px;
}

body.page-contact .wpcf7 .form-row > label,
body.page-contact .wpcf7 .form-row > p > label {
	display: block;
	font-family: var(--head);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
	margin: 0 0 10px;
	color: var(--ink);
}

body.page-contact .wpcf7 .form-row .req {
	font-size: 11px;
	color: #fff;
	background: var(--teal-ink);
	border-radius: 3px;
	padding: 2px 8px;
	margin-left: 10px;
	font-weight: 700;
	vertical-align: 1px;
}

body.page-contact .wpcf7 .form-note {
	margin: 8px 0 0;
	font-size: 12.5px;
	color: var(--gray);
	line-height: 1.8;
}

body.page-contact .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

/* size="40" でも全幅にする */
body.page-contact .wpcf7 input.wpcf7-text,
body.page-contact .wpcf7 input.wpcf7-email,
body.page-contact .wpcf7 input.wpcf7-tel,
body.page-contact .wpcf7 textarea.wpcf7-textarea {
	display: block;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	font-family: var(--sans);
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink);
	background: #fff;
	border: 1px solid #d8d4cd;
	border-radius: 4px;
	padding: 13px 16px;
	margin: 0;
	height: auto;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

body.page-contact .wpcf7 textarea.wpcf7-textarea {
	min-height: 180px;
	resize: vertical;
}

body.page-contact .wpcf7 input.wpcf7-text:focus,
body.page-contact .wpcf7 input.wpcf7-email:focus,
body.page-contact .wpcf7 input.wpcf7-tel:focus,
body.page-contact .wpcf7 textarea.wpcf7-textarea:focus {
	outline: none;
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(44, 184, 183, 0.15);
}

/* 種別ラジオ（ピル） */
body.page-contact .wpcf7-radio.type-choices,
body.page-contact .type-choices.wpcf7-radio {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

body.page-contact .wpcf7-radio.type-choices .wpcf7-list-item,
body.page-contact .type-choices.wpcf7-radio .wpcf7-list-item {
	display: inline-block;
	margin: 0;
}

body.page-contact .wpcf7-radio.type-choices .wpcf7-list-item label,
body.page-contact .type-choices.wpcf7-radio .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
	border: 1px solid #d8d4cd;
	border-radius: 999px;
	background: #fff;
	padding: 9px 22px;
	cursor: pointer;
	margin: 0;
	color: var(--ink);
	transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

body.page-contact .wpcf7-radio.type-choices .wpcf7-list-item input,
body.page-contact .type-choices.wpcf7-radio .wpcf7-list-item input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	pointer-events: none;
}

body.page-contact .wpcf7-radio.type-choices .wpcf7-list-item label:has(input:checked),
body.page-contact .type-choices.wpcf7-radio .wpcf7-list-item label:has(input:checked) {
	border-color: var(--teal);
	background: var(--teal);
	color: #fff;
	font-weight: 700;
}

body.page-contact .wpcf7 .form-submit {
	margin-top: 40px;
	text-align: center;
}

body.page-contact .wpcf7 input.wpcf7-submit {
	font-family: var(--sans);
	border: none;
	display: inline-block;
	width: auto !important;
	background: var(--teal);
	color: #fff;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.08em;
	padding: 18px 72px;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.25s var(--ease, ease), transform 0.25s var(--ease, ease);
}

body.page-contact .wpcf7 input.wpcf7-submit:hover {
	background: #249d9c;
	transform: translateY(-1px);
}

body.page-contact .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: 12.5px;
	color: #c0392b;
}

body.page-contact .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 12px 16px;
	font-size: 13px;
	border-radius: 4px;
}
