/* サブナビのテーマカラー */
.subnav__link:hover,
.subnav__link.is-active {
  background: #5bcea3;
  border-color: #5bcea3;
}

/* ===== Hero: 写真+家型マスク ===== */
.hero--helper {
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e4f7ec 0%, #c8edd6 40%, #a3e4c4 70%, #7dd9b7 100%);
  padding: 0;
}

.hero--helper .hero__inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  min-height: 700px;
  display: flex;
  align-items: flex-end;
}

.hero--helper .hero__text {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding-bottom: var(--space-2xl);
}

.hero--helper .hero__title-badge {
  display: inline-block;
  background: white;
  padding: 6px 16px;
  font-size: 16px;
  font-weight: 700;
  color: #5bcea3;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.hero--helper .hero__catchcopy {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 700;
  color: #5bcea3;
  line-height: 1.46;
  margin-bottom: var(--space-xl);
  text-shadow: none;
}

.hero--helper .hero__tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero--helper .hero__tag {
  display: inline-block;
  background: #5bcea3;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 41px;
  letter-spacing: 0.1em;
}

.hero--helper .hero__visual {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(58% - 40px);
  max-width: 800px;
  z-index: 1;
}

.hero--helper .hero__photo-mask {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.hero--helper .hero__photo-mask img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero--helper { min-height: auto; }
  .hero--helper .hero__inner {
    min-height: auto;
    flex-direction: column-reverse;
    padding-bottom: var(--space-2xl);
  }
  .hero--helper .hero__text {
    max-width: 100%;
    padding: var(--space-3xl) var(--space-xl) var(--space-3xl);
    text-align: center;
  }
  .hero--helper .hero__tags { justify-content: center; }
  .hero--helper .hero__visual {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 80px auto 0;
  }
  .hero--helper .hero__photo-mask {
    width: 85%;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
  }
  .hero--helper .hero__catchcopy { font-size: 2rem; }
}

/* ===== Helper page global overrides ===== */
.hero--helper ~ * .section-title {
  color: #5bcea3;
}

/* About section background */
.hlp-about-bg {
  background: linear-gradient(180deg, rgba(91,206,163,0.08) 0%, rgba(91,206,163,0.03) 100%);
}

/* Intro cols as white rounded cards */
.hlp-intro__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}
.hlp-intro__col-card {
  background: white;
  border-radius: 40px;
  padding: var(--space-2xl);
}

/* Flow section background */
.hlp-flow-bg {
  background: linear-gradient(180deg, rgba(91,206,163,0.08) 0%, rgba(91,206,163,0.03) 100%);
}

/* Flow card style */
.flow-card {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  background: white;
  border-radius: 40px;
  padding: 40px;
  margin-bottom: var(--space-xl);
}
.flow-card:last-child { margin-bottom: 0; }
.flow-card__number {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #5bcea3;
  flex-shrink: 0;
  line-height: 1;
}
.flow-card__content { flex: 1; }
.flow-card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #796c5d;
  margin-bottom: var(--space-sm);
}
.flow-card__desc {
  font-size: var(--font-size-base);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Voice section background */
.hlp-voice-bg {
  background: linear-gradient(180deg, rgba(91,206,163,0.08) 0%, rgba(91,206,163,0.03) 100%);
}

/* Service detail tables */
.service-detail { margin-bottom: var(--space-3xl); }
.service-detail__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.service-detail__icon {
  width: 48px; height: 48px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-detail__icon svg { width: 24px; height: 24px; fill: var(--color-primary); }
.service-detail__title {
  font-size: 24px;
  font-weight: 700;
  color: #796c5d;
}

.service-items {
  width: 100%;
  border: none;
  border-top: 1px solid #ccc;
}
.service-items th,
.service-items td {
  padding: var(--space-xl) var(--space-2xl);
  text-align: left;
  border-bottom: 1px solid #ccc;
  font-size: var(--font-size-base);
  vertical-align: middle;
  line-height: 1.8;
}
.service-items th {
  background: #f8f6f2;
  font-weight: 700;
  color: var(--color-text);
  width: 200px;
  white-space: nowrap;
}
.service-items td {
  background-color: var(--color-white);
  color: var(--color-text);
}

/* Eligibility box */
.eligibility {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.eligibility__title {
  font-size: 20px;
  font-weight: 700;
  color: #796c5d;
  margin-bottom: var(--space-md);
}
.eligibility__text { font-size: var(--font-size-base); color: var(--color-text); }

/* About intro */
.hlp-intro {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.hlp-intro__lead {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 2;
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.hlp-intro__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}
.hlp-intro__col-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #5bcea3;
  margin-bottom: var(--space-md);
}
.hlp-intro__col-text {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 2;
}

/* Cannot do list */
.cannot-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm) var(--space-xl);
}
.cannot-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  padding: var(--space-sm) 0;
}
.cannot-list__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #c44;
}

