.headbox {
  border-top: 10px solid #00acca;
}

.head {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.head .logo {
  float: left;
  width: 50%;
  display: flex;
  align-items: flex-end;
}

.head h1 {
  width: 260px;
}
.head h1 img {
  width: 100%;
}
.head p {
  margin-left: 20px;
  font-weight: bold;
  letter-spacing: 0;
}

.head h4 {
  width: 50%;
  float: right;
  text-align: right;
  color: #00acca;
  font-size: 180%;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  padding-top: 15px;
}

.head h4 span {
  font-size: 50%;
}

.mail-btn {
  margin-left: 15px;
  padding-top: 3px;
  float: right;
  display: block;
  width: 23px;
}

.menu {
  border-top: 2px solid #e0e0e0;
}

.menu ul {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  background-image: url(../img/line-m.gif);
  background-repeat: no-repeat;
  background-position: right;
}

.menu ul li {
  float: left;
  /* width: 16.66%; */
  width: 20%;
  text-align: center;
  background-image: url(../img/line-m.gif);
  background-repeat: no-repeat;
  background-position: left;
}

.menu ul li a {
  display: block;
  font-size: 120%;
  letter-spacing: 0.2em;
  font-weight: bold;
  line-height: 1.5;
  padding-top: 20px;
  padding-bottom: 20px;
}

.menu ul li a:hover {
  color: #00acca;
  border-top: 2px solid #00acca;
  margin-top: -2px;
}

.slide {
  background-image: url(../img/bg.gif);
  background-repeat: no-repeat;
  background-position: center top;
  position: relative;
}

.cati {
  position: absolute;
  left: 10%;
  z-index: 100;
  padding-top: 130px;
}

.cati h4 {
  font-size: 500%;
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3",
    "Hiragino Mincho Pro", serif;
  color: #ffffff;
  line-height: 1.3;
  font-weight: bold;
  text-shadow: 1px 1px 2px black;
  margin-bottom: 30px;
}

.cati h4 span {
  font-size: 30%;
  letter-spacing: 0.2em;
}

.cati h2 {
  font-size: 120%;
  line-height: 2;
}

.cati h2 span {
  background-color: rgba(51, 51, 51, 0.6);
  color: #ffffff;
  padding-left: 2px;
}

.req-imgbox {
  box-sizing: border-box;
  padding-top: 50px;
  width: 77%;
  float: right;
}

.req-imgbox li {
  background-size: cover;
  background-position: center;
  height: 550px;
}

.sl01 {
  background-image: url(../img/top01-02.jpg);
}
.sl02 {
  background-image: url(../img/top02.jpg);
}
.sl03 {
  background-image: url(../img/top03.jpg);
}

.sphead {
  display: none;
}

@media screen and (max-width: 800px) {
  .sphead {
    display: block;
  }
  .head {
    width: 100%;
    box-sizing: border-box;
    padding: 5% 10px;
    position: inherit;
    height: auto;
  }
  .head h4 {
    display: none;
  }
  .head .logo {
    float: none;
    width: 100%;
    display: inherit;
  }
  .menu {
    display: none;
  }
  .head h1 {
    width: 230px;
  }
  .head p {
    margin-left: 0px;
    margin-top: 10px;
  }

  .req-imgbox {
    box-sizing: border-box;
    padding-top: 10px;
    width: 100%;
    float: none;
  }
  .cati {
    position: inherit;
    box-sizing: border-box;
    left: 0;
    padding: 5%;
  }

  .cati h4 {
    font-size: 300%;
    margin-bottom: 10px;
    text-shadow: none;
  }
  .cati h2 span {
    background-color: rgba(51, 51, 51, 0);
    padding-left: 0px;
  }
  .cati h2 {
    font-size: 100%;
    line-height: 1.5;
  }
  .req-imgbox li {
    height: 300px;
  }
}
