.news-category {
  background-color: #F2F9FF;
  padding: 56px 0;
}

.news-category__list {
  width: 750px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.news-category__item {
  width: 241px;
  margin-right: 8px;
  margin-bottom: 16px;
  border: 1px solid #4A96DC;
  border-radius: 3px;
  background-color: #fff;
  text-align: center;
}

.news-category__item a {
  display: block;
  color: #4A96DC;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; 
  padding: 13px 0;
}

.news-main__container {
  width: 739px;
  margin: 48px auto;
}

.news-main__title {
  color: #6D6B66;
  text-align: center;
  font-family: var(--font-noto-sans-jp);
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  border-bottom: 1px solid #DBDAD7;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.news-main__item {
  border-bottom: 1px solid #DBDAD7;
  padding-bottom: 24px;
  margin-bottom: 24px;
  color: #6D6B66;
  font-family: var(--font-noto-sans-jp);
  font-style: normal;
  font-weight: 600;
  line-height: 160%;
}

.news-main__item a {
  display: flex;
  align-items: center;
}

.news-main__item_img {
  width: 300px;
  height: 200px;
  margin-right: 15px;
}

.news-main__item_right {
  flex: 1;
  overflow: hidden;
}

.news-main__item_date {
  font-size: 12px;
}

.news-main__item_title {
  font-size: 20px;
  margin-bottom: 14px;
}

.news-main__item_content {
  font-size: 16px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-height: 170%;
}

/* news detail */
.newsDetail {
  margin-top: 224px;
}

.newsDetail-container {
  width: 738px;
  margin: 80px auto 64px auto;
}

.newsDetail-top__date {
  color: #8A8985;
  font-family: var(--font-noto-sans-jp);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; 
}

.newsDetail-top__title {
  color: #6D6B66;
  text-shadow: 0px 0px 20px rgba(255, 253, 253, 0.75);
  font-family: var(--font-noto-sans-jp);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  margin-bottom: 24px;
}

.newsDetail-top__img {
  width: 740px;
  height: 493px;
  margin-bottom: 24px;
}

.newsDetail-top__img img {
  width: 100%;
  height: 100%;
}

.newsDetail-bottom {
  color: #6D6B66;
  font-family: var(--font-noto-sans-jp);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.newsDetail-bottom p {
  margin-bottom: 48px;
}

.newsDetail-bottom h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 160%;
  margin-bottom: 24px;
}

.newsDetail-bottom h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 120%;
  padding-bottom: 16px;
  border-bottom: 1px solid #DBDAD7;
  margin-bottom: 24px;
}

.newsDetail-bottom h4 {
  font-size: 22px;
  font-weight: 600;
  position: relative;
  margin-bottom: 24px;
  padding-left: 16px;
}

.newsDetail-bottom h4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #EAA64F;
}

@media screen and (max-width: 767px) {
  .news-category {
    padding: 40px 24px;
  }

  .news-category__list {
    width: 100%;
    flex-wrap: wrap;
  }

  .news-category__item {
    width: 47%;
  }

  .news-main__container {
    width: 100%;
    padding: 40px 24px;
  }

  .news-main__item a {
    display: block;
  }

  .news-main__title {
    font-size: 24px;
  }

  .news-main__item_title {
    font-size: 18px;
  }

  .news-main__item_img {
    width: 100%;
    margin-right: 0;
  }

  /* detail */
  .newsDetail {
    margin-top: 110px;
  }

  .newsDetail-container {
    width: 100%;
    padding: 0 24px;
    margin: 40px 0 56px 0;
  }

  .newsDetail-top {
    margin-top: 0;
  }

  .newsDetail-top__img {
    width: 100%;
    height: 240px
  }

  .newsDetail-top__title {
    font-size: 22px;
  }

  .newsDetail-bottom p {
    margin-bottom: 32px;
  }

  .newsDetail-bottom h2 {
    font-size: 24px;
  }

  .newsDetail-bottom h3 {
    font-size: 20px;
  }

  .newsDetail-bottom h4 {
    font-size: 18px;
  }
}
