@charset "UTF-8";

/* =====================================
   Job Description Page
   - page-job-description.php
===================================== */

.page-job-description {
  background: #fff;
}

.page-job-description .job-detail {
  background: #f4f2f2;
  padding: 70px 0 85px;
}

.page-job-description .job-detail__inner,
.page-job-description .job-requirements__inner,
.page-job-description .job-store-list__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.page-job-description .job-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 520px) 1fr;
  gap: 60px;
  align-items: center;
}

.page-job-description .job-detail__image {
  overflow: hidden;
  border-radius: 16px;
}

.page-job-description .job-detail__image img,
.page-job-description .job-store-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-job-description .job-detail__store {
  font-size: 28px;
  line-height: 1.5;
  font-weight: normal;
  margin: 0 0 20px;
}

.page-job-description .job-detail__lead,
.page-job-description .job-detail__tags,
.page-job-description .job-detail-card,
.page-job-description .job-requirements__table,
.page-job-description .job-store-card {
  font-family: "Noto Sans JP";
}

.page-job-description .job-detail__lead {
  line-height: 1.8;
  margin: 0 0 18px;
}

.page-job-description .job-detail__status,
.page-job-description .job-store-card__body span {
  display: inline-block;
  color: #fff;
  background: #e39182;
  border-radius: 999px;
  font-family: "Noto Sans JP";
  font-size: 13px;
  line-height: 1;
  padding: 8px 20px;
}

.page-job-description .job-detail__tags {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  color: #707070;
  line-height: 1.9;
}

.page-job-description .job-detail__cards {
  display: grid;
  gap: 34px;
  margin-top: 70px;
}

.page-job-description .job-detail-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 38px 34px;
}

.page-job-description .job-detail-card h3 {
  color: #fff;
  background: linear-gradient(90deg, #5dc9d0 0%, #8ee8d1 100%);
  font-size: 20px;
  font-weight: normal;
  line-height: 1.4;
  margin: 0 0 22px;
  padding: 8px 18px;
}

.page-job-description .job-detail-card ul,
.page-job-description .job-store-card ul {
  margin: 0;
  padding-left: 1.3em;
  line-height: 2;
}

.page-job-description .job-requirements {
  padding: 80px 0 90px;
}

.page-job-description .job-requirements__title,
.page-job-description .job-store-list__title {
  color: #243590;
  font-size: 30px;
  font-weight: normal;
  line-height: 1.5;
  margin: 0 0 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid #243590;
}

.page-job-description .job-requirements__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 58px;
}

.page-job-description .job-requirements__tab {
  appearance: none;
  min-width: 170px;
  background: #fff;
  color: #243590;
  border: 1px solid #243590;
  border-radius: 999px;
  text-align: center;
  font-family: "Noto Sans JP";
  font-size: 14px;
  line-height: 1;
  padding: 11px 20px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.page-job-description .job-requirements__tab.is-active,
.page-job-description .job-requirements__tab:hover {
  color: #fff;
  background: #243590;
}

.page-job-description .job-requirements__panel[hidden] {
  display: none;
}

.page-job-description .job-requirements__empty {
  font-family: "Noto Sans JP";
  color: #707070;
  line-height: 1.8;
  margin: 0;
}

.page-job-description .job-requirements__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.8;
}

.page-job-description .job-requirements__table tr {
  border-top: 1px solid #d9dee4;
}

.page-job-description .job-requirements__table tr:last-child {
  border-bottom: 1px solid #d9dee4;
}

.page-job-description .job-requirements__table th,
.page-job-description .job-requirements__table td {
  vertical-align: top;
  padding: 24px 26px;
}

.page-job-description .job-requirements__table th {
  width: 210px;
  background: #eaf4f8;
  color: #34424f;
  font-weight: 500;
  text-align: left;
}

.page-job-description .job-requirements__table p {
  margin: 0;
}

.page-job-description .job-requirements__table p + p {
  margin-top: 4px;
}

.page-job-description .job-requirements__table iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
}

