html {
  scroll-behavior: smooth;
  color-scheme: light;
  background: #fff;
}

body,
.wrap,
.recruit-page {
  background: #fff;
}

.recruit-page {
  padding-top: 60px;
  color: #222;
}

.recruit-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.recruit-hero {
  position: relative;
  height: 170px;
  padding: 0 8.4vw 0 max(7vw, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(90deg, #f3f8fd, #eef7ff 55%, #cfe9ff);
}

.recruit-hero h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  display: flex;
  align-items: center;
  color: #538dc1;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .04em;
  white-space: nowrap;
}

.recruit-hero h2 span {
  margin: 4px 0 0 12px;
  display: flex;
  align-items: center;
  font: 400 13px/1 Roboto, sans-serif;
  letter-spacing: .12em;
}

.recruit-hero h2 span::before {
  content: "";
  width: 18px;
  height: 1px;
  margin-right: 10px;
  background: currentColor;
}

.recruit-hero__bars {
  position: absolute;
  right: 8.4vw;
  bottom: 0;
  width: 120px;
  height: 170px;
  display: flex;
  align-items: flex-end;
}

.recruit-hero__bars i {
  width: 27px;
  margin-left: 3px;
  background: linear-gradient(0deg, #fff 0 55%, transparent);
}

.recruit-hero__bars i:nth-child(1) { height: 75px; }
.recruit-hero__bars i:nth-child(2) { height: 105px; }
.recruit-hero__bars i:nth-child(3) { height: 135px; }
.recruit-hero__bars i:nth-child(4) { height: 165px; }

.recruit-local-nav {
  position: sticky;
  top: 60px;
  z-index: 20;
  min-height: 60px;
  box-sizing: border-box;
  border-bottom: 1px solid #e8edf2;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
}

.recruit-local-nav__scroller {
  min-height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  box-sizing: border-box;
  white-space: nowrap;
}

.recruit-local-nav a {
  color: #333;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
}

.recruit-local-nav a:hover,
.recruit-local-nav a.is-active {
  color: var(--color-primary);
}

.recruit-breadcrumb {
  width: min(1120px, 86%);
  margin: 0 auto;
  padding-top: 18px;
}

.recruit-breadcrumb ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  font-size: 12px;
}

.recruit-breadcrumb a {
  color: #333;
  text-decoration: none;
}

.recruit-breadcrumb a:hover {
  color: var(--color-primary);
}

.recruit-breadcrumb [aria-current="page"] {
  color: #538dc1;
}

.recruit-breadcrumb__separator {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-top: 1px solid #9cabb6;
  border-right: 1px solid #9cabb6;
  transform: rotate(45deg);
}

.recruit-message,
.recruit-values,
.recruit-positions,
.recruit-flow {
  padding: 100px 7vw;
  scroll-margin-top: 120px;
}

.recruit-message {
  padding-right: 7vw;
  padding-bottom: 56px;
  padding-left: 7vw;
}

.recruit-message .recruit-inner {
  width: min(1120px, 100%);
}

.recruit-values {
  padding-top: 56px;
  padding-bottom: 56px;
}

.recruit-positions {
  padding-top: 56px;
  padding-bottom: 72px;
}

.recruit-flow {
  padding: 40px 7vw 72px;
  color: #222;
  background: #fff;
}

.recruit-heading__eyebrow {
  margin: 0 0 16px;
  font-family: Roboto, sans-serif;
  font-size: var(--section-title-large-font-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .05em;
}

.recruit-heading__title {
  margin: 0 0 64px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .05em;
}

.recruit-message__content {
  display: block;
}

.recruit-message__layout {
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(0, 1fr);
  column-gap: 0;
  align-items: center;
  width: calc(100% + 6vw);
}

.recruit-message__lead {
  margin: 0 0 42px;
  color: #222;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: .05em;
  white-space: nowrap;
}

.recruit-message__text {
  max-width: none;
  margin: 0;
}

.recruit-message__visual {
  width: 100%;
  max-width: none;
  margin: 0;
  justify-self: end;
  transform: translateX(-16px);
}

.recruit-message__visual img {
  display: block;
  width: 100%;
  height: auto;
}

.recruit-message__text p {
  margin: 0 0 22px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 2.25;
  letter-spacing: 0;
}

.recruit-message__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .recruit-message__layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    column-gap: 20px;
  }

  .recruit-message__lead {
    font-size: 32px;
    white-space: normal;
  }
}

