@charset "UTF-8";

/************************************
** news
************************************/
/* タブ全体のコンテナ */
.news {
  margin-bottom: 30px;
  .rss-item {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    .rss-img {
      width: 100%;
      max-width: 300px;
      border-radius: 20px;
      overflow: hidden;
      img {
        width: 100%;
        height: auto;
        object-fit: cover;
      }
    }
    .rss-content {
      h3 a {
        font-size: 20px;
        color: #222;
      }
      .p2 {
        font-size: 16px;
      }
    }
  }
}

@media screen and (max-width: 767px) {
  .news {
    margin-bottom: 30px;
    .rss-item {
      gap: 10px;
      border-bottom: 1px solid #ccc;
      padding-top: 10px;
      padding-bottom: 5px;
      margin-bottom: 0px;
      &:nth-child(1) {
        border-top: 1px solid #ccc;
      }
      .rss-img {
        width: 30%;
        border-radius: 0;
      }
      .rss-content {
        width: 70%;
        h3 a {
          font-size: 16px;
        }
        .p2 {
          display: none;
        }
      }
    }
  }
}
