@charset "utf-8";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;}

::before,
::after{margin: 0;
  padding: 0;
  box-sizing: border-box; 

}
.kiwi-maru-regular {
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

ul,ol{
    list-style: none;
}
body {
  color: #060606;
  line-height: 1.7;
  font-size: 20px;

  background-color: #f5efda;
  margin: 0;
  
  
}



img{max-width: 100%;}



/* header */
.header {
  background: #fff;
  padding: 10px 15px;
}
.header-inner {
  max-width: 1200px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 30px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;



}

.header-logo {
  display: block;
  width: 300px;
}

.header-info{width: 400px;
}





.first-view {

  height: calc(100vh - 150px);
  width: 100%;
  background-image: url(../images/top1_img.png);
  background-position: center center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
  position: relative;
  margin: 0;
  padding: 0;
  position: relative; 
}


.first-view-text{
max-width: 1200px;

font-weight: bold;
color: #c62828;
position: absolute;
  top: 10%;             /* 上から少し下 */
  left: 50%;
  position: relative;
  background: url(bg.jpg) center / cover no-repeat;
  display: flex;
  justify-content: center;
  transform: translateX(-50%);
   width: 1000px;   
 }
.first-view-text p{
background: rgb(255, 255, 255,0.7);
  color: #f5180c;
  padding: 10px 16px;
  display: inline-block;
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
 
  }
.trouble,.message,.open,.qualification,.service,.taisyo-sya,.price,.waribiki-price,.area,.time{
  padding: 50px 15px;
  max-width: 1200px;
  margin: auto;
}



.trouble{
  margin-top: 50px;
}
.message{
  margin-top: 50px;
  margin-bottom: 50px;
    display: flex;
  align-items: center;   /* 縦方向を中央揃え */
  /* flex-direction: row-reverse; */
  gap: 20px;       
}
.message img{
  width: 60%;
}



.service p{
  margin-bottom: 20px;
}

.service{
  z-index: 2;
}

.li-1{
  margin-bottom: 20px;
}

.qualification img{
  width: 300px;
}
.qualification{
    display: flex;
  align-items: center;   /* 縦方向を中央揃え */
  /* flex-direction: row-reverse; */
  gap: 100px;       
}

.service-car
{
  position: relative;

}
.syaryou{
  position: absolute;
 
}



.unntinn img {
  width: 300px;
  gap: 50px;
  
}

.unntinn{
  display: flex;
  gap: 50px;
}
.waribiki-price img {
  width: 650px;
}

section h2 {
  color: #c62828;
  margin-bottom: 20px;
  font-size: 40px;
  text-decoration: underline;
  text-underline-offset: 10px;}


section p{
  font-size: 30px;
}

li{
  font-size: 30px;
}
ul {
  list-style: disc;
  padding-left: 20px;
}

.car{z-index: 1;}

.service{z-index: 2;}

.area div{
  display: flex;
  gap: 100px;
}

.area div img{
  width: 500px;
}

.time{
  margin-bottom: 100px;
}

.main{position: relative;}
.car{
  display: flex;
}
.syaryou {
    width: 1000px;
    right: 0px;
    top: 00px;
  z-index: 0;}

.syaryou-comment{
  width: 400px;
  right: 0px;
  top: 2000px;

}

/* ここからfooter */
.footer{
background-color: #fff;
  padding-top: 30px;
  padding-bottom: 15px;
}
.footer-inner {
  
  
  color: #000;
  text-align: center;
  

  display: flex;
  align-items: center;
  padding-left: 40px;
  padding-right: 40px;
 
}

.footer-logo{
  margin-left: 0%;
  margin: 0 auto;
  text-align: center;
   display: block;
  width: 400px;
}

.footer-right{
  width: 400px;
  text-align: right;
  display: block;
  margin-right: 0px;

}

.copy{
  font-size: 20px;
}


/* こっからレスポンシブ1 */
@media screen and (max-width: 1100px){
.syaryou{
  position: static;
}
.qualification{flex-direction: column}
}
/* こっからレスポンシブ2 */
@media screen and (max-width: 768px) {
  

 .main{margin: 25px;}

 .first-view-text p{
  font-size: 40px;
 }

  .area{
    padding: 16px;
  }
  .area div{flex-direction: column;
  gap: 30px;}
.service{
  flex-direction: column;
 
  }

     .kyoto{
    flex-direction:column;

flex-wrap:nowrap;
}

 .message p,.open p,.qualification p,.service p,.taisyo-sya p,.area p,.time p{
  font-size: 20px;
}
 .message{
  gap: 0;
 }
 .service{
  margin: 0;
 }



.syaryou{
  position: static;
}
li{
  font-size: 20px;
}
  .kyoto{
    flex-direction:column;

flex-wrap:nowrap;
  }
.trouble,.message,.open,.qualification,.service,.taisyo-sya,.price,.waribiki-price,.area,.time{
  padding-top: 5px;
  padding-bottom: 5px;
}

section h2{
  font-size: 25px;
}

main p{
  font-size: 15px;
}
.unntinn{flex-direction: column;
gap: 20px;}

.service-car{
  display: flex;
  flex-direction: column;
}
.syaryou{display: block;
flex-direction: column;}

.service,
  .car {
    position: static;
  }

  .service-car{
    position: static;
    display: flex;
    flex-direction: column;
  }

  .unntinn img{
    width: 40%;
  }
  .waribiki-price img{
    width: 80%;
  }

  .waribiki-price p{
    font-size: 20px;
  }
  .qualification{
    position: static;
    gap: 10px;
    padding-bottom: 30px;
  }
  .open p{
    padding-bottom: 40px;
  }

  .footer-right p{
    font-size: 10px;
  }
  }