.site-footer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--header-card-bg-1) 0%, var(--header-card-bg-3) 55%, var(--header-card-bg-2) 100%);
	color: var(--header-text);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	padding-top: 8px;
}

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 40%);
}

.site-footer > * {
	position: relative;
	z-index: 1;
}

.footer-nav {
	border-bottom: 1px solid var(--header-border);
}

.footer-nav .container {
	max-width: 1200px;
	margin-inline: auto;
	padding: 20px 32px;
}

.footer-nav-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-nav-list li {
	margin: 0;
}

.footer-nav-list a {
	display: inline-block;
	color: var(--header-text-dim);
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	letter-spacing: 0.02em;
	padding: 4px 2px;
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-nav-list a:hover,
.footer-nav-list a:focus-visible {
	color: var(--menu-yellow);
	border-bottom-color: var(--menu-yellow);
}

.site-footer-content {
	max-width: 1200px;
	margin-inline: auto;
	padding: 40px 40px 16px;
}

.site-footer-content .row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin: 0;
}

.site-footer-content .row > [class*="col-"] {
	padding: 0;
	margin: 0;
	min-width: 0;
}

.site-footer-content .row > [class*="col-"]:empty {
	display: none;
}

.site-footer-content .widget {
	margin-bottom: 20px;
}

.site-footer-content .widget:last-child {
	margin-bottom: 0;
}

.site-footer-content .widget-title,
.site-footer-content .site-footer-title {
	color: var(--header-text);
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--header-border);
}

.site-footer-content .widget iframe {
	display: block;
	width: 100%;
	border: 1px solid var(--header-border);
	border-radius: 12px;
	filter: saturate(0.9) brightness(0.96);
}

.site-footer-content .widget_media_image figure {
	margin: 0 0 12px;
}

