/* =========================================================
   La forme de Da Vinci — CONTACT (JP + EN)
   Snow Monkey child theme / lfdv-contact
   Colors, type and spacing match the hand-off memo + CONTACT design tab,
   and reuse the same tokens / hover-underline mechanic as lfdv-news.css /
   lfdv-common.css.

   Form markup comes from Contact Form 7's own generated HTML (see the
   "フォーム" tab content supplied separately), so the selectors below
   target CF7's real output classes where that matters:
     - normal field styling: our own added classes (.fld / .rd / .ck / .btn),
       passed to each CF7 tag via "class:xxx"
     - error / validation states: CF7's own classes
       (.wpcf7-not-valid, .wpcf7-not-valid-tip, .wpcf7-response-output)
     - radio / acceptance wrapper structure: CF7's own
       .wpcf7-list-item / label structure (class:xxx lands on the <input>,
       not the wrapping <label>)
   ========================================================= */

.lfdv-contact {
	--ink: #1b1b1b;
	--sub: #666462;
	--accent: #91732d;
	--err: #AA382F;
	--rule: rgba(145, 115, 45, .22);
	--line: #e6e2da;
	--display: "Cormorant Garamond", "Times New Roman", serif;
	--jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--ease: cubic-bezier(.4, .4, 0, 1);

	box-sizing: border-box;
	padding: clamp(90px, 7vw, 115px) clamp(32px, 6vw, 96px) 160px;
	color: var(--ink);
	font-family: var(--jp);
}
.lfdv-contact * { box-sizing: border-box; }
.lfdv-contact a { color: inherit; text-decoration: none; }
.lfdv-contact .col { max-width: 760px; margin-inline: auto; }

