/* ========================================
   送信完了モーダル
   ======================================== */

/* ── オーバーレイ ── */
.thanks-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.thanks-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ── モーダル本体 ── */
.thanks-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 340px;
  padding: 40px 24px 30px;
  gap: 18px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
}

.thanks-modal-overlay.is-open .thanks-modal {
  transform: translateY(0) scale(1);
}

/* ── 閉じるボタン ── */
.thanks-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #999999;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.thanks-modal-close:hover {
  background: #f0f0f0;
}

/* ── チェックアイコン ── */
.thanks-modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 見出し ── */
.thanks-modal-heading {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-navy);
  text-align: center;
}

/* ── 本文 ── */
.thanks-modal-text {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-body);
  text-align: center;
}

.thanks-modal-text strong {
  color: var(--color-navy);
  font-weight: 700;
}

/* ── お急ぎの方 ── */
.thanks-modal-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 14px;
  gap: 4px;
  background: var(--color-tint);
  border-radius: 8px;
}

.thanks-modal-notice-title {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-navy);
  text-align: center;
}

.thanks-modal-notice-text {
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-sub);
  text-align: center;
}

/* ── 電話ボタン ── */
.thanks-modal-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 12px;
  gap: 2px;
  background: var(--color-red-cta);
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.thanks-modal-phone:hover {
  opacity: 0.9;
}

.thanks-modal-phone-meta {
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
}

.thanks-modal-phone-number {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.thanks-modal-phone-number img {
  flex-shrink: 0;
}
