/*
 * 東京きもの 採用情報
 * archive-recruit.php / single-recruit.php 共通
 */

.recruit-page,
.recruit-page * {
  box-sizing: border-box;
}

.recruit-page {
  color: #59493f;
  background: #faf4f4;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}

.recruit-page img {
  max-width: 100%;
  height: auto;
}

.recruit-page a {
  color: inherit;
}

.recruit-container {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

.recruit-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* パンくず */
.recruit-breadcrumb {
  padding: 14px 0;
  background: #fff;
  border-bottom: 1px solid #eee5e5;
  font-size: 13px;
}

.recruit-breadcrumb .recruit-container {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-wrap: anywhere;
}

.recruit-breadcrumb a {
  color: #5e7550;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 採用トップの画像コンテンツ */
.recruit-hero {
  overflow: hidden;
  background: #fff;
}

.recruit-hero > img {
  display: block;
  width: 100%;
}

.recruit-story {
  overflow: hidden;
  background: #fff;
}

.recruit-story__desktop {
  display: none;
}

.recruit-story__mobile {
  display: block;
  width: 100%;
  margin-inline: auto;
}

.recruit-story__desktop > img,
.recruit-story__mobile > img,
.recruit-story__pattern > img {
  display: block;
  width: 100%;
  margin: 0;
}

.recruit-story__pattern {
  position: relative;
  padding-bottom: 26px;
  background-image: url("../img/recruit/recruit_bg.png");
  background-repeat: repeat;
}

.recruit-story__pattern::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 26px;
  background-image: url("../img/recruit/recruit_bg_semicircle.png");
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: auto 26px;
  content: "";
}

/* 求人一覧 */
.recruit-jobs {
  padding: 64px 0 90px;
}

.recruit-jobs__heading {
  max-width: 1024px;
  margin: 0 auto 34px;
}

.recruit-jobs__heading picture,
.recruit-jobs__heading img {
  display: block;
  width: 100%;
}

.recruit-jobs__lead {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.recruit-job-list {
  display: grid;
  gap: 32px;
}

.recruit-job-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #eadede;
  border-radius: 12px;
  box-shadow: 0 7px 24px rgba(89, 73, 63, 0.08);
}

.recruit-job-card__title {
  margin: 0;
  padding: 18px 28px;
  color: #3f5f7c;
  background: #dfefff;
  border-bottom: 3px solid #79adf5;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
}

.recruit-job-table,
.recruit-detail-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
}

.recruit-job-table th,
.recruit-job-table td,
.recruit-detail-table th,
.recruit-detail-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #e5dddd;
  vertical-align: top;
}

.recruit-job-table th,
.recruit-detail-table th {
  width: 22%;
  background: #fffafa;
  font-weight: 700;
  text-align: left;
}

.recruit-job-card__button-wrap {
  margin: 0;
  padding: 26px;
  text-align: center;
}

