/* QAi Concierge Launcher
 * 非TOPページ（about/contact/lineup/access）の右下に表示される
 * 「コンシェルジュ」フローティングボタン。
 * クリックでTOPに遷移し、URLパラメータ ?qai=open でコンシェルジュ取手が
 * 視覚的に強調されてユーザーをタップに誘導する。
 */
.qai-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 15px;
  background: #0f0f0f;
  color: #fff;
  font-family: "游ゴシック Medium", "Yu Gothic Medium", YuGothic,
               "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 999px;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  z-index: 9999;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.qai-launcher:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.qai-launcher:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.qai-launcher__icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
}

.qai-launcher__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qai-launcher__text {
  white-space: nowrap;
  line-height: 1;
}

/* スマホ向けサイズ調整 */
@media (max-width: 600px) {
  .qai-launcher {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px 10px 13px;
    font-size: 12.5px;
  }
}

/* iOS safe-area 対応（ホームバー回避） */
@supports (padding: max(0px)) {
  .qai-launcher {
    bottom: max(24px, env(safe-area-inset-bottom));
    right: max(24px, env(safe-area-inset-right));
  }
}
