.tai-recruit-body {
  --recruit-link-card-container-width: calc(100% - 16%);
  --recruit-intro-container-width: calc(100% - 16%);
  --recruit-card-radius: 8px;
  --recruit-red: #E6021D;
  --recruit-text: #222222;
  --recruit-sub: #D9D9D9;
  --recruit-gray: #F2F2F2;
  --recruit-dark: #444444;
  color: var(--recruit-text);
  font-family: var(--font-ja);
}

body.public-page.tai-recruit-body {
  background: #000;
}

.tai-recruit-body img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tai-recruit-body a {
  color: inherit;
  text-decoration: none;
}

.recruit-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  width: 100%;
  background: #fff;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.recruit-header--transparent {
  background: transparent;
}

.recruit-header--transparent.is-scrolled {
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.recruit-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  min-height: 86px;
  padding: 38px 8% 18px;
}

@media screen and (min-width: 1200px) {
  .recruit-header__inner {
    padding-right: 12%;
  }
}

.recruit-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
  color: var(--recruit-text);
}

.recruit-header__logo-mark {
  position: relative;
  display: block;
  width: 137px;
}

.recruit-header__logo-mark img {
  width: 100%;
}

.recruit-header__top-logo {
  width: 137px;
}

.tai-recruit-body .recruit-header__sp-logo {
  display: none;
}

.recruit-header__logo-divider {
  display: block;
  width: 1px;
  height: 34px;
  background: rgba(34, 34, 34, 0.35);
}

.recruit-header__logo-text {
  color: #555;
  font-family: var(--font-en);
  font-size: 19px;
  line-height: 1;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.recruit-header--transparent .recruit-header__logo {
  color: #fff;
}

.recruit-header--transparent .recruit-header__logo-divider {
  background: rgba(255, 255, 255, 0.45);
}

.recruit-header--transparent .recruit-header__logo-text {
  color: rgba(255, 255, 255, 0.66);
}

.recruit-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 26px;
}

.recruit-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.recruit-header__link,
.recruit-footer__nav a {
  position: relative;
  display: grid;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.recruit-header__link {
  gap: 2px;
  color: var(--recruit-text);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
}

.recruit-header--transparent .recruit-header__link,
.recruit-header--transparent .recruit-header__entry {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.recruit-header__link small {
  color: inherit;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  opacity: 0.75;
}

.recruit-header__link::before,
.recruit-footer__nav a::before {
  content: "";
  position: absolute;
  top: 0.38em;
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--recruit-red);
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.recruit-header__link.is-current::before,
.recruit-header__link:hover::before,
.recruit-footer__nav a.is-current::before,
.recruit-footer__nav a:hover::before {
  transform: scale(1);
}

.recruit-header__link:hover,
.recruit-footer__nav a:hover {
  opacity: 0.8;
}

.recruit-header__entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid var(--recruit-text);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.recruit-header__entry:hover {
  background: var(--recruit-text, #222);
  color: #fff;
}

.recruit-menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.recruit-menu-button span {
  display: block;
  width: 36px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.recruit-header--transparent .recruit-menu-button {
  color: #fff;
}

.recruit-menu-button.is-open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.recruit-menu-button.is-open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.recruit-menu-button.is-open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.recruit-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: block;
  min-height: 100dvh;
  overflow-y: auto;
  background: #fff;
  color: var(--recruit-text);
  padding: 56px 8%;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.recruit-mobile-menu.is-open {
  transform: translateX(0);
}

.recruit-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.recruit-menu-open .recruit-header {
  width: calc(100% - var(--tai-scrollbar-compensation, 0px));
}

.recruit-mobile-menu__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.recruit-mobile-menu__logo img {
  width: 100%;
}

.recruit-mobile-menu__logo {
  display: block;
  width: 160px;
}

.recruit-mobile-menu__close {
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s;
}

.recruit-mobile-menu__close:hover {
  opacity: 0.6;
}

.recruit-mobile-menu__close::before,
.recruit-mobile-menu__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 38px;
  height: 2px;
  background: #000;
}

.recruit-mobile-menu__close::before {
  transform: rotate(45deg);
}

.recruit-mobile-menu__close::after {
  transform: rotate(-45deg);
}

.recruit-mobile-menu__nav {
  display: grid;
  gap: 0;
  margin-top: 3px;
}

.recruit-mobile-menu__link {
  position: relative;
  padding: 29px 0 29px 32px;
  border-bottom: 1px solid #dcdcdc;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
}

.recruit-mobile-menu__link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--recruit-red);
  opacity: 0;
  transform: translateY(-50%);
}

.recruit-mobile-menu__link.is-current::before,
.recruit-mobile-menu__link:hover::before {
  opacity: 1;
}

.recruit-mobile-menu__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  margin-top: 42px;
  border-radius: 8px;
  font-size: 27px;
  font-weight: 500;
}

.recruit-mobile-menu__button--outline {
  border: 2px solid #222;
}

