:root {
  --staff-ink: #24302f;
  --staff-muted: #5f6a68;
  --staff-paper: #fffaf3;
  --staff-orange: #e8782f;
  --staff-orange-soft: #f8e4d3;
  --staff-green: #278c74;
  --staff-green-soft: #e2f2ec;
  --staff-lime: #d9ff59;
  --staff-line: rgba(36, 48, 47, 0.12);
  --staff-shadow: 0 24px 70px rgba(50, 45, 37, 0.12);
}

html {
  scroll-behavior: smooth;
}

body.popi-body {
  overflow-x: clip;
  background: var(--staff-paper);
  color: var(--staff-ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: "palt" 1;
  line-break: strict;
}

/* style.css の汎用 header 固定指定を、本文内のセクション見出しだけ解除する */
body.popi-body main header {
  position: static;
  top: auto;
  left: auto;
  width: auto;
  padding: 0;
  background: transparent;
  box-shadow: none;
  z-index: auto;
  transition: none;
}

.staff-lp-container {
  width: min(100% - 40px, 1120px);
  max-width: 1120px !important;
  margin-inline: auto;
}

.staff-lp-kicker,
.staff-profile-index,
.team-card-index,
.staff-lp-section-heading > p:first-child,
.staff-lp-subheading > p:first-child,
.staff-lp-collaboration__heading > p:first-child {
  color: var(--staff-orange);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.staff-lp-kicker span {
  color: var(--staff-green);
}

.staff-lp-hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: 132px 20px 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 120, 47, 0.18), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(39, 140, 116, 0.18), transparent 30%),
    linear-gradient(145deg, #fffaf3 0%, #fff 46%, #f0f8f4 100%);
}

.staff-lp-hero::before {
  position: absolute;
  top: 104px;
  right: -110px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(232, 120, 47, 0.22);
  border-radius: 50%;
  content: '';
  z-index: -1;
}

.staff-lp-hero__inner {
  display: grid;
  width: min(100%, 1180px);
  margin-inline: auto;
  gap: 46px;
}

.staff-lp-hero__copy {
  align-self: center;
}

.staff-lp-hero__title {
  margin: 14px 0 24px;
  color: var(--staff-ink);
  font-size: clamp(2.6rem, 12vw, 4.9rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1.15;
  text-wrap: balance;
}

.staff-lp-hero__title span,
.staff-lp-hero__title strong {
  display: block;
}

.staff-lp-hero__title strong {
  position: relative;
  width: fit-content;
  color: var(--staff-orange);
  font-weight: 700;
  z-index: 0;
}

.staff-lp-hero__title strong::after {
  position: absolute;
  right: -8px;
  bottom: 0.04em;
  left: -8px;
  height: 0.26em;
  background: var(--staff-lime);
  content: '';
  transform: rotate(-1.3deg);
  z-index: -1;
}

.staff-lp-hero__lead {
  max-width: 620px;
  margin: 0;
  color: #485452;
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 2;
}

.staff-lp-hero__actions {
  display: grid;
  margin-top: 30px;
  gap: 12px;
}

.staff-lp-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.staff-lp-button:hover {
  transform: translateY(-2px);
}

.staff-lp-button--primary {
  background: var(--staff-ink);
  color: white;
  box-shadow: 0 14px 30px rgba(36, 48, 47, 0.2);
}

.staff-lp-button--secondary {
  border-color: rgba(36, 48, 47, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--staff-ink);
}

.staff-lp-hero__numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 34px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--staff-line);
  gap: 10px;
}

.staff-lp-hero__numbers div {
  min-width: 0;
}

