

/* **************************
   footer
************************** */

.footer {
	background: #fff;
	color: #111;
}

/* sns */
.ftr_sns_list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	text-align:center;
}
.ftr_sns_item {
	box-shadow: 0 0 0 1px #707070;
	width: 44px;
	height: 44px;
	line-height: 44px;
	box-sizing: border-box;
	text-align: center;
	display: inline-block;
	border-radius: 50%;
	margin:0 6px;
	transition:all .4s;
}
.ftr_sns_item a {
	display:block;
	transition:all .4s;
	color: #111;
}

.ftr_sns_item:first-child {
	margin-left: 0;
}

.ftr_sns_item:last-child {
	margin-right: 0;
}

body:not(.isTouch) .ftr_sns_item.twitter:hover {
	box-shadow: 0 0 0 6px #00aced;
}

body:not(.isTouch) .ftr_sns_item.facebook:hover {
	box-shadow: 0 0 0 6px  #3b5998;
	box-sizing: border-box;
}
body:not(.isTouch) .ftr_sns_item.twitter a:hover {color:#00aced;}
body:not(.isTouch) .ftr_sns_item.facebook a:hover {color:#3b5998;}


/* contact */
.footer-contact {
	text-align: center;
}
.footer-contact-link {
	text-decoration: none;
	color: inherit;
	display: inline-block;
	font-size: 36px;
	font-weight: bold;
	line-height: 1;
	letter-spacing: -.02em;
	border-bottom: 1px solid #111;
	padding: 0 0 2px;
	transition: all 0.15s ease;
}
body:not(.isTouch) .footer-contact-link:hover {
	color: #b7b7b7;
	border-bottom-color: transparent;
}
.copyright {
	display: block;
	font-size: 12px;
	line-height: 1;
	letter-spacing: .02em;
	padding: 21px 0 6px;
	color: #707070;
}

/* menu */
.footer-menu {
	overflow: hidden;/*clearfixの代替*/
}
.footer-menu-list {
	float: right;
	text-align: right;
}
.footer-menu-link {
	text-decoration: none;
	color: inherit;
	display: block;
	padding: 4px 0;
	font-size: 13px;
	transition: all 0.15s ease;
}
body:not(.isTouch) .footer-menu-link:hover {
	opacity: .3;
}

/* pagetop */

.gotop {
	text-decoration: none;
	color: #707070;
}

.gotop_text {
	display: block;
	line-height: 1.2;
	padding: 1em;
	text-align: center;
}

.gotop .lineArrow_up {
	height: 40px;
	background: #707070;
}

body:not(.isTouch) .gotop:hover .lineArrow_up {
	transform: translate(0, 5px);
}

/* スマホ */
@media (max-width: 767px) {
	
	.footer {
		padding: 0 40px 40px;
	}

	.footer-inr {
		display:block;
		max-width: 1120px;
		min-height: auto;
		margin: 0 auto;
	}

	.footer-contents {
		display:block;
	}


	.ftr_sns_list {
		text-align:center;
		display:block;
	}

	.footer-contact {
		text-align: center;
		margin-top:50px;
	}
	.footer-contact-link {
		font-size: 36px;
	}

	.footer-sns {
		display:block;
		text-align:center;
		margin:40px 0 0 0;
	}

	.footer-menu {
		display:block;
		text-align:center;
		margin:50px 0 0 0;
	}

	.footer-menu-list {
		float: none;
		text-align: center;
	}
	.copyright {
		display: none;
	}
	
	.gotop_text {
		font-size: 11px;
	}

	.copy {
		display: block;
		font-size: 12px;
		line-height: 1;
		letter-spacing: .02em;
		margin: 40px 0 0px;
		color: #707070;
		text-align:center;
	}
}

@media (max-width: 480px) {

	.footer {
		padding-left: 20px;
		padding-right: 20px;
	}

	.footer-contact-link {
		font-size: 24px;
	}

	.footer-menu-link {
		font-size: 9px;
	}

	.copy {
		font-size: 8px;
	}
}

/* スマホより大きいとき */
@media (min-width: 768px) {

    .footer {
		padding: 0 40px;
	}

	.footer-contents {
		min-height: 540px;
		position: relative;/* gotopの起点 */
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
			-ms-flex-pack: justify;
				justify-content: space-between;
		-webkit-box-align: center;
			-ms-flex-align: center;
				align-items: center;
		-webkit-box-flex:1;
		-ms-flex:1;
			flex:1;/* width:100% */
	}

	

	.footer-sns,
	.footer-menu {
		-webkit-box-flex:1;
			-ms-flex:1;
				flex:1;/* contactが中央に来るように、snsとmenuの幅を同じにする */
	}

	.gotop {
		position: absolute;
		top: 0;
		left: 50%;
		transform: translate(-50%,0);
	}

	.goto_text {
		font-size: 13px;
	}

	.copy{display:none;}

}

@media all and (-ms-high-contrast:none) and (min-width: 768px){
	.footer-contents {
		height: 540px;/* ie11で align-items: center; か聞かない*/
	}
}

