@charset "UTF-8";

/**************************
sitemap
**************************/
.sitemap-sections {
  display: grid;
  flex-direction: column;
  gap: 3.75em;
}

/* .sitemap-section:not(:last-child) {
  padding-bottom: 1.875em;
  border-bottom: 1px solid #dcdcdc;
} */

.sitemap-section__title {
  position: relative;
  margin-bottom: 1em;
  font-weight: 600;

  & a {
    display: inline-block;
    padding-left: 1.2em;
    color: inherit;
    text-decoration: none;
    background: url("/ga/common/img/ico_title.png") center left no-repeat;
    background-size: 1em;
    transition: opacity 0.3s;

    &:hover {
      opacity: 0.7;
    }
  }
}

.sitemap-groups {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 1.875em 2.5em;
}

.sitemap-group__title {
  padding-bottom: 0.4em;
  margin-bottom: 0.8em;
  font-weight: 700;
  color: #005baa;
  border-bottom: 1px solid #005baa;

  & a {
    display: flex;
    gap: 0.333em;
    align-items: center;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;

    &::before {
      width: 0.5em;
      aspect-ratio: 1 / 1.5;
      content: "";
      background-color: currentColor;
      clip-path: polygon(0 0, 100% 50%, 0 100%);
    }

    &:hover {
      opacity: 0.7;
    }
  }
}

.sitemap-links {
  column-gap: 2.86em;
  font-size: 0.875em;
  columns: var(--cols, 1);

  & > li {
    margin-bottom: 0.6em;
    break-inside: avoid;
  }

  & a {
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;

    &:hover {
      opacity: 0.7;
    }
  }
}

@media (width <= 767px) {
  .sitemap-sections {
    gap: 8cqw;
  }

  .sitemap-section:not(:last-child) {
    padding-bottom: 6cqw;
  }

  .sitemap-groups {
    grid-template-columns: 1fr;
    gap: 6cqw;
  }

  .sitemap-links {
    columns: 1;
  }
}
