/* ========================================
   カタクル ホームページ - style.css
   スマホファースト設計
   ブレイクポイント: 640px / 768px / 1024px
======================================== */

/* ========== CSS カスタムプロパティ ========== */
:root {
  /* カラー */
  --color-primary:       #1B4F8C;   /* メインブルー（信頼・整理感） */
  --color-primary-dark:  #153d6e;   /* 濃いブルー（グラデーション用） */
  --color-primary-light: #2d6cb0;
  --color-accent:        #D05B14;   /* アクセントオレンジ（1色のみ・CTAなど） */
  --color-text:          #2B2B2B;   /* メインテキスト（黒に近い濃いグレー） */
  --color-text-sub:      #5c5c5c;   /* サブテキスト */
  --color-text-light:    #8a8a8a;   /* 補足・注釈 */
  --color-bg:            #ffffff;
  --color-bg-gray:       #F4F6F9;   /* セクション背景グレー */
  --color-border:        #dde1e8;
  --color-line:          #06C755;   /* LINE グリーン */

  /* タイポグラフィ */
  --font-base: -apple-system, BlinkMacSystemFont,
    'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
    'Noto Sans JP', 'Yu Gothic', 'YuGothic', sans-serif;
  --line-height-base: 1.8;

  /* レイアウト */
  --max-width: 1080px;
  --max-width-narrow: 720px;
  --section-pad-v-mobile: 3.5rem;
  --section-pad-h-mobile: 1.25rem;
  --section-pad-v-desktop: 5rem;
  --section-pad-h-desktop: 2rem;

  /* シャドウ */
  --shadow-card:       0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-card-hover: 0 4px 20px rgba(0, 0, 0, 0.13);

  /* 角丸 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* ========== リセット & ベース ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: 1rem;
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  /* スマホ固定CTAの高さ分だけ余白を確保 */
  padding-bottom: 58px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.45;
  font-weight: 700;
}

address {
  font-style: normal;
}

/* ========== ユーティリティ ========== */
.sp-only { display: block; }
.pc-only { display: none; }

@media (min-width: 768px) {
  .sp-only { display: none; }
  .pc-only { display: block; }
}

/* 共通セクション内幅 */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad-v-mobile) var(--section-pad-h-mobile);
}

@media (min-width: 768px) {
  .section-inner {
    padding: var(--section-pad-v-desktop) var(--section-pad-h-desktop);
  }
}

/* セクション背景グレー */
.section-gray {
  background-color: var(--color-bg-gray);
}

/* セクション上部ラベル（小見出し） */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* セクション見出し */
.section-title {
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

/* ========== 画像プレースホルダー ========== */
.img-placeholder {
  width: 100%;
  min-height: 220px;
  background-color: #e6eaf1;
  border: 2px dashed #b8c1d0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a8699;
  font-size: 0.8125rem;
  text-align: center;
  padding: 1.5rem;
  line-height: 1.7;
}

.img-placeholder small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #9aa3b0;
}

.section-image {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

.section-image--hero {
  aspect-ratio: 4 / 3;
}

.section-image--strength {
  aspect-ratio: 4 / 3;
}

/* ========== ボタン ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.87;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* プライマリ */
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* LINE */
.btn-line {
  background-color: var(--color-line);
  color: #fff;
}

/* 電話 */
.btn-tel {
  background-color: var(--color-accent);
  color: #fff;
}

/* アウトライン（白背景用） */
.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* アウトライン（濃色背景用） */
.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline-white:hover {
  border-color: #fff;
  opacity: 0.9;
}

/*
  見積ボタン専用: #F5C84A（ウォームゴールド）
  ― 紺のCTA背景上で補色効果により視認性が高い
  ― 文字色は濃紺 #1B3A6B: コントラスト比 約7.9:1
  ― LINE（緑）・電話（オレンジ）と役割が明確に分かれる
*/
.btn-yellow {
  background-color: #F5C84A;
  color: #1B3A6B;              /* 濃紺: 黄背景での最大コントラスト */
  border-color: #F5C84A;
  font-weight: 700;
}

.btn-yellow:hover {
  background-color: #EDB93A;   /* ホバー: 少し濃い黄 */
  border-color: #EDB93A;
  opacity: 1;                  /* 親クラスの opacity: 0.87 上書きで色変化を明確に */
}

/* サイズバリエーション */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  width: 100%;
  max-width: 320px;
}

