/* 求人REN（整骨院REN 採用サイト） - style.css */

/* ---------- 基本設定 ---------- */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-ink: #222222;
  --color-ink-soft: #555555;
  --color-line: #06b056;
  --color-line-dark: #059c4b;
  --color-border: #e3e3e3;
  --color-white: #ffffff;

  --font-sans: "Hiragino Kaku Gothic Pro", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;

  --container-width: 1100px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- スクロールリビール ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ボタン共通 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn--dark {
  background: var(--color-ink);
  color: var(--color-white);
}

.btn--dark:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  opacity: 0.92;
}

.btn--line {
  background: var(--color-line);
  color: var(--color-white);
  font-size: 18px;
  padding: 20px 36px;
}

.btn--line:hover {
  background: var(--color-line-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn--block {
  display: flex;
  width: 100%;
  white-space: normal;
  text-align: center;
}

/* ---------- セクション共通 ---------- */
.section {
  padding-block: 64px;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section__title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
}

.heading-double {
  text-align: center;
  padding-block: 20px;
  border-top: 3px double var(--color-ink);
  border-bottom: 3px double var(--color-ink);
  margin-bottom: 40px;
}

.heading-double h2 {
  font-size: 24px;
  font-weight: 700;
}

.heading-double__en {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-ink-soft);
  margin-top: 4px;
}

/* ---------- 1. ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.hero__inner {
  position: relative;
  padding-block: 40px 36px;
}

.hero__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 14px;
}

.hero__lead {
  font-size: 14px;
  margin-bottom: 22px;
}

/* ---------- 2. スライダー ---------- */
.slider {
  position: relative;
  background: #000;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 0.5s ease;
}

.slider__slide {
  flex: 0 0 100%;
  aspect-ratio: 4 / 3;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slider__arrow:hover {
  background: #fff;
}

.slider__arrow--prev {
  left: 12px;
}

.slider__arrow--next {
  right: 12px;
}

.slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
}

.slider__dot.is-active {
  background: #fff;
}

/* ---------- 3. 事業について ---------- */
.business {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.business__photo img {
  border-radius: 8px;
}

.business__text p {
  margin-bottom: 16px;
  font-size: 15px;
}

.business__text .btn {
  margin-top: 8px;
}

/* ---------- 4. 働く3つの魅力 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.feature-card__number {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card__photo {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4 / 3;
}

.feature-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__text {
  font-size: 14px;
  text-align: left;
  color: var(--color-ink-soft);
}

/* ---------- 5. 仕事内容 ---------- */
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.job-card__photo {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4 / 3;
}

.job-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-card__title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
}

.job-card__list {
  font-size: 14px;
  color: var(--color-ink-soft);
  margin-bottom: 20px;
}

.job-card__list li {
  margin-bottom: 4px;
}

.job-card__list li::before {
  content: "・";
}

/* ---------- 6. スタッフの声 ---------- */
.ribbon {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  padding-block: 14px;
}

.ribbon::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 8px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(-45deg, var(--color-ink), var(--color-ink) 4px, transparent 4px, transparent 8px);
  opacity: 0.5;
}

.ribbon span {
  position: relative;
  background: var(--color-bg-soft);
  padding: 0 20px;
  font-size: 19px;
  font-weight: 700;
}

.voice {
  margin-bottom: 40px;
}

.voice__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.voice__photo {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 3 / 2;
}

.voice__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice__role {
  font-size: 13px;
  color: var(--color-ink-soft);
  margin-bottom: 10px;
}

.voice__text {
  font-size: 14px;
}

.note-card {
  background: var(--color-white);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  padding: 32px 24px;
}

.note-card__title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.note-card__list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px dashed var(--color-border);
  position: relative;
  font-size: 14px;
}

.note-card__list li:last-child {
  border-bottom: none;
}

.note-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f0a500;
  font-weight: 700;
}

/* ---------- 7. 募集要項 ---------- */
.requirements {
  background: #2a2a2a;
  color: #fff;
}

.requirements .section__title {
  color: #fff;
}

.requirements__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}

.requirements__row dt {
  font-weight: 700;
  color: #ccc;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.requirements__note {
  margin-top: 20px;
  font-size: 12px;
  color: #aaa;
  text-align: center;
}

/* ---------- 8. 応募案内 ---------- */
.apply {
  padding-block: 64px;
  text-align: center;
  background: var(--color-bg-soft);
}

.apply__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.apply__text {
  font-size: 14px;
  color: var(--color-ink-soft);
  margin-bottom: 28px;
}

.apply__closing {
  margin-top: 28px;
  font-size: 14px;
  color: var(--color-ink-soft);
}

/* ---------- フッター ---------- */
.footer {
  padding-block: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--color-ink-soft);
}

/* =========================================================
   タブレット・PC（768px〜）
   ========================================================= */
@media (min-width: 768px) {
  .hero {
    min-height: 560px;
  }

  .hero__inner {
    max-width: 560px;
    padding-block: 60px 70px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .slider__slide {
    aspect-ratio: 21 / 9;
  }

  .business {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .business__photo,
  .business__text {
    flex: 1;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .job-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .section__title {
    font-size: 28px;
  }

  .requirements__list {
    max-width: 560px;
    margin-inline: auto;
  }

  .requirements__row {
    flex-direction: row;
    justify-content: space-between;
  }

  .requirements__row dt {
    flex: 0 0 140px;
  }

  .apply__title {
    font-size: 30px;
  }

  .apply__text {
    font-size: 16px;
  }

  .apply .btn--line {
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 44px;
  }
}