.site-footer-content .widget_media_image a {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(6, 10, 25, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer-content .widget_media_image a:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(6, 10, 25, 0.45);
}

.site-footer-content .widget_media_image img {
	display: block;
	width: 100%;
	height: auto;
}

.site-footer-content .vk_button_link.btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	padding: 14px 20px !important;
	background: var(--menu-yellow) !important;
	color: var(--menu-yellow-text) !important;
	border: none;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-align: center;
	text-decoration: none;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.site-footer-content .vk_button_link_caption {
	display: flex;
	align-items: center;
	justify-content: center;
}

.site-footer-content .vk_button_link.btn:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.site-footer-content .vk_button_link_before {
	margin-right: 6px;
}

.site-footer-content .xo-event-calendar {
	background: #fff;
	color: #222;
	border-radius: 14px;
	padding: 16px;
	box-shadow: 0 8px 24px rgba(6, 10, 25, 0.3);
	overflow-x: auto;
}

.site-footer-content .center[style*="font-size"] {
	color: var(--header-text);
	margin-bottom: 10px;
}

.site-footer-content .month-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.site-footer-content .calendar-caption {
	font-weight: 700;
	font-size: 1rem;
}

.site-footer-content .month-prev,
.site-footer-content .month-next {
	border: 1px solid #ccc;
	background: #f6f6f8;
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 0.75rem;
	cursor: pointer;
	color: #333;
}

.site-footer-content .month-prev:hover,
.site-footer-content .month-next:hover {
	background: var(--menu-yellow);
	border-color: var(--menu-yellow);
}

.site-footer-content .xo-month table,
.site-footer-content .month-dayname,
.site-footer-content .month-event-space {
	width: 100%;
	border-collapse: collapse;
}

.site-footer-content .xo-event-calendar thead th {
	font-size: 0.75rem;
	font-weight: 600;
	color: #666;
	padding: 4px 0;
}

.site-footer-content .xo-event-calendar td {
	text-align: center;
	font-size: 0.8rem;
	padding: 2px;
}

.site-footer-content .holiday-titles {
	margin-top: 10px;
	font-size: 0.75rem;
	color: #555;
	display: flex;
	align-items: center;
	gap: 6px;
}

.site-footer-content .holiday-titles span {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	vertical-align: middle;
}

.site-footer-logo {
	display: inline-block;
	margin-bottom: 18px;
}

.site-footer-logo img {
	display: block;
	height: 30px;
	width: auto;
}

.site-footer-company p {
	margin: 0 0 14px;
	font-size: 0.85rem;
	line-height: 1.9;
	color: var(--header-text-dim);
	white-space: nowrap;
}

.site-footer-company p:last-child {
	margin-bottom: 0;
}

.site-footer-nav-grid {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0 0 0 260px;
	padding: 0;
	list-style: none;
}

.site-footer-nav-grid > li > a {
	font-size: 1rem;
	font-weight: 700;
	color: var(--header-text);
	text-decoration: none;
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.site-footer-nav-grid > li > a:hover,
.site-footer-nav-grid > li > a:focus-visible {
	color: var(--menu-yellow);
}

.site-footer-subnav {
	margin: 10px 0 0;
	padding: 0 0 0 4px;
	list-style: none;
}

.site-footer-subnav li {
	margin-top: 8px;
}

.site-footer-subnav a {
	font-size: 0.82rem;
	font-weight: 400;
	color: var(--header-text-dim);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.site-footer-subnav a:hover,
.site-footer-subnav a:focus-visible {
	color: var(--header-text);
}

.site-footer-social {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 40px;
}

.site-footer-social-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	color: var(--header-text);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
}

.site-footer-social-link:link,
.site-footer-social-link:visited,
.site-footer-social-link:hover,
.site-footer-social-link:focus,
.site-footer-social-link:active {
	color: var(--header-text);
}

.site-footer-social-icon {
	display: block;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.site-footer-social-label {
	position: relative;
}

.site-footer-social-label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.site-footer-social-link:hover .site-footer-social-label::after,
.site-footer-social-link:focus-visible .site-footer-social-label::after {
	transform: scaleX(1);
}

.site-footer-content .row > .col-legal {
	border-left: 1px solid var(--header-border);
	padding-left: 40px;
	margin-left: 90px;
}

.site-footer-contact-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	height: 45px;
	margin-left: 5px;
	margin-top: 160px;
	padding: 0 28px;
	border: 1px solid #fff;
	border-radius: 8px;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer-contact-btn:hover,
.site-footer-contact-btn:focus-visible {
	background: var(--menu-yellow);
	border-color: var(--menu-yellow);
	color: var(--menu-yellow-text);
}

.site-footer-copyright {
	max-width: 1200px;
	margin-inline: auto;
	padding: 18px 32px 28px;
	border-top: 1px solid var(--header-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 24px;
	font-size: 0.75rem;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: var(--header-text-dim);
}

.site-footer-copyright p {
	margin: 0;
}

.site-footer-copyright-legal {
	color: var(--header-text-dim);
	text-decoration: none;
	transition: color 0.2s ease;
	margin-left: 25px;
}

.site-footer-copyright-legal:hover,
.site-footer-copyright-legal:focus-visible {
	color: #fff;
}

@media (max-width: 960px) {
	.footer-nav .container {
		padding: 16px 20px;
	}

	.footer-nav-list {
		justify-content: flex-start;
		gap: 8px 20px;
	}

	.site-footer-content {
		padding: 28px 20px 8px;
	}

	.site-footer-company p a {
		color: inherit;
		text-decoration: none;
	}

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

	.col-company {
		grid-column: 1 / -1;
	}

	.col-nav,
	.col-legal {
		margin-top: 10px;
	}

	.site-footer-nav-grid {
		margin-left: 0;
	}

	.site-footer-copyright {
		margin-top: 40px;
		padding: 16px 20px 24px;
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}

	.site-footer-copyright-legal {
		margin-left: 0;
	}

	.site-footer-content .row > .col-legal {
		border-left: none;
		padding-left: 0;
		margin-left: 0;
		border-top: none;
		padding-top: 0;
	}

	.site-footer-contact-btn:active {
		transition: none;
		background: #fff100;
		border-color: #fff100;
		color: var(--menu-yellow-text);
	}
}
