/**
 * 見積りプラス リニューアル検証用スタイル
 * 元データ: cms/wp-content/themes/pxp-cms/見積りプラス商材ページ.xd（TOP アートボード）
 * テストページ /products/mitsumori_test/ 専用。本番の見積りプラス・要ページには読み込まない。
 *
 * ルートに .mp-renewal が付く前提。セレクタは必ず .mp-renewal で始めて他ページへ漏らさない。
 * コンテンツ幅は要（KANAME）商材ページに揃える。
 * グレーカード（お悩み・おすすめ）のみ従来のカード幅を維持。
 */

/* --------------------------------------------------------------------------
   Design tokens
   -------------------------------------------------------------------------- */
.mp-renewal {
  --mp-green: #139a4a;
  --mp-green-icon: #159a4b;
  --mp-green-dark: #0d7538;
  --mp-orange: #f18d00;
  --mp-red: #ff0000;
  --mp-pink: #de327b;
  --mp-gray: #707070;
  --mp-gray-card: #f0f0f0;
  --mp-gray-box: #f7f7f7;
  --mp-gray-band: #eeeeee;
  --mp-border: #d8d8d8;
  --mp-black: #000000;
  --mp-white: #ffffff;

  --mp-font: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Noto Sans JP",
    "Yu Gothic", YuGothic, Meiryo, sans-serif;

  --mp-fs-base: 18px;
  --mp-fs-md: 20px;
  --mp-fs-lg: 25px;
  --mp-fs-xl: 30px;
  --mp-fs-2xl: 34px;
  --mp-fs-3xl: 35px;

  /* 要ページ（kaname-renewal）と同じコンテンツ基準 */
  --mp-content: 1080px;
  --mp-content-wide: 1120px;

  color: var(--mp-black);
  font-family: var(--mp-font);
  font-size: var(--mp-fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.mp-renewal *,
.mp-renewal *::before,
.mp-renewal *::after {
  box-sizing: border-box;
}

.mp-renewal img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* --------------------------------------------------------------------------
   Hero / main-visual
   XD: 白背景 1280x548 ＋ 右側に緑グラデ 515x548、ロゴ 285x58、製品画像 407x346
   products.css の .main-visual img { width:100% } を上書きする
   -------------------------------------------------------------------------- */
.mp-renewal .main-visual.mp-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  height: 548px;
  min-height: 548px;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* XD: 斜めパス（上 約35.6% → 下左端）＋パターン。KANAME と同様 772x548 PNG に斜めを焼き込み */
.mp-renewal .main-visual.mp-hero .mp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #fff;
  background-image: url("/cms/wp-content/themes/pxp-cms/images/mitsumori/mv_bg.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 772px 548px;
  pointer-events: none;
}

/* 1350px 以上: 斜め上辺が画面中央(50vw)まで届くよう拡大（772px 固定だと大画面で右側が狭くなる） */
@media screen and (min-width: 1350px) {
  .mp-renewal .main-visual.mp-hero .mp-hero__bg {
    background-size: calc(43vw * 772 / 497) calc(50vw * 548 / 497);
  }
}

.mp-renewal .main-visual.mp-hero .mp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 520px 425px;
  justify-content: space-between;
  align-items: center;
  column-gap: 40px;
  box-sizing: border-box;
  width: var(--mp-content-wide);
  max-width: calc(100% - 40px);
  height: 100%;
  min-height: 548px;
  margin: 0 auto;
  padding: 50px 0 40px;
}

.mp-renewal .main-visual.mp-hero .mp-hero__content {
  width: 520px;
  max-width: 100%;
}

.mp-renewal .main-visual.mp-hero .mp-hero__label {
  display: inline-block;
  margin: 0 0 22px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--mp-gray);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.mp-renewal .main-visual.mp-hero .mp-hero__title {
  margin: 0 0 14px;
  padding: 0;
  color: #000;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.29;
  letter-spacing: 0.02em;
}

.mp-renewal .main-visual.mp-hero .mp-hero__text {
  margin: 0 0 14px;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
}

.mp-renewal .main-visual.mp-hero .mp-hero__checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.mp-renewal .main-visual.mp-hero .mp-hero__checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

/* products.css .main-visual img { width:100% } 対策 */
.mp-renewal .main-visual.mp-hero img.mp-hero__check-icon,
.mp-renewal .main-visual.mp-hero .mp-hero__check-icon {
  display: block;
  flex-shrink: 0;
  width: 24px !important;
  max-width: 24px !important;
  height: 24px !important;
  margin: 0;
}

.mp-renewal .main-visual.mp-hero .mp-hero__check-icon--white {
  display: none !important;
}

.mp-renewal .main-visual.mp-hero .mp-hero__cta {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 380px;
  max-width: 100%;
  height: 62px;
  min-height: 62px;
  padding: 0 56px 0 24px;
  border-radius: 100vh;
  background: var(--mp-orange);
  box-shadow: 0 4px 10px rgba(241, 141, 0, 0.28);
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.mp-renewal .main-visual.mp-hero .mp-hero__cta:hover {
  opacity: 0.9;
  color: #fff;
  text-decoration: none;
}

.mp-renewal .main-visual.mp-hero .mp-hero__cta-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.mp-renewal .main-visual.mp-hero .mp-hero__cta-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent var(--mp-orange);
  transform: translate(-40%, -50%);
}

.mp-renewal .main-visual.mp-hero .mp-hero__visual {
  position: relative;
  justify-self: end;
  width: 425px;
  max-width: 100%;
  text-align: center;
}

.mp-renewal .main-visual.mp-hero img.mp-hero__logo,
.mp-renewal .main-visual.mp-hero .mp-hero__logo {
  display: block;
  width: 285px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
}

.mp-renewal .main-visual.mp-hero img.mp-hero__visual-img,
.mp-renewal .main-visual.mp-hero .mp-hero__visual-img {
  display: block;
  width: 425px !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto;
}

@media screen and (max-width: 1100px) {
  .mp-renewal .main-visual.mp-hero {
    height: auto;
    min-height: 0;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__bg {
    background-size: auto 100%;
    background-position: right center;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    column-gap: 24px;
    width: calc(100% - 40px);
    height: auto;
    min-height: 0;
    padding: 40px 0;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__content {
    width: auto;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__title {
    font-size: 30px;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__visual {
    width: min(100%, 360px);
  }

  .mp-renewal .main-visual.mp-hero img.mp-hero__logo,
  .mp-renewal .main-visual.mp-hero .mp-hero__logo,
  .mp-renewal .main-visual.mp-hero img.mp-hero__visual-img,
  .mp-renewal .main-visual.mp-hero .mp-hero__visual-img {
    width: 100% !important;
  }

  .mp-renewal .main-visual.mp-hero img.mp-hero__logo,
  .mp-renewal .main-visual.mp-hero .mp-hero__logo {
    width: 70% !important;
  }
}

@media screen and (max-width: 834px) {
  .mp-renewal .main-visual.mp-hero .mp-hero__bg {
    background-size: cover;
    background-position: 70% center;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    width: calc(100% - 32px);
    padding: 28px 0 36px;
  }

  /* SP: 画像を上、テキストを下（DOM順 content→visual を order で入れ替え） */
  .mp-renewal .main-visual.mp-hero .mp-hero__visual {
    order: 2;
    justify-self: center;
    width: min(100%, 320px);
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__content {
    order: 1;
    width: 100%;
    color: #fff;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__label {
    margin-bottom: 14px;
    padding: 0 0 4px;
    border-bottom: 1px solid #fff;
    color: #fff;
    font-size: 15px;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__title {
    margin-bottom: 14px;
    color: #fff;
    font-size: 26px;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__text {
    color: #fff;
    font-size: 15px;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__text br {
    display: none;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__checks li {
    color: #fff;
    font-size: 14px;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__cta {
    width: 100%;
    font-size: 18px;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__check-icon--blue {
    display: none !important;
  }

  .mp-renewal .main-visual.mp-hero .mp-hero__check-icon--white {
    display: block !important;
  }
}

/* --------------------------------------------------------------------------
   In-page nav（XD: 7項目・最後の1件のみピンク）
   -------------------------------------------------------------------------- */
.mp-renewal #global-nav ul li {
  width: 14.2857%;
}

/* --------------------------------------------------------------------------
   共通セクション見出し・本文
   要ページと同じ .products-box（contents.css: max-width 1280px）を使う。
   グレーカード（お悩み・おすすめ）だけカード幅を維持する。
   -------------------------------------------------------------------------- */
.mp-renewal .products-box {
  max-width: 1280px;
}

.mp-renewal .products-ttl {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 80px;
  padding: 16px 20px;
  border: 1px solid var(--mp-black);
  background: var(--mp-white);
  color: var(--mp-black);
  font-size: var(--mp-fs-lg);
  font-weight: 700;
  line-height: 1.4;
}

.mp-renewal .products-subttl,
.mp-renewal .point-box .products-subttl {
  margin: 56px 0 12px;
  padding: 0;
  border: none;
  color: var(--mp-black);
  font-size: var(--mp-fs-lg);
  font-weight: 700;
  line-height: 1.4;
  text-indent: 0;
}

.mp-renewal .products-subttl:first-child,
.mp-renewal .point-box_wrap .products-subttl {
  margin-top: 0;
}

.mp-renewal .products-subttl.center {
  margin-bottom: 32px;
  font-size: var(--mp-fs-xl);
  text-align: center;
}

.mp-renewal .products-text,
.mp-renewal .point-box .products-text {
  margin: 0;
  color: var(--mp-black);
  font-size: var(--mp-fs-base);
  font-weight: 400;
  line-height: 1.8;
}

.mp-renewal .products-ttl + .products-text {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   CTA ボタン（XD: 400x60 / 緑 #139a4a / 右向き三角）
   -------------------------------------------------------------------------- */
.mp-renewal a.products-btn.mp-btn--outline-green,
.mp-renewal a.products-btn.mp-btn--solid-green {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 400px;
  max-width: 100%;
  min-height: 60px;
  margin: 40px auto 0;
  padding: 14px 48px;
  border: 2px solid var(--mp-green);
  border-radius: 6px;
  font-size: var(--mp-fs-base);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease;
}

.mp-renewal a.products-btn.mp-btn--outline-green::after,
.mp-renewal a.products-btn.mp-btn--solid-green::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  transform: translateY(-50%);
  transition: 0.2s ease;
}

.mp-renewal a.products-btn.mp-btn--outline-green {
  background: var(--mp-white);
  color: var(--mp-green);
}

.mp-renewal a.products-btn.mp-btn--outline-green::after {
  border-color: transparent transparent transparent var(--mp-green);
}

.mp-renewal a.products-btn.mp-btn--outline-green:hover {
  background: var(--mp-green);
  color: var(--mp-white);
}

.mp-renewal a.products-btn.mp-btn--outline-green:hover::after {
  border-color: transparent transparent transparent var(--mp-white);
}

.mp-renewal a.products-btn.mp-btn--solid-green {
  background: var(--mp-green);
  color: var(--mp-white);
}

.mp-renewal a.products-btn.mp-btn--solid-green::after {
  border-color: transparent transparent transparent var(--mp-white);
}

.mp-renewal a.products-btn.mp-btn--solid-green:hover {
  background: var(--mp-white);
  color: var(--mp-green);
}

.mp-renewal a.products-btn.mp-btn--solid-green:hover::after {
  border-color: transparent transparent transparent var(--mp-green);
}

/* --------------------------------------------------------------------------
   「見積りプラス」とは？（要ページと同じ 1120 / 右メディア 475）
   -------------------------------------------------------------------------- */
.mp-renewal .video-box.mp-about {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--mp-content-wide);
  margin: 64px auto 0 !important;
  padding: 0 20px !important;
  padding-top: 0 !important;
}

.mp-renewal .mp-about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 475px;
  align-items: start;
  column-gap: 48px;
}

.mp-renewal .mp-about__title {
  margin: 0 0 24px;
  padding: 0;
  color: var(--mp-black);
  font-size: 35px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.mp-renewal .mp-about__lead {
  margin: 0 0 24px;
  color: var(--mp-black);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.6;
}

.mp-renewal .mp-about__lead.font-bold {
  font-weight: 700;
}

.mp-renewal .mp-about__text {
  margin: 0;
  color: var(--mp-black);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.85;
}

.mp-renewal .mp-about__media {
  position: relative;
  width: 475px;
  max-width: 100%;
  margin-top: 4px;
}

.mp-renewal .mp-about__movie {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.mp-renewal .mp-about__movie iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   グレーカード（お悩み / おすすめ）
   要の .km-pain__* と同一。チェック色のみ見積りプラス緑。
   -------------------------------------------------------------------------- */
.mp-renewal .mp-pain {
  margin-top: 72px;
}

.mp-renewal .mp-pain__title {
  margin: 0 0 36px;
  padding: 0;
  color: #000;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 0.02em;
}

.mp-renewal .mp-pain__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  gap: 17px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-renewal .mp-pain__card {
  position: relative;
  box-sizing: border-box;
  min-height: 132px;
  /* 左: カード余白24 + アイコン24 + 隙間10 */
  padding: 20px 24px 20px 58px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  background: #f7f7f7;
}

/* チェックは li の疑似。カード全体の縦中央に position で配置 */
.mp-renewal .mp-pain__card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 24px;
  height: 24px;
  background: url("/cms/wp-content/themes/pxp-cms/images/mitsumori/check.svg") center / 24px 24px no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.mp-renewal .mp-pain__card-title,
.mp-renewal .mp-pain__card-text {
  margin: 0;
  padding: 0;
  color: #000;
}

.mp-renewal .mp-pain__card-title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.mp-renewal .mp-pain__card-title:last-child {
  margin-bottom: 0;
}

.mp-renewal .mp-pain__card-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

/* お悩み専用: 説明文なしのためタイトルをカード内で縦中央揃え */
.mp-renewal .mp-pain__card--center {
  display: flex;
  align-items: center;
}

.mp-renewal .mp-pain__card--center .mp-pain__card-title {
  margin-bottom: 0;
}

.mp-renewal .mp-pain__closing {
  margin: 40px 0 0;
  color: #000;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   問い合わせ帯（XD: #eeeeee / 見出し 35px #292929）
   -------------------------------------------------------------------------- */
.mp-renewal .pT45.bt-6 {
  padding-top: 80px !important;
}

.mp-renewal .contact-box-title {
  color: #292929;
  font-size: var(--mp-fs-3xl);
  font-weight: 700;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   選ばれる理由（XD: 左テキスト 480 / 右画像 480、3ブロック）
   -------------------------------------------------------------------------- */
.mp-renewal .point-box_wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
}

.mp-renewal .point-box_left {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 0;
  padding-left: 0;
}

.mp-renewal .point-box_right {
  flex: 0 0 480px;
  max-width: 480px;
}

.mp-renewal .point-box_right img {
  display: block;
  width: 100%;
  height: auto;
}

/* 2枚重ね（XD: 右上1 430x170 の上に 右上2 420x184 を +60/+86 でずらす） */
.mp-renewal .mp-shot-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 480 / 270;
}

.mp-renewal .mp-shot-stack__front,
.mp-renewal .mp-shot-stack__back {
  position: absolute;
  height: auto;
}

.mp-renewal .mp-shot-stack__front {
  top: 0;
  left: 0;
  width: 89.58%;
}

.mp-renewal .mp-shot-stack__back {
  top: 31.85%;
  left: 12.5%;
  width: 87.5%;
}

/* --------------------------------------------------------------------------
   機能（XD: 3列 / 図版枠 316x207 / タイトル20 / 本文18 ＋ 材料点数バッジ）
   -------------------------------------------------------------------------- */
.mp-renewal .mp-func__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 16px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.mp-renewal .mp-func__card {
  margin: 0;
  padding: 0;
  background: transparent;
}

.mp-renewal .mp-func__figure {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  container-type: inline-size;
  aspect-ratio: 316 / 207;
  margin: 0 0 20px;
  overflow: hidden;
  background: var(--mp-white);
}

.mp-renewal .mp-func__figure img.mp-func__img,
.mp-renewal .mp-func__figure .mp-func__img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  margin: 0;
  object-fit: contain;
}

.mp-renewal .mp-func__figure .mp-shot-stack--card {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 316 / 207;
}

.mp-renewal .mp-shot-stack--card .mp-shot-stack__front {
  width: 94.94%;
}

.mp-renewal .mp-shot-stack--card .mp-shot-stack__back {
  top: 41.55%;
  left: 12.34%;
  width: 87.66%;
}

.mp-renewal .mp-func__badge {
  display: flex;
  position: absolute;
  top: 4.8%;
  left: 20.6%;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 60.1%;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  background: var(--mp-green-icon);
  color: var(--mp-white);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.mp-renewal .mp-func__badge-label {
  font-size: 19px;
  font-size: 6cqw;
}

.mp-renewal .mp-func__badge-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.mp-renewal .mp-func__badge-prefix,
.mp-renewal .mp-func__badge-unit {
  font-size: 20px;
  font-size: 6.3cqw;
  line-height: 1.05;
}

.mp-renewal .mp-func__badge-num {
  font-size: 80px;
  font-size: 25.3cqw;
  line-height: 0.9;
}

.mp-renewal .mp-func__title {
  margin: 0 0 10px;
  color: var(--mp-black);
  font-size: var(--mp-fs-md);
  font-weight: 700;
  line-height: 1.4;
}

.mp-renewal .mp-func__text {
  margin: 0;
  color: var(--mp-black);
  font-size: var(--mp-fs-base);
  font-weight: 400;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   サポート体制（XD: 4カラム 232x156 / タイトル20 / 本文18）
   -------------------------------------------------------------------------- */
.mp-renewal .support-items {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 17px;
  width: 100%;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mp-renewal .support-item {
  width: calc((100% - 51px) / 4);
  margin: 0;
}

.mp-renewal .support-item img {
  display: block;
  width: 100%;
  aspect-ratio: 232 / 156;
  height: auto;
  margin: 0 0 12px;
  object-fit: cover;
}

.mp-renewal .support-ttl {
  margin: 0 0 6px;
  color: var(--mp-black);
  font-size: var(--mp-fs-md);
  font-weight: 700;
  line-height: 1.4;
}

.mp-renewal .support-text {
  margin: 0;
  color: var(--mp-black);
  font-size: var(--mp-fs-base);
  font-weight: 400;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   支店網（XD: 980x329 / #f7f7f7 / 右にマップ 441x287）
   -------------------------------------------------------------------------- */
.mp-renewal .mp-branch {
  box-sizing: border-box;
  margin-top: 24px;
  padding: 28px 22px;
  border: none;
  background: var(--mp-gray-box);
}

.mp-renewal .mp-branch__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mp-renewal .mp-branch__content {
  flex: 1 1 auto;
  min-width: 0;
}

.mp-renewal .mp-branch__title {
  margin: 0 0 8px;
  color: var(--mp-black);
  font-size: var(--mp-fs-md);
  font-weight: 700;
  line-height: 1.4;
}

.mp-renewal .mp-branch__text {
  margin: 0;
  color: var(--mp-black);
  font-size: var(--mp-fs-base);
  font-weight: 400;
  line-height: 1.8;
}

.mp-renewal .mp-branch__map {
  flex: 0 0 441px;
  max-width: 46%;
}

.mp-renewal .mp-branch__map img {
  display: block;
  width: 100% !important;
  max-width: 441px;
  height: auto !important;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   安心と信頼の実績（XD: 数値3件 赤 / リード文 / 事例2件）
   -------------------------------------------------------------------------- */
.mp-renewal .mp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 40px 0 0;
  padding: 0;
  border: none;
  background: transparent;
  list-style: none;
  text-align: center;
}

.mp-renewal .mp-stats__item {
  margin: 0;
  padding: 0;
}

.mp-renewal .mp-stats__label {
  margin: 0 0 8px;
  color: var(--mp-red);
  font-size: var(--mp-fs-lg);
  font-weight: 700;
  line-height: 1.4;
}

.mp-renewal .mp-stats__value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 6px;
  margin: 0;
  color: var(--mp-red);
  font-weight: 700;
  line-height: 1;
}

.mp-renewal .mp-stats__num {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
}

.mp-renewal .mp-stats__prefix,
.mp-renewal .mp-stats__unit {
  font-size: var(--mp-fs-lg);
  font-weight: 700;
}

.mp-renewal .mp-stats__note {
  color: var(--mp-red);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.mp-renewal .mp-achievement__lead {
  margin: 28px 0 0;
  color: var(--mp-black);
  font-size: var(--mp-fs-base);
  font-weight: 400;
  line-height: 1.8;
}

.mp-renewal .mp-achievement .voice-wrapper {
  margin-top: 40px;
}

/* XD: 2列。products.css / voice.css の hover 演出は維持する */
.mp-renewal .mp-achievement ul.voiceList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 22px;
  justify-content: initial;
}

.mp-renewal .mp-achievement li.voiceList__content {
  width: auto;
  margin: 0;
}

.mp-renewal .mp-achievement a.voiceList__link {
  height: 100%;
  box-sizing: border-box;
}

.mp-renewal .mp-achievement .voiceList__image {
  height: auto;
}

.mp-renewal .mp-achievement .voiceList__image img {
  display: block;
  width: 100%;
  aspect-ratio: 479 / 286;
  height: auto;
  object-fit: cover;
}

.mp-renewal .mp-achievement h3.voiceList__title {
  margin: 0;
  padding-bottom: 10px;
  font-size: 18px;
  line-height: 1.5;
  height: auto !important;
  color: #333;
  transition: 0.3s ease-in-out;
}

.mp-renewal .mp-achievement .voiceList__link:hover h3.voiceList__title {
  color: #fff;
}

.mp-renewal .mp-achievement p.voiceList__text {
  margin: 12px 0 0;
  font-size: var(--mp-fs-base);
}

.mp-renewal .mp-achievement .voiceList__quote {
  margin: 12px 0 0;
  color: #333;
  font-size: var(--mp-fs-base);
  font-weight: 400;
  line-height: 1.7;
  transition: 0.3s ease-in-out;
}

.mp-renewal .mp-achievement .voiceList__link:hover .voiceList__quote {
  color: #fff;
}

.mp-renewal .mp-achievement .voiceList__category {
  display: none;
}

/* --------------------------------------------------------------------------
   価格について（XD: 25px Bold 中央寄せ）
   -------------------------------------------------------------------------- */
.mp-renewal .mp-price__text {
  margin: 40px 0 0;
  color: var(--mp-black);
  font-size: var(--mp-fs-lg);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* --------------------------------------------------------------------------
   よくある質問（XD: Q 980x70 #d8d8d8 / A 白地 1px #d8d8d8 / ラベル34px）
   -------------------------------------------------------------------------- */
.mp-renewal .faq-wrapper {
  margin-top: 40px;
}

.mp-renewal .faq-wrapper ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-renewal .faq-wrapper > ul > li {
  margin: 0;
  padding: 0;
}

.mp-renewal .faq-wrapper > ul > li::before {
  display: none;
}

.mp-renewal .title_type002_02_area {
  margin-bottom: 20px;
}

.mp-renewal .title_type002_02 {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 70px;
  padding: 12px 24px 12px 132px;
  background: var(--mp-border);
  color: var(--mp-black);
  font-size: var(--mp-fs-md);
  font-weight: 700;
  line-height: 1.4;
}

.mp-renewal .title_type002_02::before {
  top: 50%;
  left: 0;
  margin-left: 30px;
  color: var(--mp-black);
  font-size: var(--mp-fs-2xl);
  line-height: 1;
  transform: translateY(-50%);
}

.mp-renewal .qa_txt {
  box-sizing: border-box;
  padding: 20px 24px 20px 132px;
  border: 1px solid var(--mp-border);
  border-top: none;
  background: var(--mp-white);
  color: var(--mp-black);
  font-size: var(--mp-fs-base);
  font-weight: 400;
  line-height: 1.75;
}

.mp-renewal .qa_txt::before {
  top: 18px;
  left: 0;
  margin-left: 30px;
  color: var(--mp-pink);
  font-size: var(--mp-fs-2xl);
  line-height: 1;
}

.mp-renewal .mp-faq__link {
  color: #0000ee;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.mp-renewal .mp-faq__link:hover {
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   導入までの流れ（XD: 機械αと同一。配色のみ見積りプラスの緑へ）
   -------------------------------------------------------------------------- */
.mp-renewal .pw-flow-icon {
  background-color: var(--mp-green);
}

.mp-renewal .pw-flow-ttl {
  color: var(--mp-green);
}

.mp-renewal .pw-flow-text {
  font-size: var(--mp-fs-base);
}

/* --------------------------------------------------------------------------
   下部フォーム
   -------------------------------------------------------------------------- */
.mp-renewal .mp-form-box .contact-form {
  max-width: 972px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1100px) {
  .mp-renewal .mp-about__inner {
    grid-template-columns: minmax(0, 1fr) 400px;
  }

  .mp-renewal .mp-about__media {
    width: 400px;
  }

  .mp-renewal .mp-about__title,
  .mp-renewal .mp-pain__title {
    font-size: 30px;
  }

  .mp-renewal .mp-about__lead {
    font-size: 20px;
  }

  .mp-renewal .mp-pain__grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .mp-renewal .mp-pain__closing {
    font-size: 26px;
  }

  .mp-renewal .mp-func__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mp-renewal .support-item {
    width: calc((100% - 17px) / 2);
  }

  .mp-renewal .mp-branch__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .mp-renewal .mp-branch__map {
    flex: none;
    width: 100%;
    max-width: 441px;
    margin-inline: auto;
  }

  .mp-renewal .mp-stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mp-renewal .mp-achievement ul.voiceList {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 834px) {
  .mp-renewal {
    font-size: 16px;
  }

  .mp-renewal .products-ttl {
    min-height: 0;
    padding: 14px 16px;
    font-size: 20px;
  }

  .mp-renewal .products-subttl,
  .mp-renewal .point-box .products-subttl {
    margin-top: 40px;
    font-size: 20px;
  }

  .mp-renewal .products-subttl.center {
    font-size: 22px;
  }

  .mp-renewal .products-text,
  .mp-renewal .point-box .products-text {
    font-size: 16px;
  }

  .mp-renewal .products-ttl + .products-text {
    margin-top: 24px;
  }

  .mp-renewal .contact-box-title {
    font-size: 22px;
  }

  .mp-renewal .video-box.mp-about {
    margin-top: 40px !important;
  }

  .mp-renewal .mp-about__inner {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .mp-renewal .mp-about__media {
    width: 100%;
  }

  .mp-renewal .mp-about__title {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .mp-renewal .mp-about__lead {
    margin-bottom: 16px;
    font-size: 18px;
  }

  .mp-renewal .mp-about__text {
    font-size: 16px;
  }

  .mp-renewal .mp-pain {
    margin-top: 48px;
  }

  .mp-renewal .mp-pain__title {
    margin-bottom: 24px;
    font-size: 24px;
  }

  .mp-renewal .mp-pain__card {
    min-height: 0;
    /* 左: 余白16 + アイコン24 + 隙間10 */
    padding: 16px 16px 18px 50px;
  }

  .mp-renewal .mp-pain__card::before {
    left: 16px;
  }

  .mp-renewal .mp-pain__card-title {
    font-size: 17px;
  }

  .mp-renewal .mp-pain__card-text {
    font-size: 14px;
  }

  .mp-renewal .mp-pain__closing {
    margin-top: 28px;
    font-size: 18px;
  }

  .mp-renewal .point-box_wrap {
    flex-direction: column-reverse;
    gap: 20px;
    margin-top: 24px;
  }

  .mp-renewal .point-box_right {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .mp-renewal .mp-func__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 400px;
    margin-inline: auto;
  }

  .mp-renewal .mp-func__title {
    font-size: 18px;
  }

  .mp-renewal .mp-func__text,
  .mp-renewal .support-text,
  .mp-renewal .mp-branch__text,
  .mp-renewal .mp-achievement__lead {
    font-size: 15px;
  }

  .mp-renewal .support-ttl,
  .mp-renewal .mp-branch__title {
    font-size: 18px;
  }

  .mp-renewal .support-items {
    gap: 24px;
  }

  .mp-renewal .support-item {
    width: 100%;
  }

  .mp-renewal .mp-branch {
    padding: 20px 16px;
  }

  .mp-renewal .mp-stats__label {
    font-size: 19px;
  }

  .mp-renewal .mp-stats__prefix,
  .mp-renewal .mp-stats__unit {
    font-size: 19px;
  }

  .mp-renewal .mp-stats__num {
    font-size: 48px;
  }

  .mp-renewal .mp-achievement h3.voiceList__title {
    font-size: 19px;
  }

  .mp-renewal .mp-achievement p.voiceList__text,
  .mp-renewal .mp-achievement .voiceList__quote {
    font-size: 15px;
  }

  .mp-renewal .mp-price__text {
    margin-top: 24px;
    font-size: 19px;
    text-align: left;
  }

  .mp-renewal .title_type002_02 {
    min-height: 0;
    padding: 12px 16px 12px 100px;
    font-size: 17px;
  }

  .mp-renewal .title_type002_02::before {
    left: 0;
    margin-left: 16px;
    font-size: 26px;
  }

  .mp-renewal .qa_txt {
    padding: 16px 16px 16px 100px;
    font-size: 15px;
  }

  .mp-renewal .qa_txt::before {
    top: 14px;
    left: 0;
    margin-left: 16px;
    font-size: 26px;
  }

  .mp-renewal .pw-flow-text {
    font-size: 16px;
  }

  .mp-renewal a.products-btn.mp-btn--outline-green,
  .mp-renewal a.products-btn.mp-btn--solid-green {
    width: 100%;
    max-width: 400px;
    margin-top: 32px;
    padding: 14px 40px;
    font-size: 16px;
  }
}

.mp-price__text.text-left {
  text-align: left;
}