@charset "UTF-8";

/* ===== Extracted from page-sitemap.php block 1 ===== */
.p-sitemap .c-title{
  margin-bottom:80px;
}

.l-sitemapWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
}

.l-sitemapWrap.l-sitemapWrap__post{
    display: block;
}

.l-sitemap {
  flex: 1 1 calc(25% - 40px); /* 4カラム想定 */
  min-width: 260px;
}

.l-sitemap__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1em;
  border-bottom: 2px solid #ddd;
  padding-bottom: .3em;
}

.l-sitemap__content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-sitemap__content li {
  margin-bottom: .6em;
}

.l-sitemap__content a {
  text-decoration: none;
  color: var(--text-color, #333);
}

.l-sitemap__content a:hover {
  text-decoration: underline;
}

/* ================================
   新着情報
================================ */
.l-sitemap__newArticleWrap {
  margin-bottom: 2em;
}

.l-sitemap__subtitle {
  font-weight: 700;
  margin-bottom: .5em;
  font-size: 1.8rem;
}

.l-sitemap__newArticleList {
  list-style: disc;
  padding: 0;
  margin-left: 2rem;
}

.l-sitemap__newArticleList li {
  margin-bottom: .4em;
}

.l-sitemap__newArticleList a {
  text-decoration: none;
  color: var(--text-color, #333);
}

.l-sitemap__newArticleList a:hover {
  text-decoration: underline;
}

/* ================================
   都道府県一覧
================================ */
.l-sitemapHomeWrap {
  margin-bottom: 80px;
}

.l-sitemapHome {
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 2.2rem;
}

.l-sitemap__groupHomeList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.l-sitemap__groupHomeItem > a {
  text-decoration: none;
  color: var(--text-color, #333);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
}

/* 子要素（市区町村） */
.l-sitemapgroupCityList {
  display: flex;
  flex-wrap: wrap;
  gap: .3em .8em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-sitemapgroupCityItem {
  position: relative;
  padding-right: .6em;
}

.l-sitemapgroupCityItem::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #aaa;
}

.l-sitemapgroupCityItem:last-child::after {
  content: "";
}

.l-sitemapgroupCityItem a {
  text-decoration: none;
  color: var(--text-color, #333);
}

/* ================================
   レスポンシブ
================================ */
@media (max-width: 768px) {
  .l-sitemapWrap {
    flex-direction: column;
    gap: 60px;
  }

  .l-sitemap {
    flex: 1 1 100%;
  }

  .l-sitemap__groupHomeList {
    grid-template-columns: 1fr;
  }
}
