@charset "UTF-8";

/* =========================
   Tokens
========================= */
:root {
  --lp-container: 1120px;
  --lp-text: 720px;
  --lp-medium: 800px;
  --lp-wide: 960px;

  --lp-brand: #003c5b;
  --lp-accent: #d6000f;
  --lp-line: #00b900;

  --lp-ink: #222;
  --lp-body: #333;
  --lp-muted: #444;

  --lp-bg-soft: #f7f9fc;

  --lp-r-sm: 12px;
  --lp-r-md: 16px;
  --lp-r-lg: 24px;

  --lp-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);

  --lp-primary: var(--lp-brand);
  --lp-red: var(--lp-accent);
}

/* =========================
   Base
========================= */
.matsudo-lp * {
  line-height: 1.7;
}

.matsudo-lp body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN",
    "メイリオ", Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--lp-ink);
}

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

.matsudo-lp h2 {
  font-weight: bold;
}

.matsudo-lp ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

/* =========================
   Layout
========================= */
.lp-section {
  padding: 40px 16px;
}

.lp-container {
  max-width: var(--lp-container);
  margin: 0 auto;
}

/* セクション見出し（共通） */
.lp-section h2 {
  font-size: 1.6rem;
  margin: 0 0 16px;
  text-align: left;
}

/* 本文pの共通ルール（fv/risk以外） */
:where(.lp-section:not(.lp-fv):not(.lp-risk)) p {
  max-width: var(--lp-text);
  margin: 0 auto 1.2em;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--lp-body);
}

/* =========================
   Buttons / Badges
========================= */
.lp-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}

.lp-button--primary {
  background: var(--lp-brand);
  color: #fff;
}
.lp-button--secondary {
  background: var(--lp-line);
  color: #fff;
}
.lp-button--tel {
  background: var(--lp-accent);
  color: #fff;
  border: 2px solid var(--lp-accent);
}
.lp-btn-sub {
  display: block;
  font-size: 0.85em;
  font-weight: 800;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.lp-badge {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

.lp-badge--brand {
  background: var(--lp-brand);
  color: #fff;
}
.lp-badge--rating {
  background: #ffd761;
  color: #222;
}
.lp-badge--rating a {
  color: #0000ee;
  text-decoration: underline;
}

/* =========================
   FV
========================= */
.lp-fv-inner {
  text-align: left;
}

.lp-fv-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 12px;
  text-align: left;
}

.lp-fv-lead {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: var(--lp-text);
  margin: 12px 0 24px;
  color: var(--lp-muted);
  text-align: left;
}

.lp-fv-buttons {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.lp-fv-buttons .lp-button {
  width: 100%;
  max-width: 360px;
}

.lp-fv-image img {
  margin: 0 0 1.5rem 0;
}

.lp-fv-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  align-items: stretch;
}

/* AIO：3行まとめ（FV直下） */
.lp-ai-summary {
  margin: 1rem 0 2.5rem;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(10, 20, 30, 0.08);
  border-radius: var(--lp-r-md);
  box-shadow: var(--lp-shadow);
}

.lp-ai-summary__list {
  margin: 0 0 1rem 0;
  padding-left: 1.2em;
}

.lp-ai-summary__list li {
  margin: 0.35em 0;
  color: var(--lp-body);
  line-height: 1.7;
  font-size: 15px;
}

.lp-ai-summary__list strong {
  color: var(--lp-ink);
  font-weight: 700;
}

/* =========================
   trouble
========================= */
.lp-section.lp-trouble {
  padding-top: 32px;
  padding-bottom: 32px;
}

.trouble-lead {
  max-width: var(--lp-text);
  margin: 0 auto 20px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--lp-body);
}

.trouble-highlight {
  max-width: var(--lp-wide);
  margin: 12px auto 20px;
  background: #f9c94a;
  border-radius: var(--lp-r-lg);
  padding: 18px 20px;
}

.trouble-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.trouble-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 4px;
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 700;
}

.trouble-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: #b16a00;
}

.trouble-illust-grid {
  max-width: var(--lp-container);
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trouble-illust-card {
  background: #fff;
  border-radius: var(--lp-r-lg);
  padding: 10px 8px 8px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.trouble-illust-card img {
  width: 100%;
  border-radius: 16px;
}

.trouble-illust-card figcaption {
  margin: 4px 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--lp-body);
}

.trouble-illust-card figcaption span {
  font-weight: 700;
}

/* 雨水の入り口マップ（図解） */
.trouble-lp-map {
  display: block;
  width: 100%;
  max-width: 860px; /* PCで少し絞る（好みで800〜900） */
  margin: 28px auto 18px;
  border-radius: 12px;
  height: auto;
}

/* =========================
   points（失敗パターン3つ）
========================= */
.lp-section.lp-points {
  background: #fff;
}

.lp-points-lead {
  max-width: var(--lp-medium);
  margin: 0 auto 24px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--lp-body);
}

