:root {
  --aq-white: #ffffff;
  --aq-ink: #2f2a26;
  --aq-muted: #7b736c;
  --aq-line: rgba(47, 42, 38, 0.14);
  --aq-red: #b5001b;
}

.aq-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border: 1px solid var(--aq-line);
  border-radius: 8px;
  color: var(--aq-ink);
  background: var(--aq-white);
  text-decoration: none;
  transform: translateY(-160%);
}

.aq-skip-link:focus {
  transform: translateY(0);
}

.aq-service-nav {
  position: relative;
  z-index: 50;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--aq-line);
  color: var(--aq-ink);
  background: rgba(255, 255, 255, 0.98);
  font-family:
    "Yu Gothic",
    "Yu Gothic UI",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    system-ui,
    sans-serif;
}

.aq-service-nav__brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.aq-service-nav__brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.aq-service-nav__brand span,
.aq-service-nav__brand strong,
.aq-service-nav__brand small {
  display: block;
}

.aq-service-nav__brand strong {
  font-size: 0.96rem;
  line-height: 1.2;
}

.aq-service-nav__brand small {
  margin-top: 2px;
  color: var(--aq-muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aq-service-nav nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 22px);
  font-size: 0.78rem;
  font-weight: 700;
}

.aq-service-nav nav a,
.aq-service-nav nav span {
  min-height: 44px;
  align-content: center;
  color: var(--aq-muted);
  text-decoration: none;
  white-space: nowrap;
}

.aq-service-nav nav a:hover,
.aq-service-nav nav a:focus-visible {
  color: var(--aq-red);
}

.aq-service-nav nav span[aria-current="page"] {
  color: var(--aq-ink);
}

.aq-service-nav nav span[aria-current="page"]::before {
  margin-right: 6px;
  color: var(--aq-red);
  content: "•";
}

@media (max-width: 620px) {
  .aq-service-nav {
    min-height: 62px;
    align-items: flex-start;
    padding: 9px 12px;
  }

  .aq-service-nav__brand img {
    width: 38px;
    height: 38px;
  }

  .aq-service-nav__brand small {
    display: none;
  }

  .aq-service-nav nav {
    max-width: 62vw;
    padding-bottom: 2px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .aq-service-nav nav a,
  .aq-service-nav nav span {
    min-height: 40px;
  }
}
