/* Adapt the approved A.html layout to the WordPress components. */
body.hb-r8 {
  --hb-primary: #006da6;
  --hb-ink: #173b53;
  --hb-muted: #496372;
  --hb-rule: #c8dfe9;
  --hb-soft: #ebf7fc;
  --hb-paper: #f3f9fc;
  --r9-white: #fff;
  --r9-section: clamp(36px, 4.5vw, 64px);
  --a-sky: #079cdc;
  --a-shadow: 0 6px 24px #2453730c;
}
.hb-site .wpmemform :is(#wpmem_login, #wpmem_reg),
.hb-site input::file-selector-button {
  font-family: var(--hb-font);
}
.hb-site.hb-r8 #hb-main :is(h1, h2, h3, h4, h5, h6, [role="heading"]),
.hb-site.hb-r8 #hb-main :is(h1, h2, h3, h4, h5, h6, [role="heading"]) :is(a, span, strong, b, small),
.hb-site.hb-r8 :is(.hb-info-card strong, .search-result > p > b, .article-ribbon, .single-article_ribbonnew, .workstyle-flow_item .flow-item_nb span) {
  font-weight: 700;
}
.hb-r8 .hb-header__inner { width: min(1160px, calc(100% - 48px)); min-height: 72px; padding-inline: 0; }
.hb-r8 .hb-brand__company { width: 174px; }
.hb-r8 .hb-brand__group { width: 46px; }
.hb-r8 .hb-header, .hb-r8 .hb-footer { background: white; border-color: var(--hb-rule); }
.hb-r8 .hb-footer { border-top-width: 1px; }
.home.hb-r8 .hb-container { width: min(1160px, calc(100% - 48px)); }
.hb-r8 .hb-hero { width: calc(100% - 48px); max-width: 1400px; border-radius: 0 0 36px 0; background: #eef7fb; }
.home.hb-r8 .hb-container.hb-hero__grid { width: 100%; min-height: clamp(420px, 38vw, 550px); }
.hb-r8 .hb-hero__grid::before { display: none; }
.hb-r8 .hb-hero__photo { object-position: 50% 0%; }
.hb-r8 .hb-hero__copy { width: min(100%, 1160px); justify-self: center; padding: 36px 0 40px; }
.hb-site.hb-r8 .hb-hero h1 { width: max-content; max-width: 100%; font-size: clamp(37px, 4.2vw, 56px); font-weight: 700; letter-spacing: .025em; line-height: 1.4; }
.hb-r8 .hb-hero__tagline { margin-bottom: 12px !important; }
.hb-r8 .hb-hero__links { margin-top: 20px; gap: 4px 16px; }
.hb-r8 .hb-hero__links > .hb-button { min-height: 46px; min-width: 144px; }
.hb-r8 .hb-hero__links > .hb-button span { position: relative; display: inline-block; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; font-size: 0; }
.hb-r8 .hb-hero__links > .hb-button span::after { content: ""; position: absolute; width: 6px; height: 1.5px; right: -4px; bottom: -2px; background: currentColor; transform: rotate(45deg); }
.hb-r8 .hb-search { background: white; padding-bottom: 0; }
.hb-r8 .hb-search__box, .hb-r8 .hb-list-filters, .hb-r8 .hb-tax-search {
  border: 1px solid var(--hb-rule); border-top: 3px solid var(--a-sky);
  border-radius: 0 0 6px 6px !important; box-shadow: var(--a-shadow);
}
.hb-r8 .hb-search__box { margin: 14px 0 0; padding: 22px 28px; }
.hb-r8 .hb-search__form { display: block; }
.hb-r8 .hb-search__keyword-group { padding: 14px 0 0; margin-top: 16px; border: 0; border-top: 1px solid var(--hb-rule); }
.hb-r8 .hb-search__filters { grid-template-columns: repeat(5, minmax(0,1fr)) auto; }
.hb-r8 .hb-search__filters label { padding: 5px 9px; background: #eef7fc; }
.hb-r8 .hb-search__filters select { appearance: auto; background-image: none; }
.hb-r8 .hb-search__form :is(h2, h3) { margin-bottom: 10px; font-size: 17px; }
.hb-r8 .hb-search__filters .hb-button { min-height: 48px; }
.hb-r8 .hb-search__keyword-row { grid-template-columns: minmax(0,1fr) auto; gap: 0; }
.hb-r8 .hb-search__keyword-row input, .hb-r8 .hb-search__keyword-row .hb-button { min-height: 46px; height: 46px; }
.hb-r8 .hb-search__keyword-row .hb-button { padding-inline: 22px; }
.hb-r8 :is(.hb-section__heading,.hb-intro,.hb-pair) h2::after {
  content: ""; position: static; display: block; width: 45px; height: 3px; margin: 12px 0 0;
  background: var(--a-sky); transform: none;
}
.hb-r8 :is(.hb-section__heading,.hb-intro,.hb-pair) h2,
.hb-r8 #hb-recommend .hb-section__heading h2 { font-size: clamp(26px,2.6vw,38px) !important; line-height: 1.42; }
.hb-r8 #hb-recommend .hb-section__heading h2 { word-break: keep-all; }
.hb-r8 .hb-eyebrow { color: #096994; letter-spacing: .12em; }
.hb-r8 #hb-recommend .hb-job-grid { display: grid; grid-template-columns: minmax(0,1fr); grid-auto-rows: 1fr; gap: 0; border-top: 2px solid var(--hb-primary); }
.hb-r8 #hb-recommend .hb-job-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin: 0;
  padding: clamp(20px,2.1vw,30px) 0; border: 0; border-bottom: 1px solid var(--hb-rule); border-radius: 0; box-shadow: none;
}
.hb-r8 #hb-recommend .hb-job-card__top { align-self: stretch; }
.hb-r8 #hb-recommend .hb-job-card h3 { font-size: clamp(22px,2vw,29px); line-height: 1.4; letter-spacing: .025em; }
.hb-r8 #hb-recommend .hb-job-card h3 a {
  display: block; width: fit-content; max-width: 100%; overflow: visible;
  white-space: normal; word-break: auto-phrase; overflow-wrap: anywhere; line-break: strict;
}
.hb-r8 #hb-recommend .hb-job-card__description { grid-area: description; line-height: 1.75; max-width: 34em; }
.hb-r8 #hb-recommend .hb-job-card .hb-job-card__facts {
  display: grid; width: 100%; grid-template-columns: minmax(0,1fr); gap: 0;
}
.hb-r8 #hb-recommend .hb-job-card__facts > div { display: grid; grid-template-columns: 4.5em minmax(0,1fr); align-items: baseline;
  gap: 8px; border-top: 1px solid var(--hb-rule); padding-block: 5px; }
