/**
 * 固定資産税・払いすぎ診断 LP スタイル
 * ヒーローセクションは提供デザイン (taxcheck.html / taxcheck.css) をベースに実装
 *
 * @package koteishisanzei-child
 * @version 1.0.0
 */

/* ================================================================
   ベースリセット（LP スコープ）
   ================================================================ */
.ksz-lp-body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333;
  overflow-x: hidden;
}

/* ================================================================
   共通 Inner コンテナ (1280px 制限) — 提供 CSS の .inner に対応
   ================================================================ */
.lp-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.lp-col {
  flex-direction: column;
  align-items: stretch;
}

/* ================================================================
   HEADER — 提供 CSS の .header に対応
   ================================================================ */
.lp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0);
  transition: background 0.35s, box-shadow 0.35s;
}

/* スクロール後 */
.lp-header.scrolled,
.lp-header:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.lp-header .lp-inner {
  justify-content: space-between;
  height: 60px;
}

/* ロゴ */
.lp-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  transition: color 0.35s;
}
.lp-header.scrolled .lp-logo { color: #1a365d; }
.lp-logo span { color: #e53e3e; }

/* ナビ */
.lp-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lp-nav a {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.lp-nav a:hover { color: #fbd38d; }
.lp-header.scrolled .lp-nav a { color: #333; }
.lp-header.scrolled .lp-nav a:hover { color: #e53e3e; }
.lp-nav-div { color: rgba(255,255,255,0.4); }
.lp-header.scrolled .lp-nav-div { color: #ccc; }

/* ヘッダー CTA ボタン */
.lp-btn-head {
  background-color: #e53e3e;
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  white-space: nowrap;
}
.lp-btn-head:hover {
  background-color: #c53030;
  transform: translateY(-1px);
}

/* ================================================================
   HERO — 提供 CSS の .hero に対応
   ================================================================ */
.lp-hero {
  position: relative;
  width: 100%;
  height: 100svh;        /* ビューポート高さに固定 */
  min-height: 580px;
  /* PC 背景画像 */
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url('https://koteishisanzei-check.com/wp-content/uploads/2026/05/taxTOP.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  padding-top: 60px;
  overflow: hidden;      /* はみ出しを隠す */
}

.lp-hero-inner {
  justify-content: center;
  flex-direction: column;
}

.lp-hero-content {
  width: 100%;
  text-align: left;   /* キャッチコピーを左揃え */
  color: #fff;
}

/* ────────────────────────────────────────────────────────
   キャッチコピー 3 行：font-size 4rem・左揃え
   画面高さが低い端末でも CTA まで収まるよう vh 制約付き
   ──────────────────────────────────────────────────────── */
.lp-catch-top,
.lp-catch-main,
.lp-catch-sub {
  font-size: clamp(1.8rem, min(5vw, 7.5vh), 4rem);
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  text-align: left;
  line-height: 1.2;
  margin: 0 0 6px;
}

/* catch-sub の下マージンだけ少し大きくとる */
.lp-catch-sub {
  font-weight: 700;
  margin-bottom: 22px;
}

/* 「90%以上」のハイライト色 */
.lp-hl { color: #fbd38d; }

/* 「90」の数字だけさらに 1.2 倍 */
.lp-num { font-size: 1.2em; }

/* ツール紹介ボックス — 提供 CSS の .tool-box に対応 */
.lp-tool-box {
  background: rgba(255, 255, 255, 0.96);
  color: #333;
  padding: 28px 20px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin: 0 auto 16px;         /* 中央揃え */
  text-align: center;          /* 中身のテキストも中央 */
  position: relative;
  max-width: 520px;
  width: 100%;
}

.lp-badge-free {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #e53e3e;
  color: #fff;
  padding: 5px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.lp-tool-desc {
  font-size: 1rem;
  font-weight: 700;
  color: #4a5568;
  margin: 0 0 10px;
}

.lp-tool-title {
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 900;
  color: #1a365d;
  margin: 0;
  line-height: 1.3;
  /* 1 行表示 — flex 不要 */
}

/* メイン CTA ボタン — 中央揃え */
.lp-btn-main {
  display: block;              /* 中央揃え用に block 化 */
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  color: #fff;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 700;
  padding: 13px 56px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(221, 107, 32, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  margin: 0 auto;              /* 中央揃え */
  text-align: center;
  width: fit-content;
  min-width: 280px;
  max-width: 90%;
}
.lp-btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(221, 107, 32, 0.6);
}

/* ================================================================
   SECTION 共通
   ================================================================ */
.lp-section {
  padding: 80px 0;
}

.lp-sec-head {
  text-align: center;
  margin-bottom: 48px;
}

.lp-sec-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #e53e3e;
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 99px;
  padding: 3px 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.lp-sec-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: #1a2236;
  margin: 0 0 12px;
  line-height: 1.3;
}

.lp-sec-desc {
  font-size: 0.98rem;
  color: #4a5568;
  margin: 0;
  line-height: 1.8;
}

/* ダーク系セクション用 */
.lp-sec-label--dark {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #fbd38d;
}
.lp-sec-title--white { color: #fff; }
.lp-sec-desc--white  { color: rgba(255,255,255,0.85); }

/* ================================================================
   FACT セクション
   ================================================================ */
.lp-fact {
  background: #f7fafc;
}

/* 信憑性カード（NHK / 総務省） */
.lp-credibility {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}

.lp-credibility-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 26px;
  border-left: 5px solid #1e40af;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}

.lp-credibility-source {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 99px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.lp-credibility-text {
  font-size: 0.95rem;
  color: #1a2236;
  line-height: 1.85;
  margin: 0;
}

.lp-credibility-num {
  color: #dc2626;
  font-size: 1.8em;
  font-weight: 900;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1;
  vertical-align: -0.05em;
}

.lp-credibility-pct {
  font-size: 0.6em;
  font-weight: 900;
  margin-left: 1px;
}

/* 3カラム カード */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.lp-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
  border-top: 4px solid #e53e3e;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-card-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.lp-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1a365d;
  margin: 0;
  line-height: 1.4;
}

.lp-card-body {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.lp-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #feb2b2;
  padding: 2px 10px;
  border-radius: 99px;
  align-self: flex-start;
}

/* 注記バナー */
.lp-fact-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #92400e;
  margin-bottom: 36px;
  line-height: 1.6;
}
.lp-fact-note-icon { font-size: 1.2rem; flex-shrink: 0; }

/* セクション CTA */
.lp-sec-cta { text-align: center; }

.lp-btn-sec {
  display: inline-block;
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 44px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(221,107,32,.35);
  transition: transform 0.25s, box-shadow 0.25s;
}
.lp-btn-sec:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(221,107,32,.5);
}

/* ================================================================
   ABOUT セクション
   ================================================================ */
.lp-about {
  background: #fff;
}

/* ステップ */
.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto 52px;
  width: 100%;
}

.lp-step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 22px 24px;
  border-left: 4px solid #2563eb;
}

.lp-step-num {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-step-body { flex: 1; }

.lp-step-title {
  font-size: 1rem;
  font-weight: 800;
  color: #1a2236;
  margin: 0 0 6px;
}

.lp-step-desc {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
}

/* ステップコネクター */
.lp-step-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(#2563eb, #7c3aed);
  margin: 0 0 0 39px;
  opacity: 0.4;
}

/* 安心ポイント グリッド */
.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.lp-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f0f9ff;
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid #bae6fd;
}

.lp-trust-icon {
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}

.lp-trust-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.lp-trust-item p {
  font-size: 0.83rem;
  color: #4a5568;
  margin: 0;
  line-height: 1.6;
}

/* ================================================================
   CHECK セクション（診断ツール）
   ================================================================ */
.lp-check {
  background: #002060;
  padding: 72px 0 80px;
}

.lp-check .lp-sec-head {
  margin-bottom: 32px;
}

/* 診断ツールのカードを CHECK セクション背景に馴染ませる */
.lp-check .ksz-app {
  max-width: 780px;
}

.lp-check .ksz-hero {
  display: none; /* CHECK セクション内のヒーローは非表示（セクション見出しで代替） */
}

/* ================================================================
   FOOTER
   ================================================================ */
.lp-footer {
  background: #0f1f3d;
  padding: 28px 0;
}

.lp-footer-inner {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-footer-logo {
  font-size: 1rem;
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
}

.lp-footer-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lp-footer-nav a {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s;
}
.lp-footer-nav a:hover { color: #fff; }
.lp-footer-nav span { color: rgba(255,255,255,0.25); }

.lp-footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

.lp-footer-company {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  margin-top: 4px;
  width: 100%;
}
.lp-footer-company-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  margin: 0 0 4px;
}
.lp-footer-company-addr {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0 0 4px;
}
.lp-footer-company-email {
  font-size: 0.8rem;
  margin: 0;
}
.lp-footer-company-email a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.lp-footer-company-email a:hover { color: #fff; }

/* ================================================================
   スマホ対応 — 提供 CSS の @media (max-width: 768px) に対応
   ================================================================ */
@media (max-width: 768px) {

  /* ヘッダー */
  .lp-header .lp-inner {
    justify-content: center;
    padding: 0 16px;
  }
  .lp-logo { font-size: 1.6rem; }
  .lp-nav, .lp-btn-head { display: none; }

  /* ヒーロー — SP 背景画像に差し替え・高さ固定 */
  .lp-hero {
    height: 100svh;
    min-height: 580px;
    align-items: center;
    padding-top: 60px;
    background:
      linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
      url('https://koteishisanzei-check.com/wp-content/uploads/2026/05/SPtaxTOP.png') no-repeat center top;
    background-size: cover;
  }

  /* SP では clamp の 7.5vh が自動縮小してくれるのでマージン調整のみ */
  .lp-catch-top,
  .lp-catch-main,
  .lp-catch-sub { margin-bottom: 3px; }
  .lp-catch-sub { margin-bottom: 12px; }

  .lp-tool-box {
    padding: 26px 14px 16px;
    margin-bottom: 12px;
    max-width: 100%;
  }
  .lp-badge-free { font-size: 0.95rem; padding: 4px 16px; }
  .lp-tool-desc  { font-size: 0.85rem; margin-bottom: 6px; }
  .lp-tool-title { font-size: 1.3rem; }

  .lp-btn-main {
    font-size: 1.05rem;
    padding: 11px 32px;
    min-width: 200px;
  }

  /* FACT */
  .lp-section { padding: 56px 0; }

  .lp-credibility {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }
  .lp-credibility-card { padding: 20px 18px; }
  .lp-credibility-text { font-size: 0.9rem; }
  .lp-credibility-num  { font-size: 1.6em; }

  .lp-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lp-card { padding: 22px 18px; }

  /* ABOUT */
  .lp-trust-grid {
    grid-template-columns: 1fr;
  }

  .lp-step-item { padding: 18px 16px; }

  /* CHECK */
  .lp-check { padding: 52px 0 60px; }

  /* FOOTER */
  .lp-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .lp-catch-main { font-size: 1.75rem; }
  .lp-sec-title  { font-size: 1.45rem; }
}

/* ================================================================
 * 20260525 PDFデザイン再現用 追加分 (taxcheck.css)
 * ================================================================ */
/* ================================================================
 * LP 全体レイアウト用スタイル (PDFデザイン再現用・追加分)
 * ================================================================ */
html { scroll-behavior: smooth; }
body.ksz-lp-body { margin: 0; padding: 0; font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif; background-color: #f8fafc; color: #1a2236; }

/* 共通コンテナ */
.lp-inner { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.lp-col { display: flex; flex-direction: column; align-items: center; }

/* セクション共通 */
.lp-section { padding: 80px 0; }
.lp-sec-head { text-align: center; margin-bottom: 40px; }
.lp-sec-label { display: inline-block; font-size: 0.85rem; font-weight: 800; color: #2563eb; letter-spacing: 0.1em; margin-bottom: 8px; }
.lp-sec-title { font-size: 2rem; font-weight: 900; color: #0f2a5c; margin: 0 0 16px; }
.lp-sec-desc { font-size: 1rem; line-height: 1.8; color: #4a5568; margin: 0; }
.lp-sec-head--dark .lp-sec-title { color: #fff; }
.lp-sec-desc--white { color: #cbd5e1; }

/* ボタン共通 */
.lp-btn-main, .lp-btn-sec {
  display: inline-flex; justify-content: center; align-items: center;
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  color: #fff; font-size: 1.2rem; font-weight: 800; text-decoration: none;
  padding: 18px 48px; border-radius: 99px; box-shadow: 0 8px 24px rgba(220,38,38,0.3);
  transition: transform 0.2s, box-shadow 0.2s; width: 100%; max-width: 360px; text-align: center;
}
.lp-btn-main:hover, .lp-btn-sec:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(220,38,38,0.4); }
.lp-sec-cta { text-align: center; margin-top: 40px; width: 100%; }

/* HEADER */
.lp-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: all 0.3s ease; padding: 12px 0;
}
.lp-header.scrolled { border-bottom-color: #e2e8f0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.lp-header .lp-inner { display: flex; justify-content: space-between; align-items: center; }
.lp-logo { font-size: 1.4rem; font-weight: 900; color: #0f2a5c; }
.lp-logo span { color: #2563eb; }
.lp-nav { display: flex; gap: 16px; align-items: center; }
.lp-nav a { text-decoration: none; color: #4a5568; font-size: 0.9rem; font-weight: 700; transition: color 0.2s; }
.lp-nav a:hover { color: #2563eb; }
.lp-nav-div { color: #cbd5e1; }
.lp-btn-head {
  background: #ea580c; color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 700;
  padding: 8px 20px; border-radius: 99px; transition: background 0.2s;
}
.lp-btn-head:hover { background: #dc2626; }

/* PAGE 1: HERO */
.lp-hero { padding: 120px 0 80px; background: #fff; text-align: center; }
.lp-catch-top { font-size: 1.5rem; font-weight: 800; color: #0f2a5c; margin: 0 0 10px; }
.lp-hl { color: #dc2626; }
.lp-num { font-size: 2.2rem; }
.lp-catch-main { font-size: 3rem; font-weight: 900; color: #0f2a5c; margin: 0 0 16px; line-height: 1.2; position: relative; display: inline-block; }
.lp-note { font-size: 1rem; color: #718096; position: absolute; top: 0; right: -2rem; font-weight: 600; }
.lp-catch-sub { font-size: 1.2rem; font-weight: 700; color: #4a5568; margin: 0 0 40px; }
.lp-tool-box {
  background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 16px; padding: 32px 24px;
  max-width: 500px; margin: 0 auto 40px; position: relative;
}
.lp-badge-free {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: #f59e0b; color: #fff; font-size: 1rem; font-weight: 800;
  padding: 6px 24px; border-radius: 99px; letter-spacing: 0.05em; white-space: nowrap;
}
.lp-tool-desc { font-size: 1rem; color: #4a5568; font-weight: 700; margin: 0 0 8px; }
.lp-tool-title { font-size: 1.8rem; font-weight: 900; color: #2563eb; margin: 0; }

/* PAGE 2: FACT */
.lp-sec-desc { background: #fff; }
.lp-credibility { display: flex; gap: 24px; margin-bottom: 32px; width: 100%; max-width: 800px; }
.lp-credibility-card {
  flex: 1; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 24px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.lp-credibility-source { font-size: 0.95rem; font-weight: 700; color: #4a5568; margin-bottom: 12px; }
.lp-cred-val { font-size: 2.2rem; font-weight: 900; color: #dc2626; margin-bottom: 16px; }
.lp-cred-val span { font-size: 1.2rem; }
.lp-credibility-text { font-size: 0.9rem; text-align: left; color: #4a5568; line-height: 1.6; margin: 0; }
.lp-fact-note {
  background: #fffbeb; border-left: 4px solid #f59e0b; padding: 16px 24px; border-radius: 0 8px 8px 0;
  max-width: 800px; width: 100%; font-size: 0.95rem; color: #92400e; line-height: 1.6;
}
.lp-fact-note p { margin: 0; }

/* PAGE 3: ABOUT */
.lp-about { background: #f8fafc; }
.lp-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; max-width: 800px; }
.lp-feature-item {
  background: #fff; border-radius: 50%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(15,42,92,0.08); border: 4px solid #fff; position: relative;
}
.lp-feature-item::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #38bdf8); z-index: -1;
}
.lp-feature-text { font-size: 1.1rem; font-weight: 900; color: #0f2a5c; text-align: center; line-height: 1.4; }

/* PAGE 4: HOWTO */
.lp-howto { background: #fff; }
.lp-steps-vertical { width: 100%; max-width: 700px; display: flex; flex-direction: column; gap: 24px; }
.lp-step-v-item { display: flex; gap: 20px; background: #f8fafc; padding: 24px; border-radius: 12px; border: 1px solid #e2e8f0; }
.lp-step-v-num {
  flex-shrink: 0; width: 48px; height: 48px; background: #2563eb; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
}
.lp-step-v-title { font-size: 1.2rem; font-weight: 800; color: #0f2a5c; margin: 0 0 8px; }
.lp-step-v-desc { font-size: 0.95rem; color: #4a5568; line-height: 1.6; margin: 0; }

/* PAGE 5: CHECK (ご指定により既存維持) */
.lp-check { background: #0f2a5c; padding: 60px 0; }
.lp-footer { background: #0f2a5c; color: #fff; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.lp-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lp-footer-logo { font-size: 1.4rem; font-weight: 900; letter-spacing: 0.05em; }
.lp-footer-nav { display: flex; gap: 16px; }
.lp-footer-nav a { color: #cbd5e1; text-decoration: none; font-size: 0.9rem; }
.lp-footer-nav a:hover { color: #fff; }
.lp-footer-copy { font-size: 0.8rem; color: #94a3b8; margin: 0; }

/* レスポンシブ対応 (Tablet & Mobile) */
@media (max-width: 768px) {
  .lp-nav { display: none; }
  .lp-section { padding: 60px 0; }
  .lp-sec-title { font-size: 1.6rem; }
  .lp-catch-top { font-size: 1.2rem; }
  .lp-num { font-size: 1.8rem; }
  .lp-catch-main { font-size: 2.2rem; }
  .lp-tool-title { font-size: 1.4rem; }
  .lp-credibility { flex-direction: column; gap: 16px; }
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lp-feature-item { max-width: 140px; margin: 0 auto; width: 100%; }
  .lp-step-v-item { flex-direction: column; gap: 12px; text-align: center; align-items: center; }
  .lp-step-v-num { width: 40px; height: 40px; font-size: 1.2rem; }
}


/* ================================================================
 * 追加・修正要件用 CSS (さらに一番下に追記してください)
 * ================================================================ */

/* 1. HEROセクションの背景画像とフォントサイズ大幅調整 */
.lp-hero {
  padding: 120px 0 80px;
  text-align: center;
  /* 指定の背景画像を設定 */
  background: url('https://koteishisanzei-check.com/wp-content/uploads/2026/05/taxTOP.png') center center / cover no-repeat;
}

.lp-catch-top { font-size: 4rem !important; font-weight: 800; color: #0f2a5c; margin: 0 0 10px; }
.lp-catch-main { font-size: 4rem !important; font-weight: 900; color: #0f2a5c; margin: 0 0 16px; line-height: 1.2; position: relative; display: inline-block; }
.lp-num { font-size: 5rem !important; }
.lp-catch-sub { font-size: 3rem !important; font-weight: 700; color: #4a5568; margin: 0 0 40px; }

.lp-tool-box {
  background: rgba(248, 250, 252, 0.95); /* 背景画像と被るため少し透過白を入れています */
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 900px !important; /* 900pxに変更 */
  margin: 0 auto 40px;
  position: relative;
}
.lp-tool-title { font-size: 3rem !important; font-weight: 900; color: #2563eb; margin: 0; }

/* 2. ボタンの中央配置 */
.lp-btn-main {
  display: flex !important;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

/* 3. ABOUTの特徴アイコンのグラデーション色変更 */
.lp-feature-item::before {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%) !important;
}

/* 4. HOW TO の横並びカード化 (画像挿入枠付き) */
.lp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1000px;
}
.lp-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.lp-step-img {
  width: 100%;
  aspect-ratio: 16 / 9; /* 画像の枠を16:9で確保 */
  background: #e2e8f0;  /* 実際の画像が入るまでのプレースホルダー色 */
  /* 画像を入れる場合は、ここに background: url(...) を追加するか、PHP内に <img> タグを入れます */
}
.lp-step-body {
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.lp-step-num {
  position: absolute;
  top: -24px; /* 画像とテキストエリアの境界に配置 */
  left: 24px;
  width: 48px; height: 48px;
  background: #2563eb; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 900;
  box-shadow: 0 4px 10px rgba(37,99,235,0.3);
}
.lp-step-title { font-size: 1.1rem; font-weight: 800; color: #0f2a5c; margin: 16px 0 8px; }
.lp-step-desc { font-size: 0.95rem; color: #4a5568; line-height: 1.6; margin: 0; }

/* 5. .lp-check の .lp-sec-desc 背景色無し */
.lp-check .lp-sec-desc {
  background: transparent !important;
}

/* --- PC向けの巨大フォントをスマホで調整するためのメディアクエリ --- */
@media (max-width: 768px) {
  .lp-catch-top { font-size: 1.5rem !important; }
  .lp-catch-main { font-size: 2.2rem !important; }
  .lp-num { font-size: 2.8rem !important; }
  .lp-catch-sub { font-size: 1.4rem !important; }
  .lp-tool-title { font-size: 1.8rem !important; }
  .lp-tool-box { margin: 0 16px 40px; }
  
  /* スマホ時は縦並びに変更 */
  .lp-steps-grid { grid-template-columns: 1fr; gap: 32px; }
}


/* ================================================================
 * 追加修正 (2026-05-25 #2) — 画像差し込み・色調整
 * ================================================================ */

/* HOW IT WORKS ステップカードの画像 (1:1) */
.lp-steps-grid .lp-step-card .lp-step-img {
  aspect-ratio: 1 / 1 !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.lp-steps-grid .lp-step-card:nth-child(1) .lp-step-img {
  background-image: url('https://koteishisanzei-check.com/wp-content/uploads/2026/05/building.png');
}
.lp-steps-grid .lp-step-card:nth-child(2) .lp-step-img {
  background-image: url('https://koteishisanzei-check.com/wp-content/uploads/2026/05/taxpaper.png');
}
.lp-steps-grid .lp-step-card:nth-child(3) .lp-step-img {
  background-image: url('https://koteishisanzei-check.com/wp-content/uploads/2026/05/result.png');
}

/* HERO キャッチコピーの文字色を白に */
.lp-catch-top,
.lp-catch-main,
.lp-catch-sub {
  color: #FFFFFF !important;
}

/* ABOUT 特徴アイコンの背景をグラデーション化・ボーダー削除 */
.lp-feature-item {
  background: linear-gradient(135deg, #2563eb 0%, #0f2a5c 100%) !important;
  border: none !important;
}
.lp-feature-item::before {
  display: none !important;   /* 旧グラデーションリングを非表示 */
}
.lp-feature-text {
  color: #FFFFFF !important;
}


/* ================================================================
 * 追加修正 (2026-05-25 #3)
 * ================================================================ */

/* ── HEADER：スクロール前は透明、スクロール後は #0f2a5c ── */
.lp-header {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom: none !important;
}
.lp-header.scrolled {
  background: #0f2a5c !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
  border-bottom: none !important;
}

/* ── ロゴ：白文字、span（CHECK）はオレンジ→赤グラデーション ── */
.lp-logo,
.lp-header.scrolled .lp-logo {
  color: #FFFFFF !important;
}
.lp-logo span,
.lp-header.scrolled .lp-logo span {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* ── ナビ：白文字（PC） ── */
.lp-nav a,
.lp-header.scrolled .lp-nav a {
  color: #FFFFFF !important;
}
.lp-nav a:hover,
.lp-header.scrolled .lp-nav a:hover {
  color: #fbd38d !important;
}
.lp-nav-div { color: rgba(255,255,255,0.45) !important; }

/* ── ハンバーガーボタン（SP のみ表示） ── */
.lp-hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 36px;
  height: 30px;
  cursor: pointer;
  position: relative;
  z-index: 1010;
}
.lp-hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #FFFFFF;
  border-radius: 2px;
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.lp-hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.lp-hamburger.open span:nth-child(2) { opacity: 0; }
.lp-hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* SP メニュー展開時の背景オーバーレイ */
.lp-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  z-index: 999;
}
.lp-overlay.open { opacity: 1; pointer-events: auto; }
body.lp-noscroll { overflow: hidden; }

/* ── HERO ハイライト色 ── */
.lp-hl { color: #f59e0b !important; }

/* ── セクションラベル：背景・ボーダー削除 ── */
.lp-sec-label {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* ── 信憑性カードのソースバッジ：青→紺グラデ、白文字、枠なし ── */
.lp-credibility-source {
  background: linear-gradient(135deg, #2563eb 0%, #0f2a5c 100%) !important;
  border: none !important;
  color: #FFFFFF !important;
}

/* ── ABOUT セクションの説明文：背景透過 ── */
.lp-section.lp-about .lp-sec-desc {
  background: transparent !important;
}

/* ── ABOUT 特徴アイコングリッド：幅 85% ── */
.lp-features-grid {
  width: 85% !important;
}

/* ================================================================
 *  SP 対応
 * ================================================================ */
@media (max-width: 768px) {
  /* HERO 背景画像を SP 用に差し替え */
  .lp-hero {
    background:
      url('https://koteishisanzei-check.com/wp-content/uploads/2026/05/SPtaxTOP.png') center top / cover no-repeat !important;
  }

  /* SP の catch-top を catch-main と同サイズに */
  .lp-catch-top {
    font-size: 2.2rem !important;
  }

  /* ハンバーガー表示・ナビ→右ドロワー */
  .lp-hamburger { display: block; }

  .lp-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: #0f2a5c;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 18px !important;
    padding: 80px 28px 28px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex !important;
  }
  .lp-nav.open { transform: translateX(0); }
  .lp-nav a {
    font-size: 1.05rem !important;
    color: #FFFFFF !important;
    padding: 8px 0;
    width: 100%;
  }
  .lp-nav .lp-nav-div { display: none !important; }
  .lp-nav .lp-btn-head {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%) !important;
    color: #FFFFFF !important;
    margin-top: 16px;
    padding: 10px 22px;
    border-radius: 99px;
    text-align: center;
    width: 100%;
    font-weight: 700;
  }

  /* HOW IT WORKS の画像：カードの 50% 幅で中央表示、背景色は全幅 #e2e8f0 */
  .lp-steps-grid .lp-step-card .lp-step-img {
    width: 100% !important;
    background-color: #e2e8f0 !important;
    background-size: 50% auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}


/* ================================================================
 * 追加修正 (2026-05-25 #4)
 * ================================================================ */

/* SP の HOW IT WORKS ステップ画像枠：横長 (1 : 0.6) に変更 */
@media (max-width: 768px) {
  .lp-steps-grid .lp-step-card .lp-step-img {
    aspect-ratio: 1 / 0.6 !important;
  }
}


/* ================================================================
 * 追加修正 (2026-05-25 #5) — ハンバーガーメニュー内 CTA 視認性向上
 * ================================================================ */
@media (max-width: 768px) {
  /* 今すぐCHECK ボタンを上の区切り線付きで強調 */
  .lp-nav .lp-btn-head {
    margin-top: 24px !important;
    padding: 14px 22px !important;
    font-size: 1.05rem !important;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35) !important;
    position: relative;
  }
  .lp-nav .lp-btn-head::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: -14px;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
}


/* ================================================================
 * 追加修正 (2026-05-25 #6) — lp-credibility-card 上部グラデーション化
 * ================================================================ */

/* カード全体を青→濃紺グラデーションに */
.lp-credibility-card {
  background: linear-gradient(135deg, #2563eb 0%, #0f2a5c 100%) !important;
  border: none !important;
  border-left: none !important;
  padding: 24px 24px 0 !important;     /* 下パディングは 0（テキスト要素で白を引く） */
  overflow: hidden;
  text-align: center;
}

/* lp-credibility-source: 白バッジ・濃紺テキスト */
.lp-credibility-source {
  background: #FFFFFF !important;
  color: #0f2a5c !important;
  border: none !important;
}

/* lp-cred-val: 数字をアンバー色 (#f59e0b) に */
.lp-cred-val,
.lp-cred-val span {
  color: #f59e0b !important;
}

/* lp-credibility-text: カード下部の白い説明エリア (カード端まで広がる) */
.lp-credibility-text {
  background: #FFFFFF !important;
  color: #1a2236 !important;
  margin: 20px -24px 0 !important;
  padding: 22px 24px !important;
  text-align: left;
}

/* SP 時のパディング調整 */
@media (max-width: 768px) {
  .lp-credibility-card { padding: 20px 18px 0 !important; }
  .lp-credibility-text { margin: 16px -18px 0 !important; padding: 18px !important; }
}


/* ================================================================
 * 追加修正 (2026-05-25 #7) — credibility-card のはみ出し修正・影追加
 * ================================================================ */

/* カードを縦 flex 化して、白帯が残り高さを埋めるように */
.lp-credibility-card {
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .20) !important;
}

/* 白帯 → #f8fafc に変更、flex-grow:1 でカード下まで伸ばす（はみ出し防止） */
.lp-credibility-text {
  background: #f8fafc !important;
  flex-grow: 1 !important;
}
