/* グローバル設定 */
* {
  box-sizing: border-box;
}

img, video, svg {
  max-width: 100%;
  height: auto;
}

/* visually-hidden クラス - スクリーンリーダー用 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ZOHO */
.formFieldWrapper > .tempFrmWrapper {
  margin: 0!important;
}

/* FV / Hero セクション */
.fv-hero {
  width: 100%;
  height: auto;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.fv-hero__container {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* 1列目：吹き出し・文言 */
.fv-hero__left {
  flex: 1;
  padding: 20px;
  position: relative;
}

/* 吹き出しセクション */
.fv-speech-bubble {
  position: relative;
  margin-top: 55px;
  margin-left: 69px;
  z-index: 10;
  width: 100%;
  max-width: 550px;
  height: 140px;
}

.fv-bubble-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fv-bubble-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #333;
  font-weight: bold;
}

.fv-sub {
  margin: 0;
  line-height: 1.4;
}

.fv-underline {
  border-bottom: 2px solid #FFF201;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 吹き出し右下の車の画像 */
.fv-bubble-car {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 5;
  width: auto;
  height: auto;
}

.fv-bubble-car img {
  width: auto;
  height: auto;
  max-width: 600px;
  object-fit: contain;
}

/* PC版とSP版の画像切り替え */
.fv-bubble-car-pc {
  display: block;
  width: 99vw;
}

.fv-bubble-car-sp {
  display: none;
  width: fit-content; /* 画像の幅に合わせる */
}

/* SP版画像のサイズ制限 */
.fv-bubble-car-sp img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* CTAボタンの表示制御 */
.cta-button-image-pc {
  display: block !important;
  width: 47.3%;
}

.cta-button-image-sp {
  display: none !important;
}

/* 768px以下でSP版ボタンを表示、PC版ボタンを非表示 */
@media screen and (max-width: 768px) {
  .cta-button-image-pc {
    display: none !important;
  }
  
  .cta-button-image-sp {
    display: block !important;
  }
}

/* バッジ */
.fv-badge {
  position: absolute;
  top: 55px;
  left: 69px;
  z-index: 15;
  background-color: #FFE729;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* タイトル */
.fv-title {
  margin-top: 20px;
  color: #fff;
}

.fv-title__fee {
  font-size: 2.5em;
  color: #ff6b6b;
}

.fv-title__main {
  font-size: 3.5em;
  color: #fff;
  font-weight: bold;
}

/* ポイントリスト */
.fv-points {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.fv-points li {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #333;
}

.fv-points b {
  color: #ff6b6b;
}

/* 2列目：人物画像 */
.fv-hero__center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.fv-people {
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: contain;
}

/* 3列目：フォーム */
.fv-hero__right {
  flex: 1;
  padding: 20px;
}

/* FV内に配置するフォーム */
.fv-hero__form {
  min-height: 900px;
  position: absolute;
  top: 7%;
  right: 0.3%;
  z-index: 10;
  width: 30%;
  max-width: 450px;
  /* overflow: hidden; */
}

/* 画面幅に応じたright値の調整 */
@media screen and (min-width: 1440px) {
  .fv-hero__form {
    right: .3%;
    top: 7%;
  }
}

@media screen and (min-width: 1600px) {
  .fv-hero__form {
    right: 1%;
    top: 7.1%;
  }
}

@media screen and (min-width: 1800px) {
  .fv-hero__form {
    right: 2.5%;
    top: 7.7%;
  }
}

@media screen and (min-width: 2000px) {
  .fv-hero__form {
    right: 5%;
    top: 8%;
  }
}

.fv-formwrap {
  height: 930px;
}

@media screen and (max-width: 1023px) {
  .fv-hero__form {
    max-height: 880px;
  }
}

.fv-right__badge {
  background-color: #ff8c00;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  #slider-top-kaitori {
    padding-top: 53px;
  }

  .fv-formwrap {
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
    min-height: 600px;
    overflow: hidden;
  }
}

.fv-form {
  width: 100% !important;
  height: 100%;
  min-height: 700px;
  border: none;
  overflow: auto;
  max-width: 100%;
}

/* iframe要素自体の幅を確実に100%に設定 */
.fv-form iframe {
  width: 100% !important;
  max-width: 100%;
  border: none;
}

@media screen and (max-width: 1400px) {
  .fv-form {
    min-height: 500px;
  }
}

/* CTA セクション */
.cta-section {
  width: 100%;
  margin: 0;
  padding: 60px 0;
  background-color: #F28600;
  position: relative;
  height: auto;
}

.new-purchase-cta {
  padding: 0;
  background-image: url('../images/new-purchase/fv/cta/cta_bk1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

@media screen and (min-width: 1023px) {
  new-purchase-cta {
    max-height: 446px;
  }
}

/* 追加の背景画像（疑似要素） */
.new-purchase-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, 1440px);
  height: 100%;
  max-height: 446px;
  background-image: url('../images/new-purchase/fv/cta/2x_CTA.png');
  background-size: 100%; /* サイズ感を調整（メイン背景より小さく） */
  background-position: bottom;
  background-repeat: no-repeat;
  z-index: 1; /* メイン背景画像の上に表示 */
  pointer-events: none; /* クリックイベントを無効化 */
  opacity: 0.9; /* 透明度を少し下げて重なりを調整 */
}

@media screen and (max-width: 768px) {
  .cta-section {
    background-image: url('../images/new-purchase/fv/cta/bk_sp.png');
    background-size: cover;
    background-position: center;
  }
}

/* SP用の追加背景（疑似要素差し替え） */
@media screen and (max-width: 768px) {
  .new-purchase-cta::before {
    background-image: url('../images/new-purchase/fv/cta/2x_CTA_SP2.png');
    background-size: 100%;
    background-position: top;
    top: 13%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1440px);
  }
}

@media screen and (min-width: 440px) and (max-width: 460px) {
  .new-purchase-cta::before {
    background-image: url('../images/new-purchase/fv/cta/2x_CTA_SP2.png');
    background-size: 100%;
    background-position: top;
    top: 9.5%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1440px);
  }
}

@media screen and (min-width: 401px) and (max-width: 416px) {
  .new-purchase-cta::before {
    background-image: url('../images/new-purchase/fv/cta/2x_CTA_SP2.png');
    background-size: 100%;
    background-position: top;
    top: 13%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1440px);
  }
}
@media screen and (min-width: 417px) and (max-width: 429px) {
  .new-purchase-cta::before {
    background-image: url('../images/new-purchase/fv/cta/2x_CTA_SP2.png');
    background-size: 100%;
    background-position: top;
    top: 11.5%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1440px);
  }
}
@media screen and (min-width: 430px) and (max-width: 440px) {
  .new-purchase-cta::before {
    background-image: url('../images/new-purchase/fv/cta/2x_CTA_SP2.png');
    background-size: 100%;
    background-position: top;
    top: 11%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1440px);
  }
}
@media screen and (min-width: 441px) and (max-width: 450px) {
  .new-purchase-cta::before {
    background-image: url('../images/new-purchase/fv/cta/2x_CTA_SP2.png');
    background-size: 100%;
    background-position: top;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1440px);
  }
}


@media screen and (max-width: 400px) {
  .new-purchase-cta::before {
    background-image: url('../images/new-purchase/fv/cta/2x_CTA_SP2.png');
    background-size: 100%;
    background-position: top;
    top: 14%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1440px);
  }
}

.contact-btn {
  height: 70px;
  text-align: center;
  color: #fff;
  width: 146px;
  box-sizing: border-box;
}




/* SP版の背景画像 */
@media screen and (max-width: 1023px) {
  .cta-section {
    background-image: url('../images/new-purchase/fv/cta/bk_sp.png');
    background-size: cover;
    background-position: center;
  }
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: center; /* 中央揃えに変更 */
  position: relative;
  z-index: 2;
  width: 100%; /* 幅を明示的に設定 */
}

