/* ============================================================
   住宅ローン救済ナビ LP
   ============================================================ */

/* ---------- カラー・共通変数 ---------- */
:root {
  --navy:        #143a66;   /* メインの濃紺 */
  --navy-deep:   #0d2c52;   /* ピル背景など */
  --orange:      #f15a24;   /* 強調オレンジ */
  --green:       #11a85a;   /* 「無料」テキスト緑 */
  --line-green:  #06c755;   /* LINEブランドグリーン */
  --bg-light:    #e9f0f7;   /* CTAカード背景 */
  --border:      #d4e0ec;   /* バッジ枠線 */
  --text:        #143a66;
  --white:       #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
               "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background: #f2f4f7;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* 全体を一定幅の中央寄せに（スマホ前提のLP） */
.lp {
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
}

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

/* ============================================================
   ヒーローセクション
   ============================================================ */
.hero { padding: 18px 18px 28px; }

/* ---------- ロゴ ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.logo__icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.logo__title {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.2;
}
.logo__sub {
  font-size: 12px;
  font-weight: 500;
  margin-top: 2px;
}

/* ---------- 安心バッジ ---------- */
.badges {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}
.badge {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 6px 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: left;
  background: var(--white);
}
.badge__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge__label { font-size: 10px; font-weight: 700; line-height: 1.25; }
.badge__main  { font-size: 11px; font-weight: 700; line-height: 1.25; }
.badge__main strong { font-size: 14px; font-weight: 900; }
.badge__main .is-orange { color: var(--orange); font-size: 14px; }

/* ---------- メインコピー ---------- */
.catch { text-align: center; margin-bottom: 18px; }
.catch__pill {
  display: inline-block;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 7px 22px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.catch__title {
  font-size: 31px;
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: .01em;
}
.catch__line { display: block; }
.catch__title small { font-size: 22px; }
.catch__title em { color: var(--orange); font-style: normal; }
.catch__lead {
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 10px;
}

/* ---------- 3人の写真 ---------- */
.hero-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #dfe7ef;
  /* 背景が見える高さを確保（上部にオフィス、下部に人物） */
  aspect-ratio: 100 / 92;
}
.hero-photo__bg {
  /* 1枚目：オフィス写真を背景いっぱいに */
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo__people {
  /* 2枚目：人物を背景の上に重ねて下揃え・中央 */
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 94%;
  height: auto;
  object-fit: contain;
}

/* ---------- 4つの解決策カード ---------- */
.solutions {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  /* 写真の上に重ねる */
  margin-top: -42px;
  position: relative;
  z-index: 2;
  padding: 0 2px;
}
.solution {
  background: var(--white);
  border-radius: 10px;
  padding: 12px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 12px rgba(20, 58, 102, .10);
}
.solution__icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-bottom: 7px;
}
.solution__label {
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

/* ---------- CTA ---------- */
.cta { margin-top: 26px; }
.cta__heading {
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cta__slash {
  width: 2px;
  height: 22px;
  background: var(--navy);
  border-radius: 2px;
  display: inline-block;
}
.cta__slash--l { transform: rotate(-20deg); }
.cta__slash--r { transform: rotate(20deg); }

.cta__card {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
}
.cta__card-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 14px;
}
.cta__card-title .is-green     { color: var(--green); }
.cta__card-title .is-line-green{ color: var(--line-green); }

/* LINEボタン */
.line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--line-green);
  color: var(--white);
  text-decoration: none;
  font-size: 19px;
  font-weight: 900;
  padding: 14px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(6, 199, 85, .35);
  transition: transform .12s ease, filter .12s ease;
}
.line-btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.line-btn:active { transform: translateY(0); }
.line-btn__icon {
  background: var(--white);
  color: var(--line-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
  padding: 4px 8px;
  border-radius: 8px;
  line-height: 1;
}
/* アイコンを画像に差し替えた場合（.line-btn img より詳細度を高くして上書き） */
.line-btn img.line-btn__icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 0;
  flex-shrink: 0;
}
.line-btn--lg img.line-btn__icon-img { width: 34px; height: 34px; }
/* LINEボタンを画像に差し替えた場合に余白を消す用 */
.line-btn img { width: 100%; height: auto; border-radius: 999px; }

/* ============================================================
   セクション2：お悩み・リスク
   ============================================================ */
:root { --check-blue: #2670d6; --cream: #fbf5e1; }

.worry { padding: 28px 18px 32px; }

/* 見出し */
.sec-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: .01em;
}
.sec-heading em { color: var(--orange); font-style: normal; }
.sec-heading em.is-green { color: var(--green); }

