@charset "UTF-8";
/*基本の青*/
/*薄いグレー*/
/*薄いグレー*/
/*スマホメニューの色*/
/*スマホメニューの色*/
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.main {
  margin-top: 80px;
}

#h2box {
  height: 320px;
  margin-bottom: 107px;
}
#h2box .h2boxinner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: -ms-grid;
  display: grid;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #fff;
}
#h2box h2 {
  text-align: left;
  font-size: 60px;
  line-height: 1;
  position: relative;
  font-weight: bold;
}
#h2box h2:after {
  content: "";
  width: 583px;
  height: 5px;
  background: -webkit-gradient(linear, left top, right top, from(rgb(255, 255, 255)), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to right, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  bottom: -10px;
  left: 0;
}
@media only screen and (max-width: 842px) {
  #h2box h2:after {
    width: 70%;
  }
}
#h2box p {
  text-align: left;
  margin-top: 20px;
  font-size: 20px;
  font-family: "Impact", sans-serif;
  letter-spacing: 1.2px;
}

.h3box {
  margin-bottom: 65px;
}
.h3box h3 {
  text-align: center;
  font-family: "Impact", sans-serif;
  font-size: 65px;
  line-height: 1;
}
.h3box .h3txt {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}

.whitebox {
  background-color: #fff;
  padding: 40px;
  -webkit-box-shadow: 0px 0px 16px -6px rgba(0, 0, 0, 0.6);
          box-shadow: 0px 0px 16px -6px rgba(0, 0, 0, 0.6);
}

#company #h2box {
  background: url(../images/company/h2bg.webp) center center no-repeat;
  background-size: cover;
}
#company .whitebox dl {
  text-align: left;
}
#company .whitebox dl dt {
  width: 9em;
  float: left;
}
@media only screen and (max-width: 842px) {
  #company .whitebox dl dt {
    width: 100%;
    float: none;
  }
}
#company .whitebox dl dd {
  padding-left: 12em;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px #000 solid;
  position: relative;
}
@media only screen and (max-width: 842px) {
  #company .whitebox dl dd {
    padding-left: 0;
  }
}
#company .whitebox dl dd:after {
  content: "";
  width: 9em;
  height: 3px;
  background-color: #000;
  position: absolute;
  left: 0;
  bottom: -2px;
}
#company #section03 .mapbox {
  margin-bottom: 40px;
}
#company #section03 .mapbox iframe {
  width: 100%;
  height: 500px;
}
#company #section03 .adressboxover {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}
@media only screen and (max-width: 842px) {
  #company #section03 .adressboxover {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
#company #section03 .adressboxover .adressbox {
  text-align: left;
}
#company #section03 .adressboxover .maplinkbox .btnbox {
  margin: 0 0 0 auto;
}

#service #h2box {
  background: url(../images/service/h2bg.webp) center center no-repeat;
  background-size: cover;
}
#service .itemboxover {
  margin-top: 60px;
}
#service .itemboxover h4 {
  font-weight: bold;
}
#service .itemboxover .txtbox p {
  font-size: 16px;
}
#service .itemboxover .imgbox {
  position: relative;
}
#service .itemboxover .imgbox .numberbox {
  position: absolute;
  top: -20px;
  font-size: 65px;
  font-family: "Impact", sans-serif;
  line-height: 1;
}
#service .itemboxover.item01, #service .itemboxover.item03 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 0.6fr 60px 1fr;
  grid-template-columns: 0.6fr 1fr;
  gap: 20px 60px;
}
#service .itemboxover.item01 .imgbox .numberbox, #service .itemboxover.item03 .imgbox .numberbox {
  left: 0;
}
#service .itemboxover.item02, #service .itemboxover.item04 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 60px 0.6fr;
  grid-template-columns: 1fr 0.6fr;
  gap: 20px 60px;
}
#service .itemboxover.item02 .imgbox, #service .itemboxover.item04 .imgbox {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
}
#service .itemboxover.item02 .imgbox .numberbox, #service .itemboxover.item04 .imgbox .numberbox {
  right: 0;
}
#service .itemboxover.item02 .txtbox, #service .itemboxover.item04 .txtbox {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}
#service .itemboxover.item02 .txtbox h4, #service .itemboxover.item02 .txtbox p, #service .itemboxover.item04 .txtbox h4, #service .itemboxover.item04 .txtbox p {
  text-align: right;
}

#recruit #h2box {
  background: url(../images/recruit/h2bg.webp) center center no-repeat;
  background-size: cover;
}
#recruit #section01 .h3box h3 {
  font-family: YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
}
#recruit #section01 .itemboxover1 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 30px 0.6fr;
  grid-template-columns: 1fr 0.6fr;
  gap: 20px 30px;
}
#recruit .whitebox dl {
  text-align: left;
}
#recruit .whitebox dl dt {
  width: 9em;
  float: left;
}
@media only screen and (max-width: 842px) {
  #recruit .whitebox dl dt {
    width: 100%;
    float: none;
  }
}
#recruit .whitebox dl dd {
  padding-left: 12em;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px #000 solid;
  position: relative;
}
@media only screen and (max-width: 842px) {
  #recruit .whitebox dl dd {
    padding-left: 0;
  }
}
#recruit .whitebox dl dd:after {
  content: "";
  width: 9em;
  height: 3px;
  background-color: #000;
  position: absolute;
  left: 0;
  bottom: -2px;
}
#recruit #section02 .btnbox {
  margin: 60px auto 0 auto;
}

#contact #h2box {
  background: url(../images/contact/h2bg.webp) center center no-repeat;
  background-size: cover;
}
#contact #section01 .whitebox {
  margin-top: 40px;
}
#contact #section01 .whitebox p {
  text-align: center;
}
#contact #section01 .whitebox p.telnumber {
  font-size: 50px;
  margin-bottom: 5px;
  line-height: 1.2;
}
#contact #section01 .whitebox p.telnumber img {
  margin-right: 10px;
}
#contact .whitebox {
  margin-bottom: 60px;
}
#contact .whitebox dl {
  text-align: left;
}
#contact .whitebox dl dt {
  width: 9em;
  float: left;
}
@media only screen and (max-width: 842px) {
  #contact .whitebox dl dt {
    width: 100%;
    float: none;
  }
}
#contact .whitebox dl dd {
  padding-left: 12em;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px #000 solid;
  position: relative;
}
@media only screen and (max-width: 842px) {
  #contact .whitebox dl dd {
    padding-left: 0;
  }
}
#contact .whitebox dl dd:after {
  content: "";
  width: 9em;
  height: 3px;
  background-color: #000;
  position: absolute;
  left: 0;
  bottom: -2px;
}
#contact .btnbox {
  text-align: center;
  margin: 0 auto;
}
#contact .error {
  display: block;
  color: #f00;
}
#contact .centerbtnboxover {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px 30px;
}
@media screen and (max-width: 842px) {
  #h2box {
    margin-bottom: 20px;
  }
  #h2box .h2boxinner {
    width: 90%;
  }
  #h2box h2 {
    font-size: 40px;
    line-height: 1.4;
  }
  .h3box h3 {
    font-size: 40px;
  }
  #service .itemboxover.item01, #service .itemboxover.item03, #service .itemboxover.item02, #service .itemboxover.item04 {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  #service .itemboxover.item01 .imgbox, #service .itemboxover.item03 .imgbox, #service .itemboxover.item02 .imgbox, #service .itemboxover.item04 .imgbox {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  #service .itemboxover.item01 .txtbox, #service .itemboxover.item03 .txtbox, #service .itemboxover.item02 .txtbox, #service .itemboxover.item04 .txtbox {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
}