/* リセットCSS（サイト全体に影響しないよう、lp-containerの中だけに限定） */
.lp-container * {
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
}

/* スマホ表示・LP全体の幅設定 */
.lp-container {
  width: 100%;
  /* PCの時はサイドバー横いっぱいに広げ、スマホの時だけ最大幅を制限する場合は、以下のmax-widthを削除するか100%にします */
  /* 今回はサイドバー付きのレイアウトに馴染むよう、max-widthを外して100%にします */
  max-width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  /* 影はサイトのテイストに合わせて控えめに、または削除 */
  /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.4); */
  position: relative;
  overflow: visible;
}

/* 以下は元のコードと同じですが、念のためすべて記載します */

/* 1つ目：白色のヘッダー帯 */
.site-header {
  width: 100%;
  height: 30px;
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

/* 1つ目：ヒーローセクション（青空背景） */
.hero-section {
  width: 100%;
  position: relative;
  background: url("https://b-do1895.jp/wp-content/uploads/2026/11/sky.jpeg") no-repeat center top / cover;
  padding: 55px 30px 40px;
  text-align: center;
  min-height: 260px;
  overflow: visible;
}

/* 2つ目：お見積もり無料バッジ */
.badge-free-wrapper {
  position: absolute;
  top: -50px;
  left: -10px;
  width: 160px;
  z-index: 10;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.badge-free-img {
  width: 100%;
  height: auto;
  display: block;
}

/* 3つ目：中央のタイトルロゴ画像 */
.hero-title-wrapper {
  margin: 0 auto;
  width: 90%;
  /* max-width: 550px; */
  position: relative;
  z-index: 5;
}

.hero-title-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 8px 18px rgba(24, 144, 255, 0.45));
}

/* 4つ目：作業員イラスト */
.hero-workers-wrapper {
  position: absolute;
  bottom: -22px;
  left: 10px;
  width: 40%;
  max-width: 190px;
  z-index: 8;
  line-height: 0;
}

.hero-workers-img {
  width: 90%;
  height: auto;
  display: block;
}

/* 2. 特徴・POINTセクション */
.point-section {
  background: #ffffff;
  padding: 0 0 30px 0;
}

.point-header {
  width: 100%;
  background: #0f33a9;
  color: #ffffff;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.point-tag {
  background: #000000;
  color: #ffffff;
  font-weight: bold;
  font-size: clamp(10px, 2.8vw, 13px);
  padding: 4px 8px;
  border-radius: 4px;
  margin-right: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.point-lead {
  font-size: clamp(9px, 2.7vw, 15px);
  line-height: 1.4;
  margin: 0;
  white-space: nowrap;
}

.point-lead strong {
  color: #ffff66;
}

/* 01, 02, 03 カード画像一覧 */
.point-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 0 15px;
}

.point-card-img-wrap {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.point-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

@media screen and (min-width: 768px) {
  .point-cards {
    flex-direction: row;
    justify-content: center;
    gap: 1px;
  }

  .point-card-img-wrap {
    flex: 1;
    max-width: none;
  }
}

/* 追加：POINT下の5連画像セクション（余白ゼロ） */
.banner-stack-section {
  width: 100%;
  margin: 0 !important; 
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

.banner-stack-section p,
.banner-stack-section br {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.stack-banner-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: bottom !important;
}

/* 3. 施工の流れ */
.flow-section {
  background: #0f2b7a;
  padding: 30px 15px 40px;
  color: #fff;
  text-align: center;
}

.flow-heading-wrap {
  width: 50%;
  max-width: 360px;
  margin: 0 auto 30px;
}

.flow-heading-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* スマホ版レイアウト */
.flow-layout-mobile {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}

.flow-m-ill-col {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.flow-m-ill-item img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.flow-m-bar-col {
  position: relative;
  width: 15px;
  display: flex;
  justify-content: center;
}

.flow-m-line {
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #ffec3d 100%);
  border-radius: 2px;
}

.flow-m-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: #ffec3d;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(255, 236, 61, 0.7);
}

.dot-m-1 { top: 12%; }
.dot-m-2 { top: 37%; }
.dot-m-3 { top: 62%; }
.dot-m-4 { top: 87%; }

.flow-m-diagram-col {
  flex: 1;
}

.flow-m-diag-img {
  width: 100%;
  height: auto;
  display: block;
}

.flow-layout-desktop {
  display: none;
}

/* パソコン版レイアウト */
@media screen and (min-width: 768px) {
  .flow-layout-mobile { display: none; }
  .flow-layout-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
  }
  .flow-d-ill-row {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
  }
  .flow-d-ill-item { width: 18%; }

  .flow-d-ill-item img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .flow-d-bar-row {
    position: relative;
    width: 90%;
    height: 16px;
    display: flex;
    align-items: center;
    margin: 0;
  }
  .flow-d-line {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ffffff 0%, #ffec3d 100%);
    border-radius: 2px;
  }
  .flow-d-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #ffec3d;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 236, 61, 0.8);
  }
  .dot-d-1 { left: 12.5%; }
  .dot-d-2 { left: 37.5%; }
  .dot-d-3 { left: 62.5%; }
  .dot-d-4 { left: 87.5%; }
  .flow-d-diagram-row {
    width: 100%;
    margin-top: 0;
  }
  .flow-d-diag-img {
    width: 100%;
    height: auto;
    display: block;
  }
}



