/* ========================================
   RECRUIT PAGE
======================================== */
.recruit-page main {
  overflow-x: clip;
  overflow-y: visible;
}

.recruit-page__decorations {
  position: absolute;
  inset: 200px 0 0;
  z-index: 0;
  pointer-events: none;
}

.recruit-page__decoration {
  position: absolute;
  display: block;
  width: 150px;
  height: 150px;
  transform: rotate(-30deg);
}

.recruit-page__decoration--red {
  top: 180px;
  left: -95px;
  background: var(--color-primary);
}

.recruit-page__decoration--lime {
  top: 520px;
  right: -95px;
  background: var(--color-accent);
}

.recruit-page__panel {
  position: relative;
  z-index: 1;
  width: min(var(--shell-pc), calc(100% - 40px));
  margin-inline: auto;
  overflow-x: clip;
  overflow-y: visible;
}

.recruit-hero {
  --recruit-hero-height: 325px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  display: grid;
  align-items: stretch;
  min-height: 500px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 88%, rgba(220, 255, 2, 0.72), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #ffe1dd 48%, #ffffff 100%);
}

.recruit-hero__media {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.recruit-hero__media-mask {
  position: absolute;
  top: -168px;
  right: auto;
  bottom: auto;
  left: calc(50% - 168px);
  width: 1500px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transform: rotate(60.69deg);
  transform-origin: center;
}

.recruit-hero__video {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: var(--recruit-hero-height);
  aspect-ratio: 16 / 9;
  max-width: none;
  object-fit: cover;
  object-position: 48% center;
  transform: translate(-50%, -50%) rotate(-60.69deg) translateX(-200px)
    translateY(-114px);
  transform-origin: center;
}

.recruit-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  gap: 6px;
  box-sizing: border-box;
  width: min(calc(100% - 80px), 1280px);
  min-height: 500px;
  margin-inline: auto;
  padding: 42px 54px;
}

.recruit-hero__en {
  color: var(--color-primary);
  font-family: var(--font-geom);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 700;
  line-height: 1;
}

.recruit-hero__ja {
  font-weight: 700;
}

.recruit-hero h1 {
  position: absolute;
  right: 0;
  bottom: 200px;
  max-width: 820px;
  color: var(--color-white);
  font-family: var(--font-zkg);
  font-size: clamp(32px, 4vw, 70px);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .recruit-hero {
    --recruit-hero-height: 937px;
    min-height: var(--recruit-hero-height);
  }
  .recruit-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
  }
  .recruit-hero__media-mask::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    box-sizing: border-box;
    content: "";
    pointer-events: none;
  }
  .recruit-page .recruit-intro .inner {
    max-width: 900px;
    margin-inline: auto;
  }
  .recruit-page .recruit-intro p {
    width: min(100%, 900px);
    max-width: none;
    margin-inline: auto;
    font-family: var(--font-hiragino);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.03em;
    text-align: center;
  }
}

.recruit-intro {
  text-align: center;
}

.recruit-page .recruit-intro {
  background: transparent;
  border: 0;
}

.recruit-intro .inner {
  max-width: 712px;
}

.recruit-intro p {
  font-family: var(--font-hiragino);
  font-size: 21px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.recruit-intro p + p {
  margin-top: 20px;
}

.recruit-page-anchor .page-anchor__item {
  padding-inline: 24px;
}

.recruit-section {
  position: relative;
}

.recruit-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.recruit-section__head .button-more {
  flex: 0 0 auto;
  margin-top: 0;
}

#now-hiring .inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "heading button"
    "cards cards";
  column-gap: 30px;
}

#now-hiring .recruit-section__head {
  grid-area: heading;
}

.recruit-job-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 50px;
}

#now-hiring .recruit-job-cards {
  grid-area: cards;
}

#now-hiring .inner > .button-more {
  grid-area: button;
  align-self: end;
  margin-top: 0;
}

.recruit-job-cards .case-card__image {
  background: var(--color-alto);
}

.recruit-message__layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 50px;
  align-items: start;
  margin-top: 50px;
}

.recruit-message__index {
  position: sticky;
  top: 120px;
  align-self: start;
  display: grid;
  gap: 0;
}

.recruit-message__index p {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-family: var(--font-geom);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.recruit-message__index a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-gray);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.5;
  text-decoration: none;
}

