@charset "UTF-8";

/*
 * Top page redesign v10.12
 * Loaded after common.css and scoped to body.home-redesign so existing pages are not affected.
 */

/* このページ専用の読み上げ用非表示クラス。
   既存のcommon.cssに依存させず、画面には表示しない。 */
.hr-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.home-redesign {
  --hr-green-900: #174f2a;
  --hr-green-800: #216b38;
  --hr-green-700: #2f7d43;
  --hr-green-600: #3b914e;
  --hr-green-100: #eef8ef;
  --hr-green-050: #f7fbf7;
  --hr-ink: #202522;
  --hr-muted: #5d655f;
  --hr-line: #dce5de;
  --hr-control-line: #7f8b82;
  --hr-white: #ffffff;
  --hr-red: #b82d2d;
  --hr-shadow: 0 12px 34px rgba(28, 70, 39, 0.08);
  margin: 0;
  background: var(--hr-white);
  color: var(--hr-ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.home-redesign *,
.home-redesign *::before,
.home-redesign *::after {
  box-sizing: border-box;
}

.home-redesign img,
.home-redesign svg {
  max-width: 100%;
}

.home-redesign a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.home-redesign a:hover {
  color: var(--hr-green-800);
}

.home-redesign :focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px #005fcc;
}

.hr-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--hr-ink);
  color: var(--hr-white) !important;
  transform: translateY(-180%);
  transition: transform 0.15s ease;
}

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

.hr-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hr-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--hr-line);
  background: rgba(255, 255, 255, 0.98);
}

/* トップページでは、PC用の横並び主要メニューを表示しない。
   下層ページでは body から hr-top-page を外すと表示される。 */
.hr-top-page .hr-nav {
  display: none;
}

.hr-header__top {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding-block: 16px 12px;
}

.hr-brand {
  display: inline-flex;
  align-items: center;
  max-width: 510px;
  text-decoration: none;
}

.hr-brand img {
  display: block;
  width: min(100%, 494px);
  height: auto;
}

.hr-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.hr-english {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}

.hr-english img {
  width: 21px;
  height: 21px;
}

.hr-search {
  display: grid;
  grid-template-columns: auto minmax(130px, 190px) auto;
  align-items: stretch;
  align-self: center;
  width: auto;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  border: 1px solid var(--hr-control-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--hr-white);
}

.hr-search__icon {
  position: relative;
  display: block;
  width: 44px;
  height: 100%;
  min-height: 0;
  background: #f3f6f3;
  color: #2f5d43;
}

.hr-search__icon::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-sizing: border-box;
}

.hr-search__icon::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 24px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.hr-search input[type="search"] {
  min-width: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  padding: 0 10px;
  font: inherit;
  line-height: 1.4;
  color: var(--hr-ink);
  background: transparent;
}

.hr-search input[type="hidden"] {
  display: none;
}

.hr-search button {
  display: inline-flex;
  min-width: 78px;
  height: 100%;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  padding: 0 13px;
  background: var(--hr-green-800);
  color: var(--hr-white);
  font: inherit;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
}

.hr-search button:hover {
  background: var(--hr-green-900);
}

.hr-search input:focus-visible {
  outline: none;
  background: #fffef5;
  box-shadow: inset 0 0 0 3px #005fcc;
}

.hr-search button:focus-visible {
  outline: none;
  background: #174f2a;
  box-shadow: inset 0 0 0 3px #ffbf47;
}

.hr-nav {
  border-top: 1px solid #f0f2f0;
}

