/*
 * フッター（ヘッダーの浮かぶカプセル型にそろえた、角の丸い紺の板）の見た目
 * 作りは src/components/SiteFooter.astro。色は style.css の :root の変数を使う。
 * 画面幅の切り替えは、ほかと同じく 1080px の1か所だけ。
 */

.wz-footer {
	padding: 0 16px 16px;
	margin-top: 96px;
	background: transparent;
}

.wz-footer-card {
	position: relative;
	overflow: hidden;
	max-width: 1180px;
	margin: 0 auto;
	padding: 64px 64px 28px;
	border-radius: 36px;
	color: rgba(255, 255, 255, 0.86);
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(26, 91, 156, 0.55) 0%, rgba(26, 91, 156, 0) 55%),
		radial-gradient(90% 70% at 0% 100%, rgba(10, 61, 128, 0.45) 0%, rgba(10, 61, 128, 0) 60%),
		var(--navy-950);
	box-shadow: 0 30px 70px -40px rgba(3, 18, 36, 0.8);
}

.wz-footer a {
	color: inherit;
	text-decoration: none;
}

/* ---- 上段: お問い合わせへの呼びかけ ---- */
.wz-footer-cta {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wz-footer-eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--navy-200);
}

.wz-footer-cta-title {
	margin: 0;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.02em;
	color: #fff;
	/* 言葉の途中で折り返さない（折り返してよい所は <wbr> で示してある） */
	word-break: keep-all;
}

.wz-footer-cta-lead {
	margin: 16px 0 0;
	max-width: 34em;
	font-size: 14px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.7);
}

.wz-footer-cta-actions {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	min-width: 260px;
}

.wz-footer-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 60px;
	padding: 0 22px 0 28px;
	border-radius: 999px;
	background: #fff;
	color: var(--navy-950) !important;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	transition: background-color 0.25s ease, transform 0.25s ease;
}

.wz-footer-cta-button svg,
.wz-footer-top svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.25s ease;
}

.wz-footer-cta-button:hover {
	background: var(--navy-200);
}

.wz-footer-cta-button:hover svg {
	transform: translateX(4px);
}

.wz-footer-tel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 52px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: #fff !important;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.wz-footer-tel:hover {
	border-color: rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.06);
}

.wz-footer-tel-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	color: var(--navy-200);
}

/* ---- 中段: 会社情報とメニュー ---- */
.wz-footer-main {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(240px, 1.1fr) 2fr;
	gap: 48px;
	padding: 48px 0;
}

.wz-footer-logo img {
	height: 28px;
	width: auto;
	display: block;
	/* 黒い文字のロゴを、紺の板の上で白く見せる */
	filter: brightness(0) invert(1);
}

.wz-footer-name {
	margin: 22px 0 6px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
}

.wz-footer-address {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.62);
}

.wz-footer-nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.wz-footer-col-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 16px;
}

.wz-footer-col-head span {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #fff;
}

.wz-footer-col-head small {
	font-size: 11px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.45);
}

.wz-footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wz-footer-col li + li {
	margin-top: 10px;
}

.wz-footer-col a {
	position: relative;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.72);
	transition: color 0.2s ease;
}

.wz-footer-col a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}

.wz-footer-col a:hover {
	color: #fff;
}

.wz-footer-col a:hover::after {
	transform: scaleX(1);
}

/* ---- 下段 ---- */
.wz-footer-bottom {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.wz-footer-privacy:hover {
	color: #fff;
}

.wz-footer-copy {
	margin: 0;
}

.wz-footer-top {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff !important;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

.wz-footer-top:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.5);
}

.wz-footer-top:hover svg {
	transform: translateY(-3px);
}

.wz-footer a:focus-visible {
	outline: 2px solid var(--navy-200);
	outline-offset: 3px;
	border-radius: 6px;
}

/* 板の下に、大きく薄い社名を敷く（飾り） */
.wz-footer-wordmark {
	position: absolute;
	left: 50%;
	bottom: -0.32em;
	transform: translateX(-50%);
	margin: 0;
	font-size: clamp(120px, 20vw, 260px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.035);
	pointer-events: none;
	user-select: none;
}

@media (max-width: 1080px) {
	.wz-footer {
		padding: 0 10px 10px;
		margin-top: 72px;
	}

	.wz-footer-card {
		padding: 44px 24px 22px;
		border-radius: 28px;
	}

	.wz-footer-cta {
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		padding-bottom: 36px;
	}

	.wz-sp-none {
		display: none;
	}

	.wz-footer-cta-actions {
		min-width: 0;
	}

	.wz-footer-main {
		grid-template-columns: 1fr;
		gap: 36px;
		padding: 36px 0;
	}

	.wz-footer-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.wz-footer-bottom {
		flex-wrap: wrap;
		gap: 10px 18px;
	}

	.wz-footer-copy {
		order: 3;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wz-footer * {
		transition: none !important;
	}
}