.recruit-message__index a + a {
  margin-top: 8px;
}

.recruit-message__index a::before {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 1px;
  margin-top: 0.7em;
  background: currentColor;
  content: "";
}

.recruit-message__index a.is-active {
  color: var(--color-text);
  font-weight: 700;
}

.recruit-message__content {
  display: grid;
  gap: 50px;
}

.recruit-message__content section {
  scroll-margin-top: 140px;
}

.recruit-message__content h3,
.recruit-about-work section > h3 {
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-primary);
  font-family: var(--font-zkg);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
}

.recruit-message__content p,
.recruit-message__content li {
  font-family: var(--font-hiragino);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.recruit-message__content p + p {
  margin-top: 16px;
}

.recruit-message__content strong {
  color: var(--color-primary);
  font-weight: 700;
}

.recruit-message__content ol {
  padding-left: 1.5em;
}

.recruit-message__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.recruit-message__image {
  margin: 0;
  overflow: hidden;
}

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

@media (min-width: 768px) {
  .recruit-message__content section h3 {
    position: relative;
    margin: 0 0 20px;
    padding-left: 16px;
    border-left: 0;
    color: var(--color-primary);
    font-family: var(--font-hiragino);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5;
  }
  .recruit-message__content section h3::before {
    position: absolute;
    top: 0.1em;
    bottom: 0.1em;
    left: 0;
    width: 3px;
    background: var(--color-primary);
    content: "";
  }
  .recruit-message__content p {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-hiragino);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.8;
  }
  .recruit-message__content p + p {
    margin-top: 18px;
  }
  .recruit-scope-list article:not(:first-child) {
    border-top: 0;
  }
  .recruit-scope-list article:not(:last-child) {
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 1px;
  }
  .recruit-scope-list article:nth-child(1) {
    background-image: linear-gradient(
      to right,
      transparent 0,
      transparent 80px,
      var(--color-iron) 80px,
      var(--color-iron) 100%
    );
  }
  .recruit-scope-list article:nth-child(2) {
    background-image: linear-gradient(
      to right,
      transparent 0,
      transparent 160px,
      var(--color-iron) 160px,
      var(--color-iron) 100%
    );
  }
}

.recruit-table {
  margin-top: 50px;
  border-top: 1px solid var(--color-iron);
}

.recruit-table__head,
.recruit-table article {
  display: grid;
  grid-template-columns: 160px 260px minmax(0, 1fr);
}

.recruit-table__head {
  background: var(--color-text);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
}

.recruit-table__head span,
.recruit-table article > * {
  padding: 16px 20px;
}

.recruit-table article {
  border-bottom: 1px solid var(--color-iron);
}

.recruit-table__row--setup {
  grid-template-rows: auto auto;
}

.recruit-table__row--setup .recruit-table__department {
  grid-column: 1;
  grid-row: 1 / 3;
}

.recruit-table__row--setup .recruit-table__job--01 {
  grid-column: 2;
  grid-row: 1;
}

.recruit-table__row--setup .recruit-table__duties--01 {
  grid-column: 3;
  grid-row: 1;
}

.recruit-table__row--setup .recruit-table__job--02 {
  grid-column: 2;
  grid-row: 2;
  border-top: 1px solid var(--color-iron);
}

.recruit-table__row--setup .recruit-table__duties--02 {
  grid-column: 3;
  grid-row: 2;
  border-top: 1px solid var(--color-iron);
}

.recruit-table article h3,
.recruit-table article h4 {
  margin: 0;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
}

.recruit-table article strong {
  color: var(--color-primary);
  font-family: var(--font-hiragino);
  font-size: 15px;
  line-height: 1.7;
}

.recruit-table article p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}

.recruit-job-scope .inner > p {
  margin-top: 30px;
}

.recruit-scope-list {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 40px;
}

.recruit-scope-list::before {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: 240px;
  background: var(--color-primary);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  content: "";
  pointer-events: none;
}

.recruit-scope-list article {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 315px minmax(0, 1fr);
  gap: 25px;
  align-items: center;
  min-height: 135px;
  padding: 20px;
  border-top: 1px solid var(--color-iron);
}

.recruit-scope-list article::before {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 240px;
  background: rgba(255, 255, 255, 0);
  content: "";
  pointer-events: none;
}

