/* =========================================================
   nanoTRACK sitemap page
   Extends style.css — reuses its CSS variables, .container,
   .reveal-up etc. Only page-specific components live here.
   Base styles are written for PC and overridden inside a
   single `@media (max-width: 768px)` block for SP, matching
   the convention used in style.css.
========================================================= */

/* ---------- page hero (title) ---------- */

.page-hero {
  padding: calc(var(--header-h) + clamp(32px, 6vw, 74px)) 0 clamp(32px, 5vw, 56px);
}

.page-hero__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.75rem, 0.4rem + 6.5vw, 6rem); /* 28px～96px */
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--text);
}

.page-hero__lead {
  margin: clamp(12px, 2vw, 20px) 0 0;
  font-size: var(--fs-18);
  font-weight: 500;
}

/* ---------- breadcrumb ---------- */

.breadcrumb {
  padding: clamp(16px, 3vw, 36px) 0;
}

.breadcrumb__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: var(--fs-18);
  font-weight: 500;
}

.breadcrumb__inner a,
.breadcrumb__inner .breadcrumb__sep {
  white-space: nowrap;
}

.breadcrumb__inner a {
  text-decoration: underline;
}

.breadcrumb__sep {
  opacity: 0.6;
}

/* ---------- sitemap ---------- */

.sitemap-section {
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px);
}

.sitemap-group {
  margin-bottom: clamp(32px, 4vw, 48px);
}

.sitemap-group:last-child {
  margin-bottom: 0;
}

.sitemap-group__title {
  margin: 0 0 8px;
  background: var(--black);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-18);
  padding: clamp(14px, 1.8vw, 18px) clamp(16px, 2vw, 24px);
}

.sitemap-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap-group__list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(10px, 1.5vw, 14px) clamp(16px, 2vw, 24px);
  font-size: var(--fs-18);
  font-weight: 500;
  white-space: nowrap;
  background-image: linear-gradient(to right, var(--green) 50%, var(--text) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position 0.4s ease;
}

.sitemap-group__list a:hover {
  background-position: 0 0;
}

.sitemap-group__list a:hover .sitemap-group__arrow {
  border-color: var(--green);
}

@supports not (background-clip: text) {
  .sitemap-group__list a {
    background: none;
    color: var(--text);
    -webkit-text-fill-color: unset;
  }

  .sitemap-group__list a:hover {
    color: var(--green);
  }
}

.sitemap-group__arrow {
  flex: none;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--text);
  border-right: 2px solid var(--text);
  transform: rotate(45deg);
  transition: border-color 0.2s ease;
}

/* ---------- SP ---------- */

@media (max-width: 768px) {
  .page-hero {
    padding: calc(var(--header-h) + 32px) 0 32px;
  }

  .sitemap-section {
    padding: 32px 0 64px;
  }

  .sitemap-group {
    margin-bottom: 32px;
  }
}
