@charset "UTF-8";

/* ========================================
   フッター（参照: Ace-Inc #footer）
   ======================================== */

#footer {
	width: 100%;
	background: #f2f2f2;
	color: #152433;
}

#footer a {
	color: inherit;
	text-decoration: none;
}

#footer_inner {
	width: min(800px, 100%);
	margin: 0 auto;
	padding: 100px 0 70px;
	position: relative;
	box-sizing: border-box;
}

/* バナー一覧 */
#footer_banner {
	margin: 0 0 50px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

#footer_banner .item {
	width: calc(50% - 5px);
	height: 150px;
	overflow: hidden;
	position: relative;
}

#footer_banner .item a {
	display: block;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 1;
}

#footer_banner .item .caption {
	z-index: 3;
	position: absolute;
	text-align: center;
	inset-inline: 0;
	top: 50%;
	translate: 0 -50%;
	padding: 0 12px;
	pointer-events: none;
}

#footer_banner .item .title {
	margin: 0;
	line-height: 1.6;
	font-size: 24px;
	font-weight: 500;
	color: #fff;
}

#footer_banner .item .desc {
	margin: 0;
	line-height: 1.8;
	font-size: 14px;
	color: #fff;
}

#footer_banner .item .overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

#footer_banner .item .image {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	z-index: 1;
	transition: transform 0.75s ease;
}

#footer_banner .animate_background:hover .image {
	transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
	#footer_banner .item .image {
		transition: none;
	}

	#footer_banner .animate_background:hover .image {
		transform: none;
	}
}

/* ロゴ */
#footer_logo {
	margin: 0 auto;
	text-align: center;
}

#footer_logo .logo {
	line-height: 1;
	padding: 0;
	font-weight: 500;
	margin: 0;
}

#footer_logo img {
	display: block;
	margin: 0 auto 20px;
	width: 450px;
	max-width: 100%;
	height: auto;
}

#footer_logo .mobile_logo_image {
	display: none;
}

/* インフォメーション */
#footer_information {
	text-align: center;
	margin: 0 0 20px;
}

#footer_information p {
	margin: 0;
	font-size: 16px;
	line-height: 1.8;
}

/* フッターメニュー */
#footer_menu {
	width: 100%;
	background: #fff;
	height: 54px;
	line-height: 54px;
}

#footer_menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0;
	text-align: center;
}

#footer_menu ul li {
	display: inline;
	font-size: 14px;
	margin: 0 19px;
}

#footer_menu ul li a:hover {
	color: #666;
}

/* コピーライト */
#copyright {
	width: 100%;
	margin: 0;
	line-height: 60px;
	height: 60px;
	font-size: 12px;
	text-align: center;
	background: #333;
	color: #fff;
}

/* ページ上部へ戻る */
#return_top {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 999;
	transform: translate3d(0, 100%, 0);
	transition: transform 0.35s;
}

#return_top.active {
	transform: translate3d(0, 0, 0);
}

#return_top a {
	background: #222;
	display: block;
	height: 60px;
	width: 60px;
	line-height: 60px;
	text-decoration: none;
	position: relative;
	color: #fff;
}

#return_top a:hover {
	color: #fff;
}

#return_top span {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	display: block;
}

#return_top a::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 10px;
	border-inline-start: 2px solid #fff;
	border-block-start: 2px solid #fff;
	translate: -50% -30%;
	rotate: 45deg;
	box-sizing: border-box;
}

@media (prefers-reduced-motion: reduce) {
	#return_top {
		transition: none;
	}
}

/* レスポンシブ */
@media (width <= 950px) {
	#footer_inner {
		padding: 60px 0 27px;
	}

	#footer_banner {
		margin: 0 30px 50px;
	}

	#footer_banner .item {
		height: 160px;
	}

	#footer_information {
		margin: 0 30px 20px;
	}

	#footer_information p {
		font-size: 14px;
	}

	#return_top a {
		height: 50px;
		width: 50px;
		line-height: 50px;
	}

	#copyright {
		line-height: 50px;
		height: 50px;
	}
}

@media (width <= 750px) {
	#footer_logo img {
		margin: 0 auto 10px;
		width: 280px;
	}

	#footer_logo .pc_logo_image {
		display: none;
	}

	#footer_logo .mobile_logo_image {
		display: block;
	}
}

@media (width <= 650px) {
	#footer_inner {
		padding: 40px 0 10px;
	}

	#footer_banner {
		margin: 0 20px 30px;
	}

	#footer_banner .item {
		height: 125px;
	}

	#footer_banner .item .title {
		font-size: 20px;
	}

	#footer_information {
		margin: 0 20px 20px;
	}

	#footer_information p {
		font-size: 12px;
	}

	#footer_menu {
		height: auto;
		line-height: 2;
	}

	#footer_menu ul {
		padding: 30px 0;
	}

	#footer_menu ul li {
		display: block;
		margin: 0;
	}

	#footer_menu ul li a {
		display: block;
		padding: 3px 20px;
	}
}

@media (width <= 500px) {
	#footer_banner .item {
		width: 100%;
		height: 125px;
	}
}
