@charset "utf-8";

/* =========================================
   Recruit subhead（aboutと高さ合わせ）
========================================= */

.subhead--recruit{
  position: relative;
  background: #d8e1c0;
  padding: 88px 0 92px; /* about.css と同じ */
}

.subhead--recruit .subhead__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px; /* about.css と同じ */
  box-sizing: border-box;
}

/* aboutの .subhead__panel と同じ寸法に寄せる */
.subhead--recruit .subhead__band{
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 34px 20px 38px; /* about.css と同じ */
  text-align: center;

  /* 白系の左右グラデ（中央が一番白くなる） */
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.92) 18%,
    rgba(255,255,255,0.92) 82%,
    rgba(255,255,255,0) 100%
  );
}

/* 見出しスタイル（aboutと統一） */
.subhead--recruit .subhead__eyecatch{
  margin: 0 0 2px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #cf6b59;
}

.subhead--recruit .subhead__title{
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b5a47;
}

/* ---------------------------
   Responsive（aboutと同じ）
---------------------------- */
@media screen and (max-width: 980px){
  .subhead--recruit{
    padding: 72px 0 78px; /* about.css と同じ */
  }
  .subhead--recruit .subhead__band{
    padding: 30px 18px 34px; /* about.css と同じ */
  }
}

@media screen and (max-width: 767px){
  .subhead--recruit{
    padding: 52px 0 56px; /* about.css と同じ */
  }
  .subhead--recruit .subhead__inner{
    padding: 0 16px; /* about.css と同じ */
  }
  .subhead--recruit .subhead__band{
    padding: 22px 14px 26px; /* about.css と同じ */
  }
  .subhead--recruit .subhead__title{
    font-size: 36px; /* about.css と同じ */
  }
  .subhead--recruit .subhead__band{
	  box-sizing: border-box;
	}

}

/* =========================================
   Recruit local menu
========================================= */

.recruit-local-menu{
  padding: 60px 0 10px;
}

.recruit-local-menu__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.recruit-local-menu__item{
  display: block;
}

.recruit-local-menu__item img{
  width: 100%;
  height: auto;
  display: block; /* 余計な隙間防止 */
}

/* hover（装飾ではなく軽い操作感だけ） */
.recruit-local-menu__item:hover{
  opacity: 0.95;
}

/* =========================
   Responsive
========================= */
@media screen and (max-width: 980px){
  .recruit-local-menu{
    padding: 34px 0 8px;
  }
  .recruit-local-menu__inner{
    gap: 20px;
  }
}

@media screen and (max-width: 767px){
  .recruit-local-menu{
    padding: 26px 0 6px;
  }
  .recruit-local-menu__inner{
    padding: 0 16px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* =========================================
   Recruit - Tokuyo block
========================================= */

.recruit-block--tokuyo{
  background: #e8f2fc; /* セクション全体のベース */
}

/* 上部グラデ：白 → #e8f2fc / 高さ110px */
.recruit-block__grad{
  height: 110px;
  background: linear-gradient(180deg, #ffffff 0%, #e8f2fc 100%);
}

/* 中身幅 */
.recruit-block__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  box-sizing: border-box;
  text-align: center;
}

/* リボン（左右が内側に大きく切れ込む形：端の上下が途中で終わらない） */
.recruit-ribbonTitle{
  --ribbon-bg: #91afc8;
  --cut: 44px;

  /* ★横いっぱい（innerのmax-width=1200に追従） */
  display: block;
  width: 100%;
  max-width: 1200px;   /* 念のため（innerと同じ） */
  margin: 0 auto 64px;

  /* ★上下余白を少しだけ縮める */
  padding: 12px 84px;  /* ←ここだけ変更（18px→12px） */

  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #fff;
  background: var(--ribbon-bg);
  text-align: center;
  box-sizing: border-box;

  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - var(--cut)) 50%,
    100% 100%,
    0 100%,
    var(--cut) 50%
  );
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - var(--cut)) 50%,
    100% 100%,
    0 100%,
    var(--cut) 50%
  );
}

@media screen and (max-width: 767px){
  .recruit-ribbonTitle{
    font-size: 30px;
    padding: 10px 44px; /* 14px→10px */
    --cut: 26px;
  }
}



/* -------------------------
   動画ダミー
------------------------- */
.recruit-movie{
	max-width: 800px;
	margin: 44px auto 0;
  display: flex;
  justify-content: center;
}