.hb-r8 #hb-recommend .hb-job-card dl dt { margin: 0; }
.hb-r8 #hb-recommend .hb-job-card__facts dd { line-height: 1.55; overflow-wrap: anywhere; }
.hb-r8 #hb-recommend .hb-job-card .hb-job-card__pay { display: flex; gap: 12px; align-items: baseline; align-self: stretch; border: 0; padding: 0; }
.hb-r8 #hb-recommend .hb-job-card > .hb-button { align-self: start; margin-top: auto; }
.hb-r8 .hb-follow-register, .hb-r8 .hb-company-entry { margin-block: 12px; text-align: right; }
.hb-r8 #hb-reasons, .hb-r8 #hb-beginners, .hb-r8 .hb-cta { background: var(--hb-soft); }
.hb-r8 #hb-information, .hb-r8 .hb-pair { background: white; }
.hb-r8 #hb-reasons { padding-block: clamp(48px,6vw,88px); }
.hb-r8 #hb-reasons .hb-reason-grid { gap: clamp(20px,2.6vw,38px); }
.hb-r8 #hb-reasons .hb-feature {
  position: relative; padding: 0; gap: 14px; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.hb-r8 #hb-reasons .hb-feature__number {
  color: var(--hb-primary); font: 600 13px/1.5 var(--hb-font); letter-spacing: .06em;
}
.hb-r8 #hb-reasons .hb-feature__number::after { display: none; }
.hb-r8 #hb-reasons .hb-feature .hb-feature__photograph {
  display: block; width: 100%; height: auto; aspect-ratio: 2.15; object-fit: cover; border-radius: 5px 5px 18px 5px;
}
.hb-r8 #hb-reasons .hb-feature:not(:first-child) { display: flex; align-items: center; gap: clamp(12px,2vw,28px); }
.hb-r8 #hb-reasons .hb-feature:not(:first-child) .hb-feature__photograph { flex: none; width: 37%; aspect-ratio: 1.45; object-fit: cover; }
.hb-r8 #hb-reasons .hb-feature:first-child .hb-feature__photograph { object-position: center 35%; }
.hb-r8 #hb-reasons .hb-feature > div { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: baseline; gap: 6px 9px; min-width: 0; }
.hb-r8 #hb-reasons .hb-feature h3 { margin: 0; font-size: clamp(19px,1.6vw,24px); line-height: 1.4; letter-spacing: .025em; }
.hb-r8 #hb-reasons .hb-feature:first-child h3 { font-size: clamp(23px,2.1vw,31px); }
.hb-r8 #hb-reasons .hb-feature p { grid-column: 1 / -1; margin: 0; line-height: 1.75; }
.hb-r8 :is(#hb-reasons,.hb-pair,#hb-information) img:not(.hb-topic-nav img) { filter: saturate(.94); }
.hb-r8 #hb-information .hb-info-card {
  display: grid; grid-template-columns: 24% minmax(0,1fr) auto; align-items: center; gap: 16px;
  padding: 12px 18px 12px 12px; border-radius: 8px; box-shadow: var(--a-shadow);
}
.hb-r8 #hb-information .hb-info-card img { grid-row: auto; width: 100%; max-width: none; height: 76px; min-height: 0; padding: 0; object-fit: cover; }
.hb-r8 #hb-information .hb-info-card :is(span,b) { padding: 0; }
.hb-r8 .hb-pair { padding-block: clamp(40px,6.3vw,90px); }
.hb-r8 #hb-beginners, .hb-r8 #hb-information { padding-block: clamp(32px,3.7vw,54px); }
.hb-r8 .hb-pair__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,6vw,86px); align-items: center; }
.hb-r8 .hb-pair img { width: 100%; height: clamp(210px,22vw,300px); object-fit: cover; border-radius: 12px; }
.hb-r8 .hb-pair .hb-text-link { margin-top: 14px; }
.hb-r8 #hb-beginners .hb-guide-actions { gap: 14px; background: transparent; overflow: visible; }
.hb-r8 #hb-beginners .hb-guide-actions > div { background: white; border-radius: 9px; border: 1px solid var(--hb-rule); }
.hb-r8 .hb-cta :is(h2,p) { color: var(--hb-ink); }
.hb-r8 .hb-cta .hb-button { background: var(--hb-primary); color: white !important; }
.hb-r8 .hb-cta :focus-visible { outline-color: var(--hb-primary); }