.page-job-description .job-requirements__entry {
  text-align: center;
  margin-top: 42px;
}

.page-job-description .job-requirements__entry .c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  min-height: 64px;
  color: #fff;
  background: #243590;
  border-radius: 4px;
  text-decoration: none;
  font-family: "Noto Sans JP";
}

.page-job-description .job-store-list {
  background: #f4f2f2;
  padding: 80px 0 100px;
}

.page-job-description .job-store-list__title {
  text-align: center;
  border-bottom: 0;
  margin-bottom: 46px;
}

.page-job-description .job-store-list__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.page-job-description .job-store-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 20px;
  align-items: center;
  background: #fff;
  padding: 22px;
  overflow: hidden;
}

.page-job-description .job-store-card__link {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 20px;
  align-items: center;
  margin: -22px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.page-job-description .job-store-card__link:hover {
  box-shadow: 0 10px 30px rgba(36, 53, 144, .12);
  transform: translateY(-2px);
}

.page-job-description .job-store-card__body h3 {
  font-size: 20px;
  font-weight: normal;
  margin: 0 0 14px;
}

.page-job-description .job-store-card__body span {
  font-size: 12px;
  padding: 7px 16px;
  margin-bottom: 12px;
}

.page-job-description .job-store-card__body ul {
  color: #707070;
  font-size: 13px;
  line-height: 1.7;
}

.page-job-description .job-store-card__image {
  aspect-ratio: 250 / 160;
  overflow: hidden;
}

.page-job-description .job-store-card__image img {
  transition: transform .3s ease;
}

.page-job-description .job-store-card__link:hover .job-store-card__image img {
  transform: scale(1.04);
}

.page-job-description .job-store-card.is-disabled {
  pointer-events: none;
}

.page-job-description .job-store-card.is-disabled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, .72);
}

.page-job-description .job-store-card.is-disabled::after {
  content: "募集停止中";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  color: #fff;
  background: #707070;
  border-radius: 999px;
  font-family: "Noto Sans JP";
  font-size: 12px;
  line-height: 1;
  padding: 8px 16px;
}

.page-job-description-list .job-store-list {
  padding-top: 80px;
}

@media (max-width: 768px) {
  .page-job-description .job-detail {
    padding: 40px 20px 60px;
  }

  .page-job-description .job-detail__hero,
  .page-job-description .job-store-card,
  .page-job-description .job-store-card__link {
    grid-template-columns: 1fr;
  }

  .page-job-description .job-detail__hero {
    gap: 28px;
  }

  .page-job-description .job-detail__store {
    font-size: 22px;
  }

  .page-job-description .job-detail__cards {
    margin-top: 46px;
    gap: 22px;
  }

  .page-job-description .job-detail-card {
    border-radius: 12px;
    padding: 20px;
  }

  .page-job-description .job-detail-card h3 {
    font-size: 16px;
  }

  .page-job-description .job-requirements,
  .page-job-description .job-store-list {
    padding: 56px 20px 70px;
  }

  .page-job-description .job-requirements__title,
  .page-job-description .job-store-list__title {
    font-size: 24px;
  }

  .page-job-description .job-requirements__tabs {
    gap: 10px;
    margin-bottom: 34px;
  }

  .page-job-description .job-requirements__tab {
    min-width: calc(50% - 5px);
    font-size: 12px;
    padding: 10px 8px;
  }

  .page-job-description .job-requirements__table,
  .page-job-description .job-requirements__table tbody,
  .page-job-description .job-requirements__table tr,
  .page-job-description .job-requirements__table th,
  .page-job-description .job-requirements__table td {
    display: block;
    width: 100%;
  }

  .page-job-description .job-requirements__table th,
  .page-job-description .job-requirements__table td {
    padding: 16px 18px;
  }

  .page-job-description .job-requirements__entry .c-button {
    width: 100%;
    min-width: 0;
  }

  .page-job-description .job-store-list__grid {
    grid-template-columns: 1fr;
  }
}