.recruit-movie iframe{
  display: block;
  width: 100%;          /* ラッパー幅いっぱい */
  aspect-ratio: 16 / 9; /* 高さは16:9で自動計算 */
  height: auto;
  border: 0;
}

/* =========================
   Responsive
========================= */
@media screen and (max-width: 980px){
  .recruit-block__inner{
    padding: 0 24px 64px;
  }
  .recruit-ribbonTitle{
    font-size: 40px;
    padding: 16px 52px;
    margin-bottom: 36px;
  }
  .recruit-ribbonTitle::before,
  .recruit-ribbonTitle::after{
    border-top-width: 20px;
    border-bottom-width: 20px;
  }
}

@media screen and (max-width: 767px){
  .recruit-block__inner{
    padding: 0 16px 52px;
  }
  .recruit-ribbonTitle{
    font-size: 30px;
    padding: 14px 34px;
    margin-bottom: 28px;
  }
  .recruit-ribbonTitle::before,
  .recruit-ribbonTitle::after{
    border-top-width: 18px;
    border-bottom-width: 18px;
  }
}

/* =========================================
   募集要項（背景：水色単色）
========================================= */

.recruit-requirements{
  background: #e8f2fc;
  padding: 40px 0 90px;
}

.recruit-requirements__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* 2列グリッド */
.recruit-jobGrid{
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 34px;
}

/* カード */
.recruit-jobCard{
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
}

/* 緑のヘッダー帯 */
.recruit-jobCard__top{
  background: #bcd39f;
  padding: 14px 18px;
  text-align: center;
}

.recruit-jobCard__title{
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #514a44;
}

/* 本文（左テキスト＋右写真） */
.recruit-jobCard__body{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  padding: 18px 18px 10px;
  align-items: start;
}

.recruit-jobCard__desc{
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: #000;
}

.recruit-jobCard__photo{
  margin: 0;
}

.recruit-jobCard__photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* 正社員 / パート + ボタン群 */
.recruit-jobCard__jobs{
  margin: 0;
  padding: 6px 18px 18px;
}

.recruit-jobCard__row{
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.recruit-jobCard__row:first-child{
  border-top: 0;
}

.recruit-jobCard__row dt{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #514a44;
  white-space: nowrap;
}

.recruit-jobCard__row dd{
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* ピンクボタン（右にグレー矢印：arw.svg） */
.recruit-pinkBtn{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 6px 10px 6px 14px;
  border: 2px solid #d7857b;
  background: #f7dfdc;
  border-radius: 999px;

  text-decoration: none;
}

.recruit-pinkBtn__text{
  font-size: 16px;
  font-weight: 700;
  color: #514a44;
  line-height: 1;
}

/* 矢印：装飾（丸背景）を削除して、画像サイズを18pxに */
.recruit-pinkBtn__icon{
  width: 18px;
  height: 18px;
  background: transparent;   /* ←丸いグレー背景を消す */
  border-radius: 0;          /* 念のため */
  display: grid;
  place-items: center;
  flex: 0 0 18px;
}

.recruit-pinkBtn__icon img{
  width: 18px;               /* ←18pxに */
  height: 18px;              /* SVGでも安定させる */
  display: block;
}


/* hover（軽く） */
.recruit-pinkBtn:hover{
  opacity: 0.95;
}

/* =========================
   Responsive
========================= */
@media screen and (max-width: 980px){
  .recruit-jobGrid{
    gap: 24px 24px;
  }
  .recruit-jobCard__body{
    grid-template-columns: 1fr; /* タブレットでは縦積み寄りの方が安全 */
  }
  .recruit-jobCard__photo img{
    border-radius: 12px;
  }
}

@media screen and (max-width: 767px){
  .recruit-requirements{
    padding: 30px 0 70px;
  }
  .recruit-requirements__inner{
    padding: 0 16px;
  }
  .recruit-jobGrid{
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 18px;
  }
  .recruit-jobCard__title{
    font-size: 24px;
  }
  .recruit-jobCard__desc{
    font-size: 18px;
  }
  .recruit-jobCard__row{
    grid-template-columns: 78px 1fr;
  }
}

/* =========================================
   先輩の声（デザイン寄せ）
========================================= */

/* セクション自体は白 */
.recruit-voice{
  position: relative;
  background: #fff;
  padding: 40px 0 90px;
}

/* 上部110pxだけグラデ */
.recruit-voice::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  background: linear-gradient(180deg, #e8f2fc 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 0;
}

/* 中身をグラデより上に */
.recruit-voice > *{
  position: relative;
  z-index: 1;
}

.recruit-voice__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.recruit-voice__grid{
  margin-top: 34px;
  display: grid;
  gap: 34px;

  /* ここを変更 */
  grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
  justify-content: center;
  justify-items: center;
}

/* 先輩の声：カードの縦方向ストレッチを止める（短い方が伸びて白抜けするのを防止） */
.recruit-voice__grid{
  align-items: start;      /* ← これが主役（stretch → start） */
}

.recruit-voiceCard{
  align-self: start;       /* 念のため（環境差の保険） */
}


/* カード：角丸控えめ・影控えめ */
.recruit-voiceCard{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04); /* 弱め */
  background: transparent;
}

/* 上下の背景色（デザインに寄せて奇数=水色系、偶数=ベージュ系） */
.recruit-voice__grid > .recruit-voiceCard:nth-child(odd){
  --top-bg: #dfeefb;     /* 上エリア */
  --bottom-bg: #dfeefb;  /* 下エリア */
  --qbar-bg: #cfe4f6;    /* Q見出し帯 */
}
.recruit-voice__grid > .recruit-voiceCard:nth-child(even){
  --top-bg: #f4efe6;
  --bottom-bg: #f4efe6;
  --qbar-bg: #efe6d8;
}

/* 上エリア */
.recruit-voiceCard__top{
  background: var(--top-bg);
  padding: 18px 18px 0;
}

/* 白いリボンラベル（職種名） */
.recruit-roleRibbon{
  display: grid;
  place-items: center;
  width: 62%;
  min-width: 220px;
  max-width: 360px;
  margin: 0 auto 10px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.95);
  color: #514a44;
  font-weight: 800;

  /* 左右切れ込み */
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - 18px) 50%,
    100% 100%,
    0 100%,
    18px 50%
  );
  clip-path: polygon(
    0 0,
    100% 0,
    calc(100% - 18px) 50%,
    100% 100%,
    0 100%,
    18px 50%
  );
}

