#mainMsg{
 background: url(../img/index/mainphoto.jpg) no-repeat top center;
 padding-top: 200px;
}
#mainMsg .text{
 background: url(../img/index/bg_msg.png) no-repeat top center;
 padding-top: 500px;
 margin-top: -50px;
}
#mainMsg .text .btn{
 padding: 280px 0px 100px;
}
#msgArea{
 max-width: 1920px;
 margin: 0 auto;
 text-align: center;
}
#msgArea img{
 width: 100%;
 height: auto;
}
#msgArea .msg1{

}
#msgArea .msg2{
 margin-top: -14%;
}
#msgArea .msg3{
 margin-top: 8px;
}
#msgArea .msg4{
 margin-top: -14%;
}
#msg1 .bg:before{
 background: url(../img/index/link1_bg.jpg) no-repeat center center;
 background-size: 120% auto;
}
#msg2 .bg:before{
 background: url(../img/index/link2_bg.jpg) no-repeat center center;
 background-size: 120% auto;
}
#msg3{
 margin-top: 5px;
}
#msg3 .bg:before{
 background: url(../img/index/link3_bg.jpg) no-repeat center center;
 background-size: 120% auto;
}
#msg4 .bg:before{
 background: url(../img/index/link4_bg.jpg) no-repeat center center;
 background-size: 120% auto;
}
.boxTop,.boxTop .bg:before{
 height: 40vw;
 max-height: 600px;
}
.boxTop{
 position: relative;
 overflow: hidden;
 max-width: 1920px;
 margin: 0 auto;
}
.boxTop .bg{
 position: absolute;
 left: 0px;
 top: -170px;
 width: 100%;
 height: 100%;
 transform: skewY(8deg);
 overflow: hidden;
 background: #ccc;
}
.boxTop .bg:before{
 position: absolute;
 left: 0px;
 top: 170px;
 display: block;
 content: "";
 width: 100%;
 height: 100%;
 transform: skewY(-8deg);
}
.boxTop .inner{
 position: relative;
 z-index: 2;
 height: 100%;
}
.boxTop .ttl{
 text-align: right;
 margin-top: 13%;
}
.boxTop .ttl img{
 width: 35%;
 height: auto;
}

.boxBtm,.boxBtm .bg:before{
 height: 40vw;
 max-height: 600px;
}
.boxBtm{
 position: relative;
 overflow: hidden;
 max-width: 1920px;
 margin: -335px auto 0px;
}
.boxBtm .bg{
 position: absolute;
 left: 0px;
 top: 170px;
 width: 100%;
 height: 100%;
 transform: skewY(8deg);
 overflow: hidden;
 background: #ccc;
}
.boxBtm .bg:before{
 position: absolute;
 left: 0px;
 top: -170px;
 display: block;
 content: "";
 width: 100%;
 transform: skewY(-8deg);
}
.boxBtm .inner{
 position: relative;
 z-index: 2;
 height: 100%;
}
.boxBtm .ttl{
 position: absolute;
 left: 0px;
 bottom: 10%;
 width: 35%;
}
.boxBtm .ttl img{
 width: 100%;
 height: auto;
}

.productsList{
 max-width: 800px;
 margin: 20px auto 0px;
 display: flex;
 flex-wrap: wrap;
}
.productsList li{
 position: relative;
 width: 44%;
 margin: 3%;
 height: 340px;
}
.productsList li a{
 position: relative;
 display: flex;
 height: 100%;
 background: rgba(0,0,34,0);
 color: #fff;
 text-align: center;
 justify-content: center;
 align-items: center;
 transition: .5s;
}
.productsList li a:before{
 display: block;
 content: "";
 position: absolute;
 width: 80%;
 height: 80%;
 top: 10%;
 left: 10%;
 border-top:solid 2px #fff;
 border-left:solid 2px #fff;
 box-sizing: border-box;
}
.productsList li a:after{
 display: block;
 content: "";
 position: absolute;
 width: 80%;
 height: 80%;
 bottom: 10%;
 right: 10%;
 border-right: solid 2px #fff;
 border-bottom: solid 2px #fff;
 box-sizing: border-box;
}
@keyframes productsHover {
 0% {
  width: 0%;
  height: 0%;
 }
 100% {
  width: 80%;
  height: 80%;
 }
}
.productsList li a:hover:before{
 animation-name: productsHover;
 animation-duration: 1s;
}
.productsList li a:hover:after{
 animation-name: productsHover;
 animation-duration: 1s;
}

.productsList li a:hover{
 background: rgba(0,0,34,0.45);
}
.productsList li a .btn span{
 position: relative;
 display: inline-block;
 background: #fff;
 border-radius: 3px;
 padding: 5px 30px;
 margin-top: 20px;
 color: #ec6126;
 font-size: 13px;
 transition: .5s;
}
.productsList li a .btn span:before{
 position: absolute;
 right: 15px;
 top: 38%;
 display: block;
 content: "";
 width: 5px;
 height: 5px;
 border-top: solid 2px #ec6126;
 border-right: solid 2px #ec6126;
 transform: rotate(45deg);
 transition: .5s;
}
.productsList li a:hover .btn span{
 background: #ec6126;
 color: #fff;
}
.productsList li a:hover .btn span:before{
 border-top: solid 2px #fff;
 border-right: solid 2px #fff;
}
.productsList li.products1{
 background: url(../img/index/cat1_bg.jpg) no-repeat center center;
}
.productsList li.products2{
 background: url(../img/index/cat2_bg.jpg) no-repeat center center;
}
.productsList li.products3{
 background: url(../img/index/cat3_bg.jpg) no-repeat center center;
}
.productsList li.products4{
 background: url(../img/index/cat4_bg.jpg) no-repeat center center;
}
#recruit{
 background: url("../img/index/member_20220318.png") no-repeat center center;
 height: 650px;
}
#recruit .btn{
 margin-top: 350px;
}
#map{
 height: 500px;
}

