/* ============================================================
   広告用LP 共通スタイル
   全LPがこの1ファイルを読み込む。見た目を変えるときはここだけ直す。
   個別ページ固有の調整だけ、各HTMLの <style> に書く。
   ------------------------------------------------------------
   配色の方針：サイト本体（黒背景）とは別の白基調。
   広告で初めて来る人に威圧感を与えないため意図的に変えている。
   文字と背景のコントラスト比は全組み合わせで4.5:1以上を確保済み
   （LINEボタンの緑だけ、ブランド認知を優先して公式色のまま）
   ============================================================ */
:root{
    --bg:#ffffff;
    --bg-alt:#f4f6f9;
    --ink:#1b1e24;
    --mute:#5c636f;
    --faint:#646b78;
    --line:#e3e7ed;
    --brand:#d01f26;
    --brand-soft:#fff1f1;
    --green:#06c755;
    --green-soft:#eefaf2;
    --green-text:#07793a;
    --blue:#1d63d8;
    --blue-soft:#eef3fd;
    --display:'Montserrat','Noto Sans JP',sans-serif;
    --body:'Noto Sans JP','Montserrat',sans-serif;
    --shadow:0 1px 2px rgba(27,30,36,.05), 0 6px 20px rgba(27,30,36,.06);
  }
  *{ box-sizing:border-box; margin:0; padding:0; }
  body{
    background:var(--bg); color:var(--ink);
    font-family:var(--body); font-size:16.5px; line-height:1.95;
    -webkit-font-smoothing:antialiased;
  }
  a{ text-decoration:none; color:inherit; }
  img{ max-width:100%; display:block; }

  .wrap{ max-width:920px; margin:0 auto; padding:0 22px; }

  /* ロゴのみのヘッダー（他ページへのリンクは置かない） */
  .lp-head{ padding:14px 22px; border-bottom:1px solid var(--line); background:var(--bg); }
  .lp-head img{ height:46px; width:auto; margin:0 auto; }

  /* ---------- ボタン ---------- */
  .btn{
    display:flex; align-items:center; justify-content:center; gap:10px;
    padding:19px 28px; font-family:var(--body); font-size:17px; font-weight:700;
    border-radius:14px; border:none; cursor:pointer; text-align:center;
    transition:transform .12s, box-shadow .12s, background .12s;
  }
  .btn:hover{ transform:translateY(-2px); }
  .btn:active{ transform:translateY(0); }
  .btn:focus-visible{ outline:3px solid var(--blue); outline-offset:3px; }
  .btn-line{ background:var(--green); color:#fff; box-shadow:0 4px 14px rgba(6,199,85,.32); }
  .btn-est{ background:var(--blue); color:#fff; box-shadow:0 4px 14px rgba(29,99,216,.26); }
  .btn-ghost{ background:#fff; color:var(--ink); border:1.5px solid var(--line); box-shadow:var(--shadow); }
  .btn-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
  .btn-row .btn{ flex:1 1 250px; }
  .cta-note{ font-size:13.5px; color:var(--faint); margin-top:14px; text-align:center; }

  /* ---------- セクション共通 ---------- */
  section.blk{ padding:66px 0; }
  section.alt{ background:var(--bg-alt); }
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-family:var(--display); font-weight:800; font-size:11.5px;
    letter-spacing:.16em; text-transform:uppercase; color:var(--brand);
    margin-bottom:16px;
  }
  .eyebrow::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--brand); }
  h2{
    font-family:var(--body); font-weight:700;
    font-size:clamp(23px,4.2vw,33px); line-height:1.55; letter-spacing:-.01em;
    margin-bottom:16px;
  }
  h2 em{ font-style:normal; color:var(--brand); }
  .sub{ font-size:15.5px; color:var(--mute); margin-bottom:32px; max-width:36em; }

  /* ---------- 01 ファーストビュー ---------- */
  .hero{ padding:58px 0 56px; }
  .hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
  .hero h1{
    font-family:var(--body); font-weight:700;
    font-size:clamp(31px,6.6vw,50px); line-height:1.38; letter-spacing:-.015em;
    margin-bottom:20px;
  }
  .hero h1 em{ font-style:normal; color:var(--brand); }
  .hero .lead{ font-size:17px; color:var(--mute); max-width:23em; }
  .hero-img{
    background:var(--bg-alt); border-radius:20px; aspect-ratio:1/1;
    display:flex; align-items:center; justify-content:center; overflow:hidden;
  }
  .hero-img img{ width:88%; height:88%; object-fit:contain; }

  /* ヒーロー直下の安心材料 */
  .trust{ display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
  .trust span{
    font-size:13.5px; color:var(--ink); background:#fff;
    border:1px solid var(--line); border-radius:999px; padding:8px 16px;
    box-shadow:var(--shadow);
  }
  .trust span b{ color:var(--brand); font-weight:700; }

  /* ---------- 02 不安 ---------- */
  .pains{ list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; }
  .pains li{
    background:#fff; border:1px solid var(--line); border-radius:14px;
    padding:24px; font-size:15px; color:var(--mute); box-shadow:var(--shadow);
  }
  .pains li b{ display:block; font-weight:700; color:var(--ink); font-size:16px; margin-bottom:8px; }

  /* ---------- 03 価格 ---------- */
  .price-table{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); }
  .price-cap{ font-size:13.5px; color:var(--mute); padding:15px 24px; background:var(--bg-alt); border-bottom:1px solid var(--line); }
  .price-row{ display:flex; justify-content:space-between; align-items:center; gap:16px; padding:18px 24px; border-bottom:1px solid var(--line); }
  .price-row:last-child{ border-bottom:none; }
  .price-row .label{ font-size:16px; }
  .price-row .value{
    font-family:var(--display); font-weight:900; font-size:28px;
    letter-spacing:-.02em; font-variant-numeric:tabular-nums; white-space:nowrap;
  }
  .highlight{
    margin-top:26px; padding:26px 28px;
    background:var(--brand-soft); border-radius:16px;
  }
  .highlight p{ font-size:17px; line-height:1.95; }
  .highlight strong{ font-weight:700; color:var(--brand); }
  .facts{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
  .facts span{ font-size:14px; background:#fff; border:1px solid var(--line); border-radius:999px; padding:8px 16px; box-shadow:var(--shadow); }
  .facts span b{ color:var(--brand); font-weight:700; }

  /* ---------- 04 総額例 ---------- */
  .cases{ display:grid; grid-template-columns:repeat(auto-fit,minmax(248px,1fr)); gap:14px; }
  .case{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px; box-shadow:var(--shadow); }
  .case .n{ font-size:14px; color:var(--mute); margin-bottom:10px; }
  .case .n b{ font-family:var(--display); font-weight:800; font-size:19px; color:var(--ink); margin-right:2px; }
  .case .total{
    font-family:var(--display); font-weight:900; font-size:37px; line-height:1.15;
    letter-spacing:-.025em; font-variant-numeric:tabular-nums;
  }
  .case .per{
    display:inline-block; margin-top:10px; font-size:14.5px; font-weight:700;
    color:var(--brand); background:var(--brand-soft); border-radius:999px; padding:4px 14px;
  }
  .case .bd{ font-size:13.5px; color:var(--faint); margin-top:16px; padding-top:16px; border-top:1px solid var(--line); line-height:1.85; }

  /* ---------- 05 追加費用 ---------- */
  .table-scroll{ overflow-x:auto; background:#fff; border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
  .fee-table{ width:100%; border-collapse:collapse; font-size:15px; min-width:420px; }
  .fee-table th, .fee-table td{ padding:17px 22px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
  .fee-table thead th{ font-size:13px; color:var(--mute); font-weight:500; background:var(--bg-alt); }
  .fee-table td.amount{ text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; font-weight:700; font-family:var(--display); }
  .fee-table td.amount.free{ color:var(--green-text); }
  .fee-table td .cond{ display:block; color:var(--faint); font-size:13.5px; }
  .fee-table tbody tr:last-child td{ border-bottom:none; }

  /* ---------- 06 デザイン ---------- */
  .ways{ list-style:none; display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; margin-bottom:26px; }
  .ways li{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px; box-shadow:var(--shadow); }
  .ways li b{ display:block; font-weight:700; font-size:17px; margin-bottom:6px; }
  .ways li span{ font-size:14.5px; color:var(--mute); }
  .thumbs{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin-bottom:26px; }
  .thumbs .t{ background:#fff; border:1px solid var(--line); border-radius:12px; aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; overflow:hidden; }
  .thumbs .t img{ width:92%; height:92%; object-fit:contain; }

  /* ---------- 07 納期 ---------- */
  .steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; }
  .step{ background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; box-shadow:var(--shadow); }
  .step .n{ font-family:var(--display); font-weight:800; font-size:11.5px; letter-spacing:.14em; color:var(--brand); margin-bottom:8px; }
  .step .t{ font-weight:700; font-size:16px; margin-bottom:2px; }
  .step .d{ font-size:14px; color:var(--mute); }

  /* ---------- 08 最終CTA ---------- */
  .final{ background:var(--green-soft); }
  .final .eyebrow{ color:var(--green-text); }
  .final .eyebrow::before{ background:var(--green-text); }
  .final .can{ list-style:none; display:flex; flex-wrap:wrap; gap:10px; margin-bottom:6px; }
  .final .can li{ font-size:14.5px; background:#fff; border-radius:999px; padding:10px 20px; box-shadow:var(--shadow); }

  /* ---------- 09 FAQ ---------- */
  .faq{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow:var(--shadow); }
  details{ border-bottom:1px solid var(--line); }
  details:last-child{ border-bottom:none; }
  details summary{
    list-style:none; cursor:pointer; padding:20px 54px 20px 24px;
    font-size:16px; font-weight:700; position:relative;
  }
  details summary::-webkit-details-marker{ display:none; }
  details summary::after{
    content:'+'; position:absolute; right:22px; top:50%; transform:translateY(-50%);
    color:var(--brand); font-size:24px; font-weight:400; line-height:1;
  }
  details[open] summary::after{ content:'−'; }
  details summary:hover{ background:var(--bg-alt); }
  details summary:focus-visible{ outline:2px solid var(--blue); outline-offset:-2px; }
  details .a{ padding:0 24px 22px; font-size:15px; color:var(--mute); }
  details .a strong{ color:var(--ink); font-weight:700; }

  footer{ padding:40px 22px 120px; text-align:center; border-top:1px solid var(--line); }
  footer .home{ font-size:14px; color:var(--mute); display:inline-block; margin-bottom:12px; }
  footer .home:hover{ color:var(--brand); }
  footer .copy{ font-family:var(--display); font-weight:700; font-size:11px; color:var(--faint); letter-spacing:.1em; }

  /* スマホの画面下に常時出すLINEボタン */
  .sticky{
    position:fixed; left:0; right:0; bottom:0; z-index:50;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.96); backdrop-filter:blur(10px);
    border-top:1px solid var(--line); box-shadow:0 -4px 20px rgba(27,30,36,.08);
    display:none;
  }
  .sticky .btn{ width:100%; }

  @media (max-width:860px){
    .hero-grid{ grid-template-columns:1fr; gap:32px; }
    .hero-img{ order:-1; aspect-ratio:4/3; }
    .hero .lead{ max-width:none; }
  }
  @media (max-width:768px){
    body{ font-size:16px; }
    .wrap{ padding:0 18px; }
    .hero{ padding:40px 0 44px; }
    section.blk{ padding:52px 0; }
    .price-row{ padding:16px 18px; }
    .price-row .value{ font-size:25px; }
    .fee-table th, .fee-table td{ padding:15px 16px; }
    .btn-row .btn{ flex:1 1 100%; }
    .sticky{ display:block; }
  }
  @media (prefers-reduced-motion:reduce){ *{ transition:none !important; } }
