@charset "utf-8";

img {
  max-width: 383px;
}
.news {
  margin: 226px 15% 220px 30%;
}
.news__wrap {
  max-width: 1140px;
  margin: 0 auto;
}
.section__ja-title {
  margin-bottom: 64px;
}
.category__head {
  margin-bottom: 44px;
}
.category__list {
  display: flex;
  gap: 24px;
}
.category__list--item {
  width: clamp(2.875rem, 1.92rem + 4.77vw, 5.5rem);
  /* 1200vw:88px 320vw:46px */
  font-size: clamp(0.625rem, 0.489rem + 0.68vw, 1rem);
  /* 1200vw:16px 320vw:10px */
  font-weight: bold;
  text-align: center;
  color: #11b91e;
  border: 1px solid #11b91e;
  padding: 8px;
  margin-right: 10px;
}
.access__list {
  color: #fff;
  border: none;
  background-color: #63f26e;
}
.category__line {
  display: flex;
  gap: 10px;
}
.category__list--item:hover {
  color: #fff;
  background-color: #63f26e;
  border: none;
}
.category__link:hover {
  color: #fff;
  background-color: #63f26e;
  border: none;
}
.post__container {
  width: 100%;
  border-top: 1px solid #11b91e;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 47px 0;
}
.post__container:last-of-type {
  border-bottom: 1px solid #11b91e;
}
.post-child__link:hover {
  color: #000;
  opacity: 0.6;
}
.post-datetime {
  font-family: "altivo", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  letter-spacing: 0.1em;
}
.post__title {
  font-size: clamp(
    1.125rem,
    0.875rem + 0.52vw,
    1.5rem
  ); /* 1920vw:24px 768vw:18px */
  font-weight: bold;
  margin: 13px 0 23px 0;
}
.post-thumbnail {
  border-radius: 10px;
}

@media (max-width: 1200px) {
  .category__list--item {
    padding: 8px 2px;
  }
}

@media (max-width: 920px) {
  .category__list {
    gap: 12px;
  }
  .category__list--item {
    margin: 8px 0;
  }
}
@media (max-width: 767px) {
  .news {
    margin: 132px 10% 83px 10%;
  }
  .category__head {
    margin: 36px auto 35px auto;
  }
  .category__list {
    gap: 3px;
  }
  .category__list--item {
    padding: 5px 0;
  }
  .post__container {
    border-top: none;
    flex-direction: column-reverse;
    gap: 0;
    padding: 0;
    margin-bottom: 42px;
  }
  .post__container:last-of-type {
    border-bottom: none;
  }
  .post__contents {
    margin-top: 14px;
  }
  .post-datetime {
    font-size: 14px;
  }
  .post__title {
    font-size: 15px;
    font-weight: 400;
    margin: 7px 0 11px 0;
  }
}

@media (max-width: 370px) {
  .category__head {
    margin: 26px auto 25px auto;
  }
}