/* Interior pages share the same light-blue headers and white surfaces. */
.hb-r8 .hb-page__heading, .hb-site.hb-r8 #hb-main > .bg-blue { background: linear-gradient(105deg,#e8f6fc,#f8fcfe); border-color: var(--hb-rule); }
.hb-r8 :is(.hb-resource-band,.main-column_sidebar,.hb-route-cta,.hb-member-nav,.mypage-elearning,#wpmem_login),
.hb-r8 .hb-page--about .about-toptext {
  border: 1px solid var(--hb-rule); border-radius: 12px; background: var(--hb-soft); box-shadow: var(--a-shadow);
}
.hb-r8 .hb-page--about .hb-about-nav, .hb-r8 .hb-page__body .hb-r4-client-intro {
  border: 1px solid var(--hb-rule); border-radius: 12px; background: #eaf7fc; color: var(--hb-ink);
}
.hb-r8 .hb-page--about .hb-about-nav :is(a,.hb-about-nav__group),
.hb-r8 .hb-r4-client-intro :is(.client-text,.client-text span) { color: var(--hb-ink) !important; }
.hb-r8 .hb-r4-client-intro .hb-client-jump a { background: var(--hb-primary); color: white !important; }
.hb-r8 .hb-r8-content .list-job, .hb-site.hb-r8 .hb-r8-content .job-article,
.hb-r8 .hb-faq__item, .hb-r8 .hb-page--about .about-content, .hb-r8 .hb-review-result {
  border: 1px solid var(--hb-rule); border-radius: 10px; background: white; box-shadow: var(--a-shadow);
}
.hb-r8 .hb-page--about .hb-page__body .about-content--faq { background: var(--hb-soft); }
.hb-r8 .hb-recruitment__card-heading, .hb-site.hb-r8.single-job .job-head { border-radius: 12px; box-shadow: var(--a-shadow); }
.hb-r8 .hb-member-nav a { border-radius: 8px; }
.hb-site.hb-r8 #hb-main :is(.wpmemform,.mw_wp_form_input,.hb-app-form) {
  border: 1px solid var(--hb-rule); border-radius: 12px; box-shadow: var(--a-shadow); background: white;
  padding: clamp(14px,2.5vw,32px); min-width: 0;
}
.hb-r8 .hb-member-nav a:focus-visible, .hb-r8 .hb-job-dock a:focus-visible { outline-offset: 2px; }
.hb-r8 .hb-page__heading h1, .hb-r8 .title-post, .hb-r8.single-article .single-article h1 {
  letter-spacing: .025em; line-height: 1.36 !important; text-wrap: balance;
}
.hb-r8.single-article #single-article_content :is(p,li), .hb-r8 :is(.hb-voice__article,.company-message_box) p {
  max-inline-size: 40em; line-height: 1.85; letter-spacing: .02em; line-break: strict;
}
.hb-r8 .hb-faq__item { border-width: 0 0 1px; border-radius: 0; box-shadow: none; margin: 0; }
.hb-r8 .hb-faq__item[open] { background: var(--hb-paper); }
.hb-r8 #hb-main :is(input,textarea,select,button,summary,a):focus-visible { outline: 2px solid var(--hb-primary); outline-offset: 2px; }
.hb-r8 #hb-main :is(.job-head,.hb-recruitment__card-heading) :focus-visible { outline-color: white; }

.hb-r8 .hb-page:has(.hb-page__body > :is(.privacy-list,.userpolicy)) :is(.hb-page__heading .hb-container,.hb-page__body) {
  max-inline-size: 42rem;
  margin-inline: auto;
}
.hb-r8 .hb-page__body:has(> :is(.privacy-list,.userpolicy)) :is(p,li) {
  line-height: 1.85;
  letter-spacing: .02em;
}

@media (min-width:768px) {
  .hb-site.hb-r8 .hb-hero h1 { white-space: nowrap; }
  .hb-r8 #hb-recommend .hb-job-card {
    display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 8px clamp(20px,2.2vw,32px);
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas: "tag pay" "title facts" "description facts" "action facts";
  }
  .hb-r8 #hb-recommend .hb-job-card .hb-job-card__facts { align-self: start; }
  .hb-r8 #hb-recommend .hb-job-card > .hb-button { align-self: start; margin-top: 4px; }
  .hb-r8 #hb-reasons .hb-reason-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: center; }
  .hb-r8 #hb-reasons .hb-feature:first-child { grid-row: span 3; align-self: start; }
}
@media (min-width:1024px) {
  .hb-r8 #hb-recommend > .hb-container { display: grid; grid-template-columns: minmax(200px,1fr) minmax(0,3fr); column-gap: clamp(28px,4vw,64px); align-items: start; }
  .hb-r8 #hb-recommend .hb-section__heading { display: block; margin: 0; }
  .hb-r8 #hb-recommend .hb-section__heading h2 { font-size: clamp(27px,2.2vw,34px) !important; text-wrap: balance; }
  .hb-r8 #hb-recommend .hb-section__heading .hb-text-link { margin-top: 12px; }
  .hb-r8 #hb-recommend .hb-follow-register { grid-column: 2; }
}

