/* Contact page: quiet, structured, and intentionally practical. */
.page-template-page-contact {
	background: #f7f7f4;
}

/* The page itself is the contact destination, so the global contact CTA is redundant here. */
.page-template-page-contact #subfooter {
	display: none;
}

.page-template-page-contact #sec_head {
	position: relative;
	min-height: min(59vw, 610px);
	height: auto;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background-position: center 48%;
}

.page-template-page-contact #sec_head::before {
	background:
		linear-gradient(90deg, rgba(10, 31, 26, 0.93) 0%, rgba(10, 31, 26, 0.76) 30%, rgba(10, 31, 26, 0.25) 63%, rgba(10, 31, 26, 0.18) 100%),
		linear-gradient(0deg, rgba(8, 24, 20, 0.38) 0%, transparent 44%);
}

.page-template-page-contact #sec_head::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(120deg, rgba(0, 151, 127, 0.13), transparent 42%);
}

.page-template-page-contact #sec_head .inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1540px);
	max-width: none;
	margin: 0 auto;
	padding: clamp(150px, 16vw, 230px) clamp(28px, 8vw, 140px) clamp(58px, 7vw, 105px);
}

.page-template-page-contact .sec_head_title {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 0 0 18px;
	color: #88d4c6;
	font-family: 'Inter', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.33em;
	line-height: 1;
	text-align: left;
}

.page-template-page-contact .sec_head_title::before {
	content: '';
	width: 34px;
	height: 1px;
	background: currentColor;
}

.page-template-page-contact .sec_head_sub_title {
	margin: 0;
	color: #fff;
	font-family: var(--font-serif);
	font-size: clamp(44px, 5.4vw, 78px);
	font-weight: 300;
	letter-spacing: 0.04em;
	line-height: 1.15;
	text-align: left;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.16);
}

.page-template-page-contact #sec_contact {
	position: relative;
	background:
		linear-gradient(110deg, rgba(216, 239, 234, 0.43), transparent 36%),
		linear-gradient(285deg, rgba(249, 227, 196, 0.2), transparent 37%),
		#f7f7f4;
	overflow: hidden;
}

.page-template-page-contact #sec_contact::before,
.page-template-page-contact #sec_contact::after {
	content: '';
	position: absolute;
	pointer-events: none;
}

.page-template-page-contact #sec_contact::before {
	top: 3%;
	left: -12%;
	width: 90%;
	height: 44%;
	border-top: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	transform: rotate(-8deg);
}

.page-template-page-contact #sec_contact::after {
	right: -18vw;
	top: 28%;
	width: 58vw;
	height: 58vw;
	border: 1px solid rgba(0, 125, 110, 0.09);
	border-radius: 50%;
}

.page-template-page-contact #sec_contact .contact-page-inner,
.page-template-page-contact #sec_contact > .glid-10.inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1420px);
	max-width: none;
	margin: 0 auto;
	padding: clamp(86px, 10vw, 150px) clamp(28px, 7vw, 112px) clamp(112px, 13vw, 190px);
	box-sizing: border-box;
}

.page-template-page-contact #sec_contact .box {
	padding: 0;
}

.page-template-page-contact #sec_contact .line {
	width: 100%;
	height: 1px;
	margin: clamp(72px, 9vw, 132px) 0;
	border: 0;
	background: rgba(26, 49, 43, 0.15);
}

.page-template-page-contact #sec_contact .head_title {
	margin: 0;
	font-family: var(--font-serif) !important;
	font-size: clamp(29px, 2.8vw, 43px);
	font-weight: 400;
	letter-spacing: 0.045em;
	line-height: 1.35;
	color: #18211f;
}

.page-template-page-contact #sec_contact .head_title .u-copy-line {
	font-family: var(--font-serif) !important;
	font-weight: inherit;
	letter-spacing: inherit;
}

.page-template-page-contact #sec_contact .head_sub_title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 12px;
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.25em;
	line-height: 1;
	text-transform: uppercase;
	color: #007d6e;
}

