/* 採用情報ページ */

.recruit-page {
  background: #fff;
}

/* =============================================
   ヒーローセクション
   ============================================= */
.recruit-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  display: grid;
  align-items: center;
  background: #fff;
}

.recruit-hero__image {
  position: absolute;
  inset: 0;
  background:
    url("a_imges/top.png")
    center right / cover;
}

.recruit-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.65);
  opacity: 0;
  pointer-events: none;
}

.recruit-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 100px 34px;
}

.recruit-hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.7rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #1a1a18;
}

.recruit-hero__lead {
  color: var(--green-dark);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.recruit-hero__inner p:not(.recruit-hero__lead) {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 2.05;
  color: #1a1a18;
}

/* 葉っぱ装飾 */
.recruit-hero__leaf-top {
  position: absolute;
  top: -60px;
  right: -30px;
  width: clamp(200px, 30vw, 380px);
  opacity: 0.82;
  pointer-events: none;
  z-index: 2;
}

.recruit-hero__leaf-bottom {
  position: absolute;
  bottom: -80px;
  right: 20px;
  width: clamp(260px, 36vw, 500px);
  opacity: 0.72;
  pointer-events: none;
  z-index: 2;
}

/* =============================================
   電話バナー
   ============================================= */
.tel-banner {
  background: #f3f5f0;
  border-top: 1px solid #dde4d6;
  border-bottom: 1px solid #dde4d6;
}

.tel-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 34px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 22px;
  align-items: center;
}

.tel-banner__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--green-dark);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

.tel-banner__icon svg {
  width: 30px;
  height: 30px;
}

.tel-banner__text {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.8;
  color: #3a3a34;
}

.tel-banner__number {
  text-align: right;
}

.tel-banner__number a {
  display: block;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  text-decoration: none;
  line-height: 1.2;
}

.tel-banner__number a:hover {
  opacity: 0.8;
}

.tel-banner__number span {
  display: block;
  font-family: var(--sans);
  font-size: 0.74rem;
  color: #666;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.tel-banner--bottom {
  margin-top: 0;
  padding: 0 20px 48px;
  background: transparent;
  border: 0;
}

/* ヒーロー直下の電話バナー */
.tel-banner--top {
  position: relative;
  z-index: 4;
  margin-top: -24px;
  padding: 0 20px;
  background: transparent;
  border: 0;
}

.tel-banner--top .tel-banner__inner,
.tel-banner--bottom .tel-banner__inner {
  max-width: var(--max);
  padding: 24px 38px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 28px;
  background: #faf9f6;
  border: 1px solid #d9c9a7;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(57, 54, 42, 0.08);
}

.tel-banner--top .tel-banner__icon,
.tel-banner--bottom .tel-banner__icon {
  width: 64px;
  height: 64px;
}

.tel-banner--top .tel-banner__icon svg,
.tel-banner--bottom .tel-banner__icon svg {
  width: 34px;
  height: 34px;
}

.tel-banner--top .tel-banner__text,
.tel-banner--bottom .tel-banner__text {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.tel-banner--top .tel-banner__number,
.tel-banner--bottom .tel-banner__number {
  padding-left: 34px;
  border-left: 1px solid #cdb789;
}

.tel-banner--top .tel-banner__number a,
.tel-banner--bottom .tel-banner__number a {
  font-size: clamp(2.15rem, 4vw, 3rem);
}

.tel-banner--top .tel-banner__number span,
.tel-banner--bottom .tel-banner__number span {
  font-size: 0.82rem;
  color: #44443e;
}

/* =============================================
   共通セクションスタイル
   ============================================= */
.recruit-section {
  padding: 64px 34px;
  max-width: 100%;
}

.recruit-section--gray {
  background: #f7f8f5;
}

.recruit-section__title {
  text-align: center;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  margin-bottom: 46px;
  color: #2a2a24;
}

/* =============================================
   求める人物像
   ============================================= */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.persona-card {
  padding: 24px 16px 20px;
  text-align: center;
  border: 1px solid #e2dbcf;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(57,54,42,0.05);
}

.persona-card__icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: #eef3eb;
  border-radius: 50%;
  color: var(--green-dark);
}

.persona-card__icon svg {
  width: 36px;
  height: 36px;
}

