.c-feed-border{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-top: solid 4px #009478 ;
  padding-inline: 25px;
}
.c-feed-border__dotted{
  width: 80%;
  background-image: radial-gradient(circle, #333 1px, transparent 1px);
  background-size: 8px 4px;
  background-position: left bottom;
  background-repeat: repeat-x;
  padding-inline: 25px;
  margin-bottom: 30px;
  padding-bottom: 40px;
}

.c-feed-news {
  max-width: 1170px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.c-feed-img{
  width: 100%;
  height: auto;
}

@media screen and (min-width: 640px) {
  .c-feed-news {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px; /* 画面が狭いときは余白を少し調整 */
  }
}

@media screen and (min-width: 1024px) {
  .c-feed-news {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

.c-feed-news__item {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.c-feed-news__item-inner {
  display: grid;
  /* 親の .c-feed-news__item が新しくgridとして設定されたので、ここでsubgridが使えます */
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 10px;
}

.c-feed-news__item-box {
  width: 100%;
  min-height: 250px;
  flex-shrink: 0;
  background-color: #575757;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}
.c-feed-news__item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-feed-news__textarea {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 15px;
}

.c-feed-news__textarea-date{
  font-size: 16px;
  font-weight: bold;
  color: #009478;
  margin-bottom: 10px;
  display: block;
}
.c-feed-news__textarea-h3{
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #575757;
}


.c-feed-news__h2{
  font-size: 23px;
  line-height: 1.4;
  color: #333;
  @media (min-width:768px) {
    font-size: 30px;
  }
}


.c-toms-btn-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 240px;
  padding: 20px 30px;
  background-color: #009478;
  color: #fff;
  text-decoration: none;
  border-radius: 100vmax;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.c-toms-btn-back:hover {
  opacity: 0.7;
}

.c-toms-btn-back__svg {
  fill: currentColor;
}


.p-toms-hero{
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 150px;
  @media (min-width:768px) {
    height: 200px;
  }
}

.p-toms-hero__img{
  width: clamp(280px,calc(617/1400*100vw),617px);
  height: auto;
}