.recruit-roleRibbon__text{
  font-size: 30px;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* リード文 */
.recruit-voiceCard__lead{
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.7;
  color: #000;
}

/* 写真：左右いっぱい（余白なし） */
.recruit-voiceCard__photo{
  position: relative;
  margin: 0 -18px;         /* ←左右いっぱいにする肝 */
  overflow: hidden;
}

.recruit-voiceCard__photo img{
  width: 100%;
  height: auto;
  display: block;
}

/* 入社年ラベル：角丸控えめ・小さめ */
.recruit-voiceCard__badge{
  position: absolute;
  background: #8e8173;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  padding: 8px 12px;
  border-radius: 0;
  white-space: nowrap;
}

/* 4位置（CMSで付け替え） */
.recruit-voiceCard__badge.is-pos-tl{ top: 12px; left: 12px; }
.recruit-voiceCard__badge.is-pos-tr{ top: 12px; right: 12px; }
.recruit-voiceCard__badge.is-pos-bl{ bottom: 12px; left: 12px; }
.recruit-voiceCard__badge.is-pos-br{ bottom: 12px; right: 12px; }

/* 下エリア（Q&A） */
.recruit-voiceCard__bottom{
  background: var(--bottom-bg);
  padding: 14px 18px 18px;
}

/* Q&A：独立カードを廃止 → 「帯 + 白本文」 */
.recruit-qa__item + .recruit-qa__item{
  margin-top: 12px;
}

/* Q見出し帯（白背景に入れない） */
.recruit-qa__qBar{
  display: flex;
  gap: 10px;
  align-items: center;
  background: transparent;
  padding: 12px 0;
  border-radius: 0;
}

/* Qアイコン：指定どおり */
.recruit-qa__qIcon{
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #c36454;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 44px;
}

.recruit-qa__qText{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #514a44;
  line-height: 1.5;
}

/* 回答本文：白背景（ただし“見出しは白に載せない”） */
.recruit-qa__aBox{
  background: #fff;
  padding: 12px 14px 14px;
  border-radius: 12px;
  margin-top: 8px;
}

.recruit-qa__a{
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #000;
}

/* =========================
   Responsive
========================= */
@media screen and (max-width: 980px){
  .recruit-voice__grid{
    gap: 24px;
  }
  .recruit-roleRibbon{
    width: 70%;
  }
}

@media screen and (max-width: 767px){
  .recruit-voice{
    padding: 30px 0 70px;
  }
  .recruit-voice__inner{
    padding: 0 16px;
  }
  .recruit-voice__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .recruit-roleRibbon{
    width: 78%;
    min-width: 0;
  }
  .recruit-roleRibbon__text{
    font-size: 24px;
  }
  .recruit-voiceCard__lead{
    font-size: 18px;
  }
}
/* =========================================
   Recruit - facility blocks (tokuyo / hoikuen)
========================================= */

/* 共通：親で色を指定（デフォは特養） */
.recruit-block{
  --block-bg: #e8f2fc;
  --grad-to: #e8f2fc;
  --ribbon-bg: #91afc8;
  background: var(--block-bg);
}

/* 上部グラデ：白 → 親の --grad-to / 高さ110px */
.recruit-block__grad{
  height: 110px;
  background: linear-gradient(180deg, #ffffff 0%, var(--grad-to) 100%);
}

/* リボン（既存の形は維持、色だけ親の変数から） */
.recruit-ribbonTitle{
  background: var(--ribbon-bg);
}

/* 特養 */
.recruit-block--tokuyo{
  --block-bg: #e8f2fc;
  --grad-to: #e8f2fc;
  --ribbon-bg: #91afc8;
}

/* 保育園 */
.recruit-block--hoikuen{
  --block-bg: #f9ede9;
  --grad-to: #f9ede9;
  --ribbon-bg: #c68685;
}

/* =========================================
   保育園：色差分（募集要項 / 先輩の声）
   ※特養側は既存のまま
========================================= */

/* 募集要項：背景ピンク単色 */
.recruit-requirements--hoikuen{
  background: #f9ede9;
}

/* 先輩の声：ピンク → 白 グラデ */
.recruit-voice--hoikuen{
  background: #fff; /* ベースは白 */
}

.recruit-voice--hoikuen::before{
  background: linear-gradient(180deg, #f9ede9 0%, #ffffff 100%);
}

.recruit-block--hoikuen .recruit-ribbonTitle{
  background: #c68685;
}

/* 先輩の声カード：奇数/偶数の背景色を保育園用に */
.recruit-voice--hoikuen .recruit-voice__grid > .recruit-voiceCard:nth-child(odd){
  --top-bg: #f4e6e2;
  --bottom-bg: #f4e6e2;
  /* Q帯は今「透明」運用なので、必要なら残してOK */
  --qbar-bg: #f4e6e2;
}

.recruit-voice--hoikuen .recruit-voice__grid > .recruit-voiceCard:nth-child(even){
  --top-bg: #f4efe6;
  --bottom-bg: #f4efe6;
  --qbar-bg: #f4efe6;
}

/* 先輩の声：カードが少ない時も中央寄せにする（特養・保育園共通） */
.recruit-voice__grid{
  display: grid; /* 既にあれば不要 */
  justify-content: center;
}

/* カード幅は今のまま維持しつつ、2列の時は自然に左右に並ぶ */
.recruit-voiceCard{
  width: min(560px, 100%); /* 既に幅指定があるなら不要 */
}

/* =========================================
   Recruit CTA
========================================= */
.recruit-cta{
  padding: 30px 0 90px;
}

.recruit-cta__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.recruit-cta__btn{
  width: min(640px, 100%);
  position: relative;           /* 追加 */
  display: flex;
  align-items: center;
  justify-content: center;      /* 文字は中央 */
  gap: 0;                       /* もう不要 */

  background: #ea6d5c;
  color: #fff;
  text-decoration: none;

  border-radius: 999px;
  padding: 22px 80px;           /* 右に矢印分の余白を確保（追加/変更） */
  box-sizing: border-box;
}

.recruit-cta__icon{
  position: absolute;           /* 追加 */
  right: 34px;                  /* 右端寄せ（好みで調整OK） */
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}
.recruit-cta__icon img{
  height: 34px;  /* 指定 */
  width: auto;
  display: block;
}

.recruit-cta__text{
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.recruit-cta__btn:hover{
  opacity: 0.95;
}

.in_button {
	margin-top: 60px;
}

/* Responsive */
@media screen and (max-width: 980px){
  .recruit-cta__btn{
    padding: 18px 28px;
  }
  .recruit-cta__text{
    font-size: 36px;
  }
  .recruit-cta__icon img{
    height: 28px;
  }
}

@media screen and (max-width: 767px){
  .recruit-cta{
    padding: 10px 0 90px;
  }
  .recruit-cta__inner{
    padding: 0 16px;
  }
  .recruit-cta__btn{
    gap: 16px;
    padding: 16px 22px;
  }
  .recruit-cta__text{
    font-size: 26px;
  }
  .recruit-cta__icon img{
    height: 22px;
  }
}

