body {
  background-image: url(../../privacy-policy/img/body_bg.png);
  background-position: center top;
  background-repeat: repeat;
  background-size: cover;
  background-attachment: fixed;
}

.product {
  margin: 7rem auto 0;
}

.page-header h2 {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.page-header h2::before {
  content: "";
  display: block;
  width: 16.1rem;
  height: 4.32rem;
  margin-bottom: 0.5rem;
  background-image: url(../../img/products_ttl.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center left;
}

h3 {
  font-size: 5rem;
  margin-bottom: 8rem;
  font-weight: 500;
  line-height: 1.5;
}

h3.lead {
  margin-bottom: 3.2rem;
  font-size: 4rem;
}

.cover {
  display: block;
  margin-bottom: 10rem;
}

.cover img {
  width: 100%;
}

.product_lead {
  display: block;
  max-width: calc(110rem + 40px);
  padding: 0 2rem;
  margin: 9.5rem auto 0;
}

.product_lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.products {
  padding-top: 14rem;
  margin-bottom: 15rem;
  position: relative;
  overflow: hidden;
}

.products::before {
  content: url(../../img/main-products_txt.png);
  position: absolute;
  top: 9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.products h3 {
  margin-bottom: 5rem;
  font-size: 4rem;
}

.products_lst {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 4.5rem;
  margin-bottom: 6.7rem;
}

.products_lst li {
  width: calc((100% - 13.5rem) / 4);
}

.products_lst li:hover {
  filter: brightness(0.5); 
}

/* モーダル */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 5000;
}

.modal-card {
  background: #fff;
  max-width: 73.5rem;
  width: 100%;
  padding: 8.7rem 5.8rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 1.7rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 5.45rem;
  font-weight: 400;
  color: #b3b3b3;
  cursor: pointer;
}

.modal-card figure {
  width: 100%;
  overflow: hidden;
}

.modal-card figure img {
  width: 100%;
  object-fit: contain;
}

.banner {
  margin-bottom: 15rem;
  padding: 4.5rem 5rem 3.5rem;
  background-image: url(../../img/contact_bnr.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: #fff;
}

.banner h2 {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: #fff;
}

.banner h2::before {
  content: "";
  background-image: url(../../img/banner_ttl.png);
  display: block;
  width: 100%;
  height: 3rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center left;
  margin-bottom: 1rem;
}

.banner .detail {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.banner .detail p {
  font-size: 5rem;
  font-weight: 500;
  line-height: 1.4;
}

.banner .detail a {
  padding: 2rem 6rem;
  position: relative;
  border: 2px solid #fff;
  font-size: 1.6rem;
}

.banner .detail a::after {
  content: "";
  display: block;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  position: absolute;
  top: 50%;
  right: 1.3rem;
  transform: translateY(-50%) rotate(45deg);
  font-size: 1.6rem;
  font-weight: 400;
}

.l-main {
 background: none;
 background-attachment: unset;
}


@media screen and (max-width: 768px) {
  p {
    line-height: 1.33333333;
  }

  .page-header h2 {
    margin-bottom: 3.5rem;
    font-size: 3rem;
  }

  .page-header h2::before {
    width: 20.2rem;
    height: 5.4rem;
  }

  h3 {
    font-size: 4rem;
    margin-bottom: 7rem;
  }

  h3.lead {
    margin-bottom: 5rem;
  }

  .cover {
    margin-bottom: 9rem;
  }

  .product_lead {
    max-width: none;
    padding: 0;
    margin: 12.7rem auto 0;
  }

  .products {
    padding-top: 12rem;
  }

  .products::before {
    content: url(..//img/enthusiasm_txt.png);
    top: 0;
    transform: translateX(-21%);
  }

  .products h3 {
    font-size: 4.6rem;
    margin-bottom: 5rem;
  }

  .products_lst {
    justify-content: center;
    gap: 4.4rem;
    margin-bottom: 7.5rem;
  }

  .products_lst li {
    width: calc((100% - 8.8rem) / 3);
  }

  .modal-card {
    max-width: 62.9rem;
    padding: 9.7rem 9rem;
  }

  .banner {
    margin-bottom: 13.6rem;
    padding: 6.4rem 9.8rem 4.8rem;
    background-image: url(../img/contact_bnr-sp.jpg);
  }

  .banner h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 3rem;
  }

  .banner h2::before {
    display: inline-block;
    width: 17.6rem;
    height: 5.4rem;
    margin-bottom: 0;
  }

  .banner .detail {
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 3.7rem;
  }

  .banner .detail p {
    font-size: 4.6rem;
  }

  .banner .detail a {
    width: 100%;
    padding: 2.5rem 0;
    font-size: 3rem;
  }

  .banner .detail a::after {
    width: 1.5rem;
    height: 1.5rem;
    right: 2rem;
    border-right-width: 2px;
    border-top-width: 2px;
  }
  
  .l-main {
    background: none;
  }
  
}