.recruit-detail {
  margin-top: 2rem;
}
.recruit-detail__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.recruit-detail__label {
  width: 180px;
  padding: 14px 16px;
  background-color: #04285B;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  vertical-align: top;
  white-space: nowrap;
  border-bottom: 1px solid #fff;
}
.recruit-detail__value {
  padding: 14px 20px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
  line-height: 1.8;
}
.recruit-detail__value .recruit-map {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 360px;
}
.recruit-detail__value .recruit-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.recruit-detail__entry-btn-wrap {
  text-align: center;
  margin: 4rem 0;
}
.recruit-detail__entry-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-width: 320px;
  padding: 1.75rem 4rem;
  background: #04285B;
  color: #fff;
  font-size: 1.125rem;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.recruit-detail__entry-btn:hover {
  background: #c69c28;
  color: #fff;
}
.recruit-detail__entry-btn-icon {
  display: block;
  width: 28px;
  height: 28px;
}
.recruit-detail__entry-btn-icon svg {
  width: 100%;
  height: 100%;
  color: #fff;
}
.recruit-detail__entry-btn-label {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (max-width: 767.98px) {
  .recruit-detail__table, .recruit-detail__table tbody, .recruit-detail__table tr, .recruit-detail__label, .recruit-detail__value {
    display: block;
    width: 100%;
  }
  .recruit-detail .recruit-map {
    height: auto;
    aspect-ratio: 4/3;
  }
  .recruit-detail__label {
    white-space: normal;
  }
}
.recruit-list-item {
  width: 100%;
  flex: 1 1 100%;
  margin-bottom: 2rem;
  border: 1px solid #d8dee9;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.recruit-list-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.recruit-list-item__inner {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}
.recruit-list-item__thumb {
  position: relative;
  flex: 0 0 320px;
  width: 320px;
  min-height: 260px;
  overflow: hidden;
  background: #e9eef5;
}
.recruit-list-item__thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.recruit-list-item__thumb--noimg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #04285B;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 1rem;
  text-align: center;
}
.recruit-list-item__body {
  flex: 1;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.recruit-list-item__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #04285B;
  margin: 0 0 1rem;
  line-height: 1.4;
}
.recruit-list-item__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  border: none;
}
.recruit-list-item__table th, .recruit-list-item__table td {
  padding: 6px 10px;
  border: none;
  text-align: left;
  vertical-align: top;
}
.recruit-list-item__table th {
  color: #04285B;
  font-weight: 700;
  white-space: nowrap;
  width: 120px;
}
.recruit-list-item__table td {
  color: #555555;
}
.recruit-list-item__btn-wrap {
  text-align: right;
}
.recruit-list-item__btn {
  display: inline-block;
  padding: 10px 2rem;
  background: #04285B;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
}
.recruit-list-item__btn:hover {
  background: #5B72D6;
}

@media (max-width: 767.98px) {
  .recruit-list-item__inner {
    flex-direction: column;
  }
  .recruit-list-item__thumb {
    flex: none;
    width: 100%;
    min-height: 0;
    height: 220px;
  }
  .recruit-list-item__body {
    padding: 1rem;
  }
  .recruit-list-item__table th {
    width: 90px;
  }
  .recruit-list-item__btn-wrap {
    text-align: center;
  }
}
.recruit-lead {
  margin-top: 2rem;
}
.recruit-lead__block {
  margin-bottom: 2.5rem;
}
.recruit-lead__heading {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  background: none;
  color: #04285B;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.4;
}
.recruit-lead__heading::before, .recruit-lead__heading::after {
  display: none;
}
.recruit-lead__body {
  line-height: 1.9;
  font-weight: 500;
}

.recruit-entry-info {
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  border-left: 5px solid #04285B;
  background: #f4f6fa;
}
.recruit-entry-info__label {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  color: #555555;
}
.recruit-entry-info__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #04285B;
}
.recruit-entry-info__no {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: #555555;
}

