/*
|---------------------------------------------------------------
| qinc2026-page-hero.css - 共通ページヒーロー（ダークブルー角丸）
|---------------------------------------------------------------
*/

/* ==========================================================================
   Page Hero - Base (ラベル+タイトルのみ)
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: var(--color-blue01);
  border-radius: 20px;
  padding: 72px 0;
  margin: 0 30px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Background Image (optional)
   -------------------------------------------------------------------------- */
.page-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Content
   -------------------------------------------------------------------------- */
.page-hero__inner.container {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Label: / LABEL / */
.page-hero__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-family-en);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-gold);
  margin: 0 0 16px;
}

.page-hero__label-slash {
  font-weight: 100;
}

.page-hero__label-text {
  font-weight: 500;
}

/* Title */
.page-hero__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin: 0;
  font-feature-settings: "palt" 1;
}

/* ==========================================================================
   Modifier: --with-lead (リード文あり)
   ========================================================================== */
.page-hero--with-lead {
  padding: 136px 0;
}

.page-hero--with-lead .page-hero__label {
  margin-bottom: 40px;
}

.page-hero--with-lead .page-hero__title {
  margin-bottom: 48px;
}

/* Lead */
.page-hero__lead {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--color-white);
  margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media screen and (max-width: 1024px) {
  /* Base */
  .page-hero {
    padding: 48px 0;
    margin: 0 16px;
  }

  .page-hero__label {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .page-hero__title {
    font-size: 36px;
  }

  /* --with-lead */
  .page-hero--with-lead {
    padding: 80px 0;
  }

  .page-hero--with-lead .page-hero__label {
    margin-bottom: 32px;
  }

  .page-hero--with-lead .page-hero__title {
    margin-bottom: 32px;
  }

  .page-hero__lead {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  /* Base */
  .page-hero {
    padding: 36px 0;
    margin: 0 12px;
    border-radius: 12px;
  }

  .page-hero__label {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .page-hero__title {
    font-size: 26px;
  }

  /* --with-lead */
  .page-hero--with-lead {
    padding: 60px 0;
  }

  .page-hero--with-lead .page-hero__label {
    margin-bottom: 24px;
  }

  .page-hero--with-lead .page-hero__title {
    margin-bottom: 24px;
  }

  .page-hero__lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .page-hero__lead br {
    display: none;
  }

  /* Background image: SPでも表示 */
}
