.main-visual {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto; 
}

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

.img-mv-sp{
  width: 725px;
  height: auto;
  max-width: 100%;
  padding: 10px 20px 0px;
  margin: 0 auto;
}

/* ==========================
   セクション1
========================== */
.sec1 {
  background-color: #29ABE2;
  /* padding-top: clamp(
  10px,
  calc(10px + (120 - 10) * ((100vw - 768px) / (1200 - 768))),
  120px
); */
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}

.sec1__inner {
  max-width: 1200px;   /* 中身は1200pxまで */
  margin: 0 auto;      /* 中央寄せ */
  box-sizing: border-box;
  text-align: center;
  color: #fff;
}

.title-feature {
  text-align: center;
  margin-bottom: 40px;
}

.sec1__title-feature {
  position: relative;
  overflow-x: clip;
  padding-top: clamp( 171px, calc( 146 / 640 * 100%), 213px);
  margin-bottom: calc( 40px - 75px);
}

/* 画像を上にずらしたい場合はコンテナに absolute を設定 */
.sec1__image-container {
  position: absolute;
  top: -70px;          /* 上方向にはみ出す量 */
  left: 0;
  width: 100%;
  text-align: center;   /* 中央寄せ */
  z-index: 2;
}

.sec1__image-wrapper {
  margin: 0 auto;      /* 中央寄せ */
  position: relative;   /* 必要に応じて absolute の子要素用 */
  width: clamp( 640px, calc( 640 / 768 * 100% ) ,800px);
}

.sec1__image-wrapper__bak{
  position: absolute;
  top: -70px; /* MV側にはみ出す位置 */
  z-index: 2;
  width: 100%;
  /* padding: 0px 180px;   */
}

.img-title-feature {
  height: auto;
  max-width: 100%;
  margin: 0 auto;
}

/*  2025.10.21 image-wrapper container img-title-featureのiphoneの古い端末で表示されないバグ修正　*/

.sec1__header-label{
  position: relative;
  top: -75px;
  padding: 0 15px;
  margin: 0 auto calc( 15px - 75px );
  max-width: 830px;
}

.img-label-pc{
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
}

.img-label-sp{
  margin: 0 auto;
  width: calc( 325 / 375 * 100% );
}

/*  2025.10.21 修正ここまで　*/

.sec1__title {
  font-size: clamp(
  20px,
  calc(20px + (38 - 20) * ((100vw - 375px) / (1280 - 375))),
  38px
);
  font-weight: 700;
  /* margin: 120px 0 90px; */
  margin-bottom: 90px;
  line-height: 1.3;
}
.sec1__title .sec1__highlight {
  font-size: clamp(
  32px,
  calc(32px + (54 - 32) * ((100vw - 375px) / (1280 - 375))),
  54px
);
  font-weight: 700;    /* 強調 */
  display: inline-block;
}

@media (max-width: 767px) {
  .sec1__title-feature {
    position: relative; /* 画像を絶対配置の基準にする */
    /* padding: 0 20px; */
    padding-top: calc((180 / 375) * 100%);
    margin-bottom: calc( 45px - 45px);
    /* height: 0; 中身の高さを持たせない */
    height: calc((180 / 375) * 100vw);
  }

  /* 画像を上にずらしたい場合はコンテナに absolute を設定 */
  .sec1__image-container {
    position: absolute;
    /* top: -45px;          上方向にはみ出す量 */
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;   /* 中央寄せ */
    z-index: 2;
  }
  
  .sec1__image-wrapper {
    margin: 0 auto;      /* 中央寄せ */
    position: relative;   /* 必要に応じて absolute の子要素用 */
    width: calc(330 / 375 * 100%);
  }


  .img-title-feature-sp__bak {
    display: block;
    width: calc(100vw * 300 / 375); /* 375px幅のとき 300px */
    max-width: 100%; /* はみ出し防止 */
    height: auto;
    margin: 0 auto;
    position: absolute;
    top: 0;                  /* 親の上端に合わせる */
    left: 50%;               /* 横中央寄せ */
    transform: translate(-50%, -0%); /* 横中央 & 高さの50%分上へ */
  }

  .img-title-feature-sp,
  .img-title-feature-pc{
    object-fit: contain;
    height: 100%;
    width: 100%;
  }  


/*  2025.10.21 image-wrapper container img-title-featureのiphoneの古い端末で表示されないバグ修正　*/
  
  .sec1__header-label{
    position: relative;
    top: -45px;
    margin-bottom: calc(-45px + 35px);
  }

/*  2025.10.21 修正ここまで　*/

  /* .sec1__inner {
      margin-top: 100px;
  } */
}

