@charset "utf-8";

.birth {
  margin-bottom: 55px;
}

.feature {
  display: flex;
  justify-content: space-between;  /*横幅いっぱいに配置*/
  width: 930px;
  max-width: 90%;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;  /*p248 長文でも画像の高さを変えない*/
}

.feature img {
  width: 360px;
}

.feature-text {
  max-width: 500px;
  margin-right: 40px;
}

.reverse {
  flex-direction: row-reverse;  /*横並びで逆順に並べる*/
}

.reverse .feature-text {
  margin-left: 40px;
  margin-right: 0;
}

.feature-text h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.feature-text h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #5a331c;
  margin-top: 20px;
}

.feature-text p {
  font-size: 15px;
  line-height: 28px;
  margin-top: 25px;
}

.appeal {
  width: 930px;
  max-width: 90%;
  background-color: #fbf5e5;
  padding: 50px 60px;
  margin-top: 55px;
  margin-left: auto;
  margin-right: auto;
}

.appeal img {
  display: block;
  width: 100%;
  height: 456px;
  margin-top: 30px;
}

.appeal p {
  font-size: 15px;
  line-height: 28px;
  margin-top: 20px;
}

.footer {
  margin-top: 100px;
}

@media (max-width: 800px) {
  .feature {
    flex-direction: column;
    gap: 25px;
    width: 100%;
    margin-top: 45px;
  }

  .reverse {
    flex-direction: column;
  }

  .feature-text {
    max-width: 100%;
    margin: 0;
  }

  .feature img {
    width: 100%;
    height: auto;
  }

  .appeal {
    width: 100%;
    padding: 30px 20px;
  }

  .appeal img {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
}
