/* ヒーローヘッダー本体 */
.site-hero {
  position: relative;
  color: #fff;
  min-height: 220px;               /* ベースの高さ（スマホ〜タブレット） */
  display: flex;
  align-items: flex-end;           /* 文字を下寄せ */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 画像の上にかける暗めグラデーション（読めるようにするためのレイヤー） */
.site-hero__overlay {
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.7)
  );
}

/* 中央寄せコンテナ（横幅や左右余白） */
.site-hero__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 28px;
}

/* タイトル（ブログ名） */
.site-hero__title {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); /* 文字の縁を少し強調 */
}

/* 記事ページ用のリンクラッパー（見た目はタイトルと同じ） */
.site-hero__title-link {
  color: inherit;
  text-decoration: none;
}

/* タグライン（サブコピー） */
.site-hero__tagline {
  margin: 6px 0 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* PC 以上で少し高さと文字サイズアップ */
@media (min-width: 768px) {
  .site-hero {
    min-height: 280px;
  }
  .site-hero__inner {
    padding: 32px 24px 36px;
  }
  .site-hero__title {
    font-size: 2.1rem;
  }
}

/* ごく小さい画面では少しコンパクトに */
@media (max-width: 480px) {
  .site-hero {
    min-height: 180px;
  }
  .site-hero__inner {
    padding: 18px 12px 20px;
  }
  .site-hero__title {
    font-size: 1.4rem;
  }
}