/* ==========================
   3つの強みボックス
========================== */
.sec1__strengths {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 55px); /* 余白も可変に */
   margin-top: clamp(70px, calc(70px + (100 - 70) * ((100vw - 769px) / (1280 - 769))), 100px);
  flex-wrap: nowrap; /* 常に横並び */
  padding: 0px 30px;
}




.strength-box {
  width: 294px;
  aspect-ratio: 294 / 397; /* 元の比率を固定して縮小 */
  background: #fff;
  border-radius: 20px;
    padding: 
    clamp(50px, calc(50px + (90 - 50) * ((100vw - 769px) / (1280 - 769))), 90px) /* 上 */
    clamp(12px, calc(12px + (23 - 12) * ((100vw - 769px) / (1280 - 769))), 23px) /* 左右 */
    30px; /* 下は固定 */
  text-align: center;
  box-sizing: border-box;
  position: relative;
}

.strength-drop-wrap {
  position: absolute;
  top: 0; /* ボックスの上端に揃える */
  left: 50%;
  transform: translate(-50%, -50%); /* 自分の高さの半分だけ上に出す */
}

.strength-drop {
  width: clamp(60px, 7vw, 88px);
  height: auto; /* 比率維持 */
  display: block;
}

.strength-title {
  margin-bottom: clamp(25px, calc(25px + (35 - 25) * ((100vw - 769px) / (1280 - 769))), 35px);
  line-height: 1.4;
}

.strength-title__sub {
  display: inline;
  font-size: clamp(14px, 2vw, 26px);
  font-weight: 600;
  color: #29ABE2;
}

.strength-title__main {
  display: inline;
  font-size: clamp(16px, 2.5vw, 32px);
  font-weight: 900;
  color: #FF9900;
}

.strength-list {
  text-align: left;
  margin: 0 0 15px;
  font-size: clamp(12px, 1.8vw, 18px);
  font-weight: 600;
  line-height: 1.6;
}

.strength-list li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 1em;
}

.strength-list li::before {
  content: "";
  width: 13px;
  height: 13px;
  background-color: #29ABE2; /* 水色の丸 */
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.4em; /* ← 文章の中心に揃うように調整 */
}

.strength-desc {
  font-size: clamp(12px, 1.8vw, 18px);
  font-weight: 600;
  line-height: 1.7;
  margin: 0;
  margin-top: 26px;
}

@media (max-width: 767px) {
  .strength-title__sub {
    font-size: 26px;
  }

  .strength-title__main {
    font-size: 32px
  }

  .strength-list {
    font-size: 18px;
  }
  
  .strength-desc {
    font-size: 18px;
  }

  .sec1__strengths {
    flex-direction: column;   /* 縦並びにする */
    align-items: center;      /* 中央寄せ */
    gap: 90px;                /* ボックス同士の間隔 */
    margin-top: 70px;         /* スマホ用の余白 */
    padding: 0 20px;          /* 左右余白を少し調整 */
  }

  .strength-box {
    width: 450px;
    max-width: 100%;
    aspect-ratio: auto; /* 比率固定を解除 */
    padding: 90px 40px 35px;
  }

  .strength-drop {
    width: 80px; /* スマホは小さめで固定 */
    height: auto;
  }

  .strength-title {
    margin-bottom: 40px;
  }
}
/* ==========================
   全国対応エリア
========================== */
.sec1__nationwide {
  text-align: center;
  margin-top: 135px;
  position: relative;
  padding: 0 25px;
}