@media (max-width: 767.98px) {
  .recruit-lead__heading {
    font-size: 1.25rem;
  }
}
.recruit-employment {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.recruit-employment__item {
  margin: 0;
}
.recruit-employment__item a {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: #04285B;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.recruit-employment__item a:hover {
  background: #5B72D6;
  color: #fff;
}

.recruit-filter {
  margin-bottom: 3rem;
}
.recruit-filter__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #c8c8c8;
}
.recruit-filter__label {
  width: 240px;
  padding: 18px 20px;
  background-color: #666666;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
  border: none;
  border-bottom: 1px solid #fff;
}
.recruit-filter__value {
  padding: 14px 20px;
  background: #fff;
  vertical-align: middle;
  border: none;
  border-bottom: 1px solid #c8c8c8;
}
.recruit-filter__check {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 1.5rem 0.25rem 0;
  font-weight: 700;
  cursor: pointer;
}
.recruit-filter__check input {
  margin: 0;
}
.recruit-filter__btn-wrap {
  position: relative;
  margin: 1.5rem 0 3rem;
  padding-bottom: 1rem;
  text-align: center;
}
.recruit-filter__btn {
  min-width: 270px;
  padding: 0.9rem 2rem;
  background: #666666;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.recruit-filter__btn:hover {
  background: #04285B;
}
.recruit-filter__clear {
  position: absolute;
  top: 50%;
  left: calc(50% + 135px + 1.5rem);
  transform: translateY(-50%);
  padding-bottom: 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.recruit-filter + .recruit-archive {
  margin-top: 3rem;
}

.recruit-archive__empty {
  width: 100%;
  margin: 2rem auto;
  padding: 0;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .recruit-filter__table, .recruit-filter__table tbody, .recruit-filter__table tr, .recruit-filter__label, .recruit-filter__value {
    display: block;
    width: 100%;
  }
  .recruit-filter__label {
    padding: 10px 14px;
  }
  .recruit-filter__btn {
    width: 100%;
    min-width: 0;
  }
  .recruit-filter__clear {
    position: static;
    display: block;
    margin: 1rem 0 0;
    padding: 0;
    transform: none;
  }
}
.recruit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}
.recruit-tags__item {
  margin: 0;
  padding: 0.4rem 1.25rem;
  background: #e5be3b;
  color: #f4eeee;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.05em;
  border-radius: 999px;
  box-shadow: 0 3px 0 #d79c5f;
}

.entry-header .recruit-tags {
  margin: 0.75rem 0 0;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .recruit-list-item__thumb {
    flex-basis: 240px;
    width: 240px;
  }
}
.cf7-table {
  display: flex;
  flex-direction: column;
}
.cf7-table .cf7-row {
  display: flex;
  flex-wrap: wrap;
}
.cf7-table .cf7-row .cf7-label {
  width: 30%;
  background: #f0f0f0;
  padding: 15px;
  font-weight: bold;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  box-sizing: border-box;
}
.cf7-table .cf7-row .cf7-field {
  flex: 1;
  padding: 15px;
  box-sizing: border-box;
}
.cf7-table .cf7-row .cf7-field input,
.cf7-table .cf7-row .cf7-field textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.cf7-table .cf7-row .cf7-field textarea {
  min-height: 120px;
}
.cf7-table .cf7-row .cf7-field input[type=checkbox],
.cf7-table .cf7-row .cf7-field input[type=radio] {
  flex: none;
  width: auto;
  padding: 0;
}
.cf7-table .cf7-row .cf7-field p {
  margin: 0;
  line-height: 1.5;
}
.cf7-table .cf7-row .required-label {
  background: #c69c28;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  margin-left: 0.5em;
}
.cf7-table .cf7-row .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.cf7-table .cf7-row .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
  white-space: normal;
}
.cf7-table .cf7-row .wpcf7-acceptance .wpcf7-list-item label {
  flex-direction: row;
  align-items: flex-start;
}
.cf7-table .cf7-row .wpcf7-acceptance .wpcf7-list-item input[type=checkbox] {
  flex: none;
  width: auto;
  margin-top: 0.35em;
  padding: 0;
}
.cf7-table .cf7-row .wpcf7-list-item {
  display: inline-block;
  margin: 0 1.5em 0 0;
  white-space: nowrap;
}
.cf7-table .cf7-row .wpcf7-list-item label {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 0.4em;
}
.cf7-table .cf7-row .submit {
  text-align: center;
  padding-top: 3em;
}
.cf7-table .cf7-row .submit input[type=submit] {
  font-size: 1.25rem;
  padding: 1em 3em;
  width: auto;
  min-width: 300px;
  display: inline-block;
  margin: 0 auto;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
.cf7-table .cf7-row .submit .wpcf7-spinner {
  display: none;
  margin: 1em auto 0;
  text-align: center;
  float: none;
}
.cf7-table .cf7-row .submit input.has-spinner + .wpcf7-spinner {
  display: block;
}
.cf7-table .cf7-row .submit .file-note {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.5em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .cf7-table .cf7-row {
    flex-direction: column;
  }
  .cf7-table .cf7-row .cf7-label {
    width: 100%;
    justify-content: flex-start;
    padding: 8px;
  }
  .cf7-table .cf7-row .cf7-label p {
    margin-bottom: 0 !important;
  }
  .cf7-table .cf7-row .cf7-field {
    width: 100%;
    padding: 10px 0;
  }
}
@media (max-width: 768px) {
  input[type=submit] {
    font-size: 1rem;
    padding: 0.5em 1em;
    width: 100%;
  }
}
.page-header-title {
  margin-top: 5rem !important;
}