.recruit-mobile-menu__button--dark {
  margin-top: 32px;
  background: var(--recruit-dark);
  color: #fff !important;
}

.recruit-page {
  overflow: hidden;
  background: #fff;
  color: var(--recruit-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.recruit-page p,
.recruit-page li {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.recruit-page h3,
.recruit-page h4 {
  color: inherit;
  font-size: 21px;
  font-weight: 500;
}

.recruit-page h1,
.recruit-page h2,
.recruit-page h5,
.recruit-page h6 {
  color: inherit;
}

.recruit-intro__copy h2,
.recruit-lead h2 {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 22px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.recruit-lead h2::before {
  content: "";
  flex-shrink: 0;
  align-self: center;
  margin-top: 0.1em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
}

.recruit-intro__copy > p:last-child,
.recruit-lead p {
  margin: 0;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.8;
}

.recruit-top-links,
.recruit-card-list {
  display: grid;
  gap: 54px;
  width: var(--recruit-link-card-container-width);
  margin: 0 auto 110px;
}

.recruit-link-card,
.recruit-panel,
.recruit-job-card,
.recruit-interviews {
  background: var(--recruit-gray);
  border-radius: var(--recruit-card-radius);
}

.recruit-link-card {
  padding: 72px 78px;
}

.recruit-link-card__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 435px);
  grid-template-rows: 1fr auto;
  gap: 64px;
  align-items: start;
}

.recruit-link-card__image {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
}

.recruit-link-card--large .recruit-link-card__inner {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 476px);
}

.recruit-link-card--large {
  width: min(100%, 1120px);
}

.recruit-link-card--stack {
  display: block;
}

.recruit-section-title p {
  margin-top: 12px;
}

.recruit-kicker,
.recruit-section-title p {
  position: relative;
  color: var(--recruit-red);
  font-family: var(--font-en);
  font-size: 19px !important;
  font-weight: 500;
  line-height: 1.2;
}

.recruit-kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.08em;
}

.recruit-mvv .recruit-kicker {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  line-height: 1.5;
  margin-bottom: 25px;
}

.recruit-mvv .recruit-kicker::before {
  display: none;
}

.recruit-link-card h3,
.recruit-job-card h3 {
  margin: 0 0 18px;
  font-size: 33px !important;
  font-weight: 500;
  line-height: 1.5;
}

.recruit-section-title h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
}

.recruit-link-card h4 {
  margin: 0 0 22px;
  font-size: 21px;
  font-weight: 500;
}

.recruit-link-card p,
.recruit-panel p,
.recruit-job-card p {
  font-size: 19px !important;
  font-weight: 500;
  line-height: 1.8;
}

.recruit-link-card__image,
.recruit-companydeck,
.recruit-image-frame {
  --recruit-image-radius: 15px;
  display: block;
  overflow: hidden;
  border-radius: var(--recruit-image-radius);
  transform: translateZ(0);
}

.recruit-image-frame {
  width: 100%;
  margin: 0;
}

.recruit-link-card__image,
.recruit-link-card__image img,
.recruit-image-frame img {
  width: 100%;
  margin: 0;
}

.recruit-link-card__image img,
.recruit-companydeck img,
.recruit-image-frame img,
.recruit-researcher-card img {
  display: block;
  transition: filter 0.5s ease, transform 0.4s ease;
}

.recruit-link-card__image img:hover,
.recruit-companydeck img:hover,
.recruit-image-frame img:hover,
.recruit-researcher-card img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.recruit-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 138px;
  margin-top: 34px;
  padding: 10px 18px 10px 24px;
  border: 2px solid #222;
  border-radius: 999px;
  color: #222 !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.recruit-button i {
  position: relative;
  width: 34px;
  height: 8px;
}

.recruit-button i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.recruit-button i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  transition: left 0.3s ease;
}

.recruit-button:hover {
  background: #222;
  color: #fff !important;
}

.recruit-button:hover i::after {
  left: calc(100% - 9px);
}

.recruit-link-card__action {
  display: flex;
  justify-content: flex-end;
  grid-column: 1;
}

.recruit-lower-hero {
  position: relative;
  height: 474px;
  margin-top: 106px;
  overflow: hidden;
}

.recruit-lower-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-lower-hero__text {
  position: absolute;
  left: 14.5%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.recruit-lower-hero__text p {
  color: #fff;
  font-family: var(--font-en);
  font-size: 20px !important;
  font-weight: normal;
}

.recruit-page--company .recruit-lower-hero__text p {
  color: var(--recruit-red);
}

.recruit-lower-hero__text p::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-top: -0.1em;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--recruit-red);
}

.recruit-lower-hero__text h1 {
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.5;
}

.recruit-breadcrumb {
  display: flex;
  gap: 14px;
  width: var(--recruit-intro-container-width);
  margin: 16px auto 0;
  color: #777;
  font-size: 12px;
}

