/* ============================================================
   Gifted WordPress 共通見出し（完全統合版）
   H2 / H3 / H4 を全ページで統一（柔らかモード①）
============================================================ */


/* ============================================================
   H2：英語（上）＋日本語（下）＋金ライン
============================================================ */

.gifted-h2 {
  text-align: center;
  margin: 0 0 50px;
  padding: 0;
}

/* 英語（上段） */
.gifted-h2 > .gifted-h2-en {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #cfab6e;
  margin-bottom: 2px;
  text-transform: uppercase;
}

/* 日本語（柔らか） */
.gifted-h2 > .gifted-h2-ja {
  position: relative;
  display: inline-block;
  font-size: 1.9rem;
  font-weight: 600;          /* ←柔らか① */
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #fff;
  padding-bottom: 14px;
}

/* 下の金ライン（文字幅にフィット） */
.gifted-h2 > .gifted-h2-ja::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #cfab6e, transparent);
}



/* ============================================================
   H3：ロング金ライン（柔らか①）
============================================================ */

.gifted-h3 {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 500;         /* ←柔らか① */
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #ffffff;
  padding-bottom: 14px;
  margin: 40px 0 25px;
}

/* 左→右へ伸びる金ライン */
.gifted-h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 300px;             /* ←必要に応じ調整OK */
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(207,171,110,1) 0%,
    rgba(207,171,110,0.7) 40%,
    rgba(207,171,110,0.15) 80%,
    rgba(207,171,110,0) 100%
  );
}



/* ============================================================
   H4：スクエアレ点（柔らか①）
============================================================ */

.gifted-h4,
.wp-block-heading.is-style-h4,
h4.gifted-h4 {
  position: relative;
  padding-left: 38px;
  font-size: 1.2rem;
  font-weight: 600;        /* ←柔らか① */
  letter-spacing: 0.015em;
  line-height: 1.45;
  color: #fff;
}

/* スクエア枠＋レ点 */
.gifted-h4::before,
.wp-block-heading.is-style-h4::before {
  content: "✔";
  font-size: 0.9rem;
  color: #cfab6e;

  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 20px;
  height: 20px;
  border: 2px solid #cfab6e;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-sizing: border-box;
}