@media (max-width: 900px) {
	.lfdv-contact { padding: 90px clamp(24px, 2.4vw, 34px) 96px; }
	.lfdv-contact .lfdv-pagehead { margin-bottom: 10px; } /* the rule under the title sits closer */
	.lfdv-contact .form { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.lfdv-contact *, .lfdv-contact *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------
   Lead text
   --------------------------------------------------------- */
.lfdv-contact .lead {
	margin-bottom: 56px;
	font-family: var(--jp);
	font-size: 15px;
	line-height: 2.1;
	letter-spacing: .05em;
}
.lfdv-contact .lead small { display: block; margin-top: .4em; font-size: 13px; color: var(--sub); }
@media (max-width: 900px) {
	.lfdv-contact .lead { margin-bottom: 40px; font-size: 14px; line-height: 2; }
}

/* ---------------------------------------------------------
   Form rows
   --------------------------------------------------------- */
.lfdv-contact .form { border-top: 1px solid var(--rule); }
.lfdv-contact .fr {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	column-gap: 32px;
	align-items: start;
	padding: 30px 0;
	border-bottom: 1px solid var(--rule);
}
.lfdv-contact .fl,
.lfdv-contact .form > p > span.fl {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding-top: 14px;
	font-family: var(--jp);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .08em;
}
.lfdv-contact .req,
.lfdv-contact .opt {
	display: inline-block;
	padding: 2px 7px 1px;
	font-family: var(--jp);
	font-style: normal;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .1em;
	line-height: 1.5;
	border: 1px solid currentColor;
}
.lfdv-contact .req { color: var(--accent); }
.lfdv-contact .opt { color: var(--sub); border-color: #c9c4bc; }

.lfdv-contact .fld {
	display: block;
	width: 100%;
	height: 52px;
	padding: 0 16px;
	border: 1px solid #d6d0c6;
	border-radius: 0;
	background: #f7f5f1;
	font-family: var(--jp);
	font-size: 15px;
	letter-spacing: .05em;
	color: var(--ink);
	transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
textarea.lfdv-contact .fld,
.lfdv-contact textarea.fld {
	height: auto;
	min-height: 240px;
	padding: 14px 16px;
	line-height: 1.9;
	resize: vertical;
}
.lfdv-contact .fld::placeholder { color: #6f685f; opacity: 1; }
.lfdv-contact .fld:focus { outline: none; border-color: var(--accent); }

@media (max-width: 900px) {
	.lfdv-contact .fr { grid-template-columns: minmax(0, 1fr); row-gap: 12px; padding: 24px 0; }
	.lfdv-contact .fl,
	.lfdv-contact .form > p > span.fl { padding-top: 0; font-size: 16px; }
	.lfdv-contact .fld { font-size: 16px; } /* prevents iOS auto-zoom on focus */
}

/* ---------------------------------------------------------
   Radio group (CF7's own [radio use_label_element] markup:
   .wpcf7-list-item > label > input.rd + span)
   --------------------------------------------------------- */
.lfdv-contact .radios {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 28px;
	padding-top: 2px;
}
.lfdv-contact .radios .wpcf7-list-item { margin: 0; }
.lfdv-contact .radios label,
.lfdv-contact .consent .wpcf7-acceptance label {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-family: var(--jp);
	font-size: 16px;
	letter-spacing: .05em;
	cursor: pointer;
}
.lfdv-contact .radios input.rd,
.lfdv-contact .consent input.ck {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	margin: 0;
	width: 18px;
	height: 18px;
	border: 1px solid #8f877b;
	background: #fff;
	cursor: pointer;
	transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.lfdv-contact .radios input.rd { border-radius: 50%; }
.lfdv-contact .radios input.rd:checked,
.lfdv-contact .consent input.ck:checked {
	border-color: var(--ink);
	background: var(--ink);
	box-shadow: inset 0 0 0 4px #fff;
}
.lfdv-contact .radios input.rd:focus-visible,
.lfdv-contact .consent input.ck:focus-visible {
	outline: 1px solid var(--ink);
	outline-offset: 3px;
}
@media (max-width: 900px) {
	.lfdv-contact .radios { grid-template-columns: minmax(0, 1fr) !important; row-gap: 14px; padding-top: 0; }
	.lfdv-contact .radios label { font-size: 16px; }
	/* The actual items CF7 wraps each radio option in (.wpcf7-list-item, nested
	   several levels inside .radios — not a direct grid child, so the grid
	   columns above never reached them) default to inline-block and wrap
	   side-by-side on their own. Forcing them to block stacks them one per
	   line, which is what ".radios"'s grid was meant to achieve here. */
	.lfdv-contact .radios .wpcf7-list-item { display: block; margin: 0 0 14px; }
	.lfdv-contact .radios .wpcf7-list-item:last-child { margin-bottom: 0; }
}

/* ---------------------------------------------------------
   Privacy-policy notice + consent checkbox
   --------------------------------------------------------- */
.lfdv-contact .consent {
	margin-top: 56px;
	text-align: center;
	font-family: var(--jp);
	font-size: 14px;
	line-height: 2;
	letter-spacing: .05em;
}
.lfdv-contact .pp {
	display: inline;
	padding: 0 0 2px;
	border: 0;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	color: var(--ink);
	font: inherit;
	letter-spacing: inherit;
	cursor: pointer;
}
.lfdv-contact .pp:hover,
.lfdv-contact .pp:focus-visible { color: var(--accent); }
.lfdv-contact .pp:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.lfdv-contact .consent .wpcf7-acceptance { display: block; margin-top: 12px; }
@media (max-width: 900px) {
	.lfdv-contact .consent { margin-top: 40px; font-size: 13px; text-align: left; }
	.lfdv-contact .consent .wpcf7-acceptance label { justify-content: flex-start; }
}

/* ---------------------------------------------------------
   Submit button — CF7's submit tag is a plain <input>, which can't take a
   pseudo-element for the arrow, so a real <svg class="arr"> sits beside it
   as a sibling inside the wrapping <div class="btn-wrap"> (see the フォーム
   tab content), absolutely positioned over the input's right-hand padding.
   A real <svg> renders crisper than a CSS mask at this thin a stroke width.

   CF7 wraps its [submit] tag in an auto-generated <p>, which otherwise
   stretches to the full width of its containing block (own default
   browser/theme styling) and drags ".btn-wrap" — and so the arrow's
   "right: 36px" position — out along with it; neutralised below.
   --------------------------------------------------------- */
.lfdv-contact .act { display: flex; justify-content: center; margin-top: 40px; }
.lfdv-contact .btn-wrap { position: relative; display: inline-block; }
.lfdv-contact .btn-wrap > p { display: contents; }
/* CF7's own loading spinner: invisible (visibility:hidden) until the form is
   actually submitting, but still inline-block, so it was quietly padding out
   .btn-wrap's width by its own size — which is what was offsetting the arrow.
   Taking it out of flow fixes that; it still appears over the button (it has
   its own absolute-ish positioning via CF7's styles once CF7 shows it). */
/* CF7's own loading spinner. Taking it out of flow (earlier) stopped it from
   padding out .btn-wrap's width, but it still becomes visible — as a loose
   spinning dot with no position of its own, floating below the button — while
   the form is submitting/validating. Our button already shows its own state
   (color/opacity changes), so just hide CF7's spinner outright. */
.lfdv-contact .btn-wrap .wpcf7-spinner { display: none !important; }
.lfdv-contact .btn-wrap .arr {
	position: absolute;
	top: 50%;
	right: 36px;
	width: 34px;
	height: 8px; /* even, not 7 — keeps the -50% vertical-center transform landing
	                on a whole pixel instead of a half-pixel, which is what was
	                making the thin 1px stroke look blurry/soft, especially in motion. */
	color: inherit;
	pointer-events: none;
	transform: translateY(-50%);
	transition: transform .4s var(--ease);
}
/*
 * !important throughout this rule: Snow Monkey's own global button/input
 * styling (its CSS loads for every page, this page included) was winning
 * over the plain ".lfdv-contact .btn" selector on several properties —
 * the submit button rendered at its browser-default shrink-to-fit size
 * instead of 300x64, which also knocked the arrow (positioned off the
 * wrapper's own width) out of place. Forcing these specific properties
 * guarantees our design wins regardless of the parent theme's load order.
 */
.lfdv-contact .btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 64px !important;
	padding: 0 30px 0 36px !important;
	margin: 0 !important;
	border: 1px solid var(--ink) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--ink) !important;
	font-family: var(--jp) !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: .2em !important;
	line-height: normal !important;
	cursor: pointer;
	transition: background-color .15s linear, color .15s linear;
}
/* "送信する" and "同意する" share .btn for the base look, but need different
   sizing: the submit button is the page's one fixed-size, arrowed CTA
   (300×64, 70px of right padding reserved for the arrow); "同意する" has no
   arrow and just fits its own text. Rather than keying that off their
   different containers (.act vs .pp-ft), it gets its own class so the
   markup says it directly — add it in the フォーム tab:
   [submit class:btn class:btn--send "送信する"] */
.lfdv-contact .btn--send {
	width: auto !important;
	min-width: 300px !important;
	padding-right: 70px !important;
	justify-content: flex-start !important; /* keeps "送信する" left-aligned, with
		room on the right reserved for the arrow — .btn's own centering (above)
		would otherwise push the label into the arrow. */
}
.lfdv-contact .btn-wrap:hover .btn,
.lfdv-contact .btn:focus-visible { background: #000 !important; color: #fff !important; }
.lfdv-contact .btn-wrap:hover .arr { transform: translateY(-50%) translateX(6px); }
.lfdv-contact .btn-wrap:hover .arr,
.lfdv-contact .btn-wrap:has(.btn:focus-visible) .arr { color: #fff; } /* the arrow only had "color: inherit", which inherits
	from .btn-wrap (its own parent) — not from .btn, a sibling — so it never
	picked up the white text color the button switches to on hover/focus. */
.lfdv-contact .btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.lfdv-contact .btn:disabled { border-color: #b4b0aa !important; color: #8a857e !important; cursor: not-allowed; }
.lfdv-contact .btn-wrap:has(.btn:disabled) { color: #8a857e; }
.lfdv-contact .btn-wrap:has(.btn:disabled):hover .btn { background: transparent; color: #8a857e; }
.lfdv-contact .btn-wrap:has(.btn:disabled):hover .arr { transform: translateY(-50%); }
@media (max-width: 900px) {
	.lfdv-contact .act { flex-direction: column-reverse; margin-top: 32px; }
	.lfdv-contact .btn-wrap { display: block; width: 100%; }
	.lfdv-contact .btn { display: flex !important; width: 100% !important; min-width: 0 !important; height: 60px !important; }
	/* "Agree"/「同意する」 only: on mobile there's no hover to reveal the fill, so
	   it starts already inverted (solid, not outlined) — and since there's no
	   hover either, the tap itself gets the feedback instead, fading softly to
	   a lighter opacity on :active. */
	.lfdv-contact .pp-ft .btn {
		background: #000 !important;
		color: #fff !important;
		transition: opacity .2s linear !important;
	}
	.lfdv-contact .pp-ft .btn:active { opacity: .55; }
}

/* ---------------------------------------------------------
   Validation — CF7's own classes (not custom ones), per the hand-off memo.
   --------------------------------------------------------- */
.lfdv-contact .fld.wpcf7-not-valid { border-color: var(--err); background: color-mix(in srgb, var(--err) 5%, #fff); }
.lfdv-contact .fld.wpcf7-not-valid:focus { border-color: var(--err); box-shadow: inset 0 0 0 1px var(--err); }
.lfdv-contact .wpcf7-not-valid-tip {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 9px;
	font-family: var(--jp);
	font-size: 13px;
	line-height: 1.6;
	letter-spacing: .05em;
	color: var(--err);
}
.lfdv-contact .wpcf7-not-valid-tip::before {
	content: "";
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--err);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6' fill='none' stroke='%23000'/%3E%3Cpath d='M7 3.6V7.9M7 10.2V10.3' stroke='%23000' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6' fill='none' stroke='%23000'/%3E%3Cpath d='M7 3.6V7.9M7 10.2V10.3' stroke='%23000' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lfdv-contact .wpcf7-response-output {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 560px;
	margin: 48px auto 0 !important;
	padding: 16px 24px;
	border: 1px solid var(--err) !important;
	background: #fff;
	font-family: var(--jp);
	font-size: 14px;
	line-height: 1.8;
	letter-spacing: .05em;
	color: var(--err);
	text-align: left;
}
.lfdv-contact .wpcf7-response-output::before {
	content: "";
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--err);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6' fill='none' stroke='%23000'/%3E%3Cpath d='M7 3.6V7.9M7 10.2V10.3' stroke='%23000' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6' fill='none' stroke='%23000'/%3E%3Cpath d='M7 3.6V7.9M7 10.2V10.3' stroke='%23000' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* CF7 shows .wpcf7-response-output on a successful send too (green, by its own
   default styling elsewhere) — only recolor it when the form reports an error. */
.lfdv-contact form.invalid .wpcf7-response-output,
.lfdv-contact form.unaccepted .wpcf7-response-output,
.lfdv-contact form.failed .wpcf7-response-output,
.lfdv-contact form.spam .wpcf7-response-output,
.lfdv-contact form.aborted .wpcf7-response-output { display: flex; }
.lfdv-contact form.sent .wpcf7-response-output,
.lfdv-contact form:not(.invalid):not(.unaccepted):not(.failed):not(.spam):not(.aborted) .wpcf7-response-output:empty { display: none; }
@media (max-width: 900px) {
	.lfdv-contact .wpcf7-not-valid-tip { font-size: 12.5px; }
	.lfdv-contact .wpcf7-response-output { margin: 36px auto 0 !important; font-size: 13px; }
}

/* ---------------------------------------------------------
   Privacy-policy modal
   --------------------------------------------------------- */
.lfdv-contact .pp-ov {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(27, 27, 27, .55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.lfdv-contact .pp-ov.is-open { display: flex; }
.lfdv-contact .pp-dlg {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 720px;
	max-height: min(80vh, 680px);
	background: #fff;
	box-shadow: 0 24px 60px rgba(27, 27, 27, .18);
}
.lfdv-contact .pp-hd {
	position: relative;
	flex: 0 0 auto;
	padding: 40px 56px 26px;
	border-bottom: 1px solid var(--rule);
	text-align: center;
}
.lfdv-contact .pp-hd .en {
	display: block;
	font-family: var(--display);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: .16em;
	line-height: 1.2;
}
.lfdv-contact .pp-hd h2 {
	margin: 8px 0 0;
	font-family: var(--jp);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .24em;
	color: var(--sub);
}
.lfdv-contact .pp-x {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}
.lfdv-contact .pp-x svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.lfdv-contact .pp-x:hover svg, .lfdv-contact .pp-x:focus-visible svg { transform: rotate(90deg); }
.lfdv-contact .pp-bd {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 32px 56px 40px;
	font-family: var(--jp);
	font-size: 14px;
	line-height: 2;
	letter-spacing: .05em;
	overscroll-behavior: contain;
}
.lfdv-contact .pp-bd > * + * { margin-top: 1em; }
.lfdv-contact .pp-bd h2,
.lfdv-contact .pp-bd h3 { margin-top: 2em; font-size: 15px; font-weight: 500; letter-spacing: .08em; }
.lfdv-contact .pp-bd ul { padding-left: 1.2em; list-style: disc; }
.lfdv-contact .pp-bd li::marker { color: var(--accent); }
.lfdv-contact .pp-ft {
	flex: 0 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px 32px;
	flex-wrap: wrap;
	padding: 22px 32px 26px;
	border-top: 1px solid var(--rule);
}
/* No size override here — "同意する" matches the submit button's own 300×64 size
   (the only button size the design spec actually states on this page), rather
   than the smaller one-off size this used to have. */
/* "同意する" (.pp-ft .btn-wrap) has no sibling <svg class="arr"> in the markup, so it naturally has no arrow. */
.lfdv-contact .pp-tx {
	min-height: 44px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: var(--ink);
	font-family: var(--jp);
	font-size: 14px;
	letter-spacing: .16em;
	cursor: pointer;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 100% calc(100% - 11px);
	background-size: 0 1px;
	background-repeat: no-repeat;
	transition: background-size .4s var(--ease);
}
.lfdv-contact .pp-tx:hover,
.lfdv-contact .pp-tx:focus-visible { background-position: 0 calc(100% - 11px); background-size: 100% 1px; }
@media (max-width: 900px) {
	.lfdv-contact .pp-ov { padding: 16px; }
	.lfdv-contact .pp-dlg { max-height: min(84vh, 640px); }
	.lfdv-contact .pp-ft { flex-direction: column; }
	.lfdv-contact .pp-ft .btn,
	.lfdv-contact .pp-ft .pp-tx { width: 100%; }
}

/* =========================================================
   CONTACT — thanks page
   ========================================================= */
.lfdv-contact-thanks { box-sizing: border-box; padding: clamp(90px, 7vw, 115px) clamp(32px, 6vw, 96px) 160px; color: var(--ink, #1b1b1b); }
.lfdv-contact-thanks * { box-sizing: border-box; }
.lfdv-contact-thanks .col { max-width: 760px; margin-inline: auto; }
.lfdv-contact-thanks .done { display: flex; flex-direction: column; padding: 24px 0 8px; text-align: center; }
.lfdv-contact-thanks .mk { display: block; width: 40px; height: 1px; margin: 0 auto 12px; background: #8b7655; opacity: .6; }
/* The title ("Thank you." etc.) sits ABOVE the thin rule, so it's pulled to the
   top of the flex column; the rule's own margin + the first paragraph's
   28px top margin keep the same ~40px gap below the rule as before. */
.lfdv-contact-thanks h1 {
	order: -1;
	margin: 0 0 40px;
	font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-weight: 500;
	font-size: 24px;
	line-height: 1.7;
	letter-spacing: .1em;
}
.lfdv-contact-thanks p {
	margin: 28px 0 0;
	font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 15px;
	line-height: 2.1;
	letter-spacing: .05em;
}
.lfdv-contact-thanks .hint { color: #666462; }
.lfdv-contact-thanks .act { display: flex; justify-content: center; margin-top: 64px; }
.lfdv-contact-thanks .btn-wrap { position: relative; display: inline-block; }
.lfdv-contact-thanks .btn-wrap .arr {
	position: absolute;
	top: 50%;
	right: 36px;
	width: 34px;
	height: 8px; /* even, not 7 — see the main CONTACT page's .arr rule for why. */
	color: inherit;
	pointer-events: none;
	transform: translateY(-50%);
	transition: transform .4s cubic-bezier(.4, .4, 0, 1);
}
/* Same declarations as the CONTACT page's submit button (.lfdv-contact .btn +
   .btn--send), including the !important set that beats Snow Monkey's global
   link/button styling — so the label-to-arrow spacing, size and hover are
   identical. */
.lfdv-contact-thanks .btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: auto !important;
	min-width: 0 !important; /* hugs the label instead of a fixed 300px, so the gap to the arrow stays short */
	height: 64px !important;
	padding: 0 100px 0 36px !important; /* 100 = arrow (34) + its 36px right inset + ~30px gap to the label */
	margin: 0 !important;
	border: 1px solid #1b1b1b !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #1b1b1b !important;
	text-decoration: none !important;
	font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	letter-spacing: .2em !important;
	line-height: normal !important;
	transition: background-color .15s linear, color .15s linear;
}
/* iOS paints its own translucent gray over a tapped link (the grayish flash
   seen on tap) — turn that off and use a solid black fill for the pressed
   state instead, same as hover. */
.lfdv-contact-thanks .btn { -webkit-tap-highlight-color: transparent; }
/* The pressed state looked like a semi-transparent black (gray) with the arrow
   staying crisp white — i.e. something (most likely the parent theme's own
   link :hover/:active fade) was lowering the link's opacity. Pin it to fully
   opaque in every state so the black fill stays truly black. */
.lfdv-contact-thanks .btn,
.lfdv-contact-thanks .btn:hover,
.lfdv-contact-thanks .btn:active,
.lfdv-contact-thanks .btn:focus {
	opacity: 1 !important;
	filter: none !important;
}
.lfdv-contact-thanks .btn-wrap:hover .btn,
.lfdv-contact-thanks .btn:active,
.lfdv-contact-thanks .btn:focus-visible { background: #000 !important; color: #fff !important; }
.lfdv-contact-thanks .btn-wrap:active .arr { color: #fff; }
.lfdv-contact-thanks .btn-wrap:hover .arr { transform: translateY(-50%) translateX(6px); color: #fff; }
@media (max-width: 900px) {
	.lfdv-contact-thanks { padding: 90px clamp(24px, 2.4vw, 34px) 96px; }
	.lfdv-contact-thanks .done { padding-top: 8px; }
	.lfdv-contact-thanks h1 { font-size: 19px; }
	.lfdv-contact-thanks p { font-size: 14px; line-height: 2; text-align: left; }
	.lfdv-contact-thanks .act { margin-top: 48px; }
	/* Same as desktop: hugs the label (centered by .act) rather than stretching
	   full width, so the label-to-arrow gap stays short. */
	.lfdv-contact-thanks .btn { height: 60px !important; }
	/* On tap, the page starts navigating straight away and the browser freezes
	   the screen partway through the .15s color fade — leaving a half-faded
	   gray button (while the arrow, which has no fade, is already white).
	   No fade on touch screens, so the pressed state is solid black at once. */
	.lfdv-contact-thanks .btn { transition: none !important; }
}

/* English version: form labels, radio labels and the consent label are 16px (PC and phone) */
:lang(en) .lfdv-contact .fl,
:lang(en) .lfdv-contact .form > p > span.fl,
:lang(en) .lfdv-contact .radios label,
:lang(en) .lfdv-contact .consent .wpcf7-acceptance label { font-size: 16px; }
