/* 勝組 LP の問い合わせ導線（全ページ共通。style.css / article.css のあとに読む）
   スマホ: 画面下に固定。PC: 固定しない。問い合わせボタンは出さず、電話と LINE の友だち追加だけをフッター直前に置く。

   LINE の画像は公式の友だち追加ボタン（加工しない・比率を変えない）。
   入手元: https://scdn.line-apps.com/n/line_add_friends/btn/ja.png
   規定: https://developers.line.biz/en/docs/line-social-plugins/general/guidelines/
         https://line.me/ja/logo （ブランドアイコンは最小 モバイル40px・PC20px、変形・色変更・装飾禁止）
   電話・相談の線画は Heroicons v2 outline（MIT）。 */

.lp-reach { display: none; }
.lp-reach__icon { width: 20px; height: 20px; flex: 0 0 auto; display: block; }

@media (min-width: 768px) {
  .lp-reach--has-direct {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 12px 20px;
    background: #f4faf9;
    border-bottom: 1px solid #e7e1da;
    font-size: 14px;
    line-height: 1.4;
  }
  .lp-reach__cta { display: none; }
  .lp-reach__tel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #38918d;
    font-weight: 700;
    text-decoration: none;
  }
  .lp-reach__tel:hover { text-decoration: underline; }
  .lp-reach__short { display: none; }
  .lp-reach__line {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
  }
  .lp-reach__line img { width: 232px; height: 72px; display: block; }
}

@media (max-width: 767px) {
  .lp-reach {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    gap: 8px;
    margin: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e7e1da;
    box-shadow: 0 -6px 18px rgba(47, 58, 57, 0.12);
  }
  /* 相談・電話の行と、原寸に近い友だち追加ボタンの行が隠れない高さ */
  body { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
  .lp-reach__cta,
  .lp-reach__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
  }
  .lp-reach__cta {
    flex: 1 1 auto;
    background: #47afab;
    color: #fff;
    box-shadow: 0 4px 12px rgba(71, 175, 171, 0.35);
  }
  .lp-reach__tel {
    flex: 0 0 auto;
    background: #fff;
    color: #38918d;
    border: 2px solid #47afab;
    white-space: nowrap;
  }
  /* 公式ボタンは枠・角丸・色を足さず、幅 320px でも改行して原寸（232×72）のまま置く */
  .lp-reach__line {
    flex: 1 0 100%;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    line-height: 0;
    text-decoration: none;
  }
  .lp-reach__line img { width: 232px; height: 72px; display: block; }
  .lp-reach__full { display: none; }
  .lp-reach__short { display: inline; }
}