.btn-xl {
  padding: 1.125rem 2rem;
  font-size: 1.0625rem;
  width: 100%;
}

@media (min-width: 480px) {
  .btn-xl {
    width: auto;
    min-width: 200px;
  }
}

/* ========== ヘッダー ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
}

.logo-image {
  width: 78px;
  height: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 0.35rem;
}

.logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.6875rem;
  color: var(--color-text-sub);
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .logo-image {
    width: 88px;
  }
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* PC のみ電話番号を表示 */
.header-tel {
  display: none;
  flex-direction: column;
  text-align: right;
  text-decoration: none;
}

@media (min-width: 640px) {
  .header-tel {
    display: flex;
  }
}

.tel-label {
  font-size: 0.6875rem;
  color: var(--color-text-sub);
  line-height: 1;
}

.tel-number {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.tel-hours {
  font-size: 0.625rem;
  color: var(--color-text-light);
  line-height: 1;
  margin-top: 0.2rem;
}

/* ========================================
   S01: ファーストビュー
   「住まいと家財の出口づくり」を主役として設計
   デザイン3案: variant-a / variant-b / variant-c
======================================== */

/* ---------- レイアウト（共通） ---------- */
.hero {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    padding: 5rem 2rem;
    gap: 3.5rem;
  }

  .hero-content {
    flex: 1;
    min-width: 0;
  }

  .hero-image {
    flex: 0 0 44%;
  }
}

/* ---------- 地域ラベル（共通） ---------- */
/* 「滋賀の住まい・家財整理」― 主役コピーの前提を最小の文字数で設定 */
.hero-region-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.875rem;
}

/* ---------- コピー包み要素（各案で装飾を追加） ---------- */
.hero-copy-wrap {
  margin-bottom: 1.5rem;
}

