/* 送信中の表示（2026-11-25）。js/sending-status-text-20261008.js が、押したボタンの「送信中…」を文字に置き換える。
   家財保険 kazai-hoken.jp・cycle-hoken.com などと同じ部品。 */
.sending-status-control {
  display: none !important;
}

.sending-status-existing {
  color: var(--sending-status-color, #267a56) !important;
}

.sending-status-text {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--sending-status-color, #267a56);
  font: inherit;
  font-weight: 600;
  line-height: 1.5;
  text-align: inherit;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

/* 確認コードの送信中などの「送信中…」（2026-11-25 河合さん）
   郵便番号の「住所を取得中です…」と同じ見た目にする：青の太字、左に回る印、文字のゆっくりした明滅。
   動きを減らす設定の端末では、明滅を止め、回らない印にする。印は em で、文字を大きくしても文字に合わせる。
   中央寄せの枠の中でも印が文字のすぐ左に来るよう、幅は文字に合わせる（inline-block） */
.sending-status-text,
.sending-status-existing {
  display: inline-block !important;
  color: #1565c0 !important;
  font-weight: 600 !important;
  padding-left: 1.8em !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23c5d9f2' stroke-width='3'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9' fill='none' stroke='%231565c0' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='0.9s' repeatCount='indefinite'/%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 0 0.1em !important; /* 2 行に折り返しても、1 行目の横に置く */
  background-size: 1.3em 1.3em !important;
  animation: hk-sending-status 1.4s ease-in-out infinite !important;
}
@keyframes hk-sending-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .sending-status-text,
  .sending-status-existing {
    animation: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23c5d9f2' stroke-width='3'/%3E%3Cpath d='M12 3a9 9 0 0 1 9 9' fill='none' stroke='%231565c0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  }
}
