/* =========================================================
   Page hero（下層ページ共通のファーストビュー）
========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 64px);
  padding-bottom: 80px;
  background: var(--color-bg);
}

/* 右上の淡い形。トップのヒーローと同じトーンで控えめに */
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-hero::before {
  top: -120px;
  right: -80px;
  width: 420px;
  aspect-ratio: 1 / 0.85;
  background: var(--color-accent-light);
  opacity: 0.7;
  border-radius: 58% 42% 50% 50% / 52% 46% 54% 48%;
}

.page-hero::after {
  right: 18%;
  bottom: -90px;
  width: 200px;
  aspect-ratio: 1 / 1;
  background: var(--color-accent);
  opacity: 0.25;
  border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text-sub);
}

.breadcrumb li + li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 12px 2px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.6;
}

.breadcrumb a {
  transition: color var(--duration) var(--ease);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ---------- Title ---------- */
.page-hero__label {
  margin-top: 48px;
}

.page-hero__title {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

@media (max-width: 767px) {
  .page-hero {
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: 56px;
  }

  .page-hero::before {
    top: -80px;
    right: -120px;
    width: 280px;
  }

  .page-hero::after {
    display: none;
  }

  .page-hero__label {
    margin-top: 36px;
  }

  .page-hero__title {
    margin-top: 16px;
    font-size: clamp(32px, 9vw, 40px);
  }
}