.nationwide-map {
  width: 600px;
  height: auto;  /* 縦横比維持（290pxになる） */
  display: block;
  margin: 0 auto 0px; /* 下に余白を追加 */
}

.sec1__nationwide-inner {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央寄せ */
  color: #fff;
  width: 100%;
  max-width: 600px; /* 地図と同じ幅に収める */
}

.nationwide-sub {
  font-size: clamp(26px, calc(26px + (30 - 26) * ((100vw - 375px) / (1280 - 375))), 30px);
  font-weight: 600;
}

.nationwide-main {
  font-size: 54px;
  font-weight: 900;
}

.nationwide-desc {
  font-size: clamp(26px, calc(26px + (30 - 26) * ((100vw - 375px) / (1280 - 375))), 30px);
  font-weight: 600;
  margin: 0;
}

@media (max-width: 767px) {
  .nationwide-main {
    margin-bottom: 40px;
}
}

/* ==========================
   セクション2
========================== */
.sec2 {
  margin-top: clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px);
}

.sec2__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.sec2__title {
  font-size: clamp(32px, calc(32px + (38 - 32) * ((100vw - 375px) / (1280 - 375))), 38px);
  font-weight: 700;
  color: #2849B2;
  margin-bottom: clamp(45px, calc(45px + (70 - 45) * ((100vw - 375px) / (1280 - 375))), 70px);
}

.sec2__subtitle {
  font-size: clamp(26px, calc(26px + (32 - 26) * ((100vw - 375px) / (1280 - 375))), 32px);
  font-weight: 600;
  color: #2849B2;
  margin-bottom: 35px;
}

.sec2__text {
  font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 375px) / (1280 - 375))), 18px);
  font-weight: 500;
  color: #464E53;
  line-height: 1.8;
  margin-bottom: 85px; /* 指定 */
}

.sec2__block {
  width: 100%;             
  max-width: 780px;  
  background-color: #F8F7F6;
  margin: 60px auto 80px; 
  border-radius: 0; 
  overflow: visible;
  position: relative;
  padding-top: 20px;  
}

.sec2__block-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) skewX(-8deg);
  width: 459px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec2__block-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  transform: skewX(8deg);
}

