/* ====================================================
   融資のアイラボ — グローバルフォントポリッシュ v2
   目的: サイト全体のタイポグラフィを統一・洗練させる
   ==================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Plus+Jakarta+Sans:wght@400;600;800&family=Zen+Kaku+Gothic+New:wght@700;900&display=swap');

/* ---- Body 全体 ---- */
body, html {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif !important;
  font-size: 15px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- 見出し h1〜h3 ---- */
h1, h2, h3,
.entry-title,
.site-title,
.page-title {
  font-family: 'Zen Kaku Gothic New', 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

h4, h5, h6 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
}

/* ---- カスタムページ (.tp ラッパー) 共通上書き ---- */
.tp,
.tp *:not(svg):not(path):not(circle):not(rect):not(line):not(polyline):not(polygon) {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
}

/* .tp 内の見出し */
.tp h1, .tp h2, .tp h3, .tp h4,
.tp .tp-st,
.tp .tp-pg-label,
.tp .tp-hl h1,
.tp .tp-fi h3,
.tp .tp-st-big {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

/* .tp 内の本文・説明 */
.tp p, .tp li, .tp td, .tp th, .tp dd, .tp dt {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ---- 数字・英字を Plus Jakarta Sans に ---- */
.tp-badge,
.tp-pg-price,
.tp-btn span,
.tp-step-num,
.tp-vs-mark-o,
.tp-vs-mark-x {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
  font-weight: 800;
}

/* ---- CTAボタン ---- */
.tp-btn,
.btn-primary-rich,
.btn-line-rich {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
}

/* ---- インタビューカード ---- */
.tp-iv-title {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
}

.tp-iv-name, .tp-iv-cat {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
  font-weight: 600;
}

/* ---- 比較表 ---- */
.tp-vs-table th {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
}

.tp-vs-table td {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
}

.tp-vs-message {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.8;
}

/* ---- 市町村ページ (.section 系) ---- */
.section h2, .section h3 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em;
}

.section p, .section li, .section dt, .section dd {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
  font-weight: 400;
}

/* ---- サイドバー ---- */
.widget-title,
.localSection h2,
.localSection h3 {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 700 !important;
}

/* ---- ナビゲーション ---- */
.global-nav-list li a,
.site-header a {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---- フッター ---- */
.site-footer,
.site-footer * {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
}

/* ---- ヒーローの大見出し (h1 b) ---- */
.tp-hl h1 b {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em;
}

/* ---- ヒーローの小見出し ---- */
.tp-hl-small {
  font-family: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ============================================================
   融資のアイラボ sogyo.jp — デザインポリッシュCSS
   Lightning テーマ「外観 > カスタマイズ > 追加CSS」に貼り付けて使用
   ============================================================ */

/* --- Google Fonts (Inter + Noto Sans JP) --- */

/* ========== 0. デザイントークン ========== */
:root {
  --color-primary:    #0b5faa;
  --color-primary-dark: #094d8a;
  --color-primary-light: #e8f1fa;
  --color-accent:     #f0a500;
  --color-line-green: #06c755;
  --color-bg-white:   #ffffff;
  --color-bg-light:   #f7f9fc;
  --color-bg-subtle:  #eef3f9;
  --color-text:       #2d3748;
  --color-text-light: #5a6577;
  --color-text-muted: #8a94a6;
  --color-border:     #dde3ec;
  --color-danger:     #dc3545;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-pill: 999px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.10);
  --container-max: 1080px;
  --spacing-section: 72px;
}

/* ========== 1. 全体リセット・ベース ========== */
body {
  font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

/* コンテナ */
.entry-body,
.main-section,
.site-body-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ========== 2. 見出し (H1 / H2 / H3) ========== */
.entry-body h1,
.main-section h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.entry-body h2,
.main-section h2 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--color-primary-dark);
  padding-bottom: 12px;
  margin-top: var(--spacing-section);
  margin-bottom: 24px;
  border-bottom: 3px solid var(--color-primary);
  position: relative;
}
.entry-body h2::after,
.main-section h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
}

.entry-body h3,
.main-section h3 {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
}

/* ========== 3. 本文・段落 ========== */
.entry-body p {
  margin-bottom: 1.4em;
  color: var(--color-text);
}
.entry-body ul,
.entry-body ol {
  padding-left: 1.6em;
  margin-bottom: 1.4em;
}
.entry-body li {
  margin-bottom: .6em;
}

/* ========== 4. セクション背景の交互切り替え ========== */
section {
  padding: var(--spacing-section) 0;
}
section:nth-of-type(even) {
  background-color: var(--color-bg-light);
}

/* ========== 5. ヒーローセクション ========== */
.hero,
.hero-sogyo,
.hero-bank,
.hero-common {
  position: relative;
  text-align: center;
  padding: 56px 24px 48px;
  background: linear-gradient(135deg, var(--color-bg-subtle) 0%, var(--color-bg-white) 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.hero::before,
.hero-sogyo::before,
.hero-bank::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.hero h1,
.hero-sogyo h1,
.hero-bank h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  margin-bottom: 20px;
  position: relative;
}

/* ヒーロー画像 */
.hero img,
.hero-sogyo img,
.hero-bank img,
.hero-common img {
  max-height: 360px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

/* ヒーローリードテキスト */
.hero .lead,
.hero-sogyo .lead {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 28px;
}

/* ヒーロー下のバッジ */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}
.hero-badges .badge::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
}

/* ========== 6. CTAボタン ========== */
/* 主CTA */
.btn-form,
.btn-cta-primary {
  display: inline-block;
  padding: 16px 48px;
  background: var(--color-primary);
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  transition: all .25s ease;
  text-align: center;
}
.btn-form:hover,
.btn-cta-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* 補助CTA - 電話 */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--color-bg-white);
  color: var(--color-primary) !important;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  transition: all .25s ease;
}
.btn-phone:hover {
  background: var(--color-primary-light);
}
.btn-phone::before {
  content: '📞';
}

