/* Contact */
.contact {
	padding: 120px 0 50px;
}

.contact_wrapper {
	margin: 0 auto;
	max-width: 1243px;
}

.contact-outer-box {
	max-width: 1243px;
	margin: 0 min(2.544%, 10px) 40px;
	background: linear-gradient(135deg, #e11b1b 14%, #a50202 90%);
	border-radius: 20px;
	padding: 20px;
	box-shadow: 0 20px 60px rgba(230, 0, 18, 0.2);
	aspect-ratio: 1223/488;
}

.contact-inner-link {
	/* width: 100%; */
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-decoration: none;
	/* background: linear-gradient(135deg, #f03e4b 0%, #d9000f 100%); */
	background-color: #ffffff20;
	border-radius: 20px;
	padding: 60px 80px;
	color: #fff;
	transition: all 0.3s ease;
}

.contact-label {
	font-size: 16px;
	font-weight: 500;
	position: relative;
	padding-left: 1.2em;
}

.contact-label::before {
	content: "";
	display: block;
	width: 6.75px;
	height: 6.75px;
	background-color: #ffffff;
	border-radius: 1.35px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.3s ease;
}

.contact-inner-link:hover {
	/* transform: translateY(-5px); */
	/* transform: scale(1.01, 1.02); */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	background-color: #ffffff90;
	color: #a50202;
	.contact-label::before {
		background-color: #a50202;
	}
}

.contact-title {
	font-size: 64px;
	font-weight: 900;
	margin-top: 10px;
	line-height: 1.2;
	letter-spacing: 1px;
}

.contact-arrow-circle {
	flex-shrink: 0; /* コンテナが縮んでも円が潰れないようにする */
	width: 80px;
	height: 80px;
	background-color: #fff;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.3s ease;
}

.contact-inner-link:hover .contact-arrow-circle {
	transform: scale(1.1);
}

.contact-arrow-icon {
	display: block;
	width: 24px;
	height: 24px;
	position: relative;
}

.contact-arrow-icon::after {
	content: "→";
	font-family: sans-serif;
	font-size: 24px;
	font-weight: bold;
	color: #cb2020;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.3s ease;
}

.contact-inner-link:hover .contact-arrow-icon::after {
	transform: translate(-50%, -50%) translateX(5px);
}

@media screen and (max-width: 768px) {
	.contact-outer-box {
		/* margin: 0 min(2.544%, 10px) 40px; */
		padding: 30px;
		box-shadow: 0 20px 60px rgba(230, 0, 18, 0.2);
		/* aspect-ratio: 373/443; */
		aspect-ratio: initial;
	}

	.contact-inner-link {
		/* width: 100%; */
		height: 100%;
		display: flex;
		text-decoration: none;
		/* background: linear-gradient(135deg, #f03e4b 0%, #d9000f 100%); */
		background-color: #ffffff20;
		border-radius: 20px;
		/* padding: 60px 80px; */
		padding: 60px 9.584%;
		color: #fff;
		transition: all 0.3s ease;

		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
	}

	.contact-label {
		font-size: 18px;
	}

	.contact-title {
		font-size: 46px;
	}

	.contact-arrow-circle {
		margin-top: 20px;
		width: 55px;
		height: 55px;
	}

	.contact-inner-link:hover .contact-arrow-circle {
		transform: scale(1.1);
	}

	.contact-arrow-icon {
		display: block;
		width: 24px;
		height: 24px;
		position: relative;
	}

	.contact-arrow-icon::after {
		content: "→";
		font-family: sans-serif;
		font-size: 24px;
		font-weight: bold;
		color: #cb2020;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		transition: transform 0.3s ease;
	}

	.contact-inner-link:hover .contact-arrow-icon::after {
		transform: translate(-50%, -50%) translateX(5px);
	}
}

/* Footer */
.footer {
	/* max-width: 1440px; */
	width: 100%;
	margin: 0 auto;
	background-color: #1a1a1a;
	color: #fff;
	padding: 80px 0 0;
	font-size: 14px;
	position: relative;
}

.footer-container_wrapper {
	max-width: 1140px;
	margin: 0 auto;
}

.footer-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start; /* 要素を上揃えにする */
	/* padding: 0 min(2.544%, 10px); */
	/* padding: 0 21.527% 0 10.347%; */
	padding: 0 20.069% 0 10.347%;
}

/* @media screen and (max-width: 1160px) {
	.footer-container {
		padding: 0 6%;
	}
} */

.footer-logo {
	font-size: 60px;
	font-weight: 900;
	line-height: 1;
	margin-bottom: 23px;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}

.footer-logo:hover {
	opacity: 0.7;
}

.footer-address p {
	/* margin: 0 0 8px 0; */
	line-height: 1.4;
	color: #ccc;
	font-size: 14px;
}

.footer-right {
	padding-top: 10px; /* ロゴとの高さの微調整 */
}

.footer-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	/* text-align: right; */
	text-align: justify;
}

.footer-nav li {
	margin-bottom: 5px;
}

.footer-nav li:last-child {
	margin-bottom: 0;
}

.footer-nav a {
	color: #fff;
	text-decoration: none;
	font-size: 15px;
	transition: opacity 0.3s;
}

.footer-nav a:hover {
	opacity: 0.7;
}

.copyright {
	/* position: absolute;
	bottom: 4%;
	left: 50%;
	transform: translateX(-50%); */
	text-align: center;
	padding: 40px 0 10px;
}

@media screen and (max-width: 620px) {
	.footer-container {
		flex-direction: column;
		justify-content: space-between;
		align-items: flex-start; /* 要素を上揃えにする */
		/* padding: 0 min(2.544%, 10px); */
		padding: 0 21.527% 0 10.347%;
	}

	.footer-nav ul {
		list-style: none;
		padding: 0;
		margin: 0;
		text-align: left;
	}
}
