/*------------------------------------------------------
 	説明
/*------------------------------------------------------
	
*/

/* 共通 */
:root {

	/* width <= 1200 ------------------------------------------------------- */
	--footer-navi-height: 40px;
}

footer {
	display: block;
	position: relative;
	bottom: 0;
	height: auto;
	width: 100%;
	background-color: var(--theme-color);
}

#footer-navi-container {
	height: auto;
	width: 100%;
}

ul#footer-navi {
	display: flex;
	width: 94%;
	margin: 0 0 0 3%;
	padding: 0;
	list-style: none;
}

#footer-navi li {
	display: flex;
	width: auto;
}

a.footer-navi-anchors {	
	display: inline-block;
	width: auto;
	color: #fff;
	background-color: var(--theme-color);
}

.copyright {
	width: 100%;
	color: #fff;
	text-align: center;
}

/* PC */
@media (min-width: 1200px) {

	footer {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	ul#footer-navi {
		justify-content: center;
		height: var(--footer-navi-height);
	}

	#footer-navi li {
		height: var(--footer-navi-height);
	}

	.footer-navi-anchors {	
		height: var(--footer-navi-height);
		line-height: 2.7;
		padding-left: 10px;
		padding-right: 10px;
		font-size: 1rem;
	}
	
	.footer-navi-anchors:hover {
		color: var(--theme-color);
		background: #fff;
		transition: var(--hover-transition);
	}
	
	.copyright {
		height: 25px;
		line-height: 2;
		font-size: 0.8rem;
	}
}

/* (992px <= width < 1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {

	footer {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
	ul#footer-navi {
		justify-content: center;
		height: calc(var(--footer-navi-height) * 0.8);
	}

	#footer-navi li {
		height: calc(var(--footer-navi-height) * 0.8);
	}

	.footer-navi-anchors {	
		height: calc(var(--footer-navi-height) * 0.8);
		line-height: 2.5;
		padding-left: 8px;
		padding-right: 8px;
		font-size: 0.8rem;
	}
	
	.footer-navi-anchors:hover {
		color: var(--theme-color);
		background: #fff;
		transition: var(--hover-transition);
	}
	
	.copyright {
		height: 20px;
		line-height: 2;
		font-size: 0.64rem;
	}
}

/* SP */
/* (768px <= width < 992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
	
	footer {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	ul#footer-navi {
		justify-content: center;
		height: var(--footer-navi-height);
	}

	#footer-navi li {
		height: var(--footer-navi-height);
	}

	.footer-navi-anchors {	
		height: var(--footer-navi-height);
		line-height: 2.7;
		padding-left: 10px;
		padding-right: 10px;
		font-size: 1rem;
	}
		
	.copyright {
		height: 25px;
		line-height: 2;
		font-size: 0.8rem;
	}
}

/* (576px <= width < 768px) */
@media (min-width: 576px) and (max-width: 767.98px) {

	footer {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	ul#footer-navi {
		justify-content: center;
		height: var(--footer-navi-height);
	}

	#footer-navi li {
		height: var(--footer-navi-height);
	}

	.footer-navi-anchors {	
		height: var(--footer-navi-height);
		line-height: 2.7;
		padding-left: 10px;
		padding-right: 10px;
		font-size: 1rem;
	}
		
	.copyright {
		height: 25px;
		line-height: 2;
		font-size: 0.8rem;
	}
}

/* (320px <= width < 576px) */
@media (min-width: 320px) and (max-width: 575.98px) {

	footer {
		padding-top: 6px;
		padding-bottom: 6px;
	}

	ul#footer-navi {
		flex-wrap: wrap;
		height: auto;
	}

	#footer-navi li {
		justify-content: center;
		height: calc(var(--footer-navi-height) * 0.6);
		width: 100%;
	}

	.footer-navi-anchors {	
		height: calc(var(--footer-navi-height) * 0.6);
		width: auto;
		line-height: 2;
		padding-left: 8px;
		padding-right: 8px;
		font-size: 0.8rem;
	}

	.copyright {
		height: 20px;
		line-height: 2;
		font-size: 0.5rem;
	}
}

/* (width < 320px) */
@media (max-width: 319.98px) {
	/* TODO */
}