/* 補助CTA - LINE */
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--color-line-green);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all .25s ease;
}
.btn-line:hover {
  filter: brightness(.92);
}

/* 詳細ボタン */
.btn-detail {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: var(--color-primary) !important;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-pill);
  transition: all .25s ease;
  margin-top: 12px;
}
.btn-detail:hover {
  background: var(--color-primary);
  color: #fff !important;
}

/* CTAボックス全体 */
.cta-box,
.global-cta {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-bg-light) 100%);
  border-radius: var(--radius-lg);
  margin-top: 40px;
}
.cta-box p {
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 24px;
  color: var(--color-text);
}

/* CTAリスト */
.cta-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.cta-list li {
  margin: 0;
}

/* コンパクトCTA（ヒーロー内用） */
.cta-compact {
  text-align: center;
  margin: 28px 0;
}

/* ========== 7. カードデザイン ========== */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card.primary {
  border-top: 4px solid var(--color-primary);
}
.card.secondary {
  border-top: 4px solid var(--color-accent);
}
.card h3 {
  border-left: none;
  padding-left: 0;
  color: var(--color-primary-dark);
  margin-top: 0;
}
.card p {
  color: var(--color-text-light);
  font-size: .95rem;
}

/* ========== 8. 特徴セクション ========== */
.features ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.features li {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 0;
}
.features li h3 {
  border-left: none;
  padding-left: 0;
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-top: 0;
}

/* ========== 9. 料金表 ========== */
.pricing-box,
.pricing-detail .pricing-box {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.pricing-box h3 {
  border-left: none;
  padding-left: 0;
  text-align: center;
  margin-top: 0;
  margin-bottom: 24px;
}

/* dl 料金テーブル */
.price-table {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  border-top: 1px solid var(--color-border);
}
.price-table dt {
  padding: 16px 12px;
  background: var(--color-bg-subtle);
  font-weight: 600;
  font-size: .92rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}
.price-table dd {
  padding: 16px 16px;
  margin: 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .95rem;
}
.price-table dd:last-child,
.price-table dt:last-of-type {
  border-bottom: none;
}

/* 料金の計算例 */
.price-example-large {
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 20px;
  text-align: center;
}
.price-example-large p {
  margin-bottom: .4em;
}

/* ========== 10. FAQ ========== */
.faq dl,
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}
.faq dt,
.faq-list dt {
  font-weight: 700;
  color: var(--color-primary-dark);
  padding: 16px 20px;
  background: var(--color-bg-subtle);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-left: 4px solid var(--color-primary);
  margin-top: 16px;
}
.faq dd,
.faq-list dd {
  padding: 16px 20px;
  margin: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ========== 11. フロー（ご相談の流れ） ========== */
.flow ol {
  counter-reset: flow-counter;
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin-inline: auto;
}
.flow li {
  counter-increment: flow-counter;
  position: relative;
  padding: 20px 20px 20px 64px;
  margin-bottom: 16px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.flow li::before {
  content: counter(flow-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
}

/* ========== 12. 事例カード ========== */
.case-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  transition: box-shadow .25s ease;
}
.case-card:hover {
  box-shadow: var(--shadow-md);
}
.case-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.case-meta .tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-size: .78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

/* カテゴリナビ */
.cat-list,
.cat-list-industry {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.cat-list li a,
.cat-list-industry li a {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  transition: all .2s ease;
}
.cat-list li a:hover,
.cat-list-industry li a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ========== 13. フォームエリア ========== */
.contact-form-area {
  max-width: 720px;
  margin-inline: auto;
}
.form-wrapper {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
/* CF7 フォーム内のスタイル */
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="tel"],
.form-wrapper textarea,
.form-wrapper select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: border-color .2s;
  background: var(--color-bg-light);
}
.form-wrapper input:focus,
.form-wrapper textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11,95,170,.12);
}
.form-wrapper .wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 28px auto 0;
  padding: 16px 24px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all .25s ease;
}
.form-wrapper .wpcf7-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* 注意書きボックス */
.form-notice {
  background: var(--color-bg-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: .88rem;
  color: var(--color-text-light);
}
.disclaimer,
.disclaimer-mini {
  font-size: .82rem;
  color: var(--color-text-muted);
  padding: 16px 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius-sm);
  margin-top: 20px;
}