/* 番号ごとに色を指定 */
.sec2__block1 .sec2__block-header { background-color: #29ABE2; } /* ブルー */
.sec2__block2 .sec2__block-header { background-color: #2849B2; } /* ネイビーブルー */
.sec2__block3 .sec2__block-header { background-color: #0070C0; } /* 青寄りの別色 */

/* 本文エリア */
.sec2__block-body {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 25px 20px;
}

.sec2__block-image img {
  width: 360px;
  height: 270px;
  object-fit: cover;
  border-radius: 0; /* 角丸なし */
}

.sec2__block-text {
  flex: 1;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  line-height: 1.8;
  text-align: left;
}

.sec2__block2 .sec2__block-header {
  background-color: #2849B2;
}

.sec2__block2 .sec2__block-image img {
  width: 471px;
  height: 265px;
  object-fit: cover;
  border-radius: 0; 
}

.sec2__block3 .sec2__block-header {
  background-color: #1BB8CE;
}

.sec2__block3 .sec2__block-image img {
  width: 360px;
  height: 270px;
  object-fit: cover;
  border-radius: 0;
}

.sec2__block3 {
    margin-bottom: 120px;
}

@media (max-width: 767px) {
  .sec2__inner {
  padding: 0 30px;
}
  .sec2__block {
    margin: 0 10px;         /* 左右10px */
    width: auto;            /* ← 幅を自動にする */
    max-width: calc(100% - 20px);
    margin-bottom: 80px;
  }
    .sec2__block-body {
    flex-direction: column;
    align-items: center; /* 画像中央寄せ */
    padding: 20px 10px;
    gap: 20px;
  }

  .sec2__block-title {
    font-size: 26px;
  }

  .sec2__block-image img {
    width: calc((320 / 375) * 100vw);
    height: auto;
    max-width: 100%;
    margin-top: 30px;
  }

  .sec2__text,
  .sec2__block-text p {
    text-align: left;
  }

  /* テキスト：中央寄せにする場合 */
  .sec2__block-text {
    text-align: center;
    font-size: 16px;
    padding: 0 10px;
  }
  .sec2__block-header {
    width: 320px;
    height: 70px;
  }
}

/* ==========================
   セクション3 - シリカのしくみ
========================== */
.sec3 {
  display: flex;
  justify-content: center;
}

.sec3__inner {
  background-color: #29ABE2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px);
  padding: 45px 20px;
  text-align: center;
  box-sizing: border-box;
}

.sec3__title {
  font-size: clamp(32px, calc(32px + (38 - 32) * ((100vw - 375px) / (1280 - 375))), 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
}

.sec3__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 47px 20px; /* 行間47px, 列間20px */
  justify-items: center;
}

.sec3__grid img {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .sec3__inner {
    background-color: #fff; /* 背景は白に */
    padding: 45px 20px;
  }

  .sec3__title {
    background-color: #29ABE2; /* タイトルだけ背景色 */
    padding: 30px 0;
    margin-bottom: 50px;
    margin: 0 -20px 50px;
  }

  .sec3__grid img {
    width: calc((320 / 375) * 100vw); /* 375px時に320px */
    max-width: 100%;
  }
}

/* ==========================
   セクション4 - 防水工法の比較表
========================== */
.sec4 {
  background-color: #29ABE2;
  text-align: center;
  padding: 
    clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px)  /* 上 */
    20px
    clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px); /* 下 */
}

.sec4__title {
  font-size: clamp(32px, calc(32px + (38 - 32) * ((100vw - 375px) / (1280 - 375))), 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: clamp(45px, calc(45px + (70 - 45) * ((100vw - 375px) / (1280 - 375))), 70px);
}

.sec4__table {
  margin: 0 auto;
  max-width: 1200px; /* PCのときは横幅1200 */
}

.scroll-wrapper {
  margin: 0 auto;
}

.sec4__table img {
  width: 100%;   /* PC時は1200枠にフィット */
  height: auto;
  border-radius: 8px;
  display: block;
  transition: none;
}

/* ホバー時に色が変わらないように */
.sec4__table a:hover img {
  filter: none;
  opacity: 1;
}

/* common.cssのa:hoverをoverwrite */
.sec4 a:hover{
  opacity: 1;
}

@media (max-width: 767px) {
  .sec4__table {
    max-width: 100%; /* スマホでは全幅を使う */
  }

  .scroll-wrapper {
    overflow-x: auto;               /* 横スクロール許可 */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    width: 100%;                    /* 画面幅に広げる */
    max-width: 100%;
  }

  .scroll-wrapper img {
    min-width: 1600px;    /* スマホでは常に1600px幅 */
    height: auto;
    display: block;
  }
}


/* ==========================
   セクション5 - 導入の流れ
========================== */
.sec5 {
  margin-top: clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px);
  margin-bottom: clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px);
  text-align: center;
}

.sec5__title {
  font-size: clamp(32px, calc(32px + (38 - 32) * ((100vw - 375px) / (1280 - 375))), 38px);
  font-weight: 700;
  color: #2849B2;
}

.sec5__subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin: clamp(45px, calc(45px + (70 - 45) * ((100vw - 375px) / (1280 - 375))), 70px) 0;
  line-height: 1.6;
}

.sec5__flow img {
  width: 994px;
  height: 209px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  padding: 0 40px;
}

.flow-sp {
  width: clamp(300px, calc(348px + (100vw - 375px) * (994 - 348) / (1280 - 375)), 994px);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==========================
   セクション6 - 施工事例
========================== */
.sec6 {
  background-color: #AFE5FC;
  margin-top: 100px;
  padding: 
    clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px)
    20px;
  text-align: center;
}

.sec6__title {
  font-size: clamp(32px, calc(32px + (38 - 32) * ((100vw - 375px) / (1280 - 375))), 38px);
  font-weight: 700;
  color: #2849B2;
  margin-bottom: clamp(45px, calc(45px + (70 - 45) * ((100vw - 375px) / (1280 - 375))), 70px);
}

