@charset "utf-8";

/* ========================================
   下水管接続工事 固有レスポンシブCSS
   ======================================== */

/* ====== モバイル (max-width:999px) ====== */
@media(max-width:999px){
  /* ヘッダー背景画像 */
  header{
    background-image: url(../topIMG/5_Z.jpg);
  }
}

/* ====== スマホ (max-width:767px) ====== */
@media(max-width:767px){
/* 下水管接続工事 */
.pipingText{
  background-color: var(--color-bg);
  width: 100%;
  margin: 0 auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
}
.pipingImg{
  width: 90%;            /* 左右に余白を確保 */
  margin: 0 auto;
}
.pipingImg img{
  width: 100%;
  height: auto;          /* 比率を維持 */
  border-radius: 5px;
}
.pipingTitle{
  font-weight: 700;
  font-size: 20px;
  margin-top: 50px;
  font-family: 'Noto Serif JP', serif;
}
.pipingText p{
  margin-top: 50px;
  width: 80%;
  line-height: 1.5;
}
.pipingText p:nth-of-type(1){
  padding-bottom: 20px;
}
.pipingText p:nth-of-type(2){
  padding-bottom: 70px;
}
.pipingText span{
  background: linear-gradient(transparent 40%, var(--color-highlight) 85%);
  font-weight: 500;
}

/* お問い合わせ */
.contactOut{
  margin-top: 80px;
  padding-bottom: 50px;
  width: 100%;
}
}
