/* Layout and type scale for the approved photographic design. */
body.hb-r8 {
  --hb-primary: #006ea8;
  --hb-ink: #18384c;
  --hb-muted: #435e6c;
  --hb-soft: #eaf6fa;
  --hb-paper: #f2f8fa;
  --hb-rule: #bccfd6;
  --r9-white: #fdfefe;
  --r9-gutter: clamp(18px, 4vw, 60px);
  --r9-section: clamp(48px, 6vw, 92px);
  background: var(--r9-white);
}
.hb-r8 .hb-header {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--hb-rule);
  border-radius: 0;
  background: var(--r9-white);
  box-shadow: none;
}
.hb-r8 .hb-header__inner { min-height: 76px; padding-inline: var(--r9-gutter); }
.hb-r8 .hb-mobile-menu { border-radius: 0; }
.hb-r8 .hb-button, .hb-r8 .btn { border-radius: 5px !important; }
.hb-r8 .hb-header .hb-button { background: var(--hb-primary); border-color: var(--hb-primary); }
.hb-r8 .hb-hero {
  margin: 0 auto;
  max-width: 1800px;
  border-radius: 0 0 32px 0;
  background: var(--hb-soft);
}
.hb-r8 .hb-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  min-height: clamp(430px, 38vw, 600px);
  isolation: isolate;
}
.hb-r8 .hb-hero__photo {
  position: absolute;
  grid-area: 1 / 1;
  inset: 0;
  width: 100%;
  height: 100% !important;
  border-radius: 0;
  object-fit: cover;
  object-position: center 6%;
  z-index: -2;
}
.hb-r8 .hb-hero__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f5fbfd 0%, #f5fbfdf5 28%, #f5fbfdb8 42%, transparent 63%);
  z-index: -1;
  pointer-events: none;
}
.hb-r8 .hb-hero__copy {
  width: min(54%, 810px);
  padding: clamp(42px, 5vw, 88px) 0 clamp(64px, 6vw, 100px) max(var(--r9-gutter), calc((100vw - 1192px) / 2));
}
.hb-site.hb-r8 .hb-hero h1 {
  color: var(--hb-ink) !important;
  font: 700 clamp(40px, 4.4vw, 72px)/1.43 var(--hb-font);
  letter-spacing: .035em;
}
.hb-r8 .hb-hero :is(.hb-hero__tagline, .hb-text-link) { color: #194b64 !important; }
.hb-r8 .hb-hero .hb-button { background: var(--hb-primary); color: var(--r9-white) !important; }
.hb-r8 .hb-hero__links { gap: 4px 20px; }
.hb-r8 .hb-hero__links > .hb-button { min-width: 160px; }
.hb-r8 :is(.hb-hero, .hb-footer, #hb-information) :focus-visible { outline-color: var(--hb-primary); }
.hb-r8 .hb-search { position: relative; z-index: 1; padding: 0 0 clamp(24px, 4vw, 52px); }
.hb-r8 .hb-search__box, .hb-r8 .hb-list-filters, .hb-r8 .hb-tax-search {
  background: var(--r9-white) !important;
  border: 1px solid var(--hb-rule);
  border-top: 4px solid var(--hb-primary);
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 10px 30px #1741580c;
}
.hb-r8 .hb-search__box { margin-top: -32px; padding: clamp(20px, 2.7vw, 40px); }
.hb-r8 .hb-search__filters label { border: 1px solid var(--hb-rule); background: var(--hb-paper); border-radius: 4px; }
.hb-r8 .hb-search__form h2, .hb-r8 .hb-list-filters > h2 { letter-spacing: .035em; }
.hb-r8 .hb-list-filters > #hb-tax-search-title {
  position: static;
  transform: none;
  margin: 0;
  padding: clamp(16px, 2vw, 24px) clamp(14px, 3vw, 24px) 0;
}
.hb-r8 .hb-eyebrow, .hb-r8 time { font-variant-numeric: tabular-nums; }
.hb-r8 .hb-section__heading { align-items: end; }
.hb-r8 .hb-section__heading h2, .hb-r8 .hb-intro h2, .hb-r8 #hb-recommend .hb-section__heading h2 {
  font-size: clamp(30px, 3.1vw, 48px) !important;
  line-height: 1.4;
  letter-spacing: .025em;
}
.hb-r8 :is(#hb-beginners, #hb-recommend, #hb-reasons, #hb-information) { padding-block: var(--r9-section); }
.hb-r8 #hb-beginners, .hb-r8 #hb-information { background: var(--hb-soft); }
.hb-r8 #hb-beginners .hb-guide-actions { gap: 2px; border-radius: 6px; background: var(--hb-rule); }
.hb-r8 #hb-beginners .hb-guide-actions > div { background: var(--r9-white); }
.hb-r8 #hb-recommend, .hb-r8 #hb-reasons { background: var(--r9-white); }
.hb-r8 #hb-recommend .hb-job-grid, .hb-r8 .hb-r8-content .flex-listjob { border: 0; }
.hb-r8 #hb-recommend .hb-job-card, .hb-r8 .hb-r8-content .list-job, .hb-site.hb-r8 .hb-r8-content .job-article {
  padding: clamp(20px, 2.6vw, 40px);
  margin-bottom: 16px;
  background: var(--r9-white);
  border: 1px solid var(--hb-rule);
  border-left: 4px solid var(--hb-primary);
  border-radius: 0 6px 6px 0;
}
.hb-r8 #hb-recommend .hb-job-card__pay dd, .hb-r8 .list-job dd { font-variant-numeric: tabular-nums; }
.hb-r8.post-type-archive-job .list-job h3 a { display: block; overflow: visible; }
.hb-r8 .hb-job-detail-cue, .hb-r8 #hb-recommend .hb-job-card > .hb-button {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 5px;
  background: var(--hb-primary);
  color: white;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.hb-r8 .hb-job-detail-cue { margin-top: 12px; }