.sec6__row {
  display: flex;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto 60px;
  flex-wrap: wrap; /* SP用で縦並びに */
}

.sec6__row--center {
  justify-content: center;
}

.case-card {
  flex: 1 1 470px;   /* 基本は470pxを目安に縮む */
  max-width: 470px;
  border-radius: 12px;
  overflow: hidden; /* 画像がはみ出さないように残すならアリ */
  background: #fff;
  display: flex;
  flex-direction: column;
}

.case-card__img {
  width: 100%;
  aspect-ratio: 470 / 340;
  object-fit: cover;
  display: block;
}

.case-card__body {
  background: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* 縦方向中央配置 */
  align-items: center;       /* 横方向中央 */
  flex: 1;
  min-height: 80px;
}

.case-card__text {
  font-size: 18px;
  font-weight: 700;
  color: #2849B2;
}

.case-card__link {
  margin-top: 8px;
}

.case-card__link a {
  display: inline-block;
  width: 180px;             /* 少し小さめに調整 */
  font-size: 16px;          /* ご希望どおり16px */
  font-weight: 500;
  color: #29ABE2;
  text-align: center;
  border: 1px solid #29ABE2;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  padding-left: 12px;       /* デザインに合わせて余白 */
}

.case-card__link a:hover {
  background-color: #29ABE2;
  color: #fff;
}


/* ==========================
   セクション7 - 会社概要
========================== */
.sec7 {
  background-color: #F5F5F5;
  padding: 
  clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px)
  20px
  clamp(100px, calc(100px + (150 - 100) * ((100vw - 375px) / (1280 - 375))), 150px); 
  text-align: center;
}

.sec7__title {
  font-size: clamp(32px, calc(32px + (38 - 32) * ((100vw - 375px) / (1280 - 375))), 38px);
  font-weight: 700;
  color: #2849B2;
  margin-bottom: clamp(45px, calc(45px + (70 - 45) * ((100vw - 375px) / (1280 - 375))), 70px);
}

.sec7__table {
  width: 100%;            
  max-width: 780px; 
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #fff;
  font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 375px) / (1280 - 375))), 18px);
  border-top: 1px solid #29ABE2;
  border-bottom: 1px solid #29ABE2;
  table-layout: fixed; 
}

.sec7__table th,
.sec7__table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #29ABE2;
}

.sec7__table th {
  width: 150px;
  font-weight: 500;
  color: #2849B2;
  text-align: right;
}

.sec7__table td {
  color: #464E53;
  font-weight: 500;
}

/* ==========================
   セクション8 - お知らせ
========================== */
.sec8 {
  background-color: #fff;
  padding-top: clamp(100px, calc(100px + (120 - 100) * ((100vw - 375px) / (1280 - 375))), 120px);
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 100px;
  text-align: center;
}

.sec8__title {
  font-size: clamp(32px, calc(32px + (38 - 32) * ((100vw - 375px) / (1280 - 375))), 38px);
  font-weight: 700;
  color: #2849B2;
  margin-bottom: clamp(50px, calc(50px + (70 - 50) * ((100vw - 375px) / (1280 - 375))), 70px);
}

.sec8__table {
  width: 100%;            
  max-width: 780px; 
  margin: 0 auto;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 18px;
  border-top: 1px solid #29ABE2;
  border-bottom: 1px solid #29ABE2;
}

.sec8__table th,
.sec8__table td {
  padding: 18px 2px;
  border-bottom: 1px solid #29ABE2;
}

.sec8__table th {
  width: 160px;
  font-weight: 500;
  color: #2849B2;
  text-align: left;
}

.sec8__table td {
  color: #464E53;
  text-align: left;
}

.sec8__table tr:last-child th,
.sec8__table tr:last-child td {
  border-bottom: none;
}

.sec8__table a {
  color: #464E53;
  text-decoration: none;
  font-weight: 500;
}

.sec8__table a:hover {
  color: #29ABE2;
}

.sec8__more {
  width: 100%;             
  max-width: 780px;  
  margin: 30px auto 0; 
  text-align: right;
}