.page-template-page-contact #sec_contact .head_sub_title::before {
	content: '';
	width: 22px;
	height: 1px;
	background: currentColor;
}

.page-template-page-contact #sec_contact .desc {
	margin: 30px 0 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 2.05;
	letter-spacing: 0.035em;
	color: #52605b;
}

.page-template-page-contact #phone {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1.18fr);
	column-gap: clamp(56px, 8vw, 130px);
	align-items: center;
}

.page-template-page-contact #phone .head_title,
.page-template-page-contact #phone .head_sub_title,
.page-template-page-contact #phone > .desc {
	grid-column: 1;
}

.page-template-page-contact .phone_contact {
	grid-column: 2;
	grid-row: 1 / span 3;
	margin: 0;
	padding: clamp(32px, 4vw, 58px);
	border: 1px solid rgba(0, 125, 110, 0.24);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.55);
	box-shadow: 0 22px 55px rgba(22, 59, 50, 0.07);
}

.page-template-page-contact .phone_contact_btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	color: inherit;
	text-decoration: none;
}

.page-template-page-contact .phone_contact__tel {
	display: flex;
	align-items: center;
	gap: 15px;
	color: #007d6e;
	font-family: 'Inter', 'Noto Sans JP', sans-serif;
	font-size: clamp(25px, 2.55vw, 39px);
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1;
}

.page-template-page-contact .phone_contact__icon {
	width: 24px;
	height: 24px;
	margin: 0;
	filter: invert(39%) sepia(31%) saturate(1077%) hue-rotate(125deg) brightness(86%) contrast(101%);
}

.page-template-page-contact .phone_contact__text {
	padding: 0;
	font-size: 12px;
	line-height: 1.9;
	letter-spacing: 0.06em;
	color: #66736f;
	white-space: nowrap;
}

.page-template-page-contact #mail {
	display: grid;
	grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
	column-gap: clamp(56px, 9vw, 145px);
	align-items: start;
}

.page-template-page-contact #mail .head_title,
.page-template-page-contact #mail .head_sub_title,
.page-template-page-contact #mail > .desc {
	grid-column: 1;
}

.page-template-page-contact #mail .wpcf7 {
	grid-column: 2;
	grid-row: 1 / span 3;
	padding-top: 3px;
}

.page-template-page-contact #mail .wpcf7-contact-form-not-found {
	grid-column: 2;
	grid-row: 1 / span 3;
	margin: 3px 0 0;
	padding: 28px 0;
	border-top: 1px solid rgba(28, 58, 50, 0.3);
	border-bottom: 1px solid rgba(28, 58, 50, 0.3);
	color: #68736f;
	font-size: 14px;
	line-height: 1.9;
}

.page-template-page-contact #mail .wpcf7-contact-form-not-found strong {
	font-weight: 500;
	color: #007d6e;
}

.page-template-page-contact #mail .wpcf7 form > p,
.page-template-page-contact #mail .wpcf7 form > div > p {
	margin: 0 0 22px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #26332f;
}

.page-template-page-contact #mail .wpcf7 label {
	display: block;
}

.page-template-page-contact #mail .wpcf7-text,
.page-template-page-contact #mail .wpcf7-textarea,
.page-template-page-contact #mail .wpcf7-select,
.page-template-page-contact #mail input[type='text'],
.page-template-page-contact #mail input[type='email'],
.page-template-page-contact #mail input[type='tel'],
.page-template-page-contact #mail select,
.page-template-page-contact #mail textarea {
	width: 100%;
	max-width: none;
	margin: 9px 0 0;
	padding: 15px 0 13px;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid rgba(28, 58, 50, 0.35);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: #1d2925;
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	transition: border-color 0.28s ease, background-color 0.28s ease;
	appearance: none;
	-webkit-appearance: none;
}

.page-template-page-contact #mail textarea,
.page-template-page-contact #mail .wpcf7-textarea {
	min-height: 144px;
	resize: vertical;
}

.page-template-page-contact #mail input:focus,
.page-template-page-contact #mail textarea:focus,
.page-template-page-contact #mail select:focus {
	outline: none;
	border-color: #007d6e;
	background: rgba(0, 125, 110, 0.035);
}

