
/*-----------------------------

 フッター

----------------------------- */
footer {
	display: flex;
	flex-direction: column;
	margin-top: 160px;
}

footer .footer_inner {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 80px 5%;
	color: var(--second-color);
	background: var(--sub-color);
}

footer .footer_inner .info_box {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	gap: 40px;
}

footer .footer_inner .info_box p {
	line-height: 1.5;
}

footer .footer_inner .info_box .name {
	font-size: 24px;
}

footer .footer_inner .info_box .address {
	margin-top: 16px;
	font-size: 17px;
}

footer .footer_inner .info_box .address span {
	margin-right: 8px;
}

footer .footer_inner .info_box .access {
	margin-top: 6px;
	font-size: 17px;
}

footer .footer_inner .info_box a {
	display: flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin-top: 6px;
	font-size: 16px;
	font-weight: 500;
}

footer .footer_inner .info_box a img {
	width: 12px;
}

footer .footer_inner .info_box a span {
	text-decoration: underline;
}

footer .footer_inner .info_box .tel_box {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
}

footer .footer_inner .info_box .tel_box p {
	font-size: 16px;
	white-space: nowrap;
}

footer .footer_inner .info_box .tel_box p span {
	margin-right: 8px;
}

footer .footer_inner .info_box .table_box {
	flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

footer .footer_inner .info_box .table_box table {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

footer .footer_inner .info_box .table_box table thead tr {
	display: flex;
	align-items: center;
	gap: 1px;
}

footer .footer_inner .info_box .table_box table thead th {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--second-color);
	color: #fff;
	width: 70px;
	height: 56px;
	font-weight: 500;
}

footer .footer_inner .info_box .table_box table thead th:first-of-type {
	border-radius: 4px 0 0 0;
	width: 160px;
	font-size: 15px;
}

footer .footer_inner .info_box .table_box table thead th:first-of-type br {
	display: none;
}

footer .footer_inner .info_box .table_box table thead th:last-of-type {
	border-radius: 0 4px 0 0;
}

footer .footer_inner .info_box .table_box table tbody tr {
	display: flex;
	align-items: center;
	gap: 1px;
}

footer .footer_inner .info_box .table_box table tbody th,
footer .footer_inner .info_box .table_box table tbody td {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: 70px;
	height: 56px;
	background: #fff;
	color: var(--main-color);
	text-align: center;
	font-weight: 500;
}

footer .footer_inner .info_box .table_box table tbody td span {
	display: block;
	font-size: 10px;
}

footer .footer_inner .info_box .table_box table tbody th {
	border-radius: 0 0 0 4px;
	width: 160px;
	color: var(--text-color);
	font-size: 15px;
}

footer .footer_inner .info_box .table_box table tbody th br {
	display: none;
}

footer .footer_inner .info_box .table_box table tbody td:last-of-type {
	border-radius: 0 0 4px 0;
}

footer .footer_inner .info_box .table_box .note {
	margin-top: 16px;
	font-size: 14px;
}

footer .footer_inner .sitemap {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

footer .footer_inner .sitemap ul {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 20px;
}

footer .footer_inner .sitemap ul li a {
	font-size: 18px;
	font-weight: 700;
}

footer .footer_inner .sitemap .sns_box {
	display: flex;
	align-items: center;
	justify-content: right;
	gap: 16px;
}

footer .footer_inner .sitemap .sns_box .border {
	width: 2px;
	height: 25px;
	background: var(--second-color);
}

footer .footer_inner .info_box .name .sns_box.sp {
	display: none;
}

footer .footer_bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 24px 5%;
	gap: 20px 40px;
}

footer .footer_bottom img {
	width: 250px;
	height: auto;
}

footer .footer_bottom small {
	font-size: 12px;
	font-weight: 500;
}

@media screen and (max-width: 990px) {
	footer .footer_inner {
		flex-direction: column-reverse;
		align-items: center;
		gap: 48px;
	}

	footer .footer_inner .sitemap ul {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		max-width: 660px;
	}

	footer .footer_inner .sitemap .sns_box.pc {
		display: none;
	}

	footer .footer_inner .info_box {
		padding-top: 48px;
		border-top: 2px solid #7ea762;
	}

	footer .footer_inner .info_box .name {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
	}

	footer .footer_inner .info_box .name .sns_box.sp {
		display: flex;
		gap: 16px;
	}

	footer .footer_inner .info_box .name .sns_box.sp a {
		margin: 0;
	}

	footer .footer_inner .info_box .name .sns_box.sp .line img {
		width: 40px;
		min-width: 40px;
	}

	footer .footer_inner .info_box .name .sns_box.sp .insta {
		width: 40px;
		min-width: 40px;
	}

	footer .footer_inner .info_box .name .sns_box.sp .insta img {
		width: 26px;
	}

}

@media screen and (max-width: 768px) {
	footer .footer_inner .info_box {
		width: 100%;
	}

	footer .footer_inner .info_box .table_box table thead th:first-of-type {
		min-width: 128px;
		font-size: 13px;
	}

	footer .footer_inner .info_box .table_box table thead th {
		flex: 1;
		width: auto;
		padding: 0 8px;
		font-size: 13px;
	}

	footer .footer_inner .info_box .table_box table tbody th {
		width: 128px;
		min-width: 128px;
		height: 58px;
		padding: 0 8px;
		font-size: 13px;
	}

	footer .footer_inner .info_box .table_box table tbody td {
		flex: 1;
		width: auto;
		height: 58px;
		font-size: 13px;
	}

	footer .footer_bottom {
		padding: 20px 5%;
	}

	footer .footer_bottom img {
		width: 100%;
		max-width: 300px;
	}
}

@media screen and (max-width: 500px) {
	footer .footer_inner {
		align-items: flex-start;
		padding: 56px 5%;
	}

	footer .footer_inner .sitemap {
		position: relative;
		width: 100%;
	}

	footer .footer_inner .sitemap ul {
		flex-direction: column;
		align-items: flex-start;
	}

	footer .footer_inner .sitemap .sns_box.pc {
		display: flex;
		position: absolute;
		bottom: 0;
		right: 0;
	}

	footer .footer_inner .sitemap .sns_box .border {
		display: none;
	}

	footer .footer_inner .info_box .name .sns_box.sp {
		display: none;
	}

	footer .footer_inner .info_box .name {
		flex-direction: column;
	}

	footer .footer_inner .info_box .address {
		margin-top: 24px;
		font-size: 15px;
        letter-spacing: 0;
	}

	footer .footer_inner .info_box .access {
		font-size: 15px;
        letter-spacing: 0;
	}

	footer .footer_inner .info_box .table_box table thead th:first-of-type {
		min-width: 76px;
	}

	footer .footer_inner .info_box .table_box table thead th:first-of-type br {
		display: block;
	}

	footer .footer_inner .info_box .table_box table tbody th {
		min-width: 76px;
		width: 76px;
	}

	footer .footer_inner .info_box .table_box table tbody th br {
		display: block;
	}

	footer .footer_bottom {
		flex-direction: column;
	}
}

@media screen and (max-width: 400px) {
	footer .footer_inner .info_box .tel_box {
		justify-content: space-between;
		gap: 0;
	}
}