@charset "utf-8";

footer {
	background: #004ba4;
}

footer li {
	list-style: none;
}

footer a,
footer a:visited,
footer a:link {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: .3s ease 0s;
}

footer a:hover {
	opacity: 0.6;
}

footer .inner {
	position: relative;
	padding: 60px 40px;
	text-align: left;
	width: 1280px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	z-index: 10;
	margin-top: 100px;
}

.nav_01,
.nav_02 {
	width: 23%;
}

.nav_03 {
	width: 50%;
	display: flex;
	justify-content: space-between;
}

.nav_03 ul {
	width: 48%;
}

.nav_04 {
	width: 100%;
	position: relative;
	margin-top: 50px;
}

footer div li {
	padding: 20px 0 !important;
	border-bottom: 1px solid #3371b5 !important;;
}

li.sub,
.nav_04 li {
	padding: 0 !important;
	border: none !important;;
}

li.sub ul {
	padding-top: 20px;
}

li.sub li {
	padding: 3px 0 !important;
	border: none !important;
	font-size: 14px;
}

.quo_01 li a {
	position: relative;
	padding-left: 15px;
}

.quo_01 li a:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 5px;
	height: 5px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: translateY(-50%) rotate(45deg);
}

.sns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.sns li {
	margin-right: 10px;
}

.sns li img {
	width: 36px;
	height: 36px;
}

footer .subLink {
	font-size: 12px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	padding-bottom: 20px;
}

footer .subLink li {
	margin-left: 3%;
}

footer .subLink a {
	color: #fff;
	text-decoration: none;
}

.totop {
	position: absolute;
	top: -30px;
	right: 40px;
	width: 60px;
	height: 60px;
}

.totop a {
	display: block;
}

.totop a img {
	width: 100%;
}

.totop a:hover {
	opacity: 1;
}

.copyright {
	text-align: right;
	font-size: 12px;
	color: #fff;
}

.inner.sp {
	display: none;
}

@media only screen and (max-width: 1280px) {
	
	footer .inner {
		width: 100%;
		padding: 20px 40px;
	}
	
	.totop {
		right: 4%;
	}
}

@media only screen and (max-width: 768px) {
	
	.nav_01,
	.nav_02 {
		width: 30%;
	}
	
	.nav_03 {
		width: 30%;
		display: block;
	}
	
	.nav_03 ul {
		width: 100%;
	}
	
	.nav_04 {
		margin-top: 8%;
	}
	
	footer div li {
		padding: 6% 0 !important;
		line-height: 100%;
	}
	
	footer div li a {
		font-size: 2vw;
	}
	
	.quo_01 li a {
		padding-left: 8%;
	}
	
	footer li.sub li {
		padding: 4% 0;
	}
	
	footer li.sub li a {
		font-size: 1.8vw;
	}
	
	footer .subLink li a {
		font-size: 1.6vw;
	}
	
	.copyright {
		font-size: 1vw;
	}
}

@media only screen and (max-width: 480px) {
	
	.inner.pc {
		display: none;
	}
	
	.inner.sp {
		display: block;
		padding: 0;
		padding-top: 5%;
	}
	
	.main_nav {
		display: flex;
		justify-content: space-between;
		width: 100%;
		padding: 0 20px;
		margin: auto;
	}
	
	.inner.sp .nav_01,
	.inner.sp .nav_02 {
		width: 46%;
	}
	
	footer .inner.sp li {
		padding: 12% 0 !important;
	}
	
	footer .inner.sp li a {
		font-size: 4vw;
	}
	
	.inner.sp .sns {
		position: inherit;
		top: inherit;
		left: inherit;
		transform: none;
		justify-content: center;
	}
	
	footer .inner.sp .sns li {
		padding: 0 !important;
		margin: 0 2%;
	}
	
	.sns li img {
		width: 42px;
		height: 42px;
	}
	
	footer .inner.sp .subLink {
		justify-content: center;
		padding: 5% 0;
	}
	
	footer .inner.sp .subLink li {
		margin: 0 2%;
		padding: 1% 0 !important;
	}
	
	footer .inner.sp .subLink li a,
	.copyright {
		font-size: 2.4vw;
	}
	
	.nav_04 {
		margin-top: 6%;
	}
	
	.copyright {
		text-align: center;
		padding: 3% 0;
		background: #fff;
    	color: #004ba3;
	}
}