.page-template-page-contact #mail ::placeholder {
	color: #a6afac;
	opacity: 1;
}

.page-template-page-contact #mail .wpcf7-submit,
.page-template-page-contact #mail input[type='submit'] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 196px;
	margin: 18px 0 0;
	padding: 16px 26px;
	border: 1px solid #007d6e;
	border-radius: 0;
	background: #007d6e;
	color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.12em;
	cursor: pointer;
	transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
	appearance: none;
	-webkit-appearance: none;
}

.page-template-page-contact #mail .wpcf7-submit:hover,
.page-template-page-contact #mail input[type='submit']:hover {
	background: #0a9483;
	box-shadow: 0 11px 24px rgba(0, 125, 110, 0.17);
	transform: translateY(-2px);
}

.page-template-page-contact #mail .wpcf7-submit:focus-visible,
.page-template-page-contact #mail input[type='submit']:focus-visible {
	outline: 2px solid #18211f;
	outline-offset: 3px;
}

.page-template-page-contact #mail .wpcf7-not-valid-tip {
	padding: 7px 0 0;
	color: #b9404c;
	font-size: 12px;
}

.page-template-page-contact #mail .wpcf7-response-output {
	margin: 22px 0 0 !important;
	padding: 13px 16px !important;
	border-width: 1px !important;
	border-radius: 0;
	font-size: 13px;
}

.page-template-page-contact #policy {
	max-width: 920px;
	margin-right: auto;
	margin-left: auto;
	padding: clamp(42px, 5vw, 70px) 0 0;
}

.page-template-page-contact #policy .head_title,
.page-template-page-contact #policy .head_sub_title {
	max-width: 420px;
}

.page-template-page-contact #policy .title_style_1 {
	margin: 54px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(26, 49, 43, 0.16);
	font-family: var(--font-serif);
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.6;
	color: #25302d;
}

.page-template-page-contact #policy .title_style_1 + .desc {
	margin-top: 18px;
}

@media (max-width: 820px) {
	.page-template-page-contact #sec_head {
		min-height: 430px;
		background-position: 61% center;
	}

	.page-template-page-contact #sec_head::before {
		background:
			linear-gradient(90deg, rgba(10, 31, 26, 0.86) 0%, rgba(10, 31, 26, 0.58) 65%, rgba(10, 31, 26, 0.29) 100%),
			linear-gradient(0deg, rgba(8, 24, 20, 0.28), transparent 50%);
	}

	.page-template-page-contact #sec_head .inner {
		padding: 128px 28px 54px;
	}

	.page-template-page-contact #sec_contact .contact-page-inner,
	.page-template-page-contact #sec_contact > .glid-10.inner {
		padding: 76px 28px 110px;
	}

	.page-template-page-contact #phone,
	.page-template-page-contact #mail {
		display: block;
	}

	.page-template-page-contact #phone > .desc,
	.page-template-page-contact #mail > .desc {
		max-width: 590px;
	}

	.page-template-page-contact .phone_contact,
	.page-template-page-contact #mail .wpcf7,
	.page-template-page-contact #mail .wpcf7-contact-form-not-found {
		margin-top: 42px;
	}

	.page-template-page-contact .phone_contact_btn {
		align-items: flex-start;
		flex-direction: column;
		gap: 20px;
	}

	.page-template-page-contact .phone_contact__text {
		white-space: normal;
	}

	.page-template-page-contact #policy {
		max-width: none;
	}
}

