@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap");
.sub_main {
  background: url(./images/loveit/bg.jpg);
  background-size: cover;
  background-position: bottom right;
}
.sub_main.jagriculture {
  background: url(./images/agriculture/bg.jpg);
  background-size: auto;
  background-repeat: repeat;
}
.lovit-main img {
  border-radius: 40px 40px 0px 0px;
}
.lovit-title {
  text-align: center;
  padding: 10px 10px;
  background: url(./images/loveit/titlebg.jpg);
  background-repeat: repeat;
  color: #ffffff;
  margin: 50px 20px 30px;
  border-radius: 50px;
}
.lovit-info {
  background: #ffffff;
  padding: 30px 40px 60px 40px;
  border-radius: 0px 0px 40px 40px;
}
.lovit-info p {
  width: 90%;
  margin: 10px auto;
}
.lovit-info ul {
  width: 90%;
  margin: 10px auto;
}
.lead {
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.8;
  font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
}
h4 span.number {
  font-size: 24px;
  color: red;
  line-height: 2;
}
@media (max-width: 545px) {
  .lovit-title {
    font-size: 22px;
    margin: 30px 0px 20px;
  }
  .lovit-info {
    padding: 30px 20px 40px 20px;
    border-radius: 0px 0px 20px 20px;
  }
  .lovit-main img {
    border-radius: 20px 20px 0px 0px;
  }
  .lovit-info p {
    width: 96%;
  }
  .lovit-info ul {
    width: 96%;
  }
  .gift_card {
    width: 60%;
    margin: 10px auto 30px;
  }
}
.h3_ja {
  color: #97aa43;
  text-align: center;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: clamp(1.313rem, 2vw + 1rem, 2.25rem);
  position: relative;
  padding-top: 30px;
}
.h3_ja:before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 50%;
  margin-left: -7px;
  background: #97aa43;
}
.ja_shop {
  width: 96%;
  margin: 10px auto 20px;
  padding: 10px 30px 20px;
  border: 1px #f5f5f5 solid;
  border-radius: 20px;
  position: relative;
  box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}
.numbers {
  position: absolute;
  top: 40px;
  right: 20px;
  font-size: 90px;
  color: #eaf1cb;
  font-family: "Dancing Script", cursive;
  z-index: 1;
}
.shop-wrapper {
  position: relative;
  z-index: 10;
}
.shopname {
  line-height: 1.6;
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.625rem);
}
.shopname span {
  font-size: 15px;
  padding: 4px 10px;
  background: #454545;
  color: #ffffff;
  margin-right: 10px;
}
.btn-link-ja {
  padding: 10px;
  width: 100%;
  border-radius: 6px;
  color: #ffffff;
  background: #97aa43;
}
.btn-link-ja:hover {
  background: #e2ecb5;
}
.sub_main.jagriculture:before {
  content: "";
  width: 110px;
  height: calc(100% - 45px);
  position: absolute;
  top: 40px;
  left: 5px;
  background: url(./images/agriculture/obi.png);
  background-repeat: repeat;
  z-index: 1;
}
.sub_main.jagriculture:after {
  content: "";
  width: 110px;
  height: calc(100% - 45px);
  position: absolute;
  top: 40px;
  right: 5px;
  background: url(./images/agriculture/obi.png);
  background-repeat: repeat;
  z-index: 1;
}
.sub_main.jagriculture .module {
  position: relative;
  z-index: 20;
}
@media (max-width: 767px) {
  .ja_shop {
    width: 100%;
    margin: 10px auto 10px;
  }
  .shopname span {
    font-size: 13px;
  }
  .numbers {
    position: absolute;
    top: 20px;
    right: 10px;
    font-size: 50px;
  }
  .sub_main.jagriculture:before {
    content: none;
  }
  .sub_main.jagriculture:after {
    content: none;
  }
}