.hr-nav ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hr-nav a {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 10px 14px;
  border-bottom: 3px solid transparent;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.hr-nav a:hover,
.hr-nav a[aria-current="page"] {
  border-bottom-color: var(--hr-green-700);
  color: var(--hr-green-800);
  background: var(--hr-green-050);
}

.hr-mobile-nav {
  display: none;
  position: relative;
}

.hr-hero {
  padding-block: clamp(20px, 3vw, 42px) clamp(28px, 4vw, 54px);
  background: #ffffff;
}

.hr-hero__panel {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.hr-hero__visual {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 99% 96% at center, #000 0%, #000 80%, rgba(0, 0, 0, 0.92) 88%, transparent 100%);
  mask-image: radial-gradient(ellipse 99% 96% at center, #000 0%, #000 80%, rgba(0, 0, 0, 0.92) 88%, transparent 100%);
}

.hr-section {
  padding-block: clamp(48px, 6vw, 84px);
}

.hr-section--soft {
  background: var(--hr-green-050);
}

.hr-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.hr-section__title {
  position: relative;
  margin: 0;
  padding-bottom: 12px;
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.hr-section__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 88px;
  height: 3px;
  border-radius: 999px;
  background: var(--hr-green-700);
}

.hr-section__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.hr-section__more::after {
  content: "›";
  font-size: 1.35em;
  line-height: 1;
}

.hr-business-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hr-business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 28px 24px 22px;
  border: 1px solid var(--hr-control-line);
  border-radius: 16px;
  background: var(--hr-white);
  color: var(--hr-ink);
  box-shadow: 0 6px 20px rgba(24, 62, 34, 0.04);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.hr-business-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--hr-green-700);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hr-business-card:hover {
    transform: translateY(-4px);
    border-color: var(--hr-green-700);
    background: #fbfefb;
    box-shadow: 0 14px 30px rgba(24, 62, 34, 0.15);
    color: var(--hr-ink);
  }

  .hr-business-card:hover::before {
    transform: scaleX(1);
  }
}

.hr-business-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--hr-green-800);
  background: #fbfefb;
  color: var(--hr-ink);
}

.hr-business-card:focus-visible::before {
  transform: scaleX(1);
}

.hr-business-card:hover h3,
.hr-business-card:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.hr-business-card:active {
  transform: translateY(-1px);
}

.hr-business-card__icon {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--hr-green-100);
  color: var(--hr-green-800);
}

.hr-business-card__icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hr-business-card__icon img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

/* 採用した線画は縦横比が異なるため、見た目の大きさを個別に調整する。 */
.hr-business-card__icon--barrierfree img {
  width: 64px;
  height: 64px;
}

.hr-business-card__icon--environment img {
  width: 68px;
  height: 68px;
}

.hr-business-card__icon--green img {
  width: 58px;
  height: 58px;
}

.hr-business-card h3 {
  margin: 0 0 12px;
  color: var(--hr-green-900);
  font-size: 1.18rem;
  line-height: 1.5;
}

.hr-business-card p {
  margin: 0;
  color: var(--hr-muted);
  font-size: 1rem;
  line-height: 1.8;
}


.hr-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hr-topic-card {
  position: relative;
  display: flex;
  min-height: 210px;
  overflow: hidden;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--hr-control-line);
  border-radius: 14px;
  background: var(--hr-white);
  color: var(--hr-ink);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.hr-topic-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--hr-green-700);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .hr-topic-card:hover {
    transform: translateY(-4px);
    border-color: var(--hr-green-700);
    background: #fbfefb;
    box-shadow: 0 14px 30px rgba(24, 62, 34, 0.15);
    color: var(--hr-ink);
  }

  .hr-topic-card:hover::before {
    transform: scaleX(1);
  }
}

.hr-topic-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--hr-green-800);
  background: #fbfefb;
  color: var(--hr-ink);
}

.hr-topic-card:focus-visible::before {
  transform: scaleX(1);
}

.hr-topic-card:hover h3,
.hr-topic-card:focus-visible h3 {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

.hr-topic-card:active {
  transform: translateY(-1px);
}

.hr-topic-card__visual {
  display: flex;
  min-height: 62px;
  align-items: center;
  margin-bottom: 18px;
}

.hr-topic-card__visual img {
  width: auto;
  max-width: 210px;
  max-height: 58px;
  object-fit: contain;
}

.hr-topic-card__visual--icon {
  color: var(--hr-green-800);
}

.hr-topic-card__visual--icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hr-topic-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.55;
}

.hr-topic-card p {
  margin: 0;
  color: var(--hr-muted);
  font-size: 1rem;
  line-height: 1.8;
}



/* 外部リンク・PDFリンクの表示
   読み上げ用の説明はHTML側の hr-visually-hidden で付与する。 */
.hr-button-external-icon {
  display: block;
  width: 14px;
  height: 14px;
  filter: brightness(0) invert(1);
}

.hr-inline-external-icon,
.hr-inline-pdf-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.38em;
  object-fit: contain;
  vertical-align: -0.12em;
}