@media (max-width: 520px) {
	.page-template-page-contact #sec_head {
		min-height: 390px;
	}

	.page-template-page-contact #sec_head .inner {
		padding: 112px 24px 43px;
	}

	.page-template-page-contact .sec_head_title {
		font-size: 9px;
		letter-spacing: 0.27em;
	}

	.page-template-page-contact .sec_head_sub_title {
		font-size: 42px;
	}

	.page-template-page-contact #sec_contact .contact-page-inner,
	.page-template-page-contact #sec_contact > .glid-10.inner {
		padding: 65px 24px 90px;
	}

	.page-template-page-contact #sec_contact .head_title {
		font-size: 28px;
	}

	.page-template-page-contact #sec_contact .desc {
		font-size: 14px;
		line-height: 2;
	}

	.page-template-page-contact .phone_contact {
		padding: 28px 24px;
	}

	.page-template-page-contact .phone_contact__tel {
		gap: 11px;
		font-size: 25px;
	}

	.page-template-page-contact .phone_contact__icon {
		width: 21px;
		height: 21px;
	}

	.page-template-page-contact #mail .wpcf7-text,
	.page-template-page-contact #mail .wpcf7-textarea,
	.page-template-page-contact #mail .wpcf7-select,
	.page-template-page-contact #mail input[type='text'],
	.page-template-page-contact #mail input[type='email'],
	.page-template-page-contact #mail input[type='tel'],
	.page-template-page-contact #mail select,
	.page-template-page-contact #mail textarea {
		font-size: 16px;
	}

	.page-template-page-contact #mail .wpcf7-submit,
	.page-template-page-contact #mail input[type='submit'] {
		width: 100%;
	}

	.page-template-page-contact #policy {
		padding-top: 20px;
	}

	.page-template-page-contact #policy .title_style_1 {
		margin-top: 42px;
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.page-template-page-contact #mail .wpcf7-submit,
	.page-template-page-contact #mail input[type='submit'] {
		transition: none;
	}
}

/* 2026 contact direction: a quiet destination without a stock hero image. */
.page-template-page-contact #sec_head.contact-hero {
	display: flex;
	align-items: center;
	min-height: clamp(520px, 68svh, 680px);
	margin: 0;
	padding: 0;
	background:
		radial-gradient(ellipse at 7% 16%, rgba(181, 229, 219, .72) 0, rgba(218, 240, 235, .38) 28%, transparent 57%),
		radial-gradient(ellipse at 94% 21%, rgba(248, 223, 189, .52) 0, rgba(252, 240, 222, .28) 29%, transparent 56%),
		linear-gradient(112deg, #f5faf8 0%, #fbfbf8 49%, #fffaf3 100%);
	background-image:
		radial-gradient(ellipse at 7% 16%, rgba(181, 229, 219, .72) 0, rgba(218, 240, 235, .38) 28%, transparent 57%),
		radial-gradient(ellipse at 94% 21%, rgba(248, 223, 189, .52) 0, rgba(252, 240, 222, .28) 29%, transparent 56%),
		linear-gradient(112deg, #f5faf8 0%, #fbfbf8 49%, #fffaf3 100%);
	isolation: isolate;
}

.page-template-page-contact #sec_head.contact-hero::before {
	content: '';
	position: absolute;
	inset: auto -12% -57% -8%;
	z-index: -1;
	height: 82%;
	border: 1px solid rgba(255, 255, 255, .92);
	border-radius: 50%;
	background: transparent;
	transform: rotate(-4deg);
	pointer-events: none;
}

.page-template-page-contact #sec_head.contact-hero::after {
	content: '';
	position: absolute;
	top: -49%;
	right: 8%;
	bottom: auto;
	left: auto;
	z-index: -1;
	width: 49%;
	height: 132%;
	border: 1px solid rgba(210, 166, 91, .22);
	border-radius: 50%;
	background: transparent;
	transform: rotate(26deg);
	pointer-events: none;
}

.page-template-page-contact .contact-hero__light {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.page-template-page-contact .contact-hero__light::before,
.page-template-page-contact .contact-hero__light::after {
	content: '';
	position: absolute;
	left: -8%;
	width: 118%;
	height: 1px;
	transform-origin: center;
}

.page-template-page-contact .contact-hero__light::before {
	top: 34%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .94) 22%, rgba(255, 255, 255, .36) 75%, transparent);
	transform: rotate(-8deg);
}

.page-template-page-contact .contact-hero__light::after {
	top: 74%;
	background: linear-gradient(90deg, transparent 8%, rgba(222, 176, 97, .06) 30%, rgba(222, 176, 97, .38) 72%, transparent 96%);
	transform: rotate(5deg);
}

