

div.container div.s-item {
  margin: 50px 100px;  
}

div.container div.s-item a {
  text-decoration: none;
  font-size: 20px;
  width: 130px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 10px;
  display: block;
  transition: 0.2s;
  margin: 10px auto;
  background-color: #fff;
  color: black;
  border: 2px black solid;

}

div.container div.s-item.other a:first-of-type {
  display: none;
}

div.container div.s-item a:first-of-type {
  width: 70px;
}

div.container div.s-item a:hover {
  border: 3px black solid;
}

div.s-item {
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

div.s-item.tosou {
  background-image: url(../img/service/tosou.jpg);
}

div.s-item.bousui {
  background-image: url(../img/service/bousui.jpg);
}
div.s-item.ceiling {
  background-image: url(../img/service/ceiling.jpg);
}
div.s-item.yane {
  background-image: url(../img/service/yane.jpg);
}
div.s-item.reform {
  background-image: url(../img/service/reform.jpg);
}

div.s-item.other {
  background-image: url(../img/service/other.jpg);
}

div.s-item div.item-content {
  background-color: #0008;
  color: white;
  box-shadow: 0 3px 5px black;
  padding: 0;
  padding-bottom: 10px;
}

div.s-item div.item-content p {
  padding: 30px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.slick-prev
{
    left: 2vw;
}

.slick-next
{
    right: 2vw;
}

.slick-dots
{
    bottom: 0px;
}

@media screen and (max-width: 750px){
  div.container div.s-item {
    margin: 50px 10vw;
  }
}

@media screen and (max-width: 550px){
  div.container div.s-item {
    margin: 50px 1vw;
  }

   .slick-next, .slick-prev {
     display: none !important;
   }

   div.container div.s-item a {
    font-size: 16px;
    width: 110px;
    height: 40px;
    line-height: 40px;
  }

  div.s-box div.textbox a:first-of-type {
    width: 60px;
  }

  div.s-item div.item-content p {
    padding: 10px 20px;
  }
}


div.s-detail {
  background-color: #0001;
  padding: 0 5%;
}

div.s-detail h2 {
  text-align: left;
}

div.s-detail h2::before {
  content: '■';
}

div.s-detail table {
  /* margin: 0 auto; */
  border-collapse: collapse;
  border: black 2px solid;
}

div.s-detail table.middle {
  margin: 0 auto;
}

div.s-detail table p {
  text-align: center;
  margin: 0 auto;
}

div.s-detail table th,
div.s-detail table td {
  padding: 15px;
  font-size: 20px;
  border: black 1px solid;
}

div.s-detail table tbody {
  font-weight: 500;
  text-align: center;
  background-color: white;
}

div.s-detail table tbody th {
  font-weight: 500;
}

div.s-detail table thead {
  text-align: center;
  font-weight: 600;
  background-color: gray;
  color: white;
  text-shadow: 0 0 2px black;
}

div.s-detail table thead td span {
  font-size: 15px;
}

div.s-detail table tfoot {
  font-weight: 600;
  background-color: white;
}

div.s-detail div.detail-content {
  padding-bottom: 60px;
}

div.s-detail div.detail-content h3 {
  border-left: 5px black solid;
  padding-left: 5px;
  border-bottom: 1px black dotted;
}

@media screen and (max-width: 750px){
  div.s-detail table th,
  div.s-detail table td {
    padding: 10px;
    font-size: 16px;
    
  }

  div.s-detail table thead td span {
    font-size: 12px;
  }

}


