@charset "utf-8";
/* スマホ表示用のCTA（2026-10-24 追加）
   1. 画面下部の固定CTA（無料相談・LINE・電話）
   2. ページ内のLINE相談ボタン（お問い合わせエリア・コラムの無料相談ボタンの下）
   どちらもPC表示（769px以上）では表示しません。
   LINEのボタンは LINE URLスキーム（oaMessage）を使っており、
   LINE公式ドキュメントでデスクトップ版LINEは非対応とされているため、スマホ表示のみにしています。 */
.sp-fixed-cta,
.line-cta-sp,
.othercolumn.line-cta-col {
  display: none;
}
@media screen and (max-width: 768px) {
  /* ---------- 1. 画面下部の固定CTA ---------- */
  .sp-fixed-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990; /* スマホメニュー（.drawr 9998）より下 */
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
  }
  .sp-fixed-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 4px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
  }
  .sp-fixed-cta a + a {
    margin-left: 6px;
  }
  .sp-fixed-cta a:link,
  .sp-fixed-cta a:visited {
    color: #fff;
  }
  .sp-fixed-cta .sp-cta-contact {
    background: #ff9326; /* コラムのボタン（.othercolumn）と同じオレンジ */
  }
  .sp-fixed-cta .sp-cta-line {
    background: #06c755; /* LINEログインボタンのガイドラインの基本色 */
  }
  .sp-fixed-cta .sp-cta-tel {
    background: #62c4da; /* コラム見出しと同じ水色 */
  }
  /* 固定バーでページ最下部が隠れないように余白を確保 */
  body {
    padding-bottom: 72px;
  }
  /* ページトップボタンをバーの上に移動 */
  #topcontrol {
    bottom: 80px !important;
  }

  /* ---------- 2. ページ内のLINE相談ボタン ---------- */
  /* お問い合わせエリア（aside.area-contact）内 */
  .line-cta-sp {
    display: block;
    margin: 12px 0 0;
    padding: 0 10px;
    box-sizing: border-box;
  }
  .line-cta-sp a {
    display: block;
    padding: 14px 10px;
    border-radius: 8px;
    background: #06c755;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.1);
  }
  .line-cta-sp a:link,
  .line-cta-sp a:visited {
    color: #fff;
  }
  /* コラムの「無料相談はこちら」ボタンの下（既存の .othercolumn の形を利用） */
  .othercolumn.line-cta-col {
    display: block;
  }
  .othercolumn.line-cta-col a {
    background: #06c755;
  }
  .othercolumn.line-cta-col a:link,
  .othercolumn.line-cta-col a:visited {
    color: #fff;
  }
}
