/* ==========================================================================
   川田クリニック 採用サイト（/recruit/・/jimucho/）追加スタイル
   ベース: /style.css（kawataclinic-brand）を継承し、採用専用部品のみ定義
   ========================================================================== */

/* ---------- 採用ヒーロー（写真背景） ---------- */
.r-hero {
  position: relative;
  background:
    linear-gradient(
      100deg,
      rgba(22, 58, 90, 0.88) 0%,
      rgba(31, 78, 121, 0.72) 46%,
      rgba(31, 78, 121, 0.28) 100%
    ),
    url("/recruit/img/mv.jpg") center 30% / cover no-repeat;
  color: #fff;
  border-bottom: 1px solid var(--border);
}
.r-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 72px 20px 64px;
}
.r-hero .eyebrow-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.r-hero h1 {
  color: #fff;
  font-size: 2.3rem;
  line-height: 1.5;
  margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(22, 58, 90, 0.5);
}
.r-hero h1 .accent {
  color: #9fd8bf;
}
.r-hero p.lead {
  color: #e8eff6;
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(22, 58, 90, 0.45);
}
.r-hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- タグ（働き方チップ） ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.tags li {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.tags.on-light li {
  background: #eaf6f0;
  color: var(--green-dark);
  border: 1px solid #bfe3d2;
  box-shadow: none;
}

/* ---------- 数字で見る ---------- */
.num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.num-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 18px;
  text-align: center;
}
.num-card .label {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.num-card .value {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1.3;
}
.num-card .value small {
  font-size: 0.95rem;
}
.num-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 14px;
}

/* ---------- 職種カード ---------- */
.job-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 5px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.job-card h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  color: var(--navy);
}
.job-card .pay {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.05rem;
}
.job-card p.desc {
  color: #33404c;
  font-size: 0.95rem;
  flex: 1;
}
.job-card .btn {
  align-self: flex-start;
}
.job-status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  border-radius: 6px;
  padding: 3px 10px;
}
.job-status.closed {
  background: #8a95a1;
}

/* ---------- 写真 ---------- */
.photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-caption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- 理事長メッセージ ---------- */
.message-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 36px;
  align-items: start;
}
.message-grid .photo img {
  aspect-ratio: 4 / 5;
}
.message-name {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--text);
}
.message-name strong {
  font-family: "Noto Serif JP", serif;
  font-size: 1.15rem;
  color: var(--navy);
  display: block;
}
.message-body p {
  margin-bottom: 16px;
  color: #2c3540;
}

/* ---------- 給与ハイライト帯 ---------- */
.pay-band {
  background: #eaf6f0;
  border: 1px solid #bfe3d2;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
  margin: 22px 0;
}
.pay-band .k {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.95rem;
}
.pay-band .v {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--navy);
}
.pay-band .v small {
  font-size: 0.95rem;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- 申込フォーム（style.css の contact-form を流用拡張） ---------- */
.form-row select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.form-row select:focus {
  outline: 3px solid var(--navy-light);
  outline-offset: 1px;
  border-color: var(--navy-light);
}
.form-banner {
  border-radius: var(--radius);
  padding: 16px 20px;
  font-weight: 700;
  margin-bottom: 22px;
  display: none;
}
.form-banner.ok {
  display: block;
  background: #eaf6f0;
  border: 1px solid #bfe3d2;
  color: var(--green-dark);
}
.form-banner.err {
  display: block;
  background: #fff7f4;
  border: 1px solid #f0cabd;
  color: var(--warn);
}

/* ---------- 浮遊CTA（スマホ） ---------- */
.floating-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: none;
  width: calc(100% - 32px);
  max-width: 480px;
}
.floating-cta a {
  display: block;
  background: var(--green);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 15px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(22, 58, 90, 0.35);
}
.floating-cta a:hover {
  background: var(--green-dark);
  text-decoration: none;
}
@media (max-width: 768px) {
  .floating-cta {
    display: block;
  }
  body.has-floating-cta {
    padding-bottom: 76px;
  }
}

/* ---------- 事務長LP 専用 ---------- */
.j-hl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 0 30px;
}
.j-hl {
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}
.j-hl .label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.j-hl .value {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--navy);
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.role-card {
  background: #fff;
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 20px;
}
.role-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.role-card p {
  font-size: 0.92rem;
  color: #33404c;
}
.timeline {
  position: relative;
  padding-left: 26px;
  max-width: 760px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--navy-light);
}
.timeline-item {
  position: relative;
  padding: 0 0 22px 20px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--navy);
}
.timeline-time {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
}
.timeline-body {
  font-size: 0.95rem;
  color: #33404c;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .num-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .message-grid {
    grid-template-columns: 1fr;
  }
  .message-grid .photo {
    max-width: 340px;
  }
  .j-hl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .role-grid {
    grid-template-columns: 1fr 1fr;
  }
  .r-hero h1 {
    font-size: 1.75rem;
  }
}
@media (max-width: 560px) {
  .r-hero-inner {
    padding: 48px 16px 44px;
  }
  .r-hero h1 {
    font-size: 1.52rem;
  }
  .num-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .num-card .value {
    font-size: 1.35rem;
  }
  .role-grid {
    grid-template-columns: 1fr;
  }
}
