@charset "utf-8";

*,
::before,
::after{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.first-view{
  height: calc(110vh - 110px);
  background-image: url(../images/ヘッダー写真/TOP【長方形】.JPG);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.first-view-text{
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 10px #4b2c14;
}

.first-view-text h1{
  font-size: 40px;
  line-height: 72px;
}

.main {
 color: #000000;
 background-color: #ffffff;
}

.lead {
  color: #622a1e;
  background-color: #ffffff;
  padding-top: 50px;
  padding-bottom:  50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

 .lead-logo {
  width: 350px;
  display: block;
  margin-top:  20px;
 }

 .flow {
  padding-top: 60px;
  padding-bottom: 60px;
  display: flex;
}

.kora-jyu{
  width: 500px;
}

.flow-text{
  flex-shrink: 0;
  margin-top: 30px;

}

.flow h2{
  font-weight: bold;
  line-height: 50px;

}

.flow p{
  line-height: 30px;
  padding-top: 20px;
  width: 660px;
  font-size: 18px;
}

.flow h6{
  margin-top: 20px;
  padding-top: 20px;
  width: 600px;
  font-size: 14px;
}

@media (max-width: 1220px) {
  
  .first-view{
    height: calc(80vh - 100px);
    background-image: url(../images/ヘッダー写真/TOP【長方形】.JPG);
    align-items: center;
  }

}



@media (max-width: 1000px) {
  .main{
    
    width: auto;
  }
  .first-view{
    height: calc(80vh - 100px);
    background-image: url(../images/ヘッダー写真/TOP【正方形】.PNG);
    align-items: center;
  }
  
  .flow{
    flex-direction: column;

  }
  
  .flow-text{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 13px;
    width: 300px;
  }

  .flow p{
    width: 300px;
  }
  .flow h6{
    width: 300px;
   }
  
  .kora-jyu{
    width: 350px;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
  } 
  


}


