@charset "utf-8";

/* ==========================================================================
   下層共通メインヘッダー（sub-header.css）
   ========================================================================== */

.sub-main-header {
  background: #fff;
  padding: 120px 0 40px; /* 下パディングを 80px から 40px に調整 */
  text-align: center;
}

.sub-header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sub-main-title {
  font-size: 36px;
  color: #0054a4; /* ブランドカラーの青 */
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: normal;
  margin: 0;
}

.sub-main-subtitle {
  order: -1; /* HTMLの記述順に関わらず最上部へ配置 */
  display: block;
  font-size: 14px;
  color: #d4a74a; /* ゴールド */
  font-weight: 700;
  letter-spacing: 0.25em;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  font-family: inherit;
}

/* 紹介リード文の装飾設定（若干太めのゴシック体へ変更） */
.sub-main-lead {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  color: #444; /* 太さに合わせて可読性を担保するため少し濃いめに調整 */
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin: 10px 0 0 0;
  font-weight: 600; /* 若干太めに設定 */
}

/* --------------------------------------------------------------------------
   レスポンシブ対応（タブレット・スマホ最適化）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .sub-main-header {
    padding: 80px 0 30px; /* スマホ時の下パディングを 50px から 30px にさらにコンパクト化 */
  }

  .sub-main-title {
    font-size: 28px; /* グループ会社一覧スマホ版のサイズに統一 */
  }

  .sub-main-subtitle {
    font-size: 13px;
    margin-bottom: 10px;
  }

  /* スマホ・タブレット表示時の紹介リード文最適化 */
  .sub-main-lead {
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.6;
    padding: 0 10px; /* スマホでの折り返し時の左右余白 */
  }
}