/* ============================================
   LP4 不動産売却アフィLP スタイル
   - フォント: BIZ UDPGothic（中年男性向けユニバーサルデザイン）
   - スマホファースト
   - 不動産リードLP定番カラー（白基調+赤アクセント）
============================================ */

:root {
  --color-text: #2c2c2f;
  --color-text-sub: #5e5e64;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  --color-bg-light: #fafafa;
  --color-accent: #e60000;
  --color-accent-hover: #b80000;
  --color-accent-soft: #fff0f0;
  --color-highlight: #ffee57;
  --color-warn: #fffae5;
  --color-warn-bd: #f5d000;
  --color-border: #e2e2e4;
  --color-border-soft: #efefef;
  --color-quote-bg: #f6f9fb;
  --color-quote-bd: #b8d3e0;
  --color-conclusion-bg: #fff7e8;
  --color-conclusion-bd: #f0b400;

  --font-main: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Yu Gothic Medium', 'Meiryo', sans-serif;

  --fs-body: 17px;
  --fs-body-mobile: 16px;
  --lh-body: 1.85;

  --max-w: 720px;

  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-cta: 0 6px 18px rgba(230,0,0,0.28);
}

/* ============ 全体 ============ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  font-size: var(--fs-body-mobile);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  padding-bottom: 88px; /* sticky CTA分 */
}
@media (min-width: 768px) {
  body { font-size: var(--fs-body); }
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
strong { color: var(--color-accent); font-weight: 700; }
a { color: inherit; text-decoration: none; }

.article { max-width: var(--max-w); margin: 0 auto; padding: 0; }

/* ============ FV ============ */
.fv {
  padding: 24px 18px 32px;
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  border-bottom: 2px solid var(--color-accent-soft);
  text-align: center;
}
/* FV内のリストはセクション中央寄せでも左揃え維持（✔と本文の間隔を保つ） */
.fv ul,
.fv ol,
.fv__lead-list,
.check-list { text-align: left; }
.fv__title {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--color-text);
}
@media (min-width: 768px) { .fv__title { font-size: 32px; } }
.fv__title .hl {
  background: linear-gradient(transparent 60%, var(--color-highlight) 60%);
  padding: 0 2px;
}
.fv__image { margin: 0 0 20px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-card); }
.fv__image img { width: 100%; }

.fv__lead p {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 8px;
  color: var(--color-text);
}
@media (min-width: 768px) { .fv__lead p { font-size: 19px; } }

/* FV内のチェックリスト（✔︎の悩み列挙） */
.fv__lead-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.fv__lead-list li,
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--color-text);
}
.fv__lead-list li::before,
.check-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 900;
  font-size: 18px;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .fv__lead-list li,
  .check-list li { font-size: 19px; padding-left: 32px; }
  .fv__lead-list li::before,
  .check-list li::before { font-size: 20px; }
}

.pain-box {
  background: var(--color-warn);
  border-left: 4px solid var(--color-warn-bd);
  padding: 16px 18px;
  margin: 20px 0;
  border-radius: 6px;
}
.pain-box p { margin: 0 0 8px; font-size: 16px; line-height: 1.7; }
.pain-box .emph {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 18px;
  margin-top: 6px;
  margin-bottom: 0;
}

.conclusion-box {
  background: var(--color-conclusion-bg);
  border: 2px solid var(--color-conclusion-bd);
  border-radius: 10px;
  padding: 18px 16px;
  margin: 24px 0;
  text-align: center;
}
.conclusion-box p { margin: 0 0 8px; font-size: 18px; line-height: 1.6; }
.conclusion-box p:last-child { margin-bottom: 0; }

.fv__footer-text { margin-top: 28px; padding-top: 20px; border-top: 1px dashed var(--color-border); }
.fv__footer-text p { font-size: 15px; line-height: 1.8; color: var(--color-text-sub); margin: 0 0 10px; }
.fv__footer-text strong { color: var(--color-accent); font-weight: 700; }