.lp-points-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.lp-point-card {
  background: var(--lp-bg-soft);
  border-radius: var(--lp-r-md);
  padding: 24px 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.lp-point-card__icon {
  text-align: center;
  margin-bottom: 16px;
}

.lp-point-card__icon img {
  display: block;
  margin: 0 auto;
  max-width: 128px;
  height: auto;
}

.lp-point-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 12px 0 12px;
  text-align: left;
}

.lp-point-card__body {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--lp-body);
}

.lp-point-card__shop {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffe19a;
  font-size: 0.9rem;
  line-height: 1.7;
}

.lp-point-card__shop-title {
  font-weight: 700;
  margin: 0 0 4px;
}

/* =========================
   risk（7つのポイント）
========================= */
.lp-section.lp-risk {
  background: #fff;
}

.lp-risk-lead {
  max-width: var(--lp-medium);
  margin: 0 auto 24px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--lp-body);
}

.lp-risk-checkbox {
  max-width: var(--lp-wide);
  margin: 0 auto 24px;
  background: #d63b3b;
  border-radius: var(--lp-r-lg);
  padding: 20px 24px;
  color: #fff;
  line-height: 2.2;
}

.lp-risk-checkbox__inner {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}

.lp-risk-note {
  max-width: var(--lp-wide);
  margin: 0 auto 24px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--lp-body);
}

.lp-risk-photo {
  max-width: var(--lp-text);
  margin: 0 auto 24px;
}

.lp-risk-photo img {
  width: 100%;
  border-radius: var(--lp-r-sm);
  box-shadow: var(--lp-shadow);
}

.lp-risk-cta {
  max-width: 780px;
  margin: 24px auto 0;
  text-align: center;
}

.lp-cta-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #555;
}

/* 赤ボックス内のチェック体験用 */

/* チェックの案内文 */
.lp-risk-intro {
  margin: 0 0 8px;
  font-size: 0.9rem;
}

/* チェックリスト */
.matsudo-lp .lp-risk-list {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}

.lp-risk-list li + li {
  margin-top: 4px;
}

.lp-risk-list label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4em;
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 700;
}

.lp-risk-list input[type="checkbox"] {
  margin-top: 0.25em;
}

/* カウント表示 */
.lp-risk-status {
  font-size: 0.85rem;
  margin-top: 6px;
  opacity: 0.9;
}

/* メッセージ（アニメーション用） */
.lp-risk-message,
.lp-risk-complete {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-top: 4px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.lp-risk-message.is-show,
.lp-risk-complete.is-show {
  opacity: 1;
  max-height: 240px;
}

/* チェック結果メッセージ用（赤ボックス内） */
.lp-risk-status {
  margin-top: 6px;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* 共通：通常メッセージと7項目完了メッセージの箱 */
.lp-risk-message,
.lp-risk-complete {
  display: none;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 0.85rem;
  line-height: 1.8;
}

/* JSで .is-show が付いた時だけ見せる */
.lp-risk-message.is-show,
.lp-risk-complete.is-show {
  display: block;
}

/* 7項目すべてチェック済みのときは、少しだけ色を変える例 */
.lp-risk-complete {
  background: #fff5d6; /* ほんのりクリーム色にして差別化 */
  font-weight: 700;
}

/* =========================
   price-life（10年総額）
========================= */
.lp-price-life {
  background: #fff;
}

.lp-price-life-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lp-price-life-text h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: left;
}

.lp-price-life-text p,
.lp-price-life-text ul {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.lp-price-life-lead {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 8px;
}

.lp-price-life-catch {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.lp-price-life-em {
  color: var(--lp-accent);
}

.lp-price-life-text ul.lp-price-life-list {
  margin: 0 0 12px 0;
  padding-left: 1.4em;
  list-style: disc;
}

.lp-price-life-text ul.lp-price-life-list li {
  margin-bottom: 6px;
}

.lp-price-life-figure {
  margin: 0;
}

.lp-price-life-figure img {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--lp-r-sm);
  box-shadow: var(--lp-shadow);
}

/* =========================
   kodawari（STEP 1-3）
========================= */
.lp-kodawari {
  background: #fff;
}

.lp-kodawari-lead {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-top: 8px;
  margin-bottom: 32px;
}

.lp-kodawari-steps {
  display: grid;
  gap: 40px;
}

.lp-kodawari-step {
  text-align: left;
}

.lp-kodawari-photo img {
  width: 100%;
}

.lp-kodawari-step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 20px 0 12px;
}

.lp-kodawari-step-text {
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0 0 8px;
}

/* =========================
   cases1 / cases2（お客様の声）
========================= */
.lp-cases {
  background: #fff;
}

.lp-cases-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: left;
  margin: 0 0 24px;
}