.persona-card__icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.persona-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #2a2a24;
}

.persona-card p {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.85;
  color: #5c5b54;
  word-break: keep-all;
}

/* =============================================
   募集職種
   ============================================= */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.job-card {
  min-height: 220px;
  padding: 24px 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #e2dbcf;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(57,54,42,0.05);
}

.job-card__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 0;
  color: var(--green-dark);
}

.job-card__icon svg {
  width: 32px;
  height: 32px;
}

.job-card__icon img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.job-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  color: #2a2a24;
}

.job-card p {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.8;
  color: #5c5b54;
  word-break: keep-all;
}

/* =============================================
   積善で働く魅力
   ============================================= */
.appeal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
}

.appeal-card {
  min-height: 210px;
  padding: 4px 28px 10px;
  text-align: center;
  border-right: 1px solid #d8c59a;
  background: transparent;
}

.appeal-card:last-child {
  border-right: 0;
}

.appeal-card__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  background: #eef3eb;
  border-radius: 50%;
  color: var(--green-dark);
}

.appeal-card__icon svg {
  width: 54px;
  height: 54px;
}

.appeal-card__icon img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.appeal-card h3 {
  min-height: 58px;
  margin-bottom: 5px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: #2a2a24;
}

.appeal-card p {
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.9;
  color: #5c5b54;
  text-align: center;
  word-break: keep-all;
}

/* =============================================
   採用フロー
   ============================================= */
.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 52px;
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
}

.flow-step {
  position: relative;
  min-height: 205px;
  padding: 10px 8px 8px;
  text-align: center;
  border: 1px solid #e2dbcf;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(57,54,42,0.05);
}

.flow-step__number {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--gold-dark);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50%;
}

.flow-step__icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 5px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 0;
  color: var(--green-dark);
}

.flow-step__icon svg {
  width: 64px;
  height: 64px;
}

.flow-step__icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.flow-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: #2a2a24;
}

.flow-step p {
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.85;
  color: #5c5b54;
  word-break: keep-all;
}

/* ステップ間の矢印 */
.flow-step__arrow {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  z-index: 2;
  width: 0;
  height: 0;
  overflow: hidden;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 24px solid #e5eddc;
  font-size: 0;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 1100px) {
  .jobs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .persona-grid,
  .appeal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .appeal-card:nth-child(2) {
    border-right: 0;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .flow-step {
    margin-right: 0;
  }

  .flow-step__arrow {
    display: none;
  }

  .tel-banner__inner {
    grid-template-columns: 58px 1fr;
    gap: 16px;
  }

  .tel-banner__number {
    grid-column: 1 / -1;
    text-align: left;
  }

  .tel-banner--top .tel-banner__number,
  .tel-banner--bottom .tel-banner__number {
    padding: 16px 0 0;
    border-top: 1px solid #cdb789;
    border-left: 0;
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* スマホ：TOP画像にテキスト可読用の白オーバーレイを表示 */
  .recruit-hero__overlay {
    opacity: 1;
  }

  .recruit-hero__inner {
    padding: 80px 20px 100px;
  }

  .recruit-hero__leaf-top {
    width: 180px;
    top: -30px;
    right: -20px;
  }

  .recruit-hero__leaf-bottom {
    width: 240px;
    bottom: -50px;
    right: 0;
  }

  .recruit-section {
    padding: 48px 20px;
  }

  .persona-grid,
  .jobs-grid,
  .appeal-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .appeal-card,
  .appeal-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d8c59a;
  }

  .appeal-card:last-child {
    border-bottom: 0;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tel-banner__inner {
    padding: 20px;
    grid-template-columns: 48px 1fr;
  }

  .tel-banner__icon {
    width: 48px;
    height: 48px;
  }

  .tel-banner__text {
    font-size: 0.82rem;
  }

  .tel-banner--top {
    margin-top: -18px;
    padding: 0 12px;
  }

  .tel-banner--bottom {
    padding: 0 12px 36px;
  }

  .tel-banner--top .tel-banner__inner,
  .tel-banner--bottom .tel-banner__inner {
    padding: 20px;
  }

  .tel-banner--top .tel-banner__number a,
  .tel-banner--bottom .tel-banner__number a {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }
}