/* ========== 14. 信頼セクション ========== */
.company-trust {
  text-align: center;
  padding: 56px 24px;
}
.company-trust h2 {
  border-bottom: none;
}
.company-trust h2::after {
  display: none;
}

/* リンク */
.link-voice {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ========== 15. レスポンシブ ========== */
@media (max-width: 768px) {
  :root {
    --spacing-section: 48px;
  }

  .hero, .hero-sogyo, .hero-bank, .hero-common {
    padding: 36px 16px 32px;
  }
  .hero h1, .hero-sogyo h1, .hero-bank h1 {
    font-size: 1.5rem;
  }
  .hero img, .hero-sogyo img, .hero-bank img, .hero-common img {
    max-height: 240px;
  }

  /* バッジ */
  .hero-badges {
    gap: 8px;
  }
  .hero-badges .badge {
    padding: 6px 14px;
    font-size: .8rem;
  }

  /* カード */
  .card-container {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 24px 20px;
  }

  /* 特徴 */
  .features ul {
    grid-template-columns: 1fr;
  }

  /* 料金 */
  .price-table {
    grid-template-columns: 1fr;
  }
  .price-table dt {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .pricing-box {
    padding: 24px 16px;
  }

  /* CTA */
  .btn-form, .btn-cta-primary {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 320px;
  }
  .btn-phone, .btn-line {
    padding: 12px 20px;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .cta-box {
    padding: 32px 16px;
  }

  /* フォーム */
  .form-wrapper {
    padding: 24px 16px;
  }

  /* カテゴリナビ */
  .cat-list, .cat-list-industry {
    gap: 8px;
  }
  .cat-list li a, .cat-list-industry li a {
    padding: 6px 14px;
    font-size: .8rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }
  .entry-body h2, .main-section h2 {
    font-size: 1.2rem;
  }
  .hero h1, .hero-sogyo h1, .hero-bank h1 {
    font-size: 1.3rem;
  }
}

/* ========================================================= */
/* 市町村ページ (municipality-page) 専用スタイル           */
/* ========================================================= */

/* コンテナ幅をリセットしてフルスクリーンにする */
.municipality-page {
    /* コンテナの制限を無視して画面幅いっぱいにする */
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
}

/* 各セクションの中身は中央寄せ・最大幅を設定 */
.municipality-page .section {
    padding-top: 60px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

/* Make hero and trust signals break out of the container to be full width */
.municipality-page .hero-city,
.municipality-page .trust-signals {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-left: max(20px, calc(50vw - 450px));
    padding-right: max(20px, calc(50vw - 450px));
    box-sizing: border-box;
}

/* --- ヒーローセクション --- */
.municipality-page .hero-city {
    background: linear-gradient(135deg, #f0f7fa 0%, #d9eaf7 100%);
    text-align: center;
    padding-top: 80px;
    padding-bottom: 60px;
}
.municipality-page .hero-city h1 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #1a365d;
    margin-bottom: 20px;
    line-height: 1.4;
}
.municipality-page .hero-city p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    font-weight: 500;
}
.municipality-page .hero-city .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- トラストバッジ --- */
.municipality-page .trust-signals {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.municipality-page .trust-badge {
    background: #fff5e6;
    color: #e67e22;
    border: 1px solid #fad390;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
}

/* --- 見出し --- */
.municipality-page .section h2 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: #1a365d;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.municipality-page .section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #3b6899;
    border-radius: 2px;
}

/* --- 相談事例カード --- */
.municipality-page .case-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.municipality-page .case-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    position: relative;
    text-align: left;
}
.municipality-page .case-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #3b6899;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}
.municipality-page .case-voice {
    font-weight: bold;
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}
.municipality-page .case-voice::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    top: -2px;
    color: #3b6899;
    font-size: 20px;
}
.municipality-page .case-answer {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #e67e22;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

/* --- 情報リスト --- */
.municipality-page .info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.municipality-page .info-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 15px;
    color: #444;
}
.municipality-page .info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #e67e22;
    font-weight: bold;
    font-size: 18px;
}
.municipality-page .info-list li strong {
    color: #1a365d;
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

/* --- サポート内容リスト --- */
.municipality-page .section ul:not(.info-list) {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    background: #f0f7fa;
    border-radius: 8px;
    padding: 20px;
}
.municipality-page .section ul:not(.info-list) li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: bold;
    color: #3b6899;
}
.municipality-page .section ul:not(.info-list) li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #e67e22;
    font-size: 12px;
    top: 4px;
}