.lp-cases-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lp-cases-image img {
  width: 100%;
  border-radius: var(--lp-r-sm);
}

.lp-cases-body {
  font-size: 0.95rem;
  line-height: 1.9;
  display: flex;
  flex-direction: column;
}

p.lp-cases-meta {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 16px;
  color: var(--lp-ink);
}

.lp-cases-meta--big {
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lp-cases-text {
  margin-bottom: 24px;
  line-height: 1.85;
}

.lp-cases-button {
  display: inline-block;
  min-width: 260px;
}

.lp-cases-button.lp-button {
  display: block;
  width: auto;
  max-width: 320px;
  margin: 22px auto 0;
}

.lp-cases-cta {
  margin-top: 28px;
}

/* =========================
   ⑧ 足立区で選ばれる理由
========================= */
#reason-matsudo.lp-reason {
  padding: 56px 0;
}

#reason-matsudo .lp-reason__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

#reason-matsudo .lp-reason__heading {
  margin: 0 0 28px;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
}

#reason-matsudo .lp-reason__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#reason-matsudo .lp-reason__media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #f2f2f2;
}

#reason-matsudo .lp-reason__media img {
  display: block;
  width: 100%;
  height: auto;
}

#reason-matsudo .lp-reason__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#reason-matsudo .lp-reason__title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#reason-matsudo .lp-reason__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

#reason-matsudo .lp-reason__list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 1.9;
}

#reason-matsudo .lp-reason__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

#reason-matsudo .lp-reason__cta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

#reason-matsudo .lp-reason__cta .lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 100%);
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--lp-primary);
  background: #fff;
  color: var(--lp-primary);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

#reason-matsudo .lp-reason__cta .lp-btn:first-child {
  background-color: var(--lp-primary);
  color: #fff;
}

#reason-matsudo .lp-reason__cta .lp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

/* =========================
   Q&A（#faq）
========================= */
#faq.lp-faq {
  padding: 72px 0;
  background: #f5f5f5;
}

#faq .lp-container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

#faq .lp-faq__head {
  text-align: center;
  margin-bottom: 48px;
}

#faq .lp-faq__title {
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
  text-align: left;
}

#faq .lp-faq__lead {
  margin: 0 auto;
  max-width: 860px;
  font-size: 0.9rem;
  line-height: 2;
  color: #222;
  text-align: left;
}

#faq .lp-faq__list {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
}

#faq .lp-faq__item {
  padding: 0;
}

#faq .lp-faq__item + .lp-faq__item {
  margin-top: 46px;
}

#faq .lp-faq__q {
  font-size: 1.25rem;
  line-height: 1.9;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: 0.01em;
  color: #d63b3b;
}

#faq .lp-faq__a {
  font-size: 1.25rem;
  line-height: 1.9;
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
  color: #003c5b;
}

#faq .lp-faq__text {
  font-size: 1rem;
  line-height: 2;
  margin: 0;
  color: #333;
}

/* PCだけ改行させたい */
#faq .is-pc {
  display: none;
}

/* =========================
   最後の相談CTA（#cta-final）
========================= */
#cta-final.lp-cta-final {
  padding: 56px 0;
  background: #fff;
}

#cta-final .lp-cta-final__inner {
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
}

/* SP：縦積みレイアウト */
#cta-final .lp-cta-final__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

#cta-final .lp-cta-final__title {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 800;
  color: #111;
  text-align: left; /* CTAだけはPCでも左寄せ */
}

#cta-final .lp-cta-final__lead,
#cta-final .lp-cta-final__list,
#cta-final .lp-cta-final__note {
  font-size: 15px;
  line-height: 2;
  color: #222;
}

#cta-final .lp-cta-final__list {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

#cta-final .lp-cta-final__buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

