/* ==================================

 フッター

================================== */

.footer {
	background-color: #ebebe4;
	font-size: 13px;
	padding: 60px 0 80px;
}

.footer .footer_inner {
	max-width: 1140px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

.footer .footer_l .logo {
	max-width: 330px;
	display: block;
}

.footer .footer_l .logo img {
	width: 100%;
}

.footer .footer_l .address_wrap {
	line-height: 1.75;
}

.footer .footer_l .address_wrap .company {
	display: block;
	width: 260px;
}

.footer .footer_l .address_wrap .address {
	margin-top: 13px;
}

.footer .footer_l .address_wrap .address a {
	text-decoration: underline;
}

.footer .footer_l .address_wrap .address a:hover {
	text-decoration: none;
}

.footer .footer_l .address_wrap .copyright {
	font-size: 11px;
	margin-top: 10px;
	display: block;
}

.footer .footer_r {
	letter-spacing: 0.1em;
}

.footer .footer_r .footer_nav .nav_list {
	border-left: 1px solid #cdcdcd;
	float: left;
	line-height: 1.2em;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.footer .footer_r .footer_nav .nav_list a {
	border-bottom: 1px solid transparent;
	padding-bottom: 3px;
	-webkit-transition: .5s;
	transition: .5s;
}

.footer .footer_r .footer_nav .nav_list a:hover {
	border-color: #3e3a39;
}

.footer .footer_r .footer_nav .nav_list .level1 {
	padding-left: 18px;
}

.footer .footer_r .footer_nav .nav_list .level1:not(:first-child) {
	margin-top: 20px;
}

.footer .footer_r .footer_nav .nav_list .level2 {
	padding-left: 30px;
	margin-top: 10px;
}

.footer .footer_r .footer_nav .nav_list .level2 a {
	padding-left: 1em;
	display: inline-block;
}

.footer .footer_r .footer_nav .nav_list .level2 a:before {
	content: "-";
	margin-left: -1em;
	width: 1em;
	display: inline-block;
}

.footer .footer_r .footer_nav .nav_list:nth-child(1) {
	width: 35%;
}

.footer .footer_r .footer_nav .nav_list:nth-child(2) {
	width: 38%;
}

.footer .footer_r .footer_nav .nav_list:nth-child(3) {
	width: 27%;
}

.footer_link_tohogas {
	font-size: 0;
}

.footer_link_tohogas li {
	float: left;
	width: 50%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.footer_link_tohogas li:first-child {
	border-right: 1px solid #ecece5;
}

.footer_link_tohogas li:first-child a {
	background: url(../img/common/foot_link_tohogas_ls.svg) center center no-repeat;
	background-size: 156px auto;
}

.footer_link_tohogas li:last-child a {
	background: url(../img/common/foot_link_tohogas.svg) center center no-repeat;
	background-size: 156px auto;
}

.footer_link_tohogas a {
	display: block;
	height: 100px;
}

#totop {
	width: 55px;
	height: auto;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 100;
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
}

#totop:hover {
	opacity: .7;
}

#totop img {
	width: 100%;
	height: auto;
}

@media (min-width: 1024px) {

	.footer .footer_l {
		width: calc(100% - 760px);
		float: left;
	}
	
	.footer .footer_l .address_wrap {
		position: absolute;
		bottom: 0;
	}
	
	.footer .footer_r {
		float: right;
		width: 750px;
	}

}

@media (max-width: 1023px) {

	.footer {
		padding-top: 40px;
		padding-bottom: 35px;
	}
	
	.footer .footer_inner {
		max-width: 750px;
		margin: 0 auto;
	}
	
	.footer .footer_l {
		margin-top: 50px;
	}
	
	.footer .footer_l .address_wrap {
		margin-top: 40px;
	}

}

@media (max-width: 767px) {

	.footer .footer_l {
		margin-top: 0;
	}
	
	.footer .footer_r {
		display: none;
	}
	
	#totop {
		right: 10px;
	}

}

@media (max-width: 374px) {

	.footer_link_tohogas li:first-child a {
		background-size: 126px auto;
	}
	
	.footer_link_tohogas li:last-child a {
		background-size: 126px auto;
	}

}