/* --- 料金カード --- */
.municipality-page .price-card {
    background: #fff5e6;
    border: 2px solid #fad390;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    margin: 30px 0;
}
.municipality-page .price-card-main {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.municipality-page .price-card-main .highlight {
    color: #e67e22;
    font-size: 26px;
}
.municipality-page .price-card-sub {
    font-size: 14px;
    font-weight: bold;
    color: #e67e22;
}
.municipality-page .price-card-note {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

/* --- 免責事項 --- */
.municipality-page .disclaimer {
    font-size: 12px;
    color: #888;
    text-align: left;
}

/* --- FAQ微調整 --- */
.municipality-page .faq dl {
    text-align: left;
}

/* ========================================================= */
/* インタビューセクション (全体共通デザイン)                */
/* ========================================================= */
.interview-section-full {
    background: #0d4b83;
    padding: 60px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    position: relative;
    overflow-x: hidden;
}
.interview-section-full::before {
    /* Subtle geometric background pattern if desired */
    content: '';
    position: absolute;
    top: 0; left: 0; width: 50%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.interview-section-full .tp-st {
    color: #fff !important;
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px !important;
    font-family: 'Zen Kaku Gothic New', sans-serif !important;
    font-weight: 900 !important;
}
.interview-section-full .tp-iv-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}
.interview-section-full .tp-iv-card {
    background: #fff !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    color: inherit !important;
    border: none !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}
.interview-section-full .tp-iv-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
}
.interview-section-full .tp-iv-img {
    position: relative !important;
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
}
.interview-section-full .tp-iv-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.interview-section-full .tp-iv-cat {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    background: #2b82c9 !important;
    color: #fff !important;
    padding: 6px 16px !important;
    font-size: 13px !important;
    font-weight: bold !important;
    z-index: 2;
}
.interview-section-full .tp-iv-body {
    padding: 20px !important;
    flex-grow: 1 !important;
}
.interview-section-full .tp-iv-name {
    font-size: 13px !important;
    color: #555 !important;
    margin-bottom: 10px !important;
}
.interview-section-full .tp-iv-title {
    font-size: 15px !important;
    font-weight: bold !important;
    color: #0d4b83 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .interview-section-full .tp-iv-wrap {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 600px) {
    .interview-section-full .tp-iv-wrap {
        grid-template-columns: 1fr !important;
    }
}

/* ========================================================= */
/* 詳細事例ページ (Case Details)                         */
/* ========================================================= */
.case-detail-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 20px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}
.case-hero {
    text-align: center;
    margin-bottom: 40px;
}
.case-hero img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.case-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e9ecef;
}
.case-info-table th, .case-info-table td {
    padding: 12px 15px;
    border: 1px solid #e9ecef;
}
.case-info-table th {
    background: #f4f8fc;
    width: 30%;
    text-align: left;
    color: #1a365d;
    font-weight: bold;
}
.case-info-table td {
    font-size: 16px;
    color: #444;
}
.case-qa {
    margin-bottom: 30px;
}
.case-qa h3 {
    font-size: 20px;
    color: #3b6899;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f0f7;
    position: relative;
    font-weight: bold;
}
.case-qa h3::before {
    content: 'Q.';
    color: #e67e22;
    font-size: 24px;
    margin-right: 10px;
}
.case-qa p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 20px;
    background: #f9fbfe;
    border-radius: 8px;
    position: relative;
}
.case-comment {
    background: #fff5e6;
    border-left: 5px solid #e67e22;
    padding: 25px;
    border-radius: 4px;
}
.case-comment h4 {
    font-size: 18px;
    color: #e67e22;
    margin-top: 0;
    margin-bottom: 15px;
}
.case-comment p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}
/* ========================================================= */
/* リスクカード (Risk Cards Styling)                         */
/* ========================================================= */
.municipality-page .risk-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}
.municipality-page .risk-card {
    background: #fffafa; /* very light red/pink for risk */
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 25px 25px 20px 25px;
    position: relative;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.municipality-page .risk-label {
    position: absolute;
    top: -12px;
    left: 20px;
    background: #dc3545; /* Bootstrap red */
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.municipality-page .risk-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #dc3545 !important;
    margin-bottom: 12px !important;
    line-height: 1.5;
}
.municipality-page .risk-desc {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #444 !important;
    margin: 0 !important;
}

/* ========================================================= */
/* ローカルサポートセクション (Local Support Styling)        */
/* ========================================================= */
.municipality-page .local-support {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 40px !important;
    margin: 40px 0;
    border: 1px solid #e9ecef;
}
.municipality-page .local-support h2 {
    font-size: 24px !important;
    margin-bottom: 20px !important;
}

/* ========================================================= */
/* ヒーローセクションの強みバッジ (Hero Strengths)           */
/* ========================================================= */
.municipality-page .hero-strengths {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-bottom: 30px;
    position: relative;
    z-index: 2;
}
.municipality-page .strength-circle {
    background: #fff;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    border: 3px solid #f8f9fa; /* slightly off-white border to match original */
    transition: transform 0.3s ease;
}
.municipality-page .strength-circle:hover {
    transform: translateY(-5px);
}
.municipality-page .strength-circle svg {
    margin-bottom: 5px;
}
.municipality-page .strength-circle .st-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1a365d !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 5px;
}
.municipality-page .strength-circle .st-value {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #1a365d !important;
    margin: 0 !important;
    line-height: 1 !important;
    margin-top: 4px !important;
}
.municipality-page .strength-circle .st-unit {
    font-size: 14px !important;
    font-weight: bold !important;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .municipality-page .hero-strengths {
        gap: 10px;
    }
    .municipality-page .strength-circle {
        width: 105px;
        height: 105px;
    }
    .municipality-page .strength-circle .st-title {
        font-size: 11px !important;
    }
    .municipality-page .strength-circle .st-value {
        font-size: 24px !important;
    }
    .municipality-page .strength-circle .st-unit {
        font-size: 11px !important;
    }
}