/* ============ セクション共通 ============ */
.s {
  padding: 36px 18px 32px;
  border-bottom: 1px solid var(--color-border-soft);
  text-align: center;
}
/* リスト類は中央寄せセクション内でも左揃えのまま（可読性優先・臨機応変） */
.s ul,
.s ol {
  text-align: left;
}
/* チェック付きリストは「全体を中央寄せ・中身は左揃え」で本文の流れと揃える */
.s .check-list,
.s .fv__lead-list,
.fv .check-list,
.fv .fv__lead-list {
  display: inline-block;
  text-align: left;
  max-width: 100%;
}
/* 口コミ・FAQ は中央寄せセクション内でも左揃え（読み物の可読性優先）*/
.s .voice,
.s .voice * { text-align: left; }
.s .post-voice,
.s .post-voice * { text-align: left; }
.s .faq,
.s .faq summary,
.s .faq__body,
.s .faq__body * { text-align: left; }
/* feature-list は中央配置・項目は左揃え */
.s .feature-list {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.s__title {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0 0 20px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
  text-align: center;
}
@media (min-width: 768px) { .s__title { font-size: 28px; } }
.s__title .hl {
  background: linear-gradient(transparent 60%, var(--color-highlight) 60%);
  padding: 0 2px;
}

/* 控えめミドル見出し（Notion: 見出し2 + 文字色グレー） */
.h2-soft {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
  color: var(--color-text-sub);
  margin: 28px 0 12px;
  padding: 0;
  border: none;
}

/* インラインハイライト系（Notion → HTML マッピング） */
.hl-yellow {
  background: var(--color-highlight);
  padding: 0 2px;
}
.hl-underline {
  text-decoration: none;
  background-image: linear-gradient(transparent 55%, var(--color-highlight) 55%);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 0% 100%;
  padding: 0 2px;
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: background-size;
}
.hl-underline.is-marked {
  background-size: 100% 100%;
}
@media (prefers-reduced-motion: reduce) {
  .hl-underline { transition: none; background-size: 100% 100%; }
}

/* フレーズ単位の途中改行を防ぐ */
.nowrap-phrase { white-space: nowrap; }

/* FV末尾の段落（板挟みブロック）— 行間と余白だけ調整 */
.fv__close { margin: 0 0 12px; }
.text-red { color: var(--color-accent); font-weight: 700; }
.text-blue { color: #2563eb; }
.text-sub { color: var(--color-text-sub); }

/* チェックリスト（Notion: To-doリスト） */
.checklist {
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  padding: 18px 20px;
  border-radius: 8px;
  list-style: none;
  margin: 18px 0;
}
.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}
.checklist li:last-child { margin-bottom: 0; }
.checklist li.checked::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
.checklist li.unchecked::before {
  content: "□";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text-sub);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

/* 引用・問いかけブロック */
.quote-question {
  background: var(--color-quote-bg);
  border-left: 4px solid var(--color-quote-bd);
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 6px;
}
.quote-question p { margin: 0 0 6px; font-size: 16px; }
.quote-question p:last-child { margin-bottom: 0; }
.quote-question strong { color: var(--color-text); }

/* 箇条書き（吹き出し風） */
.bullet { list-style: none; padding-left: 0; margin: 16px 0; }
.bullet li {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-size: 16px;
  position: relative;
  padding-left: 36px;
}
.bullet li::before {
  content: "❝";
  position: absolute;
  left: 12px;
  top: 8px;
  color: var(--color-accent);
  font-size: 22px;
  line-height: 1;
}

/* 画像 */
.figure {
  margin: 18px 0;
  background: var(--color-bg-light);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
}
.figure img { margin: 0 auto; max-width: 100%; }
.figure figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-sub);
  margin-top: 8px;
}

/* コールアウト（強調ブロック） */
.callout {
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  padding: 16px 18px;
  margin: 18px 0;
  border-radius: 6px;
}
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout .emph { color: var(--color-accent); font-weight: 700; font-size: 17px; margin-top: 6px; }
.callout--warn {
  background: var(--color-warn);
  border-left-color: var(--color-warn-bd);
}

/* 商品セクションの特徴リスト */
.s-product { background: var(--color-bg-soft); }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.feature-list li {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: 15px;
  margin: 0;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .lbl {
  flex: 0 0 42%;
  font-weight: 700;
  color: var(--color-text-sub);
  font-size: 14px;
}
.feature-list .val {
  flex: 1;
  font-weight: 700;
  color: var(--color-text);
  font-size: 16px;
}

/* 3つの理由 */
.s-reasons .reason {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 22px 18px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.reason__icon { width: 80px; margin: 0 auto 10px; }
.reason__icon img { width: 100%; }
.reason__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 12px;
  text-align: center;
  line-height: 1.5;
}
@media (min-width: 768px) { .reason__title { font-size: 20px; } }

/* ズバット権威性 */
.s-authority { background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-soft) 100%); }
.trust {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 16px;
  overflow: hidden;
}
.trust__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent-soft);
  color: var(--color-text);
}
@media (min-width: 768px) { .trust__title { font-size: 20px; } }
.trust__graph, .trust__logo {
  margin: 0 0 14px;
  text-align: center;
}
.trust__graph img { width: 100%; max-width: 100%; margin: 0 auto; }
.trust__logo img {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}

