/* ============================================================
   ファミリスクLP v2 — デザイン刷新
   テーマ: [data-theme="warm"] 温かみ系 / [data-theme="trust"] 信頼感系
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ブランドカラー（トナリスク準拠） */
  --green: #1fa63b;
  --green-deep: #158130;
  --green-bright: #2cb52b;
  --green-pale: #e7f5e9;
  --orange: #ed6c2d;
  --navy: #1f2c6b;
  --red: #c8123c;
  --yellow: #fff100;
  --line: #06c755;
  --r-scale: 1;
}

html[data-theme="warm"] {
  --bg: #fffdf7;
  --bg-alt: #f3f8ea;
  --card: #ffffff;
  --card-bd: #eae3d3;
  --ink: #3d362c;
  --sub: #6e675c;
  --head-font: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --marker: #ffe869;
  --r: 16px;
  --r-lg: 24px;
  --r-btn: 999px;
  --r-icon: 50%;
  --shadow-sm: 0 2px 10px rgba(90, 80, 40, 0.07);
  --shadow-md: 0 6px 22px rgba(90, 80, 40, 0.12);
  --shadow-lg: 0 14px 36px rgba(90, 80, 40, 0.16);
  --fv-bg: radial-gradient(120% 140% at 85% 0%, #eef7e4 0%, #fdfaef 55%, #fffdf7 100%);
}

html[data-theme="trust"] {
  --bg: #ffffff;
  --bg-alt: #f1f7f3;
  --card: #ffffff;
  --card-bd: #dfe7e1;
  --ink: #1e2a26;
  --sub: #5a6660;
  --head-font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --marker: #fff100;
  --r: 8px;
  --r-lg: 12px;
  --r-btn: 8px;
  --r-icon: 14px;
  --shadow-sm: 0 1px 6px rgba(15, 40, 30, 0.07);
  --shadow-md: 0 6px 18px rgba(15, 40, 30, 0.10);
  --shadow-lg: 0 14px 32px rgba(15, 40, 30, 0.14);
  --fv-bg: linear-gradient(165deg, #e9f4fb 0%, #ddeff0 55%, #d9eedd 100%);
}

html[data-theme="standard"] {
  --bg: #ffffff;
  --bg-alt: #f2f8ef;
  --card: #ffffff;
  --card-bd: #e2e8de;
  --ink: #26302a;
  --sub: #5d6862;
  --head-font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --marker: #ffe96b;
  --r: 12px;
  --r-lg: 16px;
  --r-btn: 12px;
  --r-icon: 16px;
  --shadow-sm: 0 2px 8px rgba(25, 45, 32, 0.06);
  --shadow-md: 0 6px 20px rgba(25, 45, 32, 0.10);
  --shadow-lg: 0 14px 34px rgba(25, 45, 32, 0.14);
  --fv-bg: linear-gradient(165deg, #eef7f1 0%, #e3f1e0 55%, #f4faf0 100%);
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { -webkit-tap-highlight-color: transparent; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- ヘッダー ---------- */
header {
  background: var(--card);
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 0 var(--card-bd), 0 4px 16px rgba(0,0,0,0.05);
}
.logo-name { font-family: var(--head-font); font-size: 24px; font-weight: 900; color: var(--green); line-height: 1.2; }
.logo-sub { font-size: 11px; color: var(--sub); font-weight: 500; letter-spacing: 0.04em; }
.header-right { display: flex; align-items: center; gap: 12px; }
.btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--line); color: #fff;
  padding: 12px 24px; border-radius: calc(var(--r-btn) * var(--r-scale));
  font-weight: 900; font-size: 14px; text-decoration: none;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-line:hover { transform: translateY(-2px); box-shadow: 0 7px 18px rgba(6, 199, 85, 0.4); }
.btn-line .icon { font-size: 18px; }

/* ---------- セクション共通 ---------- */
section { padding: 88px 40px; }
.inner { max-width: 1020px; margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block; position: relative;
  background: var(--green); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  padding: 7px 22px; margin-bottom: 22px;
}
html[data-theme="warm"] .section-label { border-radius: 999px; }
html[data-theme="standard"] .section-label { border-radius: 4px; }
html[data-theme="trust"] .section-label { border-radius: 3px; }
html[data-theme="trust"] .section-label::after,
html[data-theme="standard"] .section-label::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: var(--green); border-bottom: none;
}
h2 {
  font-family: var(--head-font);
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 900; line-height: 1.5; color: var(--ink);
  text-wrap: pretty;
}
h2 em, .fv-title em, .worry-text em {
  font-style: normal; color: var(--green);
  background: linear-gradient(transparent 64%, var(--marker) 64%, var(--marker) 94%, transparent 94%);
}
body.no-marker h2 em, body.no-marker .fv-title em, body.no-marker .worry-text em { background: none; }
.sec-head::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--green); margin: 26px auto 0; border-radius: 2px;
}
.brokerage .sec-head::after, .cta .sec-head::after { background: var(--yellow); }

/* ---------- スクロールリビール ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.in { opacity: 1; transform: none; }
  .reveal:nth-child(2) { transition-delay: 0.08s; }
  .reveal:nth-child(3) { transition-delay: 0.16s; }
  .reveal:nth-child(4) { transition-delay: 0.24s; }
}

/* ---------- FV ---------- */
.fv { background: var(--fv-bg); padding: 0; position: relative; overflow: hidden; }
.fv::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: rgba(31, 166, 59, 0.07); left: -200px; bottom: -300px;
}
.fv-inner {
  max-width: 1100px; margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center;
  gap: 48px; padding: 72px 40px 80px;
}
.fv-service {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--green-deep); font-weight: 700; letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.fv-service::before, .fv-service::after { content: ""; width: 26px; height: 2px; background: var(--green); border-radius: 1px; }
.fv-service-name {
  font-family: var(--head-font);
  font-size: clamp(46px, 5.6vw, 62px); font-weight: 900; color: var(--green);
  line-height: 1.15; margin-bottom: 20px; letter-spacing: 0.02em;
}
.fv-eyebrow { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.fv-eyebrow span {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); border: 1.5px solid var(--card-bd);
  padding: 7px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--sub);
  box-shadow: var(--shadow-sm);
}
.fv-eyebrow span .icon { font-size: 17px; color: var(--green); }
.fv-eyebrow span.highlight { background: var(--green); border-color: var(--green); color: #fff; }
.fv-eyebrow span.highlight .icon { color: #fff; }
.fv-title {
  font-family: var(--head-font);
  font-size: clamp(30px, 3.8vw, 42px); font-weight: 900; line-height: 1.45;
  margin-bottom: 18px; text-wrap: pretty;
}
.fv-desc { font-size: 15px; color: var(--sub); line-height: 2; margin-bottom: 32px; }
.fv-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-line-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--line); color: #fff;
  padding: 19px 42px; border-radius: calc(var(--r-btn) * var(--r-scale));
  font-weight: 900; font-size: 17px; text-decoration: none;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.38);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-line-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6, 199, 85, 0.45); }