/* お悩みチェックリスト */
.worry-card {
  position: relative;
  border: 1.5px solid #cfe0ef;
  border-radius: 14px;
  background: var(--white);
  padding: 18px 16px;
  overflow: hidden;
  margin-bottom: 22px;
}
.checklist { list-style: none; position: relative; z-index: 2; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  padding: 7px 0;
}
.check {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
.check circle { fill: var(--check-blue); }

/* 男女イラスト（右下に重ねる） */
.worry-card__img {
  position: absolute;
  right: 4px;
  bottom: 0;
  width: 40%;
  max-width: 170px;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

/* 相談誘導バナー */
.worry-banner {
  background: var(--navy);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 26px;
}

/* 放置リスク */
.risk {
  background: var(--cream);
  border-radius: 14px;
  padding: 20px 16px 16px;
}
.risk__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.risk__warn { width: 56px; height: 52px; flex-shrink: 0; }
.risk__title {
  font-size: 23px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
}
.risk__title em { color: var(--orange); font-style: normal; }

/* STEP */
.steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; align-items: center; gap: 12px; }
.step__badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.step__badge small { font-size: 8.5px; font-weight: 700; letter-spacing: .04em; }
.step__badge b { font-size: 17px; font-weight: 900; margin-top: 1px; }
.step__name { font-size: 17px; font-weight: 900; color: var(--navy); }
.step__desc { font-size: 11.5px; font-weight: 500; color: #6b7886; margin-top: 2px; }

/* 注意書き */
.risk__note {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fdfbf0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
}
.risk__note svg { width: 20px; height: 18px; flex-shrink: 0; }

/* ============================================================
   セクション3：解決方法・比較表
   ============================================================ */
:root { --blue-mid: #3f6fc6; --proposal-bg: #eaf2fb; }

.proposal {
  background: var(--proposal-bg);
  padding: 28px 18px 32px;
}
.sec-heading--sm { font-size: 20px; margin-top: 8px; }

/* 4つの解決方法カード */
.props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 18px;
}
.prop-card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 12px;
}
.prop-card__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 8px;
}
.prop-card__row {
  display: flex;
  align-items: center;
  gap: 9px;
}
.prop-card__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  object-fit: contain;
}
.prop-card__desc {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  color: #43586b;
}

/* バナー */
.proposal-banner {
  background: var(--blue-mid);
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 13px 16px;
  border-radius: 10px;
  margin-bottom: 28px;
}

/* 比較表（1枚画像） */
.comparison {
  border-radius: 10px;
  overflow: hidden;
}
.comparison img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   セクション4：安心・専門家紹介
   ============================================================ */
.assurance { padding: 30px 18px 34px; }

/* 下線付き見出し */
.sec-heading--line {
  text-align: left;
  font-size: 21px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--navy);
  margin-bottom: 20px;
}

/* チェックリストカード（薄い青背景） */
.assurance-card {
  background: #eef4fb;
  border-radius: 14px;
  padding: 16px 16px;
  margin-bottom: 28px;
}
.assurance-card .checklist li { align-items: flex-start; }
.assurance-card .check { margin-top: 1px; }

/* 専門家サポート枠 */
.support {
  border: 1.5px solid #cdddee;
  border-radius: 18px;
  overflow: hidden;
  padding-bottom: 0;
}
.support__banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: 18.5px;
  font-weight: 900;
  padding: 13px 14px;
  border-radius: 14px;
  margin: 12px 12px 6px;
}

/* 2×2グリッド */
.support__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px 4px 14px;
}
.support__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 8px;
}
.support__item:nth-child(1),
.support__item:nth-child(2) { border-bottom: 1px solid #e2e9f1; }
.support__item:nth-child(odd) { border-right: 1px solid #e2e9f1; }
.support__icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  margin-bottom: 10px;
}
.support__text {
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.35;
}

/* 専門家プロフィール */
.expert {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 4px 16px 14px;
}
.expert__photo {
  width: 44%;
  max-width: 175px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}
.expert__name { flex: 1; padding-bottom: 14px; }
.expert__role {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.expert__person {
  font-size: 28px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .02em;
}

/* 下部バー */
.support__foot {
  background: #eef4fb;
  color: var(--navy);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 14px;
}

/* ============================================================
   セクション5：LINEで無料相談
   ============================================================ */
:root { --leaf: #5aa83f; --leaf-bg: #eef6e9; }

.line-merit { padding: 30px 18px 34px; }

.sec-heading em.is-line-green { color: var(--leaf); font-style: normal; }

/* 5つのメリットカード */
.merits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 26px;
}
.merit {
  background: var(--leaf-bg);
  border-radius: 12px;
  padding: 16px 10px 14px;
  text-align: center;
}
.merit--wide { grid-column: 1 / -1; }
.merit__icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 8px;
}
.merit__title {
  font-size: 17px;
  font-weight: 900;
  color: var(--leaf);
  margin-bottom: 5px;
}
.merit__desc {
  font-size: 11.5px;
  font-weight: 500;
  color: #44535f;
  line-height: 1.4;
}

/* CTA */
.cta2 { text-align: center; }
.cta2__title {
  font-size: 21px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 13px;
}
.cta2__title .is-green      { color: var(--green); }
.cta2__title .is-line-green { color: var(--leaf); }

/* ============================================================
   セクション6：ご相談の流れ
   ============================================================ */
.flow { padding: 30px 18px 34px; }

.flow-steps { list-style: none; }

.flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid #e0e7ef;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 3px 8px rgba(20, 58, 102, .06);
}
.flow-step__badge {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.flow-step__badge small { font-size: 9px; font-weight: 700; letter-spacing: .04em; }
.flow-step__badge b { font-size: 19px; font-weight: 900; margin-top: 2px; }
.flow-step__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  object-fit: contain;
}
.flow-step__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
}