.recruit-scope-list article:nth-child(2)::before {
  background: rgba(255, 255, 255, 0.35);
}
.recruit-scope-list article:nth-child(3)::before {
  background: rgba(255, 255, 255, 0.65);
}

.recruit-scope-list article::after {
  position: absolute;
  z-index: 3;
  bottom: -3px;
  left: 0;
  display: none;
  width: 240px;
  height: 6px;
  background: #fff;
  content: "";
  pointer-events: none;
}

.recruit-scope-list article:nth-child(1)::after,
.recruit-scope-list article:nth-child(2)::after {
  display: block;
}

.recruit-scope-list article:nth-child(1)::after {
  width: 82px;
}

.recruit-scope-list article:nth-child(2)::after {
  width: 162px;
}

.recruit-scope-list h3,
.recruit-scope-list p {
  z-index: 1;
}

.recruit-scope-list h3 {
  position: absolute;
  left: 220px;
  color: var(--color-primary);
  font-size: 20px;
}

.recruit-scope-list p {
  grid-column: 2;
  font-size: 15px;
  line-height: 1.7;
}

.recruit-about-work {
  background: var(--color-alto);
}
.recruit-about-work .inner > p {
  margin-top: 30px;
}

.recruit-work-anchor {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.recruit-work-anchor__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  min-width: 0;
  gap: 12px;
  padding: 0 12px 14px 20px;
  border-bottom: 1px solid currentColor;
  color: var(--color-primary);
  text-decoration: none;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.recruit-work-anchor__text {
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.recruit-work-anchor__icon {
  display: grid;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: border-color 0.2s ease;
}

.recruit-work-anchor__icon::before {
  width: 10px;
  height: 10px;
  background: currentColor;
  mask: url("../images/icons/arrow-bl.svg") center / contain no-repeat;
  transform: rotate(90deg);
}

@media (hover: hover) and (pointer: fine) {
  .recruit-work-anchor__item:hover {
    color: var(--color-text);
  }
}

.recruit-about-work > .inner > section {
  margin-top: 60px;
}

.recruit-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.recruit-skill-grid article {
  padding: 28px 30px;
  background: var(--color-white);
}

.recruit-skill-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.recruit-skill-card__label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 4px 8px;
  background: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-geom);
  font-size: 16px;
  font-weight: 700;
}

.recruit-skill-card__name {
  min-width: 0;
}

.recruit-skill-grid p {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.7;
}

.recruit-work-table {
  margin-top: 50px;
  border-top: 1px solid var(--color-iron);
}

.recruit-work-table__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}

.recruit-work-table__head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--color-white);
}

.recruit-work-table__body {
  padding: 24px 28px;
  background: var(--color-white);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  border-bottom: 1px solid var(--color-iron);
}

.recruit-work-table__row:last-child .recruit-work-table__head,
.recruit-work-table__row:last-child .recruit-work-table__body {
  border-bottom: 0;
}

.recruit-work-table__body ul {
  margin: 0;
  padding-left: 1.2em;
}

.recruit-work-table__body li + li {
  margin-top: 6px;
}

.recruit-flow {
  position: relative;
  margin-top: 50px;
  padding: 20px 0;
  background: var(--color-white);
}

.recruit-flow::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 284px;
  width: 2px;
  background: var(--color-primary);
  content: "";
}

.recruit-flow__phase {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  column-gap: 24px;
  margin-top: 0;
}

.recruit-flow__phase + .recruit-flow__phase {
  margin-top: 20px;
}

.recruit-flow__phase-label {
  align-self: stretch;
  padding: 20px 30px;
  background: var(--color-iron);
  color: var(--color-text);
}

.recruit-flow__phase-text,
.recruit-flow__phase-number,
.recruit-flow__phase-name {
  display: block;
}

.recruit-flow__phase-text {
  font-family: var(--font-geom);
  font-size: 22px;
  line-height: 1;
}

.recruit-flow__phase-number {
  margin-top: 4px;
  font-family: var(--font-geom);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
}

