@charset "utf-8";

.contact-main {
	overflow: clip;
	background: var(--home-paper);
	color: var(--home-navy);
}

.contact-main *,
.contact-main *::before,
.contact-main *::after {
	box-sizing: border-box;
}

.contact-main section {
	padding: clamp(96px, 10vw, 160px) clamp(22px, 5vw, 80px);
}

.contact-shell {
	width: min(100%, 1360px);
	margin-inline: auto;
}

.contact-main h2 {
	position: relative;
	margin: 0;
	padding: 0;
	display: block;
	color: var(--home-navy);
	font-size: clamp(46px, 6.2vw, 96px);
	font-weight: 850;
	letter-spacing: -0.065em;
	line-height: 1.1;
	text-wrap: balance;
}

.contact-main h2 span {
	color: var(--home-blue);
	font-size: inherit;
	font-weight: inherit;
	opacity: 1;
}

.contact-main h3,
.contact-main p {
	margin-top: 0;
}

.contact-main p {
	text-wrap: pretty;
}

.contact-kicker {
	margin: 0 0 clamp(22px, 3vw, 40px);
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--home-blue);
	font-family: "Jost", sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.contact-kicker::before {
	width: 38px;
	height: 3px;
	content: "";
	background: currentColor;
}

/* Opening */
.contact-main .contact-hero {
	min-height: min(880px, 100svh);
	padding-top: clamp(154px, 15vw, 220px);
	display: flex;
	align-items: center;
	background:
		linear-gradient(rgba(19, 33, 59, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(19, 33, 59, 0.035) 1px, transparent 1px),
		var(--home-paper);
	background-size: 64px 64px;
}

.contact-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.52fr);
	align-items: end;
	gap: clamp(52px, 9vw, 140px);
}

.contact-hero-copy > p:not(.contact-kicker) {
	max-width: 44em;
	margin: clamp(28px, 3.5vw, 48px) 0 0;
	color: #596476;
	font-size: clamp(14px, 1.1vw, 17px);
	font-weight: 500;
	line-height: 2;
}

.contact-hero-copy > a {
	width: min(100%, 310px);
	min-height: 64px;
	margin-top: 38px;
	padding: 16px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--home-navy);
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	font-weight: 750;
	transition: background 240ms ease, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-hero-copy > a:hover {
	opacity: 1;
	background: var(--home-blue);
	transform: translateY(-3px);
}

.contact-hero-note {
	padding: 34px 0 10px;
	border-top: 3px solid var(--home-blue);
}

.contact-hero-note > span {
	color: #7a8494;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
}

.contact-hero-note ul {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}

.contact-hero-note li {
	padding: 14px 0 14px 26px;
	border-bottom: 1px solid #cfd4d8;
	font-size: clamp(15px, 1.3vw, 19px);
	font-weight: 700;
}

.contact-hero-note li::before {
	position: absolute;
	margin: 0.82em 0 0 -26px;
	width: 12px;
	height: 2px;
	content: "";
	background: var(--home-blue);
}

/* Company */
.contact-main .company-section {
	background: #e8ebea;
}

.contact-heading {
	margin-bottom: clamp(54px, 7vw, 104px);
}

.contact-heading h2 {
	font-size: clamp(42px, 5.2vw, 78px);
}

.company-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
	align-items: start;
	gap: clamp(56px, 9vw, 140px);
}

.company-profile {
	margin: 0;
}

.company-profile > div {
	padding: 25px 0 28px;
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 28px;
	border-bottom: 1px solid rgba(19, 33, 59, 0.22);
}

.company-profile > div:first-child {
	border-top: 1px solid rgba(19, 33, 59, 0.22);
}

.company-profile dt {
	color: var(--home-blue);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.06em;
}

.company-profile dd {
	margin: 0;
	color: #38465c;
	font-size: 14px;
	font-weight: 550;
	line-height: 2;
}

.company-profile a {
	color: var(--home-blue);
	text-underline-offset: 4px;
}

.company-media {
	position: sticky;
	top: 110px;
}

.company-media video {
	width: 100%;
	aspect-ratio: 16 / 9;
	display: block;
	object-fit: cover;
	background: var(--home-navy);
}

.company-media p {
	margin: 0;
	padding: 24px 28px;
	background: var(--home-navy);
	color: #fff;
	font-size: clamp(15px, 1.45vw, 21px);
	font-weight: 750;
	letter-spacing: -0.025em;
}

/* Inquiry */
.contact-main .inquiry-section {
	background: var(--home-navy);
	color: #eaf0f8;
}

.inquiry-section .contact-kicker {
	color: #86a9ff;
}

.inquiry-intro {
	max-width: 1000px;
}

.inquiry-intro h2 {
	color: #fff;
}

.inquiry-intro > p:last-child {
	max-width: 48em;
	margin: 30px 0 0;
	color: #aeb8c8;
	font-size: 15px;
	line-height: 2;
}

.inquiry-grid {
	margin-top: clamp(60px, 8vw, 112px);
	display: grid;
	grid-template-columns: 1fr;
}

.inquiry-card {
	min-height: 360px;
	padding: clamp(32px, 4vw, 58px);
	display: flex;
	flex-direction: column;
	border: 1px solid #4a5870;
	color: #eef3fb;
	text-decoration: none;
	transition: background 260ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-card-primary {
	background: var(--home-blue);
	border-color: var(--home-blue);
}

.inquiry-card:hover {
	opacity: 1;
	background: var(--home-blue-dark);
	transform: translateY(-5px);
}

.inquiry-type {
	margin-bottom: auto;
	color: rgba(255, 255, 255, 0.65);
	font-family: "Jost", sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.inquiry-card h3 {
	margin: 74px 0 16px;
	color: #fff;
	font-family: "Jost", "Noto Sans JP", sans-serif;
	font-size: clamp(24px, 2.6vw, 40px);
	font-weight: 760;
	letter-spacing: -0.045em;
	line-height: 1.2;
}

.inquiry-card p {
	margin-bottom: 34px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.8;
}

.inquiry-card strong {
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 12px;
}

.contact-hero-copy > a:focus-visible,
.inquiry-card:focus-visible {
	outline: 3px solid #ffbf32;
	outline-offset: 4px;
}

body > #container > footer {
	padding: clamp(68px, 8vw, 112px) clamp(24px, 5vw, 80px);
	background: var(--home-navy);
	color: #dfe5ef;
}

body > #container > footer a {
	color: inherit;
}

body > #container > footer .logo img {
	filter: brightness(0) invert(1);
}

@media screen and (max-width: 899px) {
	.contact-main section {
		padding: 88px 24px 100px;
	}

	.contact-main .contact-hero {
		min-height: 760px;
		padding-top: 140px;
	}

	.contact-hero-grid,
	.company-layout {
		grid-template-columns: 1fr;
		gap: 64px;
	}

	.contact-hero-note {
		max-width: 520px;
	}

	.company-media {
		position: static;
	}

}

@media screen and (max-width: 560px) {
	.contact-main section {
		padding: 76px 20px 86px;
	}

	.contact-main .contact-hero {
		min-height: 720px;
		padding-top: 128px;
	}

	.contact-main h2 {
		font-size: clamp(40px, 12vw, 54px);
	}

	.contact-kicker {
		font-size: 9px;
	}

	.company-profile > div {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.company-media p {
		padding: 20px;
	}

	.inquiry-card {
		min-height: 320px;
		padding: 30px 24px;
	}

	.inquiry-card h3 {
		font-size: clamp(23px, 7.4vw, 30px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-hero-copy > a,
	.inquiry-card {
		transition: none;
	}
}