.sec8__more a {
  display: inline-block;
  width: 200px;
  line-height: 40px; /* 縦方向の中央揃え */
  font-size: 18px;
  font-weight: 500;
  color: #29ABE2;
  text-align: center;
  border: 1px solid #29ABE2;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  padding-left: 12px;
}

.sec8__more a:hover {
  background-color: #29ABE2;
  color: #fff;
}

/* ==========================
   セクション9 - お問い合わせ
========================== */
/* セクション背景 */
.sec9 {
  background: #29ABE2;
  text-align: center;
  padding: 120px 20px;
}

/* タイトル */
.sec9__title {
  font-size: clamp(32px, calc(32px + (38 - 32) * ((100vw - 375px) / (1280 - 375))), 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 80px;
}

/* リード文 */
.sec9__lead {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 80px;
}

/* ボックス */
.sec9__box {
  background: #fff;
  width: 370px;
  max-width: 100%;
  height: 242px;
  border-radius: 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* ボタン画像の切替 */
.sec9__tel img,
.sec9__contact img {
  display: block;
  width: auto;
  max-width: 100%;
}

.sec9__tel img.hover,
.sec9__contact img.hover {
  display: none;
}

.sec9__tel:hover img.default,
.sec9__contact:hover img.default {
  display: none;
}

.sec9__tel:hover img.hover,
.sec9__contact:hover img.hover {
  display: block;
}

.sec9__tel {
  width: 268px;
  height: 48px;
  max-width: 100%;
  height: auto; /* 比率維持 */
}

.sec9__contact {
  width: 270px;
  height: 72px;
  height: auto; /* 比率維持 */
  transition: opacity 0.3s;
}
@media (max-width: 767px) {
  .sec5__flow img {
  padding: 0 15px;
}

  .sec6__grid {
    grid-template-columns: 1fr; /* スマホは1列 */
    gap: 30px; /* 縦の間隔を少し詰めてもOK */
  }

  .sec6__grid img:nth-child(3) {
    grid-column: auto; /* ← ぶち抜き解除して普通に1列 */
    /* max-width: 100%; */
  }
    .sec7__table {
    display: block;
    width: 100%;
    max-width: calc((320 / 375) * 100vw);
    margin: 0 auto;
    border-collapse: collapse;
    border: none;
  }

  .sec7__table tr {
    display: block;
    width: 100%;
    padding: 9px 0;
    border-bottom: 1px solid #29ABE2;
  }

  .sec7__table tr:first-child {
    border-top: 1px solid #29ABE2;
  }

  .sec7__table th,
  .sec7__table td {
    display: block;
    width: 100%;
    padding: 0;
    text-align: center;  /* ← 中央揃え */
    border: none;
  }

  .sec7__table th {
    width: calc((320 / 375) * 100vw); 
    padding-bottom: 10px;
  }

    .sec8__table {
    max-width: calc((320 / 375) * 100vw); 
    display: block;
    border-collapse: collapse;
    margin: 0 auto;
  }

  .sec8__table tr {
    display: block;
    width: 100%;
    border-bottom: 1px solid #29ABE2;
    padding: 10px 0; 
  }

  .sec8__table tr:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  .sec8__table th,
  .sec8__table td {
    display: block;
    width: 100%;
    border: none;               /* セルの線を消す */
    padding: 0;                 /* 余白リセット */
    text-align: left;
  }

  .sec8__table th {
    margin: 0 0 1px 0; 
    width: calc((320 / 375) * 100vw); 
  }

  .sec8__table td {
    font-size: 16px;
    color: #464E53;
    margin: 0;   
  }

  .sec8__more {
  width: 100%;             
  max-width: calc((320 / 375) * 100vw);
}

  .sec8__more a {
    width: 180px;     /* スマホサイズ */
    height: 40px;
    line-height: 40px;
    font-size: 16px;  /* スマホフォントサイズ */
    padding-left: 8px;
  }


  .sec9 {
    padding: 100px 20px;
  }
  .sec9__box {
    width: 320px;
  }
  .sec9__title {
   margin-bottom: 40px;
}
  .sec9__lead {
   margin-bottom: 40px;
}
}