/* 下向き矢印 */
.flow-arrow {
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flow-arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 14px solid var(--navy);
}

/* ============================================================
   セクション7：相談事例
   ============================================================ */
:root { --case-blue: #2a63c2; --case-bg: #eef3fb; }

.cases { padding: 30px 18px 34px; }

/* 見出しバナー */
.cases__heading {
  display: block;
  width: fit-content;
  margin: 0 auto 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 11px 40px;
  border-radius: 999px;
}

/* 事例カード */
.case {
  background: var(--case-bg);
  border: 1.5px solid #d6e2f1;
  border-radius: 16px;
  padding: 18px 16px;
  margin-bottom: 20px;
}
.case__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.case__badge {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid #cdd9e8;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--navy);
}
.case__badge small { font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.case__badge b { font-size: 22px; font-weight: 900; margin-top: 1px; }
.case__title {
  flex: 1;
  font-size: 16.5px;
  font-weight: 900;
  color: var(--case-blue);
  line-height: 1.4;
  padding-bottom: 8px;
  border-bottom: 1.5px solid #cfdcec;
}
.case__attr {
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.case__body {
  font-size: 15px;
  font-weight: 500;
  color: #20303f;
  line-height: 1.65;
  margin-bottom: 16px;
}
.case__result {
  background: #dbe7f6;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  line-height: 1.45;
  padding: 12px 14px;
  border-radius: 8px;
}

/* ============================================================
   セクション8：よくある質問
   ============================================================ */
.faq { background: #e8f0fb; padding: 30px 16px 34px; }

.faq__card {
  position: relative;
  background: var(--white);
  border: 1.5px solid #3f63ad;
  border-radius: 18px;
  padding: 42px 18px 26px;
  margin-top: 22px;
}

/* 見出しバナー */
.faq__heading {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--navy);
  color: var(--white);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: .06em;
  padding: 10px 32px;
  border-radius: 999px;
}

/* Q&A */
.qa { margin-bottom: 22px; }
.qa:last-child { margin-bottom: 0; }
.qa__q,
.qa__a {
  display: flex;
  gap: 9px;
  line-height: 1.6;
}
.qa__q {
  align-items: center;
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.qa__a {
  align-items: flex-start;
  font-size: 14.5px;
  font-weight: 500;
  color: #22303f;
}
.qa__mark {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}
.qa__mark--q { background: var(--navy); color: var(--white); }
.qa__mark--a {
  background: #dbe7f6;
  color: var(--navy);
  margin-top: 1px;
}

/* ============================================================
   セクション9：最終CTA・会社情報
   ============================================================ */
:root { --bright-blue: #1f5fd0; --company-green: #4d9b3c; }

.final { padding: 30px 18px 36px; }

.final__title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}
.final__title em,
.final__lead em { color: var(--bright-blue); font-style: normal; }
.final__lead {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

/* 3つの安心ポイント */
.final__points { position: relative; margin-bottom: 22px; }
.final__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.fpoint {
  background: #eef4fb;
  border-radius: 12px;
  padding: 14px 6px 16px;
  text-align: center;
}
.fpoint__title {
  font-size: 13px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 10px;
}
.fpoint__icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto;
}
/* スマホ画像（右下に重ねる） */
.final__phone {
  position: absolute;
  right: -6px;
  bottom: -26px;
  width: 64px;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.18));
}

/* LINEボタン */
.final__cta { text-align: center; margin-bottom: 36px; }
.final__badge {
  display: inline-block;
  position: relative;
  background: #fff4b8;
  color: #2e7d32;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 22px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.final__badge::before,
.final__badge::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 2px;
  height: 16px;
  background: #ffd54a;
}
.final__badge::before { left: -8px; transform: rotate(-20deg); }
.final__badge::after  { right: -8px; transform: rotate(20deg); }
.line-btn--lg { font-size: 21px; padding: 17px 16px; }

/* 会社情報 */
.company__heading {
  text-align: center;
  font-size: 21px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.company__heading::before,
.company__heading::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 0;
  border-top: 2px dashed #9fb3c8;
  vertical-align: middle;
  margin: 0 10px;
}
.company {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d7dee6;
  font-size: 13.5px;
}
.company th,
.company td {
  border: 1px solid #d7dee6;
  text-align: left;
  vertical-align: middle;
  padding: 10px 10px;
}
.company th {
  width: 34%;
  background: var(--company-green);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}
.company__ico {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}
.company td {
  background: var(--white);
  color: var(--navy);
  font-weight: 500;
  line-height: 1.55;
}