.recruit-values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dfe7ee;
  border-bottom: 1px solid #dfe7ee;
}

.recruit-value {
  position: relative;
  min-height: 250px;
  padding: 42px;
  box-sizing: border-box;
}

.recruit-value:not(:last-child) {
  border-right: 1px solid #dfe7ee;
}

.recruit-value__number {
  display: block;
  margin-bottom: 34px;
  color: var(--color-primary);
  font: 400 15px/1 Roboto, sans-serif;
}

.recruit-value h3 {
  margin: 0 0 20px;
  color: #538dc1;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .04em;
}

.recruit-value p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: .03em;
}

.recruit-job {
  border: 0;
}

.recruit-position-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  background: #fff;
}

.recruit-position-list > a {
  position: relative;
  min-height: 88px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: #222;
  text-decoration: none;
  text-align: center;
  transition: color .25s ease;
}

.recruit-position-list > a:not(:nth-child(4n)):not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 0;
  bottom: 20px;
  width: 1px;
  background: #dfe7ee;
}

.recruit-position-list > a:hover {
  color: var(--color-primary);
}

.recruit-position-list__content {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-align: left;
}

.recruit-position-list span {
  display: block;
  flex: 0 0 auto;
  margin-bottom: 0;
  color: var(--color-primary);
  font: 400 16px/1 Roboto, sans-serif;
  text-align: left;
}

.recruit-position-list p {
  margin: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: .03em;
  text-align: left;
}

.recruit-position-list + .recruit-job {
  margin-top: 88px;
}

.recruit-job + .recruit-job {
  margin-top: 96px;
}

.recruit-job {
  scroll-margin-top: 120px;
}

.recruit-positions__heading .recruit-heading__title {
  margin-bottom: 0;
}

.recruit-job__header {
  padding: 0 0 42px;
}

.recruit-job__number {
  margin: 0 0 16px;
  color: #222;
  font-family: Roboto, sans-serif;
  font-size: var(--section-title-large-font-size);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .05em;
}

.recruit-job__header h3 {
  margin: 0 0 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .05em;
}

.recruit-job__header > p:last-child {
  max-width: none;
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: .03em;
}

.recruit-job__sentence {
  display: block;
}

@media (min-width: 1100px) {
  .recruit-job__sentence {
    white-space: nowrap;
  }
}

.recruit-job__requirements-title {
  margin: 0 0 14px 12px;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
}

.recruit-job__details {
  margin: 0;
  border-top: 1px solid #dfe7ee;
}

.recruit-job__details > div {
  display: grid;
  grid-template-columns: 28% minmax(0, 1fr);
}

.recruit-job__details dt,
.recruit-job__details dd {
  margin: 0;
  padding: 18px 12px;
  box-sizing: border-box;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  text-align: left;
  border-bottom: 1px solid #dfe7ee;
}

.recruit-job__details dd {
  background: #fff;
  overflow-wrap: anywhere;
}

.recruit-job__details dd p {
  margin: 0;
}

.recruit-job__details dd p + p {
  margin-top: 12px;
}

.recruit-job__tasks {
  margin: 0;
  padding-left: 1.3em;
  list-style: disc;
}

.recruit-job__tasks li + li {
  margin-top: 3px;
}

.recruit-job__tasks li::marker {
  color: #538dc1;
}

.recruit-job__details dt {
  border-bottom-color: #fff;
  background: #e7f2f9;
  color: #538dc1;
  font-weight: 600;
}

.recruit-job__entry-link {
  width: fit-content;
  margin-top: 28px;
  margin-left: 12px;
  display: inline-block;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .25s ease;
}

