main { --color-primary: var(--color-maaru); }

/* サブナビのテーマカラー */
.subnav__link:hover,
.subnav__link.is-active {
  background: var(--color-maaru);
  border-color: var(--color-maaru);
}

/* ===== Hero: Left Text + Right Photo (他施設と統一) ===== */
.hero--maaru {
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
  background: linear-gradient(109deg, #FFA3A3 8.97%, #F3BA9E 44.18%, #EDE7D1 94.14%);
  padding: 0;
}
.hero--maaru .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--maaru .hero__text {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding-bottom: var(--space-2xl);
}
.hero--maaru .hero__label {
  display: inline-block;
  background: #fff;
  padding: 8px 16px;
  font-size: clamp(0.9rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--color-maaru);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}
.hero--maaru .hero__catchcopy {
  font-family: var(--font-family-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-lg);
  text-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.hero--maaru .hero__tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.hero--maaru .hero__tag {
  display: inline-block;
  background: var(--color-maaru);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 20px;
  border-radius: 41px;
}
.hero--maaru .hero__visual {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: calc(58% - 40px);
  max-width: 800px;
  z-index: 1;
}
.hero--maaru .hero__photo-mask {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}
.hero--maaru .hero__photo-mask img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Intro Section ===== */
.intro-section {
  background: var(--color-white);
  padding: 80px 104px;
}

.intro-card {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.intro-card__heading {
  font-family: var(--font-family-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--color-maaru);
  flex-shrink: 0;
  white-space: nowrap;
}

.intro-card__text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.1em;
  color: var(--color-text);
  max-width: 485px;
}

/* ===== Dot Section Heading ===== */
.dot-heading {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.24em;
  margin-bottom: var(--space-2xl);
}

.dot-heading::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== Maaru Service Cards (Figma style) ===== */
/* カテゴリ分けサービスリスト */
.service-category {
  margin-bottom: var(--space-3xl);
}

.service-category:last-child { margin-bottom: 0; }

.service-category__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-primary);
}

.service-category__icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-category__icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.service-category__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.1em;
}

.service-category__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
}

.service-item__dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.service-item__body { flex: 1; }

.service-item__name {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.service-item__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .service-category__list { grid-template-columns: 1fr; }
}

/* ===== FAQ (Q/Aバッジ型) ===== */
.cp-faq-wrap {
  background: var(--color-white);
  border-radius: 40px;
  padding: var(--space-3xl) var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .cp-faq-wrap {
    border-radius: 24px;
    padding: var(--space-xl) var(--space-lg);
  }
}
.cp-faq-item {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cp-faq-item:first-child { padding-top: 0; }
.cp-faq-item:last-child { border-bottom: none; }
.cp-faq-q {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}
.cp-faq-a {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}
.cp-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;
}
.cp-faq-badge--q { background: var(--color-primary); }
.cp-faq-badge--a { background: #888; }
.cp-faq-text {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 2;
  padding-top: 6px;
}
.cp-faq-answer {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 2;
  padding-top: 6px;
}

/* ===== Info Subsections ===== */
.info-subsection {
  margin-bottom: var(--space-2xl);
}

.info-subsection__text {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  line-height: 2;
  padding-left: calc(22px + var(--space-sm));
}

/* ===== Section Gradient Background ===== */
.section:not(.section--bg-white) {
  background: linear-gradient(109deg, #FFD1D1 8.97%, #F9DDCF 44.18%, #F6F3E8 94.14%);
}

/* ===== Section Illustrations ===== */
.section--has-illust .container {
  position: relative;
}

.section__illust {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.section__illust--flow {
  right: 0;
  bottom: 0;
  width: 144px;
  height: auto;
}

.section__illust--target {
  right: 40px;
  bottom: 20px;
  width: 153px;
  height: 214px;
}

.section__illust--target .illust-part--wheelchair {
  position: absolute;
  left: 0;
  top: 0;
  width: 42.64%;
  height: 99.49%;
}

.section__illust--target .illust-part--nurse {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82.33%;
  height: 74.18%;
}

@media (max-width: 1200px) {
  .section__illust--flow { width: 100px; }
  .section__illust--target { width: 110px; height: 154px; }
}

@media (max-width: 768px) {
  .section__illust { display: none; }
  .section__illust--target {
    display: block;
    position: relative;
    width: 140px;
    height: 120px;
    margin: var(--space-2xl) auto 0;
  }
  .section__illust--target .illust-part--wheelchair {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: auto;
  }
  .section__illust--target .illust-part--nurse {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: auto;
  }
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .intro-section {
    padding: var(--space-2xl) var(--space-lg);
  }
  .intro-card {
    flex-direction: column;
    gap: var(--space-xl);
    padding: var(--space-xl);
  }
  .intro-card__heading {
    white-space: normal;
  }
  .intro-card__text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .intro-card__heading {
    font-size: 22px;
    letter-spacing: 0.1em;
  }
  .intro-card__text {
    font-size: 14px;
    line-height: 2.2;
  }
  .dot-heading {
    font-size: var(--font-size-lg);
    letter-spacing: 0.1em;
  }
  .flow-card { flex-direction: column; gap: var(--space-md); padding: var(--space-xl); border-radius: 24px; }
  .flow-card__desc { text-align: left; }
  .flow-card__title { text-align: left; }
}

/* Flow card style (unified) */
.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: var(--color-primary);
  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;
}
