/* 全ページ共通のフッター。Bootstrap のクラスには依存しない。 */

.site-footer {
	padding: 72px 0 28px;
	background: #0b1c33;
	color: #ffffff;
	font-family: "Noto Sans JP", "source-han-sans-japanese", sans-serif;
}

.site-footer-main,
.site-footer-base {
	width: min(1120px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}

.site-footer-main {
	display: grid;
	grid-template-columns: minmax(200px, 1.2fr) repeat(3, minmax(148px, 0.85fr));
	gap: 36px 40px;
	align-items: start;
}

.site-footer img {
	width: auto;
	height: 32px;
}

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

.site-footer li {
	line-height: 1.9;
}

.site-footer-brand p {
	margin: 16px 0 0;
	color: #d5deea;
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.85;
}

.site-footer-brand p a {
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

.site-footer-col > p {
	margin: 0 0 14px;
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

.site-footer-col a {
	color: #e7eef6;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 2;
	text-decoration: none;
}

.site-footer-col a:hover,
.site-footer-col a:focus {
	color: #ffffff;
}

.site-footer-cta,
.site-footer-ghost {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 210px;
	margin: 0 0 8px;
	padding: 9px 12px;
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

.site-footer-ghost {
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: transparent;
	color: #ffffff;
}

.site-footer-ghost:hover,
.site-footer-ghost:focus {
	border-color: #ffffff;
	color: #ffffff;
}

.site-footer-cta {
	border: 0;
	background: #f09a1a;
	color: #ffffff;
}

.site-footer-cta:hover,
.site-footer-cta:focus {
	background: #e08c10;
	color: #ffffff;
}

.site-footer-base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin-top: 48px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer-base p {
	margin: 0;
	color: #d5deea;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.6;
}

.site-footer-base small {
	color: inherit;
	font-size: inherit;
}

.site-footer-base ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px 18px;
	margin-left: auto;
}

.site-footer-base a {
	color: #e7eef6;
	font-size: 0.75rem;
	font-weight: 400;
	text-decoration: none;
}

.site-footer-base a:hover {
	color: #ffffff;
}

@media (max-width: 900px) {
	.site-footer {
		padding: 48px 0 7rem;
	}

	.site-footer-main,
	.site-footer-base {
		width: min(1120px, calc(100% - 32px));
	}

	.site-footer-main {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.site-footer-base {
		align-items: flex-start;
		margin-top: 32px;
	}

	.site-footer-base ul {
		width: 100%;
		margin-left: 0;
		justify-content: flex-end;
	}
}
