@charset "utf-8";
/* CSS Document */

/* ページタイトル */
.page_title {
	background: url("../../common/img/title/sitemap.webp") no-repeat center center;
	background-size: cover;
}

/* サイトマップ */
.sitemap {
	max-width: 1120px;
	width: 100%;
	margin: var(--space-65) auto var(--space-65) ;
	display: flex;
	flex-wrap: wrap;
	margin-inline: auto;
	a {
		display: inline-flex;
		gap: 18px;
		transition: all .05s;
		margin-bottom: 1.5em;
	}
	a[target="_blank"] {
		position: relative;
	}
	a[target="_blank"]::after {
		content: "";
		width: 16px;
		height: 16px;
		display: inline-block;
		background: url("../../common/img/external_icon.webp") no-repeat center center;
		position: absolute;
		right: -22px;
		top: 5px;
	}
	a:hover {
		text-decoration: underline var(--main-color);
		text-underline-offset: .8ex;
	}
	a::before {
		content: "";
		width: 8px;
		height: 8px;
		margin-top: 0.75em;
		border-top: 1px solid var(--main-color);
		border-right: 1px solid var(--main-color);
		display: inline-flex;
    transform: rotate(45deg);
	}
}
.sitemap_lower {
	width: 100%;
	max-height: 1800px;
  height: auto;
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	gap: 0 100px;
	a {
		margin-bottom: 1.5em;
	}
}
.sitemap_under a {
	margin-bottom: 1.5em;
}
.sitemap_under:has(.sitemap_under) > li > a {
	margin-bottom: 0.8em;
}
.sitemap_under > li > .sitemap_under a {
	margin-bottom: 0.8em;
	font-size: var(--small-txt);
	&::before {
		content: "";
		width: 10px;
		height: 1px;
		margin-top: 0.75em;
		display: inline-flex;
    background: var(--main-color);
		transform: rotate(0);
	}
}
.sitemap_under > li > .sitemap_under li:last-child a {
	margin-bottom: 1.5em;
}
.sitemap_lower,.sitemap_under {
	margin-left: 1.5em;
	line-height: 1.5;
}

@media screen and (max-width: 767px){
	.sitemap_lower {
		max-height: 100%;
		width: auto;
	}
	.sitemap a {
		margin-bottom: 1em;
	}
}