@media (min-width:768px) and (max-width:1208px) {
  .hb-r8 .hb-hero { width: 100%; }
  .hb-r8 .hb-hero__copy { width: calc(100% - 48px); }
  .hb-r8 .hb-hero__grid::before { display: block; }
  .hb-r8 .hb-hero__links { max-width: 55%; }
}

@media (min-width:768px) and (max-width:1000px) {
  .hb-r8 .hb-search__filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width:767px) {
  .hb-r8 .hb-header__inner { min-height: 60px; width: calc(100% - 24px); }
  .hb-r8 .hb-brand > a:first-child { min-width: 0; }
  .hb-r8 .hb-header__actions { min-width: 0; flex-shrink: 1; flex-wrap: wrap; justify-content: flex-end; }
  .hb-r8 .hb-header__actions > .hb-button { white-space: normal; overflow-wrap: anywhere; }
  .hb-r8 .hb-brand__company { width: 122px; }
  .hb-r8 .hb-brand__group { width: 32px; }
  .home.hb-r8 .hb-container { width: calc(100% - 36px); }
  .hb-r8 .hb-hero, .home.hb-r8 .hb-container.hb-hero__grid { width: 100%; min-height: 0; }
  .hb-r8 .hb-hero { border-radius: 0 0 22px 0; }
  .hb-r8 .hb-hero__photo { height: auto !important; aspect-ratio: 1.55; object-position: 50% 33%; }
  .hb-r8 .hb-hero__copy { width: calc(100% - 36px); padding: 16px 0 20px; }
  .hb-site.hb-r8 .hb-hero h1 { font-size: clamp(28px, 7.2vw, 32px); line-height: 1.45; }
  .hb-r8 .hb-hero__tagline { font-size: 12px; margin-bottom: 5px !important; }
  .hb-r8 .hb-hero__links { margin-top: 10px; gap: 2px 4px; }
  .hb-r8 .hb-hero__links > .hb-button { min-width: 100px; min-height: 44px; padding: 8px 11px; gap: 6px; font-size: 13px; }
  .hb-r8 .hb-hero__links > .hb-text-link { gap: 3px; font-size: 12px; min-height: 44px; }
  .hb-r8 .hb-search__box { margin: 0; padding: 15px 13px; }
  .hb-r8 .hb-search__filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hb-r8 :is(.hb-search__filters, .hb-search__keyword-row) > * { min-width: 0; }
  .hb-r8 :is(.hb-search__filters, .hb-search__keyword-row) > .hb-button { white-space: normal; overflow-wrap: anywhere; }
  .hb-r8 .hb-search__keyword-row { grid-template-columns: minmax(0,1fr) fit-content(40%); }
  .hb-r8 .hb-search__keyword-row > .hb-button { height: auto; }
  .hb-r8 .hb-search__form select { min-height: 24px; }
  .hb-r8 #hb-recommend .hb-job-card .hb-job-card__facts { margin-top: auto; }
  .hb-r8 #hb-recommend .hb-job-card__pay dd { color: var(--hb-primary); font-size: 20px; font-weight: 700; line-height: 1.4; }
  .hb-r8 #hb-recommend .hb-job-card > .hb-button { margin-top: 0; }
  .hb-r8 #hb-recommend .hb-job-grid, .hb-r8 .hb-pair__inner { grid-template-columns: 1fr; }
  .hb-r8 .hb-pair__inner { gap: 18px; }
  .hb-r8 .hb-pair img { height: 190px; }
  .hb-r8 #hb-information .hb-info-card { gap: 10px; }
  .hb-r8 #hb-information .hb-info-card img { height: 58px; }
  .hb-r8 #hb-reasons .hb-feature .hb-feature__photograph { aspect-ratio: 2.1; }
}

