.fadein {
  opacity: 0;
  transition-duration: 1.8s;
  transition-property: opacity;
}

body {
  background-image: url(./../img/bg.webp);
  background-size: cover;
  background-position: center;
}

.scroll-on {
  opacity: 1;
}

.titleBox {
  text-align: center;
  background-color: #333;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.titleBox h4 {
  font-size: 1rem;
}

.titleBox h3 {
  font-size: 1.6rem;
}

.contactBlock {
  text-align: center;
  padding-bottom: 6rem;
}

.contactBlock p {
  padding-bottom: 3rem;
  color: #131313;
  font-size: 1.3rem;
}

.contactBlock .tel {
  border-radius: 1rem;
  height: 4rem;
  border: 2px solid #783d29;
  color: #783d29;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  padding-left: 4rem;
  padding-right: 4rem;
  font-size: 1.2rem;
  transition: background-color 0.5s, color 0.5s;
}

.contactBlock .tel:hover {
  background-color: #783d29;
  color: #fff;
}

.serviceBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.serviceBlock .partBox {
  width: 90%;
}

.serviceBlock .partBox h4 {
  font-size: 1.5rem;
  width: 8rem;
  border-bottom: 0.3rem solid #65321f;
  text-align: center;
  padding-bottom: 0.3rem;
  margin-top: 0.5rem;
  padding-top: 3rem;
}

.serviceBlock .partBox .horLine {
  width: 100%;
  height: 2px;
  background-color: #c2c2c2;
}

.serviceBlock .partBox .textBox {
  margin-top: 2rem;
  margin-left: 6rem;
}

.serviceBlock table {
  width: 90%;
  border-collapse: collapse;
}

.serviceBlock table tr {
  border: solid 2px #c2c2c2;
}

.serviceBlock table th {
  position: relative;
  text-align: left;
  width: 9rem;
  background-color: #424242;
  color: white;
  text-align: center;
  padding: 10px 0;
}

.serviceBlock table td {
  padding-left: 2rem;
}

.mapBlock iframe {
  width: 100%;
}

@media screen and (max-width: 640px) {
  .serviceBlock .jigyoBoxItems .jigyoBoxBase1 .jigyoBox1 {
    width: 90%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase1 .jigyoBox1 img {
    margin-left: -2rem;
    width: 120%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 {
    width: 90%;
    padding-right: 1rem;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 img {
    margin-left: -4rem;
    width: 120%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase2 .jigyoBox2 .serviceHorLine {
    margin-left: -20%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase3 .jigyoBox3 {
    width: 90%;
  }
  .serviceBlock .jigyoBoxItems .jigyoBoxBase3 .jigyoBox3 img {
    margin-left: -2rem;
    width: 120%;
  }
}