/* ========================================================= */
/* リスクカードの画像レイアウト (Risk Cards Images)          */
/* ========================================================= */
.municipality-page .risk-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
}
.municipality-page .risk-img-wrap {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 3px solid #ffeeba;
}
.municipality-page .risk-img-wrap img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}
.municipality-page .risk-text-wrap {
    flex-grow: 1;
}

@media (max-width: 768px) {
    .municipality-page .risk-card {
        flex-direction: column;
        text-align: center;
    }
    .municipality-page .risk-img-wrap {
        width: 100px;
        height: 100px;
        margin: 0 auto 15px;
    }
}

/* ========================================================= */
/* プレミアムヒーローセクション (Premium Hero)                 */
/* ========================================================= */
.municipality-page .hero-premium-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #f4f7f9;
}
.municipality-page .hero-premium {
    background-image: linear-gradient(rgba(13, 33, 56, 0.8), rgba(18, 43, 70, 0.85)), url('/wp-content/uploads/ailabo-images/corporate_hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    padding: 80px 20px 100px 20px;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
}
.municipality-page .hero-premium-content {
    max-width: 900px;
    margin: 0 auto;
}
.municipality-page .hero-subtitle {
    color: #e2c073 !important; /* elegant gold */
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.municipality-page .hero-premium h1 {
    font-size: 32px;
    font-weight: 800;
    color: #fff !important;
    line-height: 1.5;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.municipality-page .hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* 強みバッジのオーバーラップ配置 */
.municipality-page .hero-strengths-overlap {
    margin-top: -65px; /* overlap the hero image */
    padding-bottom: 40px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .municipality-page .hero-premium {
        padding: 60px 20px 80px 20px;
    }
    .municipality-page .hero-subtitle {
        font-size: 14px;
    }
    .municipality-page .hero-premium h1 {
        font-size: 22px;
    }
    .municipality-page .hero-desc {
        font-size: 14px;
    }
    .municipality-page .hero-strengths-overlap {
        margin-top: -50px;
    }
}

/* ========================================================= */
/* トップページ＆市町村ページ共通CSS (.tp)                   */
/* ========================================================= */

.tp{max-width:1200px;margin:0 auto;font-family:'Noto Sans JP',sans-serif;color:#333;line-height:1.8;padding:0 24px}
.tp *{box-sizing:border-box}
.tp img{max-width:100%;height:auto;display:block}
.tp a{text-decoration:none}
.tp h1,.tp h2,.tp h3{border:none!important;padding:0!important;margin:0!important}
.tp h2::after,.tp h3::after{display:none!important}

/* Hero Full Width */
.tp-hero-fw{background:#f4f8fc;width:100%;padding:64px 4vw;margin-bottom:80px}
.tp-hero-inner{max-width:1400px;margin:0 auto;display:flex;gap:64px;align-items:center}
.tp-hl{flex:1.2}
.tp-hl h1{font-weight:800;color:#1e3a5f;line-height:1.4!important;margin-bottom:20px!important}
.tp-hl-small{display:block;font-size:1.6rem;margin-bottom:4px}
.tp-hl h1 b{display:block;font-size:3.2rem;color:#1e3a5f;letter-spacing:-0.02em}
.tp-hl .tp-desc{font-size:.95rem;color:#4a5c73;line-height:1.8;margin-bottom:32px!important}
.tp-hr{flex:1}
.tp-hr img{width:100%;max-width:540px;margin:0 auto}

/* Badges */
.tp-badges{display:flex;gap:12px;margin-bottom:32px!important}
.tp-badge{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 12px;background:#fff;border-radius:12px;font-size:.8rem;font-weight:700;color:#1e3a5f;text-align:center;flex:1;box-shadow:0 4px 12px rgba(0,0,0,.04);border:1px solid #e8f0f7}
.tp-badge-icon{width:44px;height:44px;border-radius:50%;background:#eef5fc;display:flex;align-items:center;justify-content:center}
.tp-badge svg{width:24px;height:24px;stroke:#3b6899;fill:none;stroke-width:1.8}

/* CTA */
.tp-cta{display:flex;gap:12px}
.tp-btn{display:inline-flex;align-items:center;padding:14px 24px;border-radius:10px;font-weight:800;color:#fff!important;gap:12px;flex:1;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.1);transition:transform .2s}
.tp-btn:hover{transform:translateY(-2px)}
.tp-btn-t{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
.tp-btn small{font-size:.75rem;font-weight:600;opacity:.9;margin-bottom:2px}
.tp-btn span{font-size:1.2rem;letter-spacing:0.02em}
.tp-btn svg{width:36px;height:36px;fill:#fff;flex-shrink:0}
.tp-btn-o{background:linear-gradient(135deg, #f39c12, #e67e22)}
.tp-btn-g{background:linear-gradient(135deg, #2ecc71, #27ae60)}
.tp-btn-b{background:linear-gradient(135deg, #3498db, #2980b9)}

/* Section title */
.tp h2.tp-st, .tp h3.tp-st{display:table;margin:0 auto 40px!important;font-size:1.4rem!important;font-weight:800;color:#1e3a5f;position:relative;padding:0 24px 12px!important;border-bottom:2px solid #3b6899!important}
.tp-st::before,.tp-st::after{content:'';position:absolute;top:100%;width:2px;height:10px;background:#3b6899;display:block!important}
.tp-st::before{left:0;transform-origin:top left;transform:rotate(45deg)}
.tp-st::after{right:0;transform-origin:top right;transform:rotate(-45deg)}

/* Services */
.tp-svc{display:flex;gap:24px;margin-bottom:72px}
.tp-svc-card{flex:1;background:#fff;border-radius:16px;border:2px solid #e8f0f7;padding:40px 32px;display:flex;align-items:center;gap:24px;text-decoration:none!important;transition:all .2s;position:relative}
.tp-svc-card:hover{border-color:#3b6899;box-shadow:0 8px 24px rgba(59,104,153,.1);transform:translateY(-2px)}
.tp-svc-icon{width:88px;height:88px;border-radius:50%;background:#3b6899;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tp-svc-icon svg{width:48px;height:48px;fill:#fff}
.tp-svc-card-green:hover{border-color:#4ea86e;box-shadow:0 8px 24px rgba(78,168,110,.1)}
.tp-svc-card-green .tp-svc-icon{background:#4ea86e}
.tp-svc-text h3{font-size:1.4rem!important;font-weight:800;color:#1e3a5f;margin-bottom:12px!important}
.tp-svc-text p{font-size:.9rem;color:#4a5c73;line-height:1.6}
.tp-svc-card::after{content:'›';position:absolute;right:32px;top:50%;transform:translateY(-50%);font-size:2.2rem;color:#3b6899;font-weight:300}
.tp-svc-card-green::after{color:#4ea86e}

/* Worries */
.tp-wg{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:72px}
.tp-wi{background:#fff;border-radius:16px;padding:32px 24px;text-align:center;border:1px solid #e8f0f7;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:20px}
.tp-wi:hover{box-shadow:0 8px 20px rgba(0,0,0,.06);transform:translateY(-2px)}
.tp-wi img{width:72px;height:72px;object-fit:contain}
.tp-wi p{font-size:.95rem;font-weight:700;color:#1e3a5f;line-height:1.6}

/* Features */
.tp-fg{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:72px}
.tp-fi{background:#fff;border-radius:16px;padding:32px 20px;text-align:center;border:1px solid #e8f0f7;transition:all .2s}
.tp-fi:hover{box-shadow:0 8px 20px rgba(0,0,0,.06);transform:translateY(-2px)}
.tp-fi img{width:88px;height:88px;margin:0 auto 20px;object-fit:contain}
.tp-fi h3{display:inline-block;font-size:.95rem!important;font-weight:800;color:#1e3a5f;margin-bottom:16px!important;background:linear-gradient(transparent 65%, #ffeaa7 65%);padding:0 4px}
.tp-fi p{font-size:.8rem;color:#5a6d8a;line-height:1.6;text-align:left}

/* Pricing */
.tp-pg-wrap{display:flex;gap:20px;margin-bottom:72px}
.tp-pg-card{flex:1;background:#fff;border-radius:16px;padding:32px 24px;text-align:center;border:2px solid #e8f0f7;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.tp-pg-card.yellow{background:#fffcf0;border-color:#f6e8b4;justify-content:center}
.tp-pi-icon{margin-bottom:20px;display:flex;align-items:center;gap:12px}
.tp-pi-icon svg{width:40px;height:40px}
.tp-pi-icon h3{font-size:1.2rem!important;font-weight:800;color:#1e3a5f}
.tp-pg-card .tp-pv{font-size:1.05rem;font-weight:700;color:#1e3a5f}
.tp-pg-card .tp-pv em{font-style:normal;font-size:3.2rem;font-weight:800;color:#3b6899;padding:0 4px;line-height:1}
.tp-pg-card.green .tp-pv em{color:#4ea86e}
.tp-pg-card.green .tp-pn{font-size:.85rem;color:#888;margin-top:8px}
.tp-pg-card.yellow .tp-pb-icon{width:64px;height:64px;border-radius:50%;background:#f08300;display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.tp-pg-card.yellow .tp-pb-icon svg{width:36px;height:36px;fill:#fff}
.tp-pg-card.yellow h3{font-size:.95rem!important;color:#333;font-weight:700;margin-bottom:8px!important}
.tp-pg-card.yellow .tp-pv{font-size:1.15rem;color:#333}

/* Articles */
.tp-ag{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-bottom:72px}
.tp-ai{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06);border:1px solid #e8f0f7;transition:all .2s;display:flex;flex-direction:column}
.tp-ai:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.tp-ai .tp-at{height:120px}
.tp-ai .tp-at img{width:100%;height:100%;object-fit:cover}
.tp-ai .tp-ab{padding:20px 16px;flex:1;display:flex;flex-direction:column}
.tp-ai .tp-ab h3{font-size:.9rem!important;font-weight:800;color:#333;line-height:1.5;margin-bottom:auto!important}
.tp-ai .tp-ab .tp-am{font-size:.8rem;color:#3b6899;font-weight:800;margin-top:16px;display:inline-flex;align-items:center;gap:4px}
.tp-ai .tp-ab .tp-am::after{content:'›';font-size:1.2rem;font-weight:300}

/* Interview */
.tp-iv-wrap { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:72px; }
.tp-iv-card { background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.06); transition:transform .2s; border:1px solid #e8f0f7; }
.tp-iv-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(0,0,0,.1); }
.tp-iv-img { position:relative; width:100%; height:200px; }
.tp-iv-img img { width:100%; height:100%; object-fit:cover; }
.tp-iv-cat { position:absolute; top:0; left:0; background:#3498db; color:#fff; font-size:.8rem; font-weight:700; padding:6px 16px; }
.tp-iv-body { padding:20px; }
.tp-iv-name { font-size:.85rem; color:#5a6d8a; margin-bottom:8px; }
.tp-iv-title { font-size:1.05rem!important; font-weight:800; color:#1e3a5f; line-height:1.5; margin:0!important; }

/* Comparison Table */
.tp-vs-wrap { margin-bottom:72px; }
.tp-vs-message { text-align:center; font-size:1.1rem; font-weight:800; color:#e74c3c; margin-bottom:24px; line-height:1.6; }
.tp-vs-table { width:100%; border-collapse:collapse; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 4px 12px rgba(0,0,0,.06); border:1px solid #e8f0f7; }
.tp-vs-table th, .tp-vs-table td { padding:16px 20px; border-bottom:1px solid #e8f0f7; text-align:left; vertical-align:middle; line-height:1.5; }
.tp-vs-table th { background:#f4f8fc; font-weight:800; color:#1e3a5f; width:25%; }
.tp-vs-table th.tp-vs-ailabo { background:#3b6899; color:#fff; width:40%; text-align:center; font-size:1.1rem; }
.tp-vs-table th.tp-vs-other { background:#e8f0f7; width:35%; text-align:center; color:#5a6d8a; }
.tp-vs-table td.tp-vs-ailabo-val { background:#f9fbfe; font-weight:800; color:#3b6899; }
.tp-vs-table td.tp-vs-other-val { color:#5a6d8a; font-size:.9rem; }
.tp-vs-table tr:last-child th, .tp-vs-table tr:last-child td { border-bottom:none; }
.tp-vs-mark-o { color:#e74c3c; font-size:1.4rem; font-weight:900; margin-right:8px; }
.tp-vs-mark-x { color:#95a5a6; font-size:1.2rem; font-weight:900; margin-right:8px; }

/* Footer CTA */
.tp-fc{background:#3b6899;border-radius:20px;padding:56px;color:#fff;display:flex;align-items:center;gap:48px;position:relative;overflow:hidden;margin-bottom:48px}
.tp-fc-l{flex:1;position:relative;z-index:2}
.tp-fc-l h2{font-size:1.8rem!important;font-weight:800;color:#fff!important;margin-bottom:16px!important}
.tp-fc-l p{font-size:.95rem;color:rgba(255,255,255,.9);line-height:1.6;margin-bottom:32px!important}
.tp-fc-r{position:absolute;right:0;bottom:0;width:320px;z-index:1}
.tp-fc-r img{width:100%;display:block}

@media(max-width:960px){
.tp-hero-inner{flex-direction:column}
.tp-hero-fw{padding:40px 24px}
.tp-hl h1 b{font-size:2.4rem}
.tp-svc{flex-direction:column}
.tp-wg{grid-template-columns:repeat(2,1fr)}
.tp-fg{grid-template-columns:repeat(3,1fr)}
.tp-pg-wrap{flex-direction:column}
.tp-ag{grid-template-columns:repeat(3,1fr)}
.tp-iv-wrap{grid-template-columns:repeat(2,1fr)}
.tp-fc{flex-direction:column;text-align:center;padding:40px 24px}
.tp-fc-r{position:relative;width:240px;margin:0 auto;margin-top:-20px}
}
@media(max-width:768px){
.tp-vs-table, .tp-vs-table tbody, .tp-vs-table tr, .tp-vs-table th, .tp-vs-table td { display:block; width:100%; }
.tp-vs-table tr { margin-bottom:16px; border-bottom:2px solid #3b6899; }
.tp-vs-table th.tp-vs-ailabo, .tp-vs-table th.tp-vs-other { display:none; }
.tp-vs-table th { background:#f4f8fc; text-align:center; }
.tp-vs-table td.tp-vs-other-val { background:#e8f0f7; position:relative; padding-left:90px; }
.tp-vs-table td.tp-vs-other-val::before { content:"無料窓口："; position:absolute; left:16px; font-weight:800; font-size:.8rem; color:#5a6d8a; }
.tp-vs-table td.tp-vs-ailabo-val { position:relative; padding-left:90px; border-bottom:none!important; }
.tp-vs-table td.tp-vs-ailabo-val::before { content:"アイラボ："; position:absolute; left:16px; font-weight:800; font-size:.8rem; color:#3b6899; }
}
@media(max-width:600px){
.tp-wg{grid-template-columns:1fr}
.tp-fg{grid-template-columns:1fr}
.tp-ag{grid-template-columns:1fr}
.tp-iv-wrap{grid-template-columns:1fr}
.tp-cta{flex-direction:column}
.tp-btn{width:100%}
.tp-badges{flex-wrap:nowrap;overflow-x:auto;padding-bottom:12px;margin:0 -24px 32px;padding-left:24px;padding-right:24px}
.tp-badge{min-width:110px}
}

/* ========== 料金ボックス（銀行融資市町村ページ用） ========== */
.pricing-box {
  background: #f4f8fc;
  border: 1px solid #dde8f5;
  border-radius: 12px;
  padding: 24px 28px;
}
.pricing-box h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #1e3a5f;
  margin-bottom: 16px;
}
.price-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  margin: 0;
}
.price-table dt {
  font-weight: 700;
  color: #4a5568;
  font-size: .9rem;
  white-space: nowrap;
}
.price-table dd {
  color: #1e3a5f;
  font-size: .95rem;
  margin: 0;
}
.price-table dd strong {
  font-size: 1.2rem;
  color: #0b5faa;
}
/* hero-common にバー装飾を追加 */
.hero-common::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4ea86e, #27ae60);
}
.hero-common h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #1e3a5f;
  margin-bottom: 16px;
}
.hero-common .lead {
  font-size: .95rem;
  color: #4a5568;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 24px;
}


/* ========== FAQアコーディオン ========== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin-inline: auto;
}
.faq-accordion details {
  background: #fff;
  border: 1px solid var(--color-border, #dde3ec);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
  transition: box-shadow .2s;
}
.faq-accordion details[open] {
  box-shadow: 0 4px 16px rgba(11,95,170,.10);
  border-color: #0b5faa;
}
.faq-accordion summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: #1e3a5f;
  list-style: none;
  user-select: none;
  transition: background .2s;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #0b5faa;
  color: #fff;
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 800;
}
.faq-accordion summary::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #0b5faa;
  border-bottom: 2px solid #0b5faa;
  transform: rotate(45deg);
  margin-left: auto;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-accordion details[open] summary::after {
  transform: rotate(-135deg);
}
.faq-accordion summary:hover {
  background: #f0f5fb;
}
.faq-accordion .faq-answer {
  padding: 0 20px 20px 20px;
  border-top: 1px solid #eef3f9;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .95rem;
  color: #4a5568;
  line-height: 1.8;
}
.faq-accordion .faq-answer::before {
  content: "A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #f0a500;
  color: #fff;
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 800;
  margin-top: 16px;
}
@media (max-width: 600px) {
  .faq-accordion summary { font-size: .92rem; padding: 14px 16px; }
  .faq-accordion .faq-answer { padding: 0 16px 16px 16px; }
}