.btn-line-cta .icon { font-size: 22px; }
.fv-photo-wrap { position: relative; }
.fv-photo {
  width: 100%; height: 420px; object-fit: cover; display: block;
  border-radius: calc(var(--r-lg) * var(--r-scale));
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 1;
}
html[data-theme="warm"] .fv-photo-wrap::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: rgba(31, 166, 59, 0.14);
  border-radius: calc(var(--r-lg) * var(--r-scale));
}
html[data-theme="trust"] .fv-photo { border: 5px solid #fff; }
html[data-theme="trust"] .fv-photo-wrap::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  background: var(--navy); opacity: 0.9;
  border-radius: calc(var(--r-lg) * var(--r-scale));
}
html[data-theme="standard"] .fv-photo { border: 5px solid #fff; }
html[data-theme="standard"] .fv-photo-wrap::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  background: rgba(31, 166, 59, 0.15);
  border-radius: calc(var(--r-lg) * var(--r-scale));
}

/* ---------- 悩み ---------- */
.worries { background: var(--bg); }
.worries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.worry-card {
  background: var(--card); border: 1px solid var(--card-bd);
  border-radius: calc(var(--r-lg) * var(--r-scale));
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.worry-num {
  display: flex; align-items: center; gap: 12px;
  font-size: 18px; font-weight: 900; color: var(--green);
  letter-spacing: 0.06em; margin-bottom: 18px;
}
.worry-num::after { content: ""; height: 2px; flex: 1; background: var(--green-pale); border-radius: 1px; }
.worry-photo {
  width: 136px; height: 136px; object-fit: cover; object-position: top;
  border-radius: 50%; background: #fff;
  border: 6px solid var(--green-pale);
  margin: 0 auto 20px; display: block;
}
.worry-text { font-size: 15px; font-weight: 700; line-height: 1.85; margin-bottom: 16px; }
.worry-comment {
  font-size: 13px; color: var(--sub); line-height: 1.85;
  background: var(--bg-alt); border-radius: calc(var(--r) * var(--r-scale));
  padding: 14px 16px; position: relative;
}
.worry-comment::before {
  content: ""; position: absolute; top: -8px; left: 28px;
  border: 8px solid transparent; border-bottom-color: var(--bg-alt); border-top: none;
}

/* ---------- 強み ---------- */
.solution { background: var(--bg-alt); }
.solution .sec-head p { font-size: 15px; color: var(--sub); line-height: 2.1; margin-top: 22px; text-wrap: pretty; }
.solution .sec-head p strong { color: var(--green-deep); }
.solution-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solution-item {
  background: var(--card); border-radius: calc(var(--r) * var(--r-scale));
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--card-bd);
}
.solution-item-head { display: flex; align-items: center; gap: 13px; margin-bottom: 12px; }
.solution-item-icon {
  width: 52px; height: 52px; border-radius: calc(var(--r-icon) * var(--r-scale, 1));
  background: var(--green-pale); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
}
html[data-theme="warm"] .solution-item-icon { border-radius: 50%; }
.solution-item-icon .icon { font-size: 26px; }
.solution-item-title { font-family: var(--head-font); font-size: 17px; font-weight: 900; }
.solution-item-desc { font-size: 13px; color: var(--sub); line-height: 1.9; }

