.recruit-message {
  background: #e8e4dc;
  padding: 0 20px 0px;
  height: 580px;
}

.recruit-message-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 70px;
  background: #fff;
  position: relative;
  z-index: 2;
  top: -100px;
}

.recruit-message-card h2,
.offer h2,
.flow h2 {
  font-size: 30px;
  color: #757575;
  font-weight: 700;
}

.page-hero-recruit {
  height: 650px;
}

.message-sub,
.section-ja {
  margin-top: 4px;
  margin-bottom: 35px;
  font-size: 14px;
  color: #757575;
}

.flow .section-ja {
  margin-bottom: 0px;
}

.recruit-message-card p {
  font-size: 14px;
  line-height: 2;
  color: #757575;
  text-align: left;
  margin-bottom: 24px;
}

.offer {
  padding: 70px 20px 90px;
  background: #fff;
  text-align: center;
}

.offer-list {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.offer-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid #ddd;
}

.offer-list div:last-child {
  border-bottom: 1px solid #ddd;
}

.offer-list dt {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #757575;
}

.offer-list dd {
  font-size: 16px;
  line-height: 1.9;
  color: #757575;
  font-weight: 600;
}

.flow {
  padding: 80px 20px 10px;
  background: #e8e4dc;
  text-align: center;
}

.flow-list {
  max-width: 720px;
  margin: 0 auto 30px;
}

.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 330px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-right: 6px solid #757575;
  border-bottom: 6px solid #757575;
  transform: rotate(45deg);
}

.flow-num {
  font-size: 60px;
  font-weight: 700;
  color: #757575;
}

.flow-item h3 {
  display: flex;
  align-items: center;
  font-size: 20px;
  color: #757575;
  font-weight: 700;
  border-right: 2px solid #2d4b9b;
  padding-right: 26px;
  height: 150px;
}

.flow-item > p:last-child {
  font-size: 16px;
  line-height: 1.8;
  color: #757575;
  font-weight: 600;
}

.flow-documents {
  display: inline-block;
  font-size: 13px;
  line-height: 1.6;
}

.flow-item > p:last-child {
  display: flex;
  flex-direction: column;
}

.flow-item {
  display: grid;
  grid-template-columns: 90px 180px 1fr;
  align-items: center;
  text-align: left;
  gap: 25px;
  position: relative;
  padding: 28px 0 70px;
}

.recruit-message-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 70px;
  background: #fff;
  position: relative;
  z-index: 2;
  top: -200px;
  animation: fadeIn 2.5s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 430px) {
  .recruit-message {
    padding: 0 22px 30px;
    height: 750px;
  }

  .recruit-message-card {
    margin: 0 auto 0;
    padding: 40px 24px 20px;
    animation: none;
    opacity: 1;
  }

  .recruit-message-card h2,
  .offer h2,
  .flow h2 {
    font-size: 26px;
  }

  .flow {
    padding: 50px 20px 10px;
  }

  .page-hero-copy-recruit {
    margin: 30px 0 0 120px;
  }

  .page-hero-recruit {
    height: 450px;
  }

  .recruit-message-card p {
    text-align: left;
    font-size: 13px;
  }

  .offer {
    padding: 55px 24px;
  }

  .offer-list div {
    display: block;
    padding: 22px 0;
  }

  .offer-list dt {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .offer-list dd {
    font-size: 14px;
  }

  .flow-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 12px;
    text-align: left;
    padding-bottom: 58px;
  }

  .flow-num {
    grid-column: 1;
    grid-row: 1;
    font-size: 28px;
  }

  .flow-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 24px;
    width: 24px;
    height: 24px;
    border-right: 5px solid #757575;
    border-bottom: 5px solid #757575;
    transform: translateX(-50%) rotate(45deg);
  }

  .flow-item h3 {
    grid-column: 2;
    grid-row: 1;
    height: 0;
    border: none;
    padding: 0;
    margin: 0;
  }

  .flow-item > p:last-child {
    grid-column: 1 / 3;
    grid-row: 2;

    margin-top: 16px;
  }
}
