/* 港車北上代辦 — service tab + service page. 2026-11-25 */
.hx-cats__item--service {
  flex: 0 0 auto;
}
.hx-cats__link--service .hx-cats__label {
  font-weight: 700;
}
.hx-cats__link--service[aria-current="page"] .hx-cats__label,
.hx-cats__link--service:hover .hx-cats__label {
  color: var(--seal);
}
.hx-drawer__link[aria-current="page"] .hx-drawer__label {
  font-weight: 700;
}

.hx-svc__hero {
  position: relative;
  padding: 24px 0 40px;
  margin-bottom: 8px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(225, 6, 0, 0.05), transparent 55%),
    linear-gradient(180deg, #f3f2ef 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hx-svc__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 44em;
}
.hx-svc__title {
  margin: 8px 0 14px;
  font-size: clamp(32px, 6vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.hx-svc__lead {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  max-width: 38em;
}
.hx-svc__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hx-svc__body {
  padding: 8px 0 56px;
  max-width: 800px;
}
.hx-svc__section {
  padding: 40px 0 8px;
}
.hx-svc__section h2 {
  font-size: clamp(22px, 3.2vw, 30px);
  margin: 0 0 14px;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.hx-svc__section > p,
.hx-svc__card p,
.hx-svc__steps p,
.hx-svc__faq p,
.hx-svc__note p,
.hx-svc__cta p,
.hx-svc__sources li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.hx-svc__cards {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 720px) {
  .hx-svc__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.hx-svc__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 8px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.hx-svc__card h3,
.hx-svc__steps h3,
.hx-svc__faq h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.hx-svc__fee .hx-svc__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1;
}
.hx-svc__currency {
  font-size: 20px;
  letter-spacing: 0.04em;
}
.hx-svc__amount {
  font-size: clamp(40px, 8vw, 56px);
  letter-spacing: -0.04em;
}
.hx-svc__steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  counter-reset: svc-step;
}
.hx-svc__steps > li {
  position: relative;
  padding: 0 0 22px 48px;
  border-left: 1px solid var(--line);
  margin-left: 14px;
}
.hx-svc__steps > li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.hx-svc__steps > li::before {
  counter-increment: svc-step;
  content: counter(svc-step);
  position: absolute;
  left: -15px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hx-svc__faq h3 {
  margin-top: 22px;
}
.hx-svc__faq h3:first-child {
  margin-top: 0;
}
.hx-svc__sources ul {
  margin: 0;
  padding-left: 1.2em;
}
.hx-svc__note,
.hx-svc__cta {
  margin-top: 36px;
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
}
.hx-svc__note h2,
.hx-svc__cta h2 {
  font-size: 20px;
  margin: 0 0 10px;
}
.hx-svc__cta {
  background: linear-gradient(180deg, #f3f2ef 0%, var(--white) 100%);
}
.hx-svc__cta .hx-svc__hero-actions {
  margin-top: 16px;
}
@media (max-width: 720px) {
  .hx-cats__item--service .hx-cats__label {
    letter-spacing: -0.03em;
  }
}

/*
 * compact-mobile-launcher 2026-11-25 v2
 * Service page only, mobile only. The floating chat (.hx-fab) is a footer
 * sibling, not inside article.hx-svc, and this stylesheet is also used for
 * the site nav tab — scope with body:has(article.hx-svc).
 *
 * Closed launcher: compact 48px circular control (44px tap target). Do not
 * set width/max-width on .hx-fab or .hx-fab__panel, so an open .is-open
 * panel keeps the site-wide size. Launcher copy stays in the DOM (visually
 * hidden) for the accessible name. Bottom spacing follows the closed
 * launcher height only — no right-hand text column.
 */
@media (max-width: 768px) {
  body:has(article.hx-svc) .hx-svc__body {
    padding-bottom: calc(56px + 48px + 16px + env(safe-area-inset-bottom, 0px));
  }

  body:has(article.hx-svc) .hx-fab__launcher {
    position: relative;
    width: 48px;
    height: 48px;
    min-width: 44px;
    min-height: 44px;
    max-width: 48px;
    padding: 2px;
    gap: 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  }

  body:has(article.hx-svc) .hx-fab__launcher-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
  }

  body:has(article.hx-svc) .hx-fab__launcher-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