/* ---------- 主役コピー「住まいと家財の出口づくり」（共通） ---------- */
/*
  文字サイズ設計:
    clamp(最小, 流動値, 最大)
    SP 375px: 約34px / 768px: 約48px / PC 1080px: 約56px
    高齢者・スマホどちらも読みやすいサイズ帯
*/
.hero-main-copy {
  font-size: clamp(2.125rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ---------- タグライン（共通） ---------- */
/*
  2行構成:
    1行目「「残す・売る・次へ」住まいの整理を」― 流れを示す
    2行目「出口まで整えます」― 会社の本質を強調（深紅）
*/
.hero-tagline {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  font-weight: 600;
  color: var(--color-text-sub);
  line-height: 2;       /* 2行に広げて呼吸させる */
  margin-bottom: 1.25rem;
}

/*
  「出口まで整えます」― 深紅 #9B2335
  選定理由:
    ・日本の公式印章（朱印）の赤に近い落ち着いた深み
    ・広告的な #CC0000 系とは異なる格式ある赤
    ・ブルー (#1B4F8C) との補色関係で重みを出す
    ・不動産・信頼文脈で違和感のない色相
  サイズ: 1行目と同サイズのまま。色と weight の差で主張させる
*/
.tagline-emphasis {
  color: #9B2335;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* 「残す・売る・次へ」3語のカラーリング */
.tl-stay { color: #2C5282; font-weight: 700; } /* 藍色 */
.tl-sell { color: #F56565; font-weight: 700; } /* 明るい赤 */
.tl-next { color: #D69E2E; font-weight: 700; } /* アンバーゴールド */

.hero-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.95;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-cta .btn-lg {
    width: auto;
    flex: 1 1 auto;
    max-width: none;
    min-width: 160px;
  }
}

.hero-note {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.8;
  word-break: keep-all; /* 日本語の不自然な途中改行を防ぐ */
}

.hero-image .img-placeholder {
  aspect-ratio: 4 / 3;
}


/* ================================================================
   A. 信頼感重視
   ― プライマリブルーで「ブランドカラー＝信頼」を直接訴求
   ― アクセントバー（短いオレンジ線）で目線を留める
   ― 余白で主役コピーを呼吸させる
================================================================ */

/* 地域ラベル: 左ボーダーで文頭に縦アクセント */
.hero--variant-a .hero-region-label {
  display: inline-flex;
  align-items: center;
  border-left: 3px solid var(--color-primary);
  padding-left: 0.625rem;
}

/* コピー包み: 装飾ラインなし。余白のみでタグラインとの間隔を確保 */
.hero--variant-a .hero-copy-wrap {
  margin-bottom: 1.75rem;
}

/* 主役コピー: プライマリブルー。信頼感の色 */
.hero--variant-a .hero-main-copy {
  color: var(--color-primary);
}


/* ================================================================
   B. ブランドメッセージ重視
   ― ダークテキストでメッセージ自体の力強さを前面に
   ― 太いサイドストライプで「これが我々の言葉」と宣言
   ― フォントサイズを最大に設定し、存在感を最大化
================================================================ */

/* 地域ラベル: 水平ダッシュで洗練されたプレフィックス */
.hero--variant-b .hero-region-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--color-text-sub);
  letter-spacing: 0.06em;
}

.hero--variant-b .hero-region-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1.5px;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

/* コピー包み: 左に太いブルーボーダーで「中核メッセージ枠」を作る */
.hero--variant-b .hero-copy-wrap {
  border-left: 5px solid var(--color-primary);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

/* 主役コピー: ダークテキスト。メッセージの強度を色でなく重量感で表す */
.hero--variant-b .hero-main-copy {
  color: var(--color-text);
  font-size: clamp(2.375rem, 7vw, 3.875rem); /* Bは最大サイズ */
}


/* ================================================================
   C. 不動産会社らしい上品さ重視
   ― 水平罫線で「公式発表」のような格調を演出
   ― 文字色は深いネイビー、余白は広め
   ― 飾らない。構造自体が品位を語る
================================================================ */

/* 地域ラベル: 上の罫線と一体化したヘッダー扱い */
.hero--variant-c .hero-region-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--color-text-light);
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.25rem;
}

/* コピー包み: 上下に罫線。公式ステートメントの額縁 */
.hero--variant-c .hero-copy-wrap {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.375rem 0;
  margin-bottom: 1.75rem;
}

/* 主役コピー: 深いネイビー。青系の中でも最も格調のある色 */
.hero--variant-c .hero-main-copy {
  color: var(--color-primary-dark);
  font-size: clamp(2rem, 5.5vw, 3.125rem); /* Cはやや抑えて上品さを保つ */
  letter-spacing: 0.04em; /* 字間を広げて格調感を出す */
  font-weight: 700; /* 800より落として上品に */
}

/* ========== S02: よくある悩み ========== */
.worries-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .worries-list {
    grid-template-columns: 1fr 1fr;
  }
}

.worry-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background-color: #F5E6CC;             /* 淡いベージュ: 白と自然に区別できる、黄色が強すぎない上品なクリーム系 */
  border-radius: var(--radius-md);        /* 8px: やわらかい角丸 */
  padding: 1.125rem 1.375rem;             /* 上下・左右を少し広げて余白を確保 */
  border-left: 4px solid var(--color-primary);
  border-top: 1px solid rgba(0, 0, 0, 0.06);    /* 薄い上枠: 白面の上辺を際立てる */
  border-right: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05); /* ごく弱い単層影: ボーダーと合わせて自然な浮きを出す */
}

.worry-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.worry-check::after {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.625rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, -1px);
}

