@charset "UTF-8";

/* CSS Document */

/*main*/
.main-visual img {
  width: 100vw;
  height: 300px;
  object-fit: cover;
  margin-bottom: 80px;
}
@media (min-width: 1080px) {
  .main-visual img {
    height: 600px;
    margin-bottom: 120px;
  }
}

/*products*/
.products {
  padding: 0 20px;
  margin-bottom: 160px;
}
.products h1 {
  margin-bottom: 80px;
  position: relative;
}
.products h1::after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  right: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 102, 51, 1) 35%,
    rgba(66, 125, 157, 1) 35%
  );
  height: 3px;
  width: 92%;
  margin: auto;
  max-width: 290px;
}
.products p {
  text-align: left;
  margin: 0 auto 60px auto;
  max-width: 800px;
}
.products__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 600px;
  gap: 10px;
}
.products__list li {
  width: calc((100% - 10px) / 2);
  margin-bottom: 40px;
}
.products__list img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
.products__list h3 {
  text-align: left;
  font-family: "Noto Serif JP","Noto Serif", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
    "メイリオ", sans-serif;
}
.products__list p {
  font-size: 1.4rem;
  text-align: left;
  margin-bottom: 0;
}
.products__button {
  margin-top: 70px;
}
.products__button a {
  padding: 5px 40px;
  background-color: #fff;
  color: #333;
  border: solid 1px #333;
  text-decoration: none;
}
@media (min-width: 1080px) {
  .products {
    padding: 0 120px;
  }
  .products h1 {
    margin-bottom: 60px;
  }
  .products h1::after {
    max-width: 380px;
  }
  .products__list {
    max-width: 1080px;
  }
  .products__list li {
    width: calc((100% - 30px) / 4);
  }
}