.hr-card-external {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--hr-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 10px rgba(24, 62, 34, 0.08);
}

.hr-card-external img {
  width: 16px;
  height: 16px;
  opacity: 0.82;
}

.hr-news__status {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
}

.hr-news__status img {
  width: 18px;
  height: 18px;
  opacity: 0.82;
}

/* 将来PDFリンクを追加するときに使用する補助クラス。 */
.hr-file-link__icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  margin-left: 0.4em;
  object-fit: contain;
  vertical-align: -0.18em;
}

.hr-news-list {
  overflow: hidden;
  border: 1px solid var(--hr-line);
  border-radius: 14px;
  background: var(--hr-white);
}

.hr-news-item {
  display: grid;
  grid-template-columns: 150px 154px minmax(0, 1fr) 26px;
  align-items: center;
  column-gap: 24px;
  row-gap: 12px;
  min-height: 102px;
  padding: 18px 22px;
  color: var(--hr-ink);
  text-decoration: none;
}

.hr-news-item + .hr-news-item {
  border-top: 1px solid var(--hr-line);
}

.hr-news-item {
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.hr-news-item:hover,
.hr-news-item:focus-visible {
  background: #eaf5ec;
  box-shadow: inset 4px 0 0 var(--hr-green-700);
  color: var(--hr-ink);
}

.hr-news__date {
  color: var(--hr-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hr-news__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hr-tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--hr-green-800);
  color: var(--hr-white);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.hr-tag--open {
  background: var(--hr-red);
}

.hr-news__body h3 {
  margin: 0 0 4px;
  color: var(--hr-green-900);
  font-size: 1.02rem;
  line-height: 1.5;
}

.hr-news__body p {
  margin: 0;
  color: var(--hr-ink);
  font-size: 1rem;
  line-height: 1.75;
}

.hr-news__arrow {
  display: block;
  width: 10px;
  height: 10px;
  justify-self: center;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  color: var(--hr-green-800);
  transform: rotate(45deg);
}

.hr-footer {
  margin-top: clamp(52px, 7vw, 90px);
  border-top: 1px solid var(--hr-line);
  background: linear-gradient(180deg, #f2f9f2 0%, #e7f3e8 100%);
}

.hr-footer__main {
  padding-block: 34px;
}

.hr-footer__nav {
  width: 100%;
}

.hr-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: min(100%, 900px);
  margin: 0 auto;
  padding: 0;
  column-gap: 42px;
  row-gap: 14px;
  list-style: none;
  text-align: center;
}

.hr-footer__links > li {
  flex: 0 1 calc((100% - 84px) / 3);
  min-width: 0;
}

/* 5項目時は、1行目3項目・2行目2項目を同じ幅と間隔で中央配置する。 */

.hr-footer__links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.hr-footer__bottom {
  padding: 13px 20px;
  background: var(--hr-green-900);
  color: var(--hr-white);
  font-size: 0.875rem;
  text-align: center;
}

.hr-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--hr-green-800);
  border-radius: 50%;
  background: var(--hr-white);
  color: var(--hr-green-800) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.hr-back-to-top::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

.hr-back-to-top:hover,
.hr-back-to-top:focus-visible {
  border-color: var(--hr-green-900);
  background: var(--hr-green-900);
  color: var(--hr-white) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.hr-back-to-top:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px #005fcc;
}

@media (max-width: 980px) {
  .hr-container {
    width: min(100% - 32px, 760px);
  }

  .hr-header__top {
    grid-template-columns: 1fr auto;
    min-height: 76px;
    gap: 16px;
    padding-block: 12px;
  }

  .hr-brand {
    max-width: 390px;
  }

  .hr-utility .hr-search,
  .hr-utility .hr-english,
  .hr-nav {
    display: none;
  }

  .hr-mobile-nav {
    display: block;
  }

  .hr-mobile-nav summary {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hr-line);
    border-radius: 8px;
    background: var(--hr-white);
    color: var(--hr-green-900);
    cursor: pointer;
    font-size: 0;
    list-style: none;
  }

  .hr-mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .hr-mobile-nav summary::before {
    content: "☰";
    font-size: 1.6rem;
  }

  .hr-mobile-nav[open] summary::before {
    content: "×";
    font-size: 2rem;
  }

  .hr-mobile-nav__panel {
    position: absolute;
    top: 54px;
    right: 0;
    width: min(340px, calc(100vw - 32px));
    padding: 16px;
    border: 1px solid var(--hr-line);
    border-radius: 12px;
    background: var(--hr-white);
    box-shadow: var(--hr-shadow);
  }

  .hr-mobile-nav__panel ul {
    display: grid;
    gap: 2px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
  }

  .hr-mobile-nav__panel a {
    display: block;
    padding: 10px 8px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
  }

  .hr-mobile-nav__panel a:hover {
    background: var(--hr-green-050);
  }

  .hr-mobile-nav__panel .hr-search {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 72px;
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    overflow: hidden;
  }

  /* デスクトップ用の幅指定をスマホ検索欄で明示的に上書きする。
     虫眼鏡44px、検索ボタン72pxを固定し、中央の入力欄だけを伸縮させる。 */
  .hr-mobile-nav__panel .hr-search__icon {
    width: 44px;
    min-width: 44px;
  }

  .hr-mobile-nav__panel .hr-search input[type="search"] {
    min-width: 0;
    margin: 0;
    padding: 0 14px;
  }

  .hr-mobile-nav__panel .hr-search button {
    width: 72px;
    min-width: 0;
    margin: 0;
    padding: 0 8px;
    white-space: nowrap;
  }


  .hr-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hr-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .hr-news-item {
    grid-template-columns: 138px 154px minmax(0, 1fr) 22px;
    column-gap: 18px;
    row-gap: 12px;
    padding: 17px 18px;
  }

  .hr-footer__links {
    width: min(100%, 760px);
    column-gap: 28px;
    row-gap: 12px;
  }

  .hr-footer__links > li {
    flex-basis: calc((100% - 56px) / 3);
  }
}

