/* ----------------------------------
   サイトマップ
---------------------------------- */
.sitemap-page .section-title {
	margin-bottom: 70px;
}

.sitemap-page .section-title .en {
	color: var(--color-primary);
}

.sitemap-page .section-title .ja {
	opacity: 1;
	transform: none;
}

.sitemap {
  background-color: var(--color-bg);
  border-radius: 12px;
  padding: 30px 60px;
  margin: 0 auto 70px auto;
  box-sizing: border-box;
  font-size: 13px;
  color: #333333;
}
@media screen and (max-width: 768px) {
  .sitemap {
    padding: 0 0 30px;
  }
}

.sitemap__inner {
  display: flex;
  flex-direction: column;
}

.sitemap__row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}
@media screen and (max-width: 768px) {
  .sitemap__row {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }
}
.sitemap__row.top {
  align-items: flex-start;
}


.sitemap__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sitemap__row:first-child {
  padding-top: 0;
}

.sitemap__main {
  width: 220px;
  flex-shrink: 0;
  margin-right: 24px;
}
@media screen and (max-width: 768px) {
  .sitemap__main {
    width: 100%;
    margin-right: 0;
  }
  .sitemap__main.has-child {
    margin-bottom: 20px;
  }
}

.sitemap__main-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  color: #171717;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  min-width: 140px;
  box-sizing: border-box;
  transition: opacity 0.2s;
  position: relative;
}
@media screen and (max-width: 768px) {
  .sitemap__main-link {
    font-size: 16px;
  }
}

.sitemap__main-link::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #171717;
  border-radius: 50%;
  margin-left: 12px;
  transform: translateY(0) scale(1);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .sitemap__main-link:hover::after {
    transform: translateY(0) scale(1.4);
  }
}

.sitemap__main-label {
  display: inline-block;
  color: var(--color-light-gray);
  font-weight: 500;
  padding: 10px 16px;
}
@media screen and (max-width: 768px) {
  .sitemap__main-label {
    padding-left: 0;
  }
}

.sitemap__sub {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media screen and (max-width: 768px) {
  .sitemap__sub {
    padding-top: 0;
  }
}

.sitemap__group {
  display: flex;
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  .sitemap__group {
    flex-direction: column;
    margin-bottom: 12px;
  }
}

@media screen and (max-width: 768px) {
  .sitemap__group:last-child {
    margin-bottom: 0;
  }
}

.sitemap__label {
  width: 140px;
  flex-shrink: 0;
  color: var(--color-light-gray);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .sitemap__label {
    width: 100%;
    margin-bottom: 6px;
  }
}

.sitemap__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}
@media screen and (max-width: 768px) {
  .sitemap__list {
    gap: 8px 16px;
  }
}

.sitemap__list li a {
  color: #333333;
  text-decoration: none;
  line-height: 1.8;
  transition: color 0.2s;
}

@media (hover: hover) {
  .sitemap__list li a:hover {
    text-decoration: underline;
  }
}

/* 2行以上の項目の本文上下余白を1行の項目に合わせる（10/5追記） */
@media screen and (min-width: 769px) {
  .sitemap__row .sitemap__sub {
    padding-top: 9.8px;
    padding-bottom: 9.8px;
  }
}