.hb-r8.post-type-archive-job .main-column_contents .card > a[href*="/job/"]::after {
  content: "詳細を見る　→" / "";
  display: block;
  margin-top: 8px;
  color: var(--hb-primary);
  font-size: 14px;
  font-weight: 700;
}
.hb-r8.post-type-archive-job .list-job h3 a:is(:hover, :focus-visible) .hb-job-detail-cue { text-decoration: underline; }
@media (min-width: 768px) {
  .hb-r8.post-type-archive-job .main-column_contents .list-job dl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(12.5rem, 1.15fr);
  }
  .hb-r8 #hb-recommend .hb-job-card__pay dd, .hb-r8.post-type-archive-job .list-job dl > div:nth-child(2) dd {
    font-size: clamp(22px, 1.8vw, 28px);
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}
.hb-r8 #hb-reasons { border-top: 1px solid var(--hb-rule); }
.hb-r8 #hb-reasons .hb-feature .hb-feature__photograph { border-radius: 3px 3px 18px 3px; }
.hb-r8 #hb-information :is(.hb-eyebrow, h2, p, strong, small, b) { color: var(--hb-ink); }
.hb-r8 #hb-information .hb-section__heading p { color: var(--hb-muted); }
.hb-r8 #hb-information .hb-info-grid { gap: 16px; }
.hb-r8 #hb-information .hb-info-card {
  background: var(--r9-white);
  border: 1px solid var(--hb-rule);
  border-radius: 5px;
  padding: clamp(16px, 2.5vw, 34px);
}
.hb-r8 #hb-information .hb-info-card img { border-radius: 4px; background: var(--hb-paper); }
.hb-r8 #hb-news { border-bottom: 1px solid var(--hb-rule); }
.hb-r8 .hb-cta { border-radius: 0; }
.hb-r8 .hb-footer { border-top: 3px solid var(--hb-primary); background: var(--r9-white); color: var(--hb-ink); }
.hb-r8 .hb-footer__logos { background: transparent; padding: 0; }
.hb-r8 .hb-footer__inner > div > p { margin: 20px 0 28px; font: 500 clamp(23px, 2.2vw, 34px)/1.65 var(--hb-font); }
.hb-r8 .hb-footer nav, .hb-r8 .hb-footer__bottom { border-color: var(--hb-rule); }
.hb-r8 .hb-footer nav a, .hb-r8 .hb-footer__company-info, .hb-r8 .hb-footer__company-info a,
.hb-r8 .hb-footer__bottom, .hb-r8 .hb-footer p { color: var(--hb-ink) !important; }
.hb-r8 .hb-page__heading, .hb-site.hb-r8 #hb-main > .bg-blue {
  background: var(--hb-paper);
  border-bottom: 1px solid var(--hb-rule);
  margin-bottom: clamp(24px, 4vw, 60px);
}
.hb-r8 .hb-page__heading { padding: clamp(26px, 3.5vw, 58px) 0; }
.hb-r8 .hb-page__heading h1, .hb-r8 .title-post, .hb-r8 .hb-r8-content > .main-column_contents > .title-h2,
.hb-r8.single-article .single-article h1 {
  font-family: var(--hb-font);
  font-size: clamp(30px, 3.25vw, 52px) !important;
  font-weight: 700;
  line-height: 1.5 !important;
  letter-spacing: .035em;
}
.hb-r8 .hb-page__heading h1 { padding-block: 0; }
.hb-r8 .title-post { padding-block: clamp(28px, 4vw, 60px); }
.hb-r8 .hb-resource-band, .hb-r8 .main-column_sidebar, .hb-r8 .hb-route-cta {
  background: var(--hb-paper);
  border-radius: 0;
  border-top: 2px solid var(--hb-primary);
}
.hb-r8 .hb-sidebar__heading, .hb-r8 .hb-client-service h3 { color: var(--hb-primary); }
.hb-r8 .hb-page--about .about-toptext { border-inline-start: 4px solid var(--hb-primary); border-radius: 0; }
.hb-r8 .hb-page--about .hb-about-nav, .hb-r8 .hb-page__body .hb-r4-client-intro {
  background: var(--hb-primary);
  border-radius: 2px 2px 20px 2px;
}
.hb-r8 .hb-about-nav__group { color: var(--r9-white) !important; }
.hb-r8 .hb-page--about .about-content > .about-img, .hb-r8 .company-img img, .hb-r8 .hb-r4-client-image {
  border-radius: 2px 2px 18px 2px;
}
.hb-r8 .company-message, .hb-r8 .hb-voice__article { border-top: 2px solid var(--hb-primary); border-radius: 0; }
.hb-r8 .company-message_box { font-family: var(--hb-font); }
.hb-r8 .hb-recruitment__card-heading, .hb-r8 .hb-review-result { border-radius: 3px; }
.hb-r8 .hb-faq__item { border: 1px solid var(--hb-rule); border-radius: 4px; margin-block: 10px; }
.hb-r8 .hb-faq__question { padding-inline: clamp(12px, 2vw, 26px); }
.hb-r8 .hb-faq__item[open] { border-color: var(--hb-primary); }
.hb-site.hb-r8.single-job .job-head { background: var(--hb-primary); border-radius: 0 0 18px 0; }
.hb-site.hb-r8.single-job .job-head h2 { margin-bottom: 12px; }
.hb-r8 .job-head .hb-job-summary {
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  margin: 0 0 18px; color: white; font-size: 16px; font-weight: 600; line-height: 1.6;
}
.hb-job-summary dd { margin: 0; overflow-wrap: anywhere; }
.hb-r8 .job-head_btn { max-width: none; }
.hb-r8 .job-head_btn > .hb-button, .hb-r8 .hb-job-dock > .hb-button {
  width: 100%; min-height: 48px; padding-inline: 12px; justify-content: center; white-space: nowrap;
}
.hb-r8 .job-head_btn .hb-job-login-note { margin: 8px 0 0; font-size: 14px; line-height: 1.7; }
.hb-job-login-note > span { display: block; text-wrap: pretty; }
.hb-job-login-note a, .hb-job-note-ending { white-space: nowrap; }
.hb-job-dock { display: none; }
@media screen and (max-width: 767px) {
  .hb-site.hb-r8.single-job .job-head { padding-inline: 16px; }
  .hb-r8 .job-head .hb-job-summary {
    display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; font-size: 14px;
  }
  html:has(.hb-job-dock) { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .hb-site.single-job:has(.hb-job-dock) { padding-bottom: calc(69px + env(safe-area-inset-bottom, 0px)); }
  .hb-r8 .hb-job-dock {
    position: fixed; inset: auto 0 0; z-index: 20; display: block;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    border-top: 1px solid var(--hb-rule); background: var(--r9-white);
  }
  .hb-r8 .hb-job-dock > .hb-button {
    display: flex; box-sizing: border-box; align-items: center; height: 48px; padding-block: 0;
    background: var(--hb-primary); color: white;
  }
}
.hb-r8.post-type-archive-article .article-link { border-bottom: 1px solid var(--hb-rule); padding-bottom: 22px; }
.hb-r8.post-type-archive-article .article-link .img-cover { border-radius: 2px 2px 16px 2px; }
.hb-r8.single-article .single-article_top { border-bottom: 1px solid var(--hb-rule); }
/* Darken the two table headers in the supplied report without recoloring its chart. */
.single-article_img:has(> img[src$="/margin-2026hb.jpg"]) {
  position: relative;
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    backdrop-filter: brightness(.66) contrast(3.2);
    clip-path: polygon(1% 15%, 52% 15%, 52% 22%, 1% 22%, 1% 81%, 63% 81%, 63% 91%, 1% 91%);
  }
}
.hb-r8.single-article #single-article_content { max-width: 760px; line-height: 1.95; }
.hb-r8.post-type-archive-info .list-news { border-top: 2px solid var(--hb-primary); }
.hb-r8.post-type-archive-info .list-news time { color: var(--hb-primary); }
.hb-r8.single-info .info-head {
  gap: 12px;
  border-bottom: 1px solid var(--hb-rule);
  padding-bottom: clamp(20px, 3vw, 38px);
  margin-bottom: clamp(24px, 4vw, 52px);
}
.hb-r8.single-info .info-head h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--hb-ink);
  font: 700 clamp(28px, 3.25vw, 48px)/1.5 var(--hb-font);
}
.hb-r8.single-info .info-head h2::before, .hb-r8.single-info .info-head h2::after { display: none; }
.hb-r8 .hb-legal { line-height: 1.9; }
.hb-r8 .hb-legal :is(h2,h3) { margin-block: 1.6em .65em; }
.hb-r8 .hb-member-nav, .hb-r8 #wpmem_login, .hb-r8 .mypage-elearning {
  background: var(--hb-paper);
  border: 1px solid var(--hb-rule);
  border-top: 3px solid var(--hb-primary);
  border-radius: 0 0 6px 6px;
}
.hb-r8 .hb-member-nav a { border: 1px solid var(--hb-rule); border-radius: 4px; }
.hb-r8 .hb-member-nav a[aria-current] { border-color: var(--hb-primary); }
.hb-r8 :is(.wpmemform, .mw_wp_form) { background: var(--r9-white); }
.hb-r8 :is(.wpmemform, .mw_wp_form, .hb-app-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]), textarea, select) {
  background: var(--r9-white) !important;
  border: 1px solid #778f9b !important;
  border-radius: 4px;
  min-height: 50px;
  padding: 12px 14px;
}
.hb-r8 :is(.wpmemform, .mw_wp_form) :is(input[type=submit], button[type=submit]) { border-radius: 5px; }
.hb-r8 .hb-app-form__destination, .hb-r8 .hb-app-consent {
  background: var(--hb-paper);
  border-inline-start: 3px solid var(--hb-primary);
  padding: 16px 20px;
}
.hb-r8 .hb-app-form__fields > label { color: var(--hb-ink); row-gap: 6px; }
.hb-r8 :is(input, textarea, select):focus-visible { outline: 3px solid var(--hb-primary); outline-offset: 2px; }
@media (min-width: 1024px) {
  .hb-r8 .hb-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 64px; }
  .hb-r8 .hb-footer nav { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; padding: 0; gap: 4px 28px; }
}
@media (max-width: 1000px) and (min-width: 768px) {
  .hb-r8 .hb-hero__copy { width: 60%; padding-left: 32px; }
  .hb-site.hb-r8 .hb-hero h1 { font-size: 36px; }
}
@media (max-width: 767px) {
  .hb-r8 .hb-header__inner { min-height: 62px; height: auto; padding: 6px 12px; }
  .hb-r8 .hb-hero { border-radius: 0; }
  .hb-r8 .hb-hero__grid { display: flex; flex-direction: column; min-height: 0; }
  .hb-r8 .hb-hero__grid::before { display: none; }
  .hb-r8 .hb-hero__photo {
    position: static; order: 0; z-index: auto;
    height: clamp(205px, 58vw, 360px) !important;
    object-position: center 34%;
  }
  .hb-r8 .hb-hero__copy { order: 1; width: 100%; padding: 22px var(--r9-gutter) 28px; }
  .hb-r8 .hb-hero__tagline { margin-bottom: 8px !important; }
  .hb-site.hb-r8 .hb-hero h1 { font-size: clamp(29px, 7.6vw, 40px); }
  .hb-r8 .hb-hero__links { margin-top: 16px; gap: 2px 14px; }
  .hb-r8 .hb-hero__links > .hb-button { min-width: 124px; }
  .hb-r8 .hb-search__box { margin: 0; padding: 16px 12px 20px; }
  .hb-r8 #hb-information .hb-info-card { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; }
  .hb-r8 #hb-information .hb-info-card img { width: 48px; height: 48px; min-height: 0; }
  .hb-r8 #hb-information .hb-info-card span, .hb-r8 #hb-information .hb-info-card b { padding: 0; }
  .hb-r8 #hb-recommend .hb-job-card, .hb-r8 .hb-r8-content .list-job, .hb-site.hb-r8 .hb-r8-content .job-article { padding: 20px 16px; }
  .hb-r8 .hb-page__heading { padding-block: 24px; }
  .hb-r8 .hb-footer nav { gap: 4px 18px; }
}
