@charset "utf-8";

.first-view {
  height: calc(100vh - 110px);
  background-image: url(../images/index/bg-main.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: flex-start;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
}

.first-view-text {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-bottom: 80px;
  color: #000000;
  font-weight: normal;
  text-shadow: 1px 1px 10px #ffffff;
}

.first-view-text h2 {
  font-family: 'montserrat'sans-serif;
  font-size: 26px;
  margin-top: 60px;
}

.lead {
  display: flex;
  width: auto;
  height: auto;
  max-width: 100%;
  align-items: center;
  text-align: center;
  justify-content:center;
  margin: 20px;
  padding: 0px;
}

.lead img {
	width: 40px;
	height: auto;
	align-items: center;
}

.lead h2 {
  font-size: 26px;
  font-weight: bold;
}

.lead p {
  font-size: 20px;
  margin-top: 10px;
  margin-right: 20px;
  margin-left: 20px;
  margin-bottom: 0;
  padding: 0px;
}

.feature {
  display: flex;
  justify-content: space-between;
  width: 930px;
  max-width: 90%;
  margin-top: 75px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

.feature img {
  width: 360px;
  margin-left: 20px;
}

.feature text {
  max-width: 500px;
  margin-right: 40px;
}

.reverse {
  flex-direction: row-reverse;
}

.reverse .feature-text {
  margin-left: 40px;
  margin-right: 0px;
}

.feature-text h2 {
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
}

.feature-text p {
	font-size: 18px;
	line-height: 28px;
  margin-top: 25px;
}

@media (max-width: 900px) {
  .first-view {
    height: calc(100vh - 50px);
    background-image: url(../images/index/bg-main-sp.jpg);
    align-items: flex-start;
  }

  .first-view-text {
    padding-top: 0px;
    padding-left: 30px;
  }

  .first-view-text h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .first-view-text p {
    font-size: 14px;
    line-height: 24px;  }

  .lead {
    width: auto;
    height: auto;
    max-width: 100%;
    align-items: center;
    text-align: center;
    justify-content:center;
    margin: 10px;
    padding: 0px;
  }
  
  .lead h2 {
    font-size: 18px;
    line-height: 24px;
    vertical-align: middle;
  }
  
  .lead p {
    width: auto;
    height: auto;
    font-size: 18px;
    line-height: 26px;
    margin: 20 0 20 0px;
    text-align: left;
  }

  .feature {
    display: block;
    width: 500px;
    height: auto;
    text-align: left;
    margin: 45 auto 20 auto;
  }
  
  .feature-text {
    font-size: 18px;
    margin: 20 auto 20 0;
  }
  
  .reverse .feature-text {
    margin-left: 0px;
  }
	
  .feature img {
    width: 100%;
    height: auto;
    margin-top: 25px;
    margin-left: 0;
  }
}