/* ========================================
   コンポーネント: 電話CTA（共通）
   Figma: コーディング用SP375px ヒーローCTA準拠
   Node: 1521:1422
   ======================================== */

/* ── CTAエリア ── */
.cta-area {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  isolation: isolate;
}

/* ── 吹き出し ── */
.cta-bubble {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 15px;
  margin-bottom: -10px;
  background: #ffffff;
  border-radius: 20px;
}

.cta-bubble-text {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-navy);
  white-space: nowrap;
}

/* 三角（吹き出し左寄り） */
.cta-bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 115px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #ffffff;
}

/* ── 電話ボタン ── */
.cta-phone-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 20px 10px;
  background: linear-gradient(180deg, #FF6056 0%, #FF3B30 100%);
  border: 1px solid #ffffff;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 59, 48, 0.35);
  overflow: hidden;
  z-index: 1;
}

/* ── ボタン内コンテンツ（唯一のflex子 → 自然に中央） ── */
.cta-phone-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.cta-phone-meta {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
}

.cta-phone-number-wrap {
  display: flex;
  align-items: center;
  height: 25px;
}

.cta-phone-number {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -1.8px;
  white-space: nowrap;
}

/* ── 電話アイコン（absolute・番号の左寄り） ── */
.cta-phone-icon {
  position: absolute;
  left: 20px;
  top: calc(50% + 11.8px);
  transform: translateY(-50%);
  width: 25px;
  height: 30px;
}

/* ── タップアイコン（absolute・右下） ── */
.cta-tap-icon {
  position: absolute;
  right: 10px;
  bottom: -1px;
  width: 35px;
  height: 49px;
}

@media (max-width: 359px) {
  .cta-tap-icon {
    display: none;
  }
}

/* ── CTAグループ ── */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ── フォームCTA（SPでは非表示） ── */
.cta-form-area {
  display: none;
}
