@import url(common.css);
main h2 {
  font-size: 40px;
  background-image: url(../img/since1963.svg);
  background-repeat: no-repeat;
  background-position: bottom;
  padding-bottom: 57px;
  padding-top: 67px;
  margin-bottom: 67px;
}

main div.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 67px;
  margin-bottom: 67px;
}

main section {
  padding-bottom: 44px;
  padding-top: 44px;
  border: 2px solid #4a4a4a;
  flex-basis: 48.6%;
  padding-left: 30px;
  padding-right: 30px;
}

main section img {
  margin-bottom: 22px;
}

main section h3 {
  font-size: 24px;
  font-weight: bold;
  color: #54410c;
  background-image: url(../img/line.svg);
  background-repeat: no-repeat;
  background-position: bottom;
  padding-bottom: 48px;
  margin-bottom: 23px;
}

main section p.shoukai {
  font-size: 18px;
  text-align: left;
}

main section p.price {
  text-align: center;
  font-size: 24px;
  color: #54410c;
  padding-bottom: 19px;
}

main section p a {
  background-color: #6b5311;
  color: #fff;
  font-size: 18px;
  padding: 16.5px 0;
  display: block;
  max-width: 350px;
  margin: 0 auto;
  background-image: url(../img/yajirshi.svg);
  background-repeat: no-repeat;
  background-size: 16px 14px;
  background-position: right 24px center;
}

main section p a:hover {
  opacity: 0.7;
}
/* レスポンシブ */
@media (max-width: 767px) {
  main div.flex {
    display: block;
  }
  main section {
    margin-bottom: 67px;
  }
}