/* 店舗情報：見出し＋カード（最小限） */
.lp-cta-final__infoBox {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.02);
}

.lp-cta-final__infoTitle {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #111;
}

/* dlを2カラムっぽく見せる（dtは固定幅） */
.lp-cta-final__infoList {
  margin: 0;
}
.lp-cta-final__infoList > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.lp-cta-final__infoList > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.lp-cta-final__infoList dt {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.62);
  font-weight: 700;
}
.lp-cta-final__infoList dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #111;
}

#cta-final .lp-cta-final__info a {
  color: var(--lp-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#cta-final .lp-cta-final__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  height: 58px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
}

#cta-final .lp-cta-final__btn--primary {
  background: #0b4b68;
  color: #fff;
}
#cta-final .lp-cta-final__btn--danger {
  background: var(--lp-line);
  color: #fff;
}
#cta-final .lp-cta-final__btn--tel {
  background-color: var(--lp-red);
  border-color: var(--lp-red);
  color: #fff;
}
#cta-final .lp-cta-final__btn--line {
  background: var(--lp-line);
  border-color: var(--lp-line);
  color: #fff;
}
#cta-final .lp-cta-final__btn--tel:hover,
#cta-final .lp-cta-final__btn--line:hover {
  filter: brightness(0.95);
}

#cta-final .lp-cta-final__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

/* =========================
   PC画面 (>=768pxで統一する)
========================= */
@media (min-width: 768px) {
  .lp-section {
    padding: 48px 16px;
  }

  .lp-section h2 {
    text-align: center;
  }

  /* FV */
  .lp-fv-inner {
    text-align: center;
  }

  .lp-fv-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 16px;
  }

  .lp-fv-lead {
    font-size: 0.95rem;
    max-width: var(--lp-text);
    margin: 12px auto 24px;
    text-align: left;
  }

  .lp-fv-badges {
    flex-direction: row;
    justify-content: center;
  }

  .lp-badge {
    min-width: 320px;
    font-size: 0.9rem;
  }

  .lp-fv-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .lp-fv-buttons .lp-button {
    width: auto;
    max-width: none;
  }

  .lp-ai-summary {
    max-width: var(--lp-text);
    margin: 1rem auto 2.5rem;
    padding: 12px 14px;
    text-align: left;
  }
  .lp-ai-summary__list li {
    font-size: 14px;
  }

  /* trouble */
  .trouble-highlight {
    padding: 20px 32px;
  }

  .trouble-illust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .trouble-lp-map {
    max-width: 100%;
    margin: 18px auto 14px;
    border-radius: 10px;
  }

  /* points */
  .lp-points-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .lp-point-card__title {
    text-align: left;
  }

  /* risk */
  .lp-risk-lead,
  .lp-risk-checkbox,
  .lp-risk-note,
  .lp-risk-photo,
  .lp-risk-cta {
    max-width: 780px;
  }

  /* price-life：PCは2カラム（グラフ右） */
  .lp-price-life-inner {
    flex-direction: row-reverse;
    align-items: center;
    gap: 56px;
  }

  .lp-price-life-text,
  .lp-price-life-graph {
    flex: 1 1 0;
  }

  .lp-price-life-text h2 {
    font-size: 1.9rem;
  }

  .lp-price-life-figure img {
    max-width: 620px;
  }

  /* kodawari：PC 3カラム */
  .lp-section.lp-kodawari .lp-container {
    width: 100%;
  }

  .lp-kodawari-lead {
    max-width: var(--lp-text);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .lp-kodawari-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    align-items: start;
  }

  /* cases：PCは左右2カラム */
  .lp-section.lp-cases {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .lp-section.lp-cases .lp-container {
    width: 100%;
  }

  .lp-cases-inner {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .lp-cases-image,
  .lp-cases-body {
    width: 50%;
  }

  .lp-cases-body {
    padding-right: 16px;
  }

  .lp-cases-button.lp-button {
    width: 100%;
    max-width: 360px;
  }

  .lp-cases--reverse .lp-cases-body {
    order: 1;
  }
  .lp-cases--reverse .lp-cases-image {
    order: 2;
  }

  p.lp-cases-meta {
    font-size: 1.3rem;
  }

  /* reason-matsudo：PCは画像左・テキスト右 */
  #reason-matsudo.lp-reason {
    padding: 64px 0;
  }

  #reason-matsudo .lp-reason__heading {
    text-align: center;
    margin-bottom: 34px;
  }

  #reason-matsudo .lp-reason__body {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
  }

  #reason-matsudo .lp-reason__cta {
    margin-top: 16px;
    align-items: center;
  }

  /* Q&A PC調整 */
  #faq.lp-faq {
    padding: 64px 0;
  }

  #faq .lp-container {
    width: min(1100px, calc(100% - 80px));
  }

  #faq .lp-faq__head {
    margin-bottom: 40px;
  }

  #faq .lp-faq__title {
    text-align: center;
  }

  /* タイトルはclampのまま（サイズ差を抑える） */

  #faq .lp-faq__lead {
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: center;
  }

  #faq .lp-faq__q,
  #faq .lp-faq__a {
    font-size: 1.3rem;
    line-height: 1.9;
  }

  #faq .lp-faq__item + .lp-faq__item {
    margin-top: 34px;
  }

  #faq .is-pc {
    display: inline;
  }

  /* cta-final：PCは2カラム*/
  #cta-final.lp-cta-final {
    padding: 96px 0;
  }

  #cta-final .lp-cta-final__inner {
    width: min(1120px, calc(100% - 80px));
  }
  #cta-final .lp-cta-final__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* ←ここが本命 */
    gap: 48px;
    align-items: center;
  }

  /* 念のため（画像が列幅いっぱいに伸びない事故を潰す） */
  #cta-final .lp-cta-final__media {
    width: 100%;
  }
  #cta-final .lp-cta-final__img {
    width: 100%;
    height: auto;
  }

  #cta-final .lp-cta-final__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
  }

  #cta-final .lp-cta-final__btn {
    width: auto;
    flex: 0 1 260px;
    max-width: 260px;
    height: 56px;
    padding: 0 18px;
    white-space: nowrap;
    box-sizing: border-box;
  }

  #cta-final .lp-cta-final__title {
    font-size: 40px;
    line-height: 1.35;
    margin: 0 0 22px;
    text-align: left;
  }

  #cta-final .lp-cta-final__img {
    aspect-ratio: 4 / 3;
  }
}