.recruit-flow__phase-name {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.recruit-flow__steps {
  display: grid;
  gap: 16px;
}

.recruit-flow__step {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 30px;
  align-items: center;
  min-width: 0;
  padding: 10px 0;
}

.recruit-flow__icon {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
}

.recruit-flow__icon img {
  display: block;
  max-width: 30px;
  max-height: 30px;
}

.recruit-flow__content {
  position: relative;
  min-width: 0;
}

.recruit-flow__content h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.recruit-flow__content p {
  margin: 5px 0 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
}

.recruit-flow__step--event .recruit-flow__content {
  padding-right: 240px;
}

.recruit-flow__peak {
  position: absolute;
  top: 50%;
  right: 0;
  width: 200px;
  padding: 12px 18px;
  background: #ffb0b6;
  color: var(--color-primary);
  transform: translateY(-50%);
}

.recruit-flow__peak::before {
  position: absolute;
  top: 0;
  left: -25px;
  width: 26px;
  height: 100%;
  background: inherit;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  content: "";
}

.recruit-flow__peak-heading {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.recruit-flow__peak-heading img {
  width: 24px;
  height: 24px;
}

.recruit-flow__peak-heading strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.recruit-flow__peak p {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.recruit-company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px;
  margin-top: 50px;
}

.recruit-company-profile .info-list {
  gap: 20px;
  margin-top: 0;
}
.recruit-company-profile .info-list__item {
  position: relative;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 30px;
  padding: 0 20px 20px;
  background: none;
}
.recruit-company-profile .info-list__item::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: calc(20px + 160px + 30px);
  height: 1px;
  background: var(--color-primary);
  content: "";
}
.recruit-company-profile .info-list__item dt {
  color: var(--color-primary);
  font-weight: 600;
}
.recruit-company-profile .info-list__item dd {
  font-weight: 400;
}
.recruit-company-profile__lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.recruit-company-profile .info-list__item dd a {
  color: inherit;
  text-decoration: none;
}
.recruit-company-profile .company-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.recruit-company-profile .company-profile-link::after {
  content: "";
  flex: 0 0 auto;
  display: block;
  width: 12px;
  height: 12px;
  background: url("../images/icons/icon-external-link.svg") center / contain
    no-repeat;
}
.recruit-company-profile .company-profile-link:visited,
.recruit-company-profile .company-profile-link:active {
  color: #ff929a;
}
.recruit-company-profile .info-list__item dd a span {
  margin-left: 8px;
  font-size: 11px;
}
.recruit-company-cta {
  display: flex;
  width: fit-content;
  margin: 50px auto 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .recruit-company-grid {
    grid-template-columns: 1fr;
  }

  .recruit-flow__step--event .recruit-flow__content {
    padding-right: 0;
  }

  .recruit-flow__peak {
    position: relative;
    top: auto;
    right: auto;
    width: auto;
    margin: 12px 0 0 24px;
    transform: none;
  }
}

@media (max-width: 767px) {
  .recruit-page__decorations {
    inset: 100px 0 0;
  }
  .recruit-page__decoration {
    width: 90px;
    height: 90px;
  }
  .recruit-page__panel {
    width: calc(100% - 40px);
  }
  .recruit-hero {
    width: 100%;
    min-height: 470px;
  }
  .recruit-hero__media {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    width: 100%;
    height: 260px;
  }
  .recruit-hero__media-mask {
    top: -58px;
    right: auto;
    bottom: auto;
    left: calc(50% - 58px);
    width: 520px;
  }
  .recruit-hero__video {
    height: 325px;
    object-position: 58% center;
    transform: translate(-50%, -50%) rotate(-60.69deg) translateX(-69px)
      translateY(-40px);
  }
  .recruit-hero__inner {
    width: 100%;
    min-height: 470px;
    padding: 285px 20px 30px;
  }
  .recruit-hero__en {
    font-size: 48px;
  }
  .recruit-hero h1 {
    position: static;
    margin-top: 18px;
    color: var(--color-text);
    font-size: 28px;
    text-shadow: none;
  }
  .recruit-intro p {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .recruit-section__head {
    display: grid;
    align-items: start;
  }
  .recruit-section__head .button-more {
    justify-self: start;
  }
  #now-hiring .inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "cards"
      "button";
    align-items: start;
    gap: 0;
  }
  #now-hiring .inner > .button-more {
    justify-self: start;
    margin-top: 40px;
  }
  .recruit-job-cards,
  .recruit-company-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .recruit-job-cards .case-card {
    width: min(310px, 100%);
    margin-inline: auto;
  }
  .recruit-message__layout {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }
  .recruit-message__index {
    display: none;
  }
  .recruit-message__content {
    gap: 40px;
  }
  .recruit-message__images {
    grid-template-columns: 1fr;
  }
  .recruit-message__content p,
  .recruit-message__content li {
    font-size: 14px;
    line-height: 1.7;
  }
  .recruit-table__head {
    display: none;
  }
  .recruit-table article,
  .recruit-skill-table article {
    display: grid;
    grid-template-columns: 1fr;
  }
  .recruit-table article > * {
    padding: 14px 16px;
  }
  .recruit-table article h3,
  .recruit-table article h4 {
    color: var(--color-white);
  }
  .recruit-table__row--setup > * {
    grid-column: auto;
    grid-row: auto;
  }
  .recruit-table__row--setup .recruit-table__department,
  .recruit-table__row--setup .recruit-table__job--01,
  .recruit-table__row--setup .recruit-table__duties--01,
  .recruit-table__row--setup .recruit-table__job--02,
  .recruit-table__row--setup .recruit-table__duties--02 {
    grid-column: auto;
    grid-row: auto;
  }
  .recruit-table__row--setup .recruit-table__job--02,
  .recruit-table__row--setup .recruit-table__duties--02 {
    border-top: 0;
  }
  .recruit-table article strong {
    color: var(--color-primary);
  }
  .recruit-work-table__row {
    grid-template-columns: 1fr;
  }
  .recruit-work-table__head {
    justify-content: flex-start;
    padding: 12px 16px;
    text-align: left;
  }
  .recruit-work-table__body {
    padding: 18px 16px 22px;
  }
  .recruit-work-table__body ul {
    padding-left: 0;
  }
  .recruit-scope-list article {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-left: 45px;
  }
  .recruit-scope-list article::after {
    display: none;
  }
  .recruit-scope-list::before,
  .recruit-scope-list article::before {
    display: block;
  }
  .recruit-scope-list article:nth-child(1)::before {
    background: rgba(255, 255, 255, 0.65);
  }
  .recruit-scope-list article:nth-child(2)::before {
    background: rgba(255, 255, 255, 0.78);
  }
  .recruit-scope-list article:nth-child(3)::before {
    background: rgba(255, 255, 255, 0.88);
  }
  .recruit-scope-list h3 {
    position: static;
    grid-column: 1;
  }
  .recruit-scope-list p {
    grid-column: 1;
  }
  .recruit-work-anchor {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .recruit-skill-grid {
    grid-template-columns: 1fr;
  }
  .recruit-phase-flow article {
    grid-template-columns: 1fr;
  }
  .recruit-phase-flow h4,
  .recruit-phase-flow p {
    padding: 18px;
  }
  #work-flow .recruit-flow {
    padding: 0;
  }
  .recruit-flow::before {
    display: none;
  }
  .recruit-flow__phase {
    display: block;
  }
  .recruit-flow__phase + .recruit-flow__phase {
    margin-top: 20px;
  }
  .recruit-flow__phase-label {
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
    align-items: baseline;
    padding: 16px 20px;
  }
  .recruit-flow__phase-text {
    font-size: 18px;
  }
  .recruit-flow__phase-number {
    margin-top: 0;
    font-size: 46px;
  }
  .recruit-flow__phase-name {
    flex-basis: 100%;
    margin-top: 4px;
    font-size: 24px;
  }
  .recruit-flow__steps {
    position: relative;
    gap: 12px;
    margin-top: 16px;
  }
  .recruit-flow__steps::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    background: var(--color-primary);
    content: "";
  }
  .recruit-flow__step {
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 16px;
    padding: 6px 16px;
  }
  .recruit-flow__content h3 {
    font-size: 18px;
  }
  .recruit-flow__content p {
    font-size: 15px;
  }
  .recruit-flow__step--event .recruit-flow__content {
    padding-right: 0;
  }
  .recruit-flow__peak {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: auto;
    margin: 12px 0 0 24px;
    transform: none;
  }
  .recruit-company-grid .info-list__item {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .recruit-company-profile .info-list__item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 20px;
  }
  .recruit-company-profile .info-list__item::after {
    width: 100%;
  }
  .recruit-company-profile .info-list__item dd a span {
    display: block;
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruit-hero__video {
    visibility: hidden;
  }
  .recruit-hero__media {
    background: var(--color-text);
  }
}
