/* =================================
   Page: recruit（採用情報）
   Figma 無題 file / node 1-5420
================================= */

.recruit-page-section {
  background-color: var(--color-bg-cream);
  margin-top: 0px;
}

.recruit-page-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px clamp(40px, 18.75vw, 360px);
  box-sizing: border-box;
}

.recruit-page-section__hero-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* ← これに変更（重要） */
  justify-content: space-between;
  align-items: flex-start;
}

.recruit-page-section__head {
  flex: 0 1 auto;
  min-width: 0;
}

.recruit-page-section__heading.section-heading {
  margin-left: -450px;
}

.section-heading__en {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.13em;
    color: var(--color-primary);
}

.recruit-page-section__heading .section-heading__en-wrap {
  justify-content: flex-start;
  margin-bottom: -5px;
}


.section-heading__bar {
  display: inline-block;
  width: auto;
  height: auto;
  background: none;
  margin-right: -5px;
}

.section-heading__bar::before {
  content: "・";
  font-size: 1.6rem;
  color:var(--color-primary);
}

.recruit-page-section__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.26315789;
}

.recruit-page-section__title-line {
  font-size: 1.7em;
  letter-spacing: 0.21em;
}

.recruit-page-section__title {
  font-size: 1.56em;

}

.recruit-page-section__lead {
  min-width: min(100%, 280px);
  font-family: "Noto Sans JP", var(--font-sans), sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 2.2;
  letter-spacing: 0.19em;
  color: var(--color-text);
  margin-left: auto;   
  margin-right: -450px;
  margin-top: 10px;
  margin-bottom: 0;
  max-width: 680px;
  text-align: left;
}

.recruit-page-section__lead-strong {
  font-weight: 700; /* ← 濃くする */
}

.recruit-page-section__main {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  max-width: 1500px;
  align-self: center;
}

.recruit-page-section__main--hidden {
  display: none;
}

.recruit-page-section__job-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.recruit-page-section__job-tab {
  border: 1px solid #c8b9a4;
  background: #fff;
  color: #3d231f;
  font-family: var(--font-sans);
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.recruit-page-section__job-tab:hover,
.recruit-page-section__job-tab:focus-visible {
  border-color: #3d231f;
}

.recruit-page-section__job-tab--active {
  background: #3d231f;
  color: #fff;
  border-color: #3d231f;
}

.recruit-page-section__block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: stretch;
  margin-left: 0;
}

.recruit-page-section__block-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 13px 0 13px 20px;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #3d231f;
  border-left: 3px solid #3d231f;
}

.recruit-page-section__block-body {
  margin: 0 auto 10px 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.5rem;
  text-align: left;
  line-height: 1.8;
  letter-spacing: 0.17em;
  color: #111;
  max-width: 1300px;
}

.recruit-subtitle {
  display: block;
  margin-bottom: -28px; /* ← ここで間隔調整 */
}

.recruit-page-section__block-body p {
  margin: 0;
}

.recruit-page-section__specs {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-left: 0;
  align-self: stretch;
}

.recruit-page-section__spec-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  margin: 0;
}

.recruit-page-section__spec-term {
  flex: 0 0 173px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 13px 10px 13px 10px;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #3d231f;
  background-color: #f9eacee1;
  border-right: 3px solid #3d231f;
}

.recruit-page-section__spec-desc {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 10px 0 10px 58px;
  box-sizing: border-box;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.8rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #000000;
  text-align: left;
  background-color: var(--color-bg-cream);
}

@media (max-width: 768px) {
  .recruit-page-section__inner {
    padding: 60px 20px;
    gap: 40px;
    max-width: none;
  }

 .recruit-page-section__hero-row {
  display: flex;
  flex-wrap: wrap;
}

.recruit-page-section__heading.section-heading {
  margin-left: auto;
}

  .recruit-page-section__lead {
    flex: 1 1 auto;
    max-width: none;
    margin-top: 30px;
  }

  .recruit-page-section__job-tabs {
    gap: 8px;
  }

  .recruit-page-section__job-tab {
    width: 100%;
    text-align: left;
    font-size: 1.4rem;
    padding: 10px 12px;
  }

  .recruit-page-section__heading .section-heading__ja {
    font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  }

  .recruit-page-section__spec-row {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .recruit-page-section__spec-term {
    flex: none;
    width: 100%;
    border-right: none;
    border-bottom: 3px solid #3d231f;
  }

  .recruit-page-section__spec-desc {
    padding: 16px 16px 16px 20px;
    width: 100%;
  }
}

.works-archive-page-hero {
  background: #ffffff;
  border-top: 4px solid var(--color-primary-dark);
}

.works-archive-page-hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 40px 80px;
  text-align: center;
}

.works-archive-page-hero__title {
  margin: 0;
  font-family: "Shippori Mincho B1", var(--font-serif);
  font-size: clamp(3rem, 4vw, 4.8rem);
  font-weight: 700;
  line-height: 1.35;
  color: #3e2b2c;
  letter-spacing: 0.04em;
}

.works-archive-page-hero__subtitle {
  margin: 24px 0 0;
  font-family: "Shippori Mincho B1", var(--font-serif);
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.4;
  color: #b99663;
  letter-spacing: 0.08em;
}


/* ==========================================================================
   採用ページ メインビジュアル（背景写真＋オーバーレイ）
   ※ .works-archive-page-hero--mv を付けた採用ページのみに適用
   ========================================================================== */
.works-archive-page-hero--mv {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(320px, 32vw, 460px);
  background-color: #3e2b2c;
}

.works-archive-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.works-archive-page-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% 15%;
}

.works-archive-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.38) 50%, rgba(0, 0, 0, 0.55) 100%);
}

.works-archive-page-hero--mv .works-archive-page-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.works-archive-page-hero--mv .works-archive-page-hero__title {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.works-archive-page-hero--mv .works-archive-page-hero__subtitle {
  color: #e8d5b0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .works-archive-page-hero--mv {
    min-height: 260px;
  }
}


/* ==========================================================================
   職種タブ内の写真（業務内容の上）
   ========================================================================== */
.recruit-page-section__photo {
  margin: 0 0 32px;
  border-radius: 4px;
  overflow: hidden;
}

.recruit-page-section__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 50%;
}

@media (max-width: 768px) {
  .recruit-page-section__photo {
    margin-bottom: 24px;
  }

  .recruit-page-section__photo img {
    aspect-ratio: 4 / 3;
  }
}

/* 職種ごとのトリミング位置 */
#recruit-job-panel-0 .recruit-page-section__photo img {
  object-position: 50% 22%;
}

#recruit-job-panel-3 .recruit-page-section__photo img {
  object-position: 50% 45%;
}

#recruit-job-panel-1 .recruit-page-section__photo img {
  object-position: 50% 40%;
}

#recruit-job-panel-4 .recruit-page-section__photo img {
  object-position: 50% 42%;
}
