/* ========================================
   pages/recruit.css — 採用情報ページ固有
   松原メイフラワー病院
   ======================================== */

/* スライドショー */
.c-recruit-slideshow {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  aspect-ratio: 21 / 9;
  background: var(--c-primary-pale);
  margin-bottom: var(--sp-5xl);
}
.c-recruit-slideshow__slides {
  display: flex;
  width: 800%;
  height: 100%;
  transition: transform 0.7s ease;
}
.c-recruit-slideshow__slides .slide {
  width: 12.5%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm2);
  color: var(--c-text-light);
  background: var(--c-primary-pale);
}
.c-recruit-slideshow__slides .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-recruit-slideshow .c-recruit-slideshow__dots {
  position: absolute;
  bottom: var(--sp-md2);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--sp-sm);
}
.c-recruit-slideshow__dots button {
  width: 10px; height: 10px;
  border-radius: var(--r-full);
  border: 2px solid #fff;
  background: transparent;
  padding: 0;
  transition: background 0.3s;
  box-shadow: var(--sh-xs);
}
.c-recruit-slideshow__dots button.is-active { background: #fff; }

/* 前後ボタン */
.c-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, transform 0.15s;
  padding: 0;
}
.c-slide-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}
.c-slide-arrow--prev { left: var(--sp-md2); }
.c-slide-arrow--next { right: var(--sp-md2); }
.c-slide-arrow:active { transform: translateY(-50%) scale(0.95); }
@media (max-width: 768px) {
  .c-slide-arrow { width: 36px; height: 36px; }
  .c-slide-arrow--prev { left: var(--sp-sm); }
  .c-slide-arrow--next { right: var(--sp-sm); }
}

/* アピールポイント */
.c-appeal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-md2);
  margin-top: var(--sp-2xl2);
  margin-bottom: var(--sp-5xl);
}
.c-appeal-card {
  text-align: center;
  padding: var(--sp-2xl2) var(--sp-xl);
  background: var(--c-bg-section);
  border-radius: var(--r-2xl);
  border: 1px solid var(--c-border-light);
}
.c-appeal-card .c-appeal-card__num {
  display: inline-block;
  width: 36px; height: 36px;
  line-height: 36px;
  border-radius: var(--r-full);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-base-sm);
  font-weight: 700;
  margin-bottom: var(--sp-md);
}
.c-appeal-card h4 {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: var(--sp-sm);
}
.c-appeal-card p {
  font-size: var(--fs-sm2);
  color: var(--c-text-light);
  line-height: 1.7;
}
@media (max-width: 1024px) {
  .c-appeal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .c-appeal-grid { grid-template-columns: 1fr; gap: var(--sp-md2); }
  .c-recruit-slideshow { aspect-ratio: 16 / 9; }
}
