/*
Theme Name: Lightning Child HUMAC
Template: lightning
Version: 1.0.0
Description: HUMAC child theme aligned with Gamma design (Navy/Coral/White)
Author: HUMAC
*/

/* ===== HUMAC: CTA / PR 共通スタイル 復旧 ===== */

/* 旧来の呼び名どれでも効くようにまとめて指定 */
.cta, .pr, .pr-wrap, .pr-cta {
  background: linear-gradient(135deg, #153a8f, #1b4bd1);
  color: #fff;
  border-radius: 1.25rem;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  margin: clamp(20px, 4vw, 40px) 0;
}

/* CTA 内の文字色・リンク色は必ず白 */
.cta *, .pr *, .pr-wrap *, .pr-cta * { color: #fff !important; }

/* CTA 見出しや説明の整形 */
.cta h3, .pr h3, .pr-wrap h3, .pr-cta h3 {
  margin: 0 0 .3em;
  font-weight: 800;
  line-height: 1.3;
}
.cta p, .pr p, .pr-wrap p, .pr-cta p {
  margin: 0;
  opacity: .95;
}

/* ボタン（ページ全体で共通） */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .7em 1.1em;
  border-radius: .9rem;
  font-weight: 700;
  border: 1px solid rgba(15,23,42,.15);
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: #FF6B6B;
  color: #171717;
  border-color: transparent;
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
}

/* スマホで縦積み・中央寄せ */
@media (max-width: 820px){
  .cta, .pr, .pr-wrap, .pr-cta { justify-content: center; text-align: center; }
}

/* ヒーロー内の“空枠ボタン”が出てしまうケースの保険 */
.hero .btn--ghost:empty { display:none !important; }
