/* =============================================
   インプラス ページバナー共通スタイル  css/page-hero.css
   business.html / profile.html で使用
   依存: css/tokens.css（各ページで読み込み済み）
   ============================================= */

/* ── バナー本体 ── */
.page-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #002966 50%, #004099 100%);
  padding: 40px 40px 44px 110px;
  box-sizing: border-box;
}

/* グリッドパターン背景 */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* アクセントライン（左端縦線） */
.page-hero__accent {
  position: absolute;
  left: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80px;
  background: linear-gradient(to bottom, var(--accent), var(--blue));
  border-radius: 2px;
}

/* ── テキスト要素 ── */
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0,180,255,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  opacity: 0;
  animation: phUp 0.7s ease 0.1s forwards;
}

.page-hero__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 10px;
  opacity: 0;
  animation: phUp 0.7s ease 0.25s forwards;
}

.page-hero__title em {
  color: var(--accent);
  font-style: normal;
}

.page-hero__sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1px;
  line-height: 1.8;
  margin: 0;
  opacity: 0;
  animation: phUp 0.7s ease 0.4s forwards;
}

/* ── アニメーション ── */
@keyframes phUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── 下部アクセントライン ── */
.page-hero__bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--blue), transparent);
}

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .page-hero {
    padding: 28px 28px 32px 52px;
  }
  .page-hero__accent {
    left: 20px;
    height: 60px;
  }
  .page-hero__title {
    font-size: 22px;
  }
  .page-hero__sub {
    font-size: 12px;
  }
}
