.top img {
  max-width: 780px;
  height: auto;
}

.problem-section {
  background: #40BFD2;
  max-width: 780px;
}

.problem-section img {
  max-width: 780px;
}

.solution-section {
  background: #40BFD2;
  padding-top: 0;
  margin-bottom: 0;
  margin-top: 0px;
}

/* solution-section 内の動画ラッパー */
.solution-section .video-container {
  max-width: 780px;
  margin: 30px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* アスペクト比 16:9 のレスポンシブ iframe */
.responsive-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.reason img {
  max-width: 780px;
  height: auto;
  /* margin-top: 30px; */
  /* margin-bottom: 50px; */
}

/* 販売から施工まで吹き出し---------------------------------- */
.banar-btn {
  max-width: 780px;
  display: flex;
  justify-content: center;
}

.banar-btn img {

  max-width: 780px;
  width: 100%;
  height: auto;
  margin: 50px 0 50px;
  /* 上30px・左右0・下50px */
  display: block;

}

/* 顔が見えるから安心--------------------------------------- */
.highlight-wrapper {
  max-width: 780px;
  /* margin: 0 auto; */
  background-color: #40BFD2;
}

.highlight-area {
  background-color: #40BFD2;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  max-width: 780px;
}

.voice-section {
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  max-width: 780px;
}

.voice-container {
  position: relative;
  background-color: transparent;
  padding: 30px 20px;
  max-width: 780px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;

  /* ─── ここから枠線装飾 ─── */
  background-image:
    /* 上横線 */
    linear-gradient(#ffffff, #ffffff),
    /* 下横線 */
    linear-gradient(#ffffff, #ffffff),
    /* 左縦線 */
    linear-gradient(#ffffff, #ffffff),
    /* 右縦線 */
    linear-gradient(#ffffff, #ffffff);
  background-repeat: no-repeat;
  background-size:
    100% 4px,
    /* 横線は幅100%、高さ4px */
    100% 4px,
    /* 下線も同じ */
    4px 40px,
    /* 左縦線は幅4px、高さ40px */
    4px 40px;
  /* 右縦線も同じ */
  background-position:
    top left,
    /* 上横線は左上 */
    bottom left,
    /* 下横線は左下 */
    top left,
    /* 左縦線は左上 */
    bottom right;
  /* 右縦線は右下 */
  /* ─── ここまで─── */
}

.voice-heading,
.voice-heading,
.video-title,
.video-description {
  color: #ffffff;
}

.voice-text {
  flex: 1;
  position: relative;
  text-align: center;

}

.voice-heading {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;

}

.marker {
  background: linear-gradient(135deg, #FFF176, #FDD835);
  color: #000;
  padding: 0 8px;
  display: inline-block;
  line-height: 1.2;
}

/* YOUTUBEリンク紹介------------------------------------------- */
.video-intro,
.video-link,
.video-link1 {
  max-width: 780px;
  margin: 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}

.video-title {
  color: #ffffff;
}

.icon-youtube {
  color: #D32F2F;
}

.video-description {
  color: rgba(255, 255, 255, 0.9);
}
.video-link1 img {
  max-width: 100%;
  height: auto;
}


/* ここからCTAボタン---------------------------------------- */

.btn {
  max-width: 780px;
  display: flex;
  justify-content: center;
  margin-top: 100px;
  margin-bottom: 100px;
}

.btn-estimate:hover {
  background-color: #e0a800;
}

.btn-estimate:active {
  transform: translateY(5px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
}

.estimate-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff9a00, #ff6000);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 18px 150px;
  /* 吹き出し領域を確保 */
  font-size: 1.5rem;
  cursor: pointer;
  overflow: visible;
  margin-top: 50px;
  margin-bottom: 50px;
}

.main-text {
  margin: 0 12px;
  white-space: nowrap;
}

.icon-arrow {
  position: absolute;
  right: 16px;
  font-size: 1.4rem;
}

.speech {
  position: absolute;
  bottom: 80%;
  left: 50%;
  transform: translate(-50%, -5px);
  background: #FDE92D;
  /* 黄色系 */
  color: #31A178;
  /* 高視認性グリーン */
  font-size: 0.9rem;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 12px;
  white-space: nowrap;
  /* 改行を防止 */
}

.speech::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #FDE92D transparent transparent transparent;
}

.cta-under-image {
  position: relative;
  max-width: 740px;
  /* PC最大幅 */
  width: 100%;
  /* 画面幅に合わせて縮む */
  margin-top: 50px;
  margin-bottom: 64px;
  /* margin-left: 20px; */
  
  
}

.cta-under-image img {
  display: block;
  width: 100%;
  /* 画像は親幅いっぱい */
  height: auto;
}

.cta-under-image .btn {
  position: absolute;
  left: 50%;
  bottom: 0;
  /* 画像の下端に揃える */
  transform: translate(-50%, 40px);
  /* 下へ36px突き出す（調整可） */
  z-index: 2;
  margin: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cta-under-image .btn .estimate-btn {
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.cta-note {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px; /* 画像との間隔 */
}
/* 日本地図エリア------------------------------------------------------- */
.banar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 780px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.banar-btn02 {
  flex: 1 1 100px;
  text-align: center;
  padding: 0 1rem;
}

.banar-btn02 p {
  display: inline;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.4;
  position: relative;
  text-decoration: underline;
  text-decoration-color: #41BED2;
  text-decoration-thickness: 0.4em;
  text-underline-offset: -0.1em;
  text-decoration-skip-ink: none;

}
.banar-box img {
  width: 400px;
  height: auto;
  object-fit: contain;
}
/* グリッドコンテナ -------------------------------------------------------------*/
.case-area {
  max-width: 780px;
  padding: 0 20px;
  box-sizing: border-box;
  margin-bottom: 80px;
}

.case-heading {
  background-color: #41BED2;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  padding: 12px 16px;
  border-radius: 4px;
  margin-top: 80px;
  margin-bottom: 24px;
}

.review-container {
  display: grid;
  gap: 16px;
  max-width: 780px;
  grid-template-columns: repeat(4, 1fr);
}

/* — タイル（カード） — */
.review-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

/* — 画像 — */
.review-item img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

/* — 都道府県名（h3） — */
.review-pref {
  font-size: 1rem;
  font-weight: bold;
  margin: 10px 0 4px;
}

/* — 説明文（3行まで｜省略） — */
.review-description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.4em * 3);
}

/* 保証エリアーーーーーーーーーーーーーーーーーーーーーーーーーーー */
/* .container {
  max-width: 780px;
  /* コンテンツ幅 */
  /* width: 100%; */
  /* ブラウザ幅に応じて伸縮 */
  /* margin: 0 auto; */
  /* 水平中央寄せ */


  /* box-sizing: border-box;
} */
.lp-narrow {
  max-width: 740px;
  width: 100%;
  /* margin: 0 auto; */
}
/* —————————————— */
/* 信頼の取扱メーカー */
/* —————————————— */
.brand-logos {
  max-width: 780px;
  /* margin: 40px auto 20px; */
  padding: 0 20px;
  text-align: center;
}

.brand-logos h2 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.brand-logos .logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.brand-logos .brand-item {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  padding: 8px 12px;
  border: 2px solid #40BFD2;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  cursor: default;
}
/* 導入文 */
.intro-text {
  /* margin: 24px auto; */
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* —————————————— */
/* ピックアップ製品カード */
/* —————————————— */
.product-card {
  position: relative;
  background: rgb(255, 219, 224);
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 24px 20px 32px;
  text-align: center;
}

/* 10年保証バッジ */
.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #D4AF37;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
}

.badge-sub {
  font-size: 0.7rem;
  margin-left: 4px;
  opacity: 0.8;
}



/* 保証比較 */
.warranty-info ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.warranty-info ul li {
  font-size: 0.95rem;
  margin: 6px 0;
}

/* 10年保証の詳細 */
.warranty-details {
  background: #f2faff;
  border: 1px solid #c0e7f4;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
  text-align: left;
}

.warranty-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.warranty-details ul li {
  font-size: 0.9rem;
  margin: 6px 0;
}



/* —————————————— */
/* 縦型保証比較タイムライン */
/* —————————————— */
.warranty-compare-vertical {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* 各保証間の縦スペース */
  margin: 40px auto 60px;
}

.warranty-event {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ラベル部分 */
.warranty-label {
  font-weight: bold;
  font-size: 1rem;
  color: #333;
}

/* バー全体 */
.warranty-bar {
  position: relative;
  background: #ddd;
  border-radius: 4px;
  overflow: hidden;
  height: 24px;
}

/* メーカー保証（5年）は50%幅 */
.warranty-bar.manufacturer {
  width: 50%;
  background: #bbb;
}

/* 延長保証（10年）は100%幅 */
.warranty-bar.extended {
  width: 100%;
  background: #D4AF37;
}

/* 年数テキスト */
.warranty-years {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
}

.warranty-compare-vertical .warranty-event:first-child .warranty-label {
  margin-bottom: 0.5rem;
}

/* 製品概要を横並びに */
.product-overview {
  display: flex;
  align-items: center;
  /* 中央揃え */
  gap: 20px;
  /* 画像とテキスト間のスペース */

}

/* アイコン画像 */
.product-overview img {
  flex: none;
  /* 固定サイズ */
  width: 240px;
  /* お好みで調整 */
  height: auto;
  border-radius: 8px;
  margin-bottom: 16px;
}


/* テキスト＋保証比較 */
.product-info {

  flex: 1;
  /* 残余幅を使う */
  min-width: 0;
  /* flexアイテムのはみ出し防止 */
}

.product-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

/* 保証比較のフォントサイズを若干小さく */
.warranty-info ul li {
  font-size: 0.9rem;
  margin: 4px 0;
}

/* お問合せから施工まで------------------------------ */
/* STEPリストのレイアウトはそのまま */
.steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
}

.steps .step {
  display: flex;
  align-items: center;
  gap: 16px;
}


/* 画像アイコン用のコンテナ */
.step-icon {
  flex: none;
  width: 150px;
  /* アイコン画像の幅に合わせて調整 */
  text-align: center;


}

.step-icon img {
  max-width: 100%;
  height: auto;
  display: block;

}

/* テキスト部分 */
.step-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-content p {
  font-size: 21px;
  margin: 0;
  white-space: nowrap;
}

/* イラストアイコン群 */
.step-illustrations {
  display: flex;
  align-items: center;
  gap: 8px;
  /* イラスト同士のスペース */
}

.step-illustrations img {
  width: 150px;
  /* 幅を48pxに */
  height: 150px;
  /* 高さも48pxに */
  object-fit: contain;
  /* アイコンの縦横比を保って中央に表示 */
  display: block;
}


/* ────────────────── */
/* LP フッター用リンク */
/* ────────────────── */
.lp-footer {
  /* text-align: center; */
  margin: 60px 0 40px;
  padding: 0;  /* container の padding が効いている前提 */
}

/* YouTubeリンク */
.lp-footer-video p {
  font-size: 1rem;
  margin-bottom: 12px;
}
.lp-footer-video a img {
  max-width: 500px;
  width: 80%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform .2s;
}
.lp-footer-video a:hover img {
  transform: scale(1.03);
}

/* ブログリンク */
.lp-footer-blog p {
  margin-top: 30px;
}
.lp-footer-blog a {
  display: inline-block;
  font-size: 1rem;
  color: #40BFD2;
  font-weight: bold;
  text-decoration: underline;
  transition: opacity .2s;
}
.lp-footer-blog a:hover {
  opacity: .8;
}
.cta-under-image.container {
  max-width: 740px;
  margin: 100px auto;      /* 上下100px */
 
}

@media (max-width: 600px) {
  .top img {
    width: 100%;
    height: auto;
  }

  .problem-section img {
    width: 100%;
    height: auto;
  }

  .solution-section .video-container {
    padding: 0 12px;
    margin: 20px auto;
  }

  .responsive-iframe {
    aspect-ratio: 16 / 9;
  }

  .reason img {
    max-width: 100%;
    height: auto;
  }

  .banar-btn {
    padding: 0;
    /* テキスト余白をリセット */
    font-size: 16px;
  }

  .banar-btn img {
    max-width: 100%;
    height: auto;
  }

  /* ここから日本地図エリア---------------------------------- */
  .banar {
    flex-direction: column;
    gap: 1.5rem;
    /* 縦並び時のスペース調整 */

  }

  .banar-box {
    margin-top: 1rem;
    /* 画像との距離調整 */
  }

  .banar-box img {
    width: 100%;
    /* max-width: 240px; */
    margin-top: 1em;
  }
  .estimate-btn {
    padding: 12px 50px;
    font-size: 1.1rem;
  }

  .icon-free {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }

  .speech {
    font-size: 0.8rem;
    padding: 5px 10px;
    transform: translate(-50%, -6px);
  }

  .speech::after {
    border-width: 6px;
  }

  .icon-arrow {
    font-size: 1.2rem;
  }

  .case-area {
    margin: 24px auto;
    padding: 0 12px;
  }

  .case-heading {
    font-size: 1.4rem;
    padding: 10px 12px;
    margin-bottom: 16px;
  }

  .review-container {
    grid-template-columns: 1fr;
  }

  .review-item {
    padding: 12px;
  }

  .voice-section {
    padding: 16px;
  }

  .voice-container {
    padding: 20px 12px;
    background-size:
      100% 3px,
      100% 3px,
      3px 30px,
      3px 30px;
  }

  .voice-heading {
    font-size: 1.4rem;
  }

  .marker {
    padding: 0 3px;
  }


  .video-title {
    font-size: 1.4rem;
  }

  .video-title .icon-youtube {
    font-size: 1.4rem;
    margin-right: 6px;
  }

  .video-description {
    font-size: 0.9rem;

  }

  .video-intro,
  .video-link {
    margin: 16px auto;
    padding: 0 12px;
  }

  .video-link img {
    border-radius: 6px;
  }

  .steps .step {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .step-content {
    flex-wrap: wrap;
    gap: 8px;
  }

  .step-icon {
    width: 150px;
  }

  .step-illustrations img {
    width: 100px;
    /* モバイルでは少し小さめ */
    height: 100px;
  }
/* 導入文 */
.intro-text {
  margin: 16px auto;
  padding: 0 12px;
}
.intro-text p {
  font-size: 0.9rem;
  line-height: 1.5;
}
  .product-overview {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .product-overview img {
    width: 180px;
    /* モバイルで少し大きめにもできます */
  }

  .product-info h3 {
    font-size: 1.3rem;
  }
  .lp-footer {
    margin: 40px 0 20px;
  }
  .lp-footer-video a img {
    width: 100%;
    max-width: 300px;
  }
  .lp-footer-blog a {
    font-size: 0.95rem;
  }
  .cta-under-image.container {
    max-width: 94%;        /* 画面幅の94%にして左右に3%ずつ余白 */
    margin: 60px auto;     /* 上下は60pxに詰める */
    padding-bottom: 32px;  /* ボタン突き出し分も少し控えめ */
  }
  .cta-under-image .btn {
    transform: translate(-50%, 70px); /* ボタン突き出し量も控えめに */
  }
  .cta-note {
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding: 0 10px; /* スマホで左右余白を追加して折り返し防止 */
  }
}