/*
===================================================
	sp
===================================================
*/
@media screen and (max-width: 960px) {
 #mainMsg h1{
  width: 70%;
 }
 #mainMsg h1 img {
  width: 55%;
  height: auto;
 }
 #mainMsg{
  background: url(../img/index/mainphoto.jpg) no-repeat top 52px center;
  background-size: 100% auto;
  padding-top: 100px;
 }
 #mainMsg .text{
  background: url(../img/index/bg_msg.png) no-repeat top center;
  background-size: 100% auto;
  padding-top: 24vw;
  margin-top: 0px;
  font-size: 80%;
 }
 #mainMsg .text .subText{
  color: #222;
  margin-top: 12vw;
  text-shadow:1px 1px 0px rgba(255,255,255,1);
 }
 #mainMsg .text .btn{
  padding: 20px 0px 50px;
 }
 #msgArea .msg3{
  margin-top: 3px;
 }
 #msg1 .bg:before{
  background: url(../img/index/link1_bg.jpg) no-repeat center center;
  background-size: 120% auto;
 }
 #msg2 .bg:before{
  background: url(../img/index/link2_bg.jpg) no-repeat center center;
  background-size: 120% auto;
 }
 #msg3{
  margin-top: 6px;
 }
 #msg3 .bg:before{
  background: url(../img/index/link3_bg.jpg) no-repeat center center;
  background-size: 120% auto;
 }
 #msg4 .bg:before{
  background: url(../img/index/link4_bg.jpg) no-repeat center center;
  background-size: 120% auto;
 }
 .boxTop .bg{
  position: absolute;
  left: 0px;
  top: -10vw;
 }
 .boxTop .bg:before{
  position: absolute;
  left: 0px;
  top: 10vw;
  width: 100%;
 }
 .boxTop .ttl{
  text-align: right;
  margin-top: 10%;
 }
 .boxTop .ttl img{
  width: 55%;
  max-width: 400px;
  height: auto;
 }

 .boxBtm,.boxBtm .bg:before{
  height: 40vw;
  max-height: 600px;
 }
 .boxBtm{
  position: relative;
  overflow: hidden;
  max-width: 1920px;
  margin: -19vw auto 0px;
 }
 .boxBtm .bg{
  position: absolute;
  left: 0px;
  top: 10vw;
 }
 .boxBtm .bg:before{
  position: absolute;
  left: 0px;
  top: -10vw;
 }
 .boxBtm .inner{
  position: relative;
  z-index: 2;
  height: 100%;
 }
 .boxBtm .ttl{
  position: absolute;
  left: 0px;
  bottom: 16%;
  width: 55%;
  max-width: 400px;
 }

 .productsList{
  max-width: 800px;
  margin: 30px auto 0px;
  display: flex;
  flex-wrap: wrap;
 }
 .productsList li{
  position: relative;
  width: 100%;
  margin: 0px;
  height: 90vw;
 }
 .productsList li a{
  position: relative;
  display: flex;
  height: 100%;
  background: rgba(0,0,34,0);
  color: #fff;
  text-align: center;
  justify-content: center;
  align-items: center;
  transition: .5s;
 }
 .productsList li a:before{
  display: block;
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-top:solid 2px #fff;
  border-left:solid 2px #fff;
  box-sizing: border-box;
 }
 .productsList li a:after{
  display: block;
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  bottom: 10%;
  right: 10%;
  border-right: solid 2px #fff;
  border-bottom: solid 2px #fff;
  box-sizing: border-box;
 }

 .productsList li a:hover{
  background: rgba(0,0,34,0.45);
 }
 .productsList li a .btn span{
  position: relative;
  display: inline-block;
  background: #fff;
  border-radius: 3px;
  padding: 5px 30px;
  margin-top: 20px;
  color: #ec6126;
  font-size: 13px;
  transition: .5s;
 }
 .productsList li a .btn span:before{
  position: absolute;
  right: 15px;
  top: 38%;
  display: block;
  content: "";
  width: 5px;
  height: 5px;
  border-top: solid 2px #ec6126;
  border-right: solid 2px #ec6126;
  transform: rotate(45deg);
  transition: .5s;
 }
 .productsList li a:hover .btn span{
  background: #ec6126;
  color: #fff;
 }
 .productsList li a:hover .btn span:before{
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
 }
 .productsList li.products1{
  background: url(../img/index/cat1_bg.jpg) no-repeat;
  background-size: 100% 100%;
 }
 .productsList li.products2{
  background: url(../img/index/cat2_bg.jpg) no-repeat;
  background-size: 100% 100%;
 }
 .productsList li.products3{
  background: url(../img/index/cat3_bg.jpg) no-repeat;
  background-size: 100% 100%;
 }
 .productsList li.products4{
  background: url(../img/index/cat4_bg.jpg) no-repeat;
  background-size: 100% 100%;
 }
 #recruit{
  background: url("../img/index/member_20220318.png") no-repeat center center;
  background-size: cover;
  height: 80vw;
 }
 #recruit .btn{
  margin-top: 32vw;
 }
 #map{
  height: 400px;
 }
}