@charset "UTF-8";
/* ========== ========== ==========
TOPの追加UI（templateParts/top-extras.php）と CTAの波紋
動かすのは transform / opacity だけ。動きを減らす設定の端末では止める
========== ========== ========== */

/* ---------- 対応領域のタグが流れる帯 ---------- */
.ux-band {
  margin: 40px 0 40px;
  overflow: hidden;
}

.ux-tags {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ux-tags__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: ux-marquee 45s linear infinite;
}

@keyframes ux-marquee {
  to { transform: translateX(calc(-50% - 6px)); }
}

.ux-tag {
  flex-shrink: 0;
  padding: 10px 20px;
  border: 1px solid #e4e3ee;
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  color: #4d49a3;
  white-space: nowrap;
}

.ux-tag:nth-child(3n + 2) {
  background: #f3f2fb;
}

/* 読み上げ用（見た目には出さない） */
.ux-tags__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- CTAボタンの「SOS信号」 ---------- */
/* 点が入っても文字が折り返さないよう、ボタンの中身を1行で中央に並べる */
.main .final-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding-left: 16px;
  padding-right: 16px;
  white-space: nowrap;
}


.ui-ping {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.ui-ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  animation: ui-ping 2s ease-out infinite;
}

@keyframes ui-ping {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(3.2); opacity: 0; }
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 768px) {
  .ux-band {
    margin: 28px 0 28px;
  }

  .ux-tag {
    padding: 8px 16px;
    font-size: 13px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .ux-tags__track,
  .ui-ping::after {
    animation: none;
  }
}