/* =========================
   SP：CTAボタンの横幅を統一
========================= */
@media (max-width: 640px) {
  .lp-fv__actions {
    align-items: center;
  }
  .lp-fv__actions a {
    width: min(320px, 100%);
  }

  #cta .lp-cta-buttons,
  #points .lp-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  #cta .lp-cta-buttons a,
  #points .lp-cta-buttons a {
    width: min(320px, 100%);
  }
}

/* SP/Tablet：cta-finalの画像を「見出し直下」に移動（CSSだけで並び替え） */
@media (max-width: 959px) {
  /* ✅ポイント：
     order は「同じ親の直下の子要素」にしか効きません。
     いまのHTMLだと .lp-cta-final__media は .lp-cta-final__content の“外”にいるため、
     content内の要素と混ぜて並び替えるには、contentを display: contents にして
     子要素を grid(=flex) の直下に展開します。
  */

  /* 1カラムで縦積み */
  #cta-final .lp-cta-final__grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  /* contentラッパーを“透過”させて、子要素を並び替え対象にする（これが本命） */
  #cta-final .lp-cta-final__content {
    display: contents;
  }

  /* 並び順：見出し → 画像 → 本文 → ボタン → 店舗情報 */
  #cta-final .lp-cta-final__title {
    order: 1;
  }
  #cta-final .lp-cta-final__media {
    order: 2;
    margin-top: 4px;
  }
  #cta-final .lp-cta-final__lead {
    order: 3;
  }
  #cta-final .lp-cta-final__list {
    order: 4;
  }
  #cta-final .lp-cta-final__note {
    order: 5;
  }

  #cta-final .lp-cta-final__buttons {
    order: 6;
    width: 100%;
    align-items: center; /* 見た目は中央寄せ */
    margin-top: 12px;
  }

  #cta-final .lp-cta-final__infoBox {
    order: 7;
    margin-top: 12px;
  }

  /* 画像の見た目（念のため） */
  #cta-final .lp-cta-final__img {
    width: 100%;
    max-width: 720px;
    height: auto;
  }
}

.lp-risk-memo {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}
.lp-risk-memo__title {
  font-weight: 700;
  margin: 0 0 10px;
}
.lp-risk-memo__textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d8d8d8;
  box-sizing: border-box;
  resize: vertical;
}
.lp-risk-memo__copy {
  margin-top: 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.lp-risk-memo__toast {
  margin: 8px 0 0;
  font-size: 14px;
}
