.recruit__container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.recruit-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.recruit-content[aria-expanded="true"] {
  max-height: 1000px;
}

.recruit-header {
  width: 100%;
  padding: 12px;
  color: white;
  font-size: 16px;
  line-height: 24px;
  font-family: "Noto Sans JP", sans-serif;
  background-color: #267acf;
  border-radius: 8px 8px 0 0;
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.recruit-header span {
  display: block;
  width: calc(100% - 20px);
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recruit-header::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(../images/recruit/post-arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
}

.recruit-header[aria-expanded="true"]::after {
  transform: rotateX(180deg);
}

.recruit-field {
  border-bottom: 1px solid #707070;
}

.recruit-field {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.recruit-field:nth-child(2) {
  display: none;
}

.recruit-field th {
  padding: 16px 12px 16px 8px;
  white-space: nowrap;
  text-align: left;
  vertical-align: top;
  color: #484848;
}

.recruit-field td {
  padding: 16px 8px 16px 0px;
  color: #484848;
}

.section-button {
  margin-top: 24px;
}

.recruit {
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  .recruit {
    padding-bottom: 126px;
    padding-top: 0;
    position: relative;
    margin-top: -25px;
  }

  .recruit__container {
    max-width: 712px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    gap: 60px;
  }

  .recruit-content table {
    width: 80vw;
    max-width: 712px;
  }

  .recruit-field:nth-child(2) {
    display: table-row;
  }

  .recruit-field th {
    padding: 20px 0px 20px 24px;
    width: 15%;
  }

  .recruit-field td {
    padding: 20px 24px 20px 0px;
  }

  .section-button {
    margin-top: 40px;
  }

  .section-button:hover {
    margin-top: 40px;
  }
}