.recruit-button {
  display: inline-flex;
  min-width: 240px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.recruit-button:hover {
  opacity: 0.84;
  transform: translateY(-1px);
}

.recruit-button--primary {
  color: #59493f !important;
  background: #fdda95;
  border-color: #e2bf7a;
  box-shadow: 0 3px 0 #e2bf7a;
}

.recruit-button--outline {
  color: #5e7550 !important;
  background: #fff;
  border-color: #7d936e;
}

.recruit-empty {
  padding: 56px 24px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
}

/* 求人詳細 */
.recruit-single__header {
  padding: 58px 0 62px;
  background: #fff;
  border-bottom: 1px solid #eee5e5;
  text-align: center;
}

.recruit-single__eyebrow {
  margin: 0 0 8px;
  color: #7d936e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.recruit-single__header h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #59493f;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.5;
}

.recruit-single__container {
  padding-top: 60px;
  padding-bottom: 90px;
}

.recruit-single__section {
  margin-bottom: 38px;
  padding: 38px;
  background: #fff;
  border: 1px solid #eadede;
  border-radius: 12px;
  box-shadow: 0 7px 24px rgba(89, 73, 63, 0.07);
}

.recruit-single__section > h2 {
  position: relative;
  margin: 0 0 32px;
  padding: 14px 20px;
  color: #59493f;
  background: #f6b6c2;
  border-radius: 7px;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
}

.recruit-single__section > h2::after {
  position: absolute;
  top: 100%;
  left: 30px;
  width: 0;
  height: 0;
  border: 9px solid transparent;
  border-top: 13px solid #f6b6c2;
  content: "";
}

.recruit-rich-text::after {
  display: table;
  clear: both;
  content: "";
}

.recruit-rich-text > :first-child,
.recruit-detail-table td > :first-child {
  margin-top: 0;
}

.recruit-rich-text > :last-child,
.recruit-detail-table td > :last-child {
  margin-bottom: 0;
}

.recruit-rich-text img {
  display: block;
  max-width: 100%;
  margin: 18px auto;
  border-radius: 6px;
}

.recruit-rich-text img.alignleft {
  float: left;
  margin: 0 24px 20px 0;
}

.recruit-rich-text img.alignright {
  float: right;
  margin: 0 0 20px 24px;
}

.recruit-chip-list,
.recruit-benefit-list,
.recruit-note-list {
  margin: 0;
}

.recruit-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.recruit-chip-list li {
  min-width: 38px;
  padding: 4px 10px;
  background: #fdda95;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
}

.recruit-benefit-list,
.recruit-note-list {
  padding-left: 1.4em;
}

.recruit-shop {
  display: grid;
  gap: 3px;
}

.recruit-shop__name {
  margin-bottom: 4px;
  font-size: 17px;
}

.recruit-shop__map-link {
  width: fit-content;
  margin-top: 8px;
  color: #5e7550 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.recruit-flow {
  margin-bottom: 0;
}

.recruit-flow__phone {
  margin: 18px 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
}

.recruit-flow__phone a {
  color: #5e7550;
  text-decoration: none;
}

.recruit-note-list {
  margin-top: 24px;
  font-size: 14px;
}

.recruit-single__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}

@media (min-width: 768px) {
  .recruit-story__desktop {
    display: block;
    width: min(100%, 1024px);
    margin-inline: auto;
  }

  .recruit-story__mobile {
    display: none;
  }

  .recruit-story__pattern {
    padding-bottom: 40px;
  }

  .recruit-story__pattern::after {
    height: 40px;
    background-size: auto 40px;
  }
}

@media (max-width: 767px) {
  .recruit-container {
    width: min(100% - 28px, 1080px);
  }

  .recruit-breadcrumb {
    font-size: 12px;
  }

  .recruit-jobs {
    padding: 44px 0 64px;
  }

  .recruit-jobs__heading {
    margin-bottom: 24px;
  }

  .recruit-jobs__lead {
    margin-bottom: 30px;
    text-align: left;
  }

  .recruit-job-list {
    gap: 24px;
  }

  .recruit-job-card__title {
    padding: 15px 18px;
  }

  .recruit-job-table,
  .recruit-job-table tbody,
  .recruit-job-table tr,
  .recruit-job-table th,
  .recruit-job-table td,
  .recruit-detail-table,
  .recruit-detail-table tbody,
  .recruit-detail-table tr,
  .recruit-detail-table th,
  .recruit-detail-table td {
    display: block;
    width: 100%;
  }

  .recruit-job-table tr,
  .recruit-detail-table tr {
    border-bottom: 1px solid #e5dddd;
  }

  .recruit-job-table th,
  .recruit-detail-table th {
    padding: 11px 16px;
    border-bottom: 0;
  }

  .recruit-job-table td,
  .recruit-detail-table td {
    padding: 14px 16px 18px;
    border-bottom: 0;
  }

  .recruit-job-card__button-wrap {
    padding: 22px 16px 25px;
  }

  .recruit-button {
    width: 100%;
    min-width: 0;
  }

  .recruit-single__header {
    padding: 40px 0 44px;
  }

  .recruit-single__container {
    padding-top: 38px;
    padding-bottom: 68px;
  }

  .recruit-single__section {
    margin-bottom: 26px;
    padding: 22px 16px;
  }

  .recruit-single__section > h2 {
    margin-bottom: 28px;
    padding: 12px 15px;
  }

  .recruit-rich-text img.alignleft,
  .recruit-rich-text img.alignright {
    float: none;
    margin: 18px auto;
  }

  .recruit-single__actions {
    display: grid;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recruit-button {
    transition: none;
  }
}