.recruit-job__entry-link:hover {
  color: var(--color-primary);
}

.recruit-job__sp-break {
  display: none;
}

.recruit-flow__list {
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  list-style: none;
}

.recruit-flow__list li {
  position: relative;
  min-height: 200px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.recruit-flow__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 0;
  bottom: 32px;
  width: 1px;
  background: #dfe7ee;
}

.recruit-flow__content {
  width: fit-content;
  max-width: 100%;
  text-align: left;
}

.recruit-flow .recruit-heading__title {
  margin-bottom: 0;
}

.recruit-flow__list span {
  display: block;
  margin-bottom: 24px;
  color: var(--color-primary);
  font: 400 16px/1 Roboto, sans-serif;
}

.recruit-flow__list h3 {
  margin: 0;
  color: #538dc1;
  font-size: 18px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: .03em;
}

.recruit-flow__list p,
.recruit-flow__note {
  margin: 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.9;
}

.recruit-flow__list p {
  margin-top: 8px;
}

.recruit-flow__note {
  margin-top: 18px;
  color: #667783;
  font-size: 11px;
}

.recruit-entry {
  padding: 40px 7vw 80px;
  color: #222;
  background: #fff;
  scroll-margin-top: 120px;
}

.recruit-entry__inner {
  display: block;
}

.recruit-entry__heading .recruit-heading__title {
  margin-bottom: 0;
}

.recruit-entry__body {
  margin-top: 48px;
}

.recruit-entry__body > p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
}

.recruit-entry__sp-break {
  display: none;
}

.recruit-entry__contacts {
  margin-top: 32px;
  padding: 32px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  border-top: 1px solid #dfe7ee;
  border-bottom: 1px solid #dfe7ee;
}

.recruit-entry__contacts a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  padding: 0 24px;
  box-sizing: border-box;
  color: #222;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s ease;
}

.recruit-entry__contacts a:hover {
  color: var(--color-primary);
}

.recruit-entry__contacts svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  display: block;
  transform: translateY(3px);
}

.recruit-entry__phone {
  font-size: 34px;
}

.recruit-entry__mail {
  border-left: 1px solid #dfe7ee;
  font-size: 24px;
}

