/* ============================================================
   サイトマップページ（template-parts/content/sitemap.php）
   ============================================================ */

.sitemap-intro {
  font-size: 15px;
  line-height: 2;
  color: #243228;
  background: #f3f8f2;
  border: 1px solid #cfe0ce;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 44px;
}
.sitemap-intro p {
  margin: 0;
}

.sitemap-groups {
  display: flex;
  flex-direction: column;
  gap: 46px;
}
.sitemap-group {
  scroll-margin-top: 104px;
}

.sitemap-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
}
.sitemap-group-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef5ef;
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
}
.sitemap-group-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sitemap-group-title small {
  display: block;
  margin-top: 3px;
  font-family: Outfit, sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--green-2);
  font-weight: 700;
}

.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sitemap-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition:
    box-shadow 0.25s,
    transform 0.25s,
    border-color 0.25s;
}
.sitemap-item:hover {
  border-color: var(--green);
  box-shadow: 0 10px 24px rgba(23, 50, 31, 0.09);
  transform: translateY(-3px);
}
.sitemap-item-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #eef5ef;
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
  transition: 0.25s;
}
.sitemap-item:hover .sitemap-item-icon {
  background: var(--green);
  color: #fff;
}
.sitemap-item-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sitemap-item-body {
  flex: 1;
  min-width: 0;
}
.sitemap-item-body h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.sitemap-item-body p {
  margin: 0;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.sitemap-item-arrow {
  color: var(--green);
  flex: none;
  transition: transform 0.25s;
}
.sitemap-item-arrow svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sitemap-item:hover .sitemap-item-arrow {
  transform: translateX(4px);
}
.sitemap-item-current {
  border-color: var(--green);
  background: #f6faf6;
}
.sitemap-badge {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5c6b61;
  background: #eef2ee;
  border-radius: 10px;
  padding: 3px 9px;
  line-height: 1.4;
  white-space: nowrap;
}
.sitemap-badge-current {
  color: #fff;
  background: var(--green);
}

@media (max-width: 820px) {
  .sitemap-list {
    grid-template-columns: 1fr;
  }
  .sitemap-groups {
    gap: 36px;
  }
  .sitemap-group-title {
    font-size: 18.5px;
    margin-bottom: 16px;
  }
  .sitemap-intro {
    padding: 20px 20px;
    margin-bottom: 36px;
  }
}
@media (max-width: 520px) {
  .sitemap-intro {
    font-size: 14px;
    line-height: 1.85;
  }
  .sitemap-item {
    padding: 15px 16px;
    gap: 12px;
  }
  .sitemap-item-icon {
    width: 40px;
    height: 40px;
  }
  .sitemap-item-icon svg {
    width: 20px;
    height: 20px;
  }
  .sitemap-item-body h3 {
    font-size: 14px;
  }
  .sitemap-group-title {
    gap: 11px;
    font-size: 17px;
  }
  .sitemap-group-icon {
    width: 34px;
    height: 34px;
  }
}
