@charset "utf-8";
/* CSS Document */



/*==============================
共通
==============================*/

.titleBox{
  text-align: center;
  margin-bottom: 30px;
}

.titleBox h2{
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

.titleBox hr{
  display: block;
  width: 100px;
  margin: 15px auto;
  height: 4px;
  background:linear-gradient(90deg,#000000 0%,#000000 50%,#1478dc 50%,#1478dc 100%);
}

.titleBox h2 span{
  color: #1478dc;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

@media screen and (max-width: 600px){
  .titleBox h2{
    font-size: 20px;
    letter-spacing: 2px;
  }
  
  .titleBox hr{
    margin: 10px auto;
  }
  
  .titleBox h3{
    font-size: 20px;
    letter-spacing: 1px;
  }
}

/*==============================
メイン
==============================*/
header{
  position: relative;
  width: 100%;
  height: 660px;
  background-image: url("../img/headBack.png");
  background-size: cover;
  background-position: center center;
}

header > img{
  position: absolute;
  top: 200px;
  left: 200px;
}

#advantageWrap{
  padding: 50px 20px;
}

#advantageWrap > ul{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#advantageWrap > ul li{
  width: 22%;
  text-align: center;
}

#advantageWrap > ul li img{
  margin-bottom: 10px;
}

#advantageWrap > ul li h3{
  margin-bottom: 10px;
}

#advantageWrap > ul li p{
  text-align: justify;
}

#serviceWrap{
  display: flex;
}

#serviceWrap > div:first-of-type{
  width: 50%;
  background-image: url("../img/serviceImg01.png");
  background-size: cover;
  background-position: center center;
}

.serviceBox{
  width: 50%;
  padding: 100px 20px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.serviceBox h3{
  width: 100%;
  max-width: 400px;
  margin: 0 auto 10px; 
  text-align: center;
}

.serviceBox p{
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px; 
  text-align: justify;
}

.serviceBox a.linkBtn{
  max-width: 400px;
  margin: 0 auto;
}

#infoWrap{
  display: flex;
  justify-content: center;
  padding: 100px 20px;
}

.companyBox{
  width: 100%;
  max-width: calc(1000px - 510px);
  margin-right: 30px;
}

.companyBox img{
  width: 100%;
  margin-bottom: 10px;
}

.companyBox p{
  margin-bottom: 10px;
}

.facebookBox{
  width: 100%;
  max-width: 490px;
}

#linkWrap{
  padding: 0 20px 50px;
}

#linkWrap > div:first-of-type{
  display: flex;
  align-items: flex-end;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

#linkWrap > div:first-of-type hr{
  display: block;
  width: 20px;
  height: 4px;
  margin-bottom: 18px;
  margin-right: 5px;
  background:linear-gradient(90deg,#000000 0%,#000000 50%,#1478dc 50%,#1478dc 100%);  
}

#linkWrap > div:first-of-type h2{
  font-size: 23px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  margin-right: 5px;
}

#linkWrap > div:first-of-type h2 span{
  color: #1478dc;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

#linkWrap > div:first-of-type h3{
  font-size: 15px;
}


#linkWrap > div:last-of-type{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#linkWrap > div:last-of-type a{
  display: block;
  width: 49%;
}

#linkWrap > div:last-of-type a img{
  width: 100%;
}

/*==============================
レスポンシブ
==============================*/

@media screen and (max-width: 1400px) {
}

@media screen and (max-width: 1300px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1000px) {
  header{
    height: 400px;
  }
  
  header > img{
    left: 20px;
    top: 70px;
    max-width: 70%;
  }
}

@media screen and (max-width: 800px) {
  #advantageWrap > ul{
    flex-wrap: wrap;
    max-width: 600px;
  }
  
  #advantageWrap > ul li{
    width: 48%;
  }
  
  #serviceWrap{
    flex-wrap: wrap;
  }
  
  #serviceWrap > div:first-of-type,.serviceBox{
    width: 100%;
  }
  
  #serviceWrap > div:first-of-type{
    height: 340px;
  }
  
  .serviceBox{
    padding: 50px 20px;
  }
  
  #infoWrap{
    flex-wrap: wrap;
  }
  
  .companyBox{
    margin-right: 0;
    margin-bottom: 30px;
  }
  
  #linkWrap > div:first-of-type,
  #linkWrap > div:last-of-type{
    max-width: 400px;
  }
  
  #linkWrap > div:last-of-type{
    flex-wrap: wrap;
  }
  
  #linkWrap > div:last-of-type a{
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 600px){
  header{
    height: 260px;
  }
  
  header > img{
    left: 20px;
    top: 70px;
    max-width: 90%;
  }
  #advantageWrap > ul{
    flex-wrap: wrap;
    max-width: 400px;
  }
  
  #advantageWrap > ul li img{
    width: 80%;
  }
}

@media screen and (max-width: 414px){
}