/* ============================
   セクション全体の共通レイアウト
   ============================ */

.section {
  position: relative;
  padding-block: clamp(32px, 6vw, 64px); /* 上下余白 */
  color: #F2E9C6; /* デフォの文字色（後で調整OK） */
}

/* 背景が幾何学模様のタイプ共通 */
.section-pattern {
  /* 麻の葉とかのパターン背景（ファイル名は仮） */
  background-image: url("../img/bg/BG_asanoha.webp");
  background-repeat: no-repeat;
  background-size: cover;          /* or 260px auto; とか好みで */
  background-attachment: fixed;
}

/* セクション内の幅制御＋中央寄せ */
.section_inner {
  max-width: 1120px;
  margin-inline: auto;
  /*padding-inline: clamp(2px, 4vw, 40px);*/
}

/* セクション本文ブロック */
.section_body {
  position: relative;
  z-index: 1; /* 背景より手前に */
}

/* 画像の文字用・視覚には見せず、スクリーンリーダーにだけ読ませる */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================
   セクションヘッダー（見出し＋リード）
   ============================ */

.section_header {
  margin-bottom: clamp(28px, 5vw, 48px);
  text-align: center;
}

/* h2 見出し本体 */
.section_title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  font-size: clamp(1.6rem, 1.8vw, 2rem);
  letter-spacing: 0.22em;
  text-indent: 0.22em; /* 文字先頭の詰まり防止 */
  line-height: 1.4;
}

/* 見出しのテキスト部分だけ独立させておく */
.section_title-text {
  white-space: nowrap;
}

/* 左右の鳥の足ライン（デコ）共通 */
.section_title-deco {
  display: block;
  width: min(200px, 40vw);
  height: 18px;
  background-image: url("../img/ui/lineRight_min.svg");
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 10px; /* お好みで 2px〜6px の間で調整 */
}

/* 左右で向きが違う場合は transform で制御 */
.section_title-deco--left {
  transform: scaleX(-1);
}

/* リード文（説明文） */
.section_lead {
  /*margin-top: 1.5rem;*/
  max-width: 680px;
  margin-inline: auto;
  font-size: 0.98rem;
  line-height: 1.9;
}

/* ============================
   レスポンシブ調整
   ============================ */

/* PC版：プロフィールをアイコン＋テキストの2カラムにする */
@media (min-width: 960px) {

}


@media (max-width: 959px) {
  .section {
    padding-block: 48px;
  }

  .section_header {
    margin-bottom: 28px;
  }

  .section_title {
    gap: 0.75rem;
    font-size: 1.5rem;
  }

  .section_title-deco {
    width: 150px; /* スマホだとデコを小さく */
  }

  .section_lead {
    font-size: 0.95rem;
  }
}

@media (max-width: 589px) {
  /* さらに狭い時はデコ線を思い切って消す案 */

  .section_title-deco {
    display: none;
  }

  .section_title {
    gap: 0.5rem;
  }

  .section-head .hero_title,
  .section-head .hero_lead,
  .section-head .hero_note {
    padding-inline: clamp(24px, 6vw, 40px);
  }

  .section_header{
    padding-inline: clamp(24px, 6vw, 40px);
  }

}

