@charset "utf-8";

/* ========================================
   排水管洗浄 固有CSS
   ======================================== */

/* ====== デスクトップ (min-width:1000px) ====== */
@media(min-width:1000px){
  /* ヘッダー背景画像 */
  header{
    background-image: url(../topIMG/6_Z.jpg);
  }
}

/* ====== タブレット以上 (min-width:768px) ====== */
@media(min-width:768px){
/* 動画 */
.videoOut{
  display: flex;
  justify-content: center;
  margin: 80px 0;
}
video{
  border-radius: 15px;
}

/* 排水管洗浄は必要？ */
.need{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.needText{
  margin: 80px auto;
  width: 70%;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-dark);
}
.needText span{
  color: var(--color-danger);
}
.needItem{
  margin-top: 30px;
  width: 60%;
}
.needItem p{
  font-family: '游明朝';
  font-size: 20px;
  font-weight: 500;
  color: var(--color-dark);
}
.need h2{
  font-family: '游明朝';
  background-color: var(--color-light);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  padding: 20px 0;
  width: 100%;
}
.need img{
  width: 100%;
  height: auto;          /* 比率を維持 */
}

/* 排水管洗浄は自分でできる？ */
.canOut{
  margin-top: 170px;
}
.canOut h2{
  font-family: '游明朝';
  background-color: var(--color-light);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  padding: 20px 0;
  width: 100%;
}
.canItem{
  margin-top: 80px;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.canItem picture{
  width: 40%;            /* pictureをflexアイテムとしてサイズ指定 */
}
.canItem img{
  width: 100%;           /* picture内で100%表示 */
  height: auto;          /* 比率を維持 */
}
.canItem p{
  width: 40%;
  margin-left: 20px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-dark);
}
.canOut > p{
  background-color: var(--color-bg);
  margin: 40px auto;
  padding: 20px 20px;
  width: 70%;
  border-radius: 5px;
  font-weight: 500;
  line-height: 1.5;
}
.canOut > p:nth-of-type(1){
  margin-top: 80px;
}

/* シミズ設備の洗浄方法 */
.methodOut{
  margin-top: 170px;
}
.methodOut h2{
  font-family: '游明朝';
  background-color: var(--color-light);
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  padding: 20px 0;
  width: 100%;
}
.methodImg{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg);
  border-radius: 5px;
  margin: 80px auto 0 auto;
  width: 80%;
}
.methodImgIMG{
  text-align: center;
  padding: 50px 0;
}
.methodImgIMG P{
  font-family: '游明朝';
  font-weight: 500;
  font-size: 20px;
}
.methodImgIMG img{
  width: 80%;
  height: auto;          /* 比率を維持 */
  padding: 0;
}
.methodOut > p{
  width: 70%;
  margin: 80px auto 0 auto;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-dark);
}
.center{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

/* 対象箇所 */
.target{
  margin-top: 60px;
  display: inline-block;
  width: 60%;
  max-width: 100%;
  border: 1px solid var(--color-dark);
  border-radius: 0px;
  padding: 1.8em .8em .8em;
  position: relative;
  text-align: left;
  color: var(--color-dark);
}
.target h3{
  font-family: '游明朝';
  padding: .4em;
  font-size: 1.5em;
  font-weight: bold;
  position: absolute;
  top: -1em;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  white-space: nowrap;
}
.target p{
  padding: 40px 30px 50px 30px;
  font-weight: 500;
  line-height: 1.5;
}

/* 料金 */
.price{
  margin-top: 80px;
  display: inline-block;
  width: 60%;
  max-width: 100%;
  border: 1px solid var(--color-dark);
  border-radius: 0px;
  padding: 1.8em .8em .8em;
  position: relative;
  text-align: left;
}
.price h3{
  font-family: '游明朝';
  padding: .4em;
  font-size: 1.5em;
  font-weight: bold;
  position: absolute;
  top: -1em;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  white-space: nowrap;
  color: var(--color-dark);
}
.price p:nth-of-type(1){
  padding: 40px 30px 0 30px;
  font-weight: 500;
  color: var(--color-dark);
}
.price p:nth-of-type(2){
  background-color: var(--color-bg);
  padding: 50px;
  margin: 20px auto 0 auto;
  width: 70%;
  font-weight: 500;
}
.price p:nth-of-type(3){
  padding: 20px 30px 50px 30px;
  color: var(--color-danger);
  font-weight: 500;
}
.brSp{
  display: none;
}

/* 注意事項 */
.noteOut{
  margin-top: 80px;
  display: flex;
  justify-content: center;
}
.note{
  width: 80%;
}
.note h2{
  color: var(--color-dark);
  font-size: 18px;
  font-weight: 600;
}
.note p{
  margin-top: 10px;
  color: var(--color-danger);
  font-weight: 500;
  line-height: 1.5;
}

/* 見積もり問い合わせ */
.mituItem{
  color: var(--color-white);
  background-color: var(--color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  height: 70px;
  margin: 70px auto 20px auto;
  box-shadow: -10px 10px var(--color-light);
  font-size: 15px;
}
.mitu1{
  margin-left: auto;
}
.mitu2{
  margin-left: auto;
  margin-right: 15px;
}
.mituItem:nth-of-type(1){
  margin-top: 80px;
}

/* お問い合わせ */
.contactOut h2{
  position: relative;
  display: inline-block;
  padding: 80px 0 80px 90px;
  font-size: 40px;
  color: var(--color-dark);
  font-weight: 500;
  font-family: '游明朝';
}
.contactOut h2:before{
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  display: inline-block;
  width: 85px;
  height: 1.5px;
  background-color: var(--color-dark);
}
.contactOut h2:before{
  left: 0;
}
.contactOut{
  margin-top: 150px;
  padding-bottom: 150px;
}
}
