@charset "UTF-8";

/* ニュース*/
.news-slider {
    padding-top: 70px;
    padding-bottom: 120px;
    position: relative;
  }
  .news-slider::after {
    content: "";
    position: absolute;
    bottom: 65px;
    left: 0;
    width: 100%;
    height: 26%;
    background-image: url(../img/news-bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .news-slider__inner {
    width: 100%;
  }
  
  .news-slider__wrapper {
    margin-bottom: 20px !important;
  }
  
  .news-card {
    max-width: 450px;
  }
  
  .news-card__contents {
    width: 100%;
    position: relative;
    aspect-ratio: 450 / 280;
    object-fit: cover;
    transition: 0.3s;
  }

  .news-card__contents:hover {
    opacity: 0.6;
  }
  
  .news-card__contents img {
    aspect-ratio: 450 / 280;
    object-fit: cover;
  }
  
  .news-card__title {
    font-size: clamp( 14px, calc( 11.887323943661972px + 0.5633802816901409vw ), 20px );
    font-weight: bold;
    background-color: var(--light-blue);
    padding: 16px 55px;
    position: absolute;
    bottom: -20px;
    left: -20px;
    color: #fff;
    line-height: var(--line-height-large);
    letter-spacing: var(--letter-spacing-medium);
    text-overflow: ellipsis;
   
  }

  @media screen and (max-width: 900px) {
    .news-card__title {
      padding: 5px 10px;
    }
  }

  /* ニュース*/
.news-slider {
  padding-top: 70px;
  padding-bottom: 120px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .news-slider {
    padding-top: 60px;
    padding-bottom: 100px;
  }
}
.news-slider::after {
  content: "";
  position: absolute;
  bottom: 65px;
  left: 0;
  width: 100%;
  height: 26%;
  background-image: url(../img/news-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.news-slider__inner {
  width: 100%;
}

.news-slider__wrapper {
  margin-bottom: 20px !important;
}

.news-card {
}

.news-card__contents {
  width: 100%;
  position: relative;
  aspect-ratio: 450 / 280;
  object-fit: cover;
}

.news-card__contents img {
}






/* ニュースコンテンツ */
.news__item {
  background-color: #ffffff;
  padding: 20px 70px;
  width: 100%;
  max-width: 922px;
  transition: 0.3s;
}

.news__item:hover {
  background-color:var(--orange);
}

@media screen and (max-width: 768px) {
  .news__item {
    padding: 20px 20px;
  }
}

.news__link {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .news__link {
    flex-direction: column;
    align-items: flex-start;
  }
}

.news__meta {
  display: block;
  font-size: 14px;
  margin-right: 40px;
  flex-shrink: 0;
  color:#8D8D8D;
}

@media screen and (max-width: 768px) {
  .news__meta {
    display: flex;
    font-size: 14px;
    margin-right: 40px;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
}
}

.news__category {
  display: block;
  margin-top: 4px;
  background-color: #dc6a98;
  padding: 4px 20px;
  color: #fff;
  letter-spacing: 0.1em;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .news__category {
    font-size: 12px;
  }
}

.news__title {
  letter-spacing: 0.1em;
  font-size: 16px;
  line-height: 1.8;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .news__title {
    line-height: 1.8;
    font-size: 14px;
    padding-top: 10px;
  }
}
.news {
  background-color: #f9fafb;
  padding-top: 130px;
  padding-bottom: 120px;
}

@media screen and (max-width: 768px) {
  .news {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

.news__inner {
}

.news__wrapper {
  display: flex;
  align-items: flex-start;
  gap: calc(80px + 20px);
}

@media screen and (max-width: 768px) {
  .news__wrapper {
    flex-direction: column;
    gap: 35px;
  }
}

.news__contents {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.card__text--news-contents h2 {
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.card__text--news-contents h3 {
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.card__text--news-contents h4 {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.card__text--news-contents a {
text-decoration: underline;
color: #246af4;
}
.card__text--news-contents p {
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.button-news {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

