/* =========================================================
   スマホ専用：メンバーシップ案内 追従バー
   既存サイトを壊さない完全スコープCSS
========================================================= */

.ic-membership-followbar {
  display: none;
}

@media (max-width: 768px) {
  .ic-membership-followbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 800;
    display: block;

    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));

    background: rgba(255, 253, 248, 0.97);
    border-top: 1px solid #f0dcc4;
    box-shadow: 0 -4px 14px rgba(60, 45, 20, .10);

    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;

    transition:
      transform 220ms ease,
      opacity 180ms ease;
  }

  .ic-membership-followbar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .ic-membership-followbar__link {
    min-height: 54px;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 8px 18px;
    border-radius: 999px;

    color: #fff;
    /* 2026-09-05 変更：単色 #e8730f は強く出すぎるため、ページ途中の
       「メンバーシップの詳細を見る」ボタン（.jn-btn）と同じ、やわらかい
       オレンジに揃える。色そのものは既存資産で、新しい色は足していない。 */
    background: radial-gradient(125% 155% at 50% -20%, #fcb254 0%, #f6990f 56%, #ef8b04 100%);
    text-shadow: 0 1px 2px rgba(140, 74, 0, .34);
    box-shadow:
      inset 0 0 26px 8px rgba(255, 240, 214, .40),
      inset 0 1px 0 rgba(255, 255, 255, .65),
      inset 0 -1px 0 rgba(180, 105, 10, .16),
      0 2px 8px rgba(190, 120, 25, .13);

    font-size: 17px;
    line-height: 1.25;
    font-weight: 700;

    text-decoration: none;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
  }

  .ic-membership-followbar__arrow {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .22);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding-left: 1px;
  }

  .ic-membership-followbar__link:focus-visible {
    outline: 3px solid rgba(201, 149, 50, 0.28);
    outline-offset: -3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ic-membership-followbar {
    transition: none;
  }
}

/* =========================================================
   追従バー導入に伴う重複CTAの整理（スマートフォンのみ）
   ページ最下部の「メンバーシップのご案内を見る」は、
   追従バー・お申し込みについてセクションと同じ公式サイトへの導線で
   重複するため、スマホでは非表示にする。
   HTMLからは削除せず、PC（769px以上）ではこれまでどおり表示する。
========================================================= */
@media (max-width: 768px) {
  #incruises-steps .jn-final-cta {
    display: none;
  }
}
