.u-career-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(0 0 99.9% 99.9%);
  white-space: nowrap;
  border: 0;
}

.u-career-heading-group {
  margin-top: 80px;
}

.u-career-heading-group__title {
  font-size: 1.75rem;
  color: var(--COLOR_BRAND_SECONDARY);
  font-family: var(--FONT_FAMILY_HEADING_EN);
  font-weight: var(--FONT_WEIGHT_LIGHT);
  letter-spacing: -1.4px;
  line-height: 1.25;
  text-transform: uppercase;
}

.u-career-heading-group__catch {
  font-size: 1.5rem;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  margin-top: 16px;
}

/* PC Viewport */
.u-career-background {
  background-image: url("/assets/img/recruit/career/index-bg.svg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 80px;
}
.u-career-background--slim {
  background-image: url("/assets/img/recruit/career/index-bg-3.svg");
  padding-bottom: 0px;
}

/* SP Viewport */
/* PC Viewport */
.u-career-hero {
  padding: 0 16px;
}

.u-career-hero__intro {
  padding-top: 40px;
  text-align: center;
}

.u-career-hero__category {
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  font-family: var(--FONT_FAMILY_HEADING_EN);
  letter-spacing: -1px;
}

.u-career-hero__badge {
  align-self: center;
  background-color: var(--COLOR_BRAND_SECONDARY);
  color: var(--COLOR_BASE_LIGHT);
  line-height: 1.2;
  padding: 0px 8px;
}

.u-career-hero__label {
  color: var(--COLOR_BRAND_SECONDARY);
  letter-spacing: -1px;
}

.u-career-hero__catch {
  font-size: 1.5rem;
  font-family: var(--FONT_FAMILY_HEADING_JA);
  font-weight: var(--FONT_WEIGHT_BOLD);
  line-height: 1.6;
}

.u-career-hero__tight {
  letter-spacing: -9.12px;
}

.u-career-hero__gallery {
  display: grid;
  gap: 0 8px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 40px auto 40px;
  margin-top: 40px;
}

.u-career-hero__gallery picture:nth-child(even) {
  grid-row: 2/-1;
}

.u-career-hero__gallery picture:nth-child(odd) {
  grid-row: 1/3;
}

.u-career-hero__image {
  width: 100%;
}

/* PC Viewport */
.u-career-field {
  padding: 0 16px;
}

.u-career-field__description {
  font-size: 1.125rem;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  margin-top: 32px;
}

/* PC Viewport */
.u-career-cards {
  background-image: url("/assets/img/recruit/career/index-bg-2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 16px;
}

.u-career-cards__list {
  display: flex;
  flex-direction: column;
  gap: 16px 0;
}

.u-career-cards__item {
  background-color: var(--COLOR_BASE_LIGHT);
  display: flex;
  flex-direction: column-reverse;
}

.u-career-cards__content {
  padding: 32px 16px;
  position: relative;
}

.u-career-cards__title {
  font-size: 1.125rem;
  display: block;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  text-align: center;
}

.u-career-cards__description {
  margin-top: 16px;
}

.u-career-cards__image {
  display: block;
  width: 100%;
}

.u-career-cards__label {
  font-size: 1.5rem;
  background-color: var(--COLOR_BRAND_SECONDARY);
  color: var(--COLOR_BASE_LIGHT);
  font-family: var(--FONT_FAMILY_HEADING_JA);
  font-weight: var(--FONT_WEIGHT_MEDIUM);
  left: 0;
  letter-spacing: -1.2px;
  line-height: 0.8;
  padding: 4px 4px 7px;
  position: absolute;
  top: -30px;
}

/* PC Viewport */
.u-career-interview {
  padding: 80px 16px 0;
}
.u-career-interview .u-career-heading-group {
  margin-top: 0;
}

.u-career-interview__item {
  margin-top: 68px;
  position: relative;
}

.u-career-interview__number {
  font-size: 5rem;
  color: var(--COLOR_BRAND_SECONDARY);
  font-family: var(--FONT_FAMILY_HEADING_EN);
  font-weight: var(--FONT_WEIGHT_LIGHT);
  letter-spacing: -4px;
  line-height: 0.9;
  position: absolute;
  right: 0;
  top: -0.5em;
  z-index: var(--Z_INDEX_FOREGROUND);
}

.u-career-interview__image {
  display: block;
  height: auto;
  transition: transform var(--TRANSITION);
  width: 100%;
}

.u-career-interview__link {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}
.u-career-interview__link::before, .u-career-interview__link::after {
  content: "";
  position: absolute;
}
.u-career-interview__link::before {
  background-color: var(--COLOR_BASE_LIGHT);
  border: 1px solid var(--COLOR_BASE_LIGHT);
  border-radius: 50%;
  bottom: 16px;
  height: 24px;
  right: 16px;
  transition: border var(--TRANSITION), background-color var(--TRANSITION);
  width: 24px;
}
.u-career-interview__link::after {
  background-color: var(--COLOR_BRAND_PRIMARY);
  border-radius: 50%;
  bottom: 22px;
  height: 10px;
  mask-image: url("/assets/img/common/icon-arrow.svg");
  mask-repeat: no-repeat;
  mask-size: contain;
  right: 21px;
  transform: rotate(90deg);
  transition: background-color var(--TRANSITION);
  width: 12px;
}

.u-career-interview__content {
  background-color: var(--COLOR_BRAND_SECONDARY);
  color: var(--COLOR_BASE_LIGHT);
  padding: 16px 16px 50px;
}

.u-career-interview__title {
  font-size: 1.125rem;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
}

.u-career-interview__media {
  display: block;
  overflow: hidden;
}

.u-career-interview__info {
  margin-top: 16px;
}

/* PC Viewport */
.u-career-environment {
  padding: 80px 16px 0;
}
.u-career-environment .u-career-heading-group {
  margin-top: 0;
}

.u-career-environment__inner {
  margin: 0 auto;
  max-width: 1280px;
}

.u-career-panel {
  display: flex;
  flex-direction: column;
  gap: 32px 72px;
  margin-top: 32px;
}

.u-career-panel__item {
  width: 100%;
}

.u-career-panel__image {
  display: block;
  width: 100%;
}

.u-career-panel__description {
  font-size: 1.125rem;
  font-weight: var(--FONT_WEIGHT_SEMIBOLD);
  margin-top: 16px;
}

/* PC Viewport */

@media (min-width: 768px) {
  .u-career-heading-group {
    margin-top: 120px;
  }
  .u-career-heading-group__catch {
    font-size: 2.25rem;
  }
  .u-career-background {
    background-size: 100%;
    padding-bottom: 120px;
  }
  .u-career-background--slim {
    background-image: url("/assets/img/recruit/career/index-bg-3-pc.svg");
    padding-bottom: 0;
  }
  .u-career-hero {
    padding: 0 80px;
  }
  .u-career-hero__intro {
    padding-top: 80px;
  }
  .u-career-hero__category {
    font-size: 2.25rem;
    flex-direction: row-reverse;
    gap: 0 40px;
    justify-content: center;
    letter-spacing: -1.8px;
    line-height: 1.5;
  }
  .u-career-hero__badge {
    padding: 0px 27px;
  }
  .u-career-hero__catch {
    font-size: 3.4375rem;
    font-weight: var(--FONT_WEIGHT_BOLD);
    margin-top: 16px;
  }
  .u-career-hero__tight {
    letter-spacing: -27.5px;
  }
  .u-career-hero__gallery {
    gap: 0 32px;
    grid-template-rows: 80px auto 80px;
    margin-top: 80px;
  }
  .u-career-field {
    margin-top: 120px;
    padding: 0 80px;
  }
  .u-career-field__outer {
    margin: 0 auto;
    max-width: 1280px;
  }
  .u-career-field__inner {
    align-items: center;
    display: flex;
    gap: 0px 120px;
    justify-content: space-between;
  }
  .u-career-field__description {
    font-size: 1.25rem;
    line-height: 2.4;
    margin-top: 0px;
  }
  .u-career-cards {
    background-image: url("/assets/img/recruit/career/index-bg-2-pc.webp");
    padding: 80px;
  }
  .u-career-cards__list {
    display: grid;
    gap: 0 40px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    margin: 0 auto;
    max-width: 1280px;
  }
  .u-career-cards__item {
    display: contents;
  }
  .u-career-cards__media {
    background-color: var(--COLOR_BASE_LIGHT);
    grid-row: 1;
  }
  .u-career-cards__content {
    background-color: var(--COLOR_BASE_LIGHT);
    grid-row: 2;
    padding: 32px;
  }
  .u-career-cards__label {
    font-size: 1.75rem;
    top: -33px;
  }
  .u-career-cards__title {
    font-size: 1.5rem;
  }
  .u-career-interview {
    padding: 160px 80px 0;
  }
  .u-career-interview .u-career-heading-group {
    margin-top: 32px;
  }
  .u-career-interview__inner {
    display: grid;
    gap: 0 40px;
    grid-template-columns: clamp(300px, 34vw, 440px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    margin: 0 auto;
    max-width: 1280px;
  }
  .u-career-interview__inner .m-button-list {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .u-career-interview__card {
    grid-column: 2/-1;
    grid-row: 1/-1;
  }
  .u-career-interview__list {
    display: grid;
    gap: 0 32px;
    grid-template-columns: repeat(2, 1fr);
  }
  .u-career-interview__item {
    margin-top: 120px;
  }
  .u-career-interview__number {
    font-size: 6.125rem;
  }
  .u-career-environment {
    padding: 120px 80px 0;
  }
  .u-career-environment .u-career-heading-group {
    text-align: center;
  }
  .u-career-panel {
    flex-direction: row;
    margin-top: 48px;
  }
  .u-career-panel__description {
    margin-top: 32px;
  }
}

@media (max-width: 767px) {
  .u-career-background--slim {
    background-position: 70% 4%;
    background-size: 100%;
  }
}

@media (hover: hover) {
  .u-career-interview__link:hover .u-career-interview__image, .u-career-interview__link:focus-visible .u-career-interview__image {
    transform: scale(1.05);
  }
  .u-career-interview__link:hover::before, .u-career-interview__link:focus-visible::before {
    background-color: var(--COLOR_BRAND_PRIMARY);
    border: 1px solid var(--COLOR_BASE_LIGHT);
  }
  .u-career-interview__link:hover::after, .u-career-interview__link:focus-visible::after {
    background-color: var(--COLOR_BASE_LIGHT);
  }
}
