@charset "UTF-8";

/* 共通CSSの後に読み込む、採用ページ本文専用のスタイル。 */
.recruit-content {
  box-sizing: border-box;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 0 90px;
  color: #333;
  line-height: 1.8;
}
.recruit-content * { box-sizing: border-box; }
.recruit-nav { margin-bottom: 38px; padding: 20px; }
.recruit-nav ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.recruit-nav li { min-width: 0; }
.recruit-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  min-height: 0;
  padding: 10px 20px 10px 28px;
  border: 1px solid #009999;
  border-radius: 999px;
  background: #fff;
  color: #009999;
  font-size: 13px;
  line-height: 1;
  font-weight: bold;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.recruit-nav a:hover { background: #e7f4f1; }
.recruit-nav a:focus-visible { outline: 3px solid #007575; outline-offset: 3px; }
.recruit-job { margin: 0 0 60px; scroll-margin-top: 30px; }
.recruit-job:last-child { margin-bottom: 0; }
.recruit-job h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0 0 10px;
  border-left: 0;
  border-bottom: 2px solid #009999;
  color: #009999;
  font-size: 21px;
  font-weight: bold;
  line-height: 1.5;
}
.recruit-table-wrap { overflow: hidden; border: 1px solid #e0e7e5; border-radius: 10px; }
.recruit-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.recruit-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.recruit-table th, .recruit-table td { padding: 20px 22px; border: 0; border-bottom: 1px solid #e0e7e5; text-align: left; vertical-align: top; overflow-wrap: anywhere; line-height: 1.9; }
.recruit-page .recruit-table th { width: 20%; background: #f3f8f7; color: #007575; font-weight: bold; }
.recruit-page .recruit-table td { width: 80%; background: #fff; }
.recruit-table tr:last-child th, .recruit-table tr:last-child td { border-bottom: 0; }
@media screen and (max-width: 950px) {
  .recruit-content { padding-top: 40px; padding-bottom: 60px; }
  .recruit-job { scroll-margin-top: 100px; }
}
@media screen and (max-width: 600px) {
  .recruit-nav { padding: 15px; }
  .recruit-nav ul { grid-template-columns: minmax(0, 1fr); }
  .recruit-job h3 { font-size: 19px; }
  .recruit-table { font-size: 14px; }
  .recruit-table th, .recruit-table td { padding: 15px 12px; }
}

/* 列幅を明示し、既存の共通テーブル指定による均等割りを防ぐ。 */
.recruit-table .recruit-label-column { width: 20%; }
.recruit-table .recruit-value-column { width: 80%; }

.recruit-nav .recruit-arrow { display: block; flex: 0 0 18px; width: 18px; height: auto; align-self: center; margin: 0; }

/* スマホでは参考採用ページと同様に、項目名と内容を縦に並べる。 */
@media screen and (max-width: 767px) {
  .recruit-content { width: calc(100% - 40px); }
  .recruit-nav { padding: 20px 40px; margin-bottom: 40px; }
  .recruit-nav ul { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .recruit-nav a { line-height: 1.5; }
  .recruit-job h3 { margin-bottom: 40px; }
  .recruit-table-wrap { margin: 0 20px; }
  .recruit-table, .recruit-table tbody, .recruit-table tr { display: block; width: 100%; }
  .recruit-table colgroup { display: none; }
  .recruit-page .recruit-table th,
  .recruit-page .recruit-table td {
    display: block;
    width: 100%;
    height: auto;
    padding: 25px 30px;
    font-size: 16px;
    line-height: 1.5;
  }
  .recruit-table tr:last-child th { border-bottom: 1px solid #e0e7e5; }
}