/* A shared guide for the home and about pages. */
.hb-r8 .hb-guide-layout {
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
}
.hb-r8 .hb-topic-nav {
  min-width: 0; padding: clamp(20px, 3vw, 42px);
  background: #e8f5fc; border-top: 3px solid var(--a-sky); border-radius: 0 0 16px 4px;
}
.hb-r8 .hb-page--about .hb-topic-nav { margin-block: 0 clamp(28px, 4vw, 56px); }
.hb-r8 #hb-topic-title {
  margin: 0 0 18px; padding: 0; color: var(--hb-ink); background: transparent; border: 0;
  font-size: clamp(25px, 2.3vw, 36px) !important; line-height: 1.4; letter-spacing: .025em;
}
.hb-r8 #hb-topic-title::after { content: none; }
.hb-r8 .hb-topic-group + .hb-topic-group { margin-top: 22px; }
.hb-r8 .hb-topic-group > p {
  margin: 0 0 8px; color: #315568; font-size: 16px; font-weight: 700; line-height: 1.5;
}
.hb-r8 .hb-topic-group ul {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  padding: 0; margin: 0; list-style: none;
}
.hb-r8 .hb-topic-group li { padding: 0; margin: 0; min-width: 0; }
.hb-r8 .hb-topic-group a {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px;
  min-height: 62px; height: 100%; padding: 10px 16px; box-sizing: border-box;
  color: var(--hb-ink); background: white; border: 1px solid #7892a0; border-radius: 6px;
  font: 700 18px/1.45 var(--hb-font); text-decoration: none;
}
.hb-r8 .hb-topic-group a::after {
  content: ""; width: 8px; height: 8px; color: #00679b;
  border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg);
}
.hb-r8 .hb-topic-group a img {
  width: 26px; height: 26px; object-fit: contain; border-radius: 0; filter: brightness(.78) contrast(2.1);
}
.hb-r8 .hb-topic-group a:is(:hover,:focus-visible) { color: #064569; background: #f2faff; border-color: #00679b; }
.hb-r8 .hb-guide-feature > img {
  display: block; width: 100%; height: auto; aspect-ratio: 1.92; object-fit: cover; border-radius: 4px 24px 4px 4px;
}
.hb-r8 .hb-guide-feature > div { padding: 20px 0 0; }
.hb-r8 #hb-job-guide .hb-guide-feature h2 { margin: 0 0 8px; font-size: clamp(23px, 2.1vw, 31px) !important; }
.hb-r8 #hb-job-guide .hb-guide-feature h2::after, .hb-r8 #hb-business-heading::after { content: none; }
.hb-r8 .hb-guide-feature p { color: var(--hb-muted); font-size: 16px; line-height: 1.8; max-width: 25em; }
.hb-r8 .hb-business-banner {
  display: grid; grid-template-columns: 1fr .95fr; overflow: hidden; align-items: stretch;
  background: #07577e; color: white; border-radius: 4px 24px 4px 4px; text-decoration: none;
}
.hb-r8 .hb-business-copy { align-self: center; padding: clamp(24px, 4vw, 58px); }
.hb-r8 .hb-business-copy :is(h2,p) { color: white; margin: 0; }
.hb-r8 #hb-business-heading { margin: 7px 0 12px; line-height: 1.45; }
.hb-r8 .hb-business-copy > p:not(.hb-eyebrow) { font-size: 16px; line-height: 1.75; }
.hb-r8 #hb-business-action {
  display: inline-flex; align-items: center; gap: 22px; min-height: 44px; padding: 6px 16px;
  margin-top: 22px; color: #07577e; background: white; border-radius: 4px; font-size: 16px; font-weight: 700;
}
.hb-r8 #hb-business-action span { font-size: 20px; }
.hb-r8 .hb-business-banner:is(:hover,:focus-visible) #hb-business-action { text-decoration: underline; text-underline-offset: .2em; }
.hb-r8 #hb-business .hb-business-banner img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 42% 30%; border-radius: 0; }
@media (max-width: 900px) {
  .hb-r8 .hb-guide-layout { grid-template-columns: 1fr; }
  .hb-r8 .hb-guide-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
  .hb-r8 .hb-guide-feature > div { padding: 0; }
}
@media (max-width: 680px) {
  .hb-r8 .hb-topic-nav { padding: 18px 14px; }
  .hb-r8 .hb-topic-group a { grid-template-columns: 1fr auto; gap: 7px; padding: 12px; font-size: 16px; }
  .hb-r8 .hb-topic-group a img { width: 24px; height: 24px; }
  .hb-r8 .hb-topic-group a span { grid-column: 1 / -1; grid-row: 2; }
  .hb-r8 .hb-topic-group a::after { grid-column: 2; grid-row: 1; margin-right: 2px; }
  .hb-r8 .hb-topic-group:last-child ul { grid-template-columns: 1fr; }
  .hb-r8 .hb-topic-group:last-child a { grid-template-columns: 24px 1fr auto; gap: 12px; min-height: 54px; }
  .hb-r8 .hb-topic-group:last-child a :is(img,span), .hb-r8 .hb-topic-group:last-child a::after { grid-column: auto; grid-row: 1; }
  .hb-r8 .hb-guide-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; }
  .hb-r8 .hb-guide-feature > img { height: 100%; aspect-ratio: auto; object-position: 45% 30%; }
  .hb-r8 .hb-guide-feature .hb-text-link { margin-top: 4px; }
  .hb-r8 :is(#hb-reasons .hb-feature:not(:first-child), #hb-job-guide) .hb-copy-phrase {
    display: inline-block;
    white-space: nowrap;
  }
  .hb-r8 .hb-business-banner { grid-template-columns: 1fr; }
  .hb-r8 #hb-business .hb-business-banner img { height: auto; aspect-ratio: 2.65; object-position: 42% 10%; }
  .hb-r8 .hb-business-copy { padding: 24px; }
}