@media screen and (max-width: 1023px) {
  .cta-container {
    padding: 0;
  }
}

.new-purchase-cta-container{
  position: relative;
}

.cta-figure {
  object-fit: cover;
  position: relative;
  bottom: 0;
}

/* 画像サイズを強制的に制限 */
.cta-figure img {
  width: 100%;
  max-width: 400px;
  max-height: 500px;
}
.cta-main-headline {
  width: 100%;
  margin: 0 auto;
}
/* 左側の人物画像 */
.cta-left-figure {
  width: 26%;
  height: fit-content;
  position: absolute;
  left: -1%;
  bottom: 0; /* ボタンにより接するように調整 */
  z-index: -1;
  text-align: center;
}

/* 1024px未満での左側の人物画像のサイズと位置 */
@media screen and (max-width: 1023px) {
  .cta-left-figure {
    width: 24.27%; /* 91px ÷ 375px × 100 */
    height: 30.67%; /* 115px ÷ 375px × 100 */
    left: 2.13%; /* 8px ÷ 375px × 100 */
    top: 29.33%; /* 110px ÷ 375px × 100 */
    z-index: -1;
  }
}

/* 右側の人物画像 */
.cta-right-figure {
  width: 21%;
  height: fit-content;
  position: absolute;
  right: 1.5%;
  bottom: 0; /* ボタンにより接するように調整 */
  z-index: -1;
  text-align: center;
}

/* 1024px未満での右側の人物画像のサイズと位置 */
@media screen and (max-width: 1023px) {
  .cta-right-figure {
    width: 24.27%; /* 91px ÷ 375px × 100 */
    height: 30.67%; /* 115px ÷ 375px × 100 */
    right: 2.13%; /* 8px ÷ 375px × 100 */
    top: 29.33%; /* 115px ÷ 375px × 100 */
    z-index: -1;
  }
}

/* SP版での画像切り替え */
@media screen and (max-width: 1023px) {
  .cta-left-figure-pc img {
    content: url('../images/new-purchase/fv/cta/left_sp.png');
  }
  
  .cta-right-figure-pc img {
    content: url('../images/new-purchase/fv/cta/right_sp.png');
  }
}

/* PC版とSP版の画像切り替え */
.cta-left-figure-pc,
.cta-right-figure-pc {
  display: block;
}

.cta-left-figure-sp,
.cta-right-figure-sp {
  display: none;
}

/* 中央のコンテンツ */
.cta-center-content {
  text-align: center;
  width: 100%;
  max-width: 800px; /* コンテンツの最大幅を設定 */
  padding: 66px 0 0; /* 上部パディングを復活 */
  position: relative;
  z-index: 2; /* 背景画像の上に表示 */
  display: flex; /* Flexboxを追加 */
  flex-direction: column; /* 縦並び */
  align-items: center; /* 子要素を中央揃え */
  justify-content: flex-start; /* 上から配置開始 */
  /* Flexboxではmargin: autoは効かないため削除 */
  flex-shrink: 0; /* 縮小を防ぐ */
}

@media screen and (max-width: 1023px) {
  .cta-center-content {
    padding: 10% 20px 0 20px; /* 左右のパディングを追加 */
    width: 100%;
    max-width: 100%; /* タブレット以下では最大幅を解除 */
  }
}

