/* 共通セクション見出し（赤ライン付き） */

.sec-heading {
  margin: 0 0 32px;
  padding: 0;
  color: #000;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
}

.sec-heading::after {
  content: "";
  display: block;
  width: 31px;
  height: 4px;
  margin: 14px auto 0;
  background: #d70c1a;
}

/* flex + gap で間隔を取る親内では余白を親に任せる */
.top_news .sec-heading,
.top_pickup .sec-heading {
  margin-bottom: 0;
}

/* 下層ページの h3 見出し（.sec-heading の見た目を継承し、サイズのみ調整） */
.sec-heading.sec-heading--h3 {
  margin-bottom: 24px;
  font-size: 24px;
}

/* 旧画像見出し用の padding / margin（share_layout の .content_t h2 等）と二重にならないようにする */
.content_t h2.sec-heading.sec-heading--h3,
.content_t h3.sec-heading.sec-heading--h3,
.content_t02 h3.sec-heading.sec-heading--h3 {
  padding: 0;
  margin: 0 auto 24px;
}

/*
 * event.css 等の .content_t02 h3 上書き対策
 * （読み込み順・!important より詳細度＋必要箇所のみ !important）
 */
.content_t02 h3.sec-heading.sec-heading--h3 {
  width: auto;
  max-width: none;
  margin: 0 0 24px;
  padding: 0;
  color: #000 !important;
  font-size: 24px !important;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

/* inquiry: #form_body h3（赤・inline-block）との競合回避 */
#form_body h3.sec-heading.sec-heading--h3 {
  display: block;
  width: 100%;
  margin: 0 auto 24px;
  padding: 0;
  color: #000 !important;
  font-size: 24px !important;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

@media screen and (max-width: 834px) {
  .sec-heading {
    margin-bottom: 16px;
    font-size: 24px;
    letter-spacing: 0.01em;
  }

  .sec-heading::after {
    width: 28px;
    height: 3px;
    margin-top: 10px;
  }

  .top_news .sec-heading,
  .top_pickup .sec-heading {
    margin-bottom: 0;
  }

  .sec-heading.sec-heading--h3 {
    margin-bottom: 16px;
    font-size: 20px;
  }

  .content_t h2.sec-heading.sec-heading--h3,
  .content_t h3.sec-heading.sec-heading--h3,
  .content_t02 h3.sec-heading.sec-heading--h3 {
    margin: 0 auto 16px;
  }

  .content_t02 h3.sec-heading.sec-heading--h3 {
    font-size: 20px !important;
  }

  #form_body h3.sec-heading.sec-heading--h3 {
    margin: 0 auto 16px;
    padding: 0;
    font-size: 20px !important;
  }
}
