/* Shared text buttons: identical dimensions and capsule silhouette. */
.floating-actions {
  position: fixed; z-index: 100; right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 10px;
  width: 224px; font-family: 'Noto Sans JP', 'Yu Gothic', Meiryo, sans-serif;
}
.floating-action {
  box-sizing: border-box; display: flex; align-items: center;
  width: 100%; height: 72px; flex-shrink: 0; gap: 10px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 999px;
  text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.4;
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-action--web { background: #49aade; color: #fff; padding-left: 30px; }
.floating-action--line { background: #fff; color: #12263f; border-color: #06c75538; box-shadow: 0 8px 24px #155f961a; }
.floating-action-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px;
  background: #06c755; color: #fff;
}
.floating-action-icon svg { display: block; width: 28px; height: 28px; }
.floating-action-text { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.floating-action-sub { font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: .08em; color: #06c755; }
.floating-action-main { font-size: 17px; font-weight: 900; }
.floating-action-arrow { margin-left: auto; font-size: 21px; line-height: 1; }
.floating-action--line .floating-action-arrow { color: #06c755; }
.floating-action:hover { transform: translateY(-3px); box-shadow: 0 9px 22px #155f9633; }
.floating-action--web:hover { color: #fff; }
.floating-action--line:hover { background: #f8fffb; color: #12263f; }
.floating-action:focus-visible { outline: 3px solid #155f96; outline-offset: 4px; }
@media (max-width: 760px) {
  .floating-actions { width: min(168px, calc(50vw - 20px)); right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); gap: 8px; }
  .floating-action { height: 54px; padding: 8px 10px; gap: 6px; font-size: 14px; }
  .floating-action--web { padding-left: 16px; }
  .floating-action-main { font-size: 14px; }
  .floating-action-sub { display: none; }
  .floating-action-icon { width: 26px; height: 26px; border-radius: 8px; }
  .floating-action-icon svg { width: 23px; height: 23px; }
  .floating-action-arrow { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .floating-action { transition: none; } .floating-action:hover { transform: none; } }