@media (max-width: 767px) {
  .recruit-page {
    padding-top: 60px;
  }

  .recruit-hero {
    height: 120px;
    padding: 0 24px;
  }

  .recruit-hero h2 {
    font-size: 26px;
  }

  .recruit-hero h2 span {
    margin-left: 8px;
    font-size: 11px;
  }

  .recruit-hero__bars {
    right: 24px;
    width: 72px;
    height: 140px;
  }

  .recruit-hero__bars i {
    width: 16px;
    margin-left: 2px;
  }

  .recruit-hero__bars i:nth-child(1) { height: 45px; }
  .recruit-hero__bars i:nth-child(2) { height: 65px; }
  .recruit-hero__bars i:nth-child(3) { height: 85px; }
  .recruit-hero__bars i:nth-child(4) { height: 110px; }

  .recruit-local-nav {
    min-height: 48px;
    overflow: hidden;
  }

  .recruit-local-nav__scroller {
    width: 100%;
    max-width: 100vw;
    min-height: 48px;
    padding: 0 24px;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pinch-zoom;
  }

  .recruit-local-nav__scroller::-webkit-scrollbar {
    display: none;
  }

  .recruit-local-nav a {
    flex: 0 0 auto;
    font-size: 11px;
  }

  .recruit-breadcrumb {
    width: auto;
    margin: 0;
    padding: 12px 24px 0;
  }

  .recruit-message,
  .recruit-values,
  .recruit-positions {
    padding: 64px 24px 72px;
    scroll-margin-top: 108px;
  }

  .recruit-message {
    padding-bottom: 40px;
  }

  .recruit-values {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .recruit-positions {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .recruit-heading__eyebrow {
    margin-bottom: 8px;
    font-size: 32px;
  }

  .recruit-heading__title {
    margin-bottom: 40px;
    font-size: 14px;
  }

  .recruit-message__content {
    display: block;
  }

  .recruit-message__layout {
    display: block;
    width: auto;
  }

  .recruit-message__lead {
    margin-bottom: 30px;
    font-size: 24px;
    line-height: 1.7;
    white-space: normal;
  }

  .recruit-message__text p {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 2;
  }

  .recruit-message__visual {
    width: 88%;
    max-width: 420px;
    margin: 36px auto 0;
    transform: none;
  }

  .recruit-message__text {
    margin-top: 0;
  }

  .recruit-values__grid {
    grid-template-columns: 1fr;
  }

  .recruit-value {
    min-height: 0;
    padding: 28px 8px 32px;
  }

  .recruit-value:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid #dfe7ee;
  }

  .recruit-value__number {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .recruit-value h3 {
    margin-bottom: 14px;
    font-size: 18px;
  }

  .recruit-value p {
    font-size: 13px;
  }

  .recruit-job__header {
    padding: 0 0 30px;
  }

  .recruit-position-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
    background: transparent;
  }

  .recruit-position-list > a {
    min-height: 0;
    padding: 15px 4px;
    display: block;
    text-align: left;
    border-top: 1px solid #dfe7ee;
  }

  .recruit-position-list > a::after {
    display: none;
  }

  .recruit-position-list > a:last-child {
    border-bottom: 1px solid #dfe7ee;
  }

  .recruit-position-list__content {
    width: 100%;
  }

  .recruit-position-list span {
    margin-bottom: 0;
    font-size: 14px;
  }

  .recruit-position-list p {
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
  }

  .recruit-position-list + .recruit-job {
    margin-top: 64px;
  }

  .recruit-job + .recruit-job {
    margin-top: 72px;
  }

  .recruit-job {
    scroll-margin-top: 108px;
  }

  .recruit-job__number {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.2;
  }

  .recruit-job__header h3 {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .recruit-job__header > p:last-child {
    font-size: 13px;
  }

  .recruit-job__requirements-title {
    margin: 0 0 10px 8px;
    font-size: 13px;
  }

  .recruit-job__details > div {
    grid-template-columns: 36% minmax(0, 1fr);
  }

  .recruit-job__details dt,
  .recruit-job__details dd {
    padding: 15px 8px;
    font-size: 12px;
    line-height: 1.9;
  }

  .recruit-job__entry-link {
    margin-top: 24px;
    margin-left: 8px;
    font-size: 13px;
  }

  .recruit-job__sp-break {
    display: block;
  }

  .recruit-flow__list {
    margin-top: 36px;
    grid-template-columns: 1fr;
    gap: 0;
    background: transparent;
  }

  .recruit-flow__list li {
    min-height: 0;
    padding: 24px 4px;
    display: block;
    border-top: 1px solid #dfe7ee;
  }

  .recruit-flow__list li:not(:last-child)::after {
    display: none;
  }

  .recruit-flow__list li:last-child {
    border-bottom: 1px solid #dfe7ee;
  }

  .recruit-flow__content {
    width: 100%;
  }

  .recruit-flow__list span {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .recruit-flow__list h3 {
    font-size: 16px;
    line-height: 1.8;
  }

  .recruit-flow {
    padding: 32px 24px 56px;
    scroll-margin-top: 108px;
  }

  .recruit-entry {
    padding: 32px 24px 56px;
    scroll-margin-top: 108px;
  }

  .recruit-entry__body {
    margin-top: 36px;
  }

  .recruit-entry__body > p {
    font-size: 13px;
  }

  .recruit-entry__sp-break {
    display: block;
  }

  .recruit-entry__contacts {
    margin-top: 24px;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .recruit-entry__contacts a {
    min-height: 76px;
    padding: 0;
  }

  .recruit-entry__mail {
    border-top: 1px solid #dfe7ee;
    border-left: 0;
  }

  .recruit-entry__phone {
    font-size: 27px;
  }

  .recruit-entry__mail {
    font-size: 18px;
  }
}
