@charset "utf-8";

img{
    max-width: 100%;
    height: auto;
}

body#sitemap .main{
    background-image: none;
    background-color: #402944;
    height: 32.6rem;
}
body#sitemap .main_text_box{
    position: relative;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    top: 0;
    left: 0;
    height: 100%;
    border: none;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: unset;
}
body#sitemap .main_text_box .wrap{
    position: absolute;
    transform: unset;
    bottom: 0;
    top: unset;
    left: 0;
}
body#sitemap .main_text_box p{
    font-size: 2.4rem;
}
body#sitemap .main_text_box h2{
    color: #fff;
    font-size: 4.6rem;
    font-weight: 500;
}

.sitemapWrap{
    max-width: 115rem;
    width: 80%;
    margin: 0 auto;
    padding: 5rem 0;
    font-size: 1.6rem;
}
.sitemapWrap h3{
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #707070;
}
.sitemapBlc{
    margin-bottom: 10rem;
}
.sitemapBlc:last-child{
    margin-bottom: 0;
}
.sitemapList{
    width: 100%;
    gap: 0 2rem;
    flex-wrap :wrap;
}
.sitemapList > dt{
    width: calc( 100% / 3);
}
.sitemapList > dd{
    width: calc(( 200% / 3) - 2rem);
}
.sitemapChild{
    gap: 0 2rem;
    flex-wrap :wrap;
}
.sitemapChild > *{
    width: calc((100% - 2rem) / 2);
}
.sitemapList > dd{
}
.sitemapBlc.consulting a,
.sitemapBlc.sns .flex a,
.sitemapList a{
    display: block;
    padding: 1.5rem 0 1.5rem 3rem;
    border-bottom: 1px solid #707070;
    background: url(/grantact/img/common/icon_link.svg) left 0.25rem center / auto 1rem no-repeat;
}
.sitemapBlc.consulting a.exlink,
.sitemapBlc.sns .flex a.exlink,
.sitemapList a.exlink{
    background: url(/grantact/img/common/icon_exlink.svg) left center / auto 1.2rem no-repeat;
}
.sitemapChild{
    border-bottom: 1px solid #707070;
}
.sitemapList dt > a,
.sitemapChild li:last-child a{
    border-bottom: none;
}

.sitemapBlc.sns .flex{
    gap: 0 2rem;
}
.sitemapBlc.sns .flex > li{
    width: 50%;
    max-width: 20rem;
}
.sitemapBlc.consulting a,
.sitemapBlc.sns .flex a{
    border: none;
}


.breadcrumb{
    background: #fff;
    border-bottom: 1px solid #dbdbdb;
}
@media screen and (max-width: 1366px){
    body#sitemap .main_text_box p{width: 100%;}
}

@media screen and (max-width: 820px){
    body#sitemap .main_text_box .wrap{
        top: calc( 50% + 3rem );
        bottom: unset;
        transform: translateY(-10%);
        padding: 0;
    }
    .sitemapWrap{
        width: calc(100% - 60px);
        margin: 0 auto;
        padding: 8.5rem 0;
    }
    .sitemapWrap h3{
        margin-bottom: 0;
    }
    .sitemapChild > dt,
    .sitemapList > dt{
        width: 100%;
    }
    .sitemapChild > dt + dd,
    .sitemapList > dt + dd{
        padding-left: 5.175rem;
        width: 100%;
    }
    .sitemapChild > dt + dd{
        padding-left: 5.9rem;
    }
    .livable .sitemapList > dt + dd{
        padding-left: 5.5rem;
    }
    .sitemapChild > *{
        width: 100%;
    }
    .sitemapList > dt a,
    .sitemapChild > dt a{
        border-bottom: 1px solid #707070;
    }
    .sitemapChild dt a,
    .sitemapChild .sitemapItem > li a{
        border-bottom: none;
    }
    .sitemapBlc.consulting a, .sitemapBlc.sns .flex a, .sitemapList a{
        padding: 1.35rem 0 1.35rem 2.1rem;
    }
    .sitemapBlc{
        margin-bottom: 11.5rem;
    }
}


/*

.sitemap {
	font-size: 14px;
	float: left;
	width: 48%;
}
.sitemap + .sitemap {
	margin-left: 4%;
}
.sitemapHead {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: .75em;
}
.sitemapList {
	margin-bottom: 2em;
}
.sitemapList a span:before {
	content: ">";
	margin-right: .5em;
}
.sitemapItem {
	border-bottom: 1px solid #000;
}
.sitemapItem span {
	display: inline-block;
	padding: 1em;
}
.sitemapItem:first-child {
	border-top: 1px solid #000;
}
.sitemapItemChild {
	border-bottom: 1px solid #ccc;
}
.sitemapItemChild span {
	display: inline-block;
	padding: 1em 1em 1em 2em;
}
@media screen and (max-width: 768px){
	.sitemap {
		float: none;
		width: auto;
	}
	.sitemap,
	.sitemap + .sitemap {
		margin: 0 0 2em;
	}
	.sitemapHead {
		margin: 0 10px .75em;
	}
	.sitemapList a {
		display: block;
	}
	.sitemapItem span,
	.sitemapItemChild span {
		display: block;
		padding: 1em;
	}
}
*/
@media screen and (max-width: 360px){
    .sitemapBlc.consulting a, .sitemapBlc.sns .flex a, .sitemapList a {
        font-size: 1.35rem;
    }
}