/* 11月25日確認版 */
.hb-r8 .hb-comic { min-width: 0; margin-bottom: clamp(28px, 5vw, 64px); }
.hb-r8 .hb-comic__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  list-style: none; gap: 0; margin: 0; padding: 0; scrollbar-width: none;
}
.hb-r8 .hb-comic__track::-webkit-scrollbar { display: none; }
.hb-r8 .hb-comic__track li { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0; scroll-snap-align: start; }
.hb-r8 #hb-reasons .hb-comic img { display: block; width: 100%; height: auto; filter: none; }
.hb-r8 .hb-comic__track a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; }
.hb-r8 .hb-comic--enhanced .hb-comic__track a { display: none; }
.hb-r8 .hb-comic__frame { position: relative; }
.hb-r8 .hb-comic__arrow:not([hidden]) {
  position: absolute; z-index: 1; inset-block-start: 50%;
  transform: translateY(-50%); display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 0; cursor: pointer;
  background: transparent; color: #53758a; font-size: 24px; font-weight: 400; line-height: 1;
  text-shadow: 0 0 2px #fff, 0 0 7px #fff;
}
.hb-r8 .hb-comic__arrow[data-comic-step="-1"] {
  inset-inline-start: -14px; justify-items: start; padding-inline-start: 3px;
}
.hb-r8 .hb-comic__arrow[data-comic-step="1"] {
  inset-inline-end: -14px; justify-items: end; padding-inline-end: 3px;
}
.hb-r8 .hb-comic__controls:not([hidden]) {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 6px; padding-block: 4px;
}
.hb-r8 .hb-comic__zoom {
  display: inline-flex; align-items: center; min-height: 44px; margin-inline-end: auto;
  font-size: 14px; line-height: 1.4; color: #315a74; text-underline-offset: .22em;
}
.hb-r8 .hb-comic__dots { display: flex; }
.hb-r8 .hb-comic__dots button {
  display: grid; place-items: center; width: clamp(30px, 3.3vw, 38px); height: 44px;
  padding: 0; background: none; border: 0; cursor: pointer;
}
.hb-r8 .hb-comic__dots button::before {
  content: ""; width: 7px; height: 7px; border: 1px solid #57788b; border-radius: 50%;
}
.hb-r8 .hb-comic__dots button[aria-current]::before { background: #315a74; }
.hb-r8 .hb-comic__status {
  position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%);
}
.hb-r8 .hb-comic__playback {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; background: transparent; color: #315a74; cursor: pointer;
}
.hb-r8 .hb-comic__playback::before {
  content: ""; position: absolute; inset-inline-start: 0; height: 14px; border-inline-start: 1px solid #cad8e0;
}
.hb-r8 .hb-comic__playback[data-playing="true"] .hb-comic__play-icon,
.hb-r8 .hb-comic__playback[data-playing="false"] .hb-comic__pause-icon { display: none; }
.hb-r8 .hb-comic :is(a, button, .hb-comic__track):focus-visible {
  outline: 2px solid #09618b; outline-offset: -2px; border-radius: 3px;
}
.hb-r8.post-type-archive-article .article-flex .article > article.hb-disclosure-card:first-child {
  grid-column: auto;
}
.hb-r8 .hb-footer { padding-block: clamp(32px, 4vw, 52px) 24px; }
.hb-r8 .hb-footer__inner > .hb-footer__identity > .hb-footer__tagline {
  margin: 16px 0; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.5;
}
.hb-r8 .hb-footer__company-info {
  display: grid; justify-content: start; gap: 2px; margin: 0; font-size: 14px; line-height: 1.6;
}
.hb-r8 .hb-footer__company-info p { margin: 0; }
.hb-r8 .hb-footer__company-info p:first-child { font-weight: 600; }
.hb-r8 .hb-footer__company-info a { white-space: nowrap; }
.hb-r8 .hb-footer__bottom { margin-top: 24px; padding-top: 14px; }
@media (max-width: 1023px) {
  .hb-r8 .hb-footer__inner { display: grid; gap: 24px; }
  .hb-r8 .hb-footer nav { padding-top: 0; }
}
.hb-r8 .hb-footer nav {
  --hb-footer-link-rule: #d7e3e9;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0 clamp(14px, 2vw, 28px);
}
.hb-r8 .hb-footer nav > a,
.hb-r8 .hb-footer__section-links > li > a {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 44px; padding: 8px 0;
  border-bottom: 1px solid var(--hb-footer-link-rule);
  font-weight: 500; line-height: 1.45; overflow-wrap: anywhere;
}
.hb-r8 .hb-footer nav > a:nth-of-type(n+3) { border-bottom: 0; }
.hb-r8 .hb-footer nav > a::after,
.hb-r8 .hb-footer nav :is(.hb-footer__section-links > li > a, .hb-footer__nsg-banner)::after {
  content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-inline: 2px 3px;
  border-top: 1px solid #56839b; border-right: 1px solid #56839b; transform: rotate(45deg);
}
.hb-r8 .hb-footer nav a:is(:hover, :focus-visible) { text-decoration: underline; text-underline-offset: .2em; }
.hb-r8 .hb-footer__group-links {
  grid-column: 1 / -1; min-width: 0; column-gap: inherit;
  border-top: 1px solid var(--hb-footer-link-rule);
  margin-top: 0; padding-top: 14px;
}
.hb-r8 .hb-footer nav a.hb-footer__nsg-banner {
  display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px;
  min-height: 44px; margin-bottom: 2px; padding: 8px 12px;
  border: 1px solid var(--hb-footer-link-rule); border-radius: 4px;
  background: #f3f8fb; color: #113b58 !important;
  font-weight: 500; line-height: 1.45;
}
.hb-r8 .hb-footer__group-links h2 {
  margin: 0 0 8px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.45;
}
.hb-r8 .hb-footer__section-links,
.hb-r8 .hb-footer__section-children { margin: 0; padding: 0; list-style: none; }
.hb-r8 .hb-footer__section-links {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: inherit;
}
.hb-r8 .hb-footer__section-children {
  margin: 4px 0 0; padding-inline-start: 12px; border-inline-start: 1px solid var(--hb-footer-link-rule);
}
.hb-r8 .hb-footer nav .hb-footer__section-children a {
  display: flex; align-items: center; min-height: 33px; font-size: .875em;
}
.hb-r8 #company-profile { scroll-margin-top: 110px; }
.hb-page--company .company-info_block .hb-trade-entry :is(.hb-trade-description, .hb-trade-permit > span) {
  display: inline;
}
.hb-page--company .company-info_block .hb-trade-entry .hb-trade-permit {
  display: inline-block;
  max-inline-size: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.hb-page--company .hb-company-map { margin-block: 12px 24px; }
.hb-page--company .hb-company-map p { margin-bottom: 12px; }
.hb-page--company .hb-company-map iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 38vw, 350px);
  border: 1px solid var(--hb-rule);
}

