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



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

header{
  position: relative;
  text-align: center;
}

header > h1{
  display: inline-block;
  position: absolute;
  top: 260px;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  max-width: 95%;
}

header > h1 img{
  width: 100%;
  max-width: 737px;
}

.scroll{
  display: block;
  position: absolute;
  width: 36px;
  height: 36px;
  bottom: 70px;
  right: 0;
  left: 0;
  margin: auto;
}

.titleBox{
  text-align: left;
  margin-bottom: 20px;
}

.titleBox hr{
  display: inline-block;
  border: none;
  width: 100px;
  height: 2px;
  background-color: #db002c;
  margin-bottom: 15px;
}

.titleBox h2{
  max-width: 100%;
  margin-bottom: 15px;
  font-size: 38px;
  letter-spacing: 1px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

.titleBox h2 img{
  max-width: 100%;
}

.titleBox h3{
  font-size: 18px;
  letter-spacing: 1px;
}

.btn{
  display: inline-block;
  position: relative;
  display: flex;
  text-align: center;
  width: 100%;
  max-width: 200px;
  font-size: 20px;
  letter-spacing: 1px;
  padding: 15px 20px;
  color: #db002c;
  border: 2px solid #db002c;
  font-family: 'Oswald', sans-serif;
}

.btn::after{
  content: "→";
  font-size: 22px;
  position: absolute;
  top: 14px;
  right: 15px;
  color: #db002c;
}

@media screen and (max-width: 600px){
  .titleBox h2{
    font-size: 30px;
    margin-bottom: 7px;
  }
  .titleBox h3{
    font-size: 16px;
    line-height: 22px;
  }
  .titleBox h3 br{
    display: none;
  }
  
  .btn{
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 15px 20px;
  }
  
  .btn::after{
    top: 5px;
  }
  
  .btn{
    display: inline-block;
    font-size: 16px;
  }

  .btn::after{
    content: "→";
    font-size: 20px;
    position: absolute;
    top: 14px;
    right: 15px;
    color: #db002c;
  }
}

/*==============================
メイン
==============================*/

#newsWrap{
  padding: 100px 20px;
  text-align: center;
}

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

#newsWrap > div .titleBox{
  width: 25%;
}

#newsWrap > div ul{
  width: 70%;
}

#newsWrap > div ul li{
  display: flex;
  padding: 10px 0;
  border-top: 1px solid #ccc;
}

#newsWrap > div ul li:last-of-type{
  border-bottom: 1px solid #ccc;
}

#newsWrap > div ul li span{
  color: #db002c;
  font-size: 14px;
  margin-right: 10px;
  letter-spacing: 0px;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

#newsWrap > div ul li a{
  color: #000;
}

#newsWrap > .btn{
  margin: 0 auto;
}

#serviceWrap{
  padding: 200px 20px;
  background-image: url("../img/serviceBack.png");
  background-size: cover;
  background-position: center center;
  text-align: left;
}

#serviceWrap > div{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

#serviceWrap > div > div{
  width: 48%;
  text-align: left;
}

#serviceWrap .titleBox{
  margin-bottom: 10px;
}

#serviceWrap .titleBox,
#serviceWrap p{  
  max-width: 500px;
}

#serviceWrap .titleBox hr{
  background-color: #fff;
}

#serviceWrap .titleBox h2{
  color: #fff;
}

#serviceWrap .titleBox h3,
#serviceWrap p{
  color: #fff;
}

#serviceWrap p{
  margin-bottom: 20px;
}

#serviceWrap .btn{
  width: 220px;
  margin: 0;
  color: #fff;
  border: 2px solid #fff;
}

#serviceWrap .btn::after{
  color: #fff;
}

#companyWrap{
  width: calc(100% - 40px);
  max-width: 1000px;
  padding: 50px 0;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#companyWrap > img{
  width: 48%;
  align-self: flex-start;
}

#companyWrap > div{
  width: 48%;
}

#companyWrap > div p{
  margin-bottom: 20px
}

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

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

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

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

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

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

@media screen and (max-width: 600px){
  .scroll{
    display: none;
  }
  
  header > h1{
    top: 120px;
  }
  
  #newsWrap{
    padding: 20px 20px 50px;
  }
  
  #newsWrap > div{
    display: block;
    text-align: center;
  }
  
  #newsWrap > div .titleBox{
    width: 100%;
    text-align: center;
  }
  
  #newsWrap > div .titleBox hr{
    display: none;
  }
  
  #newsWrap > div ul{
    width: 100%;
  }
  
  #serviceWrap{
    padding: 70px 20px;
    background-image: url("../img/serviceBacksp.png");
    background-position: bottom center;
  }

  #serviceWrap > div{
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
  }

  #serviceWrap > div > div{
    width: 100%;
    text-align: center;
  }
  
  #serviceWrap .titleBox{
    width: 100%;
    max-width: 600px;
    left: auto;
    text-align: center;
  }
  
  #serviceWrap .titleBox hr{
    display: none;
  }
  
  #serviceWrap p{
    width: 100%;
    max-width: 600px;
    left: auto;
    margin-bottom: 120px;
    text-align: justify;
  }
  
  #serviceWrap .btn{
    left: auto;
    margin: 0 auto;
  }
  
  #companyWrap{
    display: block;
  }
  
  #companyWrap > img{
    width: 100%;
    margin-bottom: 10px;
  }
  
  #companyWrap > div{
    width: 100%;
    text-align: center;
  }
  
  #companyWrap > div .titleBox{
    text-align: center;
  }
  
  #companyWrap > div .titleBox hr{
    display: none;
  }
  
  #companyWrap > div > p{
    text-align: justify;
  }
}

@media screen and (max-width: 414px){
  
  header > h1{
    top: 120px;
  }
}