/* footer.css - AdveCamp WordPress Theme */

footer {
	background-color: #ffffff;
	color: #000000;
	padding: 50px 20px 20px;
	position: relative;
	z-index: 970;
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

footer .logo {
	color: #000000;
	font-size: 1.8rem;
}

.logo-top {
	display: flex;
	margin-bottom: 20px;
	align-items: center;
}

.sns {
	margin-top: 5px;
	display: flex;
	gap: 15px;
}

.sns-logo img {
	width: 40px;
	height: 40px;
	margin-left: clamp(10px, 3vw, 30px);
	transition: transform 0.3s ease;
}

.sns-logo:hover img {
	transform: scale(1.05);
}

.footer-link1, .footer-link2, .footer-link3, .footer-link4 {
	margin-bottom: 30px;
	list-style: none;
	padding: 0;
}

.footer-link1 h1, .footer-link2 h1, .footer-link3 h1, .footer-link4 h1 {
	font-size: 1.2rem;
	margin-bottom: 15px;
	color: #000000;
}

.footer-link1 li, .footer-link2 li, .footer-link3 li, .footer-link4 li {
	list-style: none;
	margin-bottom: 8px;
}

.footer-link1 a, .footer-link2 a, .footer-link3 a, .footer-link4 a {
	color: #5D6C72;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
	padding: 2px 0;
}

.footer-link1 a:hover, .footer-link2 a:hover, .footer-link3 a:hover, .footer-link4 a:hover {
	text-decoration: underline;
}

/* WordPress wp_nav_menu が生成するul/liへの対応 */
.footer-link1 ul, .footer-link2 ul, .footer-link3 ul, .footer-link4 ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-link1 ul li a, .footer-link2 ul li a,
.footer-link3 ul li a, .footer-link4 ul li a {
	color: #5D6C72;
	text-decoration: none;
	transition: color 0.3s ease;
	display: block;
	padding: 2px 0;
	margin-bottom: 8px;
}

.footer-link1 ul li a:hover, .footer-link2 ul li a:hover,
.footer-link3 ul li a:hover, .footer-link4 ul li a:hover {
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
}

.lang-change select {
	padding: 8px 16px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid #ccc;
	border-radius: 4px;
	color: #5d6c72;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.lang-change select:hover {
	border-color: #999;
}

.copyright p {
	font-size: 0.9rem;
	color: #5D6C72;
	margin: 0;
}

@media (max-width: 768px) {
	footer {
		padding: 30px 15px 15px;
	}

	.main-footer {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.logo-top {
		flex-direction: column;
		gap: 10px;
		margin-bottom: 15px;
	}

	footer .logo {
		font-size: 1.4rem;
	}
}

@media (max-width: 480px) {
	.main-footer {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 768px) {
	.main-footer {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 30px;
	}
}