/* 4. 料金表セクション */
.price-section {
  background: #000;
  color: #fff;
  padding: 25px 20px 90px;
  text-align: center;
  margin-bottom: 0;
}

.lp-container .price-heading-wrapper {
  width: 60%;
  max-width: 400px;
  margin: 0 auto -20px !important; /* ▼ マイナス値を大きく（-30pxなど）するとさらに近づきます */
  padding: 0 !important;
  text-align: center;
  position: relative;
  z-index: 2; /* 重なったときに見出しが後ろに隠れないようにする */
}

.price-heading-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.lp-container .main-price-img-wrap {
  width: 100%;
  max-width: 700px;
  margin-top: -15px !important;   /* ▼ 上方向にも引き寄せる（必要に応じて 0 〜 -30px で調整） */
  margin-bottom: 60px !important; /* オプションメニューとの間は元のまま維持 */
  padding: 0 !important;
  text-align: center;
}

/* テーマ標準の余白リセット（画像や自動挿入されるpタグ対策） */
.lp-container .price-heading-wrapper p,
.lp-container .main-price-img-wrap p,
.lp-container .price-heading-img,
.lp-container .main-price-img {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.main-price-img {
  width: 120%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.price-img-mobile {
  display: block;
  width: 80% !important;
}
.price-img-desktop {
  display: none;
  width: 120% !important;
}

@media screen and (min-width: 768px) {
  .price-img-mobile {
    display: none;
  }
  .price-img-desktop {
    display: block;
  }
}

.option-menu {
  text-align: left;
}

.lp-container .option-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  padding-left: 12px !important;
  margin-bottom: 4px !important;
}

.lp-container .option-menu-img {
  height: 60px !important;
  width: auto !important;
  max-height: none !important;
  display: block !important;
  margin-top: -15px !important;
  margin-bottom: -30px !important;
  margin-left: -12px !important;
}

.option-note-img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.lp-container ul.option-list,
.lp-container .option-list {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
}

.lp-container ul.option-list li,
.lp-container .option-list li {
  list-style: none !important;
  list-style-type: none !important;
  list-style-image: none !important;
  background: none !important;
  background-image: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid #333 !important;
  padding: 7px 0 !important; 
  margin: 0 !important;
  font-size: 22px;
}

.lp-container ul.option-list li::before,
.lp-container ul.option-list li::after,
.lp-container .option-list li::before,
.lp-container .option-list li::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.option-list li strong {
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
}

.option-list li strong span {
  font-size: 13px;
}

@media screen and (min-width: 640px) {
  .lp-container .option-menu {
    max-width: 520px !important;
    margin: 0 auto !important;
  }
}

@media screen and (max-width: 640px) {
  .lp-container .option-menu {
    max-width: 400px !important;
    margin: 0 auto !important;
  }
}

/* 5. 墓石セクション */
.grave-section {
  background: #ffff00;
  color: #000;
  padding: 40px 15px 75px;
  text-align: center;
  position: relative;
  overflow: visible;
}

.grave-layout-mobile {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.grave-m-top-images {
  display: flex;
  justify-content: center;
  gap: 5px;
  width: 60%;
  margin-top: -100px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.grave-m-img-item {
  flex: 1;
  max-width: 190px;
}

.grave-m-img-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.2));
}

.grave-m-desc-wrap {
  width: 70%;
  max-width: 420px;
  margin: 0 auto;
}

/* ▼ スマホ版の説明文画像（上下左右の微調整用） */
.grave-layout-mobile .grave-desc-img {
  width: 115%;
  height: auto;
  display: block;
  position: relative;
  top: 0px;       /* ← 【スマホ上下】マイナス(-10px)で上へ、プラス(10px)で下へ */
  left: 3%;    /* ← 【スマホ左右】数値を小さく(-12%)で左へ、大きく(-3%)で右へ */
  margin: 0;
}

.grave-layout-desktop {
  display: none;
}