@media (max-width: 640px) {
  body.home-redesign {
    font-size: 16px;
  }

  .hr-container {
    width: min(100% - 24px, 560px);
  }

  .hr-brand img {
    width: 100%;
  }

 .hr-hero {
    padding-top: 18px;
  }

  .hr-hero__panel {
    border-radius: 0;
  }

  .hr-business-grid,
  .hr-topic-grid {
    grid-template-columns: 1fr;
  }


  .hr-business-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
  }

  .hr-business-card__icon {
    width: 58px;
    height: 58px;
    margin: 0;
  }

  .hr-business-card__icon svg {
    width: 34px;
    height: 34px;
  }

  .hr-business-card__icon img {
    width: 46px;
    height: 46px;
  }


  .hr-business-card__icon--barrierfree img {
    width: 50px;
    height: 50px;
  }

  .hr-business-card__icon--environment img {
    width: 53px;
    height: 53px;
  }

  .hr-business-card__icon--green img {
    width: 46px;
    height: 46px;
  }

  .hr-business-card__content {
    min-width: 0;
  }

  .hr-business-card h3 {
    margin-bottom: 6px;
    font-size: 1.08rem;
  }

  .hr-business-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hr-section__head {
    align-items: center;
  }

  .hr-section__more {
    font-size: 0.9rem;
  }

  .hr-news-item {
    grid-template-columns: 1fr 22px;
    gap: 10px 14px;
    padding: 18px 16px;
  }

  .hr-news__date,
  .hr-news__tags,
  .hr-news__body {
    grid-column: 1;
  }

  .hr-news__arrow {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }

  .hr-footer__main {
    padding-block: 28px;
  }

  .hr-footer__links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 6px;
  }

  .hr-footer__links > li {
    min-width: 0;
  }

  .hr-footer__links a {
    padding: 7px 0;
  }

  .hr-back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-redesign *,
  .home-redesign *::before,
  .home-redesign *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hr-business-card:hover,
  .hr-business-card:focus-visible,
  .hr-business-card:active,
  .hr-topic-card:hover,
  .hr-topic-card:focus-visible,
  .hr-topic-card:active {
    transform: none;
  }
}


/* v8: external-link badges must not cover content. */
.hr-business-card[target="_blank"],
.hr-topic-card[target="_blank"] {
  padding-right: 54px;
}

@media (max-width: 640px) {
  .hr-business-card[target="_blank"],
  .hr-topic-card[target="_blank"] {
    padding-right: 50px;
  }
}