.cta-main-headline {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

/* メインヘッドライン */
.cta-main-headline h2 {
  color: #fff;
  margin: 0 0 10px 0;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media screen and (max-width: 1023px) {
  .cta-main-headline h2 {
    font-size: 28px;
  }
  .cta-main-headline .cta-headline-1 {
    font-size: 22px;
    white-space: nowrap;
  }
  .cta-headline-2 {
    font-size: 28px;
  }
}

@media screen and (max-width: 440px) {
  .cta-main-headline h2 {
    font-size: 28px;
  }
  
  .cta-center-content {
    padding: 11% 27px 0; /* SP版では左右のパディングを調整 */
    text-align: center;
    width: 100%;
  }
}

@media screen and (max-width: 1023px) {
  .cta-sub-headline span {
    font-size: clamp(19px, 2vw, 24px);
    font-weight: bold;
    color: #fff;
    display: block;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
}

@media screen and (max-width: 376px) {
  .cta-sub-headline span {
    font-size: 19px;
  }
}

.cta-main-headline p {
  font-size: 1.2em;
  color: #fff;
  margin: 0 0 20px 0;
  font-weight: 500;
}

/* サブヘッドライン */
.cta-sub-headline {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.cta-sub-headline p {
  font-size: 1.1em;
  color: #fff;
  margin: 0 0 30px 0;
  font-weight: 400;
}

/* サブヘッドライン内のspan要素 */
.cta-sub-headline span {
  font-size: clamp(19px, 3vw, 32px);
  font-weight: bold;
  color: #fff;
  display: block;
  margin-bottom: 40px;
}

/* SP版での改行制御 */
.sp-only {
  display: none; /* PC版では非表示 */
}

/* CTAボタン */
.cta-buttons {
  display: flex;
  gap: 5.4%;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  transform: translateY(-4%); /* -15px ÷ 375px × 100 */
}

@media screen and (max-width: 768px) {
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 5.4%;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* 画像ボタン */
.cta-button-image {
  transition: transform 0.3s ease;
}

.cta-button-image:hover {
  transform: translateY(-5px);
}

.cta-button-image img {
  width: 100%;
  height: 100%;
  display: block;
}

@media screen and (max-width: 376px) {
  .cta-button-image img {
    width: 100%;
    max-width: 325px;
    height: 100%;
  }
}


@media screen and (max-width: 1023px) {
  .cta-buttons {
    margin-top: 0;
  }
}

/* 個別のヘッドライン文字サイズ */
.cta-headline-1 {
  font-size: clamp(22px, calc(2.63vw + 12.14px), 50px); /* 事故車・不動車・廃車でもOK！ */
}

.cta-headline-2 {
  font-size: clamp(28px, calc(2.066vw + 20.25px), 50px); /* 安心の無料査定はこちら */
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .fv-hero {
    width: 100%;
    height: auto;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .fv-hero__container {
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .fv-speech-bubble {
    width: 100%;
    max-width: 550px;
    margin: 20px auto;
  }
  
  .fv-badge {
    position: relative;
    top: auto;
    left: auto;
    margin: 20px auto;
    display: block;
    width: fit-content;
  }
  
  /* 768px以下でフォームを非表示 */
  .fv-hero__form {
    display: none;
  }
  
  /* 768px以下でPC版画像を非表示、SP版画像を表示 */
  .fv-bubble-car-pc {
    display: none;
  }
  
  .fv-bubble-car-sp {
    display: block;
    width: fit-content; /* 画像の幅に合わせる */
  }
  
  /* 768px以下でのSP版画像サイズ制限 */
  .fv-bubble-car-sp img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  .cta-section {
    width: 100%;
    padding: 0;
    height: auto; /* 自然高さに戻す */
    min-height: 488px; /* 最小高さは維持 */
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: hidden;
  }

  .new-purchase-cta-container {
    flex-direction: column;
    justify-content: flex-start; /* 上から配置開始 */
    align-items: center;
    padding-top: 0; /* 上から40pxの位置に配置（40px ÷ 375px × 100） */
    height: 100%;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* 768px以下でPC版画像を非表示、SP版画像を表示 */
  .cta-left-figure-pc,
  .cta-right-figure-pc {
    display: none;
  }
  
  .cta-left-figure-sp,
  .cta-right-figure-sp {
    display: block;
    position: absolute;
    width: 24.27%; /* 91px ÷ 375px × 100 */
    height: 30.67%; /* 115px ÷ 375px × 100 */
    z-index: -1;
    bottom: 50%; /* ボタンに接するように調整 */
  }
  
  /* 左側の人物画像の位置調整 */
  .cta-left-figure-sp {
    top: 10%;
    left: 0; /* セクション中央の左端に配置 */
  }
    
    /* 右側の人物画像の位置調整 */
  .cta-right-figure-sp {
    top: 10%;
    right: 0;

  }
}

/* @media screen and (max-width: 600px) {
  .cta-left-figure-sp {
    top: 22%;
  }
  .cta-right-figure-sp {
    top: 22%;
  }
} */
  
  .cta-buttons {
    gap: 0;
    margin: 0 auto; /* テキストとの間隔を調整 */
  }
  
  .cta-button {
    min-width: auto;
    width: 100%;
    max-width: 300px;
  }
  
  /* 768px以下でPC版CTAボタンを非表示、SP版CTAボタンを表示 */
  .cta-button-image-pc {
    display: none;
  }
  
  .cta-b {
    display: block;
    width: 87.2%; /* 327px ÷ 375px × 100 */
    max-width: 327px;
    height: 29.87%; /* 112px ÷ 375px × 100 */
    margin-bottom: 4%; /* ボタン間の間隔を%で設定 */
  }
  
  /* CTAボタンを縦並びに配置 */
  .cta-buttons {
    gap: 5%; /* ボタン間の間隔を%で設定 */
    align-items: center;
    position: relative;
    bottom: 20px;
  }
@media screen and (max-width: 784px) {
  .cta-button-image-sp {
    margin-top: 19px;
    width: 100%;
    min-width: 327px;
  }
}
 


@media screen and (max-width: 380px) {
  /* 左側の人物画像の位置調整 */
  .cta-left-figure-sp {
    top: 0;
  }
}


/* タブレット対応（768px~1023px） */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* FVセクション */
  .fv-hero {
    width: 100%;
    height: auto;
    min-height: 600px;
    margin-top: 24.7px;
  }
  
  .fv-hero__container {
    flex-direction: column;
    gap: 20px;
  }
  
  /* タブレット版でPC版画像を非表示、SP版画像を表示 */
  .fv-bubble-car-pc {
    display: none;
  }
  
  .fv-bubble-car-sp {
    display: block;
    width: 100%; /* 画像の幅に合わせる */
    /* タブレット版の最大幅を制限 */
  }
  
  /* タブレット版でのSP版画像サイズ制限 */
  .fv-bubble-car-sp img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  /* タブレット版でフォームを非表示 */
  .fv-hero__form {
    display: none;
  }
  
  /* タブレット版でPC版画像を非表示、SP版画像を表示 */
  .cta-left-figure-pc,
  .cta-right-figure-pc {
    display: none;
  }
  
  .cta-left-figure-sp,
  .cta-right-figure-sp {
    display: block;
  }
  
  /* タブレット版でPC版CTAボタンを非表示、SP版CTAボタンを表示 */
  .cta-button-image-pc {
    display: none !important; /* 強制的に非表示 */
  }
  
  .cta-button-image-sp {
    display: block !important; /* 強制的に表示 */
    position: relative;
    top: 53.87%; /* 375pxのときトップから202pxの位置 */
  }
  
  /* 右側のCTAボタン（お問い合わせ）の位置調整 */
  .cta-button-image-sp:last-child {
    top: 89.07%; /* 375pxのときトップから334pxの位置 */
  }
}

@media screen and (max-width: 1023px) {
  .sp-only {
    display: inline; /* SP版では改行を表示 */
  }
}

/* SP対応（375px基準） */
@media screen and (max-width: 376px) {
  /* FVセクション */
  .fv-hero {
    width: 100%;
    max-width: 100vw;
    height: auto;
    min-height: 607px;
    padding: 0;
    overflow-x: hidden;
  }
  
  .fv-hero__container {
    width: 100%;
    max-width: 100vw;
    flex-direction: column;
    gap: 20px;
    overflow-x: hidden;
  }
  
  /* SP版FV画像 */
  .fv-bubble-car img {
    content: url('../images/new-purchase/fv/FV_SP.png');
    width: 100%;
    height: auto;
  }
  
  /* SP版でフォームを非表示 */
  .fv-hero__form {
    display: none;
  }
  
  /* 横並び要素を縦並びに変更 */
  .cta-container {
    flex-direction: column;
    gap: 30px;
    padding: 0;
    justify-content: flex-start; /* 上から配置開始 */
    align-items: center; /* 子要素を中央揃え */
  }
  
  .cta-left-figure-sp,
  .cta-right-figure-sp {
    top: 17.5%;
    height: 29.33%; /* 110px ÷ 375px × 100 */
    max-height: 29.33%; /* 110px ÷ 375px × 100 */
    width: 24%; /* 90px ÷ 375px × 100 */
  }

  .cta-left-figure-sp {
    top: 18.5%;
    left: 2%;
  }

  .cta-right-figure-sp {
    top: 18.5%;
    right: 2%;
  }
  
  .cta-center-content {
    width: 100%;
    max-width: 100%;
    padding: 40px 20px 0 20px;
    text-align: center;
    order: -1; /* 中央コンテンツを最初に表示 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  
  .cta-main-headline .cta-headline-2 {
    white-space: nowrap; /* 1行に収める */
  }
  
  .cta-sub-headline span {
    font-size: clamp(19px, 5.07vw, 24px) !important; /* たった45秒で完了！すぐ無料でカンタン査定 */
  }
  
  /* SP版での改行を表示 */
  .sp-only {
    display: inline; /* SP版では改行を表示 */
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .cta-button-image img {
    width: 100%;
    height: auto;
  }
  
  /* 理由セクション */
  .reason-elements-new {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 375px;
    gap: 30px;
  }
  
  .reason-detail-new {
    width: 100%;
    max-width: 375px;
    height: auto;
  }
  
  /* お悩み解決セクション */
  .problem-content-text-article-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  
  .problem-content-text-article-item {
    width: 280px;
    height: 280px;
  }
  
  /* メリットセクション */
  .ourmerit-content {
    width: 100%;
    max-width: 375px;
    flex-direction: column;
    gap: 20px;
  }
  
  .ourmerit-content-item {
    width: 100%;
    height: auto;
    min-height: 250px;
    max-width: 250px;
  }
  
  /* フローセクション */
  .flow-container-new {
    width: 100%;
    max-width: 375px;
    padding: 80px 20px !important;
  }
  
  .flow-elements-pc {
    width: 100%;
    max-width: 375px;
  }
  
  .flow-detail-new {
    width: 100%;
    max-width: 375px;
    height: auto;
    min-height: 200px;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  
  .flow-text-section-new {
    text-align: center;
  }
  
  /* 車の買取事例スライダー（SP版） */
  /* ディープラスの強み：2列に可変化 */
  .ourmerit-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  
  .ourmerit-content-item {
    height: auto;
    min-height: 260px;
  }

  /* Swiper.js用のスタイル - シンプル版 */
  .car-swiper {
    width: 100%;
    position: relative;
  }
  
  .car-swiper .swiper-slide {
    width: 100%;
  }
  
  /* ナビゲーションボタンを非表示 */
  .car-swiper .swiper-button-prev,
  .car-swiper .swiper-button-next {
    display: none !important;
  }
  
  /* ページネーションを表示（ナビゲーションボタンと同じ色） */
  .car-slider-container .swiper-pagination {
    display: block !important;
    position: relative;
    margin-top: 20px;
    z-index: 100;
    pointer-events: auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .car-slider-container .swiper-pagination-bullet {
    background: #333;
    opacity: 0.3;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .car-slider-container .swiper-pagination-bullet-active {
    opacity: 1;
    background: #0065A9;
    transform: scale(1.2);
  }
  
  /* コンテナは画面幅いっぱい */
  .car-slider-container { 
    width: 100%;
    max-width: none;
    margin: 0;
  }
  
  /* 画像はレイアウトシフトを起こさないように */
  .car-swiper img {
    width: 100%;
    height: auto;
    display: block;
  }
  

}

/* 全体的な最大幅設定（FVとCTAセクションを除く） */
body {
  margin: 0;
  overflow-x: hidden; /* 横スクロールを防ぐ */
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  html {
    overflow-x: hidden;
  }
}

/* コンテンツ部分の最大幅設定（FVとCTAセクションを除く） */
.container,
.content,
.main-content,
.section-content {
  width: min(100%, 1440px);
  max-width: none;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* FVとCTAセクションは幅制限なし */
.fv-hero,
.cta-section {
  width: 100%;
  max-width: none;
  background-color: #0A6CDD;
}



@media screen and (max-width: 768px) {
  .fv-hero,
  .cta-section {
    min-height: 0;
  }
}

/* ページネーションを表示（ナビゲーションボタンと同じ色） */
.car-slider-container .swiper-pagination {
  display: block !important;
  position: relative;
  margin: 20px auto 0;
  z-index: 100;
  pointer-events: auto;
  text-align: center;
  padding: 10px 0;
  border-radius: 20px;
}

/* 車の買取事例セクション */
.reason-container {
  width: 100%;
  background-color: #DFF4FF;
  padding: 120px 0 130px;
}
.sample-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

/* PC版でのヘッドラインデザイン設定 */
.reason-headline {
  text-align: center;
  margin-bottom: 60px;
}
@media screen and (max-width: 440px) {
  .sample-container {
    width: 100%;
    background-color: #F7F2DE;
    padding: 60px 0;
  }
}

.reason-headline h2 {
  line-height: 1.4;
  margin: 0;
}

.reason-headline__condition {
  color: #0065A9;
  display: inline-block;
  margin-right: 8px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
  text-shadow: 
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
  vertical-align: baseline;
}



.reason-headline__line1 .reason-headline__condition,
.reason-headline__line2 .reason-headline__condition,
.reason-headline__line2 .reason-headline__us {
  display: inline-block;
  margin-right: 8px;
  vertical-align: baseline;
}

.reason-headline__condition-m {
  font-size: clamp(25px, calc(0.2817vw + 23.94px), 28px);
  font-weight: 900;
  margin-right: 0!important;
}

.reason-headline__condition-s {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: bold;
}

.reason-headline__us {
  color: #333;
  font-size: clamp(30px, calc(0.93897vw + 26.47887px), 40px);
  font-weight: 900;
}

/* 車の買取事例スライダー（PC版） */
.car-slider {
  display: flex;
  flex-direction: row; /* PC版は横並び */
  touch-action: pan-y; /* タップ中でも縦スクロールを許可 */
  gap: 20px;
  overflow-x: auto; /* 横スクロールを有効化 */
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: default !important;;
}

.car-slider::-webkit-scrollbar {
  display: none; /* Webkitブラウザのスクロールバーを非表示 */
  cursor: default !important;
}

.car-example-card {
  width: 100%;
  max-width: none; /* Swiper内では幅制限なし */
  min-width: auto; /* 最小幅制限なし */
  flex-shrink: 0; /* 縮小を防ぐ */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* PC版でのカード内デザイン設定 */
.car-example-card .car-image {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.car-example-card .car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-example-card .car-info {
  padding: 21.5px 20px;
  background: #fff;
}

.car-example-card .car-price {
  background: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.car-example-card .car-price-label {
  font-size: 12px;
  color: #333;
  background: #FFFEEB;
  border: 2px solid #ff0000;
  padding: 8px 10px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  line-height: 1.2;
  min-width: 60px;
}

/* PC版での区分などの項目デザイン設定 */
.car-example-card .car-details {
  padding: 0;
  background: #fff;
  width: 100%;
  border-collapse: collapse;
}

.car-example-card .car-details tr {
  border: none;
}

.car-example-card .car-details th,
.car-example-card .car-details td {
  padding: 0;
  border: none;
  text-align: left;
  vertical-align: top;
}

.car-example-card .car-details th {
  width: 72px;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
}

.car-example-card .car-details td {
  font-size: 16px;
  font-weight: bold;
}

.car-example-card .car-category {
  font-size: 12px;
  color: #fff;
  background: #075182;
  padding: 0 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 500;
}

.car-example-card .car-model {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.3;
}

.car-example-card .car-year {
  font-size: 16px;
  color: #333;
  margin-bottom: 6px;
}

.car-example-card .car-mileage {
  font-size: 16px;
  color: #333;
}
@media screen and (max-width: 768px) {
  .reason-container {
    width: 100%;
    background-color: #DFF4FF;
    padding: 60px 0 40px;
  }
  
  .reason-heading-new {
    margin-bottom: 40px;
  }
  
  .reason-heading-new img {
    max-width: 100%;
    height: auto;
  }
  
  /* 理由セクションのアイテムを縦並びに */
  .reason-elements-new {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .reason-image-section-new {
    width: 100%;
  }

  .reason-elements-new img {
    width: 100%;
    height: auto;
  }
  
  /* 理由アイテムのサイズ調整（375px基準） */
  .reason-detail-new {
    width: 87.2%; /* 327px ÷ 375px × 100 */
    max-width: 327px;
    height: 106.4%; /* 399px ÷ 375px × 100 */
    min-height: 399px;
    margin: 0 auto;
  }
  
  /* 理由アイテム内の画像サイズ調整 */
  .reason-detail-new img {
    width: 87.2%; /* 327px ÷ 375px × 100 */

    height: 54.4%; /* 204px ÷ 375px × 100 */
    min-height: 204px;
    object-fit: cover;
  }
  
  /* 理由セクションの文字サイズ調整 */
  .reason-heading-new h2 {
    font-size: 4%; /* 15px ÷ 375px × 100 */
  }
  
  .reason-heading-new h2 span:first-child {
    font-size: 3.47%; /* 13px ÷ 375px × 100 */
  }
  
  .reason-heading-new h2 span:last-child {
    font-size: 9.33%; /* 35px ÷ 375px × 100 */
  }
  
  .reason-detail-new h5 {
    font-size: 4.8%; /* 18px ÷ 375px × 100 */
  }
  
  .reason-detail-new p {
    font-size: 3.73%; /* 14px ÷ 375px × 100 */
  }
}

.reason-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ヘッドライン */
.reason-headline {
  text-align: center;
  margin-bottom: 43px;
}
@media screen and (max-width: 768px) {
  .reason-headline {
    margin-bottom: 30px;
  }
}

.reason-headline h2 {
  line-height: 1.4;
  margin: 0;
}

.reason-headline__line1,
.reason-headline__line2 {
  display: block;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .reason-headline__line1,
  .reason-headline__line2 {
    margin-bottom: 0;
  }
}

.reason-headline__line1 .reason-headline__condition,
.reason-headline__line2 .reason-headline__condition,
.reason-headline__line2 .reason-headline__us {
  display: inline-block;
  margin-right: 8px;
  vertical-align: baseline;
}


.reason-headline__condition-s {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: bold;
}

.reason-headline__condition-l {
  font-size: clamp(46.5px, calc(1.26761vw + 41.75352px), 60px);
  font-weight: 900;
}

.reason-headline__sub {
  color: #0065A9;
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

/* お悩み解決セクション */
.problem-container {
  margin-top: 120px;
  margin-bottom: -5.56%;                /* 下の余白を相殺（1440pxのとき-80px相当） */
}
@media screen and (max-width: 768px) {
    .problem-container {
    margin-top: 60px;
    margin-bottom: -5.56%;                /* 下の余白を相殺（1440pxのとき-80px相当） */
  }
}

.problem-container .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.problem-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* お悩み解決コンテンツ（PC版） */
.problem-content {
  position: relative;
  margin-top: -5.56%;
  top: 0; /* 相対移動を無効化して重なりを防止 */
}

/* PC版でのお悩み解決アイテムのレイアウト */
.problem-content-text-article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 20px;
}

.problem-content-text-article-item {
  text-align: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* 正方形を維持しつつ柔軟に */
  background-image: url('../images/new-purchase/fv/answer/circle.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .problem-content {
    position: relative;
    margin-top: -15.56%;
    top: 0; /* 相対移動を無効化して重なりを防止 */
  }
}

.problem-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.problem-content-text {
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .problem-content-text {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
  }
}

.problem-content-text-article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 20px;
}

.problem-content-text-article-item {
  text-align: center;
  width: 100%;
  max-width: 309px;
  height: 309px;
  background-image: url('../images/new-purchase/fv/answer/circle.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.problem-content-text-article-item img {
  width: auto;
  height: 115px;
  margin: 0 auto 10px;
  display: block;
}

.problem-content-text-article-item p {
  margin: 5px 0;
  font-size: 20px;
  color: #333;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .problem-content-text-article-item p {
    font-size: 16px;
  }
}

.problem-content-text-article-item span {
  font-weight: bold;
  font-size: 14px;
  color: #0065A9;
}

/* お悩み解決：4つ目のアイテムの末尾テキストだけを14pxに */
.problem-content-text-article-item.article-item-4 > span:last-child {
  font-size: 20px;
}

.problem-content-text-article-item-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.problem-content-text-article-item-text p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.problem-content-text-article-item-text span {
  font-weight: bold;
  font-size: 14px;
  color: #FF0000;
}

.reason-headline__main .price-emphasis {
  color: #003366;
}

/* 理由セクションの新しいヘッドライン */
.reason-heading-new {
  text-align: center;
  margin-bottom: 60px;
}

.reason-heading-new span {
  display: block;
  color: #000;
  font-weight: bold;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

.reason-heading-new h2 {
  font-weight: bold;
  font-size: clamp(40px, 6vw, 60px);
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.reason-heading-new h2 span {
  color: #006EBB;
  font-weight: bold;
  font-size: clamp(40px, 6vw, 60px);
  display: inline;
  margin: 0;
}

.reason-heading-new h3 {
  font-weight: normal;
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0;
  color: #333;
}

/* 理由セクションの新しいレイアウト */
.reason-elements-new {
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 40px;
  justify-items: center;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .reason-elements-new {
    grid-template-columns: 1fr;
    max-width: 375px;
    gap: 30px;
    margin: 0 auto;
  }
}

.reason-detail-new {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .reason-detail-new {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 375px;
    height: auto;
    margin: 0 auto;
    padding: 0;
  }
}

.reason-label-new {
  background: #006EBB;
  color: #fff;
  text-align: center;
  padding: 20px;
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-label-new .reason-label-text {
  font-size: 20px;
  font-weight: bold;
}

.reason-label-new .reason-label-particle {
  font-size: 16px;
  font-weight: bold;
  margin: 0 8px;
}

.reason-number {
  font-size: 52px !important;
  margin-left: 10px;
  font-family: 'Anton', sans-serif;
}

.reason-content-wrapper-new {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 0;
  gap: 20px;
  height: 228px;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .reason-content-wrapper-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 40px;
    gap: 20px;
    height: auto;
    justify-content: center;
  }
}

.reason-text-section-new {
  flex: 1;
}

.reason-ct-new h5 {
  font-size: clamp(18px, calc(0.845vw + 14.83px), 27px);
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 20px 0;
  border-bottom: none;
  text-align: center;
  padding-bottom: 13px;
  margin-bottom: 0;
  position: relative;
  white-space: nowrap; /* 改行を防ぐ */
  overflow: hidden; /* はみ出しを隠す */
  text-overflow: ellipsis; /* はみ出した場合に...を表示 */
}

.reason-ct-new h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    #006EBB 0,
    #006EBB 8px,
    transparent 8px,
    transparent 16px
  );
}

@media screen and (max-width: 768px) {
  .reason-ct-new h5::after {
    width: 80%;
    max-width: 200px;
  }
}

.highlight-red {
  color: #FF0000;
  white-space: nowrap; /* 改行を防ぐ */
  display: inline; /* インライン要素として表示 */
}

.highlight-blue {
  color: #006EBB;
  white-space: nowrap; /* 改行を防ぐ */
  display: inline; /* インライン要素として表示 */
}

/* span要素間の改行を防ぐ */
.reason-ct-new h5 span {
  white-space: nowrap;
  display: inline;
}

.underline-dotted {
  margin-top: 16px;
  font-size: clamp(14px, calc(0.3756vw + 12.59px), 18px);
  font-weight: normal;
  color: #333;
  border-bottom: none;
  display: block;
  text-align: center;
  white-space: nowrap;
}

.reason-ct-new p {
  font-size: clamp(14px, calc(0.3756vw + 12.59px), 18px);
  font-weight: normal;
  line-height: 1.6;
  color: #333;
  margin: 0;
  text-align: center;
  font-weight: normal;
  white-space: nowrap;
}

.reason-image-section-new {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  max-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .reason-image-section-new {
    height: auto;
  }
  
  /* SP版でのテキスト処理 */
  .reason-ct-new h5 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: clamp(16px, 4vw, 20px);
  }
  
  .reason-ct-new p {
    white-space: normal;
    font-size: clamp(12px, 3.5vw, 16px);
  }
  
  .underline-dotted {
    white-space: normal;
    font-size: clamp(12px, 3.5vw, 16px);
  }
  
  .reason-label-new .reason-label-text {
    font-size: clamp(16px, 4vw, 18px);
  }
  
  .reason-label-new .reason-label-particle {
    font-size: clamp(14px, 3.5vw, 16px);
  }
  
  .reason-number {
    font-size: clamp(40px, 10vw, 48px) !important;
  }
}

.reason-image-section-new img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ourmerit-container セクション */
.ourmerit-container {
  background-image: url('../images/new-purchase/fv/merit/merit-bk.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;
  padding: 130px 70px;
  text-align: center;
  margin-top: -20px; /* 上のセクションとの空白を調整 */
}

/* ourmerit-container内の画像を中央揃え */
.ourmerit-container > img {
  display: block;
  margin: 0 auto 40px auto;
  max-width: 100%;
  height: auto;
}

/* ourmerit-content のレイアウト */
.ourmerit-content {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); /* PCは1行5列で可変幅 */
  gap: 12px;
  width: 100%;
  max-width: 1298px;
  margin: 0 auto;
}

/* ourmerit-content-item のカードスタイル */
.ourmerit-content-item {
  width: 100%; /* グリッド列幅に追従して可変に */
  height: 293px;
  background-color: #fff;
  border: 4px solid #0065A9;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* ourmerit-content-item内のテキストを1行に収める */
.ourmerit-content-item p {
  white-space: nowrap;
  text-align: center;
  margin: 10px 0 0 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: bold;
}

/* ourmerit-content-item内の画像を丸で囲む */
.ourmerit-content-item .image-wrapper {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 3px solid #CEDBE2;
  background-color: #DFF4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.ourmerit-content-item .image-wrapper img {
  width: clamp(100px, 7vw, 120px);
  height: clamp(100px, 7vw, 120px);
  object-fit: contain;
  display: block;
}

/* 車の買取事例スライダー */
.car-slider-container {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

  .car-swiper {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

.car-swiper .swiper-wrapper {
  gap: 24px !important;
  justify-content: flex-start !important;
}


.car-swiper .swiper-slide,
.car-swiper .car-example-card {
  box-sizing: border-box;
  width: 302px !important;
  height: 415px !important;
  flex: 0 0 302px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.car-swiper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ナビゲーションボタンを非表示 */
.car-swiper .swiper-button-prev,
.car-swiper .swiper-button-next {
  display: none !important;
}



/* レスポンシブ対応 */
@media (min-width: 768px) {
  .car-swiper .swiper-slide,
  .car-swiper .car-example-card {
    width: 302px !important;
  }
}

@media (min-width: 1024px) {
  .car-swiper .swiper-slide,
  .car-swiper .car-example-card {
    width: 302px !important;
  }
}

@media (min-width: 1200px) {
  .car-swiper .swiper-slide,
  .car-swiper .car-example-card {
    width: 302px !important;
  }
}

/* スライダーのヘルプテキスト */
.slider-help-text {
  text-align: center;
  margin-bottom: 20px;
  color: #666;
  font-size: 14px;
}

.slider-help-text p {
  margin: 0;
  padding: 10px;
  background-color: rgba(0, 101, 169, 0.1);
  border-radius: 20px;
  display: inline-block;
}

/* step-top セクションのスタイル */
.flow-container-new {
  width: min(100%, 1000px);
  max-width: 1000px;
  padding: clamp(80px, 8vw, 150px) 0;
  box-sizing: border-box;
  margin: 0 auto;
}

.flow-container-new .container{
padding: 0 !important;
}

.reply-ct span {
  font-weight: 600;
  color:#fff;
}

.flow-container-new span {
  color: #006EBB;
}

.flow-container-new h3 span {
  color: #000;
  font-size: 60px;
}

@media screen and (max-width: 1024px) {
  .flow-container-new span {
    font-size: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .note-text {
    font-size: 20px;
    display: block; /* ブロック要素に変更 */
    margin-top: 12px;
    margin-bottom: 12px;
  }
}

.note-text-sp {
  display: none;
}

@media screen and (max-width: 1024px) {
  .note-text-sp {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .flow-container-new h3 span {
    font-size: 52px;
  }
  
  /* フローアイテムのサイズ調整（375px基準） */
  .flow-detail-new {
    width: 87.2%; /* 327px ÷ 375px × 100 */
    max-width: 327px;
    height: auto; /* 内容に応じて自動調整 */
    min-height: 376px; /* 最小高さは保証 */
    margin: 0 auto;
  }
  
  /* フローアイテム内の画像サイズ調整 */
  .flow-image-section-small img,
  .flow-detail-new-img img {
    width: 24%; /* 90px ÷ 375px × 100 */
    height: 24%; /* 90px ÷ 375px × 100 */
    min-width: 90px;
    min-height: 90px;
    object-fit: cover;
  }
}

.voice-container {
  margin: 0 auto;
}

.voice-wrapper {
  max-width: 1440px;
  padding-block: 150px 102px;
  padding-inline: clamp(24px, calc(18.4vw - 45px), 220px);
  width: 100%;
  box-sizing: border-box;
}

/* Bootstrapのcontainerクラスとの競合を防ぐ */
.voice-container .container.voice-wrapper {
  max-width: none;
  width: 100%;
  padding-left: clamp(24px, calc(18.4vw - 45px), 220px);
  padding-right: clamp(24px, calc(18.4vw - 45px), 220px);
}

.voice-content {
  padding: 0;
}

.voice-elements {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ベース: SP=1列 */
.voice-elements-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* PC: 2列（ブレークポイントは任意で調整） */
@media (min-width: 1024px) {
  .voice-elements-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}


.voice-wrapper-pc img {
  width: 100%;
  max-width: 479px;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

.menu-sp-fo-ct-new{
  height: 100%!important;
}

.meru-sp-cus-new{
  background-color: #3051FD!important;
  height: 100%!important;
  display: flex;
  height: 100% !important;
  align-items: center; 
  justify-content: center;
 
}

@media screen and (max-width: 430px) {
  .menu-foter-sp.menu-foter-sp-new {
    /* max-width: 430px; */
width: 100vw;
  }
}

.meru-sp-cus-new p {
  font-weight: 400!important;
}

.phone-sp-cus-new{
  background-color: #FF3434!important;
  height: 100%!important;
  display: flex;
  height: 100% !important;
  align-items: center; 
  justify-content: center;
}

.phone-sp-cus-new a {
  font-weight: 400!important;
}

.scroll-top-new{
 bottom: 6%!important;
}


/* PC未満（～1023px）をSPと同じデザインに統一 */
@media screen and (max-width: 1023px) {
  /* コンテナ幅をSP相当に制限 */
  .flow-container-new {
    width: 100%;
    max-width: 375px;
    padding: 80px 20px !important;
  }

  .flow-elements-pc {
    width: 100%;
    max-width: 375px;
  }

  /* カードを縦積み・SPカードサイズに */
  .flow-detail-new {
    width: 87.2%; /* 327px ÷ 375px × 100 */
    max-width: 327px;
    height: auto;
    min-height: 376px;
    margin: 0 auto;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  /* テキスト中央寄せ */
  .flow-text-section-new {
    text-align: center;
  }

  /* アイコン画像サイズをSP相当に */
  .flow-image-section-small img,
  .flow-detail-new-img img {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    object-fit: cover;
  }
}

/* 注釈テキストのスタイル */
.note-text {
  font-size: 20px;
}

/* flow-ct セクションのスタイル */
.flow-ct h5 {
  font-size: 26px;
  color: #205377;
  font-weight: bold;
  text-align: left;
  margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
  .flow-ct h5 {
    text-align: center;
  }
}

.flow-ct p {
  font-size: 16px;
  color: #222;
  font-weight: normal;
  margin-top: 12px;
}

/* flow-detail-new セクションのカードスタイル */
.flow-detail-new {
  background-color: #DFF4FF;
  border: 2px solid #0065A9;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(100%, 1000px);
  max-width: 1000px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.flow-image-section-small {
  flex-shrink: 0;
  width: 90px;
}

.flow-image-section-small img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.flow-text-section-new {
  flex: 1;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .flow-text-section-new {
    text-align: center;
  }
}

.flow-detail-new-img {
  flex-shrink: 0;
}

.flow-detail-new-img img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

/* お客様の声セクションのスタイル */
.voice-heading .voice-heading-subtitle {
  color: #006EBB !important;
}

@media screen and (max-width: 768px) {
  .voice-heading h3  {
    font-size: 52px;
  }
}

/* お客様の声画像の表示制御 */

.voice-wrapper-sp {
  display: none; /* SP版は非表示 */
}

/* 768px以下でSP版画像を表示、PC版画像を非表示 */
@media screen and (max-width: 768px) {
  .voice-wrapper-pc {
    display: none; /* PC版を非表示 */
  }
  
  .voice-wrapper-sp {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0;
  }
}

/* お客様の声セクションのハイライトテキスト */
.reply-ct .reply-ct-highlight {
  color: #006EBB !important;
}

/* よくあるご質問セクションのアコーディオンスタイル */
.faq-container {
  background-color: #F7F2DE !important;
  padding-block: 150px;
  padding-inline: clamp(24px, calc(18.4vw - 45px), 220px);
}



.faq-heading {
  text-align: center;
  margin-bottom: 40px;
}

.faq-heading span {
  color: #006EBB;
  font-size: clamp(20px, calc(0.7512vw + 17.18px), 28px);
  font-weight: bold;
  display: block;
  margin-bottom: 10px;
}

.faq-heading h3 {
  font-size: clamp(40px, calc(1.1268vw + 35.775px), 52px);
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
}

.faq-heading h4 {
  font-size: clamp(16px, calc(0.3756vw + 14.59px), 20px);
  color: #333;
  margin: 0;
}

.faq-text {
  text-align: center;
  margin-bottom: 43px;
}

.faq-text p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .faq-text,
  .faq-text p {
    text-align: left;
  }
}

.faq-detail {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-ct {
  background-color: #fff;
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.faq-ct:hover {
  background-color: #f8f9fa;
}

.question-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0065A9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  text-align: center;
}

.faq-ct p {
  flex: 1;
  margin: 0;
  font-size: 16px;
  color: #0065A9;
  font-weight: 500;
  transition: color 0.3s ease;
}

.accordion-icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
  font-weight: bold;
  color: #0065A9;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.reply-ct {
  background-color: #fff;
  padding: 20px;
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid #e0e0e0;
  transition: max-height 0.5s ease, padding 0.5s ease;
  opacity: 0;
  display: flex;             /* 回答行を横並びに */
  align-items: flex-start;    /* Aとテキストの上端を揃える */
  gap: 24px;                  /* アイコンとテキストの間隔 */
}

.answer-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #0065A9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 0;         /* 下余白を無くす（横並び用） */
  flex: 0 0 40px;           /* 幅を固定して崩れ防止 */
}

.reply-ct p {
  margin: 0;
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  flex: 1;                 /* テキスト側を広げてAの横に配置 */
}

/* アクティブ状態のスタイル */
.faq-item.active .faq-ct {
  background-color: #0065A9;
}

.faq-item.active .faq-ct p {
  color: #fff;
}

.faq-item.active .accordion-icon {
  color: #fff;
  width: 16px;
  height: 16px;
}

.faq-item.active .reply-ct {
  max-height: 500px;
  opacity: 1;
  padding: 20px;
}

/* flow-elements-pc の縦並びレイアウト */
.flow-elements-pc {
  width: min(100%, 1000px);
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

/* 矢印画像のスタイル */
.flow-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
  width: 100%;
}

.flow-arrow img {
  width: 30px;
  height: 24px;
  object-fit: contain;
}

/* ナビゲーションボタン */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 102, 204, 0.9);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
}

.slider-nav-btn:hover {
  background: rgba(0, 68, 153, 0.9);
  transform: translateY(-50%) scale(1.1);
}

/* 左側のボタン */
.slider-nav-left {
  left: -25px;
}

/* 右側のボタン */
.slider-nav-right {
  right: -25px;
}

/* ホバー時にボタンを表示 */
.car-slider-container:hover .slider-nav-btn {
  opacity: 1;
  visibility: visible;
  cursor: default !important;
}

.car-slider {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  padding: 20px 0;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default !important;;
}

/* カーソルポインターを削除 */

.car-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  cursor: default !important;
}

.car-example-card {
  width: 302px;
  min-width: 302px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: default;
}

/* カードの選択機能を削除 - スライド操作のみに */

.car-image {
  aspect-ratio: 16/9;
  width: 100%;
  height: auto;
  /* overflow: hidden; */
  position: relative;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-info {
  padding: 21.5px 20px;
  background: #fff;
}

.car-price {
  background: #fff;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.car-price-label {
  font-size: 12px;
  color: #333;
  background: #FFFEEB;
  border: 2px solid #ff0000;
  padding: 8px 10px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  line-height: 1.2;
  min-width: 60px;
}

.car-price-label .label-line1 {
  display: block;
  font-size: 11px;
  color: #FF0000;
}

.car-price-label .label-line2 {
  display: block;
  font-size: 11px;
  color: #FF0000;
}

.car-price-amount {
  font-size: 40px;
  font-weight: bold;
  color: #FF0000;
  text-align: center;
  display: block;
  flex: 1;
  white-space: nowrap;
}

.car-price-amount span {
  font-size: 26px;
}

.car-details {
  padding: 0;
  background: #fff;
  width: 100%;
  border-collapse: collapse;
}

.car-details tr {
  border: none;
}

.car-details th,
.car-details td {
  padding: 4px 0;
  border: none;
  text-align: left;
  vertical-align: top;
}

.car-details th {
  width: 72px;
  font-size: 16px;
  font-weight: normal;
  text-align: center;
}

.car-details td {
  font-size: 16px;
  font-weight: bold;
}

.car-category {
  font-size: 12px;
  color: #fff;
  background: #075182;
  padding: 6px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 500;
}

.car-model {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.3;
}

.car-year {
  font-size: 16px;
  color: #333;
  margin-bottom: 6px;
}

.car-mileage {
  font-size: 16px;
  color: #333;
}

/* テキストはみ出し防止 */
.cta-center-content,
.reason-content-wrapper-new,
.flow-text-section-new {
  min-width: 0;
}

/* レスポンシブ対応の調整 */
@media screen and (max-width: 768px) {
  .reason-elements-new {
    grid-template-columns: 1fr;
    max-width: 375px;
  }
  
  .ourmerit-content {
    grid-template-columns: 1fr;
    max-width: 375px;
  }
  
  .flow-container-new {
    max-width: 375px;
  }
  
  .flow-elements-pc {
    max-width: 375px;
  }
  
  .flow-detail-new {
    max-width: 375px;
  }
}

/* お悩み画像の表示制御 */
.problem-container .worries-image-pc {
  display: block !important; /* PC版は表示 */
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.problem-container .worries-image-sp {
  display: none !important; /* SP版は非表示 */
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* お悩み解決画像の表示制御 */
.problem-content .problem-content-headline-pc {
  display: block !important; /* PC版は表示 */
}

.problem-content .problem-content-headline-sp {
  display: none !important; /* SP版は非表示 */
}

/* PC版でのお悩み解決アイテムのレイアウト（デフォルト） */
.problem-content-text-article {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 20px;
  max-width: 1440px;
  margin: 0 auto;
}



.problem-content-text-article-item {
  text-align: center;
  width: 97%;
  height: 97%;
  background-image: url('../images/new-purchase/fv/answer/circle.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
}

.article-item-4 {
  width: 95%;
  height: 95%;
}

.problem-content-text-article-item img {
  width: auto;
  height: 93px;
  margin: 0 auto 6px;
  display: block;
}

.problem-content-text-article-item span {
  font-weight: 900;
  font-size: 26px;
  color: #004A8C;
}

.problem-content-text-article-item-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.problem-content-text-article-item-text p {
  margin: 0;
  font-size: 16px;
  color: #333;
  white-space: nowrap;

}

.problem-content-text-article-item-text span {
  font-size: 24px;
  color: #333;
  font-weight: 900;
  white-space: nowrap;
}

.problem-content-text-article-item > * {
  position: relative;
  top: -4%;
}

@media screen and (max-width: 440px) {
  .problem-content-text-article-item > * {
    position: relative;
}
}

/* SP版でのお悩み解決アイテムのレイアウト調整 */
@media screen and (max-width: 768px) {
  .problem-content {
    position: relative; /* 親要素のpositionを維持 */
    overflow: visible; /* はみ出しを許可 */
  }
  
  .problem-content-text {
    position: absolute; /* 画像の上に表示するためabsoluteに変更 */
    top: 78%; /* セクション内の中央に配置 */
    left: 50%; /* セクション内の中央に配置 */
    transform: translate(-50%, -80%); /* 中央揃え */
    width: 100%;
    height: auto; /* 高さを自動調整 */
    z-index: 20; /* 画像より前面に表示（z-indexを上げる） */
    padding: 20px;
  }
  
  .problem-content-text-article {
    flex-direction: column; /* 縦並びに変更 */
    gap: 30px;
    padding: 0;
    height: 100%;
    justify-content: center; /* 中央揃え */
  }
  
  .problem-content-text-article-wrapper {
    flex-direction: column; /* 縦並びに変更 */
    gap: 30px;
    align-items: center; /* 中央揃え */
  }
  
  .problem-content-text-article-item {
    width: 100%;
    max-width: 280px;
    height: auto;
    min-height: 280px;
    margin: 0 auto;
  }

  .article-item-4 .problem-content-text-article-item-text p {
    font-size: 16px;
  }

  .article-item-4  span{
    font-size: 18px;
  }
  .problem-content-text-article-item.article-item-4 > span:last-child {
    font-size: 18px;
    font-weight: 900;
}
}

@media screen and (max-width: 400px) {
  .problem-content-text-article-item.article-item-4 > span:last-child {
    font-size: 18px;
}
}

@media screen and (max-width: 440px) {
  .problem-content-text-article-item {
    width: 100%;
    max-width: 250px;
    height: auto;
    min-height: 250px;
    margin: 0 auto;
}
}

@media screen and (max-width: 410px) {
  .problem-content-text {
    position: absolute; /* 画像の上に表示するためabsoluteに変更 */
    top: 80%; /* セクション内の中央に配置 */
    left: 50%; /* セクション内の中央に配置 */
    transform: translate(-50%, -80%); /* 中央揃え */
    width: 100%;
    height: auto; /* 高さを自動調整 */
    z-index: 20; /* 画像より前面に表示（z-indexを上げる） */
    padding: 20px;
  }
}

/* 強制的な表示制御 - 最後に配置して優先度を上げる */
.problem-container .worries-image-pc {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.problem-container .worries-image-sp {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.problem-content .problem-content-headline-pc {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.problem-content .problem-content-headline-sp {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

@media screen and (max-width: 1024px) {
  .problem-container .worries-image-sp {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .problem-content .problem-content-headline-pc {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

@media screen and (max-width: 768px) {
  .problem-container .worries-image-pc {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .problem-container .worries-image-sp {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .problem-content .problem-content-headline-pc {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .problem-content .problem-content-headline-sp {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}


/* 統一されたPC版・SP版表示制御 - 最後に配置して優先度を上げる */
/* PC版の表示制御（デフォルト） */
.problem-container .worries-image-pc,
.problem-content .problem-content-headline-pc,
.cta-button-image-pc {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* SP版の表示制御（デフォルト） */
.problem-container .worries-image-sp,
.problem-content .problem-content-headline-sp,
.cta-button-image-sp {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* @media screen and (max-width: 1024px) {
  .problem-container,
  .problem-content .problem-content-headline-pc,
  .cta-button-image-pc {
    display: none !important;
  }
  .problem-container,
.problem-content .problem-content-headline-sp,
.cta-button-image-sp {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
} */

.problem-content-headline-pc .bk-2,
.problem-content-headline-pc .bk-3 {
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 1025px) {
  .problem-content-headline-pc .bk-2,
.problem-content-headline-pc .bk-3 {
    display: block;
  }
}

/* 768px以下でのSP版表示制御 */
@media screen and (max-width: 768px) {
  .problem-container .worries-image-pc,
  .problem-content .problem-content-headline-pc,
  .cta-button-image-pc {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .problem-container .worries-image-sp,
  .problem-content .problem-content-headline-sp,
  .cta-button-image-sp {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 100;
  }
}
/* PC幅での明示的な強制（競合対策） */
@media screen and (min-width: 1025px) {
  .problem-container .worries-image-sp { display: none !important; }
  .problem-container .worries-image-pc { display: block !important; }
  .problem-content .problem-content-headline-sp { display: none !important; }
  .problem-content .problem-content-headline-pc { display: block !important; }
}


.problem-content-text-article-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PCは常に4列 */
  justify-items: center;
  align-items: center;
  width: 100%;
  gap: 20px;
}
/* お悩み解決アイテム：PCは常に4列、タブレット2列、SP1列に統一 */
@media screen and (min-width: 440px) and (max-width: 1024px) {
  .problem-content-text-article-wrapper {
    grid-template-columns: repeat(2, 2fr); /* 縦並びに変更 */
    justify-items: center;
    align-items: center;
    width: 100%;
    gap: 20px;
  }
  .problem-content-text-article-item img {
    width: auto;
    height: 200px;
    margin: 0 auto 10px;
    display: block;
}
.problem-content-text-article-item p {
  margin: 5px 0;
  font-size: 25px;
  color: #333;
  font-weight: bold;
}
.problem-content-text-article-item span {
  font-weight: 900;
  font-size: 30px;
  color: #004A8C;
}
}

@media screen and (max-width: 768px) {
  .problem-content-text-article-wrapper {
    grid-template-columns: repeat(1, 1fr); /* 縦並びに変更 */
    justify-items: center;
    align-items: center;
    width: 100%;
    gap: 20px;
  }
}



@media screen and (min-width: 768px) and (max-width: 1023px) {
  .problem-content-text-article-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  .problem-content-text-article-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media screen and (min-width: 440px) and (max-width: 768px) {
  .problem-content-text-article-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 40px;
    width: 100%;
  }
  .problem-content-text-article-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .problem-content-text {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -70%);
    width: 100%;
    height: auto;
    z-index: 20;
}
.problem-content-text-article-item {
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 500px;
  margin: 0 auto;
}
  .worries-image-sp img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
  }
  .problem-content-headline-sp img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
  }
}



/* 375px幅想定時はカード実寸を約250x250に調整 */
@media screen and (max-width: 375px) {
  .problem-content-text-article-wrapper {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }
  .problem-content-text-article-item {
    width: 250px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* =============================
   Top form iframe responsive height
   PC: 864px / SP: 893px
============================= */
.form-top-iframe {
  width: 99%;
  height: 1000px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .form-top-iframe {
    height: 1100px;
    /* 中央寄せ */
    display: block;
    margin: 0 auto;
    width: 100%;
  }
  /* 親要素の上限で潰れないように上限も拡張 */
  .fv-hero__form {
    max-height: 893px;
  }
  /* ラッパーも中央寄せ */
  .fv-formwrap {
    margin: 0 auto;
    width: 100%;
  }
}

.reason-ttl-sp {
  display: none;
}

.reason-ttl-pc {
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .reason-ttl-sp {
    display: block;
    margin: 0 auto;
  }
  .reason-ttl-pc {
    display: none;
  }
}

@media screen and (max-width: 440px) {
  .ourmerit-container {
    background-image: url(../images/new-purchase/fv/merit/merit-sp.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    padding: 60px 0;
    text-align: center;
    margin: -20px auto 0;
  }
  .ourmerit-content {
    gap: 20px;
    padding: 0 60px;
  }
}

@media screen and (max-width: 440px) {

  .faq-container {
    background-color: #F7F2DE !important;
    padding-block: 60px;
}
  .faq-detail {
    padding: 0;
  }

  .faq-item {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 768px) {
  .newheader {
    max-width: -10px;
  }
}
/* （調整）1024px未満でのSP統一は解除。下の 768-1023px:2列 / <=767px:1列 を有効化 */

/* スライダー全体 */
.car-slider {
  cursor: default;
}

/* スライダー内の a や button も手に変えない */
.car-slider a,
.car-slider button {
  cursor: default !important; /* ライブラリ側の pointer を上書き */
}

/* スライダー内のカードも手に変えない */
.car-slider .car-example-card {
  cursor: default;
}

/* スライダー内の画像も手に変えない */
.car-slider img {
  cursor: default;
}

/* ベース設定：SP版表示、PC版非表示 */
/* .problem-content-text-article-item-text {
  display: block;
} */

/* PC版（1024px以上）ではPC版テキストを表示、SP版テキストを非表示 */
@media screen and (min-width: 1024px) {
  .problem-content-text-article-item-text-pc {
    display: block;
  }
  .problem-content-text-article-item-text-sp {
    display: none;
  }
}

/* SP版（1024px未満）ではSP版テキストを表示、PC版テキストを非表示 */
@media screen and (max-width: 1023px) {
  .problem-content-text-article-item-text-sp {
    display: block;
  }
  .problem-content-text-article-item-text-pc {
    display: none;
  }
}

/* スライダーコンテナのスタイル */
.car-slider-container {
  width: 100%;
  max-width: 100vw;
  padding: 0 10px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

  /* 買取事例セクション */
  .sample-container {
    width: 100%;
    max-width: none;
    margin: 0;
    background-color: #F7F2DE;
    padding: 120px 0 130px;
    overflow: hidden;
  }
  
  .reason-content {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }
  
.contactform-container-title h3 {
  white-space: nowrap!important;
}

/* FV内のiframeを拡大表示 */
.fv-hero__form iframe {
  width: 430px !important; /* 元サイズを430pxに設定 */
  height: 930px !important; /* 元サイズを930pxに設定 */
  transform-origin: 0 0; /* 左上基準で拡大縮小 */
}

/* フォームラッパーの高さも調整 */
.fv-hero__form .fv-formwrap {
  height: 930px; /* 本来の高さに戻す */
  overflow: hidden; /* はみ出し部分を隠す */
}