.page-template-page-contact .contact-hero__light span,
.page-template-page-contact .contact-hero__light i {
	position: absolute;
	display: block;
	border-radius: 50%;
}

.page-template-page-contact .contact-hero__light span {
	top: 25%;
	right: 12%;
	width: 8px;
	height: 8px;
	background: #008272;
	box-shadow: 0 0 0 12px rgba(255, 255, 255, .34), 0 0 26px rgba(0, 130, 114, .18);
	animation: contactSignal 5.8s ease-in-out infinite;
}

.page-template-page-contact .contact-hero__light i {
	right: 9%;
	bottom: 14%;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(0, 130, 114, .42);
	border-right-color: rgba(222, 176, 97, .42);
	border-bottom-color: transparent;
	animation: contactOrbit 14s linear infinite;
}

.page-template-page-contact #sec_head .contact-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
	align-items: end;
	gap: clamp(80px, 11vw, 190px);
	width: min(100% - 80px, 1540px);
	max-width: none;
	margin: 0 auto;
	padding: clamp(150px, 15vw, 220px) 0 clamp(72px, 8vw, 112px);
}

.page-template-page-contact .contact-hero__copy {
	animation: contactEnter .9s .12s cubic-bezier(.22, 1, .36, 1) both;
}

.page-template-page-contact .contact-hero__copy .sec_head_title {
	margin-bottom: 24px;
	color: #007d6e;
	text-shadow: none;
}

.page-template-page-contact .contact-hero__copy .sec_head_sub_title {
	color: #17231f;
	font-size: clamp(48px, 5.5vw, 82px);
	font-weight: 300;
	line-height: 1.15;
	text-shadow: none;
}

.page-template-page-contact .contact-hero__description {
	margin: clamp(28px, 3.2vw, 44px) 0 0;
	color: rgba(23, 35, 31, .68);
	font-size: clamp(14px, 1.15vw, 17px);
	line-height: 2;
	letter-spacing: .045em;
}

.page-template-page-contact .contact-hero__routes {
	display: grid;
	align-self: end;
	border-top: 1px solid rgba(20, 54, 46, .22);
	animation: contactEnter .9s .27s cubic-bezier(.22, 1, .36, 1) both;
}

.page-template-page-contact .contact-hero__routes a {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 13px 28px;
	padding: 22px 48px 21px 0;
	border-bottom: 1px solid rgba(20, 54, 46, .22);
	color: #1b2924;
	text-decoration: none;
	transition: color .3s ease, padding-left .38s cubic-bezier(.22, 1, .36, 1);
}

.page-template-page-contact .contact-hero__routes a > span {
	grid-column: 1;
	color: #007d6e;
	font-family: 'Inter', sans-serif;
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .2em;
}

.page-template-page-contact .contact-hero__routes a small {
	margin-right: 12px;
	font-size: inherit;
	font-weight: inherit;
}

.page-template-page-contact .contact-hero__routes a strong {
	grid-column: 1;
	font-family: var(--font-serif);
	font-size: clamp(19px, 1.7vw, 27px);
	font-weight: 400;
	letter-spacing: .04em;
}

.page-template-page-contact .contact-hero__routes a i {
	position: absolute;
	right: 3px;
	top: 50%;
	color: #007d6e;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-style: normal;
	transform: translateY(-50%);
	transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}

.page-template-page-contact .contact-hero__routes a:hover,
.page-template-page-contact .contact-hero__routes a:focus-visible {
	padding-left: 12px;
	color: #007d6e;
}

.page-template-page-contact .contact-hero__routes a:hover i,
.page-template-page-contact .contact-hero__routes a:focus-visible i {
	transform: translateY(-30%);
}

.page-template-page-contact #phone,
.page-template-page-contact #mail,
.page-template-page-contact #policy {
	position: relative;
	scroll-margin-top: 130px;
}