/* ---------- サンプルレポート ---------- */
.report { background: var(--bg); }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.report-thumb {
  border: 1px solid var(--card-bd); border-radius: calc(var(--r) * var(--r-scale));
  overflow: hidden; box-shadow: var(--shadow-md); background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.report-thumb:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.report-thumb img { width: 100%; height: auto; display: block; }
.report-cta { text-align: center; margin-top: 40px; }
.btn-report {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: #fff;
  padding: 18px 52px; border-radius: calc(var(--r-btn) * var(--r-scale));
  font-weight: 900; font-size: 16px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(31, 166, 59, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-report:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31, 166, 59, 0.4); background: var(--green-deep); }
.btn-report .icon { font-size: 15px; }
.btn-report-label { text-align: center; line-height: 1.45; }
.btn-report-sub { display: block; font-size: 12px; font-weight: 700; }

/* ---------- 料金プラン ---------- */
.products { background: var(--bg-alt); }
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.product-card {
  border: 1px solid var(--card-bd); border-radius: calc(var(--r-lg) * var(--r-scale));
  overflow: hidden; display: flex; flex-direction: column;
  background: var(--card); box-shadow: var(--shadow-sm);
}
.product-card.featured { border: 2px solid var(--orange); box-shadow: var(--shadow-md); }
.product-head {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  color: #fff; padding: 18px 22px;
  display: flex; align-items: center; gap: 11px;
}
.product-card.featured .product-head { background: linear-gradient(135deg, #e05f1f 0%, var(--orange) 100%); }
.product-head .icon { font-size: 24px; }
.product-head h3 { font-family: var(--head-font); font-size: 17px; font-weight: 900; line-height: 1.4; }
.product-body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.price { display: flex; align-items: baseline; gap: 4px; color: var(--green-deep); margin-bottom: 14px; }
.product-card.featured .price { color: var(--orange); }
.price .num { font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -0.01em; }
.price .unit { font-size: 14px; font-weight: 700; }
.price .tax { font-size: 12px; font-weight: 500; color: var(--sub); margin-left: 2px; }
.product-items { list-style: none; font-size: 13.5px; color: var(--ink); }
.product-items li { display: flex; gap: 9px; padding: 7px 0; line-height: 1.7; border-bottom: 1px dashed var(--card-bd); }
.product-items li:last-child { border-bottom: none; }
.product-items li::before {
  content: "✓"; flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%; margin-top: 2px;
  background: var(--green-pale); color: var(--green-deep);
  font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.product-note { font-size: 12px; color: var(--sub); line-height: 1.8; margin-top: auto; padding-top: 16px; }
.product-note a { color: var(--green-deep); font-weight: 700; }
.product-sub { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--card-bd); }
.product-sub:last-of-type { border-bottom: none; margin-bottom: 0; }
.product-sub-title {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--head-font); font-size: 15px; font-weight: 900; margin-bottom: 8px;
}
.product-sub-title .icon { font-size: 19px; color: var(--green-deep); }
.product-sub .price { margin-bottom: 10px; }
.product-sub .price .num { font-size: 28px; }

/* ---------- 仲介 ---------- */
.brokerage { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.brokerage::before {
  content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.04); right: -160px; top: -240px;
}
.brokerage .section-label { background: rgba(255, 255, 255, 0.16); }
html[data-theme="trust"] .brokerage .section-label::after,
html[data-theme="standard"] .brokerage .section-label::after { border-top-color: rgba(255, 255, 255, 0.16); }
.brokerage h2 { color: #fff; }
.brokerage h2 em { color: var(--yellow); background: none; }
.brokerage-box {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: calc(var(--r-lg) * var(--r-scale));
  padding: 34px 38px; display: flex; align-items: center; gap: 28px;
  position: relative;
}
.brokerage-icon {
  width: 76px; height: 76px; border-radius: calc(var(--r-icon) * var(--r-scale, 1)); flex-shrink: 0;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
html[data-theme="warm"] .brokerage-icon { border-radius: 50%; }
.brokerage-icon .icon { font-size: 38px; }
.brokerage-text { font-size: 15px; line-height: 2; }
.brokerage-text strong { color: var(--yellow); }
.refund-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
  border-radius: calc(var(--r) * var(--r-scale));
  padding: 26px 30px; margin-top: 22px; position: relative;
}
.refund-box-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 900; color: #fff; margin-bottom: 8px;
}
.refund-box-title .icon { font-size: 22px; color: var(--yellow); }
.refund-box-desc { font-size: 13.5px; color: rgba(255, 255, 255, 0.95); line-height: 1.9; }

/* ---------- 調査の流れ ---------- */
.flow { background: var(--bg); }
.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative; }
.flow-steps::before {
  content: ""; position: absolute; top: 27px; left: 13%; right: 13%;
  border-top: 2px dashed var(--green); opacity: 0.4;
}
.flow-step { text-align: center; padding: 0 10px; position: relative; }
.flow-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--green); color: #fff; border: 4px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 21px; margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(31, 166, 59, 0.3);
  position: relative; z-index: 1;
}
.flow-label { font-family: var(--head-font); font-size: 15.5px; font-weight: 900; margin-bottom: 8px; line-height: 1.5; }
.flow-desc { font-size: 12.5px; color: var(--sub); line-height: 1.85; text-align: left; }
.point-box {
  background: var(--bg-alt); border: 1.5px solid var(--green);
  border-radius: calc(var(--r) * var(--r-scale));
  padding: 26px 30px; margin-top: 44px;
}
.point-box-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 900; color: var(--green-deep); margin-bottom: 8px;
}
.point-box-title .icon { font-size: 22px; }
.point-box-desc { font-size: 13.5px; color: var(--ink); line-height: 1.95; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 45%, var(--green-bright) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.cta::before { width: 380px; height: 380px; left: -120px; bottom: -190px; }
.cta::after { width: 300px; height: 300px; right: -90px; top: -150px; }
.cta .inner { position: relative; }
.cta .section-label { background: rgba(255, 255, 255, 0.2); }
html[data-theme="trust"] .cta .section-label::after,
html[data-theme="standard"] .cta .section-label::after { border-top-color: rgba(255, 255, 255, 0.2); }
.cta h2 { color: #fff; }
.cta h2 em { color: var(--yellow); background: none; }
.cta .sec-head { margin-bottom: 0; }
.cta-desc { font-size: 15px; color: rgba(255, 255, 255, 0.92); margin: 18px 0 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn-line-cta {
  background: #fff; color: var(--line);
  padding: 20px 52px; font-size: 18px;
  box-shadow: 0 12px 30px rgba(0, 60, 20, 0.35);
}
.cta .btn-line-cta:hover { box-shadow: 0 18px 38px rgba(0, 60, 20, 0.4); }

/* ---------- お客様の声 ---------- */
.voices { background: var(--bg); }
.voices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.voice-card {
  background: var(--bg-alt); border-radius: calc(var(--r-lg) * var(--r-scale));
  padding: 32px 30px 26px; position: relative;
}
.voice-card::before {
  content: "“"; position: absolute; top: 2px; left: 18px;
  font-family: Georgia, serif; font-size: 78px; line-height: 1;
  color: var(--green); opacity: 0.3;
}
.voice-text { font-size: 14.5px; line-height: 2; margin-bottom: 16px; position: relative; }
.voice-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--sub); }
.voice-meta::before { content: ""; width: 18px; height: 2px; background: var(--green); border-radius: 1px; }

/* ---------- Q&A ---------- */
.qa { background: var(--bg-alt); }
.qa-list { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }
.qa-item {
  background: var(--card); border: 1px solid var(--card-bd);
  border-radius: calc(var(--r) * var(--r-scale));
  padding: 24px 28px; box-shadow: var(--shadow-sm);
}
.qa-q { font-size: 15.5px; font-weight: 900; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.qa-a { font-size: 14px; color: var(--sub); line-height: 1.9; display: flex; gap: 14px; align-items: flex-start; }
.qa-q::before, .qa-a::before {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  font-size: 14px; font-weight: 900; color: #fff;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.qa-q::before { content: "Q"; background: var(--green); }
.qa-a::before { content: "A"; background: var(--orange); }

/* ---------- フッター ---------- */
footer { background: var(--navy); color: rgba(255, 255, 255, 0.65); text-align: center; padding: 36px 24px; font-size: 12.5px; line-height: 2.1; }
footer strong { color: #fff; font-size: 14px; }

/* ---------- スマホ追従CTA ---------- */
.sp-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--card-bd);
}
.sp-cta .btn-line-cta { width: 100%; justify-content: center; padding: 15px 20px; font-size: 15.5px; }

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  header { padding: 10px 16px; }
  .logo-name { font-size: 19px; }
  .btn-line { padding: 10px 16px; font-size: 13px; }
  section { padding: 64px 20px; }
  .sec-head { margin-bottom: 36px; }
  .fv-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 56px; }
  .fv-photo { height: 280px; }
  .fv-title { font-size: 28px; }
  .fv-service-name { font-size: 44px; }
  .worries-grid, .solution-items, .products-grid, .report-grid, .voices-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; gap: 28px; }
  .flow-steps::before { top: 8%; bottom: 8%; left: 26px; right: auto; border-top: none; border-left: 2px dashed var(--green); }
  .flow-step { display: grid; grid-template-columns: 54px 1fr; column-gap: 18px; text-align: left; padding: 0; }
  .flow-num { grid-row: 1 / 3; margin: 0; }
  .flow-desc { grid-column: 2; }
  .brokerage-box { flex-direction: column; text-align: center; padding: 28px 22px; }
  .brokerage-text { text-align: left; font-size: 14px; }
  .qa-item { padding: 20px 18px; }
  .cta-btns .btn-line-cta { width: 100%; justify-content: center; }
  .sp-cta { display: block; }
  body { padding-bottom: 84px; }
}