/* trust__hero: 大型画像（カードpaddingを相殺してフル幅）*/
.trust__hero {
  margin: 14px -18px;
  text-align: center;
}
.trust__hero img { width: 100%; display: block; margin: 0 auto; }
.partner-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.partner-list li {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  margin: 0;
}
@media (min-width: 768px) { .partner-list { grid-template-columns: repeat(3, 1fr); } .partner-list li { font-size: 14px; } }
.trust--campaign {
  background: linear-gradient(135deg, #fff8e8 0%, #fff0d8 100%);
  border-color: var(--color-conclusion-bd);
}
.trust--campaign .trust__title {
  color: var(--color-accent);
  border-bottom-color: var(--color-conclusion-bd);
}
.trust .note {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-top: 8px;
}

/* キャンペーン注釈（trust外）*/
.caution-note {
  font-size: 12px;
  color: var(--color-text-sub);
  margin: 8px 0 16px;
}

/* 業者の心の声ピル（中央寄せ・角丸グレー）*/
.thought-pills {
  list-style: none;
  padding: 0;
  margin: 18px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  text-align: center;
}
.thought-pill {
  display: inline-block;
  padding: 10px 22px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-weight: 700;
  color: #475569;
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .thought-pill { font-size: 16px; padding: 11px 26px; }
}

/* 結論 */
.s-conclusion {
  background: var(--color-bg-soft);
}
.s-conclusion p { font-size: 16px; }

/* 声 */
.voice {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.voice__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.voice__avatar {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--color-accent-soft);
}
.voice__avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice__meta { flex: 1; }
.voice__who { margin: 0; font-weight: 700; font-size: 15px; }
.voice__detail { margin: 0; font-size: 13px; color: var(--color-text-sub); }
.voice__body p { font-size: 15px; line-height: 1.8; margin: 0 0 10px; }
.voice__body p:last-child { margin-bottom: 0; }

.post-voice {
  background: var(--color-conclusion-bg);
  border-radius: 10px;
  padding: 16px 18px;
  margin-top: 20px;
}
.post-voice p { margin: 0 0 6px; font-size: 16px; }
.post-voice strong { color: var(--color-accent); }

/* FAQ */
.s-faq { background: var(--color-bg-soft); }
.faq {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  padding: 14px 40px 14px 16px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  list-style: none;
  background: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--color-accent);
  font-weight: 700;
  transition: transform 0.2s;
}
.faq[open] summary::after { content: "−"; }
.faq__body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--color-border-soft);
  font-size: 15px;
}
.faq__body p { margin: 12px 0 0; }
.faq__body .caution {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-top: 8px;
}

/* 締め */
.s-closing {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
  text-align: center;
  padding: 40px 18px 32px;
}
.s-closing .s__title { text-align: center; }
.s-closing p { font-size: 16px; }
.s-closing .emph { color: var(--color-accent); font-weight: 700; font-size: 19px; margin-top: 20px; }

/* CTAグループ（上の煽り→ボタン→注釈の3点セット）*/
.cta-group {
  margin: 24px 0;
  text-align: center;
}
.cta-group__pre {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.cta-group__note {
  font-size: 12px;
  color: var(--color-text-sub);
  margin: 8px 0 0;
}

/* CTAボタン */
.cta-btn {
  display: block;
  background: linear-gradient(180deg, #e60000 0%, #b80000 100%);
  color: #fff !important;
  text-align: center;
  padding: 18px 16px;
  border-radius: 12px;
  margin: 8px 0;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-btn:hover, .cta-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(230,0,0,0.32);
}

/* 青CTA＋キラン演出 */
.cta-btn--blue {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 6px 18px rgba(29,78,216,0.32);
}
.cta-btn--blue:hover, .cta-btn--blue:active {
  box-shadow: 0 3px 10px rgba(29,78,216,0.32);
}
.cta-btn--blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: kira-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes kira-shine {
  0% { left: -75%; }
  55% { left: 125%; }
  100% { left: 125%; }
}
.cta-btn__main {
  display: block;
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 4px;
}
@media (min-width: 768px) { .cta-btn__main { font-size: 19px; } }
.cta-btn__sub {
  display: block;
  font-size: 13px;
  opacity: 0.95;
}
.cta-btn--lg {
  padding: 22px 16px;
  border-radius: 16px;
  margin: 28px 0;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* 固定下部CTA（スマホファースト・中央揃え・スクロール深度で出現） */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, #e60000 0%, #b80000 100%);
  color: #fff !important;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
  text-decoration: none;
  overflow: hidden;
  transform: translateY(120%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-cta.is-shown { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}
.sticky-cta__text {
  flex: 0 1 auto;
  text-align: center;
}
.sticky-cta__main {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.sticky-cta__sub {
  display: block;
  font-size: 12px;
  opacity: 0.92;
}

/* 青の追従CTA＋キラン */
.sticky-cta--blue {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 -4px 16px rgba(29,78,216,0.32);
}
.sticky-cta--blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.55) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg);
  animation: kira-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* フッター */
.ft {
  padding: 20px 18px 30px;
  font-size: 12px;
  color: var(--color-text-sub);
  background: var(--color-bg-soft);
  text-align: center;
}
.ft p { margin: 0 0 6px; }
.ft__pr {
  text-align: right;
  font-size: 11px;
  opacity: 0.75;
  margin-top: 14px;
}