.recruit-panel,
.recruit-interviews {
  width: var(--recruit-link-card-container-width);
  margin: 59px auto;
}

.recruit-company-table,
.recruit-lead {
  width: var(--recruit-intro-container-width);
  margin: 100px auto;
}

.recruit-history__inner {
  width: var(--recruit-intro-container-width);
  padding-right: 0;
  padding-left: 0;
}

.recruit-panel {
  padding: 80px 86px;
}

.recruit-section-title {
  margin-bottom: 54px;
}

.recruit-message__text {
  display: flex;
  flex-direction: column;
}

.recruit-message__signature {
  margin-top: 16px;
  text-align: right;
  font-size: 14px;
}

.recruit-split-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  align-items: center;
}

.recruit-split-row + .recruit-split-row {
  margin-top: 64px;
}

.recruit-split-row--value {
  display: block;
}

.recruit-split-row--value .recruit-split-row__head {
  margin-bottom: 17px;
}

.recruit-split-row--value h3 {
  margin-bottom: 0 !important;
}

.recruit-split-row--value .recruit-split-row__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  align-items: start;
}

.recruit-split-row h3 {
  margin: 0 0 17px;
  font-size: 24px !important;
  font-weight: 500;
}

.recruit-split-row small,
.recruit-job-card small {
  display: block;
  margin: -18px 0 20px;
  color: var(--recruit-red);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
}

.recruit-careers {
  background-color: #fff !important;
  overflow: hidden;
  padding: 78px 0 62px;
  background: url("../assets/images/recruit/top/careers-bg.webp") center/cover no-repeat;
  color: #222;
}

.recruit-careers__intro {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 150px;
  align-items: center;
  width: var(--recruit-intro-container-width);
  margin: 0 auto 62px;
}

.recruit-careers__intro img {
  width: 137px;
}

.recruit-careers__intro h2 {
  margin: 0 0 16px;
  font-size: 30px;
}

.recruit-careers__intro p {
  margin: 0;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.8;
}

.recruit-careers__gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0px;
  width: 100%;
}

.recruit-careers__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.recruit-careers__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-careers__action {
  display: flex;
  justify-content: flex-end;
  width: var(--recruit-intro-container-width);
  margin: 46px auto 0;
}

.recruit-careers__action .recruit-button {
  margin-top: 0;
}

.recruit-footer {
  background: #1f1f1f;
  color: #fff;
  padding: 82px 8% 46px;
}

.recruit-page--entry + .recruit-footer {
  background: #fff;
  color: #222;
}

.recruit-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.recruit-footer__brand {
  display: flex;
  align-items: center;
  gap: 40px;
}

.recruit-footer__brand img {
  width: 137px;
}

.recruit-footer__brand img.recruit-footer__logo-dark {
  display: none;
}

.recruit-page--entry + .recruit-footer .recruit-footer__brand img.recruit-footer__logo-light {
  display: none;
}

.recruit-page--entry + .recruit-footer .recruit-footer__brand img.recruit-footer__logo-dark {
  display: block;
}

.recruit-footer__buttons {
  display: grid;
  gap: 10px;
}

.recruit-footer__buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 13px;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  padding: 4px 17px;
}

.recruit-footer__buttons a:hover {
  opacity: 0.7;
}

.recruit-page--entry + .recruit-footer .recruit-footer__buttons a:last-child {
  background: #555;
  color: #fff !important;
  border-color: #555;
}

.recruit-page--entry + .recruit-footer .recruit-footer__buttons a:last-child:hover {
  background: #333;
  border-color: #333;
  opacity: 1;
}

.recruit-page--entry + .recruit-footer .recruit-footer__copyright {
  color: #222;
}

.recruit-page--entry + .recruit-footer .recruit-footer__nav a {
  color: #222;
}

.recruit-page--entry + .recruit-footer .recruit-footer__buttons a:first-child {
  border-color: #222;
  color: #222;
}

.recruit-footer__nav {
  display: flex;
  align-items: flex-start;
  gap: 42px;
  margin-top: 18px;
}

.recruit-footer__nav a {
  gap: 2px;
  font-size: 16px;
  font-weight: 500;
}

.recruit-footer__nav small {
  color: inherit;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
}

.recruit-footer__copyright {
  margin: 76px 0 0;
  text-align: center;
  color: inherit;
  font-family: var(--font-en);
  font-size: 11px !important;
  opacity: 0.8;
}

@media screen and (min-width: 1200px) {
  .recruit-page--top + .recruit-careers {
    --recruit-intro-container-width: calc(100% - 24%);
  }

  .recruit-page:not(.recruit-page--top),
  .recruit-page:not(.recruit-page--top) + .recruit-careers {
    --recruit-link-card-container-width: calc(100% - 12%);
    --recruit-intro-container-width: calc(100% - 24%);
  }

  .recruit-card-list > .recruit-panel {
    width: 100%;
  }
}
