/* 講師向けLP(/okama/)のモバイル専用「画面下に追従する固定フッター」(2026-10-04 じゅんちゃん指摘)。
   「お申し込み」と「公式LINEで問い合わせ」の2ボタンを、スマホ幅(700px以下・style.css のモバイル境界と同じ)でだけ
   画面下に固定する。PC・iPad(701px以上)は何も変わらない(この要素はdisplay:none)。
   style.css と別ファイルにしているのは、同じ時期に style.css を直している変更(オプション料金など)と衝突しにくくするため。
   右下に浮かぶ要素(FAQ吹き出し等)を将来この画面に置く場合は、bottom を --mfc-height 以上にして重ならないようにすること
   (申込フォーム entry.yomogimap.com のFAQ吹き出しはこのLPには出ない)。 */
.mobile-fixed-cta { display: none; }

@media (max-width: 700px) {
  :root { --mfc-height: 68px; }
  .mobile-fixed-cta {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20; /* 固定ヘッダー(z-index:30)より下 */
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 254 251 / 97%);
    border-top: 1px solid rgb(217 221 210 / 70%);
    box-shadow: 0 -6px 18px rgb(54 69 51 / 8%);
  }
  .mobile-fixed-cta a {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    letter-spacing: .02em;
  }
  .mobile-fixed-cta .mfc-apply { background: var(--cta-readable, #b75a40); }
  .mobile-fixed-cta .mfc-line { background: #06c755; }
  .mobile-fixed-cta a:focus-visible { outline: 3px solid #364533; outline-offset: 2px; }
  /* ページ末尾のコンテンツ(フッターの著作権表示など)が固定フッターに隠れないよう、下に余白を足す */
  body { padding-bottom: calc(var(--mfc-height) + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .mobile-fixed-cta a { font-size: 13px; padding: 8px 6px; letter-spacing: 0; }
}
@media print { .mobile-fixed-cta { display: none; } }
