@charset "utf-8";
/* CSS Document */
main {
  color: #515151;
}
h2 {
  font-size: 2.6rem;
  text-align: center;
  letter-spacing: 2.5px;
  margin-top: 32px;
}
.category {
  margin: 5% 0;
  
}
.category ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.category li {
  list-style: none;
  white-space: nowrap;
  padding: 0 18px;
}
.category_btn:hover{
  color: #515151;
}
.category ul li a {
  position: relative;
  color: #515151;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
}
.category ul li a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #5edd00;
  bottom: -10px;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.5s;
}

.category ul li a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}
.arrow_s {
  position: relative;
  display: inline-block;
  padding-left: 12px;
}
.arrow_s:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #333;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
}
@media (min-width: 960px) {
  main {
    max-width: 1200px;
  }
  h2 {
    font-size: 5.0rem;
    text-align: left;
    /*max-width: 1080px;*/
    letter-spacing: 2.5px;
    padding: 38px 0;
    margin: 0 auto;
  }
  .category {
    margin: 0;
    text-align: left;
  }
  .category ul {
    display: flex;
    justify-content: left;
    margin: 0;
  
  }
  .category li {
    padding: 0 10% 0 0;
  }

  .category ul li a {
    color: #515151;
    font-size: 2.2rem;
    font-weight: 500;
    text-decoration: none;
  }
  
}
.list-img {
  margin: 0px auto;
  width: 326px;
}
.list-img__d {
  width: 100%;
  margin: 0 auto;
  display: block;
  list-style: none;
}
/*キャプション*/
.title {
  font-size: 2.0rem;
  display: block;
  margin-bottom: 10px;
}
.size {
  text-align: left;
  font-size: 1.2rem;
}
.list-img li a img {
  width: 326px;
  height: 226px;
  object-fit: cover;
  margin-top: 22px;
}
.pc-only{
 display: none;
}
@media (min-width: 960px) {
  .category {
    display: flex;
    justify-content: space-between;
  }
  .list-img {
    margin: 60px auto;
    width: 100%;
  }
  .list-img__d {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
  }

  .list-img__d a {
    width: 352px;
    height: 226px;
  }
  
  .list-img__d:last-child {
  margin-left: 0; /* 余分な余白を調整 */
  align-self: flex-start; /* 左寄せ */
}
  .list-img li a img {
    width: 352px;
    height: 226px;
    object-fit: cover;
    margin-top: 0;
  }
 .pc-only {
        display: block;
    }

}
.text {
  font-size: 1.6rem;
  text-align: center;
  margin: 12% auto 3%;
  font-weight: 100;
}
@media (min-width: 960px) {
  .text {
    font-size: 2.0rem;
    text-align: left;
    padding: 6% 0 1%;
    font-weight: 100;
  }
}