.page-template-page-contact #phone::before,
.page-template-page-contact #mail::before,
.page-template-page-contact #policy::before {
	position: absolute;
	top: -34px;
	left: 0;
	color: rgba(0, 125, 110, .52);
	font-family: 'Noto Serif JP', serif;
	font-size: 19px;
	font-style: italic;
}

.page-template-page-contact #phone::before { content: '01'; }
.page-template-page-contact #mail::before { content: '02'; }
.page-template-page-contact #policy::before { content: '03'; }

.page-template-page-contact #sec_contact {
	background:
		linear-gradient(108deg, rgba(220, 241, 236, .34), transparent 31%),
		linear-gradient(288deg, rgba(250, 230, 201, .18), transparent 30%),
		#fbfbf8;
}

.page-template-page-contact #sec_contact::after {
	right: -24vw;
	top: 20%;
	border-color: rgba(211, 164, 86, .12);
}

.page-template-page-contact .phone_contact {
	padding: clamp(32px, 4vw, 56px) 0;
	border: 0;
	border-top: 1px solid rgba(0, 125, 110, .34);
	border-bottom: 1px solid rgba(0, 125, 110, .34);
	background: transparent;
	box-shadow: none;
}

.page-template-page-contact .phone_contact_btn {
	position: relative;
	padding: 0 clamp(22px, 3vw, 44px);
}

.page-template-page-contact .phone_contact_btn::after {
	content: '\2192';
	position: absolute;
	right: clamp(22px, 3vw, 44px);
	top: -31px;
	color: #007d6e;
	font-size: 18px;
	transition: transform .3s ease;
}

.page-template-page-contact .phone_contact_btn:hover::after {
	transform: translateX(7px);
}

.page-template-page-contact #mail .wpcf7,
.page-template-page-contact #mail .wpcf7-contact-form-not-found {
	padding: clamp(28px, 3.5vw, 48px);
	border-top: 1px solid rgba(0, 125, 110, .28);
	border-bottom: 1px solid rgba(0, 125, 110, .28);
	background: rgba(255, 255, 255, .5);
}

.page-template-page-contact #mail .wpcf7-contact-form-not-found {
	margin-top: 0;
}

.page-template-page-contact #policy {
	padding-top: clamp(42px, 5vw, 70px);
}

@keyframes contactEnter {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes contactSignal {
	0%, 100% { opacity: .55; transform: scale(.86); }
	50% { opacity: 1; transform: scale(1); }
}

@keyframes contactOrbit {
	to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
	.page-template-page-contact #sec_head.contact-hero {
		min-height: 0;
	}

	.page-template-page-contact #sec_head .contact-hero__inner {
		grid-template-columns: 1fr;
		gap: 60px;
		width: min(100% - 56px, 720px);
		padding: 150px 0 76px;
	}

	.page-template-page-contact .contact-hero__routes {
		width: min(100%, 560px);
	}
}

@media (max-width: 520px) {
	.page-template-page-contact #sec_head .contact-hero__inner {
		gap: 46px;
		width: calc(100% - 48px);
		padding: 124px 0 62px;
	}

	.page-template-page-contact .contact-hero__copy .sec_head_sub_title {
		font-size: clamp(40px, 12vw, 50px);
	}

	.page-template-page-contact .contact-hero__description {
		font-size: 13px;
	}

	.page-template-page-contact .contact-hero__description br {
		display: none;
	}

	.page-template-page-contact .contact-hero__routes a {
		padding-top: 19px;
		padding-bottom: 18px;
	}

	.page-template-page-contact .contact-hero__routes a strong {
		font-size: 18px;
	}

	.page-template-page-contact .phone_contact_btn {
		padding: 0;
	}

	.page-template-page-contact .phone_contact_btn::after {
		right: 0;
	}

	.page-template-page-contact #mail .wpcf7,
	.page-template-page-contact #mail .wpcf7-contact-form-not-found {
		padding: 24px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.page-template-page-contact .contact-hero__copy,
	.page-template-page-contact .contact-hero__routes,
	.page-template-page-contact .contact-hero__light span,
	.page-template-page-contact .contact-hero__light i {
		animation: none;
	}
}
