/* ============================================================
   SUB-HERO — サブページ共通ヒーローCSS
   about / service / projects の3ページで共通の基本スタイル。
   ページ固有の差分は各ページのCSS（about-hero.css等）で上書きする。
   ============================================================ */

/* ---- Section Base ---- */
.sub-hero {
  position: relative;
  z-index: var(--z-content, 10);
  background: #FFFFFF;
  min-height: 240px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--s-header-h, 80px) + 48px) var(--s-gutter, 32px) 56px;
}

/* ---- 暖色フレア装飾 ---- */
.sub-hero__flare {
  position: absolute;
  top: -120px;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 200, 120, 0.25) 30%,
    rgba(232, 103, 42, 0.08) 60%,
    transparent 75%
  );
  pointer-events: none;
  animation: sub-hero-pulse 6s ease-in-out infinite;
}

@keyframes sub-hero-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%       { transform: scale(1.1); opacity: 1;   }
}

/* ---- Container ---- */
.sub-hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--s-container, 1200px);
  width: 100%;
  margin: 0 auto;
}

/* ---- 英語大見出し ---- */
.sub-hero__en {
  font-family: var(--f-heading-en, 'Barlow Condensed', sans-serif);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--c-text, #1A1A1A);
  line-height: 1;
  margin: 0 0 12px;
}

/* ---- アクセントライン ---- */
.sub-hero__line {
  width: 52px;
  height: 3px;
  background: var(--c-orange, #E8672A);
  border-radius: 2px;
  margin: 0 0 14px;
}

/* ---- 日本語サブ見出し ---- */
.sub-hero__ja {
  font-family: var(--f-heading-ja, 'Noto Serif JP', serif);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--c-text-light, #555555);
  margin: 0;
  letter-spacing: 0.08em;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .sub-hero {
    min-height: 220px;
    padding: calc(var(--s-header-h, 80px) + 36px) 20px 44px;
  }

  .sub-hero__en {
    font-size: clamp(3rem, 10vw, 4rem);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
  }

  .sub-hero__line {
    width: 40px;
    margin-bottom: 12px;
  }

  .sub-hero__flare {
    width: 360px;
    height: 360px;
    top: -80px;
    right: -100px;
  }
}

@media (max-width: 480px) {
  .sub-hero {
    min-height: 200px;
    padding: calc(var(--s-header-h, 80px) + 28px) 16px 36px;
  }
}
