/* =============================================================
   HP テンプレート フッター
   ============================================================= */

.oc-hp-footer {
	background: #2B4857;
	color: #fff;
	padding: 4rem 0 0;
}

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

.oc-hp-footer__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.oc-hp-footer__body {
	display: flex;
	gap: 3rem;
	padding-bottom: 3rem;
}

.oc-hp-footer__contents {
	flex: 0 0 32%;
}

.oc-hp-footer__logo img {
	max-height: 56px;
	width: auto;
	display: block;
}

.oc-hp-footer__logo-text {
	font-size: 1.5rem;
	font-weight: 700;
}

.oc-hp-footer__meta {
	font-size: 0.85rem;
	opacity: 0.85;
	margin-top: 1rem;
}

.oc-hp-footer__address {
	font-size: 0.95rem;
	line-height: 1.7;
	margin-top: 1rem;
}

.oc-hp-footer__sns {
	list-style: none;
	display: flex;
	gap: 1rem;
	padding: 0;
	margin-top: 1.5rem;
}

.oc-hp-footer__sns a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	transition: background 0.2s;
}

.oc-hp-footer__sns a:hover {
	background: rgba(255, 255, 255, 0.1);
}

.oc-hp-footer__nav-wrap {
	flex: 1;
}

.oc-hp-footer__menus {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem 2rem;
	padding: 0;
	margin: 0;
}

.oc-hp-footer__menus > li > a {
	display: block;
	padding: 0.5rem 0;
	font-size: 0.9rem;
	transition: opacity 0.2s;
}

.oc-hp-footer__menus > li > a:hover {
	opacity: 0.7;
}

.oc-hp-footer__menus .sub-menu {
	list-style: none;
	padding: 0;
	margin: 0.5rem 0 0;
}

.oc-hp-footer__menus .sub-menu > li > a {
	display: block;
	padding: 0.25rem 0;
	font-size: 0.8rem;
	opacity: 0.75;
}

.oc-hp-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 1.5rem 0;
	text-align: center;
}

.oc-hp-footer__copyright {
	font-size: 0.8rem;
	opacity: 0.7;
	margin: 0;
}

@media (max-width: 900px) {
	.oc-hp-footer {
		padding: 3rem 0 0;
	}

	.oc-hp-footer__body {
		flex-direction: column;
		gap: 2rem;
		padding-bottom: 2rem;
	}

	.oc-hp-footer__menus {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Fixed bottom menu 分の余白確保 */
	body {
		padding-bottom: 64px;
	}
}

/* ==== Fixed bottom menu (SP) ==== */
.oc-hp-fix-menu {
	display: none;
}

@media (max-width: 900px) {
	.oc-hp-fix-menu {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 100;
		background: #fff;
		box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
	}

	.oc-hp-fix-menu__btn {
		display: flex;
		align-items: stretch;
	}

	.oc-hp-fix-menu__web {
		flex: 0 0 54%;
		background: var(--wp--preset--color--primary, #2B4857);
		color: #fff;
	}

	.oc-hp-fix-menu__tel {
		flex: 1;
		background: #E5EEF5;
		color: var(--wp--preset--color--primary, #2B4857);
	}

	.oc-hp-fix-menu__web a,
	.oc-hp-fix-menu__tel a {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
		padding: 0.75rem;
		font-weight: 700;
		color: inherit;
		text-decoration: none;
	}

	.oc-hp-fix-menu__web a {
		gap: 0.5rem;
	}

	.oc-hp-fix-menu__web-icon,
	.oc-hp-fix-menu__web-arrow {
		flex-shrink: 0;
		display: inline-flex;
		align-items: center;
	}

	.oc-hp-fix-menu__web-text {
		font-size: 1rem;
		line-height: 1.3;
	}

	.oc-hp-fix-menu__tel a {
		flex-direction: column;
		gap: 0.125rem;
		padding: 0.5rem 0.75rem;
	}

	.oc-hp-fix-menu__tel-row {
		display: flex;
		align-items: center;
		gap: 0.25rem;
		font-size: 0.625rem;
		line-height: 1.3;
	}

	.oc-hp-fix-menu__tel-number {
		font-size: 1.125rem;
		font-weight: 700;
		line-height: 1;
		margin: 0;
	}
}
