/* Shared TOP, shipper and review-index components. */
@font-face {
  font-family: "ABC Service Zen";
  src: url("../fonts/ZenKakuGothicNew-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.fv-header,
.fv-hero,
.fv-relay,
.fv-menu,
.fv-actions,
[data-section="hero"] .c-header__links,
[data-section="hero"] .c-header__mobile-links,
.site-frame [data-section="hero"] .c-button--download .source-text,
.site-frame [data-section] .shippers-contact__inner .ui-contact-copy {
  font-family: "ABC Service Zen", "Hiragino Kaku Gothic ProN", sans-serif;
  font-synthesis: none;
}
[data-section="hero"] .c-header__links,
[data-section="hero"] .c-header__mobile-links,
.site-frame [data-section="hero"] .c-button--download .source-text,
.site-frame [data-section] .shippers-contact__inner .ui-contact-copy {
  font-weight: 400;
}

.abc-continuation .c-button,
.site-frame .page-section .c-button {
  display: flex;
  align-items: center;
  justify-content: center;
}
.abc-continuation .c-button,
[data-section] .c-button .source-text {
  font-family: "ZenKakuGothicNew-Medium", sans-serif;
}

.fv-menu nav > a::after,
.fv-menu nav > span::after,
.fv-relay__more::after,
.abc-continuation .c-more::after,
.abc-continuation .c-button::after {
  content: "";
  width: 12px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: skewX(40deg);
  opacity: 0.5;
}

.ui-link-arrow {
  fill: none;
  stroke: currentColor;
  overflow: visible;
}
.ui-link-arrow--desktop {
  width: 16px;
  height: 5.333333px;
}

/* Default dark link buttons use a white shared arrow. Set paint on the
   instance so the source SVG and its inherited stroke stay unchanged. */
:where(.site-frame .page-section) a.c-button:not(:where(
  .abc-continuation *, .c-button--blue, .c-button--outline,
  .c-button--download, .c-button--white, .c-button--on-paper
)) use[href*="/horizontal-arrows.svg#"] {
  stroke: #fff;
}

/* Keep the existing shipper header and menu in the viewport with the shared
   header stacking level. Its opening layout and controls stay in place. */
.site-frame .section-hero.shippers-opening {
  isolation: auto;
}
.site-frame .section-hero.shippers-opening .c-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
}
@media (min-width: 768px) {
  .site-frame .section-hero.shippers-opening { padding-block-start: 100px; }
}
@media (768px <= width <= 1050px) {
  .site-frame .section-hero.shippers-opening { padding-block-start: 158px; }
}

/* Opt in on mobile when a centred label crowds its button's arrow. */
@media (max-width: 767px) {
  .c-button.c-button--compact-label > .c-button__label {
    font-size: calc(1em - 4px / 3);
    margin-inline-end: clamp(0px, calc(350px - 100vw), 30px);
  }

  .c-button.c-button--compact-label > .c-button__label.source-text {
    font-size: calc(1.375em - 4px / 3);
  }
}
