/* ============================================================
   ツール入口ページ(検索から来た人用のLP)共通スタイル
   style.css のあとに読み込む前提(色などの変数を使う)
============================================================ */
.lp-nav{
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lp-brand{ display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 16px; }
.lp-brand-mark{
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px;
  box-shadow: var(--shadow-brand);
}
.lp-open{
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--grad-deep); color: #fff;
  font-size: 13px; font-weight: 800;
  padding: 9px 18px; border-radius: 999px; text-decoration: none;
  box-shadow: var(--shadow-brand);
}
.lp-open:active{ transform: scale(.97); }

/* ツール切替ナビ(無料ツール同士の回遊用) */
.lp-tabs{
  display: flex; gap: 8px; overflow-x: auto;
  padding: 10px 20px;
  background: rgba(255,255,255,.75);
  border-bottom: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.lp-tabs a{
  flex: none; font-size: 12.5px; font-weight: 800;
  color: var(--ink-2); text-decoration: none;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #fff;
  white-space: nowrap;
}
.lp-tabs a.active{ background: var(--grad-deep); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.lp-tabs a:hover:not(.active){ color: var(--brand-ink); background: #fff6f8; }

/* ツール直下のアプリ誘導バナー */
.lp-mini-cta{
  display: flex; align-items: center; gap: 14px;
  background: var(--grad-soft); border: 1px solid #ffd9e3;
  border-radius: var(--r-md); padding: 13px 18px; margin-top: 16px;
}
.lp-mini-cta p{ font-size: 13px; color: var(--ink-2); line-height: 1.7; margin: 0; }
.lp-mini-cta p b{ color: var(--ink); }
.lp-mini-cta .lp-open{ margin-left: auto; flex: none; }
@media (max-width: 560px){
  .lp-mini-cta{ flex-direction: column; align-items: stretch; text-align: center; }
  .lp-mini-cta .lp-open{ margin-left: 0; justify-content: center; }
}

.lp-wrap{ max-width: 880px; margin: 0 auto; padding: 30px 16px 40px; }
.lp-hero{ text-align: center; padding: 6px 0 4px; }
.lp-badge{
  display: inline-block; font-size: 11.5px; font-weight: 800;
  color: var(--ok); background: var(--ok-bg);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 12px;
}
.lp-hero h1{ font-size: clamp(24px, 4.4vw, 34px); font-weight: 900; line-height: 1.4; }
.lp-hero h1 .accent{
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.lp-lead{ color: var(--ink-2); margin-top: 10px; font-size: 14.5px; line-height: 1.9; }

/* タイトル直下のアプリ誘導バナー(見出し+ボタン+ツールカードを1枠に) */
.lp-app-push{
  display: block;
  background: var(--grad-deep); color: #fff;
  border-radius: var(--r-lg); padding: 16px 16px 14px;
  box-shadow: var(--shadow-brand);
  margin: 18px 0 14px;
}
.ap-head{ display: flex; align-items: center; gap: 12px; padding: 0 4px; }
.ap-txt{ display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ap-txt small{ font-size: 12px; font-weight: 700; opacity: .95; line-height: 1.5; }
.ap-txt b{ font-size: 20px; font-weight: 900; line-height: 1.4; letter-spacing: .06em; }
.ap-btn{
  margin-left: auto; flex: none;
  background: #fff; color: var(--brand-ink);
  font-size: 13.5px; font-weight: 900;
  padding: 10px 20px; border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
  transition: transform .15s ease;
}
.ap-btn:active{ transform: scale(.96); }
@media (max-width: 560px){
  .ap-txt small{ font-size: 10.5px; }
  .ap-txt b{ font-size: 17px; }
  .ap-btn{ padding: 9px 14px; font-size: 12px; }
}

/* バナー最下部の「無料・登録不要・スマホOK」 */
.ap-foot{ text-align: center; margin-top: 12px; }
.ap-foot span{
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 18px; border-radius: 999px;
}

/* バナー内のツールカード(スマホ2列/PC4列) */
.lp-tgrid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-top: 12px;
}
@media (max-width: 640px){ .lp-tgrid{ grid-template-columns: repeat(2, 1fr); } }
.lp-tgrid a{
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: #fff; border-radius: 14px;
  padding: 12px 8px 11px; text-decoration: none; text-align: center;
  box-shadow: 0 2px 10px rgba(120, 20, 60, .16);
  transition: transform .15s ease;
}
.lp-tgrid a:hover{ transform: translateY(-2px); }
.lp-tgrid .ic{ font-size: 21px; line-height: 1.2; }
.lp-tgrid .t1{ font-size: 10px; font-weight: 700; color: var(--muted); }
.lp-tgrid .t2{ font-size: 12.5px; font-weight: 900; color: var(--ink); line-height: 1.3; }

/* ツール内の販路チップ: スクロールなしで4販路が1行に収まるように */
.lp-tool .pf-chips{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.lp-tool .pf-chips::-webkit-scrollbar{ display: none; }
.lp-tool .pf-chips .chip{ flex: none; white-space: nowrap; }
@media (max-width: 560px){
  .lp-tool .pf-chips{ gap: 3px; }
  .lp-tool .pf-chips .chip{ font-size: 10px; padding: 6px 6px; letter-spacing: -.02em; border-width: 1px; }
  .lp-tool .pf-chips .chip .pf-fee{ font-size: 8.5px; }
}

/* 販路の切り替え(同じツールの販路別ページへ) */
.lp-pf-row{ display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lp-pf-row a{
  font-size: 12px; font-weight: 800; padding: 6px 15px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; color: var(--ink-2); text-decoration: none;
  white-space: nowrap;
}
.lp-pf-row a.active{ background: var(--ink); color: #fff; border-color: transparent; }
.lp-pf-row a:hover:not(.active){ color: var(--brand-ink); background: #fff6f8; }

.lp-tool{ margin: 24px 0 6px; display: flex; flex-direction: column; }
/* ツールが最初に出す黄色い注意書きは、ツールの下に送る(上をスッキリさせる) */
.lp-tool > .tool-head{ order: 99; margin: 16px 0 0; }
.lp-tool > .tool-head .tool-note{ margin-bottom: 0; }
.lp-note{ text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }

.lp-sec{ margin-top: 40px; }
.lp-sec h2{
  display: flex; align-items: center; gap: 9px;
  font-size: 19px; font-weight: 900; margin-bottom: 12px;
}
.lp-sec h2::before{ content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--grad); flex: none; }
.lp-sec p{ font-size: 14px; color: var(--ink-2); line-height: 2; margin-bottom: 10px; }
.lp-sec ul{ margin: 8px 0 8px 22px; }
.lp-sec li{ font-size: 14px; color: var(--ink-2); line-height: 2; }
.lp-sec b{ color: var(--ink); }

.lp-faq details{
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 13px 18px; margin-top: 10px;
}
.lp-faq summary{ font-weight: 800; cursor: pointer; font-size: 14px; color: var(--ink); }
.lp-faq details p{ margin-top: 8px; margin-bottom: 0; }

.lp-cta{
  margin-top: 42px; text-align: center;
  background: var(--grad-soft); border: 1px solid #ffd9e3;
  border-radius: var(--r-lg); padding: 26px 20px;
}
.lp-cta h2{ font-size: 19px; font-weight: 900; }
.lp-cta p{ font-size: 13.5px; color: var(--ink-2); margin: 8px 0 16px; line-height: 1.9; }
.lp-cta .lp-open{ font-size: 14.5px; padding: 12px 26px; }

.lp-links{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-link{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 15px; text-decoration: none;
}
.lp-link:hover{ color: var(--brand-ink); border-color: #ffd9e3; background: #fff6f8; }

.lp-foot{ text-align: center; font-size: 11.5px; color: var(--muted); line-height: 1.9; padding: 26px 16px 34px; }
.lp-foot a{ color: var(--muted); }