.hb-r8 .hb-copy-unit,
.hb-r8 .hb-app-form__destination > strong {
  display: inline-block;
  white-space: nowrap;
}
.hb-r8 #hb-reasons .hb-benefits-heading[data-hb-natural-wrap] {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
@media (width < 320px) {
  .hb-r8 #hb-reasons .hb-feature.hb-feature--benefits {
    display: grid;
    grid-template-columns: 37% minmax(0, 1fr);
    column-gap: 12px;
  }
  .hb-r8 #hb-reasons .hb-feature--benefits > div { display: contents; }
  .hb-r8 #hb-reasons .hb-feature--benefits .hb-feature__number { grid-area: 1 / 1; place-self: baseline start; }
  .hb-r8 #hb-reasons .hb-feature--benefits .hb-benefits-heading {
    grid-area: 1 / 1 / 2 / -1;
    align-self: baseline;
    margin-inline-start: 26px;
  }
  .hb-r8 #hb-reasons .hb-feature.hb-feature--benefits .hb-feature__photograph { grid-area: 2 / 1; width: 100%; }
  .hb-r8 #hb-reasons .hb-feature--benefits p { grid-area: 2 / 2; }
}
.hb-r8 .hb-footer nav a.hb-footer__nsg-banner { overflow-wrap: normal; }
.hb-r8 :is(.hb-recommended-job h3 > a, .hb-recommended-job__salary, .article-link .article-title) {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
@media (min-width: 768px) {
  .hb-r8:not(.post-type-archive-job) .hb-r8-content .hb-recommended-job {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 360px) {
  .hb-r8 .hb-search__filters > button[type="submit"],
  .hb-r8 .hb-footer nav > .hb-footer__privacy { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .hb-site.hb-r8 .job-article th,
  .hb-site.hb-r8.single-job .job table th {
    width: 33%;
    min-inline-size: calc(4em + 16px);
    padding-inline: 8px !important;
    white-space: nowrap;
  }
  .hb-r8 .hb-recruitment__card-heading { flex-wrap: wrap; }
}

.hb-r8 .hb-sidebar__articles .hb-sidebar__article img.hb-article-approved-artwork {
  object-fit: contain;
  background: #f2f7fa;
}

.hb-r8 .hb-job-results-count { flex-direction: column; align-items: stretch; gap: 12px; }
.hb-r8 .hb-job-results-count > p { margin: 0; }
.hb-r8 .hb-job-results-count .hb-tax-search { margin: 0; }
.hb-job-refine { min-width: 0; }
.hb-job-refine__current {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  color: var(--hb-ink); font-size: .9375rem;
}
.hb-job-refine__current p, .hb-job-refine__current ul { margin: 0; }
.hb-job-refine__current ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; min-width: 0; }
.hb-job-refine__current li { padding: 3px 8px; background: #e7f2f9; overflow-wrap: anywhere; }
.hb-job-refine__current a { color: var(--hb-primary); text-underline-offset: .2em; }
.hb-job-refine__details { margin-block-start: 10px; background: #fff; border: 1px solid var(--hb-rule); border-radius: 5px; }
.hb-job-refine__details > summary { min-height: 44px; padding: 10px 14px; font-weight: 700; color: var(--hb-primary); cursor: pointer; }
.hb-job-refine__details > summary:focus-visible { outline: 2px solid var(--hb-primary); outline-offset: -3px; }
.hb-job-refine__details[open] > summary { border-bottom: 1px solid var(--hb-rule); }
.hb-r8 .hb-job-refine .hb-tax-search { border: 0; box-shadow: none; }
.hb-job-refine__keyword { display: grid; gap: 6px; font-size: .9375rem; font-weight: 600; }
.hb-job-refine__keyword input { width: 100%; padding: 8px 12px; min-height: 44px; border: 1px solid var(--hb-rule); border-radius: 4px; }
.hb-r8 .hb-job-results-count :is(.search-result_layout, .search-result_order) { gap: 8px; }

.hb-r8 .hb-mobile-menu__company { grid-column: 1 / -1; padding-block-start: 8px; border-top: 1px solid var(--hb-rule); }
.hb-r8 .hb-mobile-menu__company a { display: inline-flex; align-items: center; margin-inline-end: 1.25em; }
.hb-r8 .hb-company-group-subtitle { margin: 24px 0 10px; font-size: clamp(17px,1.6vw,21px); }
.hb-r8 .hb-recruit-form-return { margin-block-start: 24px; }
.hb-r8 .hb-login-job-context {
  width: min(100%, 548px); margin: 0 auto 14px; padding: 14px 20px;
  border-inline-start: 3px solid var(--hb-primary); background: var(--hb-soft);
}
.hb-r8 .login-frame .hb-login-job-context h3 {
  margin: 0 0 4px; padding: 0; text-align: start; background: transparent; color: var(--hb-ink);
  font-size: clamp(18px, 2vw, 22px); line-height: 1.45;
}
.hb-r8 .hb-login-job-context p { margin: 0; color: var(--hb-ink); }
.hb-r8 .hb-login-reset { margin: 3px 0 12px; font-size: .875rem; }
.hb-r8 .hb-login-reset a { color: var(--hb-primary); text-underline-offset: .2em; }

.hb-site.hb-r8.post-type-archive-article .article-flex > .article { row-gap: clamp(24px, 3vw, 42px); }
.hb-site.hb-r8.post-type-archive-article .article-link {
  display: grid; grid-template-rows: auto auto auto 1fr; align-content: start;
  row-gap: 6px; padding-bottom: 14px;
}
.hb-site.hb-r8.post-type-archive-article .article-link .img-cover { margin-block: 0; }
.hb-site.hb-r8.post-type-archive-article .article-link :is(.article-text,.article-taxonomy,.article-title) { margin: 0; padding: 0; }
.hb-site.hb-r8.post-type-archive-article .article-link .article-taxonomy:empty { display: none; }
.hb-site.hb-r8.post-type-archive-article .article-link .article-title { align-self: start; line-height: 1.55; }
.hb-site.hb-r8.post-type-archive-article .article-link .img-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 767px) {
  .hb-site.hb-r8 .hb-job-results-content > .main-column_contents > .title-h2 {
    margin-block: 0 12px; padding-block: 8px; font-size: clamp(20px, 6vw, 26px) !important;
  }
  .hb-r8 .hb-job-results-count { padding: 10px 12px; margin: 0 0 8px; }
  .hb-r8 .hb-job-results-count > p > b { font-size: 20px; }
  .hb-r8 .hb-job-results-count .search-result_order > span { font-size: .875rem; }
  .hb-site.hb-r8 .hb-job-results-content .job-article { padding-block: 15px 24px; }
}
.hb-site.hb-r8 .hb-job-refine .hb-tax-search { padding: 0 !important; background: transparent !important; }
.hb-r8 .hb-job-refine .hb-list-filters__body { padding: 16px; }
.hb-r8 .hb-job-refine .hb-tax-filter__choices { position: static; box-shadow: none; }


/* Persistent contact guidance on staff registration and staff-job applications only. */
.hb-r8 .hb-contact-input-hint,
.hb-r8 .hb-contact-input-error { display: block; margin-top: 6px; font-size: .875rem; line-height: 1.55; overflow-wrap: anywhere; }
.hb-r8 .hb-contact-input-hint { color: var(--hb-ink, #34465a); }
.hb-r8 .hb-contact-input-error { color: #a32130; font-weight: 600; }

/* 11月26日確認版 */
.hb-r8 #hb-reasons .hb-comic__heading {
  margin: 0 0 12px;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.45;
}
.hb-r8 .hb-footer__company-info {
  --hb-footer-link-rule: #d7e3e9;
}
.hb-r8 .hb-footer__company-info .hb-footer__section-links {
  display: flex;
  align-items: flex-start;
  gap: 12px 24px;
  margin-block: 4px 6px;
}
.hb-r8 .hb-footer__company-info .hb-footer__section-links > li > a {
  min-height: 32px;
  padding-block: 4px;
}
.hb-r8 .hb-footer__company-info .hb-footer__section-children a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  font-size: .875em;
}
.hb-r8 .hb-footer__company-info .hb-footer__related {
  margin-block-start: 1lh;
}

.hb-r8 #hb-reasons .hb-benefits-copy .hb-copy-unit:last-child::after {
  content: "※";
  margin-inline-start: .12em;
  font-size: .75em;
  vertical-align: super;
}
.hb-r8 #hb-reasons .hb-benefits-note {
  display: block;
  grid-column: 1 / -1;
  margin-block-start: .25em;
  font-size: .75rem;
  line-height: 1.5;
}

@media (width < 320px) {
  .hb-r8 #hb-reasons .hb-feature--benefits .hb-benefits-note { grid-area: 3 / 2; }
}