.staff-lp-hero__numbers dt {
  color: var(--staff-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.staff-lp-hero__numbers dd {
  margin: 2px 0 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.staff-lp-hero__numbers strong {
  margin-right: 3px;
  color: var(--staff-orange);
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.35rem;
  line-height: 1;
}

.staff-lp-hero__visual {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(36, 48, 47, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--staff-shadow);
  transform: none;
}

.staff-lp-hero__photo-frame {
  overflow: hidden;
  border-radius: 20px;
}

.staff-lp-hero__photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
}

.staff-lp-hero__visual figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 8px 4px;
  gap: 12px;
  color: var(--staff-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.staff-lp-hero__visual figcaption strong {
  color: var(--staff-green);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.staff-lp-hero__word {
  position: absolute;
  top: -34px;
  right: 12px;
  color: rgba(36, 48, 47, 0.08);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4.2rem, 16vw, 8.2rem);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 1;
  pointer-events: none;
}

.staff-lp-proof {
  padding: 0 20px;
  background: linear-gradient(to bottom, transparent 48%, white 48%);
}

.staff-lp-proof__inner {
  display: grid;
  width: min(100%, 1120px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 48px rgba(50, 45, 37, 0.08);
}

.staff-lp-proof article {
  position: relative;
  padding: 30px 26px;
}

.staff-lp-proof article + article {
  border-top: 1px solid var(--staff-line);
}

.staff-lp-proof article > span {
  color: var(--staff-orange);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.staff-lp-proof h2 {
  margin: 12px 0 10px;
  color: var(--staff-ink);
  font-size: 1.08rem;
  line-height: 1.55;
}

.staff-lp-proof p {
  margin: 0;
  color: var(--staff-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.staff-lp-people {
  padding: clamp(84px, 10vw, 140px) 0;
  background: white !important;
}

.staff-lp-section-heading {
  display: grid;
  margin-bottom: 54px;
  gap: 14px;
}

.staff-lp-section-heading h2,
.staff-lp-collaboration__heading h2,
.staff-lp-final-cta h2 {
  margin: 0;
  color: var(--staff-ink);
  font-size: clamp(2.15rem, 7vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 1.2;
  text-wrap: balance;
}

.staff-lp-section-heading__lead {
  max-width: 720px;
  margin: 0;
  color: var(--staff-muted);
  line-height: 2;
}

.staff-lp-people .department-header {
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid var(--staff-line);
  border-radius: 16px;
  background: var(--staff-paper);
}

.staff-lp-people .staff-grid-premium {
  grid-template-columns: 1fr;
  max-width: none;
  gap: 24px;
}

.staff-lp-people .staff-card-premium {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(45, 52, 54, 0.08);
}

.staff-lp-people .staff-card-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(45, 52, 54, 0.12);
}

.staff-lp-people .staff-photo {
  height: 420px;
  background: #edf2ef;
}

.staff-lp-people .staff-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card-premium--manager .staff-photo img {
  object-position: center 45%;
}

.staff-card-premium--leader .staff-photo img {
  object-position: center 36%;
}

.staff-lp-people .staff-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 58px);
}

.staff-profile-index,
.team-card-index {
  margin: 0 0 14px;
}

.staff-lp-people .staff-role-badge {
  width: fit-content;
  margin-bottom: 16px;
}

.staff-lp-people .staff-name {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: -0.045em;
}

.staff-lp-people .staff-name-reading {
  margin: 6px 0 20px;
  letter-spacing: 0.12em;
}

.staff-lp-people .staff-position {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--staff-line);
}

.staff-lp-people .staff-certs {
  margin: 0 0 20px;
}

.staff-lp-people .staff-desc {
  margin: 0;
  color: #485452;
  font-size: 0.96rem;
  line-height: 1.9;
}

.staff-profile-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--staff-orange);
  background: var(--staff-orange-soft);
  color: #5a4b40;
  font-size: 0.9rem;
  line-height: 1.75;
}

.staff-lp-people .team-section {
  margin-top: clamp(90px, 12vw, 150px);
  padding-top: 0;
  border-top: 0;
}

.staff-lp-subheading {
  display: grid;
  margin-bottom: 36px;
  gap: 12px;
}

.staff-lp-people .team-section-title {
  display: block;
  max-width: 900px;
  margin: 0;
  color: var(--staff-ink);
  font-size: clamp(2rem, 6vw, 3.7rem);
  letter-spacing: -0.05em;
  line-height: 1.3;
}

.staff-lp-people .team-section-title::before {
  display: none;
}

.staff-lp-people .team-grid {
  grid-template-columns: 1fr;
  gap: 24px;
}

.staff-lp-people .team-card {
  overflow: hidden;
  border: 1px solid var(--staff-line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 16px 44px rgba(45, 52, 54, 0.08);
}

.staff-lp-people .team-card--nurse {
  border-top: 5px solid var(--staff-orange);
}

.staff-lp-people .team-card--rehab {
  border-top: 5px solid var(--staff-green);
}

.staff-lp-people .team-photo {
  height: 300px;
  background: #edf2ef;
}

.staff-lp-people .team-photo img {
  object-position: center 46%;
}

.staff-lp-people .team-info {
  padding: 30px;
}

.staff-lp-people .team-badge {
  margin-bottom: 14px;
}

.staff-lp-people .team-count {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.staff-lp-people .team-desc {
  margin: 0;
  line-height: 1.9;
}

.team-scope {
  display: flex;
  flex-wrap: wrap;
  margin: 24px 0 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.team-scope li {
  padding: 7px 12px;
  border: 1px solid var(--staff-line);
  border-radius: 999px;
  background: #fafafa;
  color: var(--staff-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.staff-lp-collaboration {
  position: relative;
  padding: clamp(84px, 10vw, 136px) 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(232, 120, 47, 0.16), transparent 28%),
    radial-gradient(circle at 92% 86%, rgba(39, 140, 116, 0.15), transparent 30%),
    linear-gradient(135deg, #fff9f1 0%, #ffffff 48%, #edf8f3 100%);
  color: var(--staff-ink);
}

.staff-lp-collaboration__heading {
  display: grid;
  max-width: 820px;
  gap: 16px;
}

.staff-lp-collaboration__heading h2 {
  color: var(--staff-ink);
}

.staff-lp-collaboration__heading > p:last-child {
  max-width: 700px;
  margin: 0;
  color: var(--staff-muted);
  line-height: 1.9;
}

.staff-lp-collaboration__steps {
  display: grid;
  margin: 48px 0 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.staff-lp-collaboration__steps li {
  position: relative;
  padding: clamp(28px, 4vw, 38px) clamp(24px, 3vw, 34px);
  border: 1px solid rgba(36, 48, 47, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(50, 45, 37, 0.09);
}

.staff-lp-collaboration__steps li:nth-child(2) {
  border-color: rgba(39, 140, 116, 0.18);
  background: rgba(240, 250, 246, 0.96);
}

.staff-lp-collaboration__steps li:nth-child(3) {
  border-color: rgba(232, 120, 47, 0.18);
  background: rgba(255, 247, 238, 0.96);
}

.staff-lp-collaboration__steps li > span {
  display: inline-flex;
  min-width: 78px;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--staff-orange-soft);
  color: var(--staff-orange);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.staff-lp-collaboration__steps li:nth-child(2) > span {
  background: var(--staff-green-soft);
  color: var(--staff-green);
}

.staff-lp-collaboration__steps li:nth-child(3) > span {
  background: #f7e9d8;
  color: #9a5b28;
}

.staff-lp-collaboration__steps strong {
  display: block;
  margin: 22px 0 10px;
  color: var(--staff-ink);
  font-size: clamp(1.22rem, 2vw, 1.48rem);
}

.staff-lp-collaboration__steps p {
  margin: 0;
  color: var(--staff-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

.staff-lp-final-cta {
  position: relative;
  padding: clamp(90px, 12vw, 150px) 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 6% 20%, rgba(232, 120, 47, 0.25), transparent 28%),
    radial-gradient(circle at 94% 84%, rgba(39, 140, 116, 0.24), transparent 30%),
    #fffaf3;
}

.staff-lp-final-cta::after {
  position: absolute;
  right: -45px;
  bottom: -80px;
  width: 250px;
  height: 250px;
  border: 36px solid var(--staff-lime);
  border-radius: 50%;
  content: '';
  opacity: 0.55;
}

.staff-lp-final-cta__inner {
  position: relative;
  width: min(100%, 960px);
  margin-inline: auto;
  text-align: center;
  z-index: 1;
}

.staff-lp-final-cta__inner > p:not(.staff-lp-kicker) {
  max-width: 720px;
  margin: 24px auto 0;
  color: var(--staff-muted);
  line-height: 1.9;
}

.staff-lp-final-cta__actions {
  display: grid;
  margin-top: 36px;
  gap: 12px;
}

.staff-lp-button--call,
.staff-lp-button--form {
  min-height: 78px;
  flex-direction: column;
  padding: 13px 24px;
  border-radius: 18px;
}

.staff-lp-button--call {
  background: var(--staff-orange);
  color: white;
  box-shadow: 0 14px 32px rgba(232, 120, 47, 0.25);
}

.staff-lp-button--form {
  background: var(--staff-green);
  color: white;
  box-shadow: 0 14px 32px rgba(39, 140, 116, 0.22);
}

.staff-lp-button--call span,
.staff-lp-button--form span {
  font-size: 0.76rem;
  opacity: 0.86;
}

.staff-lp-button--call strong,
.staff-lp-button--form strong {
  font-size: 1.08rem;
}

.staff-lp-mobile-actions {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--staff-line);
  backdrop-filter: blur(14px);
}

.staff-lp-mobile-actions a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--staff-ink);
  color: white;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.staff-lp-mobile-actions a:last-child {
  background: var(--staff-orange);
}

.staff-lp-button:focus-visible,
.staff-lp-mobile-actions a:focus-visible {
  outline: 3px solid var(--staff-lime);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  body.popi-body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .staff-lp-hero__title {
    font-size: clamp(2.25rem, 9.8vw, 2.5rem);
  }

  .staff-lp-hero__visual figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-lp-section-heading__lead br {
    display: none;
  }

  .staff-lp-people .department-header h2 {
    font-size: 1.14rem !important;
    line-height: 1.5;
  }
}

@media (min-width: 768px) {
  .staff-lp-hero {
    padding-top: 158px;
  }

  .staff-lp-hero__actions,
  .staff-lp-final-cta__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-lp-proof__inner,
  .staff-lp-collaboration__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .staff-lp-proof article + article {
    border-top: 0;
    border-left: 1px solid var(--staff-line);
  }

  .staff-lp-people .staff-card-premium {
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  }

  .staff-lp-people .staff-photo {
    height: auto;
    min-height: 520px;
  }

  .staff-lp-people .staff-card-premium--leader {
    grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  }

  .staff-lp-people .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-lp-people .team-photo {
    height: 350px;
  }

  .staff-lp-collaboration__steps li:nth-child(2) {
    transform: translateY(22px);
  }

  .staff-lp-mobile-actions {
    display: none;
  }
}

@media (min-width: 1024px) {
  .staff-lp-hero__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(48px, 4vw, 64px);
  }

  .staff-lp-hero__copy {
    padding-left: 10px;
  }

  .staff-lp-hero__title {
    font-size: clamp(3rem, 4vw, 3.55rem);
  }

  .staff-lp-hero__visual {
    transform: translateY(12px);
  }

  .staff-lp-section-heading {
    grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
    align-items: end;
  }

  .staff-lp-section-heading > p:first-child {
    grid-column: 1 / -1;
  }

  .staff-lp-section-heading__lead {
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
