@import url("./root.css");

/* ================= 採用情報ページ================= */
.recruit-hero-section {
  border-bottom: 1px solid var(--color-border-gray);
}
/* ===============================
 * 採用情報 ヒーローセクション（上部）
 * =============================== */
.recruit-hero-section .hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 2rem 0 3rem 0;
  gap: 5rem
}

.recruit-hero-visual {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
}

.recruit-hero-visual img {
  width: 100%;
  object-fit: cover;
  background: var(--color-bg-gray);
}

.recruit-hero-message {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  width: 100%;
  margin: 0 auto 3rem;
}

.recruit-hero-message__left {
  flex: 0 0 220px;
  font-size: 1.5rem;
  color: var(--color-txt-black);
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
  font-weight: 400;
}

.recruit-hero-message__right {
  flex: 1 1 0;
  color: var(--color-txt-black);
  font-size: 1rem;
  letter-spacing: 0.04em;
  max-width: 58%;
}

@media screen and (max-width: 768px) {
  .recruit-hero-section .hero-top {
    padding: 0;
    gap: 2.5rem;
  }
  .recruit-hero-message {
    flex-direction: column;
    gap: 1.5rem;
    margin: 0 auto 2rem;
  }
  .recruit-hero-message__left {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    flex: 1;
  }
  .recruit-hero-message__right {
    font-size: 0.7rem;
    flex: 1;
    max-width: 100%; 
  }
  .recruit-hero-visual {
    width: 100%;
    padding: 0 15px;
  }
}
/* ===============================
 * 採用情報 ヒーローセクション（下部）
 * =============================== */
.recruit-hero-section .hero-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 3rem 0 4rem 0;
  gap: 6rem;
}

.recruit-hero-bottom-visual {
    width: 70%;
    margin-right: auto;
    overflow: hidden;
}

.recruit-hero-bottom-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
  background: var(--color-bg-gray);
}

.recruit-hero-bottom-message {
    width: 50%;
    max-width: 700px;
    margin-left: 20%;
    margin-bottom: 8rem;
}

.recruit-hero-bottom-title {
  font-size: 1.5rem;
  font-family: var(--font-serif);
  font-weight: normal;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.recruit-hero-bottom-text {
  letter-spacing: 0.04em;
}

@media screen and (max-width: 768px) {
  .recruit-hero-section .hero-bottom {
    padding: 2rem 0 2.5rem 0;
    gap: 2.5rem;
  }
  .recruit-hero-bottom-visual {
    width: 90%;
  }
  .recruit-hero-bottom-message {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 0;
    padding: 0 15px;
  }
  .recruit-hero-bottom-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  .recruit-hero-bottom-text {
    font-size: 0.7rem;
  }
}
/* ===============================
 * 採用情報 募集職種セクション
 * =============================== */
.recruit-job-section {
  background: white;
  padding: 3rem 0 3rem 0;
  border-bottom: 1px solid var(--color-border-gray);
}

.recruit-job-section .container {
  max-width: 900px;
}

.recruit-job-title {
  font-size: 1.2rem;
  font-weight: normal;
  letter-spacing: 0.12em;
  margin-bottom: 5rem;
  text-align: left;
}

.recruit-job-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.recruit-job-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.recruit-job-image {
    flex: 0 0 40%;
    width: 100%;
    overflow: hidden;
    background: var(--color-bg-gray);
}

.recruit-job-image img {
  display: block;
}

.recruit-job-content {
  flex: 1 1 0;
  min-width: 0;
}

.recruit-job-name {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.recruit-job-desc {
  color: var(--color-txt-dark-gray);
  letter-spacing: 0.02em;
}

@media screen and (max-width: 768px) {
  .recruit-job-list {
    gap: 1.6rem;
  }
  .recruit-job-item {
    gap: 1rem;
  }
  .recruit-job-image {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 82/75;
  }
  .recruit-job-title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .recruit-job-name {
    font-size: 1.1rem;
    line-height: 1.2;
  }
  .recruit-job-desc {
    font-size: 0.7rem;
    line-height: 2;
  }
}
/* ===============================
 * 採用情報 募集要項セクション
 * =============================== */
.recruit-detail-section {
  background: white;
  padding: 3rem 0 0;
}

.recruit-detail-section__inner {
  max-width: 900px;
  margin: 0 auto;
}

.recruit-detail-section__title {
  font-size: 1.2rem;
  font-weight: normal;
  letter-spacing: 0.12em;
  margin-bottom: 5rem;
  text-align: left;
}

.recruit-detail-section__table {
  width: 100%;
  margin: 0 auto 4rem auto;
  overflow-x: auto;
}

.recruit-detail-section__table table {
  width: 100%;
  background: transparent;
}

.recruit-detail-section__table th,
.recruit-detail-section__table td {
  font-size: 1rem;
  padding: 1.2rem 1.5rem;
  vertical-align: middle;
}

.recruit-detail-section__table th {
  background: var(--color-btn-gray);
  color: white;
  font-weight: 400;
  min-width: 180px;
  width: 260px;
  text-align: center;
}

.recruit-detail-section__table td {
  background: white;
  color: var(--color-txt-dark-gray);
  border: 1px solid var(--color-border-gray);
  border-left: none;
  line-height: 1.8;
}

.recruit-detail-section__table tr:not(:last-child) td {
  border-bottom: none;
}

@media screen and (max-width: 768px) {
  .recruit-detail-section {
    padding: 2rem 0 0;
  }
  .recruit-detail-section__inner {
    padding: 0 1vw;
  }
  .recruit-detail-section__title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .recruit-detail-section__table th,
  .recruit-detail-section__table td {
    font-size: 0.8rem;
    padding: 1rem 0.8rem;
    width: 100%;
    text-align: left;
  }
  .recruit-detail-section__table td {
    border-left: 1px solid var(--color-border-gray);
  }
  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }
  th {
    padding: 1em;
    font-weight: bold;
    border: none;
    margin-bottom: 0;
  }
  td {
    padding: 1em;
    border: none;
    margin-bottom: 0;
  }
}
