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



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

.titleBox{
  margin-bottom: 50px;
  text-align: center;
}
.titleBox h2{
  font-size: 32px;
  line-height: 32px;
  letter-spacing: 0;
  margin-bottom: 10px;
  color: #ca151f;
}

.titleBox h3{
  font-size: 16px;
  line-height: 16px;
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 0;
}

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

/*==============================
メイン
==============================*/
#topWrap{
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  border-bottom: 100px solid #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#topWrap > div{
  position: relative;
  background-size: cover;
  background-position: center center;
  background-image: url("../img/topBack.jpg");
  width: calc(100% - 100px);
  height: calc(100vh - 200px);
  border-radius: 0 0 0 100px;
}

#topWrap > div h2{
  position: absolute;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 0 5px rgba(0,0,0,1);
  left: 100px;
  bottom: 100px;
}

#topWrap > img{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  margin: auto;
}

#aboutWrap{
  padding-bottom: 100px;
}

#aboutWrap > div{
  display: flex;
  justify-content: space-between;
}

#aboutWrap > div > img{
  position: relative;
  align-self: center;
  left: -10px;
  width: 45%;
  border-radius: 0 100px 100px 0;
  box-shadow: 10px 10px 0 0 #a5cbe0;
}

#aboutWrap > div > div{
  width: 50%;
  align-self: center;
  padding-right: 50px;
}

#aboutWrap > div > div h3{
  margin-bottom: 10px;
}

#aboutWrap > div > div h3::first-letter{
  color: #6babce;
}

#aboutWrap > div > div h2{
  color: #6babce;
  margin-bottom: 30px;
}

#aboutWrap > div > div p{
  margin-bottom: 30px;
}

#serviceWrap{
  padding: 100px 20px;
  background-color: #e9f7ff;
  text-align: center;
}

#serviceWrap h3{
  margin-bottom: 10px;
}

#serviceWrap h3::first-letter{
  color: #6babce;
}

#serviceWrap h2{
  color: #6babce;
  margin-bottom: 30px;
}

.serviceBox{
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.serviceBox > a{
  width: 32%;
  overflow: hidden;
  border-radius: 30px;
}

.serviceBox > a h4{
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  padding: 20px 10px;
}

.serviceBox > a img{
  width: 100%;
}

.serviceBox > a:nth-of-type(1){
  background-color: #da8a8a;
  border: 5px solid #da8a8a;
}

.serviceBox > a:nth-of-type(2){
  background-color: #6babce;
  border: 5px solid #6babce;
}

.serviceBox > a:nth-of-type(3){
  background-color: #7ab46f;
  border: 5px solid #7ab46f;
}

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

@media screen and (max-width: 1600px) {
}
@media screen and (max-width: 1400px) {
  .serviceBox > a h4{
    font-size: 18px;
  }
}

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

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

@media screen and (max-width: 1000px) {
  #topWrap{
    height: 50vh;
    border-bottom: 50px solid #fff;
  }
  
  #topWrap > div{
    width: calc(100% - 50px);
    height: calc(50vh - 50px);
    border-radius: 0 0 0 50px;
  }
  
  #topWrap > img{
    display: none;
  }
  
  #topWrap > div h2{
    left: 50px;
    bottom: 50px;
    font-size: 30px;
    line-height: 40px;
  }
  
  .serviceBox{
    width: 100%;
    max-width: 400px;
    display: block;
  }
  
  .serviceBox > a{
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 800px) {
  
  #topWrap{
    height: 30vh;
    border-bottom: 20px solid #fff;
  }
  
  #topWrap > div{
    background-position: center right;
    width: calc(100% - 20px);
    height: calc(30vh - 20px);
    border-radius: 0 0 0 20px;
  }
  
  #topWrap > div h2{
    left: auto;
    right: 20px;
    bottom: 20px;
    text-align: right;
    font-size: 20px;
    line-height: 30px;
  }
  
  #aboutWrap{
    padding: 50px 0;
  }
  
  #aboutWrap > div{
    display: block;
  }
  
  #aboutWrap > div > img{
    width: calc(100% - 30px);
    margin-bottom: 30px;
  }
  
  #aboutWrap > div > div{
    width: 100%;
    padding: 0 20px;
  }
  
  #aboutWrap .linkBtn{
    text-align: center;
    width: 100%;
  }
  
  #serviceWrap{
    padding: 50px 20px;
  }
  
  .serviceBox > a h4{
    padding: 10px 10px 12px;
  }
}

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

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