@media screen and (min-width: 768px) {
  .price-section { padding-bottom: 35px; }
  .grave-section { padding: 50px 30px 75px; }
  .grave-layout-mobile { display: none; }
  .grave-layout-desktop {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    gap: 20px;
  }
  .grave-d-top-row {
    display: flex;
    align-items: flex-start;
    gap: 35px;
  }
  .grave-d-top-left {
    display: flex;
    gap: 5px;
    flex: 1.2;
  }
  .grave-d-top-right {
    flex: 1;
  }
  /* ▼ パソコン版の説明文画像（上下左右の微調整用） */
  .grave-layout-desktop .grave-desc-img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    top: 6px;     /* ← 【PC上下】マイナス(-15px)で上へ、プラス(15px)で下へ */
    left: 3px;    /* ← 【PC左右】マイナス(-15px)で左へ、プラス(15px)で右へ */
    margin: 0;
  }
  .grave-d-img-item { flex: 1; }
  .grave-d-img-item img {
    width: 100%;
    height: auto;
    display: block;
  }
  .grave-d-bottom-row {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    width: 100%;
  }
}

/* 6. お問い合わせセクション */
.contact-section {
  background: #f0f2f5;
  border-radius: 50% 50% 0 0 / 40px 40px 0 0;
  margin-top: -30px;
  padding: 30px 20px 40px;
  text-align: left;
  position: relative;
  z-index: 5;

}

.contact-heading-wrapper {
  width: 50%;
  max-width: 260px;
  margin: 15px auto 25px;
  text-align: center;
  background: transparent !important; /* ← 親要素の背景も透明化 */
}

.contact-heading-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background: transparent !important; /* ← 【追加】画像の背景色を強制的に透明にする */
  mix-blend-mode: multiply; /* ← 【追加】白い部分を透過させて背景色を透けさせる */
}

.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
}

.contact-form br {
  display: none;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.req { color: #ff4d4f; }

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #d9d9d9;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 13px;
}

.btn-submit {
  width: 100%;
  background: #cf1322;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 25px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

/* 7. 最下部 電話CTAバナー */
.footer-cta {
  background: #ffffff;
  padding: 0;
  margin: 0;
  line-height: 0;
  font-size: 0;
  text-align: center;
}

.cta-img-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.cta-banner-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  vertical-align: bottom;
}

@media screen and (max-width: 640px) {
  .hero-section {
    min-height: 240px;
    padding: 35px 15px 45px;
  }

  .badge-free-wrapper {
    top: -32px;
    left: 5px; 
    width: 26%;    /* 20%だと小さすぎる */
    max-width: 110px;
  }

  /* 3. タイトルロゴを下に押し下げていた top: 2rem をリセット */
  .hero-title-wrapper {
    margin: 0 auto;
    width: 92%;
    position: relative;
    top: 0;        /* ← 【重要】2rem を 0 にして上へ引き上げる */
    z-index: 5;
  }

  /* 4. 左下の作業員イラストのサイズ微調整 */
  .hero-workers-wrapper {
    position: absolute;
    bottom: -16px;
    left: 10px;
    width: 28%;
    z-index: 8;
    line-height: 0;
  }

  .lp-container .option-title {
    font-size: 3.2vw !important;         /* ← 640pxで約20px、375pxで約12pxまでしっかり縮小 */
    padding-left: 2vw !important;
    margin-bottom: 1vw !important;
  }

  .lp-container .option-menu-img {
    height: 10vw !important;            /* ← 640pxで約48px、375pxで約28pxまでしっかり縮小 */
    min-height: 0 !important;            /* ← テーマ側の最小高さ制限があれば解除 */
    margin-top: -1.8vw !important;
    margin-bottom: -7.5vw !important;
    margin-left: -2vw !important;
  }

  .lp-container .option-note-img-wrap {
    width: 48% !important;               /* ← 上の2段に合わせて少しコンパクトに調整 */
    max-width: none !important;
    margin-bottom: 3vw !important;
  }

    .lp-container ul.option-list li,
    .lp-container .option-list li {
      font-size:15px !important;
  }

   .lp-container .option-list li > span:first-child {
     font-size: 15px !important; /* ← 上と同じ数値にする */
  }

  .lp-container .option-note-img-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

}



  @media screen and (min-width: 640px) {
  .hero-workers-wrapper {
  position: absolute;
  bottom: -22px;
  left: 10px;
  width: 27%;
  /* max-width: 140px; */
  z-index: 8;
  line-height: 0;
}

.hero-title-wrapper {
  margin: 0 auto;
  width: 90%;
  /* max-width: 550px; */
  position: relative;
  top: 0;
  z-index: 5;
}

 .lp-container ul.option-list li,
    .lp-container .option-list li {
      font-size:17px !important;
  }

   .lp-container .option-list li > span:first-child {
     font-size: 17px !important; /* ← 上と同じ数値にする */
  }

  .lp-container .option-note-img-wrap {
  width: 65%;
  max-width: 320px;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}

  }