@charset "UTF-8";

/**************************************************/
/* フッター */
/**************************************************/

/* バナー */
footer ul.bana {
	padding: 4rem 5%;
	line-height: 0;
	display: flex;
	justify-content: center;
	background: #aaa;
}
footer ul.bana li {
	margin: 0 0.5rem;
}
footer ul.bana li img {
	max-height: 100px;
}

/* SNS */
footer ul.sns {
	margin: 4rem -3px;
	display: flex;
}
footer ul.sns li {
	line-height: 0;
}
footer ul.sns li a {
	display: block;
	margin: 0 3px;
	width: 50px;
	height: 50px;
	border-radius: 50px;
	line-height: 46px;
	text-align: center;
	font-size: 25px;
	background: #000;
	color: #fff;
}
footer ul.sns li a i {
	margin: 0;
}

/* サイトマップ */
footer #sitemap {
	width: 100%;
}
footer #sitemap li {
	width: 100%;
	margin: 0;
	line-height: 1.6;
}
footer #sitemap li:before {
	content: "-";
	margin-right: 0.5rem;
}

/* するする戻るやつ */
html {
    scroll-behavior: smooth;
    position: relative;
}
.pagetop {
    height: 40px;
    width: 40px;
	margin: 0;
    position: absolute;
    right: 	5px;
    bottom: 15px;
    z-index: 2;
	line-height: 0;
}
.pagetop a {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 38px;
	text-align: right;
	font-size: 25px;
    border-radius: 50%;
    transform:rotate(-90deg);
}
.pagetop a i {
	margin: 0;
}


/* コピーライト */
footer .copy {
	margin: 0 0 4rem ;
	text-align: center;
}

/**************************************************/
/* スマホの時 */
/**************************************************/
@media only screen and (max-width: 500px) {
	/* フッターバナー */
	footer ul.bana {
		justify-content: space-between;
		flex-wrap: wrap;
	}
	footer ul.bana li {
		width: 48.5%;
		margin: 0.5rem 0;
	}
	footer ul.bana li:nth-child(3) {
		width: 100%;
	}
	footer ul.bana li img {
		width: 100%;
		height: auto;
		max-height: none;
	}
}


/**************************************************/
/* タブレットの時 */
/**************************************************/
@media only screen and (min-width: 768px) {
	footer .flex {
		margin-top: -6rem;
	}
	footer .flex .column3 section {
		margin: 8rem 0 0;
	}
}