.worry-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.worries-lead {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  text-align: center;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* ========== S03: カタクルができること ========== */
.about-lead {
  font-size: 0.9375rem;
  line-height: 1.95;
  color: var(--color-text-sub);
  margin-bottom: 2.5rem;
  max-width: var(--max-width-narrow);
}

.about-lead strong {
  color: var(--color-text);
  font-weight: 700;
}

.about-points {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .about-points {
    grid-template-columns: 1fr 1fr;
  }
}

.about-point {
  background-color: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 3px solid var(--color-primary);
}

.point-num {
  display: inline-block;          /* 数字分だけの幅に絞る */
  font-size: 0.875rem;            /* 11px → 14px に拡大 */
  font-weight: 700;
  color: #fff;                    /* 白文字 */
  background-color: var(--color-accent); /* #D05B14 オレンジ */
  padding: 0.2rem 0.5rem;        /* 上下 3px / 左右 8px */
  border-radius: var(--radius-sm); /* 4px の角丸 */
  letter-spacing: 0.06em;         /* 背景付きになったため字間を少し詰める */
  margin-bottom: 0.75rem;         /* h3 との余白を少し広げる */
  line-height: 1.5;
}

.about-point h3 {
  display: inline-block;         /* テキスト幅だけに収める（全幅ベタ塗りを避ける） */
  font-size: 0.875rem;           /* 1remより少し引いて、本文見出しより強調ラベルらしく */
  font-weight: 700;
  color: #1472A0;                /* 深い水色: 薄すぎず読みやすい。コントラスト比 約5.5:1 */
  background-color: #FEF3C3;    /* クリーム系の落ち着いた黄: ベタ黄色にならないトーン */
  padding: 0.25rem 0.625rem;    /* 上下4px / 左右10px */
  border-radius: var(--radius-sm); /* 4px: 角丸で柔らかく、チラシっぽくならない */
  margin-bottom: 0.625rem;       /* ラベル → 本文の余白 */
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.about-point p {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.75;
}

/* ========== S04: ケース別のご相談 ========== */
.cases-lead {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: var(--max-width-narrow);
}

.cases-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ケースカード */
.case-card {
  background-color: #FEF5DC;    /* やわらかい黄みがかったベージュ: 白より親しみやすく、緑タグより主張しない */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.case-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* 売却前の片付けをハイライト */
.case-card--highlight {
  border-color: var(--color-primary);
  border-width: 2px;
}

.case-card-header {
  background-color: var(--color-bg-gray);
  padding: 1.25rem 1.25rem 1rem;
}


.case-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;                  /* 白文字: 濃い緑背景との視認性を確保 */
  background-color: #48BB78;    /* 指定色: やわらかい中緑。白文字との対比補完のため text-shadow を付与 */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); /* 白文字を締めて視認性を補う */
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

/* .case-tag--accent は将来の別用途のために残す */
.case-tag--accent {
  color: var(--color-accent);
  background-color: rgba(208, 91, 20, 0.1);
}

.case-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}

.case-desc {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  padding: 1rem 1.25rem 0.75rem;
}

.case-points {
  padding: 0 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.case-points li {
  font-size: 0.8125rem;
  color: var(--color-text);
  padding-left: 1.125rem;
  position: relative;
  line-height: 1.65;
}

.case-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.75rem;
  top: 0.15em;
}

.case-link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: #fff;      /* カードのベージュを継承させず、白で固定 */
  padding: 0.875rem 1.25rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  text-decoration: none;
  gap: 0.375rem;
  transition: background-color 0.15s;
}

.case-link::after {
  content: '›';
  font-size: 1.125rem;
  line-height: 1;
}

.case-link:hover {
  background-color: var(--color-bg-gray); /* 白ベースのホバー: 薄グレーで押せる感を表現 */
  text-decoration: none;
}

.cases-cta {
  text-align: center;
  padding-top: 0.5rem;
}

.cases-cta p {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  margin-bottom: 1.25rem;
}

.cases-cta .btn-lg {
  max-width: 100%;
}

@media (min-width: 480px) {
  .cases-cta .btn-lg {
    width: auto;
    max-width: 360px;
  }
}

/* ========== S05〜07: 強みセクション（共通） ========== */
.strength-section {
  padding: 0;
}

.strength-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .strength-layout {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
  }

  .strength-layout--reverse {
    flex-direction: row-reverse;
  }

  .strength-text {
    flex: 1;
    min-width: 0;
  }

  .strength-image {
    flex: 0 0 42%;
  }
}

.strength-desc {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  line-height: 1.95;
  margin-bottom: 1rem;
}

.strength-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.strength-list li {
  font-size: 0.9375rem;
  color: var(--color-text);
  padding-left: 1.375rem;
  position: relative;
  line-height: 1.7;
}