/* Cost cards */
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}
.cost-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
}
.cost-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: white;
  background: #5bcea3;
  padding: 4px 0;
  margin-bottom: var(--space-lg);
  text-align: center;
}
.cost-card__table {
  width: 100%;
  border-top: 1px solid #ccc;
}
.cost-card__table th,
.cost-card__table td {
  padding: var(--space-md) var(--space-lg);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid #ccc;
  line-height: 1.8;
}
.cost-card__table th {
  background: #f8f6f2;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
}
.cost-card__table td {
  text-align: right;
  white-space: nowrap;
}
.cost-note {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  margin-top: var(--space-xl);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Strength cards */
.hlp-strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}
.hlp-strength-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  text-align: center;
}
.hlp-strength-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
}
.hlp-strength-card__icon svg { width: 100%; height: 100%; }
.hlp-strength-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #5bcea3;
  margin-bottom: var(--space-md);
}
.hlp-strength-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.8;
}

/* Staff profile */
.hlp-staff {
  display: flex;
  gap: var(--space-3xl);
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}
.hlp-staff__photo {
  width: 240px;
  height: 300px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  flex-shrink: 0;
  background: #eee;
}
.hlp-staff__photo img { width: 100%; height: 100%; object-fit: cover; }
.hlp-staff__info { flex: 1; }
.hlp-staff__role {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}
.hlp-staff__name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}
.hlp-staff__quals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.hlp-staff__qual-tag {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: var(--font-size-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}
.hlp-staff__message {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 2;
}

/* FAQ */
.hlp-faq-wrap {
  background: var(--color-white);
  border-radius: 40px;
  padding: var(--space-3xl) var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}
.hlp-faq-item {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border-light);
}
.hlp-faq-item:first-child { padding-top: 0; }
.hlp-faq-item:last-child { border-bottom: none; }
.hlp-faq-q, .hlp-faq-a {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}
.hlp-faq-q { margin-bottom: var(--space-md); }
.hlp-faq-badge {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: var(--color-white);
  flex-shrink: 0;
}
.hlp-faq-badge--q { background: #5bcea3; }
.hlp-faq-badge--a { background: #888; }
.hlp-faq-text {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: #5bcea3;
  line-height: 2;
  padding-top: 6px;
}
.hlp-faq-answer {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 2;
  padding-top: 6px;
}

/* Voice cards */
.hlp-voice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}
.hlp-voice-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
}
.hlp-voice-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.hlp-voice-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(91,206,163,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hlp-voice-card__avatar svg { width: 24px; height: 24px; fill: #5bcea3; }
.hlp-voice-card__who { font-size: var(--font-size-sm); font-weight: 700; color: var(--color-text); }
.hlp-voice-card__relation { font-size: var(--font-size-xs); color: var(--color-text-light); }
.hlp-voice-card__body { font-size: var(--font-size-sm); color: var(--color-text); line-height: 2; }

@media (max-width: 768px) {
  /* レイアウト切替 */
  .hlp-intro__cols { grid-template-columns: 1fr; gap: var(--space-xl); }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-card { padding: 0; }
  .hlp-strength-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hlp-staff { flex-direction: column; align-items: center; text-align: center; }
  .hlp-staff__photo { width: 200px; height: 250px; }
  .hlp-staff__quals { justify-content: center; }
  .hlp-staff__role { text-align: center; }
  .hlp-staff__name { text-align: center; }
  .hlp-voice-list { grid-template-columns: 1fr; }
  .hlp-faq-wrap { border-radius: 24px; padding: var(--space-2xl) var(--space-lg); }
  .flow-card { flex-direction: column; gap: var(--space-md); padding: var(--space-xl); border-radius: 24px; }
  .hlp-intro__col-card { border-radius: 24px; }
  /* テキスト左寄せ（ケアプラン準拠） */
  .section-subtitle { text-align: left; }
  .hlp-intro__lead { text-align: left; }
  .hlp-strength-card__text { text-align: left; }
  .hlp-staff__message { text-align: left; }
  .flow-card__desc { text-align: left; }
  .flow-card__title { text-align: left; }
  .hlp-voice-card__body { text-align: left; }
}
@media (max-width: 600px) {
  .service-items,
  .service-items tbody,
  .service-items tr {
    display: block;
    width: 100%;
  }
  .service-items tr {
    display: block;
    border: none;
    border-bottom: none;
    margin-bottom: 8px;
  }
  .service-items th {
    width: auto;
    display: block;
    padding: 16px;
    margin-bottom: 16px;
    border-bottom: none;
    white-space: normal;
    font-size: var(--font-size-base);
  }
  .service-items td {
    display: block;
    padding: 0 16px 16px;
    border-bottom: none;
  }
  .cannot-list { grid-template-columns: 1fr; }
}
