/* ============================================
   Section Heading Block — style.css
   フロントエンド + エディター共通スタイル
   ============================================ */

:root {
  --sh-green:      #2db870;
  --sh-green-dark: #1aa85e;
  --sh-green-pale: #d4edda;
  --sh-green-light:#edfbf3;
  --sh-green-mid:  #b8dfc8;
  --sh-text-main:  #0d2e1a;
  --sh-text-sub:   #4a7a5a;
  --sh-badge-text: #1a5c36;
}

.sh-block {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  margin: 0 0 2rem;
  line-height: 1.4;
}

/* 英語キャプション共通 */
.sh-en {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--sh-green);
  display: block;
  margin-bottom: 5px;
}

/* 日本語見出し共通 */
.sh-ja {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--sh-text-main);
  margin: 0;
  line-height: 1.3;
}

/* サブテキスト共通 */
.sh-sub {
  font-size: 14px;
  color: var(--sh-text-sub);
  margin: 6px 0 0;
  font-weight: 400;
  line-height: 1.7;
}

/* ============================================
   パターン1: service — 英語キャプション + 左揃え
   ============================================ */
.sh-pattern-service .sh-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}
.sh-pattern-service .sh-bar-main {
  width: 36px;
  height: 3px;
  background: var(--sh-green);
}
.sh-pattern-service .sh-bar-sub {
  width: 60px;
  height: 2px;
  background: var(--sh-green-mid);
}

/* ============================================
   パターン2: about — センター + 対称装飾ライン
   ============================================ */
.sh-pattern-about {
  text-align: center;
}
.sh-pattern-about .sh-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.sh-pattern-about .sh-deco-long {
  width: 48px;
  height: 2px;
  background: var(--sh-green);
}
.sh-pattern-about .sh-deco-short {
  width: 10px;
  height: 2px;
  background: var(--sh-green-mid);
}
.sh-pattern-about .sh-deco-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sh-green);
}

/* ============================================
   パターン3: pricing — 左ボーダー
   ============================================ */
.sh-pattern-pricing {
  border-left: 4px solid var(--sh-green);
  padding-left: 16px;
}

/* ============================================
   パターン4: voice — 大きな薄い数字
   ============================================ */
.sh-pattern-voice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.sh-pattern-voice .sh-num {
  font-size: 56px;
  font-weight: 700;
  color: var(--sh-green-pale);
  line-height: 1;
  letter-spacing: -.03em;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  user-select: none;
}
.sh-pattern-voice .sh-num-text {
  padding-top: 4px;
}

/* ============================================
   パターン5: faq — アイコン丸 + 下線
   ============================================ */
.sh-pattern-faq .sh-faq-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sh-green);
}
.sh-pattern-faq .sh-faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sh-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sh-pattern-faq .sh-faq-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}
.sh-pattern-faq .sh-faq-accent {
  width: 24px;
  height: 2px;
  background: var(--sh-green-mid);
  margin-top: 4px;
}

/* ============================================
   パターン6: contact — センター + バッジ
   ============================================ */
.sh-pattern-contact {
  text-align: center;
}
.sh-pattern-contact .sh-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--sh-badge-text);
  background: var(--sh-green-pale);
  padding: 4px 14px;
  border-radius: 2px;
  letter-spacing: .08em;
  margin-bottom: 10px;
}

/* ============================================
   整列ユーティリティ（align属性対応）
   ============================================ */
.sh-align-center:not(.sh-pattern-about):not(.sh-pattern-contact) {
  text-align: center;
}
.sh-align-center:not(.sh-pattern-about):not(.sh-pattern-contact) .sh-bars,
.sh-align-center:not(.sh-pattern-about):not(.sh-pattern-contact) .sh-deco {
  justify-content: center;
}
.sh-align-right:not(.sh-pattern-about):not(.sh-pattern-contact) {
  text-align: right;
}