.strength-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  font-size: 0.5625rem;
  color: var(--color-primary);
  top: 0.45em;
}

.strength-note {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  line-height: 1.8;
  padding-top: 0.25rem;
}

.strength-image .img-placeholder {
  aspect-ratio: 4 / 3;
}

/* ========== S08: ご相談事例 ========== */
.examples-lead {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.examples-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .examples-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.example-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.example-tag-wrap {
  margin-bottom: 0.75rem;
}

.example-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  background-color: rgba(208, 91, 20, 0.09);
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.example-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.example-situation,
.example-process {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.example-label {
  font-weight: 700;
  color: var(--color-text);
}

/* ========== S09: ご相談の流れ ========== */
.flow-steps {
  display: flex;
  flex-direction: column;
  max-width: var(--max-width-narrow);
}

.flow-step {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2.25rem;
  position: relative;
}

/* コネクターライン */
.flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.375rem;
  top: 2.75rem;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  padding-top: 0.4rem;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.85;
}

/* ========== S10: 料金・見積 ========== */
.pricing-lead {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  line-height: 1.95;
  margin-bottom: 2rem;
  max-width: var(--max-width-narrow);
}

.pricing-notes {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .pricing-notes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pricing-notes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-note {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--color-primary);
}

.pricing-note h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.625rem;
  line-height: 1.5;
}

.pricing-note p {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.pricing-cta {
  text-align: center;
}

/* ========== S11: よくあるご質問 ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  max-width: var(--max-width-narrow);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  /* dt のデフォルトスタイルをリセット */
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-base);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  gap: 1rem;
  line-height: 1.65;
  transition: color 0.15s;
}

.faq-btn:hover {
  color: var(--color-primary);
}

/* FAQ の +/- アイコン */
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  position: relative;
  color: var(--color-primary);
  transition: transform 0.2s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  transition: transform 0.25s;
}

.faq-icon::before {
  width: 0.625rem;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 0.625rem;
}

/* 開いているとき + を回転して × に */
.faq-btn[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
}

/* FAQ 回答エリア（高さアニメーション） */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-answer.is-open {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 0 1.375rem 0;
}

.faq-answer-inner p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* ========== S12: 最後のCTA ========== */
.cta-final {
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
}

.cta-final .section-inner {
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 1.875rem;
  }
}

.cta-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.95;
  margin-bottom: 2.25rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* CTA 内の電話番号 */
.cta-tel-num {
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.cta-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ========== フッター ========== */
.site-footer {
  background-color: #18232e;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    padding: 3rem 2rem;
  }
}

.footer-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-address {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-nav {
    flex-direction: row;
    gap: 3rem;
  }
}

.footer-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  background-color: #0f1820;
  text-align: center;
  padding: 1rem 1.25rem;
}

.copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
}

/* ========== 固定フッターCTA（スマホのみ） ========== */
.sticky-cta {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.18);
  /* JS で opacity を制御するため初期は非表示 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none !important;
  }
}

.sticky-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.15s;
}

.sticky-btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.sticky-btn--tel {
  background-color: var(--color-accent);
}

.sticky-btn--line {
  background-color: var(--color-line);
}

/* ========== 下層ページ共通 ========== */
.subpage-hero {
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 0.875rem;
}

.breadcrumb a {
  color: var(--color-primary);
}

.subpage-title {
  font-size: 1.875rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.subpage-lead {
  max-width: 760px;
  font-size: 1rem;
  color: var(--color-text-sub);
  line-height: 1.9;
}

.subpage-section .section-inner {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .subpage-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card,
.faq-static-item {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}

.info-card h2,
.faq-static-item h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.info-card p,
.faq-static-item p {
  color: var(--color-text-sub);
  line-height: 1.85;
}

.faq-static {
  display: grid;
  gap: 1rem;
}

.check-list {
  display: grid;
  gap: 0.875rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--color-text-sub);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background-color: var(--color-accent);
  transform: translateY(-50%);
}

.detail-table {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #fff;
}

.detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
}

.detail-row:first-child {
  border-top: none;
}

.detail-row span:first-child {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.detail-row span:last-child {
  color: var(--color-text-sub);
}

@media (max-width: 639px